swagger.yaml 484 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681
  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. increaseqty:
  3093. description: 增加数量=销售计划数量+采购已定价数量
  3094. type: number
  3095. oritoalspotqty:
  3096. description: 昨日数量
  3097. type: number
  3098. totalspotqty:
  3099. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  3100. type: number
  3101. updatetime:
  3102. description: 更新时间
  3103. type: string
  3104. type: object
  3105. models.Ermcp3AreaSpotDetail:
  3106. properties:
  3107. contracttype:
  3108. description: 合同类型 1-采购 -1-销售
  3109. type: integer
  3110. createtime:
  3111. description: 创建时间
  3112. type: string
  3113. deliverygoodscode:
  3114. description: 现货品种代码
  3115. type: string
  3116. deliverygoodsid:
  3117. description: 现货品种id
  3118. type: integer
  3119. deliverygoodsname:
  3120. description: 现货品种名称
  3121. type: string
  3122. enumdicname:
  3123. description: 现货商品单位名称
  3124. type: string
  3125. logtype:
  3126. description: 记录类型 1-套保 2-现货合同
  3127. type: integer
  3128. qty:
  3129. description: 数量
  3130. type: number
  3131. recordname:
  3132. description: 类型名称
  3133. type: string
  3134. relatedid:
  3135. description: 套保计划ID/现货合同ID
  3136. type: string
  3137. relatedno:
  3138. description: 编号
  3139. type: string
  3140. strtime:
  3141. description: 时间
  3142. type: string
  3143. type: object
  3144. models.Ermcp3AreaStockApply:
  3145. properties:
  3146. applyid:
  3147. description: 申请人
  3148. type: integer
  3149. applyname:
  3150. description: 申请人名称
  3151. type: string
  3152. applyremark:
  3153. description: 申请备注
  3154. type: string
  3155. applysrc:
  3156. description: 申请来源 - 1:管理端 2:终端
  3157. type: integer
  3158. applystatus:
  3159. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  3160. type: integer
  3161. applytime:
  3162. description: 申请时间
  3163. type: string
  3164. auditid:
  3165. description: 审核人
  3166. type: integer
  3167. auditname:
  3168. description: 审核人名称
  3169. type: string
  3170. auditremark:
  3171. description: 审核备注
  3172. type: string
  3173. auditsrc:
  3174. description: 审核来源 - 1:管理端 2:终端
  3175. type: integer
  3176. audittime:
  3177. description: 审核时间
  3178. type: string
  3179. audittradedate:
  3180. description: 审核交易日(yyyyMMdd)
  3181. type: string
  3182. brandname:
  3183. description: 品牌名称
  3184. type: string
  3185. buynickname:
  3186. description: 采购方昵称
  3187. type: string
  3188. buyuserid:
  3189. description: 采购方userid
  3190. type: integer
  3191. buyusername:
  3192. description: 采购方名称
  3193. type: string
  3194. contractno:
  3195. description: 合同编号
  3196. type: string
  3197. contractqty:
  3198. description: 合同量
  3199. type: number
  3200. contracttype:
  3201. description: 现货合同类型 - 1:采购 -1:销售
  3202. type: integer
  3203. deliverygoodscode:
  3204. description: 现货品种代码
  3205. type: string
  3206. deliverygoodsid:
  3207. description: 现货品种id
  3208. type: integer
  3209. deliverygoodsname:
  3210. description: 现货品种名称
  3211. type: string
  3212. enumdicname:
  3213. description: 现货商品单位名称
  3214. type: string
  3215. inoutapplyid:
  3216. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  3217. type: string
  3218. inouttype:
  3219. description: 出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  3220. type: integer
  3221. pricetype:
  3222. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  3223. type: integer
  3224. qty:
  3225. description: 数量
  3226. type: number
  3227. sellnickname:
  3228. description: 销售方昵称
  3229. type: string
  3230. selluserid:
  3231. description: 销售方userid
  3232. type: integer
  3233. sellusername:
  3234. description: 销售方名称
  3235. type: string
  3236. spotcontractid:
  3237. description: 关联现货合同ID
  3238. type: string
  3239. spotgoodsbrandid:
  3240. description: 现货品牌ID
  3241. type: integer
  3242. unitid:
  3243. description: 单位id
  3244. type: integer
  3245. userid:
  3246. description: 机构ID
  3247. type: integer
  3248. warehousecode:
  3249. description: 仓库代码
  3250. type: string
  3251. warehouseinfoid:
  3252. description: 现货仓库ID
  3253. type: string
  3254. warehousename:
  3255. description: 仓库名称
  3256. type: string
  3257. warehousetype:
  3258. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3259. type: integer
  3260. wrstandardcode:
  3261. description: 品类代码
  3262. type: string
  3263. wrstandardid:
  3264. description: 品类ID
  3265. type: integer
  3266. wrstandardname:
  3267. description: 品类名称
  3268. type: string
  3269. type: object
  3270. models.Ermcp3AreaStockApplySum:
  3271. properties:
  3272. brandname:
  3273. description: 品牌名称
  3274. type: string
  3275. inouttype:
  3276. description: 出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  3277. type: integer
  3278. spotcontractid:
  3279. description: 关联现货合同ID
  3280. type: string
  3281. spotgoodsbrandid:
  3282. description: 品牌id
  3283. type: integer
  3284. totalqty:
  3285. description: 总数量
  3286. type: number
  3287. wrstandardid:
  3288. description: 品类id
  3289. type: integer
  3290. wrstandardname:
  3291. description: 品类名称
  3292. type: string
  3293. type: object
  3294. models.Ermcp3AreaStockReport:
  3295. properties:
  3296. brandname:
  3297. description: 品牌名称
  3298. type: string
  3299. curstock:
  3300. description: 期末库存量
  3301. type: number
  3302. deliverygoodscode:
  3303. description: 现货品种代码
  3304. type: string
  3305. deliverygoodsid:
  3306. description: 现货品种id
  3307. type: integer
  3308. deliverygoodsname:
  3309. description: 现货品种名称
  3310. type: string
  3311. enumdicname:
  3312. description: 单位名称
  3313. type: string
  3314. goodsunitid:
  3315. description: 现货单位id
  3316. type: integer
  3317. oristock:
  3318. description: 期初库存量
  3319. type: number
  3320. spotgoodsbrandid:
  3321. description: 现货品牌ID
  3322. type: integer
  3323. todaybuyinqty:
  3324. description: 今日采购入库量
  3325. type: number
  3326. todayproduceinqty:
  3327. description: 今日生产入库量
  3328. type: number
  3329. todayproduceoutqty:
  3330. description: 今日生产出库量
  3331. type: number
  3332. todayselloutqty:
  3333. description: 今日销售出库量
  3334. type: number
  3335. unitid:
  3336. description: 品类单位id
  3337. type: integer
  3338. updatetime:
  3339. description: 更新时间
  3340. type: string
  3341. userid:
  3342. description: 机构ID
  3343. type: integer
  3344. username:
  3345. description: 机构名称
  3346. type: string
  3347. warehousecode:
  3348. description: 仓库代码
  3349. type: string
  3350. warehouseinfoid:
  3351. description: 仓库ID
  3352. type: string
  3353. warehousename:
  3354. description: 仓库名称
  3355. type: string
  3356. warehousetype:
  3357. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3358. type: integer
  3359. wrstandardcode:
  3360. description: 品类代码
  3361. type: string
  3362. wrstandardid:
  3363. description: 品类ID
  3364. type: integer
  3365. wrstandardname:
  3366. description: 品类名称
  3367. type: string
  3368. type: object
  3369. models.Ermcp3Brand:
  3370. properties:
  3371. areauserid:
  3372. description: 用户id
  3373. type: integer
  3374. brandid:
  3375. description: 品牌id
  3376. type: integer
  3377. brandname:
  3378. description: 品牌名称
  3379. type: string
  3380. deliverygoodsid:
  3381. description: 品种ID
  3382. type: integer
  3383. type: object
  3384. models.Ermcp3Contract:
  3385. properties:
  3386. accountid:
  3387. description: 期货账户id
  3388. type: string
  3389. amount:
  3390. description: 金额 [1:一口价、3:暂定价]
  3391. type: number
  3392. attachment:
  3393. description: 附件
  3394. type: string
  3395. auditremark:
  3396. description: 审核意见
  3397. type: string
  3398. audittime:
  3399. description: 审核时间
  3400. type: string
  3401. biztype:
  3402. description: 业务类型 1-套保 2-套利
  3403. type: integer
  3404. brandname:
  3405. description: 品牌名称
  3406. type: string
  3407. buynickname:
  3408. description: 销售方昵称
  3409. type: string
  3410. buyuserid:
  3411. description: 采购方ID
  3412. type: integer
  3413. buyusername:
  3414. description: 采购方名称
  3415. type: string
  3416. contracctstatus:
  3417. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  3418. type: integer
  3419. contractmargin:
  3420. description: 合同保证金
  3421. type: number
  3422. contractno:
  3423. description: 现货合同编号
  3424. type: string
  3425. contracttype:
  3426. description: 现货合同类型 - 1:采购 -1:销售
  3427. type: integer
  3428. convertfactor:
  3429. description: 标仓系数(品类)
  3430. type: number
  3431. createtime:
  3432. description: 创建时间
  3433. type: string
  3434. deliveryenddate:
  3435. description: 交收期(结束)
  3436. type: string
  3437. deliverygoodscode:
  3438. description: 现货品种代码
  3439. type: string
  3440. deliverygoodsid:
  3441. description: 现货品种ID
  3442. type: integer
  3443. deliverygoodsname:
  3444. description: 现货品种名称
  3445. type: string
  3446. deliverystartdate:
  3447. description: 交收期(开始)
  3448. type: string
  3449. enddate:
  3450. description: 点价结束日期 [2:点价 3:暂定价]
  3451. type: string
  3452. enumdicname:
  3453. description: 单位名称
  3454. type: string
  3455. goodscode:
  3456. description: 点价合约代码
  3457. type: string
  3458. goodsid:
  3459. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  3460. type: integer
  3461. goodsname:
  3462. description: 点价商品名称
  3463. type: string
  3464. margin:
  3465. description: 当前保证金
  3466. type: number
  3467. meruserid:
  3468. description: 跟单员id
  3469. type: integer
  3470. meruserlogincode:
  3471. description: 跟单员登录代码
  3472. type: string
  3473. price:
  3474. description: 价格\暂定价 [1:一口价、3:暂定价]
  3475. type: number
  3476. pricemove:
  3477. description: 升贴水 [2:点价 3:暂定价]
  3478. type: number
  3479. pricetype:
  3480. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  3481. type: integer
  3482. producttype:
  3483. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  3484. type: integer
  3485. qty:
  3486. description: 数量
  3487. type: number
  3488. remark:
  3489. description: 备注
  3490. type: string
  3491. saleuserid:
  3492. description: 业务员id
  3493. type: integer
  3494. saleuserlogincode:
  3495. description: 业务员登录代码
  3496. type: string
  3497. sellnickname:
  3498. description: 采购方昵称
  3499. type: string
  3500. selluserid:
  3501. description: 销售方ID
  3502. type: integer
  3503. sellusername:
  3504. description: 销售方名称
  3505. type: string
  3506. spotcontractid:
  3507. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  3508. type: string
  3509. spotgoodsbrandid:
  3510. description: 现货品牌ID(DGFactoryItem表的ID)
  3511. type: integer
  3512. spotgoodsdesc:
  3513. description: 商品型号
  3514. type: string
  3515. startdate:
  3516. description: 点价开始日期 [2:点价 3:暂定价]
  3517. type: string
  3518. tradeuserid:
  3519. description: 交易员id
  3520. type: integer
  3521. tradeuserlogincode:
  3522. description: 交易员登录代码
  3523. type: string
  3524. unitid:
  3525. description: 单位id(取品类上的单位id)
  3526. type: integer
  3527. updatetime:
  3528. description: 更新时间
  3529. type: string
  3530. userid:
  3531. description: 所属机构ID
  3532. type: integer
  3533. wrstandardcode:
  3534. description: 品类代码
  3535. type: string
  3536. wrstandardid:
  3537. description: 品类ID
  3538. type: integer
  3539. wrstandardname:
  3540. description: 品类名称
  3541. type: string
  3542. type: object
  3543. models.Ermcp3ExposureDetail:
  3544. properties:
  3545. areauserid:
  3546. description: 机构ID
  3547. type: integer
  3548. changeQty:
  3549. description: 套保变动量
  3550. type: number
  3551. contracttype:
  3552. description: 现货合同类型 - 1:采购 -1:销售
  3553. type: integer
  3554. convertfactor:
  3555. description: 标仓系数
  3556. type: number
  3557. convertratio:
  3558. description: 套保系数
  3559. type: number
  3560. createtime:
  3561. description: 时间
  3562. type: string
  3563. deliverygoodscode:
  3564. description: 现货品种代码
  3565. type: string
  3566. deliverygoodsid:
  3567. description: 现货品种id
  3568. type: integer
  3569. deliverygoodsname:
  3570. description: 现货品种名称
  3571. type: string
  3572. enumdicname:
  3573. description: 现货商品单位名称
  3574. type: string
  3575. logtype:
  3576. description: 类型 - 1:套保计划 2:现货合同
  3577. type: integer
  3578. middlegoodsId:
  3579. description: 套保商品id
  3580. type: integer
  3581. middlegoodscode:
  3582. description: 套保商品代码
  3583. type: string
  3584. middlegoodsname:
  3585. description: 套保商品名称
  3586. type: string
  3587. qty:
  3588. description: 数量
  3589. type: number
  3590. relateNo:
  3591. description: 现货合同/套保计划编号
  3592. type: string
  3593. type: object
  3594. models.Ermcp3HedgePlan:
  3595. properties:
  3596. areauserid:
  3597. description: 用户ID
  3598. type: integer
  3599. audittime:
  3600. description: 审核时间
  3601. type: string
  3602. contracttype:
  3603. description: 计划类型 - 1:采购 -1:销售
  3604. type: integer
  3605. convertfactor:
  3606. description: 标仓系数
  3607. type: number
  3608. createtime:
  3609. description: 创建时间
  3610. type: string
  3611. deliverygoodscode:
  3612. description: 现货品种代码
  3613. type: string
  3614. deliverygoodsid:
  3615. description: 现货品种ID
  3616. type: integer
  3617. deliverygoodsname:
  3618. description: 现货品种名称
  3619. type: string
  3620. enumdicname:
  3621. description: 单位名称
  3622. type: string
  3623. hedgeplanid:
  3624. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  3625. type: string
  3626. hedgeplanno:
  3627. description: 套保计划编号(名称)
  3628. type: string
  3629. hedgeplanstatus:
  3630. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  3631. type: integer
  3632. planqty:
  3633. description: 计划数量
  3634. type: number
  3635. plantime:
  3636. description: 计划时间
  3637. type: string
  3638. producttype:
  3639. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  3640. type: integer
  3641. remark:
  3642. description: 备注
  3643. type: string
  3644. spotgoodsdesc:
  3645. description: 商品型号
  3646. type: string
  3647. unitid:
  3648. description: 单位id
  3649. type: integer
  3650. updatetime:
  3651. description: 更新时间
  3652. type: string
  3653. type: object
  3654. models.Ermcp3ReportAreaSpotPL:
  3655. properties:
  3656. actualpl:
  3657. description: 实际损益
  3658. type: number
  3659. areauserid:
  3660. description: 所属机构
  3661. type: integer
  3662. brandname:
  3663. description: 品牌名称
  3664. type: string
  3665. curamount:
  3666. description: 期末额
  3667. type: number
  3668. curaverageprice:
  3669. description: 期末均价
  3670. type: number
  3671. curbuyamount:
  3672. description: 期末采购总额(采购额)
  3673. type: number
  3674. curbuyqty:
  3675. description: 期末采购总量
  3676. type: number
  3677. curmarketvalue:
  3678. description: 参考市值
  3679. type: number
  3680. curqty:
  3681. description: 期末量
  3682. type: number
  3683. cursellamount:
  3684. description: 期末销售总额(销售额)
  3685. type: number
  3686. cursellqty:
  3687. description: 期末销售总量
  3688. type: number
  3689. curspotprice:
  3690. description: 参考市价
  3691. type: number
  3692. deliverygoodscode:
  3693. description: 现货品种代码
  3694. type: string
  3695. deliverygoodsid:
  3696. description: 现货品种id
  3697. type: integer
  3698. deliverygoodsname:
  3699. description: 现货品种名称
  3700. type: string
  3701. enumdicname:
  3702. description: 现货商品单位名称
  3703. type: string
  3704. floatpl:
  3705. description: 浮动损益
  3706. type: number
  3707. gbenumdicname:
  3708. description: 品类单位名称
  3709. type: string
  3710. gbunitid:
  3711. description: 现货单位id
  3712. type: integer
  3713. modelname:
  3714. description: 品类名称
  3715. type: string
  3716. oriamount:
  3717. description: 期初额
  3718. type: number
  3719. oriaverageprice:
  3720. description: 期初均价
  3721. type: number
  3722. oribuyamount:
  3723. description: 期初采购总额
  3724. type: number
  3725. oribuyqty:
  3726. description: 期初采购总量
  3727. type: number
  3728. oriqty:
  3729. description: 期初量
  3730. type: number
  3731. orisellamount:
  3732. description: 期初销售总额
  3733. type: number
  3734. orisellqty:
  3735. description: 期初销售总量
  3736. type: number
  3737. spotgoodsbrandid:
  3738. description: 现货品牌ID
  3739. type: integer
  3740. todaybuyamount:
  3741. description: 今日采购额
  3742. type: number
  3743. todaybuyaverageprice:
  3744. description: 今日采购均价(采购均价)
  3745. type: number
  3746. todaybuyqty:
  3747. description: 今日采购量(采购增量)
  3748. type: number
  3749. todaysellamount:
  3750. description: 今日销售额
  3751. type: number
  3752. todaysellaverageprice:
  3753. description: 今日销售均价(销售均价)
  3754. type: number
  3755. todaysellqty:
  3756. description: 今日销售量(销售增量)
  3757. type: number
  3758. unitid:
  3759. description: 品类单位id
  3760. type: integer
  3761. updatetime:
  3762. description: 更新时间
  3763. type: string
  3764. wrstandardcode:
  3765. description: 品类代码
  3766. type: string
  3767. wrstandardid:
  3768. description: 品类ID
  3769. type: integer
  3770. wrstandardname:
  3771. description: 品类名称
  3772. type: string
  3773. type: object
  3774. models.Ermcp3ReportDaySpot:
  3775. properties:
  3776. areauserid:
  3777. description: 所属机构T
  3778. type: integer
  3779. buyinqty:
  3780. description: 采购入库量
  3781. type: number
  3782. deliverygoodscode:
  3783. description: 现货品种代码
  3784. type: string
  3785. deliverygoodsid:
  3786. description: 现货品种id
  3787. type: integer
  3788. deliverygoodsname:
  3789. description: 现货品种名称
  3790. type: string
  3791. enumdicname:
  3792. description: 现货商品单位名称
  3793. type: string
  3794. reckondate:
  3795. description: 日照时期(yyyyMMdd)
  3796. type: string
  3797. selloutqty:
  3798. description: 销售出库量
  3799. type: number
  3800. todaybuyreckonqty:
  3801. description: 采购确定量
  3802. type: number
  3803. todaysellreckonqty:
  3804. description: 销售确定量
  3805. type: number
  3806. totalbuypricedqty:
  3807. description: 采购定价量 = 期末 - 期初
  3808. type: number
  3809. totalsellpricedqty:
  3810. description: 销售定价量 = 期末 - 期初
  3811. type: number
  3812. type: object
  3813. models.Ermcp3ReportMonSpot:
  3814. properties:
  3815. areauserid:
  3816. description: 所属机构id
  3817. type: integer
  3818. buyinqty:
  3819. description: 采购入库量
  3820. type: number
  3821. cycletime:
  3822. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  3823. type: string
  3824. cycletype:
  3825. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  3826. type: integer
  3827. deliverygoodscode:
  3828. description: 现货品种代码
  3829. type: string
  3830. deliverygoodsid:
  3831. description: 现货品种id
  3832. type: integer
  3833. deliverygoodsname:
  3834. description: 现货品种名称
  3835. type: string
  3836. enumdicname:
  3837. description: 现货商品单位名称
  3838. type: string
  3839. selloutqty:
  3840. description: 销售出库量
  3841. type: number
  3842. todaybuyreckonqty:
  3843. description: 采购确定量
  3844. type: number
  3845. todaysellreckonqty:
  3846. description: 销售确定量
  3847. type: number
  3848. totalbuypricedqty:
  3849. description: 采购定价量 = 期末 - 期初
  3850. type: number
  3851. totalsellpricedqty:
  3852. description: 销售定价量 = 期末 - 期初
  3853. type: number
  3854. type: object
  3855. models.Ermcp3ReportOPLog:
  3856. properties:
  3857. applyid:
  3858. description: 操作人
  3859. type: integer
  3860. applyname:
  3861. description: 操作人名称
  3862. type: string
  3863. biztype:
  3864. description: 业务类型 - 1:套保计划 2:现货合同
  3865. type: integer
  3866. brandname:
  3867. description: 品牌名称
  3868. type: string
  3869. contracttype:
  3870. description: 现货合同类型 - 1:采购 -1:销售
  3871. type: integer
  3872. deliverygoodscode:
  3873. description: 现货品种代码
  3874. type: string
  3875. deliverygoodsid:
  3876. description: 现货品种id
  3877. type: integer
  3878. deliverygoodsname:
  3879. description: 现货品种名称
  3880. type: string
  3881. enumdicName:
  3882. description: 单位名称
  3883. type: string
  3884. logdatetime:
  3885. description: 流水日期(时间)
  3886. type: string
  3887. logid:
  3888. description: 流水ID(604+Unix秒时间戳(10位)+xxxxxx)
  3889. type: string
  3890. logtypename:
  3891. description: 合同类型(名称)
  3892. type: string
  3893. logvalue:
  3894. description: 数值
  3895. type: string
  3896. operatelogtype:
  3897. description: 操作流水类型 -
  3898. type: integer
  3899. optypename:
  3900. description: 流水类型名称
  3901. type: string
  3902. relatedid:
  3903. description: 现货合同ID\套保计划
  3904. type: string
  3905. relatedno:
  3906. description: 合同编号
  3907. type: string
  3908. tradedate:
  3909. description: 交易日(yyyyMMdd)
  3910. type: string
  3911. userid:
  3912. description: 机构ID
  3913. type: integer
  3914. type: object
  3915. models.Ermcp3SellBuyContract:
  3916. properties:
  3917. accountname:
  3918. description: 账户名称
  3919. type: string
  3920. attachment:
  3921. description: 附件
  3922. type: string
  3923. audittime:
  3924. description: 审核时间
  3925. type: string
  3926. brandname:
  3927. description: 品牌名称
  3928. type: string
  3929. contracctstatus:
  3930. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  3931. type: integer
  3932. contractmargin:
  3933. description: 合同保证金
  3934. type: number
  3935. contractno:
  3936. description: 合同编号
  3937. type: string
  3938. contracttype:
  3939. description: 合同类型 1-采购, -1-销售
  3940. type: integer
  3941. convertfactor:
  3942. description: 标仓系数(品类)
  3943. type: number
  3944. createtime:
  3945. description: 创建时间
  3946. type: string
  3947. daikaiamount:
  3948. description: 应收(开)票额
  3949. type: number
  3950. deliveryenddate:
  3951. description: 交割结束日
  3952. type: string
  3953. deliverygoodscode:
  3954. description: 现货品种代码
  3955. type: string
  3956. deliverygoodsid:
  3957. description: 现货商品ID
  3958. type: integer
  3959. deliverygoodsname:
  3960. description: 现货品种名称
  3961. type: string
  3962. deliverystartdate:
  3963. description: 交割开始日
  3964. type: string
  3965. enddate:
  3966. description: 点价结束日
  3967. type: string
  3968. enumdicname:
  3969. description: 单位名称
  3970. type: string
  3971. goodscode:
  3972. description: 点价商品代码
  3973. type: string
  3974. goodsid:
  3975. description: 点价商品ID
  3976. type: integer
  3977. goodsname:
  3978. description: 点价商品名称
  3979. type: string
  3980. invoiceamount:
  3981. description: 已开票额
  3982. type: number
  3983. loanamount:
  3984. description: 贷款总额=已定价额+调整金额
  3985. type: number
  3986. margin:
  3987. description: 保证金
  3988. type: number
  3989. payamount:
  3990. description: 已收付额(收款或付款)
  3991. type: number
  3992. preinvoiceamount:
  3993. description: 预收(开)票额
  3994. type: number
  3995. prepayamount:
  3996. description: 预收付额
  3997. type: number
  3998. price:
  3999. description: 价格
  4000. type: number
  4001. pricedamount:
  4002. description: 已定价额
  4003. type: number
  4004. pricedavg:
  4005. description: 已点均价
  4006. type: number
  4007. pricedqty:
  4008. description: 已定价量
  4009. type: number
  4010. pricemove:
  4011. description: 升贴水
  4012. type: number
  4013. pricetype:
  4014. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4015. type: integer
  4016. producttype:
  4017. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  4018. type: integer
  4019. qty:
  4020. description: 合同量
  4021. type: number
  4022. reckonadjustamount:
  4023. description: 调整金额
  4024. type: number
  4025. reckonedamount:
  4026. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  4027. type: number
  4028. reckonotheramount:
  4029. description: 其它费用
  4030. type: number
  4031. reckonrealqty:
  4032. description: 已确定量
  4033. type: number
  4034. remark:
  4035. description: 备注
  4036. type: string
  4037. spotcontractid:
  4038. description: 合同ID
  4039. type: string
  4040. spotgoodsbrandid:
  4041. description: 现货品牌ID(DGFactoryItem表的ID)
  4042. type: integer
  4043. spotgoodsdesc:
  4044. description: 商品型号(商品规格)
  4045. type: string
  4046. startdate:
  4047. description: 点价开始日
  4048. type: string
  4049. totalamount:
  4050. description: 合计总额
  4051. type: number
  4052. unpayamount:
  4053. description: 应收付款额(应支付或应收款)
  4054. type: number
  4055. unpricedqty:
  4056. description: 未定价量
  4057. type: number
  4058. unsureqty:
  4059. description: 未确定量
  4060. type: number
  4061. userid:
  4062. description: 机构ID
  4063. type: integer
  4064. wrstandardcode:
  4065. description: 品类代码
  4066. type: string
  4067. wrstandardid:
  4068. description: 品类ID
  4069. type: integer
  4070. wrstandardname:
  4071. description: 品类名称
  4072. type: string
  4073. type: object
  4074. models.Ermcp3SpotGoodsPrice:
  4075. properties:
  4076. areauserid:
  4077. description: 所属机构id
  4078. type: integer
  4079. brandname:
  4080. description: 品牌名称
  4081. type: string
  4082. currencyid:
  4083. description: 报价货币ID
  4084. type: integer
  4085. deliverygoodscode:
  4086. description: 现货商品代码
  4087. type: string
  4088. deliverygoodsid:
  4089. description: 现货商品id
  4090. type: integer
  4091. deliverygoodsname:
  4092. description: 现货商品名称
  4093. type: string
  4094. enumdicname:
  4095. description: 现货商品单位名称
  4096. type: string
  4097. gbenumdicname:
  4098. description: 品类单位名称
  4099. type: string
  4100. gmunitid:
  4101. description: 品类单位id
  4102. type: integer
  4103. isvalid:
  4104. description: 是否有效 - 0:无效 1:有效
  4105. type: integer
  4106. operateid:
  4107. description: 最后操作人
  4108. type: integer
  4109. operatesrc:
  4110. description: 最后操作来源 - 1:管理端 2:终端
  4111. type: integer
  4112. operatetime:
  4113. description: 最后操作时间
  4114. type: string
  4115. operatorname:
  4116. description: 操作人名称
  4117. type: string
  4118. spotgoodsbrandid:
  4119. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  4120. type: integer
  4121. spotgoodsprice:
  4122. description: 现货价格
  4123. type: number
  4124. tradedate:
  4125. description: 交易日(yyyyMMdd)
  4126. type: string
  4127. unitid:
  4128. description: 现货商品单位id
  4129. type: integer
  4130. wrstandardcode:
  4131. description: 品类代码
  4132. type: string
  4133. wrstandardid:
  4134. description: 现货品类ID(通用则为0)
  4135. type: integer
  4136. wrstandardname:
  4137. description: 品类名称
  4138. type: string
  4139. type: object
  4140. models.Ermcp3SpotGoodsPriceLog:
  4141. properties:
  4142. areauserid:
  4143. description: 所属机构id
  4144. type: integer
  4145. brandname:
  4146. description: 品牌名称
  4147. type: string
  4148. currencyid:
  4149. description: 报价货币ID
  4150. type: integer
  4151. deliverygoodscode:
  4152. description: 现货商品代码
  4153. type: string
  4154. deliverygoodsid:
  4155. description: 现货商品id
  4156. type: integer
  4157. deliverygoodsname:
  4158. description: 现货商品名称
  4159. type: string
  4160. enumdicname:
  4161. description: 现货商品单位名称
  4162. type: string
  4163. gbenumdicname:
  4164. description: 品类单位名称
  4165. type: string
  4166. gmunitid:
  4167. description: 品类单位id
  4168. type: integer
  4169. logid:
  4170. description: 日志id
  4171. type: integer
  4172. operateid:
  4173. description: 最后操作人
  4174. type: integer
  4175. operatesrc:
  4176. description: 最后操作来源 - 1:管理端 2:终端
  4177. type: integer
  4178. operatetime:
  4179. description: 最后操作时间
  4180. type: string
  4181. operatorname:
  4182. description: 操作人名称
  4183. type: string
  4184. spotgoodsbrandid:
  4185. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  4186. type: integer
  4187. spotgoodsprice:
  4188. description: 现货价格
  4189. type: number
  4190. tradedate:
  4191. description: 交易日(yyyyMMdd)
  4192. type: string
  4193. unitid:
  4194. description: 现货商品单位id
  4195. type: integer
  4196. wrstandardcode:
  4197. description: 品类代码
  4198. type: string
  4199. wrstandardid:
  4200. description: 现货品类ID(通用则为0)
  4201. type: integer
  4202. wrstandardname:
  4203. description: 品类名称
  4204. type: string
  4205. type: object
  4206. models.Ermcp3Wrstandard:
  4207. properties:
  4208. areauserid:
  4209. description: 所属机构
  4210. type: integer
  4211. convertfactor:
  4212. description: 标仓系数
  4213. type: number
  4214. createtime:
  4215. description: 创建时间
  4216. type: string
  4217. creatorid:
  4218. description: 创建人
  4219. type: integer
  4220. deliverygoodsid:
  4221. description: 现货品种ID
  4222. type: integer
  4223. enumdicname:
  4224. description: 品类单位名称
  4225. type: string
  4226. isvalid:
  4227. description: 是否有效 0-无效(停用) 1-有效(正常)
  4228. type: integer
  4229. minivalue:
  4230. description: 最小变动值
  4231. type: integer
  4232. minivaluedp:
  4233. description: 最小变动值小数位
  4234. type: integer
  4235. realminivalue:
  4236. description: 实际最小变动值
  4237. type: integer
  4238. realminivaluedp:
  4239. description: 实际最小变动值小数位
  4240. type: integer
  4241. remark:
  4242. description: 备注
  4243. type: string
  4244. unitid:
  4245. description: 品类单位ID
  4246. type: integer
  4247. updatetime:
  4248. description: 更新时间
  4249. type: string
  4250. wrstandardcode:
  4251. description: 品类代码
  4252. type: string
  4253. wrstandardid:
  4254. description: 品类ID(SEQ_WRSTANDARD)
  4255. type: integer
  4256. wrstandardname:
  4257. description: 品类名称
  4258. type: string
  4259. type: object
  4260. models.ErmcpAreaSpotDetailModel:
  4261. properties:
  4262. contracttype:
  4263. description: 合同类型 1-采购 -1-销售
  4264. type: integer
  4265. createtime:
  4266. description: 创建时间
  4267. type: string
  4268. enumdicname:
  4269. description: 现货商品单位名称
  4270. type: string
  4271. logtype:
  4272. description: 记录类型 1-套保 2-现货合同
  4273. type: integer
  4274. qty:
  4275. description: 数量
  4276. type: number
  4277. recordname:
  4278. description: 类型名称
  4279. type: string
  4280. relatedid:
  4281. description: 套保计划ID/现货合同ID
  4282. type: string
  4283. relatedno:
  4284. description: 编号
  4285. type: string
  4286. strtime:
  4287. description: 时间
  4288. type: string
  4289. wrstandardcode:
  4290. description: 现货商品代码
  4291. type: string
  4292. wrstandardname:
  4293. description: 现货商品名称
  4294. type: string
  4295. type: object
  4296. models.ErmcpAreaStock:
  4297. properties:
  4298. brandname:
  4299. description: 品牌名称
  4300. type: string
  4301. curstock:
  4302. description: 期末库存量(今日量)
  4303. type: number
  4304. deliverygoodsid:
  4305. description: 现货品种ID
  4306. type: integer
  4307. enumdicname:
  4308. description: 单位名称
  4309. type: string
  4310. modelname:
  4311. description: 型号名称
  4312. type: string
  4313. oristock:
  4314. description: 期初库存量(昨日量)
  4315. type: number
  4316. spotgoodsbrandid:
  4317. description: 现货品牌ID
  4318. type: integer
  4319. spotgoodsmodelid:
  4320. description: 现货型号ID
  4321. type: integer
  4322. todaybuyinqty:
  4323. description: 今日采购入库量
  4324. type: number
  4325. todayproduceinqty:
  4326. description: 今日生产入库量
  4327. type: number
  4328. todayproduceoutqty:
  4329. description: 今日生产出库量
  4330. type: number
  4331. todayselloutqty:
  4332. description: 今日销售出库量
  4333. type: number
  4334. unitid:
  4335. description: 单位id
  4336. type: integer
  4337. updatetime:
  4338. description: 更新时间
  4339. type: string
  4340. userid:
  4341. description: 机构ID
  4342. type: integer
  4343. username:
  4344. description: 机构名称
  4345. type: string
  4346. warehousecode:
  4347. description: 仓库代码
  4348. type: string
  4349. warehouseinfoid:
  4350. description: 仓库ID
  4351. type: string
  4352. warehousename:
  4353. description: 仓库名称
  4354. type: string
  4355. warehousetype:
  4356. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4357. type: integer
  4358. wrstandardcode:
  4359. description: 现货商品代码
  4360. type: string
  4361. wrstandardid:
  4362. description: 现货商品ID
  4363. type: string
  4364. wrstandardname:
  4365. description: 现货商品名称
  4366. type: string
  4367. type: object
  4368. models.ErmcpAreaStockApply:
  4369. properties:
  4370. applyid:
  4371. description: 申请人
  4372. type: integer
  4373. applyname:
  4374. description: 申请人名称
  4375. type: string
  4376. applyremark:
  4377. description: 申请备注
  4378. type: string
  4379. applysrc:
  4380. description: 申请来源 - 1:管理端 2:终端
  4381. type: integer
  4382. applystatus:
  4383. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  4384. type: integer
  4385. applytime:
  4386. description: 申请时间
  4387. type: string
  4388. auditid:
  4389. description: 审核人
  4390. type: integer
  4391. auditname:
  4392. description: 审核人名称
  4393. type: string
  4394. auditremark:
  4395. description: 审核备注
  4396. type: string
  4397. auditsrc:
  4398. description: 审核来源 - 1:管理端 2:终端
  4399. type: integer
  4400. audittime:
  4401. description: 审核时间
  4402. type: string
  4403. audittradedate:
  4404. description: 审核交易日(yyyyMMdd)
  4405. type: string
  4406. brandname:
  4407. description: 品牌名称
  4408. type: string
  4409. buyuserid:
  4410. description: 采购方userid
  4411. type: integer
  4412. buyusername:
  4413. description: 采购方名称
  4414. type: string
  4415. contractno:
  4416. description: 合同编号
  4417. type: string
  4418. contractqty:
  4419. description: 合同量
  4420. type: number
  4421. contracttype:
  4422. description: 现货合同类型 - 1:采购 -1:销售
  4423. type: integer
  4424. deliverygoodsid:
  4425. description: 现货品种ID
  4426. type: integer
  4427. enumdicname:
  4428. description: 现货商品单位名称
  4429. type: string
  4430. inoutapplyid:
  4431. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  4432. type: string
  4433. inouttype:
  4434. description: 出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  4435. type: integer
  4436. modelname:
  4437. description: 型号名称
  4438. type: string
  4439. pricetype:
  4440. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4441. type: integer
  4442. qty:
  4443. description: 数量
  4444. type: number
  4445. selluserid:
  4446. description: 销售方userid
  4447. type: integer
  4448. sellusername:
  4449. description: 销售方名称
  4450. type: string
  4451. spotcontractid:
  4452. description: 关联现货合同ID
  4453. type: string
  4454. spotgoodsbrandid:
  4455. description: 现货品牌ID
  4456. type: integer
  4457. spotgoodsmodelid:
  4458. description: 现货型号ID
  4459. type: integer
  4460. unitid:
  4461. description: 单位id
  4462. type: integer
  4463. userid:
  4464. description: 机构ID
  4465. type: integer
  4466. warehousecode:
  4467. description: 仓库代码
  4468. type: string
  4469. warehouseinfoid:
  4470. description: 现货仓库ID
  4471. type: string
  4472. warehousename:
  4473. description: 仓库名称
  4474. type: string
  4475. warehousetype:
  4476. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4477. type: integer
  4478. wrstandardcode:
  4479. description: 现货商品代码
  4480. type: string
  4481. wrstandardid:
  4482. description: 现货商品ID
  4483. type: string
  4484. wrstandardname:
  4485. description: 现货商品名称
  4486. type: string
  4487. type: object
  4488. models.ErmcpAreaStockApplySum:
  4489. properties:
  4490. brandname:
  4491. description: 品牌名称
  4492. type: string
  4493. inouttype:
  4494. description: 出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  4495. type: integer
  4496. modelname:
  4497. description: 型号名称
  4498. type: string
  4499. spotcontractid:
  4500. description: 关联现货合同ID
  4501. type: string
  4502. spotgoodsbrandid:
  4503. description: 品牌id
  4504. type: integer
  4505. spotgoodsmodelid:
  4506. description: 型号id
  4507. type: integer
  4508. totalqty:
  4509. description: 总数量
  4510. type: number
  4511. type: object
  4512. models.ErmcpAreaStockReport:
  4513. properties:
  4514. brandname:
  4515. description: 品牌名称
  4516. type: string
  4517. curstock:
  4518. description: 期末库存量
  4519. type: number
  4520. deliverygoodsid:
  4521. description: 现货品种ID
  4522. type: integer
  4523. enumdicname:
  4524. description: 单位名称
  4525. type: string
  4526. modelname:
  4527. description: 型号名称
  4528. type: string
  4529. oristock:
  4530. description: 期初库存量
  4531. type: number
  4532. spotgoodsbrandid:
  4533. description: 现货品牌ID
  4534. type: integer
  4535. spotgoodsmodelid:
  4536. description: 现货型号ID
  4537. type: integer
  4538. todaybuyinqty:
  4539. description: 今日采购入库量
  4540. type: number
  4541. todayproduceinqty:
  4542. description: 今日生产入库量
  4543. type: number
  4544. todayproduceoutqty:
  4545. description: 今日生产出库量
  4546. type: number
  4547. todayselloutqty:
  4548. description: 今日销售出库量
  4549. type: number
  4550. unitid:
  4551. description: 单位id
  4552. type: integer
  4553. updatetime:
  4554. description: 更新时间
  4555. type: string
  4556. userid:
  4557. description: 机构ID
  4558. type: integer
  4559. username:
  4560. description: 机构名称
  4561. type: string
  4562. warehousecode:
  4563. description: 仓库代码
  4564. type: string
  4565. warehouseinfoid:
  4566. description: 仓库ID
  4567. type: string
  4568. warehousename:
  4569. description: 仓库名称
  4570. type: string
  4571. warehousetype:
  4572. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4573. type: integer
  4574. wrstandardcode:
  4575. description: 现货商品代码
  4576. type: string
  4577. wrstandardid:
  4578. description: 现货商品ID
  4579. type: string
  4580. wrstandardname:
  4581. description: 现货商品名称
  4582. type: string
  4583. type: object
  4584. models.ErmcpAvalidGoodsGroupModel:
  4585. properties:
  4586. goodsgroupid:
  4587. description: 期货品种id
  4588. type: integer
  4589. goodsgroupname:
  4590. description: 期货品种名称
  4591. type: string
  4592. goodunitid:
  4593. description: 品种单位id
  4594. type: integer
  4595. goodunitname:
  4596. description: 品种单位名称
  4597. type: string
  4598. outergroupcode:
  4599. description: 期货品种代码
  4600. type: string
  4601. type: object
  4602. models.ErmcpBizGroupEx:
  4603. properties:
  4604. acclist:
  4605. description: 账号列表
  4606. items:
  4607. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  4608. type: array
  4609. bizgroupid:
  4610. description: 业务分组id
  4611. type: integer
  4612. biztype:
  4613. description: 业务类型 1-套保 2-套利
  4614. type: integer
  4615. wrlist:
  4616. description: 现货商品表
  4617. items:
  4618. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  4619. type: array
  4620. type: object
  4621. models.ErmcpBizGroupSpotGoods:
  4622. properties:
  4623. areauserid:
  4624. description: 所属机构id
  4625. type: integer
  4626. bizgroupid:
  4627. description: 分组id
  4628. type: integer
  4629. biztype:
  4630. description: 业务类型 1-套保 2-套利
  4631. type: integer
  4632. deliverygoodscode:
  4633. description: 现货商品代码
  4634. type: string
  4635. deliverygoodsid:
  4636. description: 现货商品id
  4637. type: integer
  4638. deliverygoodsname:
  4639. description: 现货商品名称
  4640. type: string
  4641. unitid:
  4642. description: 现货商品单位id
  4643. type: integer
  4644. type: object
  4645. models.ErmcpBizGroupTaAccount:
  4646. properties:
  4647. accountid:
  4648. description: 账号id
  4649. type: string
  4650. accountname:
  4651. description: 账号名称
  4652. type: string
  4653. areauserid:
  4654. description: 所属机构id
  4655. type: integer
  4656. bizgroupid:
  4657. description: 业务分组id
  4658. type: integer
  4659. ismain:
  4660. description: 是否主账号 1-是 0-否
  4661. type: integer
  4662. type: object
  4663. models.ErmcpDGFactoryItem:
  4664. properties:
  4665. areauserid:
  4666. description: 用户id
  4667. type: integer
  4668. deliverygoodsid:
  4669. description: 现货品种ID
  4670. type: integer
  4671. dgfactoryitemid:
  4672. description: 选择项ID(SEQ_DGFACTORYITEM)
  4673. type: integer
  4674. dgfactoryitemtypeid:
  4675. description: 要素项类型
  4676. type: integer
  4677. dgfactoryitemvalue:
  4678. description: 要素项值(类型为仓库时填写仓库名称)
  4679. type: string
  4680. isvalid:
  4681. description: 是否有效 - 0:无效 1:有效
  4682. type: integer
  4683. orderindex:
  4684. description: 顺序
  4685. type: integer
  4686. warehouseid:
  4687. description: 仓库ID(类型为仓库时填写)
  4688. type: integer
  4689. type: object
  4690. models.ErmcpDeliveryGoods:
  4691. properties:
  4692. agreeunit:
  4693. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  4694. type: integer
  4695. areauserid:
  4696. description: 所属机构
  4697. type: integer
  4698. auditflag:
  4699. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  4700. type: integer
  4701. categoryid:
  4702. description: 类别ID(SEQ_WRCATEGORY)
  4703. type: integer
  4704. deliverygoodscode:
  4705. description: 现货品种代码
  4706. type: string
  4707. deliverygoodsid:
  4708. description: 现货品种ID(SEQ_DELIVERYGOODS)
  4709. type: integer
  4710. deliverygoodsname:
  4711. description: 现货品种名称
  4712. type: string
  4713. deliverygoodstype:
  4714. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  4715. type: integer
  4716. dgstatus:
  4717. description: 品种状态 - 作废 - 0:未激活 1:正常
  4718. type: integer
  4719. enumdicname:
  4720. description: 现货品种单位名称
  4721. type: string
  4722. goodsunitid:
  4723. description: 现货品种单位ID
  4724. type: integer
  4725. isvalid:
  4726. description: 是否有效 - 0:无效 1:有效
  4727. type: integer
  4728. qtydecimalplace:
  4729. description: 成交量小数位
  4730. type: integer
  4731. remark:
  4732. description: 备注
  4733. type: string
  4734. standardqty:
  4735. description: 标准数量(库位数量) [标准品特有]
  4736. type: integer
  4737. standardqtyrange:
  4738. description: 标准数量偏差范围 [标准品特有]
  4739. type: integer
  4740. type: object
  4741. models.ErmcpDeliveryGoodsDetail:
  4742. properties:
  4743. data:
  4744. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  4745. description: 现货商品基本信息(交割品种)
  4746. type: object
  4747. gblist:
  4748. description: 品牌列表
  4749. items:
  4750. $ref: '#/definitions/models.Ermcp3Brand'
  4751. type: array
  4752. gmlist:
  4753. description: 品类列表(仓单标准)
  4754. items:
  4755. $ref: '#/definitions/models.ErmcpWrstandard'
  4756. type: array
  4757. goodslist:
  4758. description: 关联交易商品列表
  4759. items:
  4760. $ref: '#/definitions/models.ErmcpRelatedGoods'
  4761. type: array
  4762. wrslist:
  4763. description: 套保信息列表
  4764. items:
  4765. $ref: '#/definitions/models.WRSConverTDetail'
  4766. type: array
  4767. type: object
  4768. models.ErmcpExposureDetailModel:
  4769. properties:
  4770. areauserid:
  4771. description: 机构ID
  4772. type: integer
  4773. changeQty:
  4774. description: 套保变动量
  4775. type: number
  4776. contracttype:
  4777. description: 现货合同类型 - 1:采购 -1:销售
  4778. type: integer
  4779. convertfactor:
  4780. description: 标仓系数
  4781. type: number
  4782. convertratio:
  4783. description: 套保系数
  4784. type: number
  4785. createtime:
  4786. description: 时间
  4787. type: string
  4788. enumdicname:
  4789. description: 现货商品单位名称
  4790. type: string
  4791. logtype:
  4792. description: 类型 - 1:套保计划 2:现货合同
  4793. type: integer
  4794. middlegoodsId:
  4795. description: 套保商品id
  4796. type: integer
  4797. middlegoodscode:
  4798. description: 套保商品代码
  4799. type: string
  4800. middlegoodsname:
  4801. description: 套保商品名称
  4802. type: string
  4803. qty:
  4804. description: 数量
  4805. type: number
  4806. relateNo:
  4807. description: 现货合同/套保计划编号
  4808. type: string
  4809. wrstandardcode:
  4810. description: 现货商品代码
  4811. type: string
  4812. wrstandardid:
  4813. description: 现货商品ID
  4814. type: integer
  4815. wrstandardname:
  4816. description: 现货商品名称
  4817. type: string
  4818. type: object
  4819. models.ErmcpExposurePostion:
  4820. properties:
  4821. agreeunit:
  4822. description: 合约单位
  4823. type: string
  4824. areauserid:
  4825. description: 所属机构id
  4826. type: integer
  4827. convertratio:
  4828. description: 期货品种系数(折算系数)
  4829. type: number
  4830. curqty:
  4831. description: 当前持仓
  4832. type: integer
  4833. diffhedgeqty:
  4834. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  4835. type: number
  4836. diffqty:
  4837. description: 持仓变动量=当前持仓-昨日持仓
  4838. type: integer
  4839. goodscode:
  4840. description: 商品代码
  4841. type: string
  4842. goodsid:
  4843. description: 商品id
  4844. type: integer
  4845. goodsname:
  4846. description: 商品名称
  4847. type: string
  4848. middlegoodsid:
  4849. description: 套保商品id
  4850. type: integer
  4851. ydqty:
  4852. description: 昨日持仓
  4853. type: integer
  4854. type: object
  4855. models.ErmcpFuturesCompany:
  4856. properties:
  4857. brokerid:
  4858. description: 经纪公司代码
  4859. type: string
  4860. channeladdress:
  4861. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  4862. type: string
  4863. channelid:
  4864. description: 对冲渠道ID
  4865. type: string
  4866. createtime:
  4867. description: 创建时间
  4868. type: string
  4869. creatorid:
  4870. description: 创建人
  4871. type: string
  4872. fcid:
  4873. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  4874. type: integer
  4875. fcname:
  4876. description: 期货公司名称
  4877. type: string
  4878. isvalid:
  4879. description: 是否有效 - 0:无效 1:有效
  4880. type: integer
  4881. mhpaddress:
  4882. description: MHP服务地址(IP:Port)
  4883. type: string
  4884. riskrulegroupid:
  4885. description: 风控规则组ID
  4886. type: string
  4887. tradefeetmpid:
  4888. description: 手续费模板ID[TradeConfigTmpType为2]
  4889. type: string
  4890. trademargintmpid:
  4891. description: 保证金模板ID [TradeConfigTmpType为1]
  4892. type: string
  4893. traderatetmpid:
  4894. description: 汇率模板ID[TradeConfigTmpType为3]
  4895. type: string
  4896. updatetime:
  4897. description: 更新时间
  4898. type: string
  4899. updatorid:
  4900. description: 更新人
  4901. type: string
  4902. type: object
  4903. models.ErmcpGGConvertCfg:
  4904. properties:
  4905. convertratio:
  4906. description: 折算系数
  4907. type: number
  4908. destgoodsgroupid:
  4909. description: 目标品种ID
  4910. type: integer
  4911. dstcode:
  4912. description: 目录品种代码
  4913. type: string
  4914. dstexchangecode:
  4915. description: 目标期货交易所
  4916. type: string
  4917. dstname:
  4918. description: 目标品种名称
  4919. type: string
  4920. dstunitid:
  4921. description: 目标品种单位ID
  4922. type: integer
  4923. dstunitidname:
  4924. description: 目标品种单位名称
  4925. type: string
  4926. modifytime:
  4927. description: 修改时间
  4928. type: string
  4929. srccode:
  4930. description: 源品种代码
  4931. type: string
  4932. srcexchangecode:
  4933. description: 源期货交易所
  4934. type: string
  4935. srcgoodsgroupid:
  4936. description: 源品种ID
  4937. type: integer
  4938. srcname:
  4939. description: 源品种名称
  4940. type: string
  4941. srcunitid:
  4942. description: 源品种单位ID
  4943. type: integer
  4944. srcunitidname:
  4945. description: 源品种单位名称
  4946. type: string
  4947. type: object
  4948. models.ErmcpGoodsBrand:
  4949. properties:
  4950. areauserid:
  4951. description: 所属机构
  4952. type: integer
  4953. brandid:
  4954. description: BrandID(SEQ_SPOTGOODSBRAND)
  4955. type: integer
  4956. brandname:
  4957. description: 品牌名称
  4958. type: string
  4959. createtime:
  4960. description: 创建时间
  4961. type: string
  4962. creatorid:
  4963. description: 创建人
  4964. type: integer
  4965. creatorsrc:
  4966. description: 创建人来源 - 1:管理端 2:终端
  4967. type: integer
  4968. deliverygoodsid:
  4969. description: 现货品种ID
  4970. type: integer
  4971. isvalid:
  4972. description: 是否有效 - 0:无效 1:有效
  4973. type: integer
  4974. updatetime:
  4975. description: 更新时间
  4976. type: string
  4977. updatorid:
  4978. description: 更新人
  4979. type: integer
  4980. updatorsrc:
  4981. description: 更新人来源 - 1:管理端 2:终端
  4982. type: integer
  4983. wrstandardid:
  4984. description: 现货商品ID
  4985. type: integer
  4986. type: object
  4987. models.ErmcpGoodsModel:
  4988. properties:
  4989. areauserid:
  4990. description: 所属机构
  4991. type: integer
  4992. convertfactor:
  4993. description: 标仓系数
  4994. type: number
  4995. createtime:
  4996. description: 创建时间
  4997. type: string
  4998. creatorid:
  4999. description: 创建人
  5000. type: integer
  5001. creatorsrc:
  5002. description: 创建人来源 - 1:管理端 2:终端
  5003. type: integer
  5004. deliverygoodsid:
  5005. description: 现货品种ID
  5006. type: integer
  5007. isvalid:
  5008. description: 是否有效 - 0:无效 1:有效
  5009. type: integer
  5010. modelid:
  5011. description: ModelID(SEQ_SPOTGOODSMODEL)
  5012. type: integer
  5013. modelname:
  5014. description: 型号名称
  5015. type: string
  5016. updatetime:
  5017. description: 更新时间
  5018. type: string
  5019. updatorid:
  5020. description: 更新人
  5021. type: integer
  5022. updatorsrc:
  5023. description: 更新人来源 - 1:管理端 2:终端
  5024. type: integer
  5025. wrstandardid:
  5026. description: 现货商品ID
  5027. type: integer
  5028. type: object
  5029. models.ErmcpHedgePlan:
  5030. properties:
  5031. areauserid:
  5032. description: 用户ID
  5033. type: integer
  5034. audittime:
  5035. description: 审核时间
  5036. type: string
  5037. contracttype:
  5038. description: 计划类型 - 1:采购 -1:销售
  5039. type: integer
  5040. convertfactor:
  5041. description: 标仓系数
  5042. type: number
  5043. createtime:
  5044. description: 创建时间
  5045. type: string
  5046. deliverygoodsid:
  5047. description: 现货品种ID
  5048. type: integer
  5049. deliverygoodsname:
  5050. description: 现货品种名称
  5051. type: string
  5052. enumdicname:
  5053. description: 单位名称
  5054. type: string
  5055. hedgeplanid:
  5056. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  5057. type: string
  5058. hedgeplanno:
  5059. description: 套保计划编号(名称)
  5060. type: string
  5061. hedgeplanstatus:
  5062. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5063. type: integer
  5064. planqty:
  5065. description: 计划数量
  5066. type: number
  5067. plantime:
  5068. description: 计划时间
  5069. type: string
  5070. producttype:
  5071. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5072. type: integer
  5073. remark:
  5074. description: 备注
  5075. type: string
  5076. spotgoodsdesc:
  5077. description: 商品型号
  5078. type: string
  5079. unitid:
  5080. description: 单位id
  5081. type: integer
  5082. updatetime:
  5083. description: 更新时间
  5084. type: string
  5085. wrstandardid:
  5086. description: 现货商品ID
  5087. type: integer
  5088. wrstandardname:
  5089. description: 现货商品名称
  5090. type: string
  5091. type: object
  5092. models.ErmcpHedgePosition:
  5093. properties:
  5094. accountid:
  5095. description: 资金账号[外部母账户]
  5096. type: integer
  5097. curbuyposition:
  5098. description: 期末买头寸
  5099. type: integer
  5100. cursellposition:
  5101. description: 期末卖头寸
  5102. type: integer
  5103. curtdbuyposition:
  5104. description: 期末今日买头寸
  5105. type: integer
  5106. curtdsellposition:
  5107. description: 期末今日卖头寸
  5108. type: integer
  5109. curydbuyposition:
  5110. description: 期末上日买头寸
  5111. type: integer
  5112. curydsellposition:
  5113. description: 期末上日卖头寸
  5114. type: integer
  5115. decreaseqty:
  5116. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  5117. type: integer
  5118. fretdbuyposition:
  5119. description: 冻结今日买头寸
  5120. type: integer
  5121. fretdsellposition:
  5122. description: 冻结今日卖头寸
  5123. type: integer
  5124. freydbuyposition:
  5125. description: 冻结上日买头寸
  5126. type: integer
  5127. freydsellposition:
  5128. description: 冻结上日卖头寸
  5129. type: integer
  5130. goodscode:
  5131. description: 商品代码
  5132. type: string
  5133. goodsid:
  5134. description: 商品id
  5135. type: integer
  5136. goodsname:
  5137. description: 商品名称
  5138. type: string
  5139. hedgeaccountcode:
  5140. description: 对冲账号
  5141. type: string
  5142. hedgegoodsid:
  5143. description: 对冲合约ID
  5144. type: integer
  5145. increaseqty:
  5146. description: 增加数量 = 期末买头寸 - 期初买头寸
  5147. type: integer
  5148. marketid:
  5149. description: 市场ID
  5150. type: integer
  5151. relateduserid:
  5152. description: 关联用户id
  5153. type: integer
  5154. totalcurqty:
  5155. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  5156. type: integer
  5157. totalydqty:
  5158. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  5159. type: integer
  5160. tradedate:
  5161. description: 交易日(yyyyMMdd)
  5162. type: string
  5163. ydbuyposition:
  5164. description: 期初买头寸
  5165. type: integer
  5166. ydsellposition:
  5167. description: 期初卖头寸
  5168. type: integer
  5169. type: object
  5170. models.ErmcpHedgePositionDetail:
  5171. properties:
  5172. buyorsell:
  5173. description: 买卖方向 0-买 1-卖
  5174. type: integer
  5175. channelbuildtype:
  5176. description: 开平方向 1-建仓 2-平仓
  5177. type: integer
  5178. goodscode:
  5179. description: 商品代码
  5180. type: string
  5181. goodsname:
  5182. description: 商品名称
  5183. type: string
  5184. hedgegoodsid:
  5185. description: 商品id
  5186. type: integer
  5187. tradeqty:
  5188. description: 数量(成交数量)
  5189. type: integer
  5190. tradetime:
  5191. description: 时间(成交时间)
  5192. type: string
  5193. type: object
  5194. models.ErmcpHisExposure:
  5195. properties:
  5196. needhedgeexposoure:
  5197. description: 应套保敞口
  5198. type: number
  5199. reckondate:
  5200. description: 日照时期(yyyyMMdd)
  5201. type: string
  5202. totalexposure:
  5203. description: 总敞口
  5204. type: number
  5205. type: object
  5206. models.ErmcpHisExposureS:
  5207. properties:
  5208. data:
  5209. description: 历史敞口
  5210. items:
  5211. $ref: '#/definitions/models.ErmcpHisExposure'
  5212. type: array
  5213. enumdicname:
  5214. description: 单位名称
  5215. type: string
  5216. middlegoodscode:
  5217. description: 套保品种代码
  5218. type: string
  5219. middlegoodsid:
  5220. description: 套保品种ID
  5221. type: integer
  5222. middlegoodsname:
  5223. description: 套保品种名称
  5224. type: string
  5225. type: object
  5226. models.ErmcpLoginUser:
  5227. properties:
  5228. accountname:
  5229. description: 用户名称
  5230. type: string
  5231. clientroleid:
  5232. description: 角色id(usertype=2)
  5233. type: integer
  5234. createtime:
  5235. description: 创建时间
  5236. type: string
  5237. logincode:
  5238. description: 登录代码
  5239. type: string
  5240. loginid:
  5241. description: 登录id(LOGINID)
  5242. type: integer
  5243. loginstatus:
  5244. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  5245. type: integer
  5246. memberuserid:
  5247. description: 所属会员id
  5248. type: integer
  5249. mobile:
  5250. description: 手机号
  5251. type: string
  5252. modifytime:
  5253. description: 修改时间
  5254. type: string
  5255. password:
  5256. description: 密码(不可解密)
  5257. type: string
  5258. rolename:
  5259. description: 角色名称
  5260. type: string
  5261. rolestatus:
  5262. description: 角色状态 1-启用 2-停用
  5263. type: integer
  5264. roletype:
  5265. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  5266. type: string
  5267. userid:
  5268. description: 用户id
  5269. type: integer
  5270. usertype:
  5271. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  5272. type: integer
  5273. type: object
  5274. models.ErmcpLoginUserEx:
  5275. properties:
  5276. roleid:
  5277. description: 角色id
  5278. type: integer
  5279. rolename:
  5280. description: 角色名称
  5281. type: string
  5282. userlist:
  5283. description: 用户列表
  5284. items:
  5285. $ref: '#/definitions/models.ErmcpLoginUser'
  5286. type: array
  5287. usertype:
  5288. description: 用户类型 2-机构 7-企业成员(云平台)
  5289. type: integer
  5290. type: object
  5291. models.ErmcpMiddleGoodsChangeLog:
  5292. properties:
  5293. aftervalue:
  5294. description: 变更后
  5295. type: number
  5296. applyid:
  5297. description: 操作人
  5298. type: integer
  5299. applyname:
  5300. description: 操作人名称
  5301. type: string
  5302. applysrc:
  5303. description: 操作来源 - 1:管理端 2:终端
  5304. type: integer
  5305. beforevalue:
  5306. description: 变更前
  5307. type: number
  5308. changelogtype:
  5309. description: 变更流水类型 - 1:套保比率变更
  5310. type: integer
  5311. handlestatus:
  5312. description: 处理状态
  5313. type: integer
  5314. logdatetime:
  5315. description: 流水日期
  5316. type: string
  5317. logid:
  5318. description: 流水ID
  5319. type: integer
  5320. logremark:
  5321. description: 流水备注
  5322. type: string
  5323. middlegoodsid:
  5324. description: 套保品种ID
  5325. type: integer
  5326. tradedate:
  5327. description: 交易日(yyyyMMdd)
  5328. type: string
  5329. updatetime:
  5330. description: 更新时间
  5331. type: string
  5332. type: object
  5333. models.ErmcpMiddleGoodsDetail:
  5334. properties:
  5335. cvList:
  5336. description: 期货品种折算列表
  5337. items:
  5338. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  5339. type: array
  5340. mg:
  5341. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  5342. description: 套保品种基本信息
  5343. type: object
  5344. wrcList:
  5345. description: 现货品种列表(现货商品折算配置)
  5346. items:
  5347. $ref: '#/definitions/models.WRSConverTDetail'
  5348. type: array
  5349. type: object
  5350. models.ErmcpMiddleGoodsModel:
  5351. properties:
  5352. areauserid:
  5353. description: 机构用户ID
  5354. type: integer
  5355. createtime:
  5356. description: 修改时间
  5357. type: string
  5358. enumdicname:
  5359. description: 单位名称
  5360. type: string
  5361. evaluateratio:
  5362. description: 估价系数
  5363. type: number
  5364. goodsgroupid:
  5365. description: 关联期货品种ID
  5366. type: integer
  5367. isvalid:
  5368. description: 状态 0-无效(停用) 1-有效(正常)
  5369. type: integer
  5370. middlegoodscode:
  5371. description: 套保品种代码
  5372. type: string
  5373. middlegoodsid:
  5374. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  5375. type: integer
  5376. middlegoodsname:
  5377. description: 套保品种名称
  5378. type: string
  5379. modifytime:
  5380. description: 修改时间
  5381. type: string
  5382. needhedgeratio:
  5383. description: 套保比率
  5384. type: number
  5385. qtydecimalplace:
  5386. description: 数量小数位
  5387. type: integer
  5388. relatedgoodsid:
  5389. description: 关联交易商品ID
  5390. type: integer
  5391. relatedgoodstype:
  5392. description: 关联商品类型 - 1:期货合约 2:现货品种
  5393. type: integer
  5394. remark:
  5395. description: 备注
  5396. type: string
  5397. type: object
  5398. models.ErmcpModel:
  5399. properties:
  5400. accountname:
  5401. description: 账户名称
  5402. type: string
  5403. attachment:
  5404. description: 附件
  5405. type: string
  5406. audittime:
  5407. description: 审核时间
  5408. type: string
  5409. brandname:
  5410. description: 品牌名称
  5411. type: string
  5412. contracctstatus:
  5413. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5414. type: integer
  5415. contractmargin:
  5416. description: 合同保证金
  5417. type: number
  5418. contractno:
  5419. description: 合同编号
  5420. type: string
  5421. contracttype:
  5422. description: 合同类型 1-采购, -1-销售
  5423. type: integer
  5424. convertfactor:
  5425. description: 标仓系数
  5426. type: number
  5427. createtime:
  5428. description: 创建时间
  5429. type: string
  5430. daikaiamount:
  5431. description: 应收(开)票额
  5432. type: number
  5433. deliveryenddate:
  5434. description: 交割结束日
  5435. type: string
  5436. deliverygoodscode:
  5437. description: 现货品种代码
  5438. type: string
  5439. deliverygoodsid:
  5440. description: 现货商品ID
  5441. type: integer
  5442. deliverygoodsname:
  5443. description: 现货品种名称
  5444. type: string
  5445. deliverystartdate:
  5446. description: 交割开始日
  5447. type: string
  5448. enddate:
  5449. description: 点价结束日
  5450. type: string
  5451. enumdicname:
  5452. description: 单位名称
  5453. type: string
  5454. goodscode:
  5455. description: 点价商品代码
  5456. type: string
  5457. goodsid:
  5458. description: 点价商品ID
  5459. type: integer
  5460. goodsname:
  5461. description: 点价商品名称
  5462. type: string
  5463. invoiceamount:
  5464. description: 已开票额
  5465. type: number
  5466. loanamount:
  5467. description: 贷款总额=已定价额+调整金额
  5468. type: number
  5469. margin:
  5470. description: 保证金
  5471. type: number
  5472. modelname:
  5473. description: 型号名称
  5474. type: string
  5475. payamount:
  5476. description: 已收付额(收款或付款)
  5477. type: number
  5478. preinvoiceamount:
  5479. description: 预收(开)票额
  5480. type: number
  5481. prepayamount:
  5482. description: 预收付额
  5483. type: number
  5484. price:
  5485. description: 价格
  5486. type: number
  5487. pricedamount:
  5488. description: 已定价额
  5489. type: number
  5490. pricedavg:
  5491. description: 已点均价
  5492. type: number
  5493. pricedqty:
  5494. description: 已定价量
  5495. type: number
  5496. pricemove:
  5497. description: 升贴水
  5498. type: number
  5499. pricetype:
  5500. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  5501. type: integer
  5502. producttype:
  5503. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5504. type: integer
  5505. qty:
  5506. description: 合同量
  5507. type: number
  5508. reckonadjustamount:
  5509. description: 调整金额
  5510. type: number
  5511. reckonedamount:
  5512. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  5513. type: number
  5514. reckonotheramount:
  5515. description: 其它费用
  5516. type: number
  5517. reckonrealqty:
  5518. description: 已确定量
  5519. type: number
  5520. remark:
  5521. description: 备注
  5522. type: string
  5523. spotcontractid:
  5524. description: 合同ID
  5525. type: string
  5526. spotgoodsbrandid:
  5527. description: 现货品牌ID
  5528. type: integer
  5529. spotgoodsdesc:
  5530. description: 商品型号(商品规格)
  5531. type: string
  5532. spotgoodsmodelid:
  5533. description: 现货型号ID
  5534. type: integer
  5535. startdate:
  5536. description: 点价开始日
  5537. type: string
  5538. totalamount:
  5539. description: 合计总额
  5540. type: number
  5541. unpayamount:
  5542. description: 应收付款额(应支付或应收款)
  5543. type: number
  5544. unpricedqty:
  5545. description: 未定价量
  5546. type: number
  5547. unsureqty:
  5548. description: 未确定量
  5549. type: number
  5550. userid:
  5551. description: 用户ID
  5552. type: integer
  5553. wrstandardcode:
  5554. description: 现货商品代码
  5555. type: string
  5556. wrstandardid:
  5557. description: 现货商品ID
  5558. type: integer
  5559. wrstandardname:
  5560. description: 现货商品名称
  5561. type: string
  5562. type: object
  5563. models.ErmcpOPLogModel:
  5564. properties:
  5565. aftervalue:
  5566. description: 变更后
  5567. type: number
  5568. applyid:
  5569. description: 操作人ID
  5570. type: string
  5571. applyname:
  5572. description: 操作人名称
  5573. type: string
  5574. beforevalue:
  5575. description: 变更前
  5576. type: number
  5577. biztype:
  5578. description: 业务类型 - 1:套保计划 2:现货合同
  5579. type: integer
  5580. contracttype:
  5581. description: 现货合同类型 - 1:采购 -1:销售
  5582. type: integer
  5583. logvalue:
  5584. description: 数值
  5585. type: number
  5586. operatelogtype:
  5587. description: 操作流水类型
  5588. type: integer
  5589. operatelogtypedesc:
  5590. description: 操作流水类型名称
  5591. type: string
  5592. relatedid:
  5593. description: 现货合同ID\套保计划
  5594. type: string
  5595. updatetime:
  5596. description: 更新时间
  5597. type: string
  5598. type: object
  5599. models.ErmcpPendingAudit:
  5600. properties:
  5601. areastockqty:
  5602. description: '待审核数量: 库存申请'
  5603. type: integer
  5604. businessdjqty:
  5605. description: '待审核数量: 点价'
  5606. type: integer
  5607. businessfpqty:
  5608. description: '待审核数量: 发票'
  5609. type: integer
  5610. businessjsqty:
  5611. description: '待审核数量: 结算'
  5612. type: integer
  5613. businesskxqty:
  5614. description: '待审核数量: 款项'
  5615. type: integer
  5616. hedgeplanqty:
  5617. description: '待审核数量: 套保计划'
  5618. type: integer
  5619. spotcontractqty:
  5620. description: '待审核数量: 现货合同'
  5621. type: integer
  5622. userqty:
  5623. description: '待审核数量: 用户'
  5624. type: integer
  5625. type: object
  5626. models.ErmcpRealExposureModel:
  5627. properties:
  5628. AreaUserID:
  5629. description: 所属机构
  5630. type: integer
  5631. BuyFutureQty:
  5632. description: 买入期货数量
  5633. type: number
  5634. BuyPlanQty:
  5635. description: 采购计划数量
  5636. type: number
  5637. BuyPricedQty:
  5638. description: 采购合同已定价数量
  5639. type: number
  5640. MiddleGoodsCode:
  5641. description: 套保品种代码
  5642. type: string
  5643. MiddleGoodsHedgeRatio:
  5644. description: 应套保比例
  5645. type: number
  5646. MiddleGoodsID:
  5647. description: 套保品种
  5648. type: integer
  5649. MiddleGoodsName:
  5650. description: 套保品种名称
  5651. type: string
  5652. NeedHedgeExposoure:
  5653. description: 应套保敞口
  5654. type: number
  5655. NeedHedgeRatio:
  5656. description: 应套保敞口比例
  5657. type: number
  5658. OriBuyFutureQty:
  5659. description: 期初买入期货数量
  5660. type: number
  5661. OriBuyPlanQty:
  5662. description: 期初采购计划数量
  5663. type: number
  5664. OriBuyPricedQty:
  5665. description: 期初采购合同已定价数量
  5666. type: number
  5667. OriSellFutureQty:
  5668. description: 期初卖出期货数量
  5669. type: number
  5670. OriSellPlanQty:
  5671. description: 期初销售计划数量
  5672. type: number
  5673. OriSellPricedQty:
  5674. description: 期初销售合同已定价数量
  5675. type: number
  5676. SellFutureQty:
  5677. description: 卖出期货数量
  5678. type: number
  5679. SellPlanQty:
  5680. description: 销售计划数量
  5681. type: number
  5682. SellPricedQty:
  5683. description: 销售合同已定价数量
  5684. type: number
  5685. TotalExposure:
  5686. description: 总敞口
  5687. type: number
  5688. TotalFutureQty:
  5689. description: 期货数量
  5690. type: number
  5691. TotalHedgeRatio:
  5692. description: 敞口比例
  5693. type: number
  5694. TotalNeedHedgeQty:
  5695. description: 期货应套保量
  5696. type: number
  5697. TotalSpotQty:
  5698. description: 现货数量
  5699. type: number
  5700. diffFutuQty:
  5701. description: 今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)
  5702. type: number
  5703. diffSpotQty:
  5704. description: 今日变动量(现货) = 现货数量 - 期初现货数量
  5705. type: number
  5706. enumdicname:
  5707. description: 单位名称
  5708. type: string
  5709. oriTotalFutuQty:
  5710. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  5711. type: number
  5712. oriTotalSpotQty:
  5713. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  5714. type: number
  5715. type: object
  5716. models.ErmcpRelatedGoods:
  5717. properties:
  5718. deliverygoodsid:
  5719. description: 品种ID
  5720. type: integer
  5721. goodscode:
  5722. description: 商品代码
  5723. type: string
  5724. goodsid:
  5725. description: 商品id
  5726. type: integer
  5727. goodsname:
  5728. description: 商品名称
  5729. type: string
  5730. type: object
  5731. models.ErmcpReportAreaSpotPL:
  5732. properties:
  5733. actualpl:
  5734. description: 实际损益
  5735. type: number
  5736. areauserid:
  5737. description: 所属机构
  5738. type: integer
  5739. brandname:
  5740. description: 品牌名称
  5741. type: string
  5742. curamount:
  5743. description: 期末额
  5744. type: number
  5745. curaverageprice:
  5746. description: 期末均价
  5747. type: number
  5748. curbuyamount:
  5749. description: 期末采购总额(采购额)
  5750. type: number
  5751. curbuyqty:
  5752. description: 期末采购总量
  5753. type: number
  5754. curmarketvalue:
  5755. description: 参考市值
  5756. type: number
  5757. curqty:
  5758. description: 期末量
  5759. type: number
  5760. cursellamount:
  5761. description: 期末销售总额(销售额)
  5762. type: number
  5763. cursellqty:
  5764. description: 期末销售总量
  5765. type: number
  5766. curspotprice:
  5767. description: 参考市价
  5768. type: number
  5769. enumdicname:
  5770. description: 现货商品单位名称
  5771. type: string
  5772. floatpl:
  5773. description: 浮动损益
  5774. type: number
  5775. gbenumdicname:
  5776. description: 品类单位名称
  5777. type: string
  5778. gbunitid:
  5779. description: 品类单位id
  5780. type: integer
  5781. modelname:
  5782. description: 品类名称
  5783. type: string
  5784. oriamount:
  5785. description: 期初额
  5786. type: number
  5787. oriaverageprice:
  5788. description: 期初均价
  5789. type: number
  5790. oribuyamount:
  5791. description: 期初采购总额
  5792. type: number
  5793. oribuyqty:
  5794. description: 期初采购总量
  5795. type: number
  5796. oriqty:
  5797. description: 期初量
  5798. type: number
  5799. orisellamount:
  5800. description: 期初销售总额
  5801. type: number
  5802. orisellqty:
  5803. description: 期初销售总量
  5804. type: number
  5805. spotgoodsbrandid:
  5806. description: 现货品牌ID
  5807. type: integer
  5808. spotgoodsmodelid:
  5809. description: 现货品类ID
  5810. type: integer
  5811. todaybuyamount:
  5812. description: 今日采购额
  5813. type: number
  5814. todaybuyaverageprice:
  5815. description: 今日采购均价(采购均价)
  5816. type: number
  5817. todaybuyqty:
  5818. description: 今日采购量(采购增量)
  5819. type: number
  5820. todaysellamount:
  5821. description: 今日销售额
  5822. type: number
  5823. todaysellaverageprice:
  5824. description: 今日销售均价(销售均价)
  5825. type: number
  5826. todaysellqty:
  5827. description: 今日销售量(销售增量)
  5828. type: number
  5829. unitid:
  5830. description: 现货商品单位id
  5831. type: integer
  5832. updatetime:
  5833. description: 更新时间
  5834. type: string
  5835. wrstandardcode:
  5836. description: 现货商品代码
  5837. type: string
  5838. wrstandardid:
  5839. description: 现货商品ID
  5840. type: integer
  5841. wrstandardname:
  5842. description: 现货商品名称
  5843. type: string
  5844. type: object
  5845. models.ErmcpReportDayExposure:
  5846. properties:
  5847. areauserid:
  5848. description: 所属机构
  5849. type: integer
  5850. buyfutureqty:
  5851. description: 买入期货数量
  5852. type: number
  5853. buyplanqty:
  5854. description: 采购计划数量
  5855. type: number
  5856. buypricedqty:
  5857. description: 采购合同已定价数量
  5858. type: number
  5859. diffFutuQty:
  5860. description: 今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)
  5861. type: number
  5862. diffSpotQty:
  5863. description: 今日变动量(现货) = 现货数量 - 期初现货数量
  5864. type: number
  5865. enumdicname:
  5866. description: 单位名称
  5867. type: string
  5868. middlegoodscode:
  5869. description: 套保品种代码
  5870. type: string
  5871. middlegoodshedgeratio:
  5872. description: 应套保比例
  5873. type: number
  5874. middlegoodsid:
  5875. description: 套保品种ID
  5876. type: integer
  5877. middlegoodsname:
  5878. description: 套保品种名称
  5879. type: string
  5880. needhedgeexposoure:
  5881. description: 应套保敞口
  5882. type: number
  5883. needhedgeratio:
  5884. description: 应套保敞口比例
  5885. type: number
  5886. oriTotalFutuQty:
  5887. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  5888. type: number
  5889. oriTotalSpotQty:
  5890. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  5891. type: number
  5892. oribuyfutureqty:
  5893. description: 期初买入期货数量
  5894. type: number
  5895. oribuyplanqty:
  5896. description: 期初采购计划数量
  5897. type: number
  5898. oribuypricedqty:
  5899. description: 期初采购合同已定价数量
  5900. type: number
  5901. orisellfutureqty:
  5902. description: 期初卖出期货数量
  5903. type: number
  5904. orisellplanqty:
  5905. description: 期初销售计划数量
  5906. type: number
  5907. orisellpricedqty:
  5908. description: 期初销售合同已定价数量
  5909. type: number
  5910. reckondate:
  5911. description: 日照时期(yyyyMMdd)
  5912. type: string
  5913. sellfutureqty:
  5914. description: 卖出期货数量
  5915. type: number
  5916. sellplanqty:
  5917. description: 销售计划数量
  5918. type: number
  5919. sellpricedqty:
  5920. description: 销售合同已定价数量
  5921. type: number
  5922. totalexposure:
  5923. description: 总敞口
  5924. type: number
  5925. totalfutureqty:
  5926. description: 期货数量
  5927. type: number
  5928. totalhedgeratio:
  5929. description: 敞口比例
  5930. type: number
  5931. totalneedhedgeqty:
  5932. description: 期货应套保量
  5933. type: number
  5934. totalspotqty:
  5935. description: 现货数量
  5936. type: number
  5937. type: object
  5938. models.ErmcpReportDayFR:
  5939. properties:
  5940. areauserid:
  5941. description: 所属机构
  5942. type: integer
  5943. collectinvoiceamount:
  5944. description: 今日开票金额
  5945. type: number
  5946. collectinvoicecount:
  5947. description: 今日开票笔数
  5948. type: integer
  5949. collectmoneyamount:
  5950. description: 今日收款金额
  5951. type: number
  5952. collectmoneycount:
  5953. description: 今日收款笔数
  5954. type: integer
  5955. payinvoiceamount:
  5956. description: 今日收票金额
  5957. type: number
  5958. payinvoicecount:
  5959. description: 今日收票笔数
  5960. type: integer
  5961. paymoneyamount:
  5962. description: 今日付款金额
  5963. type: number
  5964. paymoneycount:
  5965. description: 今日付款笔数
  5966. type: integer
  5967. reckondate:
  5968. description: 日照时期(yyyyMMdd)
  5969. type: string
  5970. updatetime:
  5971. description: 更新时间
  5972. type: string
  5973. type: object
  5974. models.ErmcpReportDaySpot:
  5975. properties:
  5976. areauserid:
  5977. description: 所属机构T
  5978. type: integer
  5979. buyinqty:
  5980. description: 采购入库量
  5981. type: number
  5982. enumdicname:
  5983. description: 现货商品单位名称
  5984. type: string
  5985. reckondate:
  5986. description: 日照时期(yyyyMMdd)
  5987. type: string
  5988. selloutqty:
  5989. description: 销售出库量
  5990. type: number
  5991. todaybuyreckonqty:
  5992. description: 采购确定量
  5993. type: number
  5994. todaysellreckonqty:
  5995. description: 销售确定量
  5996. type: number
  5997. totalbuypricedqty:
  5998. description: 采购定价量 = 期末 - 期初
  5999. type: number
  6000. totalsellpricedqty:
  6001. description: 销售定价量 = 期末 - 期初
  6002. type: number
  6003. wrstandardcode:
  6004. description: 现货商品代码
  6005. type: string
  6006. wrstandardid:
  6007. description: 现货商品ID
  6008. type: integer
  6009. wrstandardname:
  6010. description: 现货商品名称
  6011. type: string
  6012. type: object
  6013. models.ErmcpReportMonSpot:
  6014. properties:
  6015. areauserid:
  6016. description: 所属机构T
  6017. type: integer
  6018. buyinqty:
  6019. description: 采购入库量
  6020. type: number
  6021. cycletime:
  6022. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6023. type: string
  6024. cycletype:
  6025. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6026. type: integer
  6027. enumdicname:
  6028. description: 现货商品单位名称
  6029. type: string
  6030. selloutqty:
  6031. description: 销售出库量
  6032. type: number
  6033. todaybuyreckonqty:
  6034. description: 采购确定量
  6035. type: number
  6036. todaysellreckonqty:
  6037. description: 销售确定量
  6038. type: number
  6039. totalbuypricedqty:
  6040. description: 采购定价量 = 期末 - 期初
  6041. type: number
  6042. totalsellpricedqty:
  6043. description: 销售定价量 = 期末 - 期初
  6044. type: number
  6045. wrstandardcode:
  6046. description: 现货商品代码
  6047. type: string
  6048. wrstandardid:
  6049. description: 现货商品ID
  6050. type: integer
  6051. wrstandardname:
  6052. description: 现货商品名称
  6053. type: string
  6054. type: object
  6055. models.ErmcpReportMonthFR:
  6056. properties:
  6057. areauserid:
  6058. description: 所属机构【原值】
  6059. type: integer
  6060. collectinvoiceamount:
  6061. description: 今日开票金额【汇总】
  6062. type: number
  6063. collectinvoicecount:
  6064. description: 今日开票笔数【汇总】
  6065. type: integer
  6066. collectmoneyamount:
  6067. description: 今日收款金额【汇总】
  6068. type: number
  6069. collectmoneycount:
  6070. description: 今日收款笔数 【汇总】
  6071. type: integer
  6072. cycletime:
  6073. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6074. type: string
  6075. cycletype:
  6076. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6077. type: integer
  6078. dayFr:
  6079. description: 日报表明细
  6080. items:
  6081. $ref: '#/definitions/models.ErmcpReportDayFR'
  6082. type: array
  6083. payinvoiceamount:
  6084. description: 今日收票金额【汇总】
  6085. type: number
  6086. payinvoicecount:
  6087. description: 今日收票笔数【汇总】
  6088. type: integer
  6089. paymoneyamount:
  6090. description: 今日付款金额【汇总】
  6091. type: number
  6092. paymoneycount:
  6093. description: 今日付款笔数【汇总】
  6094. type: integer
  6095. updatetime:
  6096. description: 更新时间
  6097. type: string
  6098. type: object
  6099. models.ErmcpReportOPLog:
  6100. properties:
  6101. applyid:
  6102. description: 操作人
  6103. type: integer
  6104. applyname:
  6105. description: 操作人名称
  6106. type: string
  6107. biztype:
  6108. description: 业务类型 - 1:套保计划 2:现货合同
  6109. type: integer
  6110. brandname:
  6111. description: 品牌名称
  6112. type: string
  6113. contracttype:
  6114. description: 现货合同类型 - 1:采购 -1:销售
  6115. type: integer
  6116. enumdicName:
  6117. description: 单位名称
  6118. type: string
  6119. logdatetime:
  6120. description: 流水日期(时间)
  6121. type: string
  6122. logid:
  6123. description: 流水ID(604+Unix秒时间戳(10位)+xxxxxx)
  6124. type: string
  6125. logtypename:
  6126. description: 合同类型(名称)
  6127. type: string
  6128. logvalue:
  6129. description: 数值
  6130. type: string
  6131. modelname:
  6132. description: 型号名称
  6133. type: string
  6134. operatelogtype:
  6135. description: 操作流水类型 -
  6136. type: integer
  6137. optypename:
  6138. description: 流水类型名称
  6139. type: string
  6140. relatedid:
  6141. description: 现货合同ID\套保计划
  6142. type: string
  6143. relatedno:
  6144. description: 合同编号
  6145. type: string
  6146. tradedate:
  6147. description: 交易日(yyyyMMdd)
  6148. type: string
  6149. userid:
  6150. description: 机构ID
  6151. type: integer
  6152. wrstandardcode:
  6153. description: 现货商品代码
  6154. type: string
  6155. wrstandardid:
  6156. description: 现货商品ID
  6157. type: integer
  6158. wrstandardname:
  6159. description: 现货商品名称
  6160. type: string
  6161. type: object
  6162. models.ErmcpRole:
  6163. properties:
  6164. areauserid:
  6165. description: 所属机构
  6166. type: integer
  6167. autoid:
  6168. description: 角色ID(自增ID)
  6169. type: integer
  6170. modifierid:
  6171. description: 修改人(创建人)
  6172. type: integer
  6173. modifiername:
  6174. description: 修改人名称
  6175. type: string
  6176. modifytime:
  6177. description: 修改时间(创建时间)
  6178. type: string
  6179. rolename:
  6180. description: 角色名称
  6181. type: string
  6182. rolestatus:
  6183. description: 角色状态 - 1:启用 2:停用
  6184. type: integer
  6185. roletype:
  6186. description: 角色类型 - 1- 管理端 2- 交易端
  6187. type: integer
  6188. type: object
  6189. models.ErmcpRoleMenu:
  6190. properties:
  6191. iconame:
  6192. description: 菜单图标
  6193. type: string
  6194. menutype:
  6195. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  6196. type: integer
  6197. parentcode:
  6198. description: 上级资源代码
  6199. type: string
  6200. remark:
  6201. description: 菜单备注
  6202. type: string
  6203. resourcecode:
  6204. description: 菜单代码
  6205. type: string
  6206. resourcelevel:
  6207. description: 级别
  6208. type: integer
  6209. resourcename:
  6210. description: 菜单名称
  6211. type: string
  6212. roleid:
  6213. description: 角色id
  6214. type: integer
  6215. sort:
  6216. description: 排序
  6217. type: integer
  6218. url:
  6219. description: URL
  6220. type: string
  6221. userid:
  6222. description: 用户id
  6223. type: integer
  6224. type: object
  6225. models.ErmcpRoleMenuEx:
  6226. properties:
  6227. menu:
  6228. $ref: '#/definitions/models.ErmcpRoleMenu'
  6229. description: 父级菜单
  6230. type: object
  6231. subMenu:
  6232. description: 子级菜单
  6233. items:
  6234. $ref: '#/definitions/models.ErmcpRoleMenu'
  6235. type: array
  6236. type: object
  6237. models.ErmcpSpotContractModel:
  6238. properties:
  6239. amount:
  6240. description: 金额 [1:一口价、3:暂定价]
  6241. type: number
  6242. attachment:
  6243. description: 附件
  6244. type: string
  6245. auditremark:
  6246. description: 审核意见
  6247. type: string
  6248. audittime:
  6249. description: 审核时间
  6250. type: string
  6251. brandname:
  6252. description: 品牌名称
  6253. type: string
  6254. buyuserid:
  6255. description: 采购方ID
  6256. type: integer
  6257. buyusername:
  6258. description: 采购方名称
  6259. type: string
  6260. contracctstatus:
  6261. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  6262. type: integer
  6263. contractmargin:
  6264. description: 合同保证金
  6265. type: number
  6266. contractno:
  6267. description: 现货合同编号
  6268. type: string
  6269. contracttype:
  6270. description: 现货合同类型 - 1:采购 -1:销售
  6271. type: integer
  6272. convertfactor:
  6273. description: 标仓系数
  6274. type: number
  6275. createtime:
  6276. description: 创建时间
  6277. type: string
  6278. deliveryenddate:
  6279. description: 交收期(结束)
  6280. type: string
  6281. deliverygoodscode:
  6282. description: 现货品种代码
  6283. type: string
  6284. deliverygoodsid:
  6285. description: 现货品种ID
  6286. type: integer
  6287. deliverygoodsname:
  6288. description: 现货品种名称
  6289. type: string
  6290. deliverystartdate:
  6291. description: 交收期(开始)
  6292. type: string
  6293. enddate:
  6294. description: 点价结束日期 [2:点价 3:暂定价]
  6295. type: string
  6296. enumdicname:
  6297. description: 单位名称
  6298. type: string
  6299. goodscode:
  6300. description: 点价合约代码
  6301. type: string
  6302. goodsid:
  6303. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  6304. type: integer
  6305. goodsname:
  6306. description: 点价商品名称
  6307. type: string
  6308. margin:
  6309. description: 当前保证金
  6310. type: number
  6311. modelname:
  6312. description: 型号名称
  6313. type: string
  6314. price:
  6315. description: 价格\暂定价 [1:一口价、3:暂定价]
  6316. type: number
  6317. pricemove:
  6318. description: 升贴水 [2:点价 3:暂定价]
  6319. type: number
  6320. pricetype:
  6321. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  6322. type: integer
  6323. producttype:
  6324. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  6325. type: integer
  6326. qty:
  6327. description: 数量
  6328. type: number
  6329. remark:
  6330. description: 备注
  6331. type: string
  6332. selluserid:
  6333. description: 销售方ID
  6334. type: integer
  6335. sellusername:
  6336. description: 销售方名称
  6337. type: string
  6338. spotcontractid:
  6339. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  6340. type: string
  6341. spotgoodsbrandid:
  6342. description: 现货品牌ID
  6343. type: integer
  6344. spotgoodsdesc:
  6345. description: 商品型号
  6346. type: string
  6347. spotgoodsmodelid:
  6348. description: 现货型号ID
  6349. type: integer
  6350. startdate:
  6351. description: 点价开始日期 [2:点价 3:暂定价]
  6352. type: string
  6353. updatetime:
  6354. description: 更新时间
  6355. type: string
  6356. userid:
  6357. description: 机构ID
  6358. type: integer
  6359. wrstandardcode:
  6360. description: 现货商品代码
  6361. type: string
  6362. wrstandardid:
  6363. description: 现货商品ID
  6364. type: integer
  6365. wrstandardname:
  6366. description: 现货商品名称
  6367. type: string
  6368. type: object
  6369. models.ErmcpSpotGoodsPrice:
  6370. properties:
  6371. areauserid:
  6372. description: 所属机构id
  6373. type: integer
  6374. brandname:
  6375. description: 品牌名称
  6376. type: string
  6377. currencyid:
  6378. description: 报价货币ID
  6379. type: integer
  6380. enumdicname:
  6381. description: 现货商品单位名称
  6382. type: string
  6383. gbenumdicname:
  6384. description: 品类单位名称
  6385. type: string
  6386. gmunitid:
  6387. description: 品类单位id
  6388. type: integer
  6389. isvalid:
  6390. description: 是否有效 - 0:无效 1:有效
  6391. type: integer
  6392. modelname:
  6393. description: 品类名称
  6394. type: string
  6395. operateid:
  6396. description: 最后操作人
  6397. type: integer
  6398. operatesrc:
  6399. description: 最后操作来源 - 1:管理端 2:终端
  6400. type: integer
  6401. operatetime:
  6402. description: 最后操作时间
  6403. type: string
  6404. operatorname:
  6405. description: 操作人名称
  6406. type: string
  6407. spotgoodsbrandid:
  6408. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  6409. type: integer
  6410. spotgoodsmodelid:
  6411. description: 现货品类ID(通用则为0)
  6412. type: integer
  6413. spotgoodsprice:
  6414. description: 现货价格
  6415. type: number
  6416. tradedate:
  6417. description: 交易日(yyyyMMdd)
  6418. type: string
  6419. unitid:
  6420. description: 现货商品单位id
  6421. type: integer
  6422. wrstandardcode:
  6423. description: 现货商品代码
  6424. type: string
  6425. wrstandardid:
  6426. description: 现货商品ID
  6427. type: integer
  6428. wrstandardname:
  6429. description: 现货商品名称
  6430. type: string
  6431. type: object
  6432. models.ErmcpSpotGoodsPriceLog:
  6433. properties:
  6434. areauserid:
  6435. description: 所属机构id
  6436. type: integer
  6437. brandname:
  6438. description: 品牌名称
  6439. type: string
  6440. currencyid:
  6441. description: 报价货币ID
  6442. type: integer
  6443. enumdicname:
  6444. description: 现货商品单位名称
  6445. type: string
  6446. gbenumdicname:
  6447. description: 品类单位名称
  6448. type: string
  6449. gmunitid:
  6450. description: 品类单位id
  6451. type: integer
  6452. logid:
  6453. description: 日志id
  6454. type: integer
  6455. modelname:
  6456. description: 品类名称
  6457. type: string
  6458. operateid:
  6459. description: 最后操作人
  6460. type: integer
  6461. operatesrc:
  6462. description: 最后操作来源 - 1:管理端 2:终端
  6463. type: integer
  6464. operatetime:
  6465. description: 最后操作时间
  6466. type: string
  6467. operatorname:
  6468. description: 操作人名称
  6469. type: string
  6470. spotgoodsbrandid:
  6471. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  6472. type: integer
  6473. spotgoodsmodelid:
  6474. description: 现货品类ID(通用则为0)
  6475. type: integer
  6476. spotgoodsprice:
  6477. description: 现货价格
  6478. type: number
  6479. tradedate:
  6480. description: 交易日(yyyyMMdd)
  6481. type: string
  6482. unitid:
  6483. description: 现货商品单位id
  6484. type: integer
  6485. wrstandardcode:
  6486. description: 现货商品代码
  6487. type: string
  6488. wrstandardid:
  6489. description: 现货商品ID
  6490. type: integer
  6491. wrstandardname:
  6492. description: 现货商品名称
  6493. type: string
  6494. type: object
  6495. models.ErmcpTaAccount:
  6496. properties:
  6497. accountid:
  6498. description: 账户id
  6499. type: integer
  6500. accountname:
  6501. description: 账户名称
  6502. type: string
  6503. currencyid:
  6504. description: 币种id
  6505. type: integer
  6506. ismain:
  6507. description: 是否主账户 0-否 1-是
  6508. type: integer
  6509. parentaccountid:
  6510. description: 父账户id
  6511. type: integer
  6512. relateduserid:
  6513. description: 关联userid
  6514. type: integer
  6515. tradestatus:
  6516. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  6517. type: integer
  6518. type: object
  6519. models.ErmcpTaAccountEx:
  6520. properties:
  6521. mainAcc:
  6522. $ref: '#/definitions/models.ErmcpTaAccount'
  6523. description: 主账号
  6524. type: object
  6525. subacclist:
  6526. description: 子账号列表
  6527. items:
  6528. $ref: '#/definitions/models.ErmcpTaAccount'
  6529. type: array
  6530. type: object
  6531. models.ErmcpTaAccountInfo:
  6532. properties:
  6533. accountid:
  6534. description: 资金账户ID
  6535. type: integer
  6536. accountname:
  6537. description: 账户名称
  6538. type: string
  6539. balance:
  6540. description: 期初余额
  6541. type: number
  6542. capitalbalance:
  6543. description: 本金余额[外部子账户实际出入金余额]
  6544. type: number
  6545. closepl:
  6546. description: 今日平仓盈亏
  6547. type: number
  6548. creditdecrease:
  6549. description: 今日授信减少
  6550. type: number
  6551. creditincrease:
  6552. description: 今日授信增加
  6553. type: number
  6554. curdebt:
  6555. description: 期末欠款
  6556. type: number
  6557. currencyid:
  6558. description: 货币ID
  6559. type: integer
  6560. currentbalance:
  6561. description: 期末余额
  6562. type: number
  6563. freezecharge:
  6564. description: 手续费冻结
  6565. type: number
  6566. freezemargin:
  6567. description: 冻结保证金
  6568. type: number
  6569. fromaccountid:
  6570. description: 所属上级账户
  6571. type: integer
  6572. inamount:
  6573. description: 今日入金金额(包括三方入金)
  6574. type: number
  6575. ismain:
  6576. description: 是否母账号 0:不是母账户 1:是母账户
  6577. type: integer
  6578. mortgagecredit:
  6579. description: 授信金额
  6580. type: number
  6581. oridebt:
  6582. description: 期初欠款
  6583. type: number
  6584. orifreezecharge:
  6585. description: 期初手续费冻结
  6586. type: number
  6587. orifreezemargin:
  6588. description: 期初冻结保证金
  6589. type: number
  6590. orimortgagecredit:
  6591. description: 期初授信金额
  6592. type: number
  6593. oriothercredit:
  6594. description: 期初其它授信金额
  6595. type: number
  6596. oriotherfreezemargin:
  6597. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  6598. type: number
  6599. orioutamountfreeze:
  6600. description: 期初出金冻结
  6601. type: number
  6602. oriusedmargin:
  6603. description: 期初占用保证金
  6604. type: number
  6605. othercredit:
  6606. description: 其它授信金额
  6607. type: number
  6608. othercreditdecrease:
  6609. description: 今日其它授信减少
  6610. type: number
  6611. othercreditincrease:
  6612. description: 今日其它授信增加
  6613. type: number
  6614. otherfreezemargin:
  6615. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  6616. type: number
  6617. outamount:
  6618. description: 今日出金金额(包括三方出金)
  6619. type: number
  6620. outamountfreeze:
  6621. description: 出金冻结
  6622. type: number
  6623. outthreshold:
  6624. description: 出金阈值
  6625. type: number
  6626. parentaccountid:
  6627. description: 所属根账号
  6628. type: integer
  6629. paycharge:
  6630. description: 今日手续费支出
  6631. type: number
  6632. relateduserid:
  6633. description: 关联用户
  6634. type: integer
  6635. signstatus:
  6636. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  6637. type: integer
  6638. sublevelpath:
  6639. description: 账号层级路径(逗号分隔,首尾加逗号)
  6640. type: string
  6641. taaccounttype:
  6642. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  6643. type: integer
  6644. thirdinamount:
  6645. description: 今日三方入金
  6646. type: number
  6647. thirdoutamount:
  6648. description: 今日三方出金
  6649. type: number
  6650. tradestatus:
  6651. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  6652. type: integer
  6653. transferamount:
  6654. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  6655. type: number
  6656. usedmargin:
  6657. description: 占用保证金
  6658. type: number
  6659. userid:
  6660. description: 用户ID
  6661. type: integer
  6662. type: object
  6663. models.ErmcpTradeConfigTMP:
  6664. properties:
  6665. areauserid:
  6666. description: 所属机构
  6667. type: integer
  6668. basiccurrencyid:
  6669. description: 基本币种ID[汇率] - 目标币种
  6670. type: integer
  6671. mainaccountid:
  6672. description: 主账户ID
  6673. type: integer
  6674. modifierid:
  6675. description: 修改人
  6676. type: integer
  6677. remark:
  6678. description: 备注
  6679. type: string
  6680. tradeconfigtmpid:
  6681. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  6682. type: integer
  6683. tradeconfigtmpname:
  6684. description: 交易配置模板名称
  6685. type: string
  6686. tradeconfigtmptype:
  6687. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  6688. type: integer
  6689. updatetime:
  6690. description: 更新时间
  6691. type: string
  6692. type: object
  6693. models.ErmcpUserModel:
  6694. properties:
  6695. address:
  6696. description: 通讯地址
  6697. type: string
  6698. attachment1:
  6699. description: 附件1
  6700. type: string
  6701. audittime:
  6702. description: 审核时间
  6703. type: string
  6704. cardfrontphotourl:
  6705. description: 证件正面图片地址
  6706. type: string
  6707. cardnum:
  6708. description: 证件号码
  6709. type: string
  6710. cardtype:
  6711. description: 证件类型
  6712. type: integer
  6713. cardtypename:
  6714. description: 证件类型名称
  6715. type: string
  6716. cityid:
  6717. description: 市
  6718. type: integer
  6719. contactname:
  6720. description: 联系人
  6721. type: string
  6722. countryid:
  6723. description: 国家
  6724. type: integer
  6725. createtime:
  6726. description: 创建时间
  6727. type: string
  6728. customername:
  6729. description: 企业名称
  6730. type: string
  6731. districtid:
  6732. description: 区域
  6733. type: integer
  6734. legalpersonname:
  6735. description: 法人姓名(企业)
  6736. type: string
  6737. memberuserid:
  6738. description: 所属机构ID
  6739. type: integer
  6740. mobile:
  6741. description: 手机号码
  6742. type: string
  6743. modifytime:
  6744. description: 修改时间
  6745. type: string
  6746. nickname:
  6747. description: 昵称
  6748. type: string
  6749. provinceid:
  6750. description: 省
  6751. type: integer
  6752. remark:
  6753. description: 备注
  6754. type: string
  6755. status:
  6756. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  6757. type: integer
  6758. statusdesc:
  6759. description: 账户状态中文描述
  6760. type: string
  6761. taxpayernum:
  6762. description: 纳税人识别号
  6763. type: string
  6764. telphone:
  6765. description: 联系电话
  6766. type: string
  6767. userid:
  6768. description: 用户ID
  6769. type: integer
  6770. userinfotype:
  6771. description: 客户类型
  6772. type: string
  6773. type: object
  6774. models.ErmcpWareHouseInfo:
  6775. properties:
  6776. address:
  6777. description: 详细地址
  6778. type: string
  6779. areauserid:
  6780. description: 所属机构
  6781. type: integer
  6782. autoid:
  6783. description: 自增ID(仓库ID)
  6784. type: integer
  6785. cityid:
  6786. description: 市
  6787. type: integer
  6788. contactname:
  6789. description: 联系人
  6790. type: string
  6791. contactnum:
  6792. description: 联系电话
  6793. type: string
  6794. countryid:
  6795. description: 国家
  6796. type: integer
  6797. createtime:
  6798. description: 创建时间
  6799. type: string
  6800. districtid:
  6801. description: 区
  6802. type: integer
  6803. hasvideo:
  6804. description: 是否有视频 - 0:无 1:有
  6805. type: integer
  6806. provinceid:
  6807. description: 省
  6808. type: integer
  6809. remark:
  6810. description: 审核备注
  6811. type: string
  6812. videourl:
  6813. description: 视频地址
  6814. type: string
  6815. warehousecode:
  6816. description: 仓库代码
  6817. type: string
  6818. warehousename:
  6819. description: 仓库名称
  6820. type: string
  6821. warehousestatus:
  6822. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  6823. type: integer
  6824. warehousetype:
  6825. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  6826. type: integer
  6827. type: object
  6828. models.ErmcpWrstandDetail:
  6829. properties:
  6830. gbList:
  6831. description: 品牌列表
  6832. items:
  6833. $ref: '#/definitions/models.GoodsBrand'
  6834. type: array
  6835. goodsList:
  6836. description: 关联交易商品列表
  6837. items:
  6838. $ref: '#/definitions/models.RelatedGoodsEx'
  6839. type: array
  6840. gtList:
  6841. description: 型号列表
  6842. items:
  6843. $ref: '#/definitions/models.GoodsTypeModel'
  6844. type: array
  6845. wrd:
  6846. $ref: '#/definitions/models.ErmcpWrstandard'
  6847. description: 基本信息
  6848. type: object
  6849. wrsList:
  6850. description: 套保信息列表
  6851. items:
  6852. $ref: '#/definitions/models.WRSConverTDetail'
  6853. type: array
  6854. type: object
  6855. models.ErmcpWrstandard:
  6856. properties:
  6857. areauserid:
  6858. description: 所属机构
  6859. type: integer
  6860. createtime:
  6861. description: 创建时间
  6862. type: string
  6863. creatorid:
  6864. description: 创建人
  6865. type: integer
  6866. deliverygoodsid:
  6867. description: 品种ID
  6868. type: integer
  6869. enumdicname:
  6870. description: 单位名称
  6871. type: string
  6872. isvalid:
  6873. description: 是否有效 0-无效(停用) 1-有效(正常)
  6874. type: integer
  6875. minivalue:
  6876. description: 最小变动值
  6877. type: integer
  6878. minivaluedp:
  6879. description: 最小变动值小数位
  6880. type: integer
  6881. realminivalue:
  6882. description: 实际最小变动值
  6883. type: integer
  6884. realminivaluedp:
  6885. description: 实际最小变动值小数位
  6886. type: integer
  6887. remark:
  6888. description: 备注
  6889. type: string
  6890. unitid:
  6891. description: 单位ID
  6892. type: integer
  6893. updatetime:
  6894. description: 更新时间
  6895. type: string
  6896. wrstandardcode:
  6897. description: 现货商品代码
  6898. type: string
  6899. wrstandardid:
  6900. description: 现货商品ID(SEQ_WRSTANDARD)
  6901. type: integer
  6902. wrstandardname:
  6903. description: 现货商品名称
  6904. type: string
  6905. type: object
  6906. models.Externalexchange:
  6907. properties:
  6908. autoid:
  6909. description: AutoID - SEQ_EXTERNALEXCHANGE
  6910. type: integer
  6911. exchangefullname:
  6912. description: 外部交易所全称
  6913. type: string
  6914. exexchangecode:
  6915. description: 外部交易所代码
  6916. type: string
  6917. exexchangename:
  6918. description: 外部交易所名称(简称)
  6919. type: string
  6920. ismarketprice:
  6921. description: 是否支持市价 - 0:不支持 1:支持
  6922. type: integer
  6923. quotegear:
  6924. description: 行情档位(1-10)
  6925. type: integer
  6926. showbrokerflag:
  6927. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  6928. type: integer
  6929. updatetime:
  6930. description: 更新时间
  6931. type: string
  6932. required:
  6933. - autoid
  6934. type: object
  6935. models.Funcmenulist:
  6936. properties:
  6937. iconame:
  6938. description: 菜单图标
  6939. type: string
  6940. menutype:
  6941. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  6942. type: integer
  6943. parentcode:
  6944. description: 上级资源代码
  6945. type: string
  6946. remark:
  6947. description: 备注
  6948. type: string
  6949. resourcecode:
  6950. description: 资源代码
  6951. type: string
  6952. resourcelevel:
  6953. description: 级别 1-一级 2-二级 3-三级 4-四级
  6954. type: integer
  6955. resourcename:
  6956. description: 资源名
  6957. type: string
  6958. sort:
  6959. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  6960. type: integer
  6961. url:
  6962. description: URL
  6963. type: string
  6964. required:
  6965. - resourcecode
  6966. type: object
  6967. models.Goods:
  6968. properties:
  6969. agreeunit:
  6970. description: 合约单位
  6971. type: number
  6972. auditaccountid:
  6973. description: 审核操作员账号
  6974. type: integer
  6975. audittime:
  6976. description: 审核时间
  6977. type: string
  6978. cancelaccountid:
  6979. description: 注销操作员账号
  6980. type: integer
  6981. canceltime:
  6982. description: 注销时间
  6983. type: string
  6984. closepricemode:
  6985. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  6986. type: integer
  6987. closepriceparam:
  6988. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  6989. type: number
  6990. createtime:
  6991. description: 创建时间
  6992. type: string
  6993. creatorid:
  6994. description: 创建人
  6995. type: integer
  6996. currencyid:
  6997. description: 报价货币ID
  6998. type: integer
  6999. cutmode:
  7000. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  7001. type: integer
  7002. decimalplace:
  7003. description: 报价小数位
  7004. type: integer
  7005. delistingdate:
  7006. description: 商品退市时间(状态:退市) -- 已作废
  7007. type: string
  7008. delistingmode:
  7009. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  7010. type: integer
  7011. deliveryflag:
  7012. description: 交割标志 - 0:不可交割 1:可交割
  7013. type: integer
  7014. forceclosemode:
  7015. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  7016. type: integer
  7017. forceclosevalue:
  7018. description: 定期强平参数 [收益权]
  7019. type: integer
  7020. goodscode:
  7021. description: 商品代码(内部)
  7022. type: string
  7023. goodscurrencyid:
  7024. description: 合约货币ID
  7025. type: integer
  7026. goodsgroupid:
  7027. description: 所属商品组ID
  7028. type: integer
  7029. goodsid:
  7030. description: 商品ID(自增ID SEQ_GOODS)
  7031. type: integer
  7032. goodsname:
  7033. description: 商品名称
  7034. type: string
  7035. goodsquotetype:
  7036. description: '合约报价类型: 1-直接报价 2-间接报价'
  7037. type: integer
  7038. goodsstatus:
  7039. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  7040. type: integer
  7041. goodstradetype:
  7042. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  7043. type: integer
  7044. goodunitid:
  7045. description: 报价单位ID
  7046. type: integer
  7047. hasquoter:
  7048. description: 是否有报价商 - 0:无报价商 1:有报价商
  7049. type: integer
  7050. hqprotecttime:
  7051. description: 行情保护时间(秒)
  7052. type: integer
  7053. innerdealmode:
  7054. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7055. type: integer
  7056. isbuylimited:
  7057. description: 是否限制建仓量 - 0:不限制 1:限制
  7058. type: integer
  7059. lasttradedate:
  7060. description: 最后交易日期(状态:待退市)
  7061. type: string
  7062. listingdate:
  7063. description: 交易开始日期
  7064. type: string
  7065. marketid:
  7066. description: 所属市场ID
  7067. type: integer
  7068. modifierid:
  7069. description: 修改人
  7070. type: integer
  7071. modifystatus:
  7072. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  7073. type: integer
  7074. modifytime:
  7075. description: 修改时间
  7076. type: string
  7077. outerdealmode:
  7078. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7079. type: integer
  7080. outgoodscode:
  7081. description: 商品代码(外部)
  7082. type: string
  7083. qtydecimalplace:
  7084. description: 成交量小数位
  7085. type: integer
  7086. quotegear:
  7087. description: 行情档位(1-10)
  7088. type: integer
  7089. quoteminunit:
  7090. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7091. type: integer
  7092. quoteshowtype:
  7093. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  7094. type: integer
  7095. quoteshowtypeinterval:
  7096. description: 行情报价间隔时间(秒)(成交价时为0)
  7097. type: integer
  7098. remark:
  7099. description: 备注
  7100. type: string
  7101. required:
  7102. - goodscode
  7103. - goodsid
  7104. - goodsname
  7105. - marketid
  7106. type: object
  7107. models.GoodsBrand:
  7108. properties:
  7109. brandid:
  7110. description: 品牌ID
  7111. type: integer
  7112. brandname:
  7113. description: 品牌名称
  7114. type: string
  7115. isvalid:
  7116. description: 是否有效 - 0:无效 1:有效
  7117. type: integer
  7118. type: object
  7119. models.GoodsIDAndName:
  7120. properties:
  7121. goodscode:
  7122. description: 商品代码(内部)
  7123. type: string
  7124. goodsid:
  7125. description: 商品ID(自增ID SEQ_GOODS)
  7126. type: integer
  7127. goodsname:
  7128. description: 商品名称
  7129. type: string
  7130. marketid:
  7131. description: 所属市场ID
  7132. type: integer
  7133. required:
  7134. - goodscode
  7135. - goodsid
  7136. - goodsname
  7137. - marketid
  7138. type: object
  7139. models.GoodsTypeModel:
  7140. properties:
  7141. convertfactor:
  7142. description: 标仓系数
  7143. type: number
  7144. modelid:
  7145. description: 型号ID
  7146. type: integer
  7147. modelname:
  7148. description: 型号名称
  7149. type: string
  7150. updatetime:
  7151. description: 更新时间
  7152. type: string
  7153. type: object
  7154. models.Goodsgroup:
  7155. properties:
  7156. agreeunit:
  7157. description: 合约单位
  7158. type: number
  7159. canshort:
  7160. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  7161. type: integer
  7162. closepricemode:
  7163. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7164. type: integer
  7165. closepriceparam:
  7166. description: 强平最新价浮动比例 - 方式为2时使用
  7167. type: number
  7168. createtime:
  7169. description: 创建时间
  7170. type: string
  7171. creatorid:
  7172. description: 创建人
  7173. type: integer
  7174. currencyid:
  7175. description: 报价货币ID
  7176. type: integer
  7177. decimalplace:
  7178. description: 报价小数位
  7179. type: integer
  7180. exercisetype:
  7181. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  7182. type: integer
  7183. exexchangeid:
  7184. description: 外部交易所ID[通道交易]
  7185. type: integer
  7186. goodsgroupid:
  7187. description: 商品组ID(自增ID)
  7188. type: integer
  7189. goodsgroupname:
  7190. description: 商品组名称
  7191. type: string
  7192. goodsgroupstatus:
  7193. description: 商品组状态 - 1:正常 2:注销
  7194. type: integer
  7195. goodunitid:
  7196. description: 报价单位ID
  7197. type: integer
  7198. innerdealmode:
  7199. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7200. type: integer
  7201. isbuylimited:
  7202. description: 是否限制建仓量 - 0:不限制 1:限制
  7203. type: integer
  7204. marketid:
  7205. description: 所属市场ID
  7206. type: integer
  7207. modifierid:
  7208. description: 修改人
  7209. type: integer
  7210. modifytime:
  7211. description: 修改时间
  7212. type: string
  7213. outerdealmode:
  7214. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7215. type: integer
  7216. outergroupcode:
  7217. description: 外部商品组代码[通道交易]
  7218. type: string
  7219. premiumdecimalplace:
  7220. description: 权利金小数位[场外期权]
  7221. type: integer
  7222. premiumspreadalgorithm:
  7223. description: 权利金点差方式[场外期权] 1:比率 2:固定
  7224. type: integer
  7225. premiumspreadvalue:
  7226. description: 权利金点差值[场外期权]
  7227. type: number
  7228. qtydecimalplace:
  7229. description: 成交量小数位
  7230. type: integer
  7231. quotegear:
  7232. description: 行情档位(1-10)
  7233. type: integer
  7234. quoteminunit:
  7235. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7236. type: integer
  7237. quoterid:
  7238. description: 报价商ID[场外期权]
  7239. type: integer
  7240. quotesourcegroupid:
  7241. description: 所属行情源分组ID[参考行情市场用\通道交易]
  7242. type: integer
  7243. syncgoodsqty:
  7244. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  7245. type: integer
  7246. required:
  7247. - goodsgroupid
  7248. - goodsgroupname
  7249. - goodsgroupstatus
  7250. - marketid
  7251. type: object
  7252. models.Goodssortbypreposition:
  7253. properties:
  7254. goodscode:
  7255. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  7256. type: string
  7257. goodsgroupcode:
  7258. description: 品种代码
  7259. type: string
  7260. prepositionqty:
  7261. description: 昨持仓量
  7262. type: integer
  7263. sortindex:
  7264. description: 排序
  7265. type: integer
  7266. tradedate:
  7267. description: 交易日
  7268. type: string
  7269. updatetime:
  7270. description: 更新时间
  7271. type: string
  7272. required:
  7273. - goodscode
  7274. - tradedate
  7275. type: object
  7276. models.Hedgeinnerholderdetail:
  7277. properties:
  7278. accountid:
  7279. description: 账号ID
  7280. type: integer
  7281. buyorsell:
  7282. description: 方向 - 0:买 1:卖
  7283. type: integer
  7284. freezeqty:
  7285. description: 冻结数量 - 按单平使用
  7286. type: integer
  7287. goodsid:
  7288. description: 商品ID
  7289. type: integer
  7290. holderamount:
  7291. description: 持仓金额 [商品币种]
  7292. type: number
  7293. holderdays:
  7294. description: 剩余冻结天数
  7295. type: integer
  7296. holderprice:
  7297. description: 持仓价格
  7298. type: number
  7299. holderqty:
  7300. description: 持仓数量
  7301. type: integer
  7302. marketid:
  7303. description: 市场ID
  7304. type: integer
  7305. openprice:
  7306. description: 建仓价格
  7307. type: number
  7308. openqty:
  7309. description: 建仓数量
  7310. type: integer
  7311. parentaccountid:
  7312. description: 所属母账户
  7313. type: integer
  7314. releaseamount:
  7315. description: 释放持仓金额[商品币种]
  7316. type: number
  7317. tradeamount:
  7318. description: 成交金额[账户]
  7319. type: number
  7320. tradedate:
  7321. description: 交易日(yyyyMMdd)
  7322. type: string
  7323. tradeid:
  7324. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7325. type: string
  7326. tradetime:
  7327. description: 交易时间
  7328. type: string
  7329. required:
  7330. - buyorsell
  7331. - tradeid
  7332. type: object
  7333. models.Hedgeoutmainconfig:
  7334. properties:
  7335. accountcurrecnygroup:
  7336. description: 资金账户币种组 [易盛]
  7337. type: string
  7338. accountcurrency:
  7339. description: 资金账户基币 [易盛]
  7340. type: string
  7341. accountid:
  7342. description: 资金账号ID(母账号)
  7343. type: integer
  7344. appid:
  7345. description: AppID
  7346. type: string
  7347. authcode:
  7348. description: 授权码[易盛]
  7349. type: string
  7350. brokerid:
  7351. description: 经纪公司代码
  7352. type: string
  7353. channeladdress:
  7354. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  7355. type: string
  7356. channelid:
  7357. description: 对冲渠道ID
  7358. type: integer
  7359. connectflag:
  7360. description: 是否联接外部交易 - 0:不连接 1:连接
  7361. type: integer
  7362. exchangeratecurrencygroup:
  7363. description: 汇率币种组 [易盛]
  7364. type: string
  7365. fcid:
  7366. description: 期货公司ID
  7367. type: integer
  7368. fcname:
  7369. description: 期货公司名称
  7370. type: string
  7371. hedgeaccountcode:
  7372. description: 对冲账号ID
  7373. type: string
  7374. hedgeaccountpwd:
  7375. description: 对冲账号密码
  7376. type: string
  7377. hedgeaccounttype:
  7378. description: 母账号类型 - 1-交易下单 2-跟单
  7379. type: integer
  7380. limitnumber:
  7381. description: 挂单笔数限额
  7382. type: integer
  7383. marketid:
  7384. description: 内部市场ID(母账号的操作
  7385. type: integer
  7386. status:
  7387. description: 渠道账号状态 1-可买入可卖出 2-可卖出不可买入
  7388. type: integer
  7389. userproductinfo:
  7390. description: 客户端产品信息
  7391. type: string
  7392. required:
  7393. - accountid
  7394. type: object
  7395. models.HsbyBuyMyPayOrder:
  7396. properties:
  7397. agreeunit:
  7398. description: 合约单位
  7399. type: number
  7400. buyaccountid:
  7401. description: 买方账号ID[报价币种]
  7402. type: integer
  7403. buyorderid:
  7404. description: 买方委托单号
  7405. type: string
  7406. createtime:
  7407. description: 创建时间
  7408. type: string
  7409. currencysign:
  7410. description: 货币符号
  7411. type: string
  7412. decimalplace:
  7413. description: 报价小数位
  7414. type: integer
  7415. goodscode:
  7416. description: 商品代码(内部)
  7417. type: string
  7418. goodsid:
  7419. description: 商品ID
  7420. type: integer
  7421. goodsname:
  7422. description: 商品名称
  7423. type: string
  7424. marketid:
  7425. description: 市场ID
  7426. type: integer
  7427. offamount:
  7428. description: 优惠金额
  7429. type: number
  7430. originalamount:
  7431. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  7432. type: number
  7433. payamount:
  7434. description: 支付金额 = TradeAmount + TradeCharge
  7435. type: number
  7436. payflag:
  7437. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  7438. type: integer
  7439. paylimitedtime:
  7440. description: 支付期限
  7441. type: string
  7442. paytime:
  7443. description: 付款时间
  7444. type: string
  7445. picurls1:
  7446. description: 预售商品介绍图片[多张用逗号分隔]
  7447. type: string
  7448. picurls2:
  7449. description: 挂牌商品介绍图片[多张用逗号分隔]
  7450. type: string
  7451. sellaccountid:
  7452. description: 卖方账号ID[报价币种]
  7453. type: integer
  7454. sellorderid:
  7455. description: 卖方委托单号
  7456. type: string
  7457. tradeamount:
  7458. description: 成交金额
  7459. type: number
  7460. tradecharge:
  7461. description: 成交手续费(买方)
  7462. type: number
  7463. tradedate:
  7464. description: 交易日(yyyyMMdd)
  7465. type: string
  7466. tradeid:
  7467. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7468. type: string
  7469. trademode:
  7470. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7471. 21:竞拍-大宗式 22:受托竞价
  7472. type: integer
  7473. tradeprice:
  7474. description: 成交价格
  7475. type: number
  7476. tradeqty:
  7477. description: 成交数量
  7478. type: integer
  7479. vendorname1:
  7480. description: 预售商品供应商名称
  7481. type: string
  7482. vendorname2:
  7483. description: 挂牌商品供应商名称
  7484. type: string
  7485. required:
  7486. - goodscode
  7487. - goodsname
  7488. - tradeid
  7489. - trademode
  7490. type: object
  7491. models.HsbyBuyMyTradeDetail:
  7492. properties:
  7493. accountid:
  7494. description: 账户ID[报价币种]
  7495. type: integer
  7496. agreeunit:
  7497. description: 合约单位
  7498. type: number
  7499. amount:
  7500. description: 金额 = 价格 * 数量 * 合约单位
  7501. type: number
  7502. buyorsell:
  7503. description: 买卖 - 0:买 1:卖
  7504. type: integer
  7505. currencysign:
  7506. description: 货币符号
  7507. type: string
  7508. decimalplace:
  7509. description: 报价小数位
  7510. type: integer
  7511. goodscode:
  7512. description: 商品代码(内部)
  7513. type: string
  7514. goodsid:
  7515. description: 商品ID
  7516. type: integer
  7517. goodsname:
  7518. description: 商品名称
  7519. type: string
  7520. marketid:
  7521. description: 市场ID
  7522. type: integer
  7523. orderamount:
  7524. description: 委托金额
  7525. type: number
  7526. orderid:
  7527. description: 单号(成交单号)
  7528. type: string
  7529. picurls1:
  7530. description: 预售商品介绍图片[多张用逗号分隔]
  7531. type: string
  7532. picurls2:
  7533. description: 挂牌商品介绍图片[多张用逗号分隔]
  7534. type: string
  7535. price:
  7536. description: 价格
  7537. type: number
  7538. qty:
  7539. description: 数量
  7540. type: integer
  7541. time:
  7542. description: 时间
  7543. type: string
  7544. trademode:
  7545. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7546. 21:竞拍-大宗式 22:受托竞价
  7547. type: integer
  7548. vendorname1:
  7549. description: 预售商品供应商名称
  7550. type: string
  7551. vendorname2:
  7552. description: 挂牌商品供应商名称
  7553. type: string
  7554. required:
  7555. - accountid
  7556. - buyorsell
  7557. - goodscode
  7558. - goodsid
  7559. - goodsname
  7560. - marketid
  7561. - orderid
  7562. - qty
  7563. - time
  7564. - trademode
  7565. type: object
  7566. models.HsbyGoodsOrderDetail:
  7567. properties:
  7568. buyorsell:
  7569. description: 买卖 - 0:买 1:卖
  7570. type: integer
  7571. currencysign:
  7572. description: 货币符号
  7573. type: string
  7574. customername:
  7575. description: 客户名称(企业名称),已脱敏
  7576. type: string
  7577. enableqty:
  7578. description: 可用数量
  7579. type: integer
  7580. goodunit:
  7581. description: 报价单位
  7582. type: string
  7583. orderid:
  7584. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7585. type: string
  7586. orderprice:
  7587. description: 委托价格
  7588. type: number
  7589. ordertime:
  7590. description: 委托时间
  7591. type: string
  7592. required:
  7593. - buyorsell
  7594. - orderid
  7595. - ordertime
  7596. type: object
  7597. models.HsbyListingGoodsDetail:
  7598. properties:
  7599. agreeunit:
  7600. description: 合约单位
  7601. type: number
  7602. buymaxqty:
  7603. description: 购买上限 [71] - 0为不限
  7604. type: integer
  7605. currency:
  7606. description: 货币
  7607. type: string
  7608. currencysign:
  7609. description: 货币符号
  7610. type: string
  7611. decimalplace:
  7612. description: 报价小数位
  7613. type: integer
  7614. desccityid:
  7615. description: 目的地(市)ID
  7616. type: integer
  7617. descprovinceid:
  7618. description: 目的地(省)ID
  7619. type: integer
  7620. goodscode:
  7621. description: 商品代码(内部)
  7622. type: string
  7623. goodsdesc:
  7624. description: 商品详情
  7625. type: string
  7626. goodsid:
  7627. description: 商品ID(自增ID SEQ_GOODS)
  7628. type: integer
  7629. goodsname:
  7630. description: 商品名称
  7631. type: string
  7632. goodsprice:
  7633. description: 商品价格
  7634. type: number
  7635. hotindex:
  7636. description: 景点热度
  7637. type: integer
  7638. last:
  7639. description: 现价
  7640. type: number
  7641. limitdown:
  7642. description: 跌停价
  7643. type: number
  7644. limitup:
  7645. description: 涨停价
  7646. type: number
  7647. lotsize:
  7648. description: 手数最小变动单位
  7649. type: integer
  7650. marketid:
  7651. description: 所属市场ID
  7652. type: integer
  7653. picurls:
  7654. description: 介绍图片[多张用逗号分隔]
  7655. type: string
  7656. quoteminunit:
  7657. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7658. type: integer
  7659. stepvalue:
  7660. description: 价格最小变动单位
  7661. type: number
  7662. trademode:
  7663. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7664. 21:竞拍-大宗式 22:受托竞价
  7665. type: integer
  7666. vendorattr:
  7667. description: 供应商附件(多张,逗号分隔)
  7668. type: string
  7669. vendorname:
  7670. description: 供应商名称
  7671. type: string
  7672. vendorphone:
  7673. description: 供应商客服电话
  7674. type: string
  7675. videourls:
  7676. description: 介绍视频[多张用逗号分隔]
  7677. type: string
  7678. required:
  7679. - goodscode
  7680. - goodsid
  7681. - goodsname
  7682. - marketid
  7683. - trademode
  7684. type: object
  7685. models.HsbyMarketGoods:
  7686. properties:
  7687. accountid:
  7688. description: 账户ID[报价币种]
  7689. type: integer
  7690. agreeunit:
  7691. description: 合约单位
  7692. type: number
  7693. buyorsell:
  7694. description: 买卖 - 0:买 1:卖
  7695. type: integer
  7696. categoryid:
  7697. description: 类别ID(WRCATEGORY)
  7698. type: integer
  7699. currency:
  7700. description: 货币
  7701. type: string
  7702. currencysign:
  7703. description: 货币符号
  7704. type: string
  7705. customername:
  7706. description: 卖家名称
  7707. type: string
  7708. decimalplace:
  7709. description: 报价小数位
  7710. type: integer
  7711. goodscode:
  7712. description: 商品代码(内部)
  7713. type: string
  7714. goodsid:
  7715. description: 商品ID
  7716. type: integer
  7717. goodsname:
  7718. description: 商品名称
  7719. type: string
  7720. goodsprice:
  7721. description: 商品价格
  7722. type: number
  7723. hascoupon:
  7724. description: 是否可用优惠卷
  7725. type: boolean
  7726. hotindex:
  7727. description: 景点热度
  7728. type: integer
  7729. marketid:
  7730. description: 市场ID
  7731. type: integer
  7732. orderid:
  7733. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7734. type: string
  7735. orderprice:
  7736. description: 委托价格
  7737. type: number
  7738. orderstatus:
  7739. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  7740. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  7741. 16:成交失败违约(荷兰式竞拍专用)
  7742. type: integer
  7743. picurls:
  7744. description: 介绍图片[多张用逗号分隔]
  7745. type: string
  7746. quoteminunit:
  7747. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7748. type: integer
  7749. sellUserID:
  7750. description: 卖方UserID
  7751. type: integer
  7752. trademode:
  7753. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7754. 21:竞拍-大宗式 22:受托竞价
  7755. type: integer
  7756. videourls:
  7757. description: 介绍视频[多张用逗号分隔]
  7758. type: string
  7759. required:
  7760. - accountid
  7761. - buyorsell
  7762. - goodscode
  7763. - goodsid
  7764. - goodsname
  7765. - marketid
  7766. - orderid
  7767. - trademode
  7768. type: object
  7769. models.HsbyMarketGoodsDetail:
  7770. properties:
  7771. accountid:
  7772. description: 账户ID[报价币种]
  7773. type: integer
  7774. agreeunit:
  7775. description: 合约单位
  7776. type: number
  7777. buymaxqty:
  7778. description: 购买上限 [71] - 0为不限
  7779. type: integer
  7780. buyorsell:
  7781. description: 买卖 - 0:买 1:卖
  7782. type: integer
  7783. cancelqty:
  7784. description: 撤单数量
  7785. type: integer
  7786. categoryid:
  7787. description: 类别ID(WRCATEGORY)
  7788. type: integer
  7789. currency:
  7790. description: 货币
  7791. type: string
  7792. currencysign:
  7793. description: 货币符号
  7794. type: string
  7795. customername:
  7796. description: 卖家名称
  7797. type: string
  7798. decimalplace:
  7799. description: 报价小数位
  7800. type: integer
  7801. goodscode:
  7802. description: 商品代码(内部)
  7803. type: string
  7804. goodsdesc:
  7805. description: 商品详情
  7806. type: string
  7807. goodsid:
  7808. description: 商品ID
  7809. type: integer
  7810. goodsname:
  7811. description: 商品名称
  7812. type: string
  7813. goodsprice:
  7814. description: 商品价格
  7815. type: number
  7816. hotindex:
  7817. description: 景点热度
  7818. type: integer
  7819. lotsize:
  7820. description: 手数最小变动单位
  7821. type: integer
  7822. marketid:
  7823. description: 市场ID
  7824. type: integer
  7825. orderid:
  7826. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7827. type: string
  7828. orderprice:
  7829. description: 委托价格
  7830. type: number
  7831. orderqty:
  7832. description: 委托数量
  7833. type: integer
  7834. orderstatus:
  7835. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  7836. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  7837. 16:成交失败违约(荷兰式竞拍专用)
  7838. type: integer
  7839. picurls:
  7840. description: 介绍图片[多张用逗号分隔]
  7841. type: string
  7842. quoteminunit:
  7843. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7844. type: integer
  7845. sellUserID:
  7846. description: 卖方UserID
  7847. type: integer
  7848. trademode:
  7849. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7850. 21:竞拍-大宗式 22:受托竞价
  7851. type: integer
  7852. tradeqty:
  7853. description: 成交数量
  7854. type: integer
  7855. vendorattr:
  7856. description: 供应商附件(多张,逗号分隔)
  7857. type: string
  7858. vendorname:
  7859. description: 供应商名称
  7860. type: string
  7861. vendorphone:
  7862. description: 供应商客服电话
  7863. type: string
  7864. videourls:
  7865. description: 介绍视频[多张用逗号分隔]
  7866. type: string
  7867. required:
  7868. - accountid
  7869. - buyorsell
  7870. - goodscode
  7871. - goodsid
  7872. - goodsname
  7873. - marketid
  7874. - orderid
  7875. - orderqty
  7876. - trademode
  7877. type: object
  7878. models.HsbyMarketInfo:
  7879. properties:
  7880. marketid:
  7881. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  7882. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  7883. type: integer
  7884. marketname:
  7885. description: 市场名称
  7886. type: string
  7887. marketstatus:
  7888. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  7889. type: integer
  7890. trademode:
  7891. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7892. 21:竞拍-大宗式 22:受托竞价
  7893. type: integer
  7894. required:
  7895. - marketid
  7896. - marketstatus
  7897. - trademode
  7898. type: object
  7899. models.HsbyMyGoods:
  7900. properties:
  7901. accountid:
  7902. description: 账号Id
  7903. type: integer
  7904. agreeunit:
  7905. description: 合约单位
  7906. type: number
  7907. buyaverageprice:
  7908. description: 持仓均价
  7909. type: number
  7910. buycurholderamount:
  7911. description: 买当前持仓总金额[商品币种]
  7912. type: number
  7913. buycurpositionqty:
  7914. description: 买当前持仓总数量
  7915. type: integer
  7916. buymaxqty:
  7917. description: 购买上限 [71] - 0为不限
  7918. type: integer
  7919. currencysign:
  7920. description: 货币符号
  7921. type: string
  7922. decimalplace:
  7923. description: 报价小数位
  7924. type: integer
  7925. enableqty:
  7926. description: 可用数量
  7927. type: integer
  7928. goodscode:
  7929. description: 商品代码(内部)
  7930. type: string
  7931. goodsid:
  7932. description: 商品Id
  7933. type: integer
  7934. goodsname:
  7935. description: 商品名称
  7936. type: string
  7937. goodsprice:
  7938. description: 商品价格
  7939. type: number
  7940. goodsstatus:
  7941. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  7942. type: integer
  7943. last:
  7944. description: 现价(仅使用于挂牌点选)
  7945. type: number
  7946. limitdown:
  7947. description: 跌停价(仅使用于挂牌点选)
  7948. type: number
  7949. limitup:
  7950. description: 涨停价(仅使用于挂牌点选)
  7951. type: number
  7952. lotsize:
  7953. description: 手数最小变动单位
  7954. type: integer
  7955. marketid:
  7956. description: 所属市场ID
  7957. type: integer
  7958. picurls:
  7959. description: 介绍图片[多张用逗号分隔]
  7960. type: string
  7961. quoteminunit:
  7962. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7963. type: integer
  7964. stepvalue:
  7965. description: 价格最小变动单位
  7966. type: number
  7967. trademode:
  7968. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7969. 21:竞拍-大宗式 22:受托竞价
  7970. type: integer
  7971. required:
  7972. - accountid
  7973. - goodscode
  7974. - goodsid
  7975. - goodsname
  7976. - marketid
  7977. - trademode
  7978. type: object
  7979. models.HsbyMyPackage:
  7980. properties:
  7981. accountid:
  7982. description: 账户ID
  7983. type: integer
  7984. address:
  7985. description: 提货人详细地址
  7986. type: string
  7987. agreeunit:
  7988. description: 合约单位
  7989. type: number
  7990. amount:
  7991. description: 提货金额
  7992. type: number
  7993. auditer:
  7994. description: 审核人
  7995. type: integer
  7996. audittime:
  7997. description: 审核时间
  7998. type: string
  7999. averageprice:
  8000. description: 均价
  8001. type: number
  8002. cardnum:
  8003. description: 提货人证件号码
  8004. type: string
  8005. cardtypeid:
  8006. description: 提货人证件类型
  8007. type: integer
  8008. checkremark:
  8009. description: 审核备注
  8010. type: string
  8011. currencysign:
  8012. description: 货币符号
  8013. type: string
  8014. decimalplace:
  8015. description: 报价小数位
  8016. type: integer
  8017. goodscode:
  8018. description: 商品代码(内部)
  8019. type: string
  8020. goodsid:
  8021. description: 商品ID
  8022. type: integer
  8023. goodsname:
  8024. description: 商品名称
  8025. type: string
  8026. handlestatus:
  8027. description: 处理状态
  8028. type: integer
  8029. marketid:
  8030. description: 市场ID
  8031. type: integer
  8032. phonenum:
  8033. description: 提货人联系方式
  8034. type: string
  8035. picurls:
  8036. description: 介绍图片[多张用逗号分隔]
  8037. type: string
  8038. qty:
  8039. description: 提货数量
  8040. type: number
  8041. recivername:
  8042. description: 提货人姓名
  8043. type: string
  8044. reqtime:
  8045. description: 更新时间
  8046. type: string
  8047. takemode:
  8048. description: 提货方式 - 2:自提 3:配送
  8049. type: integer
  8050. takeorderid:
  8051. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  8052. type: string
  8053. takeorderstatus:
  8054. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  8055. type: integer
  8056. takeremark:
  8057. description: 提货备注
  8058. type: string
  8059. tradedate:
  8060. description: 交易日(yyyyMMdd)
  8061. type: string
  8062. trademode:
  8063. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8064. 21:竞拍-大宗式 22:受托竞价
  8065. type: integer
  8066. userid:
  8067. description: 用户ID
  8068. type: integer
  8069. vendorname:
  8070. description: 供应商名称
  8071. type: string
  8072. required:
  8073. - goodscode
  8074. - goodsname
  8075. - takeorderid
  8076. - trademode
  8077. type: object
  8078. models.HsbyPreGoods:
  8079. properties:
  8080. agreeunit:
  8081. description: 合约单位
  8082. type: number
  8083. currency:
  8084. description: 货币
  8085. type: string
  8086. currencysign:
  8087. description: 货币符号
  8088. type: string
  8089. decimalplace:
  8090. description: 报价小数位
  8091. type: integer
  8092. desccityid:
  8093. description: 目的地(市)
  8094. type: integer
  8095. descprovinceid:
  8096. description: 目的地(省)
  8097. type: integer
  8098. enableqty:
  8099. description: 剩余数量
  8100. type: integer
  8101. goodscode:
  8102. description: 商品代码(内部)
  8103. type: string
  8104. goodsid:
  8105. description: 商品ID(自增ID SEQ_GOODS)
  8106. type: integer
  8107. goodsname:
  8108. description: 商品名称
  8109. type: string
  8110. goodsstatus:
  8111. description: 商品状态- 2:未上市 3:上市
  8112. type: integer
  8113. lasttradedate:
  8114. description: 最后交易日期(状态:待退市)
  8115. type: string
  8116. listingdate:
  8117. description: 交易开始日期
  8118. type: string
  8119. marketid:
  8120. description: 所属市场ID
  8121. type: integer
  8122. picurls:
  8123. description: 介绍图片[多张用逗号分隔]
  8124. type: string
  8125. presaledqty:
  8126. description: 已预售量(预售结束时更新)
  8127. type: integer
  8128. presaleqty:
  8129. description: 预售数量
  8130. type: integer
  8131. quoteminunit:
  8132. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8133. type: integer
  8134. refprice:
  8135. description: 参考价格[一口价]
  8136. type: number
  8137. relatedgoodsid:
  8138. description: 关联交易合约ID
  8139. type: integer
  8140. trademode:
  8141. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8142. 21:竞拍-大宗式 22:受托竞价
  8143. type: integer
  8144. videourls:
  8145. description: 介绍视频[多张用逗号分隔]
  8146. type: string
  8147. required:
  8148. - goodscode
  8149. - goodsid
  8150. - goodsname
  8151. - marketid
  8152. - trademode
  8153. type: object
  8154. models.HsbyPreGoodsDetail:
  8155. properties:
  8156. agreeunit:
  8157. description: 合约单位
  8158. type: number
  8159. buymaxqty:
  8160. description: 购买上限 [71] - 0为不限
  8161. type: integer
  8162. currency:
  8163. description: 货币
  8164. type: string
  8165. currencysign:
  8166. description: 货币符号
  8167. type: string
  8168. customername:
  8169. description: 发行单位
  8170. type: string
  8171. decimalplace:
  8172. description: 报价小数位
  8173. type: integer
  8174. desccityid:
  8175. description: 目的地(市)ID
  8176. type: integer
  8177. descprovinceid:
  8178. description: 目的地(省)ID
  8179. type: integer
  8180. enableqty:
  8181. description: 剩余数量
  8182. type: integer
  8183. goodscode:
  8184. description: 商品代码(内部)
  8185. type: string
  8186. goodsdesc:
  8187. description: 商品详情
  8188. type: string
  8189. goodsid:
  8190. description: 商品ID(自增ID SEQ_GOODS)
  8191. type: integer
  8192. goodsname:
  8193. description: 商品名称
  8194. type: string
  8195. goodsstatus:
  8196. description: 商品状态- 2:未上市 3:上市
  8197. type: integer
  8198. goodunit:
  8199. description: 报价单位
  8200. type: string
  8201. lasttradedate:
  8202. description: 最后交易日期(状态:待退市)
  8203. type: string
  8204. listingdate:
  8205. description: 交易开始日期
  8206. type: string
  8207. lotsize:
  8208. description: 手数最小变动单位
  8209. type: integer
  8210. marketid:
  8211. description: 所属市场ID
  8212. type: integer
  8213. picurls:
  8214. description: 介绍图片[多张用逗号分隔]
  8215. type: string
  8216. presaledqty:
  8217. description: 已预售量(预售结束时更新)
  8218. type: integer
  8219. presaleqty:
  8220. description: 预售数量
  8221. type: integer
  8222. quoteminunit:
  8223. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8224. type: integer
  8225. refprice:
  8226. description: 参考价格[一口价]
  8227. type: number
  8228. relatedgoodsid:
  8229. description: 关联交易合约ID
  8230. type: integer
  8231. stepvalue:
  8232. description: 价格最小变动单位
  8233. type: number
  8234. trademode:
  8235. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8236. 21:竞拍-大宗式 22:受托竞价
  8237. type: integer
  8238. vendorattr:
  8239. description: 供应商附件(多张,逗号分隔)
  8240. type: string
  8241. vendorname:
  8242. description: 供应商名称
  8243. type: string
  8244. vendorphone:
  8245. description: 供应商客服电话
  8246. type: string
  8247. videourls:
  8248. description: 介绍视频[多张用逗号分隔]
  8249. type: string
  8250. required:
  8251. - goodscode
  8252. - goodsid
  8253. - goodsname
  8254. - marketid
  8255. - trademode
  8256. type: object
  8257. models.HsbySellCollectionOrder:
  8258. properties:
  8259. agreeunit:
  8260. description: 合约单位
  8261. type: number
  8262. buyaccountid:
  8263. description: 买方账号ID[报价币种]
  8264. type: integer
  8265. buyorderid:
  8266. description: 买方委托单号
  8267. type: string
  8268. createtime:
  8269. description: 创建时间
  8270. type: string
  8271. currencysign:
  8272. description: 货币符号
  8273. type: string
  8274. decimalplace:
  8275. description: 报价小数位
  8276. type: integer
  8277. goodscode:
  8278. description: 商品代码(内部)
  8279. type: string
  8280. goodsid:
  8281. description: 商品ID
  8282. type: integer
  8283. goodsname:
  8284. description: 商品名称
  8285. type: string
  8286. marketid:
  8287. description: 市场ID
  8288. type: integer
  8289. offamount:
  8290. description: 优惠金额
  8291. type: number
  8292. payamount:
  8293. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  8294. type: number
  8295. payflag:
  8296. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  8297. type: integer
  8298. paylimitedtime:
  8299. description: 支付期限
  8300. type: string
  8301. paytime:
  8302. description: 付款时间
  8303. type: string
  8304. picurls:
  8305. description: 商品介绍图片[多张用逗号分隔]
  8306. type: string
  8307. sellaccountid:
  8308. description: 卖方账号ID[报价币种]
  8309. type: integer
  8310. sellorderid:
  8311. description: 卖方委托单号
  8312. type: string
  8313. tradeamount:
  8314. description: 成交金额
  8315. type: number
  8316. tradecharge:
  8317. description: 成交手续费(买方)
  8318. type: number
  8319. tradedate:
  8320. description: 交易日(yyyyMMdd)
  8321. type: string
  8322. tradeid:
  8323. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8324. type: string
  8325. trademode:
  8326. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8327. 21:竞拍-大宗式 22:受托竞价
  8328. type: integer
  8329. tradeprice:
  8330. description: 成交价格
  8331. type: number
  8332. tradeqty:
  8333. description: 成交数量
  8334. type: integer
  8335. required:
  8336. - goodscode
  8337. - goodsname
  8338. - tradeid
  8339. - trademode
  8340. type: object
  8341. models.HsbySellMyDetail:
  8342. properties:
  8343. accountid:
  8344. description: 账户ID[报价币种]
  8345. type: integer
  8346. agreeunit:
  8347. description: 合约单位
  8348. type: number
  8349. buyorsell:
  8350. description: 买卖 - 0:买 1:卖
  8351. type: integer
  8352. currencysign:
  8353. description: 货币符号
  8354. type: string
  8355. decimalplace:
  8356. description: 报价小数位
  8357. type: integer
  8358. goodscode:
  8359. description: 商品代码(内部)
  8360. type: string
  8361. goodsid:
  8362. description: 商品ID
  8363. type: integer
  8364. goodsname:
  8365. description: 商品名称
  8366. type: string
  8367. marketid:
  8368. description: 市场ID
  8369. type: integer
  8370. orderid:
  8371. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  8372. type: string
  8373. ordertype:
  8374. description: 单据类型:0 - 发布中, 1 - 已完成
  8375. type: integer
  8376. picurls:
  8377. description: 介绍图片[多张用逗号分隔]
  8378. type: string
  8379. price:
  8380. description: 价格
  8381. type: number
  8382. qty:
  8383. description: 数量
  8384. type: integer
  8385. time:
  8386. description: 时间
  8387. type: string
  8388. trademode:
  8389. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8390. 21:竞拍-大宗式 22:受托竞价
  8391. type: integer
  8392. vendorname:
  8393. description: 供应商名称
  8394. type: string
  8395. required:
  8396. - accountid
  8397. - buyorsell
  8398. - goodscode
  8399. - goodsid
  8400. - goodsname
  8401. - marketid
  8402. - orderid
  8403. - time
  8404. - trademode
  8405. type: object
  8406. models.HsbyTopGoods:
  8407. properties:
  8408. agreeunit:
  8409. description: 合约单位
  8410. type: number
  8411. currency:
  8412. description: 货币
  8413. type: string
  8414. currencysign:
  8415. description: 货币符号
  8416. type: string
  8417. decimalplace:
  8418. description: 报价小数位
  8419. type: integer
  8420. desccityid:
  8421. description: 目的地(市)
  8422. type: integer
  8423. descprovinceid:
  8424. description: 目的地(省)
  8425. type: integer
  8426. goodscode:
  8427. description: 商品代码(内部)
  8428. type: string
  8429. goodsid:
  8430. description: 商品ID(自增ID SEQ_GOODS)
  8431. type: integer
  8432. goodsname:
  8433. description: 商品名称
  8434. type: string
  8435. hotindex:
  8436. description: 景点热度
  8437. type: integer
  8438. last:
  8439. description: 现价
  8440. type: number
  8441. marketid:
  8442. description: 所属市场ID
  8443. type: integer
  8444. picurls:
  8445. description: 介绍图片[多张用逗号分隔]
  8446. type: string
  8447. quoteminunit:
  8448. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8449. type: integer
  8450. trademode:
  8451. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8452. 21:竞拍-大宗式 22:受托竞价
  8453. type: integer
  8454. videourls:
  8455. description: 介绍视频[多张用逗号分隔]
  8456. type: string
  8457. required:
  8458. - goodscode
  8459. - goodsid
  8460. - goodsname
  8461. - marketid
  8462. - trademode
  8463. type: object
  8464. models.HybsMyBuyOrderDetail:
  8465. properties:
  8466. accountid:
  8467. description: 账户ID[报价币种]
  8468. type: integer
  8469. agreeunit:
  8470. description: 合约单位
  8471. type: number
  8472. buyorsell:
  8473. description: 买卖 - 0:买 1:卖
  8474. type: integer
  8475. cancelqty:
  8476. description: 撤单数量
  8477. type: integer
  8478. currencysign:
  8479. description: 货币符号
  8480. type: string
  8481. decimalplace:
  8482. description: 报价小数位
  8483. type: integer
  8484. goodscode:
  8485. description: 商品代码(内部)
  8486. type: string
  8487. goodsid:
  8488. description: 商品ID
  8489. type: integer
  8490. goodsname:
  8491. description: 商品名称
  8492. type: string
  8493. listingselecttype:
  8494. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  8495. type: integer
  8496. marketid:
  8497. description: 市场ID
  8498. type: integer
  8499. mybuystatus:
  8500. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  8501. type: integer
  8502. orderamount:
  8503. description: 委托金额
  8504. type: number
  8505. orderid:
  8506. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8507. type: string
  8508. orderprice:
  8509. description: 委托价格
  8510. type: number
  8511. orderqty:
  8512. description: 委托数量
  8513. type: integer
  8514. orderstatus:
  8515. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8516. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8517. 16:成交失败违约(荷兰式竞拍专用)
  8518. type: integer
  8519. ordertime:
  8520. description: 委托时间
  8521. type: string
  8522. picurls1:
  8523. description: 预售商品介绍图片[多张用逗号分隔]
  8524. type: string
  8525. picurls2:
  8526. description: 挂牌商品介绍图片[多张用逗号分隔]
  8527. type: string
  8528. trademode:
  8529. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8530. 21:竞拍-大宗式 22:受托竞价
  8531. type: integer
  8532. tradeqty:
  8533. description: 成交数量
  8534. type: integer
  8535. vendorname1:
  8536. description: 预售商品供应商名称
  8537. type: string
  8538. vendorname2:
  8539. description: 挂牌商品供应商名称
  8540. type: string
  8541. required:
  8542. - accountid
  8543. - buyorsell
  8544. - goodscode
  8545. - goodsid
  8546. - goodsname
  8547. - marketid
  8548. - orderid
  8549. - orderqty
  8550. - ordertime
  8551. - trademode
  8552. type: object
  8553. models.Loginaccount:
  8554. properties:
  8555. canoutin:
  8556. description: 是否可出入金 - 0:不可 1:可
  8557. type: integer
  8558. clientroleid:
  8559. description: 终端角色ID
  8560. type: integer
  8561. haslogined:
  8562. description: 是否已登录 - 0:未登录 1:已登录
  8563. type: integer
  8564. hasupdatedpwd:
  8565. description: 是否已更改密码 - 0:未修改 1:已修改
  8566. type: integer
  8567. lastloginip:
  8568. description: 最新登录地址
  8569. type: string
  8570. lastloginmode:
  8571. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  8572. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  8573. type: integer
  8574. lastloginremark:
  8575. description: 最新登录描述
  8576. type: string
  8577. lastlogintime:
  8578. description: 最新登录时间
  8579. type: string
  8580. logincode:
  8581. description: 登录代码
  8582. type: string
  8583. loginfailnum:
  8584. description: 连续登录失败次数(登录成功时清零)
  8585. type: integer
  8586. loginid:
  8587. description: 登陆账号
  8588. type: integer
  8589. loginport:
  8590. description: 最新登录端口
  8591. type: integer
  8592. loginstatus:
  8593. description: 登录账号状态 1:正常 2:冻结 3:无效
  8594. type: integer
  8595. loginusertype:
  8596. description: 登录账号类型 - 1:投资者 2:机构交易员
  8597. type: integer
  8598. modifierid:
  8599. description: 修改人
  8600. type: integer
  8601. modifytime:
  8602. description: 修改时间
  8603. type: string
  8604. pwdwrongcount:
  8605. description: 密码错误次数
  8606. type: integer
  8607. taaccountrighttype:
  8608. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  8609. type: integer
  8610. unfreezetime:
  8611. description: 账户解冻时间
  8612. type: string
  8613. userid:
  8614. description: 用户ID
  8615. type: integer
  8616. required:
  8617. - loginid
  8618. type: object
  8619. models.MainAccountInfo:
  8620. properties:
  8621. accountid:
  8622. description: 账号id
  8623. type: string
  8624. accountname:
  8625. description: 账号名称(taaccount表中的名称)
  8626. type: string
  8627. appid:
  8628. description: AppID
  8629. type: string
  8630. authcode:
  8631. description: 授权码
  8632. type: string
  8633. brokerid:
  8634. description: 经纪商id
  8635. type: string
  8636. fcid:
  8637. description: 期货公司id
  8638. type: integer
  8639. fcname:
  8640. description: 期货公司代码
  8641. type: string
  8642. hedgeaccountcode:
  8643. description: 外部账号代码
  8644. type: string
  8645. hedgeaccountpwd:
  8646. description: 密码
  8647. type: string
  8648. ismain:
  8649. description: 是否主账号
  8650. type: integer
  8651. relateduserid:
  8652. description: 关联用户id
  8653. type: integer
  8654. type: object
  8655. models.Market:
  8656. properties:
  8657. auctionwrtype:
  8658. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  8659. type: integer
  8660. canacceptquote:
  8661. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  8662. type: integer
  8663. cangoodsexercise:
  8664. description: '[期权]是否可现货行权- 0:否 1:是'
  8665. type: integer
  8666. cangoodsexercisetype:
  8667. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  8668. type: integer
  8669. canmanualquotestrike:
  8670. description: 是否可手动报行权价- 0:否 1:是 [期权]
  8671. type: integer
  8672. canmutistage:
  8673. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  8674. type: integer
  8675. canpreexercise:
  8676. description: '[期权]是否可预申报- 0:否 1:是'
  8677. type: integer
  8678. clearinterval:
  8679. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  8680. type: integer
  8681. contracttmp:
  8682. description: 合同模板[荷兰式][竞价式][仓单贸易]
  8683. type: string
  8684. exchareaid:
  8685. description: 所属交易所,可以没有
  8686. type: integer
  8687. goodstype:
  8688. description: 商品类型 - 1:交易商品 2:仓单商品
  8689. type: integer
  8690. hasrebate:
  8691. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  8692. type: integer
  8693. hastradecredit:
  8694. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  8695. type: integer
  8696. haswr:
  8697. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  8698. type: integer
  8699. isdeductmargin:
  8700. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  8701. type: integer
  8702. isrecordsource:
  8703. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  8704. type: integer
  8705. isreleasemargin:
  8706. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  8707. type: integer
  8708. marginformula:
  8709. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  8710. type: integer
  8711. marginformula2:
  8712. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  8713. type: integer
  8714. marketid:
  8715. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  8716. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  8717. type: integer
  8718. marketname:
  8719. description: 市场名称
  8720. type: string
  8721. marketserviceid:
  8722. description: 市场服务ID
  8723. type: integer
  8724. marketstatus:
  8725. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  8726. type: integer
  8727. markettype:
  8728. description: 市场类型- 1:非交易服务 2:交易服务
  8729. type: integer
  8730. matchermode:
  8731. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  8732. type: integer
  8733. openmethod:
  8734. description: 开盘模式 - 0 自动 1手动
  8735. type: integer
  8736. otcuserid:
  8737. description: 场外期权做市商[场外期权]
  8738. type: integer
  8739. outersynctime:
  8740. description: 外部同步时间点(h24:mi:ss)[场外期权]
  8741. type: string
  8742. pendingflag:
  8743. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  8744. type: integer
  8745. pendingtime:
  8746. description: 待开市时间[通道交易-对冲](HH:mm)
  8747. type: string
  8748. performancetempid:
  8749. description: 履约计划模板ID - 作废
  8750. type: integer
  8751. premiumquotemode:
  8752. description: 权利金报价方式 - 1:自动 2:手动
  8753. type: integer
  8754. rebateratio:
  8755. description: 返利比率[竞价式]
  8756. type: number
  8757. reckonorder:
  8758. description: 结算顺序
  8759. type: integer
  8760. reckonpricealgorithm:
  8761. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  8762. 6.卖一价 7.买一卖一均价 8.外部结算价'
  8763. type: integer
  8764. reckonpriceparam:
  8765. description: 结算价参数
  8766. type: integer
  8767. reckontime:
  8768. description: 结算时间[通道交易-对冲](HH:mm)
  8769. type: string
  8770. roleprioritytype:
  8771. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  8772. type: integer
  8773. selllistingauditflag:
  8774. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  8775. type: integer
  8776. trademarkettype:
  8777. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  8778. type: integer
  8779. trademode:
  8780. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8781. 21:竞拍-大宗式 22:受托竞价
  8782. type: integer
  8783. tradeproperty:
  8784. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  8785. 8:场外期权
  8786. type: integer
  8787. tradetype:
  8788. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  8789. type: integer
  8790. required:
  8791. - marketid
  8792. - marketstatus
  8793. - openmethod
  8794. - reckonpricealgorithm
  8795. - trademode
  8796. - tradeproperty
  8797. type: object
  8798. models.Marketrun:
  8799. properties:
  8800. afternexttradedate:
  8801. description: 下下交易日
  8802. type: string
  8803. clearquoteflag:
  8804. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  8805. type: integer
  8806. lastreckondate:
  8807. description: 最新交易日(结算成功)
  8808. type: string
  8809. machinedate:
  8810. description: 机器时间
  8811. type: string
  8812. manualflag:
  8813. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  8814. type: integer
  8815. marketid:
  8816. description: 市场ID
  8817. type: integer
  8818. nexttradedate:
  8819. description: 下一交易日
  8820. type: string
  8821. pretradedate:
  8822. description: 上一交易日
  8823. type: string
  8824. reckonflag:
  8825. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  8826. type: integer
  8827. runstatus:
  8828. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  8829. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  8830. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  8831. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  8832. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  8833. 62.今日免清算
  8834. type: integer
  8835. sectionid:
  8836. description: 时间段号[多时段时用]
  8837. type: integer
  8838. tradedate:
  8839. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  8840. type: string
  8841. tradedate2:
  8842. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  8843. type: string
  8844. updatetime:
  8845. description: 更新时间
  8846. type: string
  8847. required:
  8848. - marketid
  8849. - nexttradedate
  8850. - reckonflag
  8851. - runstatus
  8852. - tradedate
  8853. - tradedate2
  8854. type: object
  8855. models.Messageboard:
  8856. properties:
  8857. contactnum:
  8858. description: 联系电话
  8859. type: string
  8860. createtime:
  8861. description: 创建时间
  8862. type: string
  8863. message:
  8864. description: 留言信息
  8865. type: string
  8866. messageboardid:
  8867. description: 留言簿ID(SEQ_MessageBoard)
  8868. type: integer
  8869. userid:
  8870. description: 用户ID
  8871. type: integer
  8872. required:
  8873. - messageboardid
  8874. type: object
  8875. models.MyCoupon:
  8876. properties:
  8877. accountid:
  8878. description: 资金账户ID
  8879. type: integer
  8880. areauserid:
  8881. description: 所属机构
  8882. type: integer
  8883. conditionvalue:
  8884. description: 条件阈值(可为0)
  8885. type: number
  8886. couponcategroy:
  8887. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  8888. type: integer
  8889. couponname:
  8890. description: 优惠券名称
  8891. type: string
  8892. coupontypeid:
  8893. description: 优惠券类型ID
  8894. type: string
  8895. couponvalue:
  8896. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  8897. type: number
  8898. curfreezeqty:
  8899. description: 期末冻结数量
  8900. type: integer
  8901. curqty:
  8902. description: 期末数量
  8903. type: integer
  8904. isgeneral:
  8905. description: 是否通用券 - 0:否 1:是
  8906. type: integer
  8907. isunusable:
  8908. description: 是否不可用
  8909. type: boolean
  8910. limitedflag:
  8911. description: 是否指定商品 - 0:不限 1:限制
  8912. type: integer
  8913. limitedgoodsids:
  8914. description: 指定商品IDs[逗号分隔,前后加逗号]
  8915. type: string
  8916. orifreezeqty:
  8917. description: 期初冻结数量
  8918. type: integer
  8919. oriqty:
  8920. description: 期初数量
  8921. type: integer
  8922. reasontype:
  8923. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  8924. type: integer
  8925. todaydecrease:
  8926. description: 今日减少
  8927. type: integer
  8928. todayincrease:
  8929. description: 今日增加
  8930. type: integer
  8931. userid:
  8932. description: 用户ID
  8933. type: integer
  8934. userscope:
  8935. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  8936. type: string
  8937. required:
  8938. - accountid
  8939. - coupontypeid
  8940. type: object
  8941. models.MyCouponHold:
  8942. properties:
  8943. accountid:
  8944. description: 资金账户ID
  8945. type: integer
  8946. conditionvalue:
  8947. description: 条件阈值(可为0)
  8948. type: number
  8949. couponcategroy:
  8950. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  8951. type: integer
  8952. couponholdid:
  8953. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  8954. type: string
  8955. couponname:
  8956. description: 优惠券名称
  8957. type: string
  8958. coupontypeid:
  8959. description: 优惠券类型ID - SEQ_COUPONTYPE
  8960. type: string
  8961. couponvalue:
  8962. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  8963. type: number
  8964. createtime:
  8965. description: 创建时间
  8966. type: string
  8967. enddate:
  8968. description: 结束日期
  8969. type: string
  8970. giveapplyid:
  8971. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  8972. type: integer
  8973. holdstatus:
  8974. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  8975. type: integer
  8976. isgeneral:
  8977. description: 是否通用券 - 0:否 1:是
  8978. type: integer
  8979. limitedflag:
  8980. description: 是否指定商品 - 0:不限 1:限制
  8981. type: integer
  8982. limitedgoodsids:
  8983. description: 指定商品IDs[逗号分隔]
  8984. type: string
  8985. qty:
  8986. description: 数量(按1平铺)
  8987. type: integer
  8988. startdate:
  8989. description: 开始日期
  8990. type: string
  8991. userid:
  8992. description: 用户ID
  8993. type: integer
  8994. userscope:
  8995. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  8996. type: string
  8997. required:
  8998. - couponholdid
  8999. type: object
  9000. models.MyUsedCoupon:
  9001. properties:
  9002. accountid:
  9003. description: 资金账户ID(买方)
  9004. type: integer
  9005. conditionvalue:
  9006. description: 条件阈值(可为0)
  9007. type: number
  9008. couponcategroy:
  9009. description: 种类 - 1:现金券 2:折扣券
  9010. type: integer
  9011. couponname:
  9012. description: 优惠券名称
  9013. type: string
  9014. coupontypeid:
  9015. description: 优惠券类型ID(买方)
  9016. type: string
  9017. couponvalue:
  9018. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  9019. type: number
  9020. createtime:
  9021. description: 创建时间
  9022. type: string
  9023. goodsid:
  9024. description: 商品ID
  9025. type: integer
  9026. handlestatus:
  9027. description: 处理状态
  9028. type: integer
  9029. marketid:
  9030. description: 市场ID
  9031. type: integer
  9032. offamount:
  9033. description: 优惠金额
  9034. type: number
  9035. orderid:
  9036. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9037. type: string
  9038. sellaccountid:
  9039. description: 资金账户ID(卖方)
  9040. type: integer
  9041. tradeamount:
  9042. description: 成交金额
  9043. type: number
  9044. tradeid:
  9045. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9046. type: string
  9047. usedqty:
  9048. description: 使用数量
  9049. type: integer
  9050. required:
  9051. - coupontypeid
  9052. - orderid
  9053. type: object
  9054. models.OperationPrimaryMenu:
  9055. properties:
  9056. Children:
  9057. description: 二级功能菜单
  9058. items:
  9059. $ref: '#/definitions/models.OperationSecondaryMenu'
  9060. type: array
  9061. Key:
  9062. description: 菜单KEY
  9063. type: string
  9064. Label:
  9065. description: 菜单标题
  9066. type: string
  9067. type: object
  9068. models.OperationSecondaryMenu:
  9069. properties:
  9070. Key:
  9071. description: 菜单KEY
  9072. type: string
  9073. Label:
  9074. description: 菜单标题
  9075. type: string
  9076. TabList:
  9077. description: 三级功能菜单
  9078. items:
  9079. $ref: '#/definitions/models.OperationTabMenu'
  9080. type: array
  9081. type: object
  9082. models.OperationTabMenu:
  9083. properties:
  9084. Key:
  9085. description: 菜单KEY
  9086. type: string
  9087. Label:
  9088. description: 菜单标题
  9089. type: string
  9090. type: object
  9091. models.PendingAuditBizModel:
  9092. properties:
  9093. accountid:
  9094. description: 现货账户
  9095. type: string
  9096. areaname:
  9097. description: 所属部门
  9098. type: string
  9099. bizid:
  9100. description: 业务ID
  9101. type: string
  9102. bizname:
  9103. description: 业务名称
  9104. type: string
  9105. status:
  9106. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  9107. type: integer
  9108. type:
  9109. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  9110. type: integer
  9111. type: object
  9112. models.QueryErrorInfosRsp:
  9113. properties:
  9114. description:
  9115. description: 异常描述
  9116. type: string
  9117. errorcode:
  9118. description: 异常代码
  9119. type: string
  9120. errorid:
  9121. description: 异常ID
  9122. type: integer
  9123. modulecode:
  9124. description: 所属模块
  9125. type: string
  9126. operatecode:
  9127. description: 所属操作
  9128. type: string
  9129. rownumber:
  9130. description: 行号
  9131. type: string
  9132. required:
  9133. - errorid
  9134. type: object
  9135. models.QueryHedgeOrderDetailRsp:
  9136. properties:
  9137. accountid:
  9138. description: 账户ID
  9139. type: integer
  9140. buyorsell:
  9141. description: 买卖 - 0:买 1:卖
  9142. type: integer
  9143. cancellogincode:
  9144. description: 撤单人
  9145. type: string
  9146. channelbuildtype:
  9147. description: 开平标志 - 0:无 1:建仓 2:平仓
  9148. type: integer
  9149. channelinnerorderstatus:
  9150. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  9151. 9:全部成交
  9152. type: integer
  9153. channeloperatetype:
  9154. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  9155. type: integer
  9156. closetype:
  9157. description: 平仓方式 - 0:无 1:平今 2:平昨
  9158. type: integer
  9159. curexchangerate:
  9160. description: 当前汇率
  9161. type: number
  9162. exchangefullname:
  9163. description: 外部交易所全称
  9164. type: string
  9165. goodscode:
  9166. description: 商品代码(内部)
  9167. type: string
  9168. goodsid:
  9169. description: 商品ID
  9170. type: integer
  9171. goodsname:
  9172. description: 商品名称
  9173. type: string
  9174. marketid:
  9175. description: 市场ID
  9176. type: integer
  9177. openfreezemargin:
  9178. description: 冻结保证金(冻结交易金额)
  9179. type: number
  9180. orderid:
  9181. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9182. type: string
  9183. orderlogincode:
  9184. description: 委托人
  9185. type: string
  9186. orderprice:
  9187. description: 委托价格(账户)
  9188. type: number
  9189. orderqty:
  9190. description: 委托数量
  9191. type: integer
  9192. ordertime:
  9193. description: 委托时间
  9194. type: string
  9195. pricemode:
  9196. description: '取价方式 - 1:市价 2: 限价'
  9197. type: integer
  9198. tradedate:
  9199. description: 交易日(yyyyMMdd)
  9200. type: string
  9201. tradeqty:
  9202. description: 成交数量
  9203. type: integer
  9204. type: object
  9205. models.QueryHedgeTradeDetailRsp:
  9206. properties:
  9207. accountid:
  9208. description: 账号ID
  9209. type: integer
  9210. buyorsell:
  9211. description: 方向 - 0:买 1:卖
  9212. type: integer
  9213. channelbuildtype:
  9214. description: 委托单据类型 0:无 1:建仓 2:平仓
  9215. type: integer
  9216. closecharge:
  9217. description: 平仓手续费(账户)
  9218. type: number
  9219. closecharge2:
  9220. description: 平仓手续费(商品)
  9221. type: number
  9222. closepl:
  9223. description: 平仓盈亏(账户)
  9224. type: number
  9225. closepl2:
  9226. description: 平仓盈亏(商品)
  9227. type: number
  9228. closepl3:
  9229. description: 平仓盈亏(账户)(逐笔)
  9230. type: number
  9231. closepl4:
  9232. description: 平仓盈亏(商品)(逐笔)
  9233. type: number
  9234. closetype:
  9235. description: 平仓方式 - 0:无 1:平今 2:平昨
  9236. type: integer
  9237. curexchangerate:
  9238. description: 当前汇率
  9239. type: number
  9240. exchangefullname:
  9241. description: 外部交易所全称
  9242. type: string
  9243. goodscode:
  9244. description: 商品代码(内部)
  9245. type: string
  9246. goodsid:
  9247. description: 商品ID
  9248. type: integer
  9249. goodsname:
  9250. description: 商品名称
  9251. type: string
  9252. marketid:
  9253. description: 市场ID
  9254. type: integer
  9255. opencharge:
  9256. description: 建仓手续费(账户)
  9257. type: number
  9258. opencharge2:
  9259. description: 建仓手续费(商品)
  9260. type: number
  9261. orderid:
  9262. description: 委托单号
  9263. type: string
  9264. orderlogincode:
  9265. description: 委托人
  9266. type: string
  9267. tradeamount:
  9268. description: 成交金额(账户)
  9269. type: number
  9270. tradedate:
  9271. description: 交易日(yyyyMMdd)
  9272. type: string
  9273. tradeid:
  9274. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9275. type: string
  9276. tradeprice:
  9277. description: 成交价格
  9278. type: number
  9279. tradeqty:
  9280. description: 成交数量
  9281. type: integer
  9282. tradetime:
  9283. description: 成交时间
  9284. type: string
  9285. tradetype:
  9286. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  9287. type: integer
  9288. type: object
  9289. models.QuotePrimaryMenu:
  9290. properties:
  9291. Index:
  9292. description: 序号
  9293. type: integer
  9294. Key:
  9295. description: 键名
  9296. type: string
  9297. Name:
  9298. description: 菜单名称
  9299. type: string
  9300. SubMenus:
  9301. description: 子菜单
  9302. items:
  9303. $ref: '#/definitions/models.QuoteSecondaryMenu'
  9304. type: array
  9305. SubTitleType:
  9306. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  9307. type: integer
  9308. TradeModes:
  9309. description: 包含市场交易类型
  9310. type: string
  9311. type: object
  9312. models.QuoteSecondaryMenu:
  9313. properties:
  9314. ExExchangeCode:
  9315. description: 外部交易所代码
  9316. type: string
  9317. ExExchangeID:
  9318. description: 外部交易所ID
  9319. type: integer
  9320. GoodsGroupIDs:
  9321. description: 商品组ID列表
  9322. items:
  9323. type: integer
  9324. type: array
  9325. Index:
  9326. description: 序号
  9327. type: integer
  9328. MarketID:
  9329. description: 市场ID
  9330. type: integer
  9331. MenuTitle:
  9332. description: 菜单标题(市场名称或外部交易所名称)
  9333. type: string
  9334. TradeMode:
  9335. description: 交易模式
  9336. type: integer
  9337. type: object
  9338. models.RelatedGoodsEx:
  9339. properties:
  9340. goodscode:
  9341. description: 商品代码
  9342. type: string
  9343. goodsid:
  9344. description: 商品id
  9345. type: integer
  9346. goodsname:
  9347. description: 商品名称
  9348. type: string
  9349. type: object
  9350. models.SearchGoods:
  9351. properties:
  9352. goodscode:
  9353. description: 商品代码(内部)
  9354. type: string
  9355. goodsid:
  9356. description: 商品ID(自增ID SEQ_GOODS)
  9357. type: integer
  9358. goodsname:
  9359. description: 商品名称
  9360. type: string
  9361. marketid:
  9362. description: 所属市场ID
  9363. type: integer
  9364. marketname:
  9365. description: 市场名称
  9366. type: string
  9367. trademode:
  9368. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9369. 21:竞拍-大宗式 22:受托竞价
  9370. type: integer
  9371. required:
  9372. - goodscode
  9373. - goodsid
  9374. - goodsname
  9375. - marketid
  9376. - trademode
  9377. type: object
  9378. models.Systemparam:
  9379. properties:
  9380. loginid:
  9381. description: 更新用户账号,登录账号
  9382. type: string
  9383. modifyflag:
  9384. description: 修改标志0 不允许修改 1 允许修改
  9385. type: integer
  9386. paramcode:
  9387. description: 参数代码
  9388. type: string
  9389. paramname:
  9390. description: 参数名
  9391. type: string
  9392. paramtype:
  9393. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  9394. type: integer
  9395. paramvalue:
  9396. description: 参数值
  9397. type: string
  9398. paramvalue2:
  9399. description: 参数值(CLOB)
  9400. type: string
  9401. regexpress:
  9402. description: 正则表达式
  9403. type: string
  9404. remark:
  9405. description: 备注
  9406. type: string
  9407. serverip:
  9408. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  9409. type: string
  9410. showflag:
  9411. description: 是否显示0 不显示 1 显示
  9412. type: integer
  9413. updatetime:
  9414. description: 更新时间
  9415. type: string
  9416. userid:
  9417. description: 更新用户ID
  9418. type: integer
  9419. required:
  9420. - paramcode
  9421. type: object
  9422. models.Szdz3convertconfig:
  9423. properties:
  9424. canin:
  9425. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  9426. type: integer
  9427. canout:
  9428. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  9429. type: integer
  9430. converttype:
  9431. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  9432. 6:交易转花生米(不设置)
  9433. type: integer
  9434. createtime:
  9435. description: 创建时间
  9436. type: string
  9437. creatorid:
  9438. description: 创建人
  9439. type: integer
  9440. daymaxvalue:
  9441. description: 当日最大转入限制
  9442. type: number
  9443. freezedays:
  9444. description: 冻结天数 [5:花生米转交易]
  9445. type: integer
  9446. innergoodsid:
  9447. description: 内部商品ID[交易]
  9448. type: integer
  9449. inratio:
  9450. description: 目标值
  9451. type: integer
  9452. modifierid:
  9453. description: 修改人
  9454. type: integer
  9455. modifytime:
  9456. description: 修改时间
  9457. type: string
  9458. outergoodscode:
  9459. description: 外部商品代码[JD\PD]
  9460. type: string
  9461. outratio:
  9462. description: 源值
  9463. type: integer
  9464. pddecimalplace:
  9465. description: PD小数位
  9466. type: integer
  9467. timemaxvalue:
  9468. description: 单次最大转入限制
  9469. type: number
  9470. timeminvalue:
  9471. description: 单次最小转入限制
  9472. type: number
  9473. required:
  9474. - converttype
  9475. - innergoodsid
  9476. - outergoodscode
  9477. type: object
  9478. models.Szdz3searchwhitelist:
  9479. properties:
  9480. createtime:
  9481. description: 创建时间
  9482. type: string
  9483. creatorid:
  9484. description: 创建人
  9485. type: integer
  9486. modifierid:
  9487. description: 修改人
  9488. type: integer
  9489. modifytime:
  9490. description: 修改时间
  9491. type: string
  9492. userid:
  9493. description: 用户ID
  9494. type: integer
  9495. required:
  9496. - userid
  9497. type: object
  9498. models.Taaccount:
  9499. properties:
  9500. accountflag:
  9501. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  9502. type: integer
  9503. accountid:
  9504. description: 资金账户ID
  9505. type: integer
  9506. accountname:
  9507. description: 账户名称
  9508. type: string
  9509. balance:
  9510. description: 期初余额
  9511. type: number
  9512. capitalbalance:
  9513. description: 本金余额[外部子账户实际出入金余额]
  9514. type: number
  9515. changeflag:
  9516. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  9517. type: integer
  9518. changetime:
  9519. description: 账户状态变更时间
  9520. type: string
  9521. closepl:
  9522. description: 今日平仓盈亏
  9523. type: number
  9524. creditdecrease:
  9525. description: 今日授信减少
  9526. type: number
  9527. creditincrease:
  9528. description: 今日授信增加
  9529. type: number
  9530. currencyid:
  9531. description: 货币ID
  9532. type: integer
  9533. currentbalance:
  9534. description: 期末余额
  9535. type: number
  9536. freezecharge:
  9537. description: 手续费冻结
  9538. type: number
  9539. freezemargin:
  9540. description: 冻结保证金
  9541. type: number
  9542. fromaccountid:
  9543. description: 所属上级账户
  9544. type: integer
  9545. inamount:
  9546. description: 今日入金金额(包括三方入金)
  9547. type: number
  9548. ismain:
  9549. description: 是否母账号 0:不是母账户 1:是母账户
  9550. type: integer
  9551. ismarketaccount:
  9552. description: 是否机构接单账号 0:不是 1:是
  9553. type: integer
  9554. isreckonaccount:
  9555. description: 是否机构分润账号 0:不是 1:是
  9556. type: integer
  9557. mortgagecredit:
  9558. description: 授信金额
  9559. type: number
  9560. orifreezecharge:
  9561. description: 期初手续费冻结
  9562. type: number
  9563. orifreezemargin:
  9564. description: 期初冻结保证金
  9565. type: number
  9566. orimortgagecredit:
  9567. description: 期初授信金额
  9568. type: number
  9569. oriothercredit:
  9570. description: 期初其它授信金额
  9571. type: number
  9572. oriotherfreezemargin:
  9573. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  9574. type: number
  9575. orioutamountfreeze:
  9576. description: 期初出金冻结
  9577. type: number
  9578. oriusedmargin:
  9579. description: 期初占用保证金
  9580. type: number
  9581. othercredit:
  9582. description: 其它授信金额
  9583. type: number
  9584. othercreditdecrease:
  9585. description: 今日其它授信减少
  9586. type: number
  9587. othercreditincrease:
  9588. description: 今日其它授信增加
  9589. type: number
  9590. otherfreezemargin:
  9591. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  9592. type: number
  9593. otherincome:
  9594. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  9595. type: number
  9596. otherpay:
  9597. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  9598. type: number
  9599. outamount:
  9600. description: 今日出金金额(包括三方出金)
  9601. type: number
  9602. outamountfreeze:
  9603. description: 出金冻结
  9604. type: number
  9605. outthreshold:
  9606. description: 出金阈值
  9607. type: number
  9608. parentaccountid:
  9609. description: 所属根账号
  9610. type: integer
  9611. paycharge:
  9612. description: 今日手续费支出
  9613. type: number
  9614. relatedaccountstatus:
  9615. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  9616. type: integer
  9617. relateduserid:
  9618. description: 关联用户
  9619. type: integer
  9620. serivcegroup:
  9621. description: 服务分组
  9622. type: integer
  9623. signstatus:
  9624. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  9625. type: integer
  9626. sublevelpath:
  9627. description: 账号层级路径(逗号分隔,首尾加逗号)
  9628. type: string
  9629. taaccounttype:
  9630. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  9631. type: integer
  9632. thirdinamount:
  9633. description: 今日三方入金
  9634. type: number
  9635. thirdoutamount:
  9636. description: 今日三方出金
  9637. type: number
  9638. tradestatus:
  9639. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9640. type: integer
  9641. tradestatuschangetime:
  9642. description: 激活时间
  9643. type: string
  9644. transferamount:
  9645. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  9646. type: number
  9647. usedmargin:
  9648. description: 占用保证金
  9649. type: number
  9650. userid:
  9651. description: 用户ID
  9652. type: integer
  9653. required:
  9654. - accountid
  9655. - userid
  9656. type: object
  9657. models.Tablecolumnconfig:
  9658. properties:
  9659. aligntype:
  9660. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  9661. type: integer
  9662. autoid:
  9663. description: AutoID
  9664. type: integer
  9665. columnfield:
  9666. description: 列字段
  9667. type: string
  9668. columntitle:
  9669. description: 列Title
  9670. type: string
  9671. columnwidth:
  9672. description: 列宽
  9673. type: string
  9674. formatterstring:
  9675. description: 格式化字符
  9676. type: string
  9677. formattertype:
  9678. description: 格式化类型
  9679. type: string
  9680. groupname:
  9681. description: 表头分组名称
  9682. type: string
  9683. isshow:
  9684. description: 是否显示 - 0:不显示 1:显示
  9685. type: integer
  9686. needsummary:
  9687. description: 是否需要汇总 - 0:不需要 1:需要
  9688. type: integer
  9689. orderindex:
  9690. description: 顺序
  9691. type: integer
  9692. remark:
  9693. description: 备注
  9694. type: string
  9695. summarytype:
  9696. description: 汇总类型 - 1:加总 2:最后一个
  9697. type: integer
  9698. tablekey:
  9699. description: 列表Key
  9700. type: string
  9701. required:
  9702. - autoid
  9703. type: object
  9704. models.Useraccount:
  9705. properties:
  9706. accountname:
  9707. description: 账户名称(机构名称)
  9708. type: string
  9709. accountstatus:
  9710. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  9711. type: integer
  9712. auditremark:
  9713. description: 审核备注
  9714. type: string
  9715. audittime:
  9716. description: 审核时间
  9717. type: string
  9718. audituserid:
  9719. description: 审核人
  9720. type: integer
  9721. broker:
  9722. description: 所属经纪人ID
  9723. type: integer
  9724. canceltime:
  9725. description: 销户时间
  9726. type: string
  9727. canceluserid:
  9728. description: 销户人
  9729. type: integer
  9730. createtime:
  9731. description: 创建时间
  9732. type: string
  9733. creatorid:
  9734. description: 创建人
  9735. type: integer
  9736. hasauth:
  9737. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  9738. type: integer
  9739. isanonymous:
  9740. description: 是否匿名下单 - 0:否 1:是
  9741. type: integer
  9742. maxinvestornum:
  9743. description: 最大用户数(经纪会员下投资者个数)
  9744. type: integer
  9745. memberuserid:
  9746. description: 所属会员ID
  9747. type: integer
  9748. modifierid:
  9749. description: 修改人
  9750. type: integer
  9751. modifyremark:
  9752. description: 变更备注
  9753. type: string
  9754. modifystatus:
  9755. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  9756. type: integer
  9757. modifytime:
  9758. description: 修改时间
  9759. type: string
  9760. parentuserid:
  9761. description: 所属机构ID
  9762. type: integer
  9763. reckonaccountid:
  9764. description: 默认结算资金账号ID(机构分润使用) 作废
  9765. type: integer
  9766. refercount:
  9767. description: 推荐总人数
  9768. type: integer
  9769. refereeuserid:
  9770. description: 推荐人ID
  9771. type: integer
  9772. refernum:
  9773. description: 推荐码
  9774. type: string
  9775. subarealevelpath:
  9776. description: 子机构层级路径(逗号分隔,首尾加逗号)
  9777. type: string
  9778. userid:
  9779. description: 用户ID
  9780. type: integer
  9781. usertype:
  9782. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  9783. type: integer
  9784. required:
  9785. - userid
  9786. type: object
  9787. models.Userfavoritegoods:
  9788. properties:
  9789. goodsid:
  9790. description: 商品ID
  9791. type: integer
  9792. required:
  9793. - goodsid
  9794. type: object
  9795. models.Userinfo:
  9796. properties:
  9797. address:
  9798. description: 地址
  9799. type: string
  9800. attachment1:
  9801. description: 附件1
  9802. type: string
  9803. attachment2:
  9804. description: 附件2
  9805. type: string
  9806. bankaccount:
  9807. description: 银行帐号 (加密存储)
  9808. type: string
  9809. bankaccountname:
  9810. description: 收款人名称
  9811. type: string
  9812. bankcardfrontphotourl:
  9813. description: 银行卡正面照地址
  9814. type: string
  9815. bankid:
  9816. description: 银行编码
  9817. type: string
  9818. bankname:
  9819. description: 银行名称
  9820. type: string
  9821. biznature:
  9822. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  9823. type: integer
  9824. bizscope:
  9825. description: 企业经营范围(企业)
  9826. type: string
  9827. cardbackphotourl:
  9828. description: 证件背面图片地址
  9829. type: string
  9830. cardfrontphotourl:
  9831. description: 证件正面图片地址
  9832. type: string
  9833. cardnum:
  9834. description: 证件号码(加密存储)
  9835. type: string
  9836. cardtypeid:
  9837. description: 证件类型ID
  9838. type: integer
  9839. cityid:
  9840. description: 市
  9841. type: integer
  9842. company:
  9843. description: 公司(个人)
  9844. type: string
  9845. contactname:
  9846. description: 联系人
  9847. type: string
  9848. countryid:
  9849. description: 国家
  9850. type: integer
  9851. createtime:
  9852. description: 创建时间
  9853. type: string
  9854. creatorid:
  9855. description: 创建人
  9856. type: integer
  9857. customername:
  9858. description: 客户名称(企业名称)
  9859. type: string
  9860. districtid:
  9861. description: 地区
  9862. type: integer
  9863. email:
  9864. description: 邮件(加密存储)
  9865. type: string
  9866. fax:
  9867. description: 传真(加密存储)
  9868. type: string
  9869. halfbodyphotourl:
  9870. description: 半身照地址
  9871. type: string
  9872. hasencrypt:
  9873. description: 数据是否已加密 - 0:未加密 1:已加密
  9874. type: integer
  9875. headurl:
  9876. description: 头像地址
  9877. type: string
  9878. legalcardbackphotourl:
  9879. description: 法人身份证背面照地址
  9880. type: string
  9881. legalcardfrontphotourl:
  9882. description: 法人身份证正面照地址
  9883. type: string
  9884. legalpersonname:
  9885. description: 法人姓名(企业)
  9886. type: string
  9887. mobile:
  9888. description: 手机号码(加密存储)
  9889. type: string
  9890. mobile2:
  9891. description: 手机号码[明文-尚志]
  9892. type: string
  9893. modifierid:
  9894. description: 修改人
  9895. type: integer
  9896. modifiertime:
  9897. description: 修改时间
  9898. type: string
  9899. needinvoice:
  9900. description: 是否需要发票 - 0:不需要 1:需要
  9901. type: integer
  9902. nickname:
  9903. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  9904. type: string
  9905. openmode:
  9906. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  9907. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  9908. type: integer
  9909. otherurl:
  9910. description: 其它图片地址[使用分号分隔]
  9911. type: string
  9912. postalcode:
  9913. description: 邮政编码
  9914. type: string
  9915. provinceid:
  9916. description: 省
  9917. type: integer
  9918. qq:
  9919. description: QQ(加密存储
  9920. type: string
  9921. remark:
  9922. description: 备注
  9923. type: string
  9924. sex:
  9925. description: '用户性别 0: 女 1: 男'
  9926. type: integer
  9927. signpdfurl:
  9928. description: 签约pdf文件
  9929. type: string
  9930. telphone:
  9931. description: 联系电话(加密存储)
  9932. type: string
  9933. userid:
  9934. description: 用户ID
  9935. type: integer
  9936. userinfotype:
  9937. description: 用户信息类型 - 1:个人 2:企业
  9938. type: integer
  9939. userstatus:
  9940. description: 用户状态 - 1:正常 2:注销
  9941. type: integer
  9942. usertype:
  9943. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  9944. type: integer
  9945. wechat:
  9946. description: 微信(加密存储)
  9947. type: string
  9948. wskhinfo:
  9949. description: 开户申请信息(JSON)
  9950. type: string
  9951. required:
  9952. - userid
  9953. type: object
  9954. models.WRSConverTDetail:
  9955. properties:
  9956. convertratio:
  9957. description: 套保系数
  9958. type: number
  9959. deliverygoodscode:
  9960. description: 现货商品代码
  9961. type: string
  9962. deliverygoodsid:
  9963. description: 现货品种ID
  9964. type: integer
  9965. deliverygoodsname:
  9966. description: 现货商品名称
  9967. type: string
  9968. enumdicname:
  9969. description: 单位名称
  9970. type: string
  9971. goodsunitid:
  9972. description: 套保品种单位id
  9973. type: integer
  9974. middlegoodscode:
  9975. description: 套保品种代码
  9976. type: string
  9977. middlegoodsid:
  9978. description: 套保品种ID
  9979. type: integer
  9980. middlegoodsname:
  9981. description: 套保品种名称
  9982. type: string
  9983. modifytime:
  9984. description: 修改时间
  9985. type: string
  9986. wrstandardid:
  9987. description: 品类ID
  9988. type: integer
  9989. type: object
  9990. models.WRStandardInfo:
  9991. properties:
  9992. areauserid:
  9993. description: 所属机构
  9994. type: integer
  9995. convertfactor:
  9996. description: 标仓系数
  9997. type: number
  9998. createtime:
  9999. description: 创建时间
  10000. type: string
  10001. creatorid:
  10002. description: 创建人
  10003. type: integer
  10004. deliverygoodsid:
  10005. description: 品种ID
  10006. type: integer
  10007. deliverygoodsname:
  10008. description: 交割商品名称
  10009. type: string
  10010. factoryitemjson:
  10011. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  10012. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  10013. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  10014. 逗号分隔'
  10015. type: string
  10016. isvalid:
  10017. description: 是否有效 - 0:无效 1:有效
  10018. type: integer
  10019. minivalue:
  10020. description: 最小变动值
  10021. type: integer
  10022. minivaluedp:
  10023. description: 最小变动值小数位
  10024. type: integer
  10025. realminivalue:
  10026. description: 实际最小变动值
  10027. type: integer
  10028. realminivaluedp:
  10029. description: 实际最小变动值小数位
  10030. type: integer
  10031. remark:
  10032. description: 备注
  10033. type: string
  10034. unitid:
  10035. description: 单位ID
  10036. type: integer
  10037. unitname:
  10038. description: 单位
  10039. type: string
  10040. updatetime:
  10041. description: 更新时间
  10042. type: string
  10043. updatorid:
  10044. description: 更新人
  10045. type: integer
  10046. wrsstatus:
  10047. description: 状态 - 作废 - 0:未激活 1:正常
  10048. type: integer
  10049. wrstandardcode:
  10050. description: 现货品类代码
  10051. type: string
  10052. wrstandardid:
  10053. description: 现货品类ID(SEQ_WRSTANDARD)
  10054. type: integer
  10055. wrstandardname:
  10056. description: 现货品类名称
  10057. type: string
  10058. required:
  10059. - wrstandardid
  10060. type: object
  10061. models.Warehouseinfo:
  10062. properties:
  10063. address:
  10064. description: 详细地址
  10065. type: string
  10066. areauserid:
  10067. description: 所属机构
  10068. type: integer
  10069. autoid:
  10070. description: 自增ID
  10071. type: integer
  10072. cityid:
  10073. description: 市
  10074. type: integer
  10075. contactname:
  10076. description: 联系人
  10077. type: string
  10078. contactnum:
  10079. description: 联系电话
  10080. type: string
  10081. countryid:
  10082. description: 国家
  10083. type: integer
  10084. createtime:
  10085. description: 创建时间
  10086. type: string
  10087. districtid:
  10088. description: 区
  10089. type: integer
  10090. hasvideo:
  10091. description: 是否有视频 - 0:无 1:有
  10092. type: integer
  10093. provinceid:
  10094. description: 省
  10095. type: integer
  10096. remark:
  10097. description: 审核备注
  10098. type: string
  10099. videourl:
  10100. description: 视频地址
  10101. type: string
  10102. warehousecode:
  10103. description: 仓库代码
  10104. type: string
  10105. warehousename:
  10106. description: 仓库名称
  10107. type: string
  10108. warehousestatus:
  10109. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  10110. type: integer
  10111. warehousetype:
  10112. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  10113. type: integer
  10114. required:
  10115. - autoid
  10116. - warehousecode
  10117. type: object
  10118. order.QueryHisTradeDetailRsp:
  10119. properties:
  10120. accountid:
  10121. description: 账户ID[报价币种]
  10122. type: integer
  10123. buildtype:
  10124. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  10125. type: integer
  10126. buyorsell:
  10127. description: 方向 - 0:买 1:卖
  10128. type: integer
  10129. charge:
  10130. description: 手续费
  10131. type: number
  10132. closecharge:
  10133. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  10134. type: number
  10135. closeexchagechargevalue:
  10136. description: 平仓交易所手续费设置值
  10137. type: number
  10138. closefeealgorithm:
  10139. description: 平仓手续费收取方式 1:比率 2:固定
  10140. type: integer
  10141. closememberchargevalue:
  10142. description: 平仓会员手续费设置值
  10143. type: number
  10144. closepl:
  10145. description: 平仓盈亏
  10146. type: number
  10147. closepl2:
  10148. description: 平仓盈亏[逐笔]
  10149. type: number
  10150. closeqty:
  10151. description: 平仓数量(先建后平操作 需要记录)
  10152. type: integer
  10153. creditamount:
  10154. description: 授信金额
  10155. type: number
  10156. gcaccountid:
  10157. description: 账户ID[合约币种]
  10158. type: integer
  10159. goodscode:
  10160. description: 商品代码
  10161. type: string
  10162. goodsid:
  10163. description: 商品ID
  10164. type: integer
  10165. goodsname:
  10166. description: 商品名称
  10167. type: string
  10168. histradedate:
  10169. description: 历史交易日
  10170. type: string
  10171. intclosepl:
  10172. description: 整型盈亏(用于交易结算试算平衡-收益权)
  10173. type: integer
  10174. isconfirmexercise:
  10175. description: 是否确认行权- 0:否 1:是
  10176. type: integer
  10177. ismain:
  10178. description: 是否主单 - 0:不是 1:是
  10179. type: integer
  10180. ispreexercise:
  10181. description: 是否预申报- 0:否 1:是
  10182. type: integer
  10183. isreckoned:
  10184. description: 是否结算 - 0:未结算 1:已结算
  10185. type: integer
  10186. isvaliddata:
  10187. description: 是否有效 - 0:无效 1:有效
  10188. type: integer
  10189. listingselecttype:
  10190. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  10191. type: integer
  10192. marketid:
  10193. description: 市场ID
  10194. type: integer
  10195. marketname:
  10196. description: 市场名称
  10197. type: string
  10198. matchaccountid:
  10199. description: 对手账号id
  10200. type: integer
  10201. memberuserid:
  10202. description: 会员id 个人投资者 需要填写
  10203. type: integer
  10204. opencharge:
  10205. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  10206. type: number
  10207. openexchagechargevalue:
  10208. description: 建仓交易所手续费设置值
  10209. type: number
  10210. openfeealgorithm:
  10211. description: 建仓手续费收取方式 1:比率 2:固定
  10212. type: integer
  10213. openmemberchargevalue:
  10214. description: 建仓会员手续费设置值
  10215. type: number
  10216. openqty:
  10217. description: 开仓数量(先建后平操作 需要记录)
  10218. type: integer
  10219. optiontype:
  10220. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  10221. type: integer
  10222. orderid:
  10223. description: 委托单号
  10224. type: string
  10225. performanceplanid:
  10226. description: 履约计划ID[期权]
  10227. type: integer
  10228. performancestatus:
  10229. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  10230. type: integer
  10231. preexerciseprice:
  10232. description: 预申报价格
  10233. type: number
  10234. premium:
  10235. description: 权利金 - [持仓单的权利金]
  10236. type: number
  10237. relatedouttradeid:
  10238. description: 关联外部成交单ID
  10239. type: integer
  10240. status:
  10241. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  10242. type: integer
  10243. tradeamount:
  10244. description: 成交金额[账户币种,用于所有权]
  10245. type: number
  10246. tradedate:
  10247. description: 交易日(yyyyMMdd)
  10248. type: string
  10249. tradeid:
  10250. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10251. type: string
  10252. trademode:
  10253. description: 交易模式
  10254. type: integer
  10255. tradeprice:
  10256. description: 成交价格
  10257. type: number
  10258. tradeproperty:
  10259. description: 交易属性
  10260. type: integer
  10261. tradeqty:
  10262. description: 成交数量
  10263. type: integer
  10264. tradetime:
  10265. description: 成交时间
  10266. type: string
  10267. tradetype:
  10268. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  10269. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  10270. type: integer
  10271. required:
  10272. - accountid
  10273. - buyorsell
  10274. - goodsid
  10275. - histradedate
  10276. - marketid
  10277. - memberuserid
  10278. - orderid
  10279. - tradeamount
  10280. - tradedate
  10281. - tradeid
  10282. - tradeprice
  10283. - tradeqty
  10284. - tradetime
  10285. type: object
  10286. order.QueryHisTradeOrderDetailRsp:
  10287. properties:
  10288. accountid:
  10289. description: 账户ID[报价币种]
  10290. type: integer
  10291. buildtype:
  10292. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  10293. type: integer
  10294. buyorsell:
  10295. description: 买卖 - 0:买 1:卖
  10296. type: integer
  10297. cancelorderid:
  10298. description: 撤单单号(撤单时填写)
  10299. type: string
  10300. cancelqty:
  10301. description: 撤单数量
  10302. type: integer
  10303. clientordertime:
  10304. description: 客户端委托时间
  10305. type: string
  10306. clientticket:
  10307. description: 客户端流水号
  10308. type: string
  10309. clienttype:
  10310. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  10311. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  10312. type: integer
  10313. closeexchagechargevalue:
  10314. description: 平仓交易所手续费设置值
  10315. type: number
  10316. closefeealgorithm:
  10317. description: 平仓手续费收取方式 1:比率 2:固定
  10318. type: integer
  10319. closefreezecharge:
  10320. description: 平仓冻结手续费(先建后平操作,需要记录)
  10321. type: number
  10322. closememberchargevalue:
  10323. description: 平仓会员手续费设置值
  10324. type: number
  10325. closeqty:
  10326. description: 平仓数量(先建后平操作 需要记录)
  10327. type: integer
  10328. closetradeqty:
  10329. description: 平仓成交数量(先建后平操作,需要记录)
  10330. type: integer
  10331. closeunfreezecharge:
  10332. description: 平仓解冻手续费(先建后平操作,需要记录)
  10333. type: number
  10334. delistingtype:
  10335. description: 摘牌类型 - 1:价格最优 2:点选成交
  10336. type: integer
  10337. freezecharge:
  10338. description: 冻结手续费
  10339. type: number
  10340. freezemargin:
  10341. description: 冻结保证金(冻结交易金额)
  10342. type: number
  10343. gcaccountid:
  10344. description: 账户ID[合约币种]
  10345. type: integer
  10346. goodscode:
  10347. description: 商品代码
  10348. type: string
  10349. goodsid:
  10350. description: 商品ID
  10351. type: integer
  10352. goodsname:
  10353. description: 商品名称
  10354. type: string
  10355. histradedate:
  10356. description: 历史交易日
  10357. type: string
  10358. isconfirmexercise:
  10359. description: 是否确认行权- 0:否 1:是
  10360. type: integer
  10361. ispreexercise:
  10362. description: 是否预申报- 0:否 1:是
  10363. type: integer
  10364. isvaliddata:
  10365. description: 是否有效 - 0:无效 1:有效
  10366. type: integer
  10367. listingselecttype:
  10368. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  10369. type: integer
  10370. marginalgorithm:
  10371. description: 保证金收取方式 1:比率 2:固定
  10372. type: integer
  10373. marginvalue:
  10374. description: 即市保证金设置值
  10375. type: number
  10376. marketid:
  10377. description: 市场ID
  10378. type: integer
  10379. marketmaxsub:
  10380. description: 市价最大偏移范围
  10381. type: number
  10382. marketname:
  10383. description: 市场名称
  10384. type: string
  10385. memberuserid:
  10386. description: 所属会员UserID
  10387. type: integer
  10388. openexchagechargevalue:
  10389. description: 建仓交易所手续费设置值
  10390. type: number
  10391. openfeealgorithm:
  10392. description: 建仓手续费收取方式 1:比率 2:固定
  10393. type: integer
  10394. openfreezecharge:
  10395. description: 开仓冻结手续费(先建后平操作,需要记录)
  10396. type: number
  10397. openmemberchargevalue:
  10398. description: 建仓会员手续费设置值
  10399. type: number
  10400. openqty:
  10401. description: 开仓数量(先建后平操作,需要记录)
  10402. type: integer
  10403. opentradeqty:
  10404. description: 开仓成交数量(先建后平操作,需要记录)
  10405. type: integer
  10406. openunfreezecharge:
  10407. description: 开仓解冻手续费(先建后平操作,需要记录)
  10408. type: number
  10409. operatetype:
  10410. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  10411. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  10412. 15:管理端协议转让
  10413. type: integer
  10414. operatorid:
  10415. description: 登录账号(LoginID)
  10416. type: integer
  10417. optiontype:
  10418. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  10419. type: integer
  10420. orderid:
  10421. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10422. type: string
  10423. orderprice:
  10424. description: 委托价格
  10425. type: number
  10426. orderqty:
  10427. description: 委托数量
  10428. type: integer
  10429. ordersrc:
  10430. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  10431. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  10432. type: integer
  10433. orderstatus:
  10434. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  10435. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  10436. 16:成交失败违约(荷兰式竞拍专用)
  10437. type: integer
  10438. ordertime:
  10439. description: 委托时间
  10440. type: string
  10441. preexerciseprice:
  10442. description: 预申报价格
  10443. type: number
  10444. premium:
  10445. description: 权利金
  10446. type: number
  10447. preorderid:
  10448. description: 关联预埋单号(止盈止损单时填写)
  10449. type: string
  10450. pricemode:
  10451. description: '取价方式 - 1:市价 2: 限价'
  10452. type: integer
  10453. quoteid:
  10454. description: 报价单ID
  10455. type: integer
  10456. relatedid:
  10457. description: 关联单号(交割单)
  10458. type: string
  10459. retcode:
  10460. description: 错误代码
  10461. type: integer
  10462. sessionid:
  10463. description: 会话ID
  10464. type: integer
  10465. tradedate:
  10466. description: 交易日(yyyyMMdd)
  10467. type: string
  10468. trademode:
  10469. description: 交易模式
  10470. type: integer
  10471. tradeproperty:
  10472. description: 交易属性
  10473. type: integer
  10474. tradeqty:
  10475. description: 成交数量
  10476. type: integer
  10477. unfreezecharge:
  10478. description: 解冻手续费
  10479. type: number
  10480. unfreezemargin:
  10481. description: 解冻保证金
  10482. type: number
  10483. updatetime:
  10484. description: 更新时间
  10485. type: string
  10486. uuid:
  10487. description: 发起端唯一id
  10488. type: string
  10489. validtime:
  10490. description: 有效期限
  10491. type: string
  10492. validtype:
  10493. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  10494. type: integer
  10495. volumetype:
  10496. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  10497. type: integer
  10498. required:
  10499. - accountid
  10500. - buildtype
  10501. - buyorsell
  10502. - goodsid
  10503. - histradedate
  10504. - marketid
  10505. - memberuserid
  10506. - operatetype
  10507. - orderid
  10508. - orderqty
  10509. - ordertime
  10510. - pricemode
  10511. - tradedate
  10512. - validtype
  10513. type: object
  10514. order.QueryTradeDetailRsp:
  10515. properties:
  10516. accountid:
  10517. description: 账户ID[报价币种]
  10518. type: integer
  10519. buildtype:
  10520. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  10521. type: integer
  10522. buyorsell:
  10523. description: 方向 - 0:买 1:卖
  10524. type: integer
  10525. charge:
  10526. description: 手续费
  10527. type: number
  10528. closecharge:
  10529. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  10530. type: number
  10531. closeexchagechargevalue:
  10532. description: 平仓交易所手续费设置值
  10533. type: number
  10534. closefeealgorithm:
  10535. description: 平仓手续费收取方式 1:比率 2:固定
  10536. type: integer
  10537. closememberchargevalue:
  10538. description: 平仓会员手续费设置值
  10539. type: number
  10540. closepl:
  10541. description: 平仓盈亏
  10542. type: number
  10543. closepl2:
  10544. description: 平仓盈亏[逐笔]
  10545. type: number
  10546. closeqty:
  10547. description: 平仓数量(先建后平操作 需要记录)
  10548. type: integer
  10549. creditamount:
  10550. description: 授信金额
  10551. type: number
  10552. gcaccountid:
  10553. description: 账户ID[合约币种]
  10554. type: integer
  10555. goodscode:
  10556. description: 商品代码
  10557. type: string
  10558. goodsid:
  10559. description: 商品ID
  10560. type: integer
  10561. goodsname:
  10562. description: 商品名称
  10563. type: string
  10564. intclosepl:
  10565. description: 整型盈亏(用于交易结算试算平衡-收益权)
  10566. type: integer
  10567. isconfirmexercise:
  10568. description: 是否确认行权- 0:否 1:是
  10569. type: integer
  10570. ismain:
  10571. description: 是否主单 - 0:不是 1:是
  10572. type: integer
  10573. ispreexercise:
  10574. description: 是否预申报- 0:否 1:是
  10575. type: integer
  10576. isreckoned:
  10577. description: 是否结算 - 0:未结算 1:已结算
  10578. type: integer
  10579. listingselecttype:
  10580. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  10581. type: integer
  10582. marketid:
  10583. description: 市场ID
  10584. type: integer
  10585. marketname:
  10586. description: 市场名称
  10587. type: string
  10588. matchaccountid:
  10589. description: 对手账号id
  10590. type: integer
  10591. memberuserid:
  10592. description: 会员id 个人投资者 需要填写
  10593. type: integer
  10594. opencharge:
  10595. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  10596. type: number
  10597. openexchagechargevalue:
  10598. description: 建仓交易所手续费设置值
  10599. type: number
  10600. openfeealgorithm:
  10601. description: 建仓手续费收取方式 1:比率 2:固定
  10602. type: integer
  10603. openmemberchargevalue:
  10604. description: 建仓会员手续费设置值
  10605. type: number
  10606. openqty:
  10607. description: 开仓数量(先建后平操作 需要记录)
  10608. type: integer
  10609. optiontype:
  10610. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  10611. type: integer
  10612. orderid:
  10613. description: 委托单号
  10614. type: string
  10615. performanceplanid:
  10616. description: 履约计划ID[期权]
  10617. type: integer
  10618. performancestatus:
  10619. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  10620. type: integer
  10621. preexerciseprice:
  10622. description: 预申报价格
  10623. type: number
  10624. premium:
  10625. description: 权利金 - [持仓单的权利金]
  10626. type: number
  10627. relatedouttradeid:
  10628. description: 关联外部成交单ID
  10629. type: integer
  10630. status:
  10631. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  10632. type: integer
  10633. tradeamount:
  10634. description: 成交金额[账户币种,用于所有权]
  10635. type: number
  10636. tradedate:
  10637. description: 交易日(yyyyMMdd)
  10638. type: string
  10639. tradeid:
  10640. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10641. type: string
  10642. trademode:
  10643. description: 交易模式
  10644. type: integer
  10645. tradeprice:
  10646. description: 成交价格
  10647. type: number
  10648. tradeproperty:
  10649. description: 交易属性
  10650. type: integer
  10651. tradeqty:
  10652. description: 成交数量
  10653. type: integer
  10654. tradetime:
  10655. description: 成交时间
  10656. type: string
  10657. tradetype:
  10658. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  10659. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  10660. type: integer
  10661. required:
  10662. - accountid
  10663. - buyorsell
  10664. - goodsid
  10665. - marketid
  10666. - memberuserid
  10667. - orderid
  10668. - tradeamount
  10669. - tradedate
  10670. - tradeid
  10671. - tradeprice
  10672. - tradeqty
  10673. - tradetime
  10674. type: object
  10675. order.QueryTradeOrderDetailRsp:
  10676. properties:
  10677. accountid:
  10678. description: 账户ID[报价币种]
  10679. type: integer
  10680. buildtype:
  10681. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  10682. type: integer
  10683. buyorsell:
  10684. description: 买卖 - 0:买 1:卖
  10685. type: integer
  10686. cancelorderid:
  10687. description: 撤单单号(撤单时填写)
  10688. type: string
  10689. cancelqty:
  10690. description: 撤单数量
  10691. type: integer
  10692. clienttype:
  10693. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  10694. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  10695. type: integer
  10696. closefreezecharge:
  10697. description: 平仓冻结手续费(先建后平操作,需要记录)
  10698. type: number
  10699. closeqty:
  10700. description: 平仓数量(先建后平操作 需要记录)
  10701. type: integer
  10702. closetradeqty:
  10703. description: 平仓成交数量(先建后平操作,需要记录)
  10704. type: integer
  10705. closeunfreezecharge:
  10706. description: 平仓解冻手续费(先建后平操作,需要记录)
  10707. type: number
  10708. delistingtype:
  10709. description: 摘牌类型 - 1:价格最优 2:点选成交
  10710. type: integer
  10711. enableqty:
  10712. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  10713. type: integer
  10714. freezecharge:
  10715. description: 冻结手续费
  10716. type: number
  10717. freezemargin:
  10718. description: 冻结保证金(冻结交易金额)
  10719. type: number
  10720. goodscode:
  10721. description: 商品代码
  10722. type: string
  10723. goodsid:
  10724. description: 商品ID
  10725. type: integer
  10726. goodsname:
  10727. description: 商品名称
  10728. type: string
  10729. listingselecttype:
  10730. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  10731. type: integer
  10732. marketid:
  10733. description: 市场ID
  10734. type: integer
  10735. marketname:
  10736. description: 市场名称
  10737. type: string
  10738. openfreezecharge:
  10739. description: 开仓冻结手续费(先建后平操作,需要记录)
  10740. type: number
  10741. openqty:
  10742. description: 开仓数量(先建后平操作,需要记录)
  10743. type: integer
  10744. opentradeqty:
  10745. description: 开仓成交数量(先建后平操作,需要记录)
  10746. type: integer
  10747. openunfreezecharge:
  10748. description: 开仓解冻手续费(先建后平操作,需要记录)
  10749. type: number
  10750. operatetype:
  10751. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  10752. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  10753. 15:管理端协议转让
  10754. type: integer
  10755. operatorid:
  10756. description: 登录账号(LoginID)
  10757. type: integer
  10758. orderid:
  10759. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10760. type: string
  10761. orderprice:
  10762. description: 委托价格
  10763. type: number
  10764. orderqty:
  10765. description: 委托数量
  10766. type: integer
  10767. ordersrc:
  10768. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  10769. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  10770. type: integer
  10771. orderstatus:
  10772. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  10773. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  10774. 16:成交失败违约(荷兰式竞拍专用)
  10775. type: integer
  10776. ordertime:
  10777. description: 委托时间
  10778. type: string
  10779. preorderid:
  10780. description: 关联预埋单号(止盈止损单时填写)
  10781. type: string
  10782. pricemode:
  10783. description: '取价方式 - 1:市价 2: 限价'
  10784. type: integer
  10785. relatedid:
  10786. description: 关联单号(交割单)
  10787. type: string
  10788. tradedate:
  10789. description: 交易日(yyyyMMdd)
  10790. type: string
  10791. trademode:
  10792. description: 交易模式
  10793. type: integer
  10794. tradeqty:
  10795. description: 成交数量
  10796. type: integer
  10797. unfreezecharge:
  10798. description: 解冻手续费
  10799. type: number
  10800. unfreezemargin:
  10801. description: 解冻保证金
  10802. type: number
  10803. validtime:
  10804. description: 有效期限
  10805. type: string
  10806. validtype:
  10807. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  10808. type: integer
  10809. volumetype:
  10810. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  10811. type: integer
  10812. required:
  10813. - accountid
  10814. - buildtype
  10815. - buyorsell
  10816. - goodsid
  10817. - marketid
  10818. - operatetype
  10819. - orderqty
  10820. - ordertime
  10821. - pricemode
  10822. - tradedate
  10823. - validtype
  10824. type: object
  10825. order.QueryTradePositionRsp:
  10826. properties:
  10827. accountid:
  10828. description: 资金账户
  10829. type: integer
  10830. agreeunit:
  10831. description: 合约单位
  10832. type: number
  10833. averageprice:
  10834. description: 持仓均价
  10835. type: number
  10836. buyorsell:
  10837. description: 方向 - 0:买 1:卖
  10838. type: integer
  10839. closetotalqty:
  10840. description: 平仓总数量
  10841. type: integer
  10842. curholderamount:
  10843. description: 当前持仓总金额[商品币种]
  10844. type: number
  10845. curpositionqty:
  10846. description: 当前持仓总数量
  10847. type: integer
  10848. currencyid:
  10849. description: 报价货币ID
  10850. type: integer
  10851. curtdposition:
  10852. description: 期末今日头寸
  10853. type: integer
  10854. decimalplace:
  10855. description: 报价小数位
  10856. type: integer
  10857. enableqty:
  10858. description: 可用量
  10859. type: integer
  10860. fretdposition:
  10861. description: 冻结今日头寸
  10862. type: integer
  10863. frozenqty:
  10864. description: 持仓冻结数量
  10865. type: integer
  10866. goodscode:
  10867. description: 商品代码
  10868. type: string
  10869. goodsid:
  10870. description: 商品Id
  10871. type: integer
  10872. goodsname:
  10873. description: 商品名称
  10874. type: string
  10875. goodunit:
  10876. description: 报价单位
  10877. type: string
  10878. goodunitid:
  10879. description: 报价单位ID
  10880. type: integer
  10881. holderamount:
  10882. description: 期初持仓总金额[商品币种]
  10883. type: number
  10884. marketid:
  10885. description: 所属市场ID
  10886. type: integer
  10887. openreqqty:
  10888. description: 开仓申请数量(用于比较最大持仓数量)
  10889. type: integer
  10890. opentotalqty:
  10891. description: 开仓总数量
  10892. type: integer
  10893. otherfrozenqty:
  10894. description: 持仓其他冻结数量(交割冻结)
  10895. type: integer
  10896. positionqty:
  10897. description: 期初持仓数量
  10898. type: integer
  10899. tnqty:
  10900. description: T+N冻结总量
  10901. type: integer
  10902. tnusedqty:
  10903. description: T+N使用量(可以使用T+N的冻结数量)
  10904. type: integer
  10905. trademode:
  10906. description: 交易模式
  10907. type: integer
  10908. usedmargin:
  10909. description: 占用保证金[商品币种]
  10910. type: number
  10911. required:
  10912. - goodsid
  10913. type: object
  10914. quote.HistoryData:
  10915. properties:
  10916. c:
  10917. description: 收盘价
  10918. type: number
  10919. f:
  10920. description: 是否补充数据
  10921. type: boolean
  10922. h:
  10923. description: 最高价
  10924. type: number
  10925. hv:
  10926. description: 持仓量
  10927. type: integer
  10928. l:
  10929. description: 最低价
  10930. type: number
  10931. o:
  10932. description: 开盘价
  10933. type: number
  10934. s:
  10935. description: 结算价,日线周期(包括)以上才有
  10936. type: number
  10937. ts:
  10938. description: 时间
  10939. type: string
  10940. tt:
  10941. description: 总金额
  10942. type: number
  10943. tv:
  10944. description: 总量
  10945. type: integer
  10946. type: object
  10947. quote.HistoryTikData:
  10948. properties:
  10949. AV:
  10950. description: 卖量
  10951. type: integer
  10952. Ask:
  10953. description: 卖价
  10954. type: number
  10955. BV:
  10956. description: 买量
  10957. type: integer
  10958. Bid:
  10959. description: 买价
  10960. type: number
  10961. HI:
  10962. description: 单笔持仓
  10963. type: integer
  10964. HV:
  10965. description: 持仓量
  10966. type: integer
  10967. PE:
  10968. description: 现价
  10969. type: number
  10970. TDR:
  10971. description: 交易方向,0:买 1:卖
  10972. type: integer
  10973. TK:
  10974. description: 交易类型
  10975. type: integer
  10976. TS:
  10977. description: 行情时间文本
  10978. type: string
  10979. TT:
  10980. description: 现金额
  10981. type: number
  10982. Vol:
  10983. description: 现量
  10984. type: integer
  10985. type: object
  10986. quote.QueryQuoteDayRsp:
  10987. properties:
  10988. ask:
  10989. description: 卖1
  10990. type: number
  10991. ask2:
  10992. description: 卖2
  10993. type: number
  10994. ask3:
  10995. description: 卖3
  10996. type: number
  10997. ask4:
  10998. description: 卖4
  10999. type: number
  11000. ask5:
  11001. description: 卖5
  11002. type: number
  11003. ask6:
  11004. description: 卖6
  11005. type: number
  11006. ask7:
  11007. description: 卖7
  11008. type: number
  11009. ask8:
  11010. description: 卖8
  11011. type: number
  11012. ask9:
  11013. description: 卖9
  11014. type: number
  11015. ask10:
  11016. description: 卖10
  11017. type: number
  11018. askorderid:
  11019. description: 卖单号1
  11020. type: integer
  11021. askorderid2:
  11022. description: 卖单号2
  11023. type: integer
  11024. askorderid3:
  11025. description: 卖单号3
  11026. type: integer
  11027. askorderid4:
  11028. description: 卖单号4
  11029. type: integer
  11030. askorderid5:
  11031. description: 卖单号5
  11032. type: integer
  11033. askordervolume:
  11034. description: 卖单量1
  11035. type: integer
  11036. askordervolume2:
  11037. description: 卖单量2
  11038. type: integer
  11039. askordervolume3:
  11040. description: 卖单量3
  11041. type: integer
  11042. askordervolume4:
  11043. description: 卖单量4
  11044. type: integer
  11045. askordervolume5:
  11046. description: 卖单量5
  11047. type: integer
  11048. askordervolume6:
  11049. description: 卖单量6
  11050. type: integer
  11051. askordervolume7:
  11052. description: 卖单量7
  11053. type: integer
  11054. askordervolume8:
  11055. description: 卖单量8
  11056. type: integer
  11057. askordervolume9:
  11058. description: 卖单量9
  11059. type: integer
  11060. askordervolume10:
  11061. description: 卖单量10
  11062. type: integer
  11063. askqueueinfo:
  11064. description: 大利市卖港股用
  11065. type: string
  11066. askvolume:
  11067. description: 卖量1
  11068. type: integer
  11069. askvolume2:
  11070. description: 卖量2
  11071. type: integer
  11072. askvolume3:
  11073. description: 卖量3
  11074. type: integer
  11075. askvolume4:
  11076. description: 卖量4
  11077. type: integer
  11078. askvolume5:
  11079. description: 卖量5
  11080. type: integer
  11081. askvolume6:
  11082. description: 卖量6
  11083. type: integer
  11084. askvolume7:
  11085. description: 卖量7
  11086. type: integer
  11087. askvolume8:
  11088. description: 卖量8
  11089. type: integer
  11090. askvolume9:
  11091. description: 卖量9
  11092. type: integer
  11093. askvolume10:
  11094. description: 卖量10
  11095. type: integer
  11096. averageprice:
  11097. description: 均价
  11098. type: number
  11099. bid:
  11100. description: 买1
  11101. type: number
  11102. bid2:
  11103. description: 买2
  11104. type: number
  11105. bid3:
  11106. description: 买3
  11107. type: number
  11108. bid4:
  11109. description: 买4
  11110. type: number
  11111. bid5:
  11112. description: 买5
  11113. type: number
  11114. bid6:
  11115. description: 买6
  11116. type: number
  11117. bid7:
  11118. description: 买7
  11119. type: number
  11120. bid8:
  11121. description: 买8
  11122. type: number
  11123. bid9:
  11124. description: 买9
  11125. type: number
  11126. bid10:
  11127. description: 买10
  11128. type: number
  11129. bidorderid:
  11130. description: 买单号1
  11131. type: integer
  11132. bidorderid2:
  11133. description: 买单号2
  11134. type: integer
  11135. bidorderid3:
  11136. description: 买单号3
  11137. type: integer
  11138. bidorderid4:
  11139. description: 买单号4
  11140. type: integer
  11141. bidorderid5:
  11142. description: 买单号5
  11143. type: integer
  11144. bidordervolume:
  11145. description: 买单量1
  11146. type: integer
  11147. bidordervolume2:
  11148. description: 买单量2
  11149. type: integer
  11150. bidordervolume3:
  11151. description: 买单量3
  11152. type: integer
  11153. bidordervolume4:
  11154. description: 买单量4
  11155. type: integer
  11156. bidordervolume5:
  11157. description: 买单量5
  11158. type: integer
  11159. bidordervolume6:
  11160. description: 买单量6
  11161. type: integer
  11162. bidordervolume7:
  11163. description: 买单量7
  11164. type: integer
  11165. bidordervolume8:
  11166. description: 买单量8
  11167. type: integer
  11168. bidordervolume9:
  11169. description: 买单量9
  11170. type: integer
  11171. bidordervolume10:
  11172. description: 买单量10
  11173. type: integer
  11174. bidqueueinfo:
  11175. description: 大利市买港股用
  11176. type: string
  11177. bidvolume:
  11178. description: 买量1
  11179. type: integer
  11180. bidvolume2:
  11181. description: 买量2
  11182. type: integer
  11183. bidvolume3:
  11184. description: 买量3
  11185. type: integer
  11186. bidvolume4:
  11187. description: 买量4
  11188. type: integer
  11189. bidvolume5:
  11190. description: 买量5
  11191. type: integer
  11192. bidvolume6:
  11193. description: 买量6
  11194. type: integer
  11195. bidvolume7:
  11196. description: 买量7
  11197. type: integer
  11198. bidvolume8:
  11199. description: 买量8
  11200. type: integer
  11201. bidvolume9:
  11202. description: 买量9
  11203. type: integer
  11204. bidvolume10:
  11205. description: 买量10
  11206. type: integer
  11207. calloptionpremiums:
  11208. description: 认购期权1
  11209. type: integer
  11210. calloptionpremiums2:
  11211. description: 认购期权2
  11212. type: integer
  11213. calloptionpremiums3:
  11214. description: 认购期权3
  11215. type: integer
  11216. calloptionpremiums4:
  11217. description: 认购期权4
  11218. type: integer
  11219. calloptionpremiums5:
  11220. description: 认购期权5
  11221. type: integer
  11222. cleartime:
  11223. description: 清盘时间
  11224. type: integer
  11225. exchangecode:
  11226. description: 交易所代码
  11227. type: integer
  11228. exchangedate:
  11229. description: 交易日
  11230. type: integer
  11231. goodscode:
  11232. description: 商品代码
  11233. type: string
  11234. grepmarketprice:
  11235. description: 暗盘价 港股专用
  11236. type: number
  11237. highest:
  11238. description: 最高价
  11239. type: number
  11240. holdincrement:
  11241. description: 单笔持仓
  11242. type: integer
  11243. holdvolume:
  11244. description: 持仓
  11245. type: integer
  11246. iep:
  11247. description: 平衡价 港股专用
  11248. type: number
  11249. iev:
  11250. description: 平衡量 港股专用
  11251. type: number
  11252. inventory:
  11253. description: 库存
  11254. type: integer
  11255. iscleared:
  11256. description: 是否清盘标志
  11257. type: integer
  11258. issettled:
  11259. description: 是否结算标志
  11260. type: integer
  11261. last:
  11262. description: 最新价
  11263. type: number
  11264. lastlot:
  11265. description: 最新成交手数
  11266. type: integer
  11267. lasttime:
  11268. description: 行情时间(只有现价变化行情时间才变化)
  11269. type: string
  11270. lastturnover:
  11271. description: 最新成交金额
  11272. type: number
  11273. lastvolume:
  11274. description: 最新成交量
  11275. type: integer
  11276. limitdown:
  11277. description: 跌停价
  11278. type: number
  11279. limitup:
  11280. description: 涨停价
  11281. type: number
  11282. lowest:
  11283. description: 最低价
  11284. type: number
  11285. nontotalholdervolume:
  11286. description: 非交易持仓量
  11287. type: integer
  11288. nontotallot:
  11289. description: 非交易总手数
  11290. type: integer
  11291. nontotalturnover:
  11292. description: 非交易总金额
  11293. type: integer
  11294. nontotalvolume:
  11295. description: 非交易总量
  11296. type: integer
  11297. opened:
  11298. description: 开盘价
  11299. type: number
  11300. opentime:
  11301. description: 开盘时间
  11302. type: string
  11303. orderid:
  11304. description: 序号
  11305. type: integer
  11306. preclose:
  11307. description: 昨收
  11308. type: number
  11309. preholdvolume:
  11310. description: 昨持仓
  11311. type: integer
  11312. presettle:
  11313. description: 昨结价
  11314. type: number
  11315. publictradetype:
  11316. description: 公共交易标志类型 港股专用
  11317. type: string
  11318. putoptionpremiums:
  11319. description: 认沽期权1
  11320. type: integer
  11321. putoptionpremiums2:
  11322. description: 认沽期权2
  11323. type: integer
  11324. putoptionpremiums3:
  11325. description: 认沽期权3
  11326. type: integer
  11327. putoptionpremiums4:
  11328. description: 认沽期权4
  11329. type: integer
  11330. putoptionpremiums5:
  11331. description: 认沽期权5
  11332. type: integer
  11333. settle:
  11334. description: 结算价
  11335. type: number
  11336. strikeprice:
  11337. description: 发行价
  11338. type: number
  11339. totalaskvolume:
  11340. description: 内盘
  11341. type: integer
  11342. totalbidvolume:
  11343. description: 外盘
  11344. type: integer
  11345. totallot:
  11346. description: 总手数
  11347. type: integer
  11348. totalturnover:
  11349. description: 总金额
  11350. type: number
  11351. totalvolume:
  11352. description: 总量
  11353. type: integer
  11354. utclasttime:
  11355. description: utc的行情时间
  11356. type: string
  11357. type: object
  11358. quote.QueryTSDataRsp:
  11359. properties:
  11360. Count:
  11361. description: 交易日应有数据个数
  11362. type: integer
  11363. decimalPlace:
  11364. description: 小数位
  11365. type: integer
  11366. endTime:
  11367. description: 结束时间
  11368. type: string
  11369. goodsCode:
  11370. description: 商品代码
  11371. type: string
  11372. historyDatas:
  11373. description: 历史数据
  11374. items:
  11375. $ref: '#/definitions/quote.HistoryData'
  11376. type: array
  11377. outGoodsCode:
  11378. description: 外部商品代码
  11379. type: string
  11380. preSettle:
  11381. description: 昨结价
  11382. type: number
  11383. runSteps:
  11384. description: 交易日开休市计划
  11385. items:
  11386. $ref: '#/definitions/quote.TSDataRunStep'
  11387. type: array
  11388. startTime:
  11389. description: 开始时间
  11390. type: string
  11391. tradeDate:
  11392. description: 交易日
  11393. type: string
  11394. type: object
  11395. quote.TSDataRunStep:
  11396. properties:
  11397. end:
  11398. description: 真实结束时间
  11399. type: string
  11400. endflag:
  11401. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  11402. type: integer
  11403. endtime:
  11404. description: 结束时间(HH:mm)
  11405. type: string
  11406. endweekday:
  11407. description: 结束周几
  11408. type: integer
  11409. groupid:
  11410. description: 分组ID
  11411. type: integer
  11412. runstep:
  11413. description: 运行阶段 - 2:连续交易
  11414. type: integer
  11415. sectionid:
  11416. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  11417. 结束时间=结算时间 结束周几=结算周几
  11418. type: integer
  11419. start:
  11420. description: 真实开始时间
  11421. type: string
  11422. startflag:
  11423. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  11424. type: integer
  11425. starttime:
  11426. description: 起始时间(HH:mm)
  11427. type: string
  11428. startweekday:
  11429. description: 起始周几
  11430. type: integer
  11431. tradeweekday:
  11432. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  11433. type: integer
  11434. type: object
  11435. szdz.QueryConvertLogRsp:
  11436. properties:
  11437. accountid:
  11438. description: 资金账户ID
  11439. type: integer
  11440. clientticket:
  11441. description: 客户端流水号
  11442. type: string
  11443. converttype:
  11444. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  11445. type: integer
  11446. createtime:
  11447. description: 记账时间
  11448. type: string
  11449. daymaxvalue:
  11450. description: 配置当日最大转入限制
  11451. type: number
  11452. daymaxvalue2:
  11453. description: 配置当日最大转入限制(转入)
  11454. type: number
  11455. goodscode:
  11456. description: 商品代码
  11457. type: string
  11458. goodsname:
  11459. description: 商品名称
  11460. type: string
  11461. handlestatus:
  11462. description: 处理状态
  11463. type: integer
  11464. innergoodsid:
  11465. description: 内部商品ID
  11466. type: integer
  11467. inratio:
  11468. description: 配置转入比值
  11469. type: integer
  11470. invalue:
  11471. description: 目标值
  11472. type: number
  11473. logid:
  11474. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11475. type: integer
  11476. mobile:
  11477. description: 手机号码(加密存储)
  11478. type: string
  11479. outergoodscode:
  11480. description: 外部商品代码[JD\PD]
  11481. type: string
  11482. outratio:
  11483. description: 配置转出比值
  11484. type: integer
  11485. outvalue:
  11486. description: 源值
  11487. type: number
  11488. pddecimalplace:
  11489. description: PD小数位
  11490. type: integer
  11491. qty:
  11492. description: 数量
  11493. type: string
  11494. remark:
  11495. description: 备注
  11496. type: string
  11497. sessionid:
  11498. description: 会话ID
  11499. type: integer
  11500. timemaxvalue:
  11501. description: 配置单次最大转入限制
  11502. type: number
  11503. timemaxvalue2:
  11504. description: 配置单次最大转入限制(转入)
  11505. type: number
  11506. timeminvalue:
  11507. description: 配置单次最小数量限制
  11508. type: number
  11509. timeminvalue2:
  11510. description: 配置单次最小数量限制(转入)
  11511. type: number
  11512. tradedate:
  11513. description: 交易日(yyyyMMdd)
  11514. type: string
  11515. userid:
  11516. description: 用户ID
  11517. type: integer
  11518. required:
  11519. - logid
  11520. type: object
  11521. szdz.QueryGoodsPickupRsp:
  11522. properties:
  11523. accountid:
  11524. description: 账户ID
  11525. type: integer
  11526. address:
  11527. description: 提货人详细地址
  11528. type: string
  11529. auditer:
  11530. description: 审核人
  11531. type: integer
  11532. audittime:
  11533. description: 审核时间
  11534. type: string
  11535. cardnum:
  11536. description: 提货人证件号码
  11537. type: string
  11538. cardtypeid:
  11539. description: 提货人证件类型
  11540. type: integer
  11541. checkremark:
  11542. description: 审核备注
  11543. type: string
  11544. goodscode:
  11545. description: 商品代码
  11546. type: string
  11547. goodsid:
  11548. description: 商品ID
  11549. type: integer
  11550. goodsname:
  11551. description: 商品名称
  11552. type: string
  11553. handlestatus:
  11554. description: 处理状态
  11555. type: integer
  11556. marketid:
  11557. description: 市场ID
  11558. type: integer
  11559. phonenum:
  11560. description: 提货人联系方式
  11561. type: string
  11562. qty:
  11563. description: 提货数量
  11564. type: number
  11565. recivername:
  11566. description: 提货人姓名
  11567. type: string
  11568. reqtime:
  11569. description: 更新时间
  11570. type: string
  11571. takemode:
  11572. description: 提货方式 - 2:自提 3:配送
  11573. type: integer
  11574. takeorderid:
  11575. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  11576. type: string
  11577. takeorderstatus:
  11578. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  11579. type: integer
  11580. takeremark:
  11581. description: 提货备注
  11582. type: string
  11583. tradedate:
  11584. description: 交易日(yyyyMMdd)
  11585. type: string
  11586. userid:
  11587. description: 用户ID
  11588. type: integer
  11589. required:
  11590. - takeorderid
  11591. type: object
  11592. szdz.QueryRecieptOrderRsp:
  11593. properties:
  11594. accountName:
  11595. description: 所属账号名称(已脱敏)
  11596. type: string
  11597. accountid:
  11598. description: 资金账号
  11599. type: integer
  11600. buyorsell:
  11601. description: 方向 - 0:买 1:卖
  11602. type: integer
  11603. enableqty:
  11604. description: 可摘数量
  11605. type: integer
  11606. goodscode:
  11607. description: 商品代码
  11608. type: string
  11609. goodsid:
  11610. description: 商品ID
  11611. type: integer
  11612. goodsname:
  11613. description: 商品名称
  11614. type: string
  11615. orderid:
  11616. description: 委托单号
  11617. type: string
  11618. orderprice:
  11619. description: 委托价格
  11620. type: number
  11621. ordertime:
  11622. description: 委托时间
  11623. type: string
  11624. tradedate:
  11625. description: 交易日(yyyyMMdd)
  11626. type: string
  11627. required:
  11628. - ordertime
  11629. type: object
  11630. szdz.QuerySZDZTradePositionRsp:
  11631. properties:
  11632. accountid:
  11633. description: 账号Id
  11634. type: integer
  11635. agreeunit:
  11636. description: 合约单位
  11637. type: number
  11638. averageprice:
  11639. description: 持仓均价
  11640. type: number
  11641. buyorsell:
  11642. description: 方向 - 0:买 1:卖
  11643. type: integer
  11644. closetotalqty:
  11645. description: 平仓总数量
  11646. type: integer
  11647. curholderamount:
  11648. description: 当前持仓总金额
  11649. type: number
  11650. curpositionqty:
  11651. description: 当前持仓总数量
  11652. type: integer
  11653. currencyid:
  11654. description: 报价货币ID
  11655. type: integer
  11656. curtdposition:
  11657. description: 期末今日头寸
  11658. type: integer
  11659. decimalplace:
  11660. description: 报价小数位
  11661. type: integer
  11662. enableqty:
  11663. description: 可用量
  11664. type: integer
  11665. fretdposition:
  11666. description: 冻结今日头寸
  11667. type: integer
  11668. frozenqty:
  11669. description: 持仓冻结数量
  11670. type: integer
  11671. goodscode:
  11672. description: 商品代码(内部)
  11673. type: string
  11674. goodsid:
  11675. description: 商品Id
  11676. type: integer
  11677. goodsname:
  11678. description: 商品名称
  11679. type: string
  11680. goodunit:
  11681. description: 报价单位
  11682. type: string
  11683. goodunitid:
  11684. description: 报价单位ID
  11685. type: integer
  11686. holderamount:
  11687. description: 期初持仓总金额
  11688. type: number
  11689. marketid:
  11690. description: 市场ID
  11691. type: integer
  11692. openreqqty:
  11693. description: 开仓申请数量
  11694. type: integer
  11695. opentotalqty:
  11696. description: 开仓总数量
  11697. type: integer
  11698. otherfrozenqty:
  11699. description: 持仓其他冻结数量(交割冻结)
  11700. type: integer
  11701. positionqty:
  11702. description: 期初持仓数量
  11703. type: integer
  11704. szdz3freezqty:
  11705. description: 尚志大宗转换冻结总数量
  11706. type: integer
  11707. tnqty:
  11708. description: T+N冻结总量
  11709. type: integer
  11710. tnusedqty:
  11711. description: T+N使用量
  11712. type: integer
  11713. trademode:
  11714. description: 交易模式
  11715. type: integer
  11716. usedmargin:
  11717. description: 占用保证金
  11718. type: number
  11719. type: object
  11720. taaccount.QueryAmountLogRsp:
  11721. properties:
  11722. OPERATETYPENAME:
  11723. description: 资金操作类型名称
  11724. type: string
  11725. accountid:
  11726. description: 资金账户ID
  11727. type: integer
  11728. agoodscode:
  11729. description: 竞拍商品代码
  11730. type: string
  11731. agoodsname:
  11732. description: 竞拍商品名称
  11733. type: string
  11734. amount:
  11735. description: 资金金额
  11736. type: number
  11737. amountadjusttype:
  11738. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  11739. type: integer
  11740. autoid:
  11741. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  11742. type: integer
  11743. balance:
  11744. description: 期初余额
  11745. type: number
  11746. businesscode:
  11747. description: 业务编号
  11748. type: integer
  11749. createtime:
  11750. description: 发生时间
  11751. type: string
  11752. currencyid:
  11753. description: 币种ID
  11754. type: integer
  11755. currentbalance:
  11756. description: 期末余额(变动后金额)
  11757. type: number
  11758. dgoodscode:
  11759. description: 交割商品代码
  11760. type: string
  11761. dgoodsname:
  11762. description: 交割商品名称
  11763. type: string
  11764. goodscode:
  11765. description: 商品代码
  11766. type: string
  11767. goodsid:
  11768. description: 商品ID
  11769. type: integer
  11770. goodsname:
  11771. description: 商品名称
  11772. type: string
  11773. marketid:
  11774. description: 市场ID
  11775. type: integer
  11776. marketname:
  11777. description: 市场名称
  11778. type: string
  11779. moneyticket:
  11780. description: 资金流水号:银行端流水号
  11781. type: integer
  11782. operatetype:
  11783. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  11784. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  11785. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  11786. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  11787. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  11788. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  11789. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  11790. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  11791. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  11792. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  11793. type: integer
  11794. relationorderid:
  11795. description: 关联单号
  11796. type: string
  11797. remark:
  11798. description: 备注
  11799. type: string
  11800. trademode:
  11801. description: 交易模式
  11802. type: integer
  11803. required:
  11804. - accountid
  11805. - amount
  11806. - amountadjusttype
  11807. - autoid
  11808. - balance
  11809. - createtime
  11810. - currentbalance
  11811. - operatetype
  11812. type: object
  11813. taaccount.QueryHisAmountLogRsp:
  11814. properties:
  11815. OPERATETYPENAME:
  11816. description: 资金操作类型名称
  11817. type: string
  11818. accountid:
  11819. description: 资金账户ID
  11820. type: integer
  11821. agoodscode:
  11822. description: 竞拍商品代码
  11823. type: string
  11824. agoodsname:
  11825. description: 竞拍商品名称
  11826. type: string
  11827. amount:
  11828. description: 资金金额
  11829. type: number
  11830. amountadjusttype:
  11831. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  11832. type: integer
  11833. autoid:
  11834. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  11835. type: integer
  11836. balance:
  11837. description: 期初余额
  11838. type: number
  11839. businesscode:
  11840. description: 业务编号
  11841. type: integer
  11842. createtime:
  11843. description: 发生时间
  11844. type: string
  11845. currencyid:
  11846. description: 币种ID
  11847. type: integer
  11848. currentbalance:
  11849. description: 期末余额(变动后金额)
  11850. type: number
  11851. dgoodscode:
  11852. description: 交割商品代码
  11853. type: string
  11854. dgoodsname:
  11855. description: 交割商品名称
  11856. type: string
  11857. goodscode:
  11858. description: 商品代码
  11859. type: string
  11860. goodsid:
  11861. description: 商品ID
  11862. type: integer
  11863. goodsname:
  11864. description: 商品名称
  11865. type: string
  11866. histradedate:
  11867. description: 历史交易日
  11868. type: string
  11869. isvaliddata:
  11870. description: 是否有效 - 0:无效 1:有效
  11871. type: integer
  11872. marketid:
  11873. description: 市场ID
  11874. type: integer
  11875. marketname:
  11876. description: 市场名称
  11877. type: string
  11878. moneyticket:
  11879. description: 资金流水号:银行端流水号
  11880. type: integer
  11881. operatetype:
  11882. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  11883. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  11884. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  11885. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  11886. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  11887. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  11888. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  11889. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  11890. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  11891. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  11892. type: integer
  11893. relationorderid:
  11894. description: 关联单号
  11895. type: string
  11896. remark:
  11897. description: 备注
  11898. type: string
  11899. trademode:
  11900. description: 交易模式
  11901. type: integer
  11902. required:
  11903. - accountid
  11904. - amount
  11905. - amountadjusttype
  11906. - autoid
  11907. - balance
  11908. - createtime
  11909. - currentbalance
  11910. - histradedate
  11911. - operatetype
  11912. type: object
  11913. trade.QueryRecieptOrderRsp:
  11914. properties:
  11915. accountName:
  11916. description: 所属账号名称(已脱敏)
  11917. type: string
  11918. accountid:
  11919. description: 资金账号
  11920. type: integer
  11921. buyorsell:
  11922. description: 方向 - 0:买 1:卖
  11923. type: integer
  11924. enableqty:
  11925. description: 可摘数量
  11926. type: integer
  11927. goodscode:
  11928. description: 商品代码
  11929. type: string
  11930. goodsid:
  11931. description: 商品ID
  11932. type: integer
  11933. goodsname:
  11934. description: 商品名称
  11935. type: string
  11936. orderid:
  11937. description: 委托单号
  11938. type: string
  11939. orderprice:
  11940. description: 委托价格
  11941. type: number
  11942. ordertime:
  11943. description: 委托时间
  11944. type: string
  11945. tradedate:
  11946. description: 交易日(yyyyMMdd)
  11947. type: string
  11948. required:
  11949. - ordertime
  11950. type: object
  11951. user.LoginQueryRsp:
  11952. properties:
  11953. externalExchanges:
  11954. description: 外部交易所
  11955. items:
  11956. $ref: '#/definitions/models.Externalexchange'
  11957. type: array
  11958. goodsgroups:
  11959. description: 商品组
  11960. items:
  11961. $ref: '#/definitions/models.Goodsgroup'
  11962. type: array
  11963. loginAccount:
  11964. $ref: '#/definitions/models.Loginaccount'
  11965. description: 登录账号
  11966. type: object
  11967. markets:
  11968. description: 市场
  11969. items:
  11970. $ref: '#/definitions/models.Market'
  11971. type: array
  11972. systemParams:
  11973. description: 系统参数
  11974. items:
  11975. $ref: '#/definitions/models.Systemparam'
  11976. type: array
  11977. userAccount:
  11978. $ref: '#/definitions/models.Useraccount'
  11979. description: 用户账号
  11980. type: object
  11981. userInfo:
  11982. $ref: '#/definitions/models.Userinfo'
  11983. description: 用户信息
  11984. type: object
  11985. username:
  11986. description: 用户姓名
  11987. type: string
  11988. type: object
  11989. info:
  11990. contact: {}
  11991. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  11992. license: {}
  11993. termsOfService: http://muchinfo.cn
  11994. title: MTP2.0 查询服务 API
  11995. version: "1.0"
  11996. paths:
  11997. /CPTrade/QueryCPTradeMyBidInfos:
  11998. get:
  11999. parameters:
  12000. - description: 资金账户
  12001. in: query
  12002. name: accountid
  12003. required: true
  12004. type: integer
  12005. - description: 预售市场ID
  12006. in: query
  12007. name: marketid
  12008. type: integer
  12009. - description: 预售商品ID
  12010. in: query
  12011. name: goodsid
  12012. type: integer
  12013. produces:
  12014. - application/json
  12015. responses:
  12016. "200":
  12017. description: OK
  12018. schema:
  12019. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  12020. "500":
  12021. description: Internal Server Error
  12022. schema:
  12023. $ref: '#/definitions/app.Response'
  12024. security:
  12025. - ApiKeyAuth: []
  12026. summary: 查询产能预售我的出价信息
  12027. tags:
  12028. - 产能预售
  12029. /CPTrade/QueryCPTradeOrderDetail:
  12030. get:
  12031. parameters:
  12032. - description: 预售商品ID
  12033. in: query
  12034. name: goodsid
  12035. type: integer
  12036. - description: 预售市场ID
  12037. in: query
  12038. name: marketid
  12039. type: integer
  12040. - description: 预售商品ID列表 - 格式:1,2,3
  12041. in: query
  12042. name: goodsids
  12043. type: string
  12044. produces:
  12045. - application/json
  12046. responses:
  12047. "200":
  12048. description: OK
  12049. schema:
  12050. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  12051. "500":
  12052. description: Internal Server Error
  12053. schema:
  12054. $ref: '#/definitions/app.Response'
  12055. security:
  12056. - ApiKeyAuth: []
  12057. summary: 查询产能预售委托单信息
  12058. tags:
  12059. - 产能预售
  12060. /CPTrade/QueryMyCPTradeGoods:
  12061. get:
  12062. parameters:
  12063. - description: 资金账户
  12064. in: query
  12065. name: accountid
  12066. required: true
  12067. type: integer
  12068. produces:
  12069. - application/json
  12070. responses:
  12071. "200":
  12072. description: OK
  12073. schema:
  12074. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  12075. "500":
  12076. description: Internal Server Error
  12077. schema:
  12078. $ref: '#/definitions/app.Response'
  12079. security:
  12080. - ApiKeyAuth: []
  12081. summary: 查询我的预售信息
  12082. tags:
  12083. - 产能预售
  12084. /CPTrade/QueryPositionCancel:
  12085. get:
  12086. parameters:
  12087. - description: 账户ID
  12088. in: query
  12089. name: userid
  12090. required: true
  12091. type: integer
  12092. - description: 注销ID
  12093. in: query
  12094. name: cancelid
  12095. type: integer
  12096. - description: 资金账户ID
  12097. in: query
  12098. name: accountid
  12099. type: integer
  12100. produces:
  12101. - application/json
  12102. responses:
  12103. "200":
  12104. description: OK
  12105. schema:
  12106. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  12107. "500":
  12108. description: Internal Server Error
  12109. schema:
  12110. $ref: '#/definitions/app.Response'
  12111. security:
  12112. - ApiKeyAuth: []
  12113. summary: 查询远期订单注销申请信息
  12114. tags:
  12115. - 产能预售
  12116. /CPTrade/QueryPreasleApply:
  12117. get:
  12118. parameters:
  12119. - description: 账户ID
  12120. in: query
  12121. name: userid
  12122. required: true
  12123. type: integer
  12124. - description: 申请ID
  12125. in: query
  12126. name: applyid
  12127. type: integer
  12128. - description: 资金账户ID
  12129. in: query
  12130. name: accountid
  12131. type: integer
  12132. produces:
  12133. - application/json
  12134. responses:
  12135. "200":
  12136. description: OK
  12137. schema:
  12138. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  12139. "500":
  12140. description: Internal Server Error
  12141. schema:
  12142. $ref: '#/definitions/app.Response'
  12143. security:
  12144. - ApiKeyAuth: []
  12145. summary: 查询产能预售申请信息
  12146. tags:
  12147. - 产能预售
  12148. /CPTrade/QueryPresaleGoodsEx:
  12149. get:
  12150. parameters:
  12151. - description: 预售商品ID
  12152. in: query
  12153. name: goodsid
  12154. type: integer
  12155. - description: 预售市场ID
  12156. in: query
  12157. name: marketid
  12158. type: integer
  12159. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  12160. in: query
  12161. name: presalemode
  12162. type: integer
  12163. - description: 预售商品ID列表 - 格式:1,2,3
  12164. in: query
  12165. name: goodsids
  12166. type: string
  12167. - description: 预售商品代码
  12168. in: query
  12169. name: goodscode
  12170. type: string
  12171. produces:
  12172. - application/json
  12173. responses:
  12174. "200":
  12175. description: OK
  12176. schema:
  12177. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  12178. "500":
  12179. description: Internal Server Error
  12180. schema:
  12181. $ref: '#/definitions/app.Response'
  12182. security:
  12183. - ApiKeyAuth: []
  12184. summary: 查询产能预售商品扩展信息
  12185. tags:
  12186. - 产能预售
  12187. /CPTrade/QueryUserGoodsData:
  12188. get:
  12189. parameters:
  12190. - description: 资金账户ID
  12191. in: query
  12192. name: accountid
  12193. required: true
  12194. type: integer
  12195. produces:
  12196. - application/json
  12197. responses:
  12198. "200":
  12199. description: OK
  12200. schema:
  12201. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  12202. "500":
  12203. description: Internal Server Error
  12204. schema:
  12205. $ref: '#/definitions/app.Response'
  12206. security:
  12207. - ApiKeyAuth: []
  12208. summary: 查询远期订单信息
  12209. tags:
  12210. - 产能预售
  12211. /Common/GetAllEnums:
  12212. get:
  12213. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  12214. parameters:
  12215. - description: 起始自增ID
  12216. in: query
  12217. name: autoid
  12218. type: integer
  12219. produces:
  12220. - application/json
  12221. responses:
  12222. "200":
  12223. description: OK
  12224. schema:
  12225. $ref: '#/definitions/models.Enumdicitem'
  12226. "500":
  12227. description: Internal Server Error
  12228. schema:
  12229. $ref: '#/definitions/app.Response'
  12230. summary: 获取所有枚举信息
  12231. tags:
  12232. - 通用服务
  12233. /Common/GetClientMenus:
  12234. get:
  12235. parameters:
  12236. - description: 登录账号
  12237. in: query
  12238. name: loginID
  12239. required: true
  12240. type: integer
  12241. - description: 终端类型,0:PC 1:Mobile
  12242. in: query
  12243. name: clientType
  12244. type: integer
  12245. produces:
  12246. - application/json
  12247. responses:
  12248. "200":
  12249. description: OK
  12250. schema:
  12251. items:
  12252. $ref: '#/definitions/common.ClientMenu'
  12253. type: array
  12254. "500":
  12255. description: Internal Server Error
  12256. schema:
  12257. $ref: '#/definitions/app.Response'
  12258. security:
  12259. - ApiKeyAuth: []
  12260. summary: 获取交易端菜单
  12261. tags:
  12262. - 通用服务
  12263. /Common/GetDivisions:
  12264. get:
  12265. produces:
  12266. - application/json
  12267. responses:
  12268. "200":
  12269. description: OK
  12270. schema:
  12271. $ref: '#/definitions/models.Division'
  12272. "500":
  12273. description: Internal Server Error
  12274. schema:
  12275. $ref: '#/definitions/app.Response'
  12276. summary: 查询区域信息
  12277. tags:
  12278. - 通用服务
  12279. /Common/GetServerTime:
  12280. get:
  12281. produces:
  12282. - application/json
  12283. responses:
  12284. "200":
  12285. description: OK
  12286. schema:
  12287. $ref: '#/definitions/app.Response'
  12288. "500":
  12289. description: Internal Server Error
  12290. schema:
  12291. $ref: '#/definitions/app.Response'
  12292. summary: 获取服务器时间
  12293. tags:
  12294. - 通用服务
  12295. /Common/NoticeReaded:
  12296. post:
  12297. parameters:
  12298. - description: 登录账号
  12299. in: query
  12300. name: loginID
  12301. required: true
  12302. type: integer
  12303. - description: 通知公告ID
  12304. in: query
  12305. name: noticeID
  12306. required: true
  12307. type: integer
  12308. produces:
  12309. - application/json
  12310. responses:
  12311. "200":
  12312. description: OK
  12313. schema:
  12314. $ref: '#/definitions/app.Response'
  12315. "500":
  12316. description: Internal Server Error
  12317. schema:
  12318. $ref: '#/definitions/app.Response'
  12319. security:
  12320. - ApiKeyAuth: []
  12321. summary: 通知公告设置已读请求
  12322. tags:
  12323. - 通用服务
  12324. /Common/QueryErrorInfos:
  12325. get:
  12326. description: 如果传入rowNumber,则返回此rowNumber后的数据
  12327. parameters:
  12328. - description: 起始行号前索引
  12329. in: query
  12330. name: rowNumber
  12331. type: string
  12332. produces:
  12333. - application/json
  12334. responses:
  12335. "200":
  12336. description: OK
  12337. schema:
  12338. $ref: '#/definitions/models.QueryErrorInfosRsp'
  12339. "500":
  12340. description: Internal Server Error
  12341. schema:
  12342. $ref: '#/definitions/app.Response'
  12343. summary: 获取数据库错误信息
  12344. tags:
  12345. - 通用服务
  12346. /Common/QueryImageConfigs:
  12347. get:
  12348. parameters:
  12349. - description: 类型 - 1:App首页轮播 2:我的
  12350. in: query
  12351. name: imageType
  12352. type: integer
  12353. produces:
  12354. - application/json
  12355. responses:
  12356. "200":
  12357. description: OK
  12358. schema:
  12359. $ref: '#/definitions/common.QueryImageConfigsRsp'
  12360. "500":
  12361. description: Internal Server Error
  12362. schema:
  12363. $ref: '#/definitions/app.Response'
  12364. summary: 查询轮播图配置信息
  12365. tags:
  12366. - 通用服务
  12367. /Common/QueryNotice:
  12368. get:
  12369. parameters:
  12370. - description: 页码
  12371. in: query
  12372. name: page
  12373. type: integer
  12374. - description: 每页条数
  12375. in: query
  12376. name: pagesize
  12377. type: integer
  12378. - description: 登录账号
  12379. in: query
  12380. name: loginID
  12381. required: true
  12382. type: integer
  12383. - description: 消息类型 - 1:公告通知 2:系统消息
  12384. in: query
  12385. name: msgType
  12386. type: integer
  12387. - description: 是否只获取未读信息
  12388. in: query
  12389. name: onlyUnRead
  12390. type: boolean
  12391. - description: 自增ID,传入后会返回这个ID后面的记录
  12392. in: query
  12393. name: lastID
  12394. type: integer
  12395. produces:
  12396. - application/json
  12397. responses:
  12398. "200":
  12399. description: OK
  12400. schema:
  12401. $ref: '#/definitions/common.QueryNoticeRsp'
  12402. "500":
  12403. description: Internal Server Error
  12404. schema:
  12405. $ref: '#/definitions/app.Response'
  12406. security:
  12407. - ApiKeyAuth: []
  12408. summary: 通知公告系统消息查询
  12409. tags:
  12410. - 通用服务
  12411. /Common/QueryProvincesAndCities:
  12412. get:
  12413. parameters:
  12414. - description: 省ID
  12415. in: query
  12416. name: provinceID
  12417. type: integer
  12418. produces:
  12419. - application/json
  12420. responses:
  12421. "200":
  12422. description: OK
  12423. schema:
  12424. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  12425. "500":
  12426. description: Internal Server Error
  12427. schema:
  12428. $ref: '#/definitions/app.Response'
  12429. summary: 查询省市信息(不包括区)
  12430. tags:
  12431. - 通用服务
  12432. /Common/QueryTableDefine:
  12433. get:
  12434. parameters:
  12435. - description: 表key
  12436. in: query
  12437. name: tableKey
  12438. type: string
  12439. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  12440. in: query
  12441. name: tableType
  12442. type: integer
  12443. produces:
  12444. - application/json
  12445. responses:
  12446. "200":
  12447. description: OK
  12448. schema:
  12449. $ref: '#/definitions/common.QueryTableDefineRsp'
  12450. "500":
  12451. description: Internal Server Error
  12452. schema:
  12453. $ref: '#/definitions/app.Response'
  12454. summary: 查询交易端列表头信息
  12455. tags:
  12456. - 通用服务
  12457. /Common/QueryTraderMenu:
  12458. get:
  12459. parameters:
  12460. - description: 登录账号
  12461. in: query
  12462. name: loginid
  12463. required: true
  12464. type: integer
  12465. produces:
  12466. - application/json
  12467. responses:
  12468. "200":
  12469. description: OK
  12470. schema:
  12471. $ref: '#/definitions/common.QueryTraderMenuRsp'
  12472. "500":
  12473. description: Internal Server Error
  12474. schema:
  12475. $ref: '#/definitions/app.Response'
  12476. summary: 查询交易端菜单
  12477. tags:
  12478. - 通用服务
  12479. /Delivery/QueryDeliveryRelation:
  12480. get:
  12481. parameters:
  12482. - description: 商品ID
  12483. in: query
  12484. name: goodsid
  12485. type: integer
  12486. - description: 品种ID
  12487. in: query
  12488. name: deliverygoodsid
  12489. type: integer
  12490. - description: 市场ID
  12491. in: query
  12492. name: marketid
  12493. type: integer
  12494. produces:
  12495. - application/json
  12496. responses:
  12497. "200":
  12498. description: OK
  12499. schema:
  12500. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  12501. "500":
  12502. description: Internal Server Error
  12503. schema:
  12504. $ref: '#/definitions/app.Response'
  12505. security:
  12506. - ApiKeyAuth: []
  12507. summary: 查询商品交割关系表
  12508. tags:
  12509. - 交割服务
  12510. /Ermcp/GetErmcpGoods:
  12511. get:
  12512. parameters:
  12513. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  12514. in: query
  12515. name: lastUpdateTime
  12516. type: string
  12517. produces:
  12518. - application/json
  12519. responses:
  12520. "200":
  12521. description: OK
  12522. schema:
  12523. $ref: '#/definitions/models.Goods'
  12524. "500":
  12525. description: Internal Server Error
  12526. schema:
  12527. $ref: '#/definitions/app.Response'
  12528. security:
  12529. - ApiKeyAuth: []
  12530. summary: 查询企业风管期货商品信息
  12531. tags:
  12532. - 企业风险管理(app)
  12533. /Ermcp/GetErmcpGoodsSortByPosition:
  12534. get:
  12535. parameters:
  12536. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  12537. in: query
  12538. name: sortIndex
  12539. type: string
  12540. produces:
  12541. - application/json
  12542. responses:
  12543. "200":
  12544. description: OK
  12545. schema:
  12546. $ref: '#/definitions/models.Goodssortbypreposition'
  12547. "500":
  12548. description: Internal Server Error
  12549. schema:
  12550. $ref: '#/definitions/app.Response'
  12551. security:
  12552. - ApiKeyAuth: []
  12553. summary: 查询企业风管期货主力、次主力商品信息
  12554. tags:
  12555. - 企业风险管理(app)
  12556. /Ermcp/GetErmcpOutAccountStatus:
  12557. get:
  12558. parameters:
  12559. - description: 登录账号
  12560. in: query
  12561. name: loginID
  12562. required: true
  12563. type: integer
  12564. produces:
  12565. - application/json
  12566. responses:
  12567. "200":
  12568. description: OK
  12569. schema:
  12570. $ref: '#/definitions/models.Hedgeoutmainconfig'
  12571. "500":
  12572. description: Internal Server Error
  12573. schema:
  12574. $ref: '#/definitions/app.Response'
  12575. security:
  12576. - ApiKeyAuth: []
  12577. summary: 获取目标登录账号当前对冲账号在线状态
  12578. tags:
  12579. - 企业风险管理(app)
  12580. /Ermcp/GetErmcpRoleFuncMenuLists:
  12581. get:
  12582. parameters:
  12583. - description: 登录账号
  12584. in: query
  12585. name: loginID
  12586. required: true
  12587. type: integer
  12588. produces:
  12589. - application/json
  12590. responses:
  12591. "200":
  12592. description: OK
  12593. schema:
  12594. $ref: '#/definitions/models.Funcmenulist'
  12595. "500":
  12596. description: Internal Server Error
  12597. schema:
  12598. $ref: '#/definitions/app.Response'
  12599. security:
  12600. - ApiKeyAuth: []
  12601. summary: 获取企业风管终端权限
  12602. tags:
  12603. - 企业风险管理(app)
  12604. /Ermcp/QryReportAreaSpotPL:
  12605. get:
  12606. parameters:
  12607. - description: 用户ID
  12608. in: query
  12609. name: userid
  12610. required: true
  12611. type: integer
  12612. - description: 查询类型 1-日报表 2-月报表
  12613. in: query
  12614. name: querytype
  12615. required: true
  12616. type: integer
  12617. - description: 查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)
  12618. in: query
  12619. name: querydate
  12620. required: true
  12621. type: string
  12622. - description: 现货商品ID
  12623. in: query
  12624. name: wrstandardid
  12625. type: integer
  12626. - description: 品牌ID
  12627. in: query
  12628. name: spotgoodsbrandid
  12629. type: integer
  12630. - description: 型号ID
  12631. in: query
  12632. name: spotgoodsmodelid
  12633. type: integer
  12634. produces:
  12635. - application/json
  12636. responses:
  12637. "200":
  12638. description: OK
  12639. schema:
  12640. items:
  12641. $ref: '#/definitions/models.ErmcpReportAreaSpotPL'
  12642. type: array
  12643. "500":
  12644. description: Internal Server Error
  12645. schema:
  12646. $ref: '#/definitions/app.Response'
  12647. security:
  12648. - ApiKeyAuth: []
  12649. summary: 查询现货损益报表(现货损益报表)
  12650. tags:
  12651. - 企业风险管理(app)
  12652. /Ermcp/QryReportDayExposure:
  12653. get:
  12654. parameters:
  12655. - description: 用户ID
  12656. in: query
  12657. name: userid
  12658. required: true
  12659. type: integer
  12660. - description: 交易日(格式:yyyyMMdd)
  12661. in: query
  12662. name: tradedate
  12663. required: true
  12664. type: string
  12665. produces:
  12666. - application/json
  12667. responses:
  12668. "200":
  12669. description: OK
  12670. schema:
  12671. items:
  12672. $ref: '#/definitions/ermcp.QryReportExposureDayRsp'
  12673. type: array
  12674. "500":
  12675. description: Internal Server Error
  12676. schema:
  12677. $ref: '#/definitions/app.Response'
  12678. security:
  12679. - ApiKeyAuth: []
  12680. summary: 查询敞口日报表(菜单:报表查询/敞口报表/敞口日报表)
  12681. tags:
  12682. - 企业风险管理(app)
  12683. /Ermcp/QryReportDayFinance:
  12684. get:
  12685. parameters:
  12686. - description: 用户ID
  12687. in: query
  12688. name: userid
  12689. required: true
  12690. type: integer
  12691. - description: 交易日(格式:yyyyMMdd)
  12692. in: query
  12693. name: tradedate
  12694. required: true
  12695. type: string
  12696. produces:
  12697. - application/json
  12698. responses:
  12699. "200":
  12700. description: OK
  12701. schema:
  12702. items:
  12703. $ref: '#/definitions/ermcp.QryReportFinanceDayRsp'
  12704. type: array
  12705. "500":
  12706. description: Internal Server Error
  12707. schema:
  12708. $ref: '#/definitions/app.Response'
  12709. security:
  12710. - ApiKeyAuth: []
  12711. summary: 查询财务日报表(菜单:报表查询/财务报表/日报表)
  12712. tags:
  12713. - 企业风险管理(app)
  12714. /Ermcp/QryReportDayFinanceFp:
  12715. get:
  12716. parameters:
  12717. - description: 用户ID
  12718. in: query
  12719. name: userid
  12720. required: true
  12721. type: integer
  12722. - description: 交易日(格式:yyyyMMdd)
  12723. in: query
  12724. name: tradedate
  12725. required: true
  12726. type: string
  12727. produces:
  12728. - application/json
  12729. responses:
  12730. "200":
  12731. description: OK
  12732. schema:
  12733. items:
  12734. $ref: '#/definitions/ermcp.QryReportFinanceKxRsp'
  12735. type: array
  12736. "500":
  12737. description: Internal Server Error
  12738. schema:
  12739. $ref: '#/definitions/app.Response'
  12740. security:
  12741. - ApiKeyAuth: []
  12742. summary: 查询财务日报表发票(菜单:报表查询/财务报表/日报表/发票)
  12743. tags:
  12744. - 企业风险管理(app)
  12745. /Ermcp/QryReportDayFinanceKx:
  12746. get:
  12747. parameters:
  12748. - description: 用户ID
  12749. in: query
  12750. name: userid
  12751. required: true
  12752. type: integer
  12753. - description: 交易日(格式:yyyyMMdd)
  12754. in: query
  12755. name: tradedate
  12756. required: true
  12757. type: string
  12758. produces:
  12759. - application/json
  12760. responses:
  12761. "200":
  12762. description: OK
  12763. schema:
  12764. items:
  12765. $ref: '#/definitions/ermcp.QryReportFinanceKxRsp'
  12766. type: array
  12767. "500":
  12768. description: Internal Server Error
  12769. schema:
  12770. $ref: '#/definitions/app.Response'
  12771. security:
  12772. - ApiKeyAuth: []
  12773. summary: 查询财务日报表款项(菜单:报表查询/财务报表/日报表/款项)
  12774. tags:
  12775. - 企业风险管理(app)
  12776. /Ermcp/QryReportDaySpot:
  12777. get:
  12778. parameters:
  12779. - description: 用户ID
  12780. in: query
  12781. name: userid
  12782. required: true
  12783. type: integer
  12784. - description: 交易日(格式:yyyyMMdd)
  12785. in: query
  12786. name: tradedate
  12787. required: true
  12788. type: string
  12789. produces:
  12790. - application/json
  12791. responses:
  12792. "200":
  12793. description: OK
  12794. schema:
  12795. items:
  12796. $ref: '#/definitions/ermcp.QryReportSpotDayRsp'
  12797. type: array
  12798. "500":
  12799. description: Internal Server Error
  12800. schema:
  12801. $ref: '#/definitions/app.Response'
  12802. security:
  12803. - ApiKeyAuth: []
  12804. summary: 查询现货日报表(菜单:报表查询/现货报表/现货日报表)
  12805. tags:
  12806. - 企业风险管理(app)
  12807. /Ermcp/QryReportDaySpotDetail:
  12808. get:
  12809. parameters:
  12810. - description: 用户ID
  12811. in: query
  12812. name: userid
  12813. required: true
  12814. type: integer
  12815. - description: 现货商品id
  12816. in: query
  12817. name: wrstandardid
  12818. required: true
  12819. type: integer
  12820. - description: 交易日(格式:yyyyMMdd)
  12821. in: query
  12822. name: tradedate
  12823. required: true
  12824. type: string
  12825. produces:
  12826. - application/json
  12827. responses:
  12828. "200":
  12829. description: OK
  12830. schema:
  12831. items:
  12832. $ref: '#/definitions/ermcp.QryReportDaySpotDetailRsp'
  12833. type: array
  12834. "500":
  12835. description: Internal Server Error
  12836. schema:
  12837. $ref: '#/definitions/app.Response'
  12838. security:
  12839. - ApiKeyAuth: []
  12840. summary: 查询现货日报表详情(菜单:报表查询/现货报表/现货日报表详情)
  12841. tags:
  12842. - 企业风险管理(app)
  12843. /Ermcp/QryReportMonthFinance:
  12844. get:
  12845. parameters:
  12846. - description: 用户ID
  12847. in: query
  12848. name: userid
  12849. required: true
  12850. type: integer
  12851. - description: 周期时间:月(格式:yyyyMM)
  12852. in: query
  12853. name: cycletime
  12854. required: true
  12855. type: string
  12856. produces:
  12857. - application/json
  12858. responses:
  12859. "200":
  12860. description: OK
  12861. schema:
  12862. items:
  12863. $ref: '#/definitions/ermcp.QryReportFinanceMonRsp'
  12864. type: array
  12865. "500":
  12866. description: Internal Server Error
  12867. schema:
  12868. $ref: '#/definitions/app.Response'
  12869. security:
  12870. - ApiKeyAuth: []
  12871. summary: 查询财务月报表(菜单:报表查询/财务报表/月报表)
  12872. tags:
  12873. - 企业风险管理(app)
  12874. /Ermcp/QryReportMonthSpot:
  12875. get:
  12876. parameters:
  12877. - description: 用户ID
  12878. in: query
  12879. name: userid
  12880. required: true
  12881. type: integer
  12882. - description: 周期时间:月(格式:yyyyMM)
  12883. in: query
  12884. name: cycletime
  12885. required: true
  12886. type: string
  12887. produces:
  12888. - application/json
  12889. responses:
  12890. "200":
  12891. description: OK
  12892. schema:
  12893. items:
  12894. $ref: '#/definitions/ermcp.QryReportSpotMonRsp'
  12895. type: array
  12896. "500":
  12897. description: Internal Server Error
  12898. schema:
  12899. $ref: '#/definitions/app.Response'
  12900. security:
  12901. - ApiKeyAuth: []
  12902. summary: 查询现货月报表(菜单:报表查询/现货报表/现货月报表)
  12903. tags:
  12904. - 企业风险管理(app)
  12905. /Ermcp/QryReportMonthSpotDetail:
  12906. get:
  12907. parameters:
  12908. - description: 用户ID
  12909. in: query
  12910. name: userid
  12911. required: true
  12912. type: integer
  12913. - description: 现货商品id
  12914. in: query
  12915. name: wrstandardid
  12916. required: true
  12917. type: integer
  12918. - description: 周期时间:月(格式:yyyyMM)
  12919. in: query
  12920. name: cycletime
  12921. required: true
  12922. type: string
  12923. produces:
  12924. - application/json
  12925. responses:
  12926. "200":
  12927. description: OK
  12928. schema:
  12929. items:
  12930. $ref: '#/definitions/ermcp.QryReportSpotMonthDetailRsp'
  12931. type: array
  12932. "500":
  12933. description: Internal Server Error
  12934. schema:
  12935. $ref: '#/definitions/app.Response'
  12936. security:
  12937. - ApiKeyAuth: []
  12938. summary: 查询现货月报表详情(菜单:报表查询/现货月报表/现货月报表详情)
  12939. tags:
  12940. - 企业风险管理(app)
  12941. /Ermcp/QueryAccMgrBizGroupSet:
  12942. get:
  12943. parameters:
  12944. - description: 用户ID
  12945. in: query
  12946. name: userid
  12947. required: true
  12948. type: integer
  12949. produces:
  12950. - application/json
  12951. responses:
  12952. "200":
  12953. description: OK
  12954. schema:
  12955. items:
  12956. $ref: '#/definitions/models.ErmcpBizGroupEx'
  12957. type: array
  12958. "500":
  12959. description: Internal Server Error
  12960. schema:
  12961. $ref: '#/definitions/app.Response'
  12962. security:
  12963. - ApiKeyAuth: []
  12964. summary: 查询业务类型分组(账户管理/账户设置)
  12965. tags:
  12966. - 企业风险管理(app)
  12967. /Ermcp/QueryAccMgrLoginUser:
  12968. get:
  12969. parameters:
  12970. - description: 用户ID
  12971. in: query
  12972. name: userid
  12973. required: true
  12974. type: integer
  12975. produces:
  12976. - application/json
  12977. responses:
  12978. "200":
  12979. description: OK
  12980. schema:
  12981. items:
  12982. $ref: '#/definitions/models.ErmcpLoginUserEx'
  12983. type: array
  12984. "500":
  12985. description: Internal Server Error
  12986. schema:
  12987. $ref: '#/definitions/app.Response'
  12988. security:
  12989. - ApiKeyAuth: []
  12990. summary: 查询账户管理登录账号(账户管理/登录账号)
  12991. tags:
  12992. - 企业风险管理(app)
  12993. /Ermcp/QueryAccMgrMainAccountInfo:
  12994. get:
  12995. parameters:
  12996. - description: 用户ID
  12997. in: query
  12998. name: userid
  12999. type: integer
  13000. - description: 主账号id
  13001. in: query
  13002. name: accountid
  13003. type: integer
  13004. produces:
  13005. - application/json
  13006. responses:
  13007. "200":
  13008. description: OK
  13009. schema:
  13010. items:
  13011. $ref: '#/definitions/models.MainAccountInfo'
  13012. type: array
  13013. "500":
  13014. description: Internal Server Error
  13015. schema:
  13016. $ref: '#/definitions/app.Response'
  13017. security:
  13018. - ApiKeyAuth: []
  13019. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  13020. tags:
  13021. - 企业风险管理(app)
  13022. /Ermcp/QueryAccMgrRole:
  13023. get:
  13024. parameters:
  13025. - description: 用户ID
  13026. in: query
  13027. name: userid
  13028. required: true
  13029. type: integer
  13030. produces:
  13031. - application/json
  13032. responses:
  13033. "200":
  13034. description: OK
  13035. schema:
  13036. items:
  13037. $ref: '#/definitions/models.ErmcpRole'
  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/QueryAccMgrRoleMenu:
  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: roleid
  13059. type: string
  13060. produces:
  13061. - application/json
  13062. responses:
  13063. "200":
  13064. description: OK
  13065. schema:
  13066. items:
  13067. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  13068. type: array
  13069. "500":
  13070. description: Internal Server Error
  13071. schema:
  13072. $ref: '#/definitions/app.Response'
  13073. security:
  13074. - ApiKeyAuth: []
  13075. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  13076. tags:
  13077. - 企业风险管理(app)
  13078. /Ermcp/QueryAccMgrTaAccountInfo:
  13079. get:
  13080. parameters:
  13081. - description: 用户ID
  13082. in: query
  13083. name: userid
  13084. required: true
  13085. type: integer
  13086. - description: 账号id
  13087. in: query
  13088. name: accountid
  13089. type: integer
  13090. produces:
  13091. - application/json
  13092. responses:
  13093. "200":
  13094. description: OK
  13095. schema:
  13096. items:
  13097. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  13098. type: array
  13099. "500":
  13100. description: Internal Server Error
  13101. schema:
  13102. $ref: '#/definitions/app.Response'
  13103. security:
  13104. - ApiKeyAuth: []
  13105. summary: 查询账户管理授信(账户管理/账户设置/授信)
  13106. tags:
  13107. - 企业风险管理(app)
  13108. /Ermcp/QueryAccMgrTaaccount:
  13109. get:
  13110. parameters:
  13111. - description: 用户ID
  13112. in: query
  13113. name: userid
  13114. required: true
  13115. type: integer
  13116. produces:
  13117. - application/json
  13118. responses:
  13119. "200":
  13120. description: OK
  13121. schema:
  13122. items:
  13123. $ref: '#/definitions/models.ErmcpTaAccountEx'
  13124. type: array
  13125. "500":
  13126. description: Internal Server Error
  13127. schema:
  13128. $ref: '#/definitions/app.Response'
  13129. security:
  13130. - ApiKeyAuth: []
  13131. summary: 查询账户管理期货账号(账户管理/期货账号)
  13132. tags:
  13133. - 企业风险管理(app)
  13134. /Ermcp/QueryAreaStock:
  13135. get:
  13136. parameters:
  13137. - description: 用户ID
  13138. in: query
  13139. name: userid
  13140. required: true
  13141. type: integer
  13142. produces:
  13143. - application/json
  13144. responses:
  13145. "200":
  13146. description: OK
  13147. schema:
  13148. items:
  13149. $ref: '#/definitions/models.ErmcpAreaStock'
  13150. type: array
  13151. "500":
  13152. description: Internal Server Error
  13153. schema:
  13154. $ref: '#/definitions/app.Response'
  13155. security:
  13156. - ApiKeyAuth: []
  13157. summary: 查询机构库存(库存管理/当前库存)
  13158. tags:
  13159. - 企业风险管理(app)
  13160. /Ermcp/QueryAreaStockApply:
  13161. get:
  13162. parameters:
  13163. - description: 用户ID
  13164. in: query
  13165. name: userid
  13166. required: true
  13167. type: integer
  13168. - description: 出入库类型(可多项,逗号隔开) 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  13169. in: query
  13170. name: inouttype
  13171. type: string
  13172. - description: 合同ID
  13173. in: query
  13174. name: spotcontractid
  13175. type: integer
  13176. - description: 现货商品ID
  13177. in: query
  13178. name: wrstandardid
  13179. type: integer
  13180. - description: 品牌ID
  13181. in: query
  13182. name: spotgoodsbrandid
  13183. type: integer
  13184. - description: 型号ID
  13185. in: query
  13186. name: spotgoodsmodelid
  13187. type: integer
  13188. - description: 仓库ID
  13189. in: query
  13190. name: warehouseinfoid
  13191. type: integer
  13192. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13193. in: query
  13194. name: applystatus
  13195. type: string
  13196. produces:
  13197. - application/json
  13198. responses:
  13199. "200":
  13200. description: OK
  13201. schema:
  13202. items:
  13203. $ref: '#/definitions/ermcp.QryAreaStockApplyRsp'
  13204. type: array
  13205. "500":
  13206. description: Internal Server Error
  13207. schema:
  13208. $ref: '#/definitions/app.Response'
  13209. security:
  13210. - ApiKeyAuth: []
  13211. summary: 查询库存申请(出入库记录|库存审核)
  13212. tags:
  13213. - 企业风险管理(app)
  13214. /Ermcp/QueryAreaStockApplySum:
  13215. get:
  13216. parameters:
  13217. - description: 合同ID
  13218. in: query
  13219. name: spotcontractid
  13220. type: integer
  13221. produces:
  13222. - application/json
  13223. responses:
  13224. "200":
  13225. description: OK
  13226. schema:
  13227. items:
  13228. $ref: '#/definitions/ermcp.QueryAreaStockApplySumRsp'
  13229. type: array
  13230. "500":
  13231. description: Internal Server Error
  13232. schema:
  13233. $ref: '#/definitions/app.Response'
  13234. security:
  13235. - ApiKeyAuth: []
  13236. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  13237. tags:
  13238. - 企业风险管理(app)
  13239. /Ermcp/QueryAreaStockReport:
  13240. get:
  13241. parameters:
  13242. - description: 用户ID
  13243. in: query
  13244. name: userid
  13245. required: true
  13246. type: integer
  13247. - description: 查询类型 1-日报表 2-月报表
  13248. in: query
  13249. name: querytype
  13250. required: true
  13251. type: integer
  13252. - description: 查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)
  13253. in: query
  13254. name: querydate
  13255. required: true
  13256. type: string
  13257. - description: 现货商品ID
  13258. in: query
  13259. name: wrstandardid
  13260. type: integer
  13261. - description: 品牌ID
  13262. in: query
  13263. name: spotgoodsbrandid
  13264. type: integer
  13265. - description: 型号ID
  13266. in: query
  13267. name: spotgoodsmodelid
  13268. type: integer
  13269. - description: 仓库ID
  13270. in: query
  13271. name: warehouseinfoid
  13272. type: integer
  13273. produces:
  13274. - application/json
  13275. responses:
  13276. "200":
  13277. description: OK
  13278. schema:
  13279. items:
  13280. $ref: '#/definitions/models.ErmcpAreaStockReport'
  13281. type: array
  13282. "500":
  13283. description: Internal Server Error
  13284. schema:
  13285. $ref: '#/definitions/app.Response'
  13286. security:
  13287. - ApiKeyAuth: []
  13288. summary: 查询库存报表
  13289. tags:
  13290. - 企业风险管理(app)
  13291. /Ermcp/QueryAreaStockReportDetail:
  13292. get:
  13293. parameters:
  13294. - description: 用户ID
  13295. in: query
  13296. name: userid
  13297. required: true
  13298. type: integer
  13299. - description: 查询类型 1-日报表明细 2-月报表明细
  13300. in: query
  13301. name: querytype
  13302. required: true
  13303. type: integer
  13304. - description: 明细类型 1:入库明细(采购入库+生产入库) 2:出库明细(销售出库+生产出库)
  13305. in: query
  13306. name: detailtype
  13307. required: true
  13308. type: integer
  13309. - description: 查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)
  13310. in: query
  13311. name: querydate
  13312. required: true
  13313. type: string
  13314. - description: 现货商品ID
  13315. in: query
  13316. name: wrstandardid
  13317. type: integer
  13318. - description: 品牌ID
  13319. in: query
  13320. name: spotgoodsbrandid
  13321. type: integer
  13322. - description: 型号ID
  13323. in: query
  13324. name: spotgoodsmodelid
  13325. type: integer
  13326. - description: 仓库ID
  13327. in: query
  13328. name: warehouseinfoid
  13329. type: integer
  13330. produces:
  13331. - application/json
  13332. responses:
  13333. "200":
  13334. description: OK
  13335. schema:
  13336. items:
  13337. $ref: '#/definitions/models.ErmcpAreaStockApply'
  13338. type: array
  13339. "500":
  13340. description: Internal Server Error
  13341. schema:
  13342. $ref: '#/definitions/app.Response'
  13343. security:
  13344. - ApiKeyAuth: []
  13345. summary: 查询库存报表明细
  13346. tags:
  13347. - 企业风险管理(app)
  13348. /Ermcp/QueryAvaildGoodsGroup:
  13349. get:
  13350. parameters:
  13351. - description: 所属机构ID
  13352. in: query
  13353. name: userid
  13354. required: true
  13355. type: integer
  13356. produces:
  13357. - application/json
  13358. responses:
  13359. "200":
  13360. description: OK
  13361. schema:
  13362. items:
  13363. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  13364. type: array
  13365. "500":
  13366. description: Internal Server Error
  13367. schema:
  13368. $ref: '#/definitions/app.Response'
  13369. security:
  13370. - ApiKeyAuth: []
  13371. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  13372. tags:
  13373. - 企业风险管理(app)
  13374. /Ermcp/QueryBusinessDj:
  13375. get:
  13376. parameters:
  13377. - description: 用户ID
  13378. in: query
  13379. name: UserId
  13380. required: true
  13381. type: integer
  13382. - description: 现货合同ID, 不填则查所有
  13383. in: query
  13384. name: relatedid
  13385. type: string
  13386. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13387. in: query
  13388. name: applystatus
  13389. type: string
  13390. produces:
  13391. - application/json
  13392. responses:
  13393. "200":
  13394. description: OK
  13395. schema:
  13396. items:
  13397. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  13398. type: array
  13399. "500":
  13400. description: Internal Server Error
  13401. schema:
  13402. $ref: '#/definitions/app.Response'
  13403. security:
  13404. - ApiKeyAuth: []
  13405. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  13406. tags:
  13407. - 企业风险管理(app)
  13408. /Ermcp/QueryBusinessFp:
  13409. get:
  13410. parameters:
  13411. - description: 用户ID
  13412. in: query
  13413. name: UserId
  13414. required: true
  13415. type: integer
  13416. - description: 现货合同ID, 不填则查所有
  13417. in: query
  13418. name: relatedid
  13419. type: string
  13420. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13421. in: query
  13422. name: applystatus
  13423. type: string
  13424. produces:
  13425. - application/json
  13426. responses:
  13427. "200":
  13428. description: OK
  13429. schema:
  13430. items:
  13431. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  13432. type: array
  13433. "500":
  13434. description: Internal Server Error
  13435. schema:
  13436. $ref: '#/definitions/app.Response'
  13437. security:
  13438. - ApiKeyAuth: []
  13439. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  13440. tags:
  13441. - 企业风险管理(app)
  13442. /Ermcp/QueryBusinessJs:
  13443. get:
  13444. parameters:
  13445. - description: 用户ID
  13446. in: query
  13447. name: UserId
  13448. required: true
  13449. type: integer
  13450. - description: 现货合同ID, 不填则查所有
  13451. in: query
  13452. name: relatedid
  13453. type: string
  13454. - description: 操作申请id
  13455. in: query
  13456. name: operateapplyid
  13457. type: string
  13458. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13459. in: query
  13460. name: applystatus
  13461. type: string
  13462. produces:
  13463. - application/json
  13464. responses:
  13465. "200":
  13466. description: OK
  13467. schema:
  13468. items:
  13469. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  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/QueryBusinessJsEx:
  13481. get:
  13482. parameters:
  13483. - description: 用户ID
  13484. in: query
  13485. name: UserId
  13486. required: true
  13487. type: integer
  13488. - description: 现货合同ID, 不填则查所有
  13489. in: query
  13490. name: relatedid
  13491. type: string
  13492. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13493. in: query
  13494. name: applystatus
  13495. type: string
  13496. produces:
  13497. - application/json
  13498. responses:
  13499. "200":
  13500. description: OK
  13501. schema:
  13502. items:
  13503. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  13504. type: array
  13505. "500":
  13506. description: Internal Server Error
  13507. schema:
  13508. $ref: '#/definitions/app.Response'
  13509. security:
  13510. - ApiKeyAuth: []
  13511. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  13512. tags:
  13513. - 企业风险管理(app)
  13514. /Ermcp/QueryBusinessKx:
  13515. get:
  13516. parameters:
  13517. - description: 用户ID
  13518. in: query
  13519. name: UserId
  13520. required: true
  13521. type: integer
  13522. - description: 现货合同ID, 不填则查所有
  13523. in: query
  13524. name: relatedid
  13525. type: string
  13526. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13527. in: query
  13528. name: applystatus
  13529. type: string
  13530. produces:
  13531. - application/json
  13532. responses:
  13533. "200":
  13534. description: OK
  13535. schema:
  13536. items:
  13537. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  13538. type: array
  13539. "500":
  13540. description: Internal Server Error
  13541. schema:
  13542. $ref: '#/definitions/app.Response'
  13543. security:
  13544. - ApiKeyAuth: []
  13545. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  13546. tags:
  13547. - 企业风险管理(app)
  13548. /Ermcp/QueryChangeLog:
  13549. get:
  13550. parameters:
  13551. - description: 合同ID
  13552. in: query
  13553. name: RelatedId
  13554. required: true
  13555. type: string
  13556. produces:
  13557. - application/json
  13558. responses:
  13559. "200":
  13560. description: OK
  13561. schema:
  13562. items:
  13563. $ref: '#/definitions/ermcp.QryOPLogRsp'
  13564. type: array
  13565. "500":
  13566. description: Internal Server Error
  13567. schema:
  13568. $ref: '#/definitions/app.Response'
  13569. security:
  13570. - ApiKeyAuth: []
  13571. summary: 查询变更记录
  13572. tags:
  13573. - 企业风险管理(app)
  13574. /Ermcp/QueryContract:
  13575. get:
  13576. parameters:
  13577. - description: 用户ID
  13578. in: query
  13579. name: userId
  13580. required: true
  13581. type: integer
  13582. - description: 合同类型 1-采购, -1-销售
  13583. in: query
  13584. name: contracttype
  13585. required: true
  13586. type: integer
  13587. - description: 查询类型 1-全部 2-待点价 3-履约结算
  13588. in: query
  13589. name: querytype
  13590. required: true
  13591. type: integer
  13592. - description: 合同ID(SpotContractId)
  13593. in: query
  13594. name: contractid
  13595. type: string
  13596. produces:
  13597. - application/json
  13598. responses:
  13599. "200":
  13600. description: OK
  13601. schema:
  13602. items:
  13603. $ref: '#/definitions/ermcp.QryErmcpRsp'
  13604. type: array
  13605. "500":
  13606. description: Internal Server Error
  13607. schema:
  13608. $ref: '#/definitions/app.Response'
  13609. security:
  13610. - ApiKeyAuth: []
  13611. summary: 查询合同(采购和销售)
  13612. tags:
  13613. - 企业风险管理(app)
  13614. /Ermcp/QueryErmcpHisOrderDetails:
  13615. get:
  13616. parameters:
  13617. - description: 资金账户ID
  13618. in: query
  13619. name: accountID
  13620. required: true
  13621. type: integer
  13622. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  13623. in: query
  13624. name: startDate
  13625. type: string
  13626. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  13627. in: query
  13628. name: endDate
  13629. type: string
  13630. produces:
  13631. - application/json
  13632. responses:
  13633. "200":
  13634. description: OK
  13635. schema:
  13636. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  13637. "500":
  13638. description: Internal Server Error
  13639. schema:
  13640. $ref: '#/definitions/app.Response'
  13641. security:
  13642. - ApiKeyAuth: []
  13643. summary: 获取企业风管期货历史委托单信息
  13644. tags:
  13645. - 企业风险管理(app)
  13646. /Ermcp/QueryErmcpHisTradeDetails:
  13647. get:
  13648. parameters:
  13649. - description: 资金账户ID
  13650. in: query
  13651. name: accountID
  13652. required: true
  13653. type: integer
  13654. - description: 商品ID
  13655. in: query
  13656. name: goodsID
  13657. type: integer
  13658. - description: 买卖方向,0:买 1:卖
  13659. in: query
  13660. name: buyOrSell
  13661. type: integer
  13662. - description: 关联委托单号
  13663. in: query
  13664. name: orderID
  13665. type: integer
  13666. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  13667. in: query
  13668. name: startDate
  13669. type: string
  13670. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  13671. in: query
  13672. name: endDate
  13673. type: string
  13674. produces:
  13675. - application/json
  13676. responses:
  13677. "200":
  13678. description: OK
  13679. schema:
  13680. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  13681. "500":
  13682. description: Internal Server Error
  13683. schema:
  13684. $ref: '#/definitions/app.Response'
  13685. security:
  13686. - ApiKeyAuth: []
  13687. summary: 获取企业风管期货历史成交单信息
  13688. tags:
  13689. - 企业风险管理(app)
  13690. /Ermcp/QueryErmcpInnerHolderDetails:
  13691. get:
  13692. parameters:
  13693. - description: 资金账户ID
  13694. in: query
  13695. name: accountID
  13696. required: true
  13697. type: integer
  13698. - description: 商品ID
  13699. in: query
  13700. name: goodsID
  13701. type: integer
  13702. - description: 买卖方向,0:买 1:卖
  13703. in: query
  13704. name: buyOrSell
  13705. type: integer
  13706. produces:
  13707. - application/json
  13708. responses:
  13709. "200":
  13710. description: OK
  13711. schema:
  13712. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  13713. "500":
  13714. description: Internal Server Error
  13715. schema:
  13716. $ref: '#/definitions/app.Response'
  13717. security:
  13718. - ApiKeyAuth: []
  13719. summary: 获取企业风管期货内部持仓单信息
  13720. tags:
  13721. - 企业风险管理(app)
  13722. /Ermcp/QueryErmcpOrderDetails:
  13723. get:
  13724. parameters:
  13725. - description: 资金账户ID
  13726. in: query
  13727. name: accountID
  13728. required: true
  13729. type: integer
  13730. produces:
  13731. - application/json
  13732. responses:
  13733. "200":
  13734. description: OK
  13735. schema:
  13736. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  13737. "500":
  13738. description: Internal Server Error
  13739. schema:
  13740. $ref: '#/definitions/app.Response'
  13741. security:
  13742. - ApiKeyAuth: []
  13743. summary: 获取企业风管期货委托单信息
  13744. tags:
  13745. - 企业风险管理(app)
  13746. /Ermcp/QueryErmcpTradeDetails:
  13747. get:
  13748. parameters:
  13749. - description: 资金账户ID
  13750. in: query
  13751. name: accountID
  13752. required: true
  13753. type: integer
  13754. - description: 商品ID
  13755. in: query
  13756. name: goodsID
  13757. type: integer
  13758. - description: 买卖方向,0:买 1:卖
  13759. in: query
  13760. name: buyOrSell
  13761. type: integer
  13762. - description: 关联委托单号
  13763. in: query
  13764. name: orderID
  13765. type: integer
  13766. produces:
  13767. - application/json
  13768. responses:
  13769. "200":
  13770. description: OK
  13771. schema:
  13772. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  13773. "500":
  13774. description: Internal Server Error
  13775. schema:
  13776. $ref: '#/definitions/app.Response'
  13777. security:
  13778. - ApiKeyAuth: []
  13779. summary: 获取企业风管期货成交单信息
  13780. tags:
  13781. - 企业风险管理(app)
  13782. /Ermcp/QueryErmcpTradePosition:
  13783. get:
  13784. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  13785. parameters:
  13786. - description: 资金账户ID
  13787. in: query
  13788. name: accountID
  13789. required: true
  13790. type: integer
  13791. - description: 所属市场ID
  13792. in: query
  13793. name: marketID
  13794. type: integer
  13795. produces:
  13796. - application/json
  13797. responses:
  13798. "200":
  13799. description: OK
  13800. schema:
  13801. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  13802. "500":
  13803. description: Internal Server Error
  13804. schema:
  13805. $ref: '#/definitions/app.Response'
  13806. security:
  13807. - ApiKeyAuth: []
  13808. summary: 获取企业风管期货持仓头寸信息
  13809. tags:
  13810. - 企业风险管理(app)
  13811. /Ermcp/QueryExposureDetail:
  13812. get:
  13813. parameters:
  13814. - description: 所属机构ID
  13815. in: query
  13816. name: areaUserId
  13817. required: true
  13818. type: integer
  13819. - description: 套保商品
  13820. in: query
  13821. name: middleGoodsId
  13822. required: true
  13823. type: integer
  13824. produces:
  13825. - application/json
  13826. responses:
  13827. "200":
  13828. description: OK
  13829. schema:
  13830. items:
  13831. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  13832. type: array
  13833. "500":
  13834. description: Internal Server Error
  13835. schema:
  13836. $ref: '#/definitions/app.Response'
  13837. security:
  13838. - ApiKeyAuth: []
  13839. summary: 查询敞口现货明细
  13840. tags:
  13841. - 企业风险管理(app)
  13842. /Ermcp/QueryExposureHedgePosition:
  13843. get:
  13844. parameters:
  13845. - description: 所属机构ID
  13846. in: query
  13847. name: areaUserId
  13848. required: true
  13849. type: integer
  13850. produces:
  13851. - application/json
  13852. responses:
  13853. "200":
  13854. description: OK
  13855. schema:
  13856. items:
  13857. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  13858. type: array
  13859. "500":
  13860. description: Internal Server Error
  13861. schema:
  13862. $ref: '#/definitions/app.Response'
  13863. security:
  13864. - ApiKeyAuth: []
  13865. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  13866. tags:
  13867. - 企业风险管理(app)
  13868. /Ermcp/QueryExposureHedgePositionDetail:
  13869. get:
  13870. parameters:
  13871. - description: 所属机构ID
  13872. in: query
  13873. name: areaUserId
  13874. required: true
  13875. type: integer
  13876. - description: 商品id
  13877. in: query
  13878. name: goodsId
  13879. required: true
  13880. type: integer
  13881. produces:
  13882. - application/json
  13883. responses:
  13884. "200":
  13885. description: OK
  13886. schema:
  13887. items:
  13888. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  13889. type: array
  13890. "500":
  13891. description: Internal Server Error
  13892. schema:
  13893. $ref: '#/definitions/app.Response'
  13894. security:
  13895. - ApiKeyAuth: []
  13896. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  13897. tags:
  13898. - 企业风险管理(app)
  13899. /Ermcp/QueryExposureSpot:
  13900. get:
  13901. parameters:
  13902. - description: 所属机构ID
  13903. in: query
  13904. name: areaUserId
  13905. required: true
  13906. type: integer
  13907. produces:
  13908. - application/json
  13909. responses:
  13910. "200":
  13911. description: OK
  13912. schema:
  13913. items:
  13914. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  13915. type: array
  13916. "500":
  13917. description: Internal Server Error
  13918. schema:
  13919. $ref: '#/definitions/app.Response'
  13920. security:
  13921. - ApiKeyAuth: []
  13922. summary: 查询敞口现货头寸(敞口/现货头寸)
  13923. tags:
  13924. - 企业风险管理(app)
  13925. /Ermcp/QueryExposureSpotDetail:
  13926. get:
  13927. parameters:
  13928. - description: 所属机构ID
  13929. in: query
  13930. name: areaUserId
  13931. required: true
  13932. type: integer
  13933. - description: 现货品种ID
  13934. in: query
  13935. name: wrstandardId
  13936. required: true
  13937. type: integer
  13938. produces:
  13939. - application/json
  13940. responses:
  13941. "200":
  13942. description: OK
  13943. schema:
  13944. items:
  13945. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  13946. type: array
  13947. "500":
  13948. description: Internal Server Error
  13949. schema:
  13950. $ref: '#/definitions/app.Response'
  13951. security:
  13952. - ApiKeyAuth: []
  13953. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  13954. tags:
  13955. - 企业风险管理(app)
  13956. /Ermcp/QueryFuturesCompany:
  13957. get:
  13958. produces:
  13959. - application/json
  13960. responses:
  13961. "200":
  13962. description: OK
  13963. schema:
  13964. items:
  13965. $ref: '#/definitions/models.ErmcpFuturesCompany'
  13966. type: array
  13967. "500":
  13968. description: Internal Server Error
  13969. schema:
  13970. $ref: '#/definitions/app.Response'
  13971. security:
  13972. - ApiKeyAuth: []
  13973. summary: 查询期货公司
  13974. tags:
  13975. - 企业风险管理(app)
  13976. /Ermcp/QueryGGConvertConfig:
  13977. get:
  13978. parameters:
  13979. - description: 品种id(不填则查所有)
  13980. in: query
  13981. name: goodsgroupid
  13982. type: integer
  13983. produces:
  13984. - application/json
  13985. responses:
  13986. "200":
  13987. description: OK
  13988. schema:
  13989. items:
  13990. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  13991. type: array
  13992. "500":
  13993. description: Internal Server Error
  13994. schema:
  13995. $ref: '#/definitions/app.Response'
  13996. security:
  13997. - ApiKeyAuth: []
  13998. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  13999. tags:
  14000. - 企业风险管理(app)
  14001. /Ermcp/QueryGoodsBrand:
  14002. get:
  14003. parameters:
  14004. - description: 用户ID
  14005. in: query
  14006. name: userid
  14007. required: true
  14008. type: integer
  14009. - description: 现货商品ID
  14010. in: query
  14011. name: wrstandardid
  14012. type: integer
  14013. produces:
  14014. - application/json
  14015. responses:
  14016. "200":
  14017. description: OK
  14018. schema:
  14019. items:
  14020. $ref: '#/definitions/models.ErmcpGoodsBrand'
  14021. type: array
  14022. "500":
  14023. description: Internal Server Error
  14024. schema:
  14025. $ref: '#/definitions/app.Response'
  14026. security:
  14027. - ApiKeyAuth: []
  14028. summary: 查询商品品牌
  14029. tags:
  14030. - 企业风险管理(app)
  14031. /Ermcp/QueryGoodsModel:
  14032. get:
  14033. parameters:
  14034. - description: 用户ID
  14035. in: query
  14036. name: userid
  14037. required: true
  14038. type: integer
  14039. produces:
  14040. - application/json
  14041. responses:
  14042. "200":
  14043. description: OK
  14044. schema:
  14045. items:
  14046. $ref: '#/definitions/models.ErmcpGoodsModel'
  14047. type: array
  14048. "500":
  14049. description: Internal Server Error
  14050. schema:
  14051. $ref: '#/definitions/app.Response'
  14052. security:
  14053. - ApiKeyAuth: []
  14054. summary: 查询商品型号
  14055. tags:
  14056. - 企业风险管理(app)
  14057. /Ermcp/QueryHedgePlan:
  14058. get:
  14059. parameters:
  14060. - description: 用户ID
  14061. in: query
  14062. name: userId
  14063. required: true
  14064. type: integer
  14065. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  14066. in: query
  14067. name: HedgePlanStatus
  14068. required: true
  14069. type: string
  14070. produces:
  14071. - application/json
  14072. responses:
  14073. "200":
  14074. description: OK
  14075. schema:
  14076. items:
  14077. $ref: '#/definitions/ermcp.QryHedgePlanRsp'
  14078. type: array
  14079. "500":
  14080. description: Internal Server Error
  14081. schema:
  14082. $ref: '#/definitions/app.Response'
  14083. security:
  14084. - ApiKeyAuth: []
  14085. summary: 查询套保计划
  14086. tags:
  14087. - 企业风险管理(app)
  14088. /Ermcp/QueryHisExposure:
  14089. get:
  14090. parameters:
  14091. - description: 所属机构ID
  14092. in: query
  14093. name: areaUserId
  14094. required: true
  14095. type: integer
  14096. - description: 每个品种记录数
  14097. in: query
  14098. name: lastNum
  14099. required: true
  14100. type: integer
  14101. produces:
  14102. - application/json
  14103. responses:
  14104. "200":
  14105. description: OK
  14106. schema:
  14107. items:
  14108. $ref: '#/definitions/ermcp.HisExposureRsp'
  14109. type: array
  14110. "500":
  14111. description: Internal Server Error
  14112. schema:
  14113. $ref: '#/definitions/app.Response'
  14114. security:
  14115. - ApiKeyAuth: []
  14116. summary: 查询历史敞口(菜单:敞口/历史敞口)
  14117. tags:
  14118. - 企业风险管理(app)
  14119. /Ermcp/QueryMiddleGoods:
  14120. get:
  14121. parameters:
  14122. - description: 所属机构ID
  14123. in: query
  14124. name: userid
  14125. required: true
  14126. type: integer
  14127. - description: 状态 0-停用 1-正常
  14128. in: query
  14129. name: status
  14130. required: true
  14131. type: integer
  14132. produces:
  14133. - application/json
  14134. responses:
  14135. "200":
  14136. description: OK
  14137. schema:
  14138. items:
  14139. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  14140. type: array
  14141. "500":
  14142. description: Internal Server Error
  14143. schema:
  14144. $ref: '#/definitions/app.Response'
  14145. security:
  14146. - ApiKeyAuth: []
  14147. summary: 查询套保品种(菜单:套保品种)
  14148. tags:
  14149. - 企业风险管理(app)
  14150. /Ermcp/QueryMiddleGoodsChangeLog:
  14151. get:
  14152. parameters:
  14153. - description: 所属机构ID
  14154. in: query
  14155. name: userid
  14156. required: true
  14157. type: integer
  14158. - description: 套保品种id
  14159. in: query
  14160. name: middlegoodsid
  14161. required: true
  14162. type: integer
  14163. produces:
  14164. - application/json
  14165. responses:
  14166. "200":
  14167. description: OK
  14168. schema:
  14169. items:
  14170. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  14171. type: array
  14172. "500":
  14173. description: Internal Server Error
  14174. schema:
  14175. $ref: '#/definitions/app.Response'
  14176. security:
  14177. - ApiKeyAuth: []
  14178. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  14179. tags:
  14180. - 企业风险管理(app)
  14181. /Ermcp/QueryMiddleGoodsDetail:
  14182. get:
  14183. parameters:
  14184. - description: 所属机构ID
  14185. in: query
  14186. name: userid
  14187. required: true
  14188. type: integer
  14189. - description: 套保品种id
  14190. in: query
  14191. name: middlegoodsid
  14192. type: integer
  14193. produces:
  14194. - application/json
  14195. responses:
  14196. "200":
  14197. description: OK
  14198. schema:
  14199. items:
  14200. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  14201. type: array
  14202. "500":
  14203. description: Internal Server Error
  14204. schema:
  14205. $ref: '#/definitions/app.Response'
  14206. security:
  14207. - ApiKeyAuth: []
  14208. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  14209. tags:
  14210. - 企业风险管理(app)
  14211. /Ermcp/QueryPendingAuditInfo:
  14212. get:
  14213. parameters:
  14214. - description: 用户ID
  14215. in: query
  14216. name: UserId
  14217. required: true
  14218. type: integer
  14219. produces:
  14220. - application/json
  14221. responses:
  14222. "200":
  14223. description: OK
  14224. schema:
  14225. items:
  14226. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  14227. type: array
  14228. "500":
  14229. description: Internal Server Error
  14230. schema:
  14231. $ref: '#/definitions/app.Response'
  14232. security:
  14233. - ApiKeyAuth: []
  14234. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  14235. tags:
  14236. - 企业风险管理(app)
  14237. /Ermcp/QueryRealtimeExposure:
  14238. get:
  14239. parameters:
  14240. - description: 所属机构ID
  14241. in: query
  14242. name: AreaUserID
  14243. required: true
  14244. type: integer
  14245. produces:
  14246. - application/json
  14247. responses:
  14248. "200":
  14249. description: OK
  14250. schema:
  14251. items:
  14252. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  14253. type: array
  14254. "500":
  14255. description: Internal Server Error
  14256. schema:
  14257. $ref: '#/definitions/app.Response'
  14258. security:
  14259. - ApiKeyAuth: []
  14260. summary: 查询实时敞口
  14261. tags:
  14262. - 企业风险管理(app)
  14263. /Ermcp/QueryRealtimeExposurePosition:
  14264. get:
  14265. parameters:
  14266. - description: 所属机构ID
  14267. in: query
  14268. name: areaUserId
  14269. required: true
  14270. type: integer
  14271. - description: 套保商品ID
  14272. in: query
  14273. name: middleGoodsId
  14274. required: true
  14275. type: integer
  14276. produces:
  14277. - application/json
  14278. responses:
  14279. "200":
  14280. description: OK
  14281. schema:
  14282. items:
  14283. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  14284. type: array
  14285. "500":
  14286. description: Internal Server Error
  14287. schema:
  14288. $ref: '#/definitions/app.Response'
  14289. security:
  14290. - ApiKeyAuth: []
  14291. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  14292. tags:
  14293. - 企业风险管理(app)
  14294. /Ermcp/QuerySpotContract:
  14295. get:
  14296. parameters:
  14297. - description: 用户ID
  14298. in: query
  14299. name: userId
  14300. required: true
  14301. type: integer
  14302. - description: 查询类型 1-未提交 2-待审核 3-履约中 4-已完成
  14303. in: query
  14304. name: QueryType
  14305. required: true
  14306. type: integer
  14307. produces:
  14308. - application/json
  14309. responses:
  14310. "200":
  14311. description: OK
  14312. schema:
  14313. items:
  14314. $ref: '#/definitions/ermcp.QrySpotContractRsp'
  14315. type: array
  14316. "500":
  14317. description: Internal Server Error
  14318. schema:
  14319. $ref: '#/definitions/app.Response'
  14320. security:
  14321. - ApiKeyAuth: []
  14322. summary: 查询现货合同(对应现货合同菜单)
  14323. tags:
  14324. - 企业风险管理(app)
  14325. /Ermcp/QuerySpotGoodsPrice:
  14326. get:
  14327. parameters:
  14328. - description: 用户ID
  14329. in: query
  14330. name: userid
  14331. required: true
  14332. type: integer
  14333. produces:
  14334. - application/json
  14335. responses:
  14336. "200":
  14337. description: OK
  14338. schema:
  14339. items:
  14340. $ref: '#/definitions/models.ErmcpSpotGoodsPrice'
  14341. type: array
  14342. "500":
  14343. description: Internal Server Error
  14344. schema:
  14345. $ref: '#/definitions/app.Response'
  14346. security:
  14347. - ApiKeyAuth: []
  14348. summary: 查询现货市价(现货市价)
  14349. tags:
  14350. - 企业风险管理(app)
  14351. /Ermcp/QuerySpotGoodsPriceLog:
  14352. get:
  14353. parameters:
  14354. - description: 用户ID
  14355. in: query
  14356. name: userid
  14357. required: true
  14358. type: integer
  14359. - description: 现货商品ID
  14360. in: query
  14361. name: wrstandardid
  14362. required: true
  14363. type: integer
  14364. produces:
  14365. - application/json
  14366. responses:
  14367. "200":
  14368. description: OK
  14369. schema:
  14370. items:
  14371. $ref: '#/definitions/models.ErmcpSpotGoodsPriceLog'
  14372. type: array
  14373. "500":
  14374. description: Internal Server Error
  14375. schema:
  14376. $ref: '#/definitions/app.Response'
  14377. security:
  14378. - ApiKeyAuth: []
  14379. summary: 查询现货市价详情(现货市价/详情)
  14380. tags:
  14381. - 企业风险管理(app)
  14382. /Ermcp/QueryTradeConfigTMP:
  14383. get:
  14384. parameters:
  14385. - description: 所属机构id
  14386. in: query
  14387. name: areauserid
  14388. type: integer
  14389. produces:
  14390. - application/json
  14391. responses:
  14392. "200":
  14393. description: OK
  14394. schema:
  14395. items:
  14396. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  14397. type: array
  14398. "500":
  14399. description: Internal Server Error
  14400. schema:
  14401. $ref: '#/definitions/app.Response'
  14402. security:
  14403. - ApiKeyAuth: []
  14404. summary: 查询交易模板配置
  14405. tags:
  14406. - 企业风险管理(app)
  14407. /Ermcp/QueryUserInfo:
  14408. get:
  14409. parameters:
  14410. - description: 所属机构用户ID
  14411. in: query
  14412. name: MemberUserID
  14413. required: true
  14414. type: integer
  14415. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  14416. in: query
  14417. name: queryType
  14418. required: true
  14419. type: integer
  14420. produces:
  14421. - application/json
  14422. responses:
  14423. "200":
  14424. description: OK
  14425. schema:
  14426. items:
  14427. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  14428. type: array
  14429. "500":
  14430. description: Internal Server Error
  14431. schema:
  14432. $ref: '#/definitions/app.Response'
  14433. security:
  14434. - ApiKeyAuth: []
  14435. summary: 查询客户资料
  14436. tags:
  14437. - 企业风险管理(app)
  14438. /Ermcp/QueryWarehouseInfo:
  14439. get:
  14440. parameters:
  14441. - description: 用户ID
  14442. in: query
  14443. name: userid
  14444. required: true
  14445. type: integer
  14446. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  14447. in: query
  14448. name: status
  14449. type: string
  14450. produces:
  14451. - application/json
  14452. responses:
  14453. "200":
  14454. description: OK
  14455. schema:
  14456. items:
  14457. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  14458. type: array
  14459. "500":
  14460. description: Internal Server Error
  14461. schema:
  14462. $ref: '#/definitions/app.Response'
  14463. security:
  14464. - ApiKeyAuth: []
  14465. summary: 查询仓库信息
  14466. tags:
  14467. - 企业风险管理(app)
  14468. /Ermcp/QueryWrStandard:
  14469. get:
  14470. parameters:
  14471. - description: 所属机构ID
  14472. in: query
  14473. name: userid
  14474. required: true
  14475. type: integer
  14476. - description: 状态 0-停用 1-正常
  14477. in: query
  14478. name: status
  14479. required: true
  14480. type: integer
  14481. produces:
  14482. - application/json
  14483. responses:
  14484. "200":
  14485. description: OK
  14486. schema:
  14487. items:
  14488. $ref: '#/definitions/ermcp.QryWrStandardRsp'
  14489. type: array
  14490. "500":
  14491. description: Internal Server Error
  14492. schema:
  14493. $ref: '#/definitions/app.Response'
  14494. security:
  14495. - ApiKeyAuth: []
  14496. summary: 查询现货商品
  14497. tags:
  14498. - 企业风险管理(app)
  14499. /Ermcp/QueryWrStandardDetail:
  14500. get:
  14501. parameters:
  14502. - description: 所属机构ID
  14503. in: query
  14504. name: userid
  14505. required: true
  14506. type: integer
  14507. - description: 现货商品ID
  14508. in: query
  14509. name: wrstandardid
  14510. type: integer
  14511. - description: 可不填, 1-查询关联交易商品
  14512. in: query
  14513. name: goods
  14514. type: integer
  14515. produces:
  14516. - application/json
  14517. responses:
  14518. "200":
  14519. description: OK
  14520. schema:
  14521. items:
  14522. $ref: '#/definitions/ermcp.QryWrStandardDetailRsp'
  14523. type: array
  14524. "500":
  14525. description: Internal Server Error
  14526. schema:
  14527. $ref: '#/definitions/app.Response'
  14528. security:
  14529. - ApiKeyAuth: []
  14530. summary: 查询现货商品详情(菜单:现货品种/现货品种详情)
  14531. tags:
  14532. - 企业风险管理(app)
  14533. /Ermcp3/QryReportAreaSpotPL:
  14534. get:
  14535. parameters:
  14536. - description: 用户ID
  14537. in: query
  14538. name: userid
  14539. required: true
  14540. type: integer
  14541. - description: 查询类型 1-日报表 2-月报表
  14542. in: query
  14543. name: querytype
  14544. required: true
  14545. type: integer
  14546. - description: 查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)
  14547. in: query
  14548. name: querydate
  14549. required: true
  14550. type: string
  14551. - description: 现货商品ID
  14552. in: query
  14553. name: deliverygoodsid
  14554. type: integer
  14555. - description: 品牌ID
  14556. in: query
  14557. name: spotgoodsbrandid
  14558. type: integer
  14559. - description: 品类ID
  14560. in: query
  14561. name: wrstandardid
  14562. type: integer
  14563. produces:
  14564. - application/json
  14565. responses:
  14566. "200":
  14567. description: OK
  14568. schema:
  14569. items:
  14570. $ref: '#/definitions/models.Ermcp3ReportAreaSpotPL'
  14571. type: array
  14572. "500":
  14573. description: Internal Server Error
  14574. schema:
  14575. $ref: '#/definitions/app.Response'
  14576. security:
  14577. - ApiKeyAuth: []
  14578. summary: 查询现货损益报表(现货损益报表)
  14579. tags:
  14580. - 企业风险管理v3(app)
  14581. /Ermcp3/QryReportDayFinanceFp:
  14582. get:
  14583. parameters:
  14584. - description: 用户ID
  14585. in: query
  14586. name: userid
  14587. required: true
  14588. type: integer
  14589. - description: 交易日(格式:yyyyMMdd)
  14590. in: query
  14591. name: tradedate
  14592. required: true
  14593. type: string
  14594. produces:
  14595. - application/json
  14596. responses:
  14597. "200":
  14598. description: OK
  14599. schema:
  14600. items:
  14601. $ref: '#/definitions/models.Ermcp3ReportOPLog'
  14602. type: array
  14603. "500":
  14604. description: Internal Server Error
  14605. schema:
  14606. $ref: '#/definitions/app.Response'
  14607. security:
  14608. - ApiKeyAuth: []
  14609. summary: 查询财务日报表发票(菜单:报表查询/财务报表/日报表/发票)
  14610. tags:
  14611. - 企业风险管理v3(app)
  14612. /Ermcp3/QryReportDayFinanceKx:
  14613. get:
  14614. parameters:
  14615. - description: 用户ID
  14616. in: query
  14617. name: userid
  14618. required: true
  14619. type: integer
  14620. - description: 交易日(格式:yyyyMMdd)
  14621. in: query
  14622. name: tradedate
  14623. required: true
  14624. type: string
  14625. produces:
  14626. - application/json
  14627. responses:
  14628. "200":
  14629. description: OK
  14630. schema:
  14631. items:
  14632. $ref: '#/definitions/models.Ermcp3ReportOPLog'
  14633. type: array
  14634. "500":
  14635. description: Internal Server Error
  14636. schema:
  14637. $ref: '#/definitions/app.Response'
  14638. security:
  14639. - ApiKeyAuth: []
  14640. summary: 查询财务日报表款项(菜单:报表查询/财务报表/日报表/款项)
  14641. tags:
  14642. - 企业风险管理v3(app)
  14643. /Ermcp3/QryReportDaySpot:
  14644. get:
  14645. parameters:
  14646. - description: 用户ID
  14647. in: query
  14648. name: userid
  14649. required: true
  14650. type: integer
  14651. - description: 交易日(格式:yyyyMMdd)
  14652. in: query
  14653. name: tradedate
  14654. required: true
  14655. type: string
  14656. produces:
  14657. - application/json
  14658. responses:
  14659. "200":
  14660. description: OK
  14661. schema:
  14662. items:
  14663. $ref: '#/definitions/models.Ermcp3ReportDaySpot'
  14664. type: array
  14665. "500":
  14666. description: Internal Server Error
  14667. schema:
  14668. $ref: '#/definitions/app.Response'
  14669. security:
  14670. - ApiKeyAuth: []
  14671. summary: 查询现货日报表(菜单:报表查询/现货报表/现货日报表)
  14672. tags:
  14673. - 企业风险管理v3(app)
  14674. /Ermcp3/QryReportDaySpotDetail:
  14675. get:
  14676. parameters:
  14677. - description: 用户ID
  14678. in: query
  14679. name: userid
  14680. required: true
  14681. type: integer
  14682. - description: 现货商品id
  14683. in: query
  14684. name: deliverygoodsid
  14685. required: true
  14686. type: integer
  14687. - description: 交易日(格式:yyyyMMdd)
  14688. in: query
  14689. name: tradedate
  14690. required: true
  14691. type: string
  14692. produces:
  14693. - application/json
  14694. responses:
  14695. "200":
  14696. description: OK
  14697. schema:
  14698. items:
  14699. $ref: '#/definitions/models.Ermcp3ReportOPLog'
  14700. type: array
  14701. "500":
  14702. description: Internal Server Error
  14703. schema:
  14704. $ref: '#/definitions/app.Response'
  14705. security:
  14706. - ApiKeyAuth: []
  14707. summary: 查询现货日报表详情(菜单:报表查询/现货报表/现货日报表详情)
  14708. tags:
  14709. - 企业风险管理v3(app)
  14710. /Ermcp3/QryReportMonthSpot:
  14711. get:
  14712. parameters:
  14713. - description: 用户ID
  14714. in: query
  14715. name: userid
  14716. required: true
  14717. type: integer
  14718. - description: 周期时间:月(格式:yyyyMM)
  14719. in: query
  14720. name: cycletime
  14721. required: true
  14722. type: string
  14723. produces:
  14724. - application/json
  14725. responses:
  14726. "200":
  14727. description: OK
  14728. schema:
  14729. items:
  14730. $ref: '#/definitions/models.Ermcp3ReportMonSpot'
  14731. type: array
  14732. "500":
  14733. description: Internal Server Error
  14734. schema:
  14735. $ref: '#/definitions/app.Response'
  14736. security:
  14737. - ApiKeyAuth: []
  14738. summary: 查询现货月报表(菜单:报表查询/现货报表/现货月报表)
  14739. tags:
  14740. - 企业风险管理v3(app)
  14741. /Ermcp3/QryReportMonthSpotDetail:
  14742. get:
  14743. parameters:
  14744. - description: 用户ID
  14745. in: query
  14746. name: userid
  14747. required: true
  14748. type: integer
  14749. - description: 现货商品id
  14750. in: query
  14751. name: deliverygoodsid
  14752. required: true
  14753. type: integer
  14754. - description: 周期时间:月(格式:yyyyMM)
  14755. in: query
  14756. name: cycletime
  14757. required: true
  14758. type: string
  14759. produces:
  14760. - application/json
  14761. responses:
  14762. "200":
  14763. description: OK
  14764. schema:
  14765. items:
  14766. $ref: '#/definitions/models.Ermcp3ReportDaySpot'
  14767. type: array
  14768. "500":
  14769. description: Internal Server Error
  14770. schema:
  14771. $ref: '#/definitions/app.Response'
  14772. security:
  14773. - ApiKeyAuth: []
  14774. summary: 查询现货月报表详情(菜单:报表查询/现货月报表/现货月报表详情)
  14775. tags:
  14776. - 企业风险管理v3(app)
  14777. /Ermcp3/QueryAreaStockApply:
  14778. get:
  14779. parameters:
  14780. - description: 用户ID
  14781. in: query
  14782. name: userid
  14783. required: true
  14784. type: integer
  14785. - description: 现货商品ID
  14786. in: query
  14787. name: deliverygoodsid
  14788. type: integer
  14789. - description: 出入库类型(可多项,逗号隔开) 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  14790. in: query
  14791. name: inouttype
  14792. type: string
  14793. - description: 合同ID
  14794. in: query
  14795. name: spotcontractid
  14796. type: integer
  14797. - description: 品类ID
  14798. in: query
  14799. name: wrstandardid
  14800. type: integer
  14801. - description: 品牌ID
  14802. in: query
  14803. name: spotgoodsbrandid
  14804. type: integer
  14805. - description: 仓库ID
  14806. in: query
  14807. name: warehouseinfoid
  14808. type: integer
  14809. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  14810. in: query
  14811. name: applystatus
  14812. type: string
  14813. produces:
  14814. - application/json
  14815. responses:
  14816. "200":
  14817. description: OK
  14818. schema:
  14819. items:
  14820. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  14821. type: array
  14822. "500":
  14823. description: Internal Server Error
  14824. schema:
  14825. $ref: '#/definitions/app.Response'
  14826. security:
  14827. - ApiKeyAuth: []
  14828. summary: 查询库存申请(出入库记录|库存审核)
  14829. tags:
  14830. - 企业风险管理v3(app)
  14831. /Ermcp3/QueryAreaStockApplySum:
  14832. get:
  14833. parameters:
  14834. - description: 合同ID
  14835. in: query
  14836. name: spotcontractid
  14837. type: integer
  14838. produces:
  14839. - application/json
  14840. responses:
  14841. "200":
  14842. description: OK
  14843. schema:
  14844. items:
  14845. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  14846. type: array
  14847. "500":
  14848. description: Internal Server Error
  14849. schema:
  14850. $ref: '#/definitions/app.Response'
  14851. security:
  14852. - ApiKeyAuth: []
  14853. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  14854. tags:
  14855. - 企业风险管理v3(app)
  14856. /Ermcp3/QueryAreaStockReport:
  14857. get:
  14858. parameters:
  14859. - description: 用户ID
  14860. in: query
  14861. name: userid
  14862. required: true
  14863. type: integer
  14864. - description: 查询类型 1-日报表 2-月报表
  14865. in: query
  14866. name: querytype
  14867. required: true
  14868. type: integer
  14869. - description: 查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)
  14870. in: query
  14871. name: querydate
  14872. required: true
  14873. type: string
  14874. - description: 现货商品ID
  14875. in: query
  14876. name: deliverygoodsid
  14877. type: integer
  14878. - description: 品类ID
  14879. in: query
  14880. name: wrstandardid
  14881. type: integer
  14882. - description: 品牌ID
  14883. in: query
  14884. name: spotgoodsbrandid
  14885. type: integer
  14886. - description: 仓库ID
  14887. in: query
  14888. name: warehouseinfoid
  14889. type: integer
  14890. produces:
  14891. - application/json
  14892. responses:
  14893. "200":
  14894. description: OK
  14895. schema:
  14896. items:
  14897. $ref: '#/definitions/models.Ermcp3AreaStockReport'
  14898. type: array
  14899. "500":
  14900. description: Internal Server Error
  14901. schema:
  14902. $ref: '#/definitions/app.Response'
  14903. security:
  14904. - ApiKeyAuth: []
  14905. summary: 查询库存报表
  14906. tags:
  14907. - 企业风险管理v3(app)
  14908. /Ermcp3/QueryAreaStockReportDetail:
  14909. get:
  14910. parameters:
  14911. - description: 用户ID
  14912. in: query
  14913. name: userid
  14914. required: true
  14915. type: integer
  14916. - description: 查询类型 1-日报表明细 2-月报表明细
  14917. in: query
  14918. name: querytype
  14919. required: true
  14920. type: integer
  14921. - description: 明细类型 1:入库明细(采购入库+生产入库) 2:出库明细(销售出库+生产出库)
  14922. in: query
  14923. name: detailtype
  14924. required: true
  14925. type: integer
  14926. - description: 查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)
  14927. in: query
  14928. name: querydate
  14929. required: true
  14930. type: string
  14931. - description: 现货商品ID
  14932. in: query
  14933. name: deliverygoodsid
  14934. type: integer
  14935. - description: 品类ID
  14936. in: query
  14937. name: wrstandardid
  14938. type: integer
  14939. - description: 品牌ID
  14940. in: query
  14941. name: spotgoodsbrandid
  14942. type: integer
  14943. - description: 仓库ID
  14944. in: query
  14945. name: warehouseinfoid
  14946. type: integer
  14947. produces:
  14948. - application/json
  14949. responses:
  14950. "200":
  14951. description: OK
  14952. schema:
  14953. items:
  14954. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  14955. type: array
  14956. "500":
  14957. description: Internal Server Error
  14958. schema:
  14959. $ref: '#/definitions/app.Response'
  14960. security:
  14961. - ApiKeyAuth: []
  14962. summary: 查询库存报表明细
  14963. tags:
  14964. - 企业风险管理v3(app)
  14965. /Ermcp3/QueryDGFactoryItem:
  14966. get:
  14967. parameters:
  14968. - description: 所属机构ID
  14969. in: query
  14970. name: areauserid
  14971. type: integer
  14972. - description: 选择项ID(SEQ_DGFACTORYITEM)
  14973. in: query
  14974. name: dgfactoryitemid
  14975. type: integer
  14976. - description: 现货品种ID
  14977. in: query
  14978. name: deliverygoodsid
  14979. type: integer
  14980. - description: 要素项类型
  14981. in: query
  14982. name: dgfactoryitemtypeid
  14983. type: integer
  14984. - description: 顺序
  14985. in: query
  14986. name: orderindex
  14987. type: integer
  14988. produces:
  14989. - application/json
  14990. responses:
  14991. "200":
  14992. description: OK
  14993. schema:
  14994. items:
  14995. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  14996. type: array
  14997. "500":
  14998. description: Internal Server Error
  14999. schema:
  15000. $ref: '#/definitions/app.Response'
  15001. security:
  15002. - ApiKeyAuth: []
  15003. summary: 查询品种要素定义项
  15004. tags:
  15005. - 企业风险管理v3(app)
  15006. /Ermcp3/QueryDeliveryGoods:
  15007. get:
  15008. parameters:
  15009. - description: 所属机构id
  15010. in: query
  15011. name: areauserid
  15012. required: true
  15013. type: integer
  15014. - description: 排除已配置的现货商品 1-排除
  15015. in: query
  15016. name: excludecfg
  15017. type: integer
  15018. produces:
  15019. - application/json
  15020. responses:
  15021. "200":
  15022. description: OK
  15023. schema:
  15024. items:
  15025. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  15026. type: array
  15027. "500":
  15028. description: Internal Server Error
  15029. schema:
  15030. $ref: '#/definitions/app.Response'
  15031. security:
  15032. - ApiKeyAuth: []
  15033. summary: 查询现货商品
  15034. tags:
  15035. - 企业风险管理v3(app)
  15036. /Ermcp3/QueryDeliveryGoodsDetail:
  15037. get:
  15038. parameters:
  15039. - description: 所属机构id
  15040. in: query
  15041. name: areauserid
  15042. required: true
  15043. type: integer
  15044. - description: 现货商品id
  15045. in: query
  15046. name: deliverygoodsid
  15047. type: integer
  15048. - description: 是否查询关联交易商品 1-查询
  15049. in: query
  15050. name: qrytradegoods
  15051. type: integer
  15052. produces:
  15053. - application/json
  15054. responses:
  15055. "200":
  15056. description: OK
  15057. schema:
  15058. items:
  15059. $ref: '#/definitions/models.ErmcpDeliveryGoodsDetail'
  15060. type: array
  15061. "500":
  15062. description: Internal Server Error
  15063. schema:
  15064. $ref: '#/definitions/app.Response'
  15065. security:
  15066. - ApiKeyAuth: []
  15067. summary: 查询现货商品详情
  15068. tags:
  15069. - 企业风险管理v3(app)
  15070. /Ermcp3/QueryExposureDetail:
  15071. get:
  15072. parameters:
  15073. - description: 所属机构ID
  15074. in: query
  15075. name: areaUserId
  15076. required: true
  15077. type: integer
  15078. - description: 套保商品
  15079. in: query
  15080. name: middleGoodsId
  15081. required: true
  15082. type: integer
  15083. produces:
  15084. - application/json
  15085. responses:
  15086. "200":
  15087. description: OK
  15088. schema:
  15089. items:
  15090. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  15091. type: array
  15092. "500":
  15093. description: Internal Server Error
  15094. schema:
  15095. $ref: '#/definitions/app.Response'
  15096. security:
  15097. - ApiKeyAuth: []
  15098. summary: 查询敞口现货明细
  15099. tags:
  15100. - 企业风险管理v3(app)
  15101. /Ermcp3/QueryExposureSpot:
  15102. get:
  15103. parameters:
  15104. - description: 所属机构ID
  15105. in: query
  15106. name: areaUserId
  15107. required: true
  15108. type: integer
  15109. produces:
  15110. - application/json
  15111. responses:
  15112. "200":
  15113. description: OK
  15114. schema:
  15115. items:
  15116. $ref: '#/definitions/models.Ermcp3AreaSpot'
  15117. type: array
  15118. "500":
  15119. description: Internal Server Error
  15120. schema:
  15121. $ref: '#/definitions/app.Response'
  15122. security:
  15123. - ApiKeyAuth: []
  15124. summary: 查询敞口现货头寸(敞口/现货头寸)
  15125. tags:
  15126. - 企业风险管理v3(app)
  15127. /Ermcp3/QueryExposureSpotDetail:
  15128. get:
  15129. parameters:
  15130. - description: 所属机构ID
  15131. in: query
  15132. name: areauserid
  15133. required: true
  15134. type: integer
  15135. - description: 现货品种ID
  15136. in: query
  15137. name: deliverygoodsid
  15138. required: true
  15139. type: integer
  15140. produces:
  15141. - application/json
  15142. responses:
  15143. "200":
  15144. description: OK
  15145. schema:
  15146. items:
  15147. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  15148. type: array
  15149. "500":
  15150. description: Internal Server Error
  15151. schema:
  15152. $ref: '#/definitions/app.Response'
  15153. security:
  15154. - ApiKeyAuth: []
  15155. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  15156. tags:
  15157. - 企业风险管理v3(app)
  15158. /Ermcp3/QueryGoodsWrstandard:
  15159. get:
  15160. parameters:
  15161. - description: 所属机构ID
  15162. in: query
  15163. name: areauserid
  15164. required: true
  15165. type: integer
  15166. - description: 现货商品id
  15167. in: query
  15168. name: deliverygoodsid
  15169. type: integer
  15170. produces:
  15171. - application/json
  15172. responses:
  15173. "200":
  15174. description: OK
  15175. schema:
  15176. items:
  15177. $ref: '#/definitions/models.Ermcp3Wrstandard'
  15178. type: array
  15179. "500":
  15180. description: Internal Server Error
  15181. schema:
  15182. $ref: '#/definitions/app.Response'
  15183. security:
  15184. - ApiKeyAuth: []
  15185. summary: 查询商品品类
  15186. tags:
  15187. - 企业风险管理v3(app)
  15188. /Ermcp3/QueryGoodsbrand:
  15189. get:
  15190. parameters:
  15191. - description: 所属机构ID
  15192. in: query
  15193. name: areauserid
  15194. required: true
  15195. type: integer
  15196. produces:
  15197. - application/json
  15198. responses:
  15199. "200":
  15200. description: OK
  15201. schema:
  15202. items:
  15203. $ref: '#/definitions/models.Ermcp3Brand'
  15204. type: array
  15205. "500":
  15206. description: Internal Server Error
  15207. schema:
  15208. $ref: '#/definitions/app.Response'
  15209. security:
  15210. - ApiKeyAuth: []
  15211. summary: 查询商品品牌
  15212. tags:
  15213. - 企业风险管理v3(app)
  15214. /Ermcp3/QueryHedgePlan:
  15215. get:
  15216. parameters:
  15217. - description: 用户ID
  15218. in: query
  15219. name: userid
  15220. required: true
  15221. type: integer
  15222. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  15223. in: query
  15224. name: hedgeplanstatus
  15225. required: true
  15226. type: string
  15227. produces:
  15228. - application/json
  15229. responses:
  15230. "200":
  15231. description: OK
  15232. schema:
  15233. items:
  15234. $ref: '#/definitions/models.Ermcp3HedgePlan'
  15235. type: array
  15236. "500":
  15237. description: Internal Server Error
  15238. schema:
  15239. $ref: '#/definitions/app.Response'
  15240. security:
  15241. - ApiKeyAuth: []
  15242. summary: 查询套保计划
  15243. tags:
  15244. - 企业风险管理v3(app)
  15245. /Ermcp3/QuerySpotContract:
  15246. get:
  15247. parameters:
  15248. - description: 所属机构ID
  15249. in: query
  15250. name: areauserid
  15251. required: true
  15252. type: integer
  15253. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  15254. in: query
  15255. name: querytype
  15256. required: true
  15257. type: integer
  15258. - description: 用户ID
  15259. in: query
  15260. name: userid
  15261. type: integer
  15262. - description: 用户类型 2-机构 7-企业成员
  15263. in: query
  15264. name: usertype
  15265. type: integer
  15266. - description: 合同ID(SpotContractId)
  15267. in: query
  15268. name: contractid
  15269. type: string
  15270. produces:
  15271. - application/json
  15272. responses:
  15273. "200":
  15274. description: OK
  15275. schema:
  15276. items:
  15277. $ref: '#/definitions/models.Ermcp3Contract'
  15278. type: array
  15279. "500":
  15280. description: Internal Server Error
  15281. schema:
  15282. $ref: '#/definitions/app.Response'
  15283. security:
  15284. - ApiKeyAuth: []
  15285. summary: 查询现货合同
  15286. tags:
  15287. - 企业风险管理v3(app)
  15288. /Ermcp3/QuerySpotContractBS:
  15289. get:
  15290. parameters:
  15291. - description: 所属机构ID
  15292. in: query
  15293. name: areauserid
  15294. required: true
  15295. type: integer
  15296. - description: 合同类型 1-采购, -1-销售
  15297. in: query
  15298. name: contracttype
  15299. required: true
  15300. type: integer
  15301. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  15302. in: query
  15303. name: querytype
  15304. required: true
  15305. type: integer
  15306. - description: 用户ID
  15307. in: query
  15308. name: userid
  15309. type: integer
  15310. - description: 用户类型 2-机构 7-企业成员
  15311. in: query
  15312. name: usertype
  15313. type: integer
  15314. - description: 合同ID(SpotContractId)
  15315. in: query
  15316. name: contractid
  15317. type: string
  15318. produces:
  15319. - application/json
  15320. responses:
  15321. "200":
  15322. description: OK
  15323. schema:
  15324. items:
  15325. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  15326. type: array
  15327. "500":
  15328. description: Internal Server Error
  15329. schema:
  15330. $ref: '#/definitions/app.Response'
  15331. security:
  15332. - ApiKeyAuth: []
  15333. summary: 查询合同(采购/销售)
  15334. tags:
  15335. - 企业风险管理v3(app)
  15336. /Ermcp3/QuerySpotGoodsPrice:
  15337. get:
  15338. parameters:
  15339. - description: 用户ID
  15340. in: query
  15341. name: userid
  15342. required: true
  15343. type: integer
  15344. produces:
  15345. - application/json
  15346. responses:
  15347. "200":
  15348. description: OK
  15349. schema:
  15350. items:
  15351. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  15352. type: array
  15353. "500":
  15354. description: Internal Server Error
  15355. schema:
  15356. $ref: '#/definitions/app.Response'
  15357. security:
  15358. - ApiKeyAuth: []
  15359. summary: 查询现货市价(现货市价)
  15360. tags:
  15361. - 企业风险管理v3(app)
  15362. /Ermcp3/QuerySpotGoodsPriceLog:
  15363. get:
  15364. parameters:
  15365. - description: 用户ID
  15366. in: query
  15367. name: userid
  15368. required: true
  15369. type: integer
  15370. - description: 现货商品ID
  15371. in: query
  15372. name: deliverygoodsid
  15373. required: true
  15374. type: integer
  15375. produces:
  15376. - application/json
  15377. responses:
  15378. "200":
  15379. description: OK
  15380. schema:
  15381. items:
  15382. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  15383. type: array
  15384. "500":
  15385. description: Internal Server Error
  15386. schema:
  15387. $ref: '#/definitions/app.Response'
  15388. security:
  15389. - ApiKeyAuth: []
  15390. summary: 查询现货市价详情(现货市价/详情)
  15391. tags:
  15392. - 企业风险管理v3(app)
  15393. /Erms2/QueryArbitrageStrategy:
  15394. get:
  15395. parameters:
  15396. - description: 账户ID
  15397. in: query
  15398. name: userid
  15399. required: true
  15400. type: integer
  15401. - description: 商品组ID(品种ID)
  15402. in: query
  15403. name: goodsgroupid
  15404. type: string
  15405. produces:
  15406. - application/json
  15407. responses:
  15408. "200":
  15409. description: OK
  15410. schema:
  15411. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  15412. "500":
  15413. description: Internal Server Error
  15414. schema:
  15415. $ref: '#/definitions/app.Response'
  15416. security:
  15417. - ApiKeyAuth: []
  15418. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  15419. tags:
  15420. - 风险管理
  15421. /Erms2/QueryInnerTradeDetail:
  15422. get:
  15423. parameters:
  15424. - description: 资金账户
  15425. in: query
  15426. name: accountid
  15427. required: true
  15428. type: integer
  15429. produces:
  15430. - application/json
  15431. responses:
  15432. "200":
  15433. description: OK
  15434. schema:
  15435. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  15436. "500":
  15437. description: Internal Server Error
  15438. schema:
  15439. $ref: '#/definitions/app.Response'
  15440. security:
  15441. - ApiKeyAuth: []
  15442. summary: 查询内部成交单信息
  15443. tags:
  15444. - 风险管理
  15445. /Erms2/QuerySpotContract:
  15446. get:
  15447. parameters:
  15448. - description: 策略申请ID
  15449. in: query
  15450. name: asapplyid
  15451. required: true
  15452. type: integer
  15453. - description: 现货合同ID
  15454. in: query
  15455. name: spotcontractid
  15456. type: integer
  15457. produces:
  15458. - application/json
  15459. responses:
  15460. "200":
  15461. description: OK
  15462. schema:
  15463. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  15464. "500":
  15465. description: Internal Server Error
  15466. schema:
  15467. $ref: '#/definitions/app.Response'
  15468. security:
  15469. - ApiKeyAuth: []
  15470. summary: 查询现货合同表信息(指定策略ID、未结束的)
  15471. tags:
  15472. - 风险管理
  15473. /Erms3/AddErms2ASApply:
  15474. post:
  15475. parameters:
  15476. - description: 申请参数
  15477. in: body
  15478. name: jsonBody
  15479. required: true
  15480. schema:
  15481. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  15482. produces:
  15483. - application/json
  15484. responses:
  15485. "200":
  15486. description: OK
  15487. schema:
  15488. $ref: '#/definitions/app.Response'
  15489. "500":
  15490. description: Internal Server Error
  15491. schema:
  15492. $ref: '#/definitions/app.Response'
  15493. security:
  15494. - ApiKeyAuth: []
  15495. summary: 新增期现套利业务申请
  15496. tags:
  15497. - 风险管理v3
  15498. /Erms3/AddErms2SpotTradeApply:
  15499. post:
  15500. parameters:
  15501. - description: 申请参数
  15502. in: body
  15503. name: jsonBody
  15504. required: true
  15505. schema:
  15506. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  15507. produces:
  15508. - application/json
  15509. responses:
  15510. "200":
  15511. description: OK
  15512. schema:
  15513. $ref: '#/definitions/app.Response'
  15514. "500":
  15515. description: Internal Server Error
  15516. schema:
  15517. $ref: '#/definitions/app.Response'
  15518. security:
  15519. - ApiKeyAuth: []
  15520. summary: 新增现货贸易业务申请
  15521. tags:
  15522. - 风险管理v3
  15523. /Erms3/AddSpotContractApply:
  15524. post:
  15525. parameters:
  15526. - description: 申请参数
  15527. in: body
  15528. name: jsonBody
  15529. required: true
  15530. schema:
  15531. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  15532. produces:
  15533. - application/json
  15534. responses:
  15535. "200":
  15536. description: OK
  15537. schema:
  15538. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  15539. "500":
  15540. description: Internal Server Error
  15541. schema:
  15542. $ref: '#/definitions/app.Response'
  15543. security:
  15544. - ApiKeyAuth: []
  15545. summary: 新增现货合同申请
  15546. tags:
  15547. - 风险管理v3
  15548. /Erms3/AddUserInfoApply:
  15549. post:
  15550. parameters:
  15551. - description: 用户信息
  15552. in: body
  15553. name: jsonBody
  15554. required: true
  15555. schema:
  15556. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  15557. produces:
  15558. - application/json
  15559. responses:
  15560. "200":
  15561. description: OK
  15562. schema:
  15563. $ref: '#/definitions/app.Response'
  15564. "500":
  15565. description: Internal Server Error
  15566. schema:
  15567. $ref: '#/definitions/app.Response'
  15568. security:
  15569. - ApiKeyAuth: []
  15570. summary: 新增客户申请
  15571. tags:
  15572. - 风险管理v3
  15573. /Erms3/ModifyUserInfoApply:
  15574. post:
  15575. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  15576. int, "userstate": 2 }'
  15577. parameters:
  15578. - description: 用户信息
  15579. in: body
  15580. name: jsonBody
  15581. required: true
  15582. schema:
  15583. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  15584. produces:
  15585. - application/json
  15586. responses:
  15587. "200":
  15588. description: OK
  15589. schema:
  15590. $ref: '#/definitions/app.Response'
  15591. "500":
  15592. description: Internal Server Error
  15593. schema:
  15594. $ref: '#/definitions/app.Response'
  15595. security:
  15596. - ApiKeyAuth: []
  15597. summary: 修改客户申请
  15598. tags:
  15599. - 风险管理v3
  15600. /Erms3/QueryBusinessInfo:
  15601. get:
  15602. parameters:
  15603. - description: 资金账号ID列表,用逗号分隔
  15604. in: query
  15605. name: accountids
  15606. required: true
  15607. type: string
  15608. - description: 状态,0为未结束 1为已结束
  15609. in: query
  15610. name: status
  15611. required: true
  15612. type: integer
  15613. produces:
  15614. - application/json
  15615. responses:
  15616. "200":
  15617. description: OK
  15618. schema:
  15619. items:
  15620. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  15621. type: array
  15622. "500":
  15623. description: Internal Server Error
  15624. schema:
  15625. $ref: '#/definitions/app.Response'
  15626. security:
  15627. - ApiKeyAuth: []
  15628. summary: 查询业务表单数据
  15629. tags:
  15630. - 风险管理v3
  15631. /Erms3/QueryPendingAuditContract:
  15632. get:
  15633. parameters:
  15634. - description: 资金账号ID列表,逗号隔开
  15635. in: query
  15636. name: accountids
  15637. required: true
  15638. type: string
  15639. - description: 合同类型 1-采购 -1-销售
  15640. in: query
  15641. name: contracttype
  15642. required: true
  15643. type: integer
  15644. - description: 合同模式 1-普通 2-回购
  15645. in: query
  15646. name: contractmode
  15647. required: true
  15648. type: integer
  15649. produces:
  15650. - application/json
  15651. responses:
  15652. "200":
  15653. description: OK
  15654. schema:
  15655. items:
  15656. $ref: '#/definitions/erms3.QryAuditContractRsp'
  15657. type: array
  15658. "500":
  15659. description: Internal Server Error
  15660. schema:
  15661. $ref: '#/definitions/app.Response'
  15662. security:
  15663. - ApiKeyAuth: []
  15664. summary: 查询待审核合同
  15665. tags:
  15666. - 风险管理v3
  15667. /Erms3/QueryPendingBusiness:
  15668. get:
  15669. parameters:
  15670. - description: 资金账号ID列表,逗号隔开
  15671. in: query
  15672. name: accountids
  15673. required: true
  15674. type: string
  15675. produces:
  15676. - application/json
  15677. responses:
  15678. "200":
  15679. description: OK
  15680. schema:
  15681. items:
  15682. $ref: '#/definitions/erms3.QryPendingBizRsp'
  15683. type: array
  15684. "500":
  15685. description: Internal Server Error
  15686. schema:
  15687. $ref: '#/definitions/app.Response'
  15688. security:
  15689. - ApiKeyAuth: []
  15690. summary: 查询待审核基差贸易业务
  15691. tags:
  15692. - 风险管理v3
  15693. /Erms3/QuerySpotContractAppleForm:
  15694. get:
  15695. parameters:
  15696. - description: 登录账号
  15697. in: query
  15698. name: loginID
  15699. required: true
  15700. type: integer
  15701. produces:
  15702. - application/json
  15703. responses:
  15704. "200":
  15705. description: OK
  15706. schema:
  15707. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  15708. "500":
  15709. description: Internal Server Error
  15710. schema:
  15711. $ref: '#/definitions/app.Response'
  15712. security:
  15713. - ApiKeyAuth: []
  15714. summary: 查询合同申请表单数据
  15715. tags:
  15716. - 风险管理v3
  15717. /Erms3/QuerySpotContractDetail:
  15718. get:
  15719. parameters:
  15720. - description: 资金账号ID列表,用逗号分隔
  15721. in: query
  15722. name: accountids
  15723. required: true
  15724. type: string
  15725. - description: 合同类型,1为采购合同 -1为销售合同
  15726. in: query
  15727. name: contracttype
  15728. required: true
  15729. type: integer
  15730. - description: 合同模式,1为普通合同 2为回购销售合同
  15731. in: query
  15732. name: contractmode
  15733. required: true
  15734. type: integer
  15735. - description: 状态,0为履约中 1为已完成
  15736. in: query
  15737. name: status
  15738. required: true
  15739. type: integer
  15740. produces:
  15741. - application/json
  15742. responses:
  15743. "200":
  15744. description: OK
  15745. schema:
  15746. items:
  15747. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  15748. type: array
  15749. "500":
  15750. description: Internal Server Error
  15751. schema:
  15752. $ref: '#/definitions/app.Response'
  15753. security:
  15754. - ApiKeyAuth: []
  15755. summary: 查询合同详细信息
  15756. tags:
  15757. - 风险管理v3
  15758. /Erms3/QueryUserInfoApplies:
  15759. get:
  15760. parameters:
  15761. - description: 页码
  15762. in: query
  15763. name: page
  15764. type: integer
  15765. - description: 每页条数
  15766. in: query
  15767. name: pagesize
  15768. type: integer
  15769. - description: 客户名称,支持模糊查询
  15770. in: query
  15771. name: userName
  15772. type: string
  15773. produces:
  15774. - application/json
  15775. responses:
  15776. "200":
  15777. description: OK
  15778. schema:
  15779. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  15780. "500":
  15781. description: Internal Server Error
  15782. schema:
  15783. $ref: '#/definitions/app.Response'
  15784. security:
  15785. - ApiKeyAuth: []
  15786. summary: 客户申请信息查询
  15787. tags:
  15788. - 风险管理v3
  15789. /Erms3/QueryUserInfos:
  15790. get:
  15791. parameters:
  15792. - description: 页码
  15793. in: query
  15794. name: page
  15795. type: integer
  15796. - description: 每页条数
  15797. in: query
  15798. name: pagesize
  15799. type: integer
  15800. - description: 客户名称,支持模糊查询
  15801. in: query
  15802. name: userName
  15803. type: string
  15804. produces:
  15805. - application/json
  15806. responses:
  15807. "200":
  15808. description: OK
  15809. schema:
  15810. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  15811. "500":
  15812. description: Internal Server Error
  15813. schema:
  15814. $ref: '#/definitions/app.Response'
  15815. security:
  15816. - ApiKeyAuth: []
  15817. summary: 客户信息查询
  15818. tags:
  15819. - 风险管理v3
  15820. /HSBY/GetHsbyMyCount:
  15821. get:
  15822. description: 说明: 不包括已完成的数量。
  15823. parameters:
  15824. - description: 资金账户列表,格式:1,2,3
  15825. in: query
  15826. name: accountIDs
  15827. required: true
  15828. type: string
  15829. produces:
  15830. - application/json
  15831. responses:
  15832. "200":
  15833. description: OK
  15834. schema:
  15835. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  15836. "500":
  15837. description: Internal Server Error
  15838. schema:
  15839. $ref: '#/definitions/app.Response'
  15840. security:
  15841. - ApiKeyAuth: []
  15842. summary: 获取我的订单与包裹数量
  15843. tags:
  15844. - 定制【海商报业】
  15845. /HSBY/QueryClientFixedADConfigs:
  15846. get:
  15847. produces:
  15848. - application/json
  15849. responses:
  15850. "200":
  15851. description: OK
  15852. schema:
  15853. $ref: '#/definitions/models.Clientfixedadconfig'
  15854. "500":
  15855. description: Internal Server Error
  15856. schema:
  15857. $ref: '#/definitions/app.Response'
  15858. security:
  15859. - ApiKeyAuth: []
  15860. summary: 获取终端固定广告配置
  15861. tags:
  15862. - 定制【海商报业】
  15863. /HSBY/QueryHsbyBuyMyTradeDetail:
  15864. get:
  15865. parameters:
  15866. - description: 页码
  15867. in: query
  15868. name: page
  15869. type: integer
  15870. - description: 每页条数
  15871. in: query
  15872. name: pagesize
  15873. type: integer
  15874. - description: 资金账户列表,格式:1,2,3
  15875. in: query
  15876. name: accountIDs
  15877. required: true
  15878. type: string
  15879. produces:
  15880. - application/json
  15881. responses:
  15882. "200":
  15883. description: OK
  15884. schema:
  15885. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  15886. "500":
  15887. description: Internal Server Error
  15888. schema:
  15889. $ref: '#/definitions/app.Response'
  15890. security:
  15891. - ApiKeyAuth: []
  15892. summary: 查询"我的订单 - 已完成"单据信息
  15893. tags:
  15894. - 定制【海商报业】
  15895. /HSBY/QueryHsbyGoodsOrderDetails:
  15896. get:
  15897. description: 说明:查询结果已按委托价格和委托时间排序
  15898. parameters:
  15899. - description: 商品ID
  15900. in: query
  15901. name: goodsID
  15902. required: true
  15903. type: integer
  15904. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  15905. in: query
  15906. name: accountIDs
  15907. type: string
  15908. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  15909. in: query
  15910. name: buyOrSell
  15911. type: integer
  15912. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  15913. in: query
  15914. name: price
  15915. type: number
  15916. - description: 档位,不传则默认为3档
  15917. in: query
  15918. name: speed
  15919. type: integer
  15920. produces:
  15921. - application/json
  15922. responses:
  15923. "200":
  15924. description: OK
  15925. schema:
  15926. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  15927. "500":
  15928. description: Internal Server Error
  15929. schema:
  15930. $ref: '#/definitions/app.Response'
  15931. security:
  15932. - ApiKeyAuth: []
  15933. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  15934. tags:
  15935. - 定制【海商报业】
  15936. /HSBY/QueryHsbyListingGoodsDetail:
  15937. get:
  15938. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  15939. parameters:
  15940. - description: 商品ID
  15941. in: query
  15942. name: goodsID
  15943. required: true
  15944. type: integer
  15945. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  15946. in: query
  15947. name: accountID
  15948. type: integer
  15949. produces:
  15950. - application/json
  15951. responses:
  15952. "200":
  15953. description: OK
  15954. schema:
  15955. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  15956. "500":
  15957. description: Internal Server Error
  15958. schema:
  15959. $ref: '#/definitions/app.Response'
  15960. security:
  15961. - ApiKeyAuth: []
  15962. summary: 查询二级市场(挂牌点选)商品信息详情
  15963. tags:
  15964. - 定制【海商报业】
  15965. /HSBY/QueryHsbyMarketGoodsDetail:
  15966. get:
  15967. parameters:
  15968. - description: 委托单号
  15969. in: query
  15970. name: orderID
  15971. required: true
  15972. type: integer
  15973. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  15974. in: query
  15975. name: accountID
  15976. type: integer
  15977. produces:
  15978. - application/json
  15979. responses:
  15980. "200":
  15981. description: OK
  15982. schema:
  15983. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  15984. "500":
  15985. description: Internal Server Error
  15986. schema:
  15987. $ref: '#/definitions/app.Response'
  15988. security:
  15989. - ApiKeyAuth: []
  15990. summary: 查询三级市场(商城)商品信息详情
  15991. tags:
  15992. - 定制【海商报业】
  15993. /HSBY/QueryHsbyMarketGoodses:
  15994. get:
  15995. parameters:
  15996. - description: 页码
  15997. in: query
  15998. name: page
  15999. type: integer
  16000. - description: 每页条数
  16001. in: query
  16002. name: pagesize
  16003. type: integer
  16004. - description: 市场ID列表,格式:1,2,3
  16005. in: query
  16006. name: marketIDs
  16007. required: true
  16008. type: string
  16009. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  16010. in: query
  16011. name: accountID
  16012. required: true
  16013. type: integer
  16014. - description: 类别ID
  16015. in: query
  16016. name: categoryID
  16017. type: integer
  16018. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  16019. in: query
  16020. name: goodsIDs
  16021. type: string
  16022. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  16023. in: query
  16024. name: couponTypeID
  16025. type: integer
  16026. produces:
  16027. - application/json
  16028. responses:
  16029. "200":
  16030. description: OK
  16031. schema:
  16032. $ref: '#/definitions/models.HsbyMarketGoods'
  16033. "500":
  16034. description: Internal Server Error
  16035. schema:
  16036. $ref: '#/definitions/app.Response'
  16037. security:
  16038. - ApiKeyAuth: []
  16039. summary: 查询特卖商品列表(三级商城)
  16040. tags:
  16041. - 定制【海商报业】
  16042. /HSBY/QueryHsbyMarkets:
  16043. get:
  16044. produces:
  16045. - application/json
  16046. responses:
  16047. "200":
  16048. description: OK
  16049. schema:
  16050. $ref: '#/definitions/models.HsbyMarketInfo'
  16051. "500":
  16052. description: Internal Server Error
  16053. schema:
  16054. $ref: '#/definitions/app.Response'
  16055. security:
  16056. - ApiKeyAuth: []
  16057. summary: 查询海商报业相关市场信息
  16058. tags:
  16059. - 定制【海商报业】
  16060. /HSBY/QueryHsbyMyBuyOrderDetails:
  16061. get:
  16062. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  16063. parameters:
  16064. - description: 资金账户列表,格式:1,2,3
  16065. in: query
  16066. name: accountIDs
  16067. required: true
  16068. type: string
  16069. produces:
  16070. - application/json
  16071. responses:
  16072. "200":
  16073. description: OK
  16074. schema:
  16075. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  16076. "500":
  16077. description: Internal Server Error
  16078. schema:
  16079. $ref: '#/definitions/app.Response'
  16080. security:
  16081. - ApiKeyAuth: []
  16082. summary: 查询“我的订单”信息
  16083. tags:
  16084. - 定制【海商报业】
  16085. /HSBY/QueryHsbyMyGoods:
  16086. get:
  16087. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  16088. parameters:
  16089. - description: 资金账户列表,格式:1,2,3
  16090. in: query
  16091. name: accountIDs
  16092. required: true
  16093. type: string
  16094. produces:
  16095. - application/json
  16096. responses:
  16097. "200":
  16098. description: OK
  16099. schema:
  16100. $ref: '#/definitions/models.HsbyMyGoods'
  16101. "500":
  16102. description: Internal Server Error
  16103. schema:
  16104. $ref: '#/definitions/app.Response'
  16105. security:
  16106. - ApiKeyAuth: []
  16107. summary: 查询“我的商品”信息
  16108. tags:
  16109. - 定制【海商报业】
  16110. /HSBY/QueryHsbyMyPackages:
  16111. get:
  16112. parameters:
  16113. - description: 资金账户列表,格式:1,2,3
  16114. in: query
  16115. name: accountIDs
  16116. required: true
  16117. type: string
  16118. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  16119. in: query
  16120. name: takeOrderStatus
  16121. type: integer
  16122. produces:
  16123. - application/json
  16124. responses:
  16125. "200":
  16126. description: OK
  16127. schema:
  16128. $ref: '#/definitions/models.HsbyMyPackage'
  16129. "500":
  16130. description: Internal Server Error
  16131. schema:
  16132. $ref: '#/definitions/app.Response'
  16133. security:
  16134. - ApiKeyAuth: []
  16135. summary: 查询我的包裹信息
  16136. tags:
  16137. - 定制【海商报业】
  16138. /HSBY/QueryHsbyPreGoodsDetail:
  16139. get:
  16140. parameters:
  16141. - description: 商品ID
  16142. in: query
  16143. name: goodsID
  16144. required: true
  16145. type: integer
  16146. - description: 资金账户,主要用于获取预售商品购买上限
  16147. in: query
  16148. name: accountID
  16149. type: integer
  16150. produces:
  16151. - application/json
  16152. responses:
  16153. "200":
  16154. description: OK
  16155. schema:
  16156. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  16157. "500":
  16158. description: Internal Server Error
  16159. schema:
  16160. $ref: '#/definitions/app.Response'
  16161. security:
  16162. - ApiKeyAuth: []
  16163. summary: 查询一级市场(预售)商品信息详情
  16164. tags:
  16165. - 定制【海商报业】
  16166. /HSBY/QueryHsbyPreGoodses:
  16167. get:
  16168. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  16169. parameters:
  16170. - description: 页码
  16171. in: query
  16172. name: page
  16173. type: integer
  16174. - description: 每页条数
  16175. in: query
  16176. name: pagesize
  16177. type: integer
  16178. - description: 市场ID列表,格式:1,2,3
  16179. in: query
  16180. name: marketIDs
  16181. required: true
  16182. type: string
  16183. - description: 目的地(省)ID
  16184. in: query
  16185. name: descProvinceID
  16186. type: integer
  16187. - description: 目的地(市)ID
  16188. in: query
  16189. name: descCityID
  16190. type: integer
  16191. produces:
  16192. - application/json
  16193. responses:
  16194. "200":
  16195. description: OK
  16196. schema:
  16197. $ref: '#/definitions/models.HsbyPreGoods'
  16198. "500":
  16199. description: Internal Server Error
  16200. schema:
  16201. $ref: '#/definitions/app.Response'
  16202. security:
  16203. - ApiKeyAuth: []
  16204. summary: 查询新品上市商品列表(一级市场预售)
  16205. tags:
  16206. - 定制【海商报业】
  16207. /HSBY/QueryHsbySellMyDetails:
  16208. get:
  16209. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  16210. parameters:
  16211. - description: 页码
  16212. in: query
  16213. name: page
  16214. type: integer
  16215. - description: 每页条数
  16216. in: query
  16217. name: pagesize
  16218. type: integer
  16219. - description: 资金账户列表,格式:1,2,3
  16220. in: query
  16221. name: accountIDs
  16222. required: true
  16223. type: string
  16224. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  16225. in: query
  16226. name: orderType
  16227. type: integer
  16228. produces:
  16229. - application/json
  16230. responses:
  16231. "200":
  16232. description: OK
  16233. schema:
  16234. $ref: '#/definitions/models.HsbySellMyDetail'
  16235. "500":
  16236. description: Internal Server Error
  16237. schema:
  16238. $ref: '#/definitions/app.Response'
  16239. security:
  16240. - ApiKeyAuth: []
  16241. summary: 查询"我的闲置"单据信息
  16242. tags:
  16243. - 定制【海商报业】
  16244. /HSBY/QueryHsbyTopGoodses:
  16245. get:
  16246. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  16247. parameters:
  16248. - description: 页码
  16249. in: query
  16250. name: page
  16251. type: integer
  16252. - description: 每页条数
  16253. in: query
  16254. name: pagesize
  16255. type: integer
  16256. - description: 市场ID列表,格式:1,2,3
  16257. in: query
  16258. name: marketIDs
  16259. required: true
  16260. type: string
  16261. - description: 目的地(省)ID
  16262. in: query
  16263. name: descProvinceID
  16264. type: integer
  16265. - description: 目的地(市)ID
  16266. in: query
  16267. name: descCityID
  16268. type: integer
  16269. produces:
  16270. - application/json
  16271. responses:
  16272. "200":
  16273. description: OK
  16274. schema:
  16275. $ref: '#/definitions/models.HsbyTopGoods'
  16276. "500":
  16277. description: Internal Server Error
  16278. schema:
  16279. $ref: '#/definitions/app.Response'
  16280. security:
  16281. - ApiKeyAuth: []
  16282. summary: 查询热卖商品列表(二级市场挂牌点选)
  16283. tags:
  16284. - 定制【海商报业】
  16285. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  16286. get:
  16287. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  16288. parameters:
  16289. - description: 商品ID
  16290. in: query
  16291. name: goodsID
  16292. required: true
  16293. type: integer
  16294. produces:
  16295. - application/json
  16296. responses:
  16297. "200":
  16298. description: OK
  16299. schema:
  16300. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  16301. "500":
  16302. description: Internal Server Error
  16303. schema:
  16304. $ref: '#/definitions/app.Response'
  16305. security:
  16306. - ApiKeyAuth: []
  16307. summary: 查询游客三级市场(商城)商品信息详情
  16308. tags:
  16309. - 定制【海商报业】
  16310. /HSBY/QueryHsbyVisitorMarketGoodses:
  16311. get:
  16312. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  16313. parameters:
  16314. - description: 页码
  16315. in: query
  16316. name: page
  16317. type: integer
  16318. - description: 每页条数
  16319. in: query
  16320. name: pagesize
  16321. type: integer
  16322. - description: 市场ID列表,格式:1,2,3
  16323. in: query
  16324. name: marketIDs
  16325. required: true
  16326. type: string
  16327. - description: 类别ID
  16328. in: query
  16329. name: categoryID
  16330. type: integer
  16331. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  16332. in: query
  16333. name: goodsIDs
  16334. type: string
  16335. produces:
  16336. - application/json
  16337. responses:
  16338. "200":
  16339. description: OK
  16340. schema:
  16341. $ref: '#/definitions/models.HsbyMarketGoods'
  16342. "500":
  16343. description: Internal Server Error
  16344. schema:
  16345. $ref: '#/definitions/app.Response'
  16346. security:
  16347. - ApiKeyAuth: []
  16348. summary: 查询游客特卖商品列表(三级商城)
  16349. tags:
  16350. - 定制【海商报业】
  16351. /HSBY/QueryMyCollectionOrders:
  16352. get:
  16353. parameters:
  16354. - description: 页码
  16355. in: query
  16356. name: page
  16357. type: integer
  16358. - description: 每页条数
  16359. in: query
  16360. name: pagesize
  16361. type: integer
  16362. - description: 资金账户,格式:1,2,3
  16363. in: query
  16364. name: accountIDs
  16365. required: true
  16366. type: string
  16367. produces:
  16368. - application/json
  16369. responses:
  16370. "200":
  16371. description: OK
  16372. schema:
  16373. $ref: '#/definitions/models.HsbySellCollectionOrder'
  16374. "500":
  16375. description: Internal Server Error
  16376. schema:
  16377. $ref: '#/definitions/app.Response'
  16378. security:
  16379. - ApiKeyAuth: []
  16380. summary: 我的闲置中收款信息查询
  16381. tags:
  16382. - 定制【海商报业】
  16383. /HSBY/QueryMyCouponHolds:
  16384. get:
  16385. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  16386. parameters:
  16387. - description: 资金账户列表,格式:1,2,3
  16388. in: query
  16389. name: accountIDs
  16390. required: true
  16391. type: string
  16392. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  16393. in: query
  16394. name: holdStatus
  16395. type: string
  16396. produces:
  16397. - application/json
  16398. responses:
  16399. "200":
  16400. description: OK
  16401. schema:
  16402. $ref: '#/definitions/models.MyCouponHold'
  16403. "500":
  16404. description: Internal Server Error
  16405. schema:
  16406. $ref: '#/definitions/app.Response'
  16407. security:
  16408. - ApiKeyAuth: []
  16409. summary: 我的优惠卷持仓查询
  16410. tags:
  16411. - 定制【海商报业】
  16412. /HSBY/QueryMyCoupons:
  16413. get:
  16414. parameters:
  16415. - description: 资金账户列表,格式:1,2,3
  16416. in: query
  16417. name: accountIDs
  16418. required: true
  16419. type: string
  16420. - description: 商品ID, 一般与sellUserID配套传入
  16421. in: query
  16422. name: goodsID
  16423. type: integer
  16424. - description: 卖方UserID
  16425. in: query
  16426. name: sellUserID
  16427. type: integer
  16428. produces:
  16429. - application/json
  16430. responses:
  16431. "200":
  16432. description: OK
  16433. schema:
  16434. $ref: '#/definitions/models.MyCoupon'
  16435. "500":
  16436. description: Internal Server Error
  16437. schema:
  16438. $ref: '#/definitions/app.Response'
  16439. security:
  16440. - ApiKeyAuth: []
  16441. summary: 我的优惠卷查询
  16442. tags:
  16443. - 定制【海商报业】
  16444. /HSBY/QueryMyPayOrders:
  16445. get:
  16446. parameters:
  16447. - description: 页码
  16448. in: query
  16449. name: page
  16450. type: integer
  16451. - description: 每页条数
  16452. in: query
  16453. name: pagesize
  16454. type: integer
  16455. - description: 资金账户列表,格式:1,2,3
  16456. in: query
  16457. name: accountIDs
  16458. required: true
  16459. type: string
  16460. - description: 买方委托单号
  16461. in: query
  16462. name: buyOrderID
  16463. type: integer
  16464. - description: 卖方委托单号
  16465. in: query
  16466. name: sellOrderID
  16467. type: integer
  16468. produces:
  16469. - application/json
  16470. responses:
  16471. "200":
  16472. description: OK
  16473. schema:
  16474. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  16475. "500":
  16476. description: Internal Server Error
  16477. schema:
  16478. $ref: '#/definitions/app.Response'
  16479. security:
  16480. - ApiKeyAuth: []
  16481. summary: 获取我的订单中待付款信息
  16482. tags:
  16483. - 定制【海商报业】
  16484. /HSBY/QueryMyUsedCoupon:
  16485. get:
  16486. parameters:
  16487. - description: 资金账户列表,格式:1,2,3
  16488. in: query
  16489. name: accountIDs
  16490. required: true
  16491. type: string
  16492. produces:
  16493. - application/json
  16494. responses:
  16495. "200":
  16496. description: OK
  16497. schema:
  16498. $ref: '#/definitions/models.MyUsedCoupon'
  16499. "500":
  16500. description: Internal Server Error
  16501. schema:
  16502. $ref: '#/definitions/app.Response'
  16503. security:
  16504. - ApiKeyAuth: []
  16505. summary: 已使用优惠卷查询
  16506. tags:
  16507. - 定制【海商报业】
  16508. /HSBY/QueryProvincesAndCities:
  16509. get:
  16510. description: 查询结果只包括二级市场商品已关连的省市信息。
  16511. parameters:
  16512. - description: 省ID
  16513. in: query
  16514. name: provinceID
  16515. type: integer
  16516. produces:
  16517. - application/json
  16518. responses:
  16519. "200":
  16520. description: OK
  16521. schema:
  16522. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  16523. "500":
  16524. description: Internal Server Error
  16525. schema:
  16526. $ref: '#/definitions/app.Response'
  16527. security:
  16528. - ApiKeyAuth: []
  16529. summary: 查询省市信息(不包括区)
  16530. tags:
  16531. - 定制【海商报业】
  16532. /HSBY/SetHsbyMyPackagesStatus:
  16533. post:
  16534. parameters:
  16535. - description: 提货单号
  16536. in: query
  16537. name: takeOrderID
  16538. required: true
  16539. type: string
  16540. - description: 资金账号
  16541. in: query
  16542. name: accountID
  16543. required: true
  16544. type: integer
  16545. produces:
  16546. - application/json
  16547. responses:
  16548. "200":
  16549. description: OK
  16550. schema:
  16551. $ref: '#/definitions/app.Response'
  16552. "500":
  16553. description: Internal Server Error
  16554. schema:
  16555. $ref: '#/definitions/app.Response'
  16556. security:
  16557. - ApiKeyAuth: []
  16558. summary: 设置我的包裹已收货状态
  16559. tags:
  16560. - 定制【海商报业】
  16561. /Market/QueryGoodsesByLoginID:
  16562. get:
  16563. parameters:
  16564. - description: 登录账号
  16565. in: query
  16566. name: loginID
  16567. required: true
  16568. type: integer
  16569. - description: 市场ID列表,格式:1,2,3
  16570. in: query
  16571. name: marketIDs
  16572. type: string
  16573. produces:
  16574. - application/json
  16575. responses:
  16576. "200":
  16577. description: OK
  16578. schema:
  16579. $ref: '#/definitions/models.Goods'
  16580. "500":
  16581. description: Internal Server Error
  16582. schema:
  16583. $ref: '#/definitions/app.Response'
  16584. security:
  16585. - ApiKeyAuth: []
  16586. summary: 获取登录账号有权限的商品信息
  16587. tags:
  16588. - 通用市场
  16589. /Market/QueryMarketRun:
  16590. get:
  16591. parameters:
  16592. - description: 市场ID,不传返回所有
  16593. in: query
  16594. name: marketID
  16595. type: integer
  16596. produces:
  16597. - application/json
  16598. responses:
  16599. "200":
  16600. description: OK
  16601. schema:
  16602. $ref: '#/definitions/models.Marketrun'
  16603. "500":
  16604. description: Internal Server Error
  16605. schema:
  16606. $ref: '#/definitions/app.Response'
  16607. security:
  16608. - ApiKeyAuth: []
  16609. summary: 查询市场运行信息
  16610. tags:
  16611. - 通用市场
  16612. /Market/QueryMarketsByLoginID:
  16613. get:
  16614. parameters:
  16615. - description: 登录账号
  16616. in: query
  16617. name: loginID
  16618. required: true
  16619. type: integer
  16620. produces:
  16621. - application/json
  16622. responses:
  16623. "200":
  16624. description: OK
  16625. schema:
  16626. $ref: '#/definitions/models.Market'
  16627. "500":
  16628. description: Internal Server Error
  16629. schema:
  16630. $ref: '#/definitions/app.Response'
  16631. security:
  16632. - ApiKeyAuth: []
  16633. summary: 获取登录账号有权限的市场信息
  16634. tags:
  16635. - 通用市场
  16636. /Order/QueryHisTradeDetail:
  16637. get:
  16638. parameters:
  16639. - description: 资金账户 - 格式:1,2,3
  16640. in: query
  16641. name: accountID
  16642. required: true
  16643. type: string
  16644. - description: 成交单号
  16645. in: query
  16646. name: tradeID
  16647. type: integer
  16648. - description: 委托单号
  16649. in: query
  16650. name: orderID
  16651. type: integer
  16652. - description: 交易模式 - 格式:1,2,3
  16653. in: query
  16654. name: tradeMode
  16655. type: string
  16656. - description: 委托单据类型
  16657. in: query
  16658. name: buildType
  16659. type: integer
  16660. - description: 成交类别 - 格式:1,2,3
  16661. in: query
  16662. name: tradeType
  16663. type: string
  16664. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  16665. in: query
  16666. name: startDate
  16667. type: string
  16668. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  16669. in: query
  16670. name: endDate
  16671. type: string
  16672. produces:
  16673. - application/json
  16674. responses:
  16675. "200":
  16676. description: OK
  16677. schema:
  16678. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  16679. "500":
  16680. description: Internal Server Error
  16681. schema:
  16682. $ref: '#/definitions/app.Response'
  16683. security:
  16684. - ApiKeyAuth: []
  16685. summary: 历史成交单查询(合约市场)
  16686. tags:
  16687. - 通用单据
  16688. /Order/QueryHisTradeOrderDetail:
  16689. get:
  16690. parameters:
  16691. - description: 资金账户 - 格式:1,2,3
  16692. in: query
  16693. name: accountID
  16694. required: true
  16695. type: string
  16696. - description: 交易模式 - 格式:1,2,3
  16697. in: query
  16698. name: tradeMode
  16699. type: string
  16700. - description: 委托状态 - 格式:1,2,3
  16701. in: query
  16702. name: orderStatus
  16703. type: string
  16704. - description: 委托单号
  16705. in: query
  16706. name: orderID
  16707. type: integer
  16708. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  16709. in: query
  16710. name: startDate
  16711. type: string
  16712. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  16713. in: query
  16714. name: endDate
  16715. type: string
  16716. produces:
  16717. - application/json
  16718. responses:
  16719. "200":
  16720. description: OK
  16721. schema:
  16722. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  16723. "500":
  16724. description: Internal Server Error
  16725. schema:
  16726. $ref: '#/definitions/app.Response'
  16727. security:
  16728. - ApiKeyAuth: []
  16729. summary: 历史委托单查询请求(合约市场)
  16730. tags:
  16731. - 通用单据
  16732. /Order/QueryTradeDetail:
  16733. get:
  16734. parameters:
  16735. - description: 资金账户 - 格式:1,2,3
  16736. in: query
  16737. name: accountID
  16738. required: true
  16739. type: string
  16740. - description: 成交单号
  16741. in: query
  16742. name: tradeID
  16743. type: integer
  16744. - description: 委托单号
  16745. in: query
  16746. name: orderID
  16747. type: integer
  16748. - description: 交易模式 - 格式:1,2,3
  16749. in: query
  16750. name: tradeMode
  16751. type: string
  16752. - description: 委托单据类型
  16753. in: query
  16754. name: buildType
  16755. type: integer
  16756. - description: 成交类别 - 格式:1,2,3
  16757. in: query
  16758. name: tradeType
  16759. type: string
  16760. produces:
  16761. - application/json
  16762. responses:
  16763. "200":
  16764. description: OK
  16765. schema:
  16766. $ref: '#/definitions/order.QueryTradeDetailRsp'
  16767. "500":
  16768. description: Internal Server Error
  16769. schema:
  16770. $ref: '#/definitions/app.Response'
  16771. security:
  16772. - ApiKeyAuth: []
  16773. summary: 成交单查询(合约市场)
  16774. tags:
  16775. - 通用单据
  16776. /Order/QueryTradeOrderDetail:
  16777. get:
  16778. parameters:
  16779. - description: 资金账户 - 格式:1,2,3
  16780. in: query
  16781. name: accountID
  16782. required: true
  16783. type: string
  16784. - description: 交易模式 - 格式:1,2,3
  16785. in: query
  16786. name: tradeMode
  16787. type: string
  16788. - description: 委托状态 - 格式:1,2,3
  16789. in: query
  16790. name: orderStatus
  16791. type: string
  16792. - description: 委托单号
  16793. in: query
  16794. name: orderID
  16795. type: integer
  16796. produces:
  16797. - application/json
  16798. responses:
  16799. "200":
  16800. description: OK
  16801. schema:
  16802. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  16803. "500":
  16804. description: Internal Server Error
  16805. schema:
  16806. $ref: '#/definitions/app.Response'
  16807. security:
  16808. - ApiKeyAuth: []
  16809. summary: 委托单查询请求(合约市场)
  16810. tags:
  16811. - 通用单据
  16812. /Order/QueryTradePosition:
  16813. get:
  16814. parameters:
  16815. - description: 资金账户 - 格式:1,2,3
  16816. in: query
  16817. name: accountID
  16818. required: true
  16819. type: string
  16820. - description: 交易模式 - 格式:1,2,3
  16821. in: query
  16822. name: tradeMode
  16823. type: string
  16824. produces:
  16825. - application/json
  16826. responses:
  16827. "200":
  16828. description: OK
  16829. schema:
  16830. $ref: '#/definitions/order.QueryTradePositionRsp'
  16831. "500":
  16832. description: Internal Server Error
  16833. schema:
  16834. $ref: '#/definitions/app.Response'
  16835. security:
  16836. - ApiKeyAuth: []
  16837. summary: 持仓汇总查询(合约市场)
  16838. tags:
  16839. - 通用单据
  16840. /Quote/QueryHistoryDatas:
  16841. get:
  16842. parameters:
  16843. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  16844. 日线'
  16845. in: query
  16846. name: cycleType
  16847. required: true
  16848. type: integer
  16849. - description: 商品代码
  16850. in: query
  16851. name: goodsCode
  16852. required: true
  16853. type: string
  16854. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  16855. in: query
  16856. name: startTime
  16857. type: string
  16858. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  16859. in: query
  16860. name: endTime
  16861. type: string
  16862. - description: 条数
  16863. in: query
  16864. name: count
  16865. type: integer
  16866. - description: 是否按时间顺序排序(默认为时间倒序排序)
  16867. in: query
  16868. name: isAsc
  16869. type: boolean
  16870. produces:
  16871. - application/json
  16872. responses:
  16873. "200":
  16874. description: OK
  16875. schema:
  16876. $ref: '#/definitions/quote.HistoryData'
  16877. "500":
  16878. description: Internal Server Error
  16879. schema:
  16880. $ref: '#/definitions/app.Response'
  16881. security:
  16882. - ApiKeyAuth: []
  16883. summary: 查询行情历史数据
  16884. tags:
  16885. - 行情服务
  16886. /Quote/QueryHistoryTikDatas:
  16887. get:
  16888. parameters:
  16889. - description: 商品代码
  16890. in: query
  16891. name: goodsCode
  16892. required: true
  16893. type: string
  16894. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  16895. in: query
  16896. name: startTime
  16897. type: string
  16898. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  16899. in: query
  16900. name: endTime
  16901. type: string
  16902. - description: 条数
  16903. in: query
  16904. name: count
  16905. type: integer
  16906. - description: 是否按时间顺序排序(默认为时间倒序排序)
  16907. in: query
  16908. name: isAsc
  16909. type: boolean
  16910. produces:
  16911. - application/json
  16912. responses:
  16913. "200":
  16914. description: OK
  16915. schema:
  16916. $ref: '#/definitions/quote.HistoryTikData'
  16917. "500":
  16918. description: Internal Server Error
  16919. schema:
  16920. $ref: '#/definitions/app.Response'
  16921. security:
  16922. - ApiKeyAuth: []
  16923. summary: 查询行情Tik数据
  16924. tags:
  16925. - 行情服务
  16926. /Quote/QueryQuoteDay:
  16927. get:
  16928. parameters:
  16929. - description: 商品代码列表,格式:CU2102,CU2103,AL2107
  16930. in: query
  16931. name: goodsCodes
  16932. required: true
  16933. type: string
  16934. produces:
  16935. - application/json
  16936. responses:
  16937. "200":
  16938. description: OK
  16939. schema:
  16940. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  16941. "500":
  16942. description: Internal Server Error
  16943. schema:
  16944. $ref: '#/definitions/app.Response'
  16945. security:
  16946. - ApiKeyAuth: []
  16947. summary: 获取商品盘面信息
  16948. tags:
  16949. - 行情服务
  16950. /Quote/QueryTSData:
  16951. get:
  16952. parameters:
  16953. - description: 商品代码
  16954. in: query
  16955. name: goodsCode
  16956. required: true
  16957. type: string
  16958. produces:
  16959. - application/json
  16960. responses:
  16961. "200":
  16962. description: OK
  16963. schema:
  16964. $ref: '#/definitions/quote.QueryTSDataRsp'
  16965. "500":
  16966. description: Internal Server Error
  16967. schema:
  16968. $ref: '#/definitions/app.Response'
  16969. security:
  16970. - ApiKeyAuth: []
  16971. summary: 分时图数据查询
  16972. tags:
  16973. - 行情服务
  16974. /SZDZ/QueryConvertConfig:
  16975. get:
  16976. parameters:
  16977. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  16978. 6:交易转花生米(不设置)
  16979. in: query
  16980. name: convertType
  16981. type: integer
  16982. - description: 外部商品代码[JD\PD]
  16983. in: query
  16984. name: outerGoodsCode
  16985. type: string
  16986. - description: 内部商品ID列表[交易],格式:1,2,3
  16987. in: query
  16988. name: innerGoodsIDs
  16989. type: string
  16990. produces:
  16991. - application/json
  16992. responses:
  16993. "200":
  16994. description: OK
  16995. schema:
  16996. $ref: '#/definitions/models.Szdz3convertconfig'
  16997. "500":
  16998. description: Internal Server Error
  16999. schema:
  17000. $ref: '#/definitions/app.Response'
  17001. security:
  17002. - ApiKeyAuth: []
  17003. summary: 查询交易系统转换设置
  17004. tags:
  17005. - 定制【尚志大宗】
  17006. /SZDZ/QueryConvertLog:
  17007. get:
  17008. parameters:
  17009. - description: 资金账户 - 格式:1,2,3
  17010. in: query
  17011. name: accountID
  17012. required: true
  17013. type: string
  17014. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  17015. in: query
  17016. name: startDate
  17017. type: string
  17018. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  17019. in: query
  17020. name: endDate
  17021. type: string
  17022. produces:
  17023. - application/json
  17024. responses:
  17025. "200":
  17026. description: OK
  17027. schema:
  17028. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  17029. "500":
  17030. description: Internal Server Error
  17031. schema:
  17032. $ref: '#/definitions/app.Response'
  17033. security:
  17034. - ApiKeyAuth: []
  17035. summary: 交易系统转换流水查询
  17036. tags:
  17037. - 定制【尚志大宗】
  17038. /SZDZ/QueryGoodsPickup:
  17039. get:
  17040. parameters:
  17041. - description: 资金账户 - 格式:1,2,3
  17042. in: query
  17043. name: accountID
  17044. required: true
  17045. type: string
  17046. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  17047. in: query
  17048. name: takeOrderStatus
  17049. type: integer
  17050. produces:
  17051. - application/json
  17052. responses:
  17053. "200":
  17054. description: OK
  17055. schema:
  17056. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  17057. "500":
  17058. description: Internal Server Error
  17059. schema:
  17060. $ref: '#/definitions/app.Response'
  17061. security:
  17062. - ApiKeyAuth: []
  17063. summary: 商品提货单查询
  17064. tags:
  17065. - 定制【尚志大宗】
  17066. /SZDZ/QueryRecieptOrder:
  17067. get:
  17068. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  17069. parameters:
  17070. - description: 页码
  17071. in: query
  17072. name: page
  17073. type: integer
  17074. - description: 每页条数
  17075. in: query
  17076. name: pagesize
  17077. type: integer
  17078. - description: 商品ID
  17079. in: query
  17080. name: goodsID
  17081. required: true
  17082. type: integer
  17083. - description: 所属账户名称
  17084. in: query
  17085. name: accountName
  17086. type: string
  17087. - description: 市场ID
  17088. in: query
  17089. name: marketID
  17090. type: integer
  17091. - description: 方向 - 0:买 1:卖
  17092. in: query
  17093. name: buyorsell
  17094. required: true
  17095. type: integer
  17096. produces:
  17097. - application/json
  17098. responses:
  17099. "200":
  17100. description: OK
  17101. schema:
  17102. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  17103. "500":
  17104. description: Internal Server Error
  17105. schema:
  17106. $ref: '#/definitions/app.Response'
  17107. security:
  17108. - ApiKeyAuth: []
  17109. summary: 点选挂牌委托单据查询(摘牌大厅)
  17110. tags:
  17111. - 定制【尚志大宗】
  17112. /SZDZ/QuerySZDZTradePosition:
  17113. get:
  17114. parameters:
  17115. - description: 资金账户
  17116. in: query
  17117. name: accountID
  17118. required: true
  17119. type: integer
  17120. produces:
  17121. - application/json
  17122. responses:
  17123. "200":
  17124. description: OK
  17125. schema:
  17126. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  17127. "500":
  17128. description: Internal Server Error
  17129. schema:
  17130. $ref: '#/definitions/app.Response'
  17131. security:
  17132. - ApiKeyAuth: []
  17133. summary: 持仓汇总查询(尚志大宗)
  17134. tags:
  17135. - 定制【尚志大宗】
  17136. /SZDZ/SearchWhite:
  17137. get:
  17138. parameters:
  17139. - description: 用户ID
  17140. in: query
  17141. name: userID
  17142. required: true
  17143. type: integer
  17144. produces:
  17145. - application/json
  17146. responses:
  17147. "200":
  17148. description: OK
  17149. schema:
  17150. $ref: '#/definitions/models.Szdz3searchwhitelist'
  17151. "500":
  17152. description: Internal Server Error
  17153. schema:
  17154. $ref: '#/definitions/app.Response'
  17155. security:
  17156. - ApiKeyAuth: []
  17157. summary: 搜索白名单
  17158. tags:
  17159. - 定制【尚志大宗】
  17160. /Search/SearchGoodses:
  17161. get:
  17162. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  17163. parameters:
  17164. - description: 检索内容
  17165. in: query
  17166. name: content
  17167. required: true
  17168. type: string
  17169. - description: 交易模式,格式:1,2,3
  17170. in: query
  17171. name: tradeModes
  17172. type: string
  17173. produces:
  17174. - application/json
  17175. responses:
  17176. "200":
  17177. description: OK
  17178. schema:
  17179. $ref: '#/definitions/models.SearchGoods'
  17180. "500":
  17181. description: Internal Server Error
  17182. schema:
  17183. $ref: '#/definitions/app.Response'
  17184. summary: 检索商品信息
  17185. tags:
  17186. - 检索服务
  17187. /TaAccount/GetTaAccounts:
  17188. get:
  17189. parameters:
  17190. - description: 登录账户
  17191. in: query
  17192. name: loginID
  17193. required: true
  17194. type: integer
  17195. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  17196. in: query
  17197. name: taAccountType
  17198. type: integer
  17199. produces:
  17200. - application/json
  17201. responses:
  17202. "200":
  17203. description: OK
  17204. schema:
  17205. $ref: '#/definitions/models.Taaccount'
  17206. "500":
  17207. description: Internal Server Error
  17208. schema:
  17209. $ref: '#/definitions/app.Response'
  17210. security:
  17211. - ApiKeyAuth: []
  17212. summary: 获取资金账户信息
  17213. tags:
  17214. - 资金账户
  17215. /TaAccount/QueryAmountLog:
  17216. get:
  17217. parameters:
  17218. - description: 页码
  17219. in: query
  17220. name: page
  17221. type: integer
  17222. - description: 每页条数
  17223. in: query
  17224. name: pagesize
  17225. type: integer
  17226. - description: 资金账户 - 格式:1,2,3
  17227. in: query
  17228. name: accountID
  17229. required: true
  17230. type: string
  17231. - description: 资金操作类型 - 格式:1,2,3
  17232. in: query
  17233. name: OperateType
  17234. type: string
  17235. produces:
  17236. - application/json
  17237. responses:
  17238. "200":
  17239. description: OK
  17240. schema:
  17241. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  17242. "500":
  17243. description: Internal Server Error
  17244. schema:
  17245. $ref: '#/definitions/app.Response'
  17246. security:
  17247. - ApiKeyAuth: []
  17248. summary: 资金流水查询(当前)
  17249. tags:
  17250. - 资金账户
  17251. /TaAccount/QueryHisAmountLog:
  17252. get:
  17253. parameters:
  17254. - description: 页码
  17255. in: query
  17256. name: page
  17257. type: integer
  17258. - description: 每页条数
  17259. in: query
  17260. name: pagesize
  17261. type: integer
  17262. - description: 资金账户 - 格式:1,2,3
  17263. in: query
  17264. name: accountID
  17265. required: true
  17266. type: string
  17267. - description: 资金操作类型 - 格式:1,2,3
  17268. in: query
  17269. name: OperateType
  17270. type: string
  17271. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  17272. in: query
  17273. name: startDate
  17274. type: string
  17275. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  17276. in: query
  17277. name: endDate
  17278. type: string
  17279. produces:
  17280. - application/json
  17281. responses:
  17282. "200":
  17283. description: OK
  17284. schema:
  17285. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  17286. "500":
  17287. description: Internal Server Error
  17288. schema:
  17289. $ref: '#/definitions/app.Response'
  17290. security:
  17291. - ApiKeyAuth: []
  17292. summary: 资金流水查询(历史)
  17293. tags:
  17294. - 资金账户
  17295. /Trade/QueryRecieptOrder:
  17296. get:
  17297. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  17298. parameters:
  17299. - description: 页码
  17300. in: query
  17301. name: page
  17302. type: integer
  17303. - description: 每页条数
  17304. in: query
  17305. name: pagesize
  17306. type: integer
  17307. - description: 商品ID
  17308. in: query
  17309. name: goodsID
  17310. required: true
  17311. type: integer
  17312. - description: 所属账户名称
  17313. in: query
  17314. name: accountName
  17315. type: string
  17316. - description: 市场ID
  17317. in: query
  17318. name: marketID
  17319. type: integer
  17320. - description: 方向 - 0:买 1:卖
  17321. in: query
  17322. name: buyorsell
  17323. required: true
  17324. type: integer
  17325. produces:
  17326. - application/json
  17327. responses:
  17328. "200":
  17329. description: OK
  17330. schema:
  17331. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  17332. "500":
  17333. description: Internal Server Error
  17334. schema:
  17335. $ref: '#/definitions/app.Response'
  17336. security:
  17337. - ApiKeyAuth: []
  17338. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  17339. tags:
  17340. - 通用交易
  17341. /User/AddMessageBoard:
  17342. post:
  17343. parameters:
  17344. - description: 用户ID
  17345. in: query
  17346. name: userID
  17347. required: true
  17348. type: integer
  17349. - description: 留言信息
  17350. in: query
  17351. name: message
  17352. required: true
  17353. type: string
  17354. - description: 联系电话
  17355. in: query
  17356. name: contactNum
  17357. required: true
  17358. type: string
  17359. produces:
  17360. - application/json
  17361. responses:
  17362. "200":
  17363. description: OK
  17364. schema:
  17365. $ref: '#/definitions/app.Response'
  17366. "500":
  17367. description: Internal Server Error
  17368. schema:
  17369. $ref: '#/definitions/app.Response'
  17370. security:
  17371. - ApiKeyAuth: []
  17372. summary: 添加用户留言板信息
  17373. tags:
  17374. - 用户信息
  17375. /User/AddUserFavoriteGoods:
  17376. post:
  17377. parameters:
  17378. - description: 用户ID
  17379. in: query
  17380. name: userID
  17381. required: true
  17382. type: integer
  17383. - description: 商品ID
  17384. in: query
  17385. name: goodsID
  17386. required: true
  17387. type: integer
  17388. produces:
  17389. - application/json
  17390. responses:
  17391. "200":
  17392. description: OK
  17393. schema:
  17394. $ref: '#/definitions/app.Response'
  17395. "500":
  17396. description: Internal Server Error
  17397. schema:
  17398. $ref: '#/definitions/app.Response'
  17399. security:
  17400. - ApiKeyAuth: []
  17401. summary: 添加用户商品收藏信息
  17402. tags:
  17403. - 用户信息
  17404. /User/GetLoginID:
  17405. get:
  17406. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  17407. parameters:
  17408. - description: 登录代码
  17409. in: query
  17410. name: username
  17411. required: true
  17412. type: string
  17413. produces:
  17414. - application/json
  17415. responses:
  17416. "200":
  17417. description: OK
  17418. schema:
  17419. $ref: '#/definitions/app.Response'
  17420. "500":
  17421. description: Internal Server Error
  17422. schema:
  17423. $ref: '#/definitions/app.Response'
  17424. summary: 获取登录ID
  17425. tags:
  17426. - 用户信息
  17427. /User/GetUserAccount:
  17428. get:
  17429. parameters:
  17430. - description: 用户ID
  17431. in: query
  17432. name: userID
  17433. required: true
  17434. type: integer
  17435. produces:
  17436. - application/json
  17437. responses:
  17438. "200":
  17439. description: OK
  17440. schema:
  17441. $ref: '#/definitions/models.Useraccount'
  17442. "500":
  17443. description: Internal Server Error
  17444. schema:
  17445. $ref: '#/definitions/app.Response'
  17446. security:
  17447. - ApiKeyAuth: []
  17448. summary: 获取用户账号信息
  17449. tags:
  17450. - 用户信息
  17451. /User/GetUserAuthStatus:
  17452. get:
  17453. parameters:
  17454. - description: 用户ID
  17455. in: query
  17456. name: userID
  17457. required: true
  17458. type: integer
  17459. produces:
  17460. - application/json
  17461. responses:
  17462. "200":
  17463. description: OK
  17464. schema:
  17465. $ref: '#/definitions/app.Response'
  17466. "500":
  17467. description: Internal Server Error
  17468. schema:
  17469. $ref: '#/definitions/app.Response'
  17470. security:
  17471. - ApiKeyAuth: []
  17472. summary: 获取用户实名认证状态
  17473. tags:
  17474. - 用户信息
  17475. /User/LoginQuery:
  17476. get:
  17477. parameters:
  17478. - description: 登录账号
  17479. in: query
  17480. name: loginID
  17481. required: true
  17482. type: integer
  17483. produces:
  17484. - application/json
  17485. responses:
  17486. "200":
  17487. description: OK
  17488. schema:
  17489. $ref: '#/definitions/user.LoginQueryRsp'
  17490. "500":
  17491. description: Internal Server Error
  17492. schema:
  17493. $ref: '#/definitions/app.Response'
  17494. security:
  17495. - ApiKeyAuth: []
  17496. summary: 账户登录后信息查询
  17497. tags:
  17498. - 用户信息
  17499. /User/QueryMessageBoard:
  17500. get:
  17501. parameters:
  17502. - description: 用户ID
  17503. in: query
  17504. name: userID
  17505. required: true
  17506. type: integer
  17507. produces:
  17508. - application/json
  17509. responses:
  17510. "200":
  17511. description: OK
  17512. schema:
  17513. $ref: '#/definitions/models.Messageboard'
  17514. "500":
  17515. description: Internal Server Error
  17516. schema:
  17517. $ref: '#/definitions/app.Response'
  17518. security:
  17519. - ApiKeyAuth: []
  17520. summary: 获取用户留言板信息
  17521. tags:
  17522. - 用户信息
  17523. /User/QueryUserFavoriteGoodses:
  17524. get:
  17525. parameters:
  17526. - description: 用户ID
  17527. in: query
  17528. name: userID
  17529. required: true
  17530. type: integer
  17531. produces:
  17532. - application/json
  17533. responses:
  17534. "200":
  17535. description: OK
  17536. schema:
  17537. $ref: '#/definitions/models.Userfavoritegoods'
  17538. "500":
  17539. description: Internal Server Error
  17540. schema:
  17541. $ref: '#/definitions/app.Response'
  17542. security:
  17543. - ApiKeyAuth: []
  17544. summary: 获取用户商品收藏信息
  17545. tags:
  17546. - 用户信息
  17547. /User/QueryUserInfo:
  17548. get:
  17549. parameters:
  17550. - description: 用户ID
  17551. in: query
  17552. name: userID
  17553. required: true
  17554. type: integer
  17555. - description: 是否解密
  17556. in: query
  17557. name: isDecrypt
  17558. type: boolean
  17559. produces:
  17560. - application/json
  17561. responses:
  17562. "200":
  17563. description: OK
  17564. schema:
  17565. $ref: '#/definitions/models.Userinfo'
  17566. "500":
  17567. description: Internal Server Error
  17568. schema:
  17569. $ref: '#/definitions/app.Response'
  17570. security:
  17571. - ApiKeyAuth: []
  17572. summary: 获取用户信息
  17573. tags:
  17574. - 用户信息
  17575. /User/QueryUserReferNum:
  17576. get:
  17577. parameters:
  17578. - description: 用户ID
  17579. in: query
  17580. name: userID
  17581. required: true
  17582. type: integer
  17583. produces:
  17584. - application/json
  17585. responses:
  17586. "200":
  17587. description: OK
  17588. schema:
  17589. $ref: '#/definitions/app.Response'
  17590. "500":
  17591. description: Internal Server Error
  17592. schema:
  17593. $ref: '#/definitions/app.Response'
  17594. summary: 获取用户邀请码
  17595. tags:
  17596. - 用户信息
  17597. /User/RemoveUserFavoriteGoods:
  17598. post:
  17599. parameters:
  17600. - description: 用户ID
  17601. in: query
  17602. name: userID
  17603. required: true
  17604. type: integer
  17605. - description: 商品ID
  17606. in: query
  17607. name: goodsID
  17608. required: true
  17609. type: integer
  17610. produces:
  17611. - application/json
  17612. responses:
  17613. "200":
  17614. description: OK
  17615. schema:
  17616. $ref: '#/definitions/app.Response'
  17617. "500":
  17618. description: Internal Server Error
  17619. schema:
  17620. $ref: '#/definitions/app.Response'
  17621. security:
  17622. - ApiKeyAuth: []
  17623. summary: 移除用户商品收藏信息
  17624. tags:
  17625. - 用户信息
  17626. /User/UpdateUserAccountStatus:
  17627. post:
  17628. parameters:
  17629. - description: 用户ID
  17630. in: query
  17631. name: userID
  17632. required: true
  17633. type: integer
  17634. - description: 账户状态 - 4:正常 6:注销(停用)
  17635. in: query
  17636. name: accountStatus
  17637. required: true
  17638. type: integer
  17639. produces:
  17640. - application/json
  17641. responses:
  17642. "200":
  17643. description: OK
  17644. schema:
  17645. $ref: '#/definitions/app.Response'
  17646. "500":
  17647. description: Internal Server Error
  17648. schema:
  17649. $ref: '#/definitions/app.Response'
  17650. security:
  17651. - ApiKeyAuth: []
  17652. summary: 更新用户状态
  17653. tags:
  17654. - 用户信息
  17655. /WRTrade/GetAllDeliveryGoods:
  17656. get:
  17657. produces:
  17658. - application/json
  17659. - application/json
  17660. responses:
  17661. "200":
  17662. description: OK
  17663. schema:
  17664. $ref: '#/definitions/app.Response'
  17665. "500":
  17666. description: Internal Server Error
  17667. schema:
  17668. $ref: '#/definitions/app.Response'
  17669. security:
  17670. - ApiKeyAuth: []
  17671. - ApiKeyAuth: []
  17672. summary: 获取带仓单分类的种类信息
  17673. tags:
  17674. - 仓单贸易
  17675. - 仓单贸易
  17676. securityDefinitions:
  17677. ApiKeyAuth:
  17678. in: header
  17679. name: Authorization
  17680. type: apiKey
  17681. swagger: "2.0"