swagger.yaml 484 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679
  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. appid:
  8625. description: AppID
  8626. type: string
  8627. authcode:
  8628. description: 授权码
  8629. type: string
  8630. brokerid:
  8631. description: 经纪商id
  8632. type: string
  8633. fcid:
  8634. description: 期货公司id
  8635. type: integer
  8636. fcname:
  8637. description: 期货公司代码
  8638. type: string
  8639. hedgeaccountcode:
  8640. description: 外部账号代码
  8641. type: string
  8642. hedgeaccountpwd:
  8643. description: 密码
  8644. type: string
  8645. ismain:
  8646. description: 是否主账号
  8647. type: integer
  8648. relateduserid:
  8649. description: 关联用户id
  8650. type: integer
  8651. type: object
  8652. models.Market:
  8653. properties:
  8654. auctionwrtype:
  8655. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  8656. type: integer
  8657. canacceptquote:
  8658. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  8659. type: integer
  8660. cangoodsexercise:
  8661. description: '[期权]是否可现货行权- 0:否 1:是'
  8662. type: integer
  8663. cangoodsexercisetype:
  8664. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  8665. type: integer
  8666. canmanualquotestrike:
  8667. description: 是否可手动报行权价- 0:否 1:是 [期权]
  8668. type: integer
  8669. canmutistage:
  8670. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  8671. type: integer
  8672. canpreexercise:
  8673. description: '[期权]是否可预申报- 0:否 1:是'
  8674. type: integer
  8675. clearinterval:
  8676. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  8677. type: integer
  8678. contracttmp:
  8679. description: 合同模板[荷兰式][竞价式][仓单贸易]
  8680. type: string
  8681. exchareaid:
  8682. description: 所属交易所,可以没有
  8683. type: integer
  8684. goodstype:
  8685. description: 商品类型 - 1:交易商品 2:仓单商品
  8686. type: integer
  8687. hasrebate:
  8688. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  8689. type: integer
  8690. hastradecredit:
  8691. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  8692. type: integer
  8693. haswr:
  8694. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  8695. type: integer
  8696. isdeductmargin:
  8697. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  8698. type: integer
  8699. isrecordsource:
  8700. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  8701. type: integer
  8702. isreleasemargin:
  8703. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  8704. type: integer
  8705. marginformula:
  8706. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  8707. type: integer
  8708. marginformula2:
  8709. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  8710. type: integer
  8711. marketid:
  8712. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  8713. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  8714. type: integer
  8715. marketname:
  8716. description: 市场名称
  8717. type: string
  8718. marketserviceid:
  8719. description: 市场服务ID
  8720. type: integer
  8721. marketstatus:
  8722. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  8723. type: integer
  8724. markettype:
  8725. description: 市场类型- 1:非交易服务 2:交易服务
  8726. type: integer
  8727. matchermode:
  8728. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  8729. type: integer
  8730. openmethod:
  8731. description: 开盘模式 - 0 自动 1手动
  8732. type: integer
  8733. otcuserid:
  8734. description: 场外期权做市商[场外期权]
  8735. type: integer
  8736. outersynctime:
  8737. description: 外部同步时间点(h24:mi:ss)[场外期权]
  8738. type: string
  8739. pendingflag:
  8740. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  8741. type: integer
  8742. pendingtime:
  8743. description: 待开市时间[通道交易-对冲](HH:mm)
  8744. type: string
  8745. performancetempid:
  8746. description: 履约计划模板ID - 作废
  8747. type: integer
  8748. premiumquotemode:
  8749. description: 权利金报价方式 - 1:自动 2:手动
  8750. type: integer
  8751. rebateratio:
  8752. description: 返利比率[竞价式]
  8753. type: number
  8754. reckonorder:
  8755. description: 结算顺序
  8756. type: integer
  8757. reckonpricealgorithm:
  8758. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  8759. 6.卖一价 7.买一卖一均价 8.外部结算价'
  8760. type: integer
  8761. reckonpriceparam:
  8762. description: 结算价参数
  8763. type: integer
  8764. reckontime:
  8765. description: 结算时间[通道交易-对冲](HH:mm)
  8766. type: string
  8767. roleprioritytype:
  8768. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  8769. type: integer
  8770. selllistingauditflag:
  8771. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  8772. type: integer
  8773. trademarkettype:
  8774. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  8775. type: integer
  8776. trademode:
  8777. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8778. 21:竞拍-大宗式 22:受托竞价
  8779. type: integer
  8780. tradeproperty:
  8781. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  8782. 8:场外期权
  8783. type: integer
  8784. tradetype:
  8785. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  8786. type: integer
  8787. required:
  8788. - marketid
  8789. - marketstatus
  8790. - openmethod
  8791. - reckonpricealgorithm
  8792. - trademode
  8793. - tradeproperty
  8794. type: object
  8795. models.Marketrun:
  8796. properties:
  8797. afternexttradedate:
  8798. description: 下下交易日
  8799. type: string
  8800. clearquoteflag:
  8801. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  8802. type: integer
  8803. lastreckondate:
  8804. description: 最新交易日(结算成功)
  8805. type: string
  8806. machinedate:
  8807. description: 机器时间
  8808. type: string
  8809. manualflag:
  8810. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  8811. type: integer
  8812. marketid:
  8813. description: 市场ID
  8814. type: integer
  8815. nexttradedate:
  8816. description: 下一交易日
  8817. type: string
  8818. pretradedate:
  8819. description: 上一交易日
  8820. type: string
  8821. reckonflag:
  8822. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  8823. type: integer
  8824. runstatus:
  8825. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  8826. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  8827. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  8828. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  8829. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  8830. 62.今日免清算
  8831. type: integer
  8832. sectionid:
  8833. description: 时间段号[多时段时用]
  8834. type: integer
  8835. tradedate:
  8836. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  8837. type: string
  8838. tradedate2:
  8839. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  8840. type: string
  8841. updatetime:
  8842. description: 更新时间
  8843. type: string
  8844. required:
  8845. - marketid
  8846. - nexttradedate
  8847. - reckonflag
  8848. - runstatus
  8849. - tradedate
  8850. - tradedate2
  8851. type: object
  8852. models.Messageboard:
  8853. properties:
  8854. contactnum:
  8855. description: 联系电话
  8856. type: string
  8857. createtime:
  8858. description: 创建时间
  8859. type: string
  8860. message:
  8861. description: 留言信息
  8862. type: string
  8863. messageboardid:
  8864. description: 留言簿ID(SEQ_MessageBoard)
  8865. type: integer
  8866. userid:
  8867. description: 用户ID
  8868. type: integer
  8869. required:
  8870. - messageboardid
  8871. type: object
  8872. models.MyCoupon:
  8873. properties:
  8874. accountid:
  8875. description: 资金账户ID
  8876. type: integer
  8877. areauserid:
  8878. description: 所属机构
  8879. type: integer
  8880. conditionvalue:
  8881. description: 条件阈值(可为0)
  8882. type: number
  8883. couponcategroy:
  8884. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  8885. type: integer
  8886. couponname:
  8887. description: 优惠券名称
  8888. type: string
  8889. coupontypeid:
  8890. description: 优惠券类型ID
  8891. type: string
  8892. couponvalue:
  8893. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  8894. type: number
  8895. curfreezeqty:
  8896. description: 期末冻结数量
  8897. type: integer
  8898. curqty:
  8899. description: 期末数量
  8900. type: integer
  8901. isgeneral:
  8902. description: 是否通用券 - 0:否 1:是
  8903. type: integer
  8904. isunusable:
  8905. description: 是否不可用
  8906. type: boolean
  8907. limitedflag:
  8908. description: 是否指定商品 - 0:不限 1:限制
  8909. type: integer
  8910. limitedgoodsids:
  8911. description: 指定商品IDs[逗号分隔,前后加逗号]
  8912. type: string
  8913. orifreezeqty:
  8914. description: 期初冻结数量
  8915. type: integer
  8916. oriqty:
  8917. description: 期初数量
  8918. type: integer
  8919. reasontype:
  8920. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  8921. type: integer
  8922. todaydecrease:
  8923. description: 今日减少
  8924. type: integer
  8925. todayincrease:
  8926. description: 今日增加
  8927. type: integer
  8928. userid:
  8929. description: 用户ID
  8930. type: integer
  8931. userscope:
  8932. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  8933. type: string
  8934. required:
  8935. - accountid
  8936. - coupontypeid
  8937. type: object
  8938. models.MyCouponHold:
  8939. properties:
  8940. accountid:
  8941. description: 资金账户ID
  8942. type: integer
  8943. conditionvalue:
  8944. description: 条件阈值(可为0)
  8945. type: number
  8946. couponcategroy:
  8947. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  8948. type: integer
  8949. couponholdid:
  8950. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  8951. type: string
  8952. couponname:
  8953. description: 优惠券名称
  8954. type: string
  8955. coupontypeid:
  8956. description: 优惠券类型ID - SEQ_COUPONTYPE
  8957. type: string
  8958. couponvalue:
  8959. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  8960. type: number
  8961. createtime:
  8962. description: 创建时间
  8963. type: string
  8964. enddate:
  8965. description: 结束日期
  8966. type: string
  8967. giveapplyid:
  8968. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  8969. type: integer
  8970. holdstatus:
  8971. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  8972. type: integer
  8973. isgeneral:
  8974. description: 是否通用券 - 0:否 1:是
  8975. type: integer
  8976. limitedflag:
  8977. description: 是否指定商品 - 0:不限 1:限制
  8978. type: integer
  8979. limitedgoodsids:
  8980. description: 指定商品IDs[逗号分隔]
  8981. type: string
  8982. qty:
  8983. description: 数量(按1平铺)
  8984. type: integer
  8985. startdate:
  8986. description: 开始日期
  8987. type: string
  8988. userid:
  8989. description: 用户ID
  8990. type: integer
  8991. userscope:
  8992. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  8993. type: string
  8994. required:
  8995. - couponholdid
  8996. type: object
  8997. models.MyUsedCoupon:
  8998. properties:
  8999. accountid:
  9000. description: 资金账户ID(买方)
  9001. type: integer
  9002. conditionvalue:
  9003. description: 条件阈值(可为0)
  9004. type: number
  9005. couponcategroy:
  9006. description: 种类 - 1:现金券 2:折扣券
  9007. type: integer
  9008. couponname:
  9009. description: 优惠券名称
  9010. type: string
  9011. coupontypeid:
  9012. description: 优惠券类型ID(买方)
  9013. type: string
  9014. couponvalue:
  9015. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  9016. type: number
  9017. createtime:
  9018. description: 创建时间
  9019. type: string
  9020. goodsid:
  9021. description: 商品ID
  9022. type: integer
  9023. handlestatus:
  9024. description: 处理状态
  9025. type: integer
  9026. marketid:
  9027. description: 市场ID
  9028. type: integer
  9029. offamount:
  9030. description: 优惠金额
  9031. type: number
  9032. orderid:
  9033. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9034. type: string
  9035. sellaccountid:
  9036. description: 资金账户ID(卖方)
  9037. type: integer
  9038. tradeamount:
  9039. description: 成交金额
  9040. type: number
  9041. tradeid:
  9042. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9043. type: string
  9044. usedqty:
  9045. description: 使用数量
  9046. type: integer
  9047. required:
  9048. - coupontypeid
  9049. - orderid
  9050. type: object
  9051. models.OperationPrimaryMenu:
  9052. properties:
  9053. Children:
  9054. description: 二级功能菜单
  9055. items:
  9056. $ref: '#/definitions/models.OperationSecondaryMenu'
  9057. type: array
  9058. Key:
  9059. description: 菜单KEY
  9060. type: string
  9061. Label:
  9062. description: 菜单标题
  9063. type: string
  9064. type: object
  9065. models.OperationSecondaryMenu:
  9066. properties:
  9067. Key:
  9068. description: 菜单KEY
  9069. type: string
  9070. Label:
  9071. description: 菜单标题
  9072. type: string
  9073. TabList:
  9074. description: 三级功能菜单
  9075. items:
  9076. $ref: '#/definitions/models.OperationTabMenu'
  9077. type: array
  9078. type: object
  9079. models.OperationTabMenu:
  9080. properties:
  9081. Key:
  9082. description: 菜单KEY
  9083. type: string
  9084. Label:
  9085. description: 菜单标题
  9086. type: string
  9087. type: object
  9088. models.PendingAuditBizModel:
  9089. properties:
  9090. accountid:
  9091. description: 现货账户
  9092. type: string
  9093. areaname:
  9094. description: 所属部门
  9095. type: string
  9096. bizid:
  9097. description: 业务ID
  9098. type: string
  9099. bizname:
  9100. description: 业务名称
  9101. type: string
  9102. status:
  9103. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  9104. type: integer
  9105. type:
  9106. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  9107. type: integer
  9108. type: object
  9109. models.QueryErrorInfosRsp:
  9110. properties:
  9111. description:
  9112. description: 异常描述
  9113. type: string
  9114. errorcode:
  9115. description: 异常代码
  9116. type: string
  9117. errorid:
  9118. description: 异常ID
  9119. type: integer
  9120. modulecode:
  9121. description: 所属模块
  9122. type: string
  9123. operatecode:
  9124. description: 所属操作
  9125. type: string
  9126. rownumber:
  9127. description: 行号
  9128. type: string
  9129. required:
  9130. - errorid
  9131. type: object
  9132. models.QueryHedgeOrderDetailRsp:
  9133. properties:
  9134. accountid:
  9135. description: 账户ID
  9136. type: integer
  9137. buyorsell:
  9138. description: 买卖 - 0:买 1:卖
  9139. type: integer
  9140. cancellogincode:
  9141. description: 撤单人
  9142. type: string
  9143. channelbuildtype:
  9144. description: 开平标志 - 0:无 1:建仓 2:平仓
  9145. type: integer
  9146. channelinnerorderstatus:
  9147. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  9148. 9:全部成交
  9149. type: integer
  9150. channeloperatetype:
  9151. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  9152. type: integer
  9153. closetype:
  9154. description: 平仓方式 - 0:无 1:平今 2:平昨
  9155. type: integer
  9156. curexchangerate:
  9157. description: 当前汇率
  9158. type: number
  9159. exchangefullname:
  9160. description: 外部交易所全称
  9161. type: string
  9162. goodscode:
  9163. description: 商品代码(内部)
  9164. type: string
  9165. goodsid:
  9166. description: 商品ID
  9167. type: integer
  9168. goodsname:
  9169. description: 商品名称
  9170. type: string
  9171. marketid:
  9172. description: 市场ID
  9173. type: integer
  9174. openfreezemargin:
  9175. description: 冻结保证金(冻结交易金额)
  9176. type: number
  9177. orderid:
  9178. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9179. type: string
  9180. orderlogincode:
  9181. description: 委托人
  9182. type: string
  9183. orderprice:
  9184. description: 委托价格(账户)
  9185. type: number
  9186. orderqty:
  9187. description: 委托数量
  9188. type: integer
  9189. ordertime:
  9190. description: 委托时间
  9191. type: string
  9192. pricemode:
  9193. description: '取价方式 - 1:市价 2: 限价'
  9194. type: integer
  9195. tradedate:
  9196. description: 交易日(yyyyMMdd)
  9197. type: string
  9198. tradeqty:
  9199. description: 成交数量
  9200. type: integer
  9201. type: object
  9202. models.QueryHedgeTradeDetailRsp:
  9203. properties:
  9204. accountid:
  9205. description: 账号ID
  9206. type: integer
  9207. buyorsell:
  9208. description: 方向 - 0:买 1:卖
  9209. type: integer
  9210. channelbuildtype:
  9211. description: 委托单据类型 0:无 1:建仓 2:平仓
  9212. type: integer
  9213. closecharge:
  9214. description: 平仓手续费(账户)
  9215. type: number
  9216. closecharge2:
  9217. description: 平仓手续费(商品)
  9218. type: number
  9219. closepl:
  9220. description: 平仓盈亏(账户)
  9221. type: number
  9222. closepl2:
  9223. description: 平仓盈亏(商品)
  9224. type: number
  9225. closepl3:
  9226. description: 平仓盈亏(账户)(逐笔)
  9227. type: number
  9228. closepl4:
  9229. description: 平仓盈亏(商品)(逐笔)
  9230. type: number
  9231. closetype:
  9232. description: 平仓方式 - 0:无 1:平今 2:平昨
  9233. type: integer
  9234. curexchangerate:
  9235. description: 当前汇率
  9236. type: number
  9237. exchangefullname:
  9238. description: 外部交易所全称
  9239. type: string
  9240. goodscode:
  9241. description: 商品代码(内部)
  9242. type: string
  9243. goodsid:
  9244. description: 商品ID
  9245. type: integer
  9246. goodsname:
  9247. description: 商品名称
  9248. type: string
  9249. marketid:
  9250. description: 市场ID
  9251. type: integer
  9252. opencharge:
  9253. description: 建仓手续费(账户)
  9254. type: number
  9255. opencharge2:
  9256. description: 建仓手续费(商品)
  9257. type: number
  9258. orderid:
  9259. description: 委托单号
  9260. type: string
  9261. orderlogincode:
  9262. description: 委托人
  9263. type: string
  9264. tradeamount:
  9265. description: 成交金额(账户)
  9266. type: number
  9267. tradedate:
  9268. description: 交易日(yyyyMMdd)
  9269. type: string
  9270. tradeid:
  9271. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9272. type: string
  9273. tradeprice:
  9274. description: 成交价格
  9275. type: number
  9276. tradeqty:
  9277. description: 成交数量
  9278. type: integer
  9279. tradetime:
  9280. description: 成交时间
  9281. type: string
  9282. tradetype:
  9283. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  9284. type: integer
  9285. type: object
  9286. models.QuotePrimaryMenu:
  9287. properties:
  9288. Index:
  9289. description: 序号
  9290. type: integer
  9291. Key:
  9292. description: 键名
  9293. type: string
  9294. Name:
  9295. description: 菜单名称
  9296. type: string
  9297. SubMenus:
  9298. description: 子菜单
  9299. items:
  9300. $ref: '#/definitions/models.QuoteSecondaryMenu'
  9301. type: array
  9302. SubTitleType:
  9303. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  9304. type: integer
  9305. TradeModes:
  9306. description: 包含市场交易类型
  9307. type: string
  9308. type: object
  9309. models.QuoteSecondaryMenu:
  9310. properties:
  9311. ExExchangeCode:
  9312. description: 外部交易所代码
  9313. type: string
  9314. ExExchangeID:
  9315. description: 外部交易所ID
  9316. type: integer
  9317. GoodsGroupIDs:
  9318. description: 商品组ID列表
  9319. items:
  9320. type: integer
  9321. type: array
  9322. Index:
  9323. description: 序号
  9324. type: integer
  9325. MarketID:
  9326. description: 市场ID
  9327. type: integer
  9328. MenuTitle:
  9329. description: 菜单标题(市场名称或外部交易所名称)
  9330. type: string
  9331. TradeMode:
  9332. description: 交易模式
  9333. type: integer
  9334. type: object
  9335. models.RelatedGoodsEx:
  9336. properties:
  9337. goodscode:
  9338. description: 商品代码
  9339. type: string
  9340. goodsid:
  9341. description: 商品id
  9342. type: integer
  9343. goodsname:
  9344. description: 商品名称
  9345. type: string
  9346. type: object
  9347. models.SearchGoods:
  9348. properties:
  9349. goodscode:
  9350. description: 商品代码(内部)
  9351. type: string
  9352. goodsid:
  9353. description: 商品ID(自增ID SEQ_GOODS)
  9354. type: integer
  9355. goodsname:
  9356. description: 商品名称
  9357. type: string
  9358. marketid:
  9359. description: 所属市场ID
  9360. type: integer
  9361. marketname:
  9362. description: 市场名称
  9363. type: string
  9364. trademode:
  9365. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9366. 21:竞拍-大宗式 22:受托竞价
  9367. type: integer
  9368. required:
  9369. - goodscode
  9370. - goodsid
  9371. - goodsname
  9372. - marketid
  9373. - trademode
  9374. type: object
  9375. models.Systemparam:
  9376. properties:
  9377. loginid:
  9378. description: 更新用户账号,登录账号
  9379. type: string
  9380. modifyflag:
  9381. description: 修改标志0 不允许修改 1 允许修改
  9382. type: integer
  9383. paramcode:
  9384. description: 参数代码
  9385. type: string
  9386. paramname:
  9387. description: 参数名
  9388. type: string
  9389. paramtype:
  9390. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  9391. type: integer
  9392. paramvalue:
  9393. description: 参数值
  9394. type: string
  9395. paramvalue2:
  9396. description: 参数值(CLOB)
  9397. type: string
  9398. regexpress:
  9399. description: 正则表达式
  9400. type: string
  9401. remark:
  9402. description: 备注
  9403. type: string
  9404. serverip:
  9405. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  9406. type: string
  9407. showflag:
  9408. description: 是否显示0 不显示 1 显示
  9409. type: integer
  9410. updatetime:
  9411. description: 更新时间
  9412. type: string
  9413. userid:
  9414. description: 更新用户ID
  9415. type: integer
  9416. required:
  9417. - paramcode
  9418. type: object
  9419. models.Szdz3convertconfig:
  9420. properties:
  9421. canin:
  9422. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  9423. type: integer
  9424. canout:
  9425. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  9426. type: integer
  9427. converttype:
  9428. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  9429. 6:交易转花生米(不设置)
  9430. type: integer
  9431. createtime:
  9432. description: 创建时间
  9433. type: string
  9434. creatorid:
  9435. description: 创建人
  9436. type: integer
  9437. daymaxvalue:
  9438. description: 当日最大转入限制
  9439. type: number
  9440. freezedays:
  9441. description: 冻结天数 [5:花生米转交易]
  9442. type: integer
  9443. innergoodsid:
  9444. description: 内部商品ID[交易]
  9445. type: integer
  9446. inratio:
  9447. description: 目标值
  9448. type: integer
  9449. modifierid:
  9450. description: 修改人
  9451. type: integer
  9452. modifytime:
  9453. description: 修改时间
  9454. type: string
  9455. outergoodscode:
  9456. description: 外部商品代码[JD\PD]
  9457. type: string
  9458. outratio:
  9459. description: 源值
  9460. type: integer
  9461. pddecimalplace:
  9462. description: PD小数位
  9463. type: integer
  9464. timemaxvalue:
  9465. description: 单次最大转入限制
  9466. type: number
  9467. timeminvalue:
  9468. description: 单次最小转入限制
  9469. type: number
  9470. required:
  9471. - converttype
  9472. - innergoodsid
  9473. - outergoodscode
  9474. type: object
  9475. models.Szdz3searchwhitelist:
  9476. properties:
  9477. createtime:
  9478. description: 创建时间
  9479. type: string
  9480. creatorid:
  9481. description: 创建人
  9482. type: integer
  9483. modifierid:
  9484. description: 修改人
  9485. type: integer
  9486. modifytime:
  9487. description: 修改时间
  9488. type: string
  9489. userid:
  9490. description: 用户ID
  9491. type: integer
  9492. required:
  9493. - userid
  9494. type: object
  9495. models.Taaccount:
  9496. properties:
  9497. accountflag:
  9498. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  9499. type: integer
  9500. accountid:
  9501. description: 资金账户ID
  9502. type: integer
  9503. accountname:
  9504. description: 账户名称
  9505. type: string
  9506. balance:
  9507. description: 期初余额
  9508. type: number
  9509. capitalbalance:
  9510. description: 本金余额[外部子账户实际出入金余额]
  9511. type: number
  9512. changeflag:
  9513. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  9514. type: integer
  9515. changetime:
  9516. description: 账户状态变更时间
  9517. type: string
  9518. closepl:
  9519. description: 今日平仓盈亏
  9520. type: number
  9521. creditdecrease:
  9522. description: 今日授信减少
  9523. type: number
  9524. creditincrease:
  9525. description: 今日授信增加
  9526. type: number
  9527. currencyid:
  9528. description: 货币ID
  9529. type: integer
  9530. currentbalance:
  9531. description: 期末余额
  9532. type: number
  9533. freezecharge:
  9534. description: 手续费冻结
  9535. type: number
  9536. freezemargin:
  9537. description: 冻结保证金
  9538. type: number
  9539. fromaccountid:
  9540. description: 所属上级账户
  9541. type: integer
  9542. inamount:
  9543. description: 今日入金金额(包括三方入金)
  9544. type: number
  9545. ismain:
  9546. description: 是否母账号 0:不是母账户 1:是母账户
  9547. type: integer
  9548. ismarketaccount:
  9549. description: 是否机构接单账号 0:不是 1:是
  9550. type: integer
  9551. isreckonaccount:
  9552. description: 是否机构分润账号 0:不是 1:是
  9553. type: integer
  9554. mortgagecredit:
  9555. description: 授信金额
  9556. type: number
  9557. orifreezecharge:
  9558. description: 期初手续费冻结
  9559. type: number
  9560. orifreezemargin:
  9561. description: 期初冻结保证金
  9562. type: number
  9563. orimortgagecredit:
  9564. description: 期初授信金额
  9565. type: number
  9566. oriothercredit:
  9567. description: 期初其它授信金额
  9568. type: number
  9569. oriotherfreezemargin:
  9570. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  9571. type: number
  9572. orioutamountfreeze:
  9573. description: 期初出金冻结
  9574. type: number
  9575. oriusedmargin:
  9576. description: 期初占用保证金
  9577. type: number
  9578. othercredit:
  9579. description: 其它授信金额
  9580. type: number
  9581. othercreditdecrease:
  9582. description: 今日其它授信减少
  9583. type: number
  9584. othercreditincrease:
  9585. description: 今日其它授信增加
  9586. type: number
  9587. otherfreezemargin:
  9588. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  9589. type: number
  9590. otherincome:
  9591. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  9592. type: number
  9593. otherpay:
  9594. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  9595. type: number
  9596. outamount:
  9597. description: 今日出金金额(包括三方出金)
  9598. type: number
  9599. outamountfreeze:
  9600. description: 出金冻结
  9601. type: number
  9602. outthreshold:
  9603. description: 出金阈值
  9604. type: number
  9605. parentaccountid:
  9606. description: 所属根账号
  9607. type: integer
  9608. paycharge:
  9609. description: 今日手续费支出
  9610. type: number
  9611. relatedaccountstatus:
  9612. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  9613. type: integer
  9614. relateduserid:
  9615. description: 关联用户
  9616. type: integer
  9617. serivcegroup:
  9618. description: 服务分组
  9619. type: integer
  9620. signstatus:
  9621. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  9622. type: integer
  9623. sublevelpath:
  9624. description: 账号层级路径(逗号分隔,首尾加逗号)
  9625. type: string
  9626. taaccounttype:
  9627. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  9628. type: integer
  9629. thirdinamount:
  9630. description: 今日三方入金
  9631. type: number
  9632. thirdoutamount:
  9633. description: 今日三方出金
  9634. type: number
  9635. tradestatus:
  9636. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9637. type: integer
  9638. tradestatuschangetime:
  9639. description: 激活时间
  9640. type: string
  9641. transferamount:
  9642. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  9643. type: number
  9644. usedmargin:
  9645. description: 占用保证金
  9646. type: number
  9647. userid:
  9648. description: 用户ID
  9649. type: integer
  9650. required:
  9651. - accountid
  9652. - userid
  9653. type: object
  9654. models.Tablecolumnconfig:
  9655. properties:
  9656. aligntype:
  9657. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  9658. type: integer
  9659. autoid:
  9660. description: AutoID
  9661. type: integer
  9662. columnfield:
  9663. description: 列字段
  9664. type: string
  9665. columntitle:
  9666. description: 列Title
  9667. type: string
  9668. columnwidth:
  9669. description: 列宽
  9670. type: string
  9671. formatterstring:
  9672. description: 格式化字符
  9673. type: string
  9674. formattertype:
  9675. description: 格式化类型
  9676. type: string
  9677. groupname:
  9678. description: 表头分组名称
  9679. type: string
  9680. isshow:
  9681. description: 是否显示 - 0:不显示 1:显示
  9682. type: integer
  9683. needsummary:
  9684. description: 是否需要汇总 - 0:不需要 1:需要
  9685. type: integer
  9686. orderindex:
  9687. description: 顺序
  9688. type: integer
  9689. remark:
  9690. description: 备注
  9691. type: string
  9692. summarytype:
  9693. description: 汇总类型 - 1:加总 2:最后一个
  9694. type: integer
  9695. tablekey:
  9696. description: 列表Key
  9697. type: string
  9698. required:
  9699. - autoid
  9700. type: object
  9701. models.Useraccount:
  9702. properties:
  9703. accountname:
  9704. description: 账户名称(机构名称)
  9705. type: string
  9706. accountstatus:
  9707. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  9708. type: integer
  9709. auditremark:
  9710. description: 审核备注
  9711. type: string
  9712. audittime:
  9713. description: 审核时间
  9714. type: string
  9715. audituserid:
  9716. description: 审核人
  9717. type: integer
  9718. broker:
  9719. description: 所属经纪人ID
  9720. type: integer
  9721. canceltime:
  9722. description: 销户时间
  9723. type: string
  9724. canceluserid:
  9725. description: 销户人
  9726. type: integer
  9727. createtime:
  9728. description: 创建时间
  9729. type: string
  9730. creatorid:
  9731. description: 创建人
  9732. type: integer
  9733. hasauth:
  9734. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  9735. type: integer
  9736. isanonymous:
  9737. description: 是否匿名下单 - 0:否 1:是
  9738. type: integer
  9739. maxinvestornum:
  9740. description: 最大用户数(经纪会员下投资者个数)
  9741. type: integer
  9742. memberuserid:
  9743. description: 所属会员ID
  9744. type: integer
  9745. modifierid:
  9746. description: 修改人
  9747. type: integer
  9748. modifyremark:
  9749. description: 变更备注
  9750. type: string
  9751. modifystatus:
  9752. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  9753. type: integer
  9754. modifytime:
  9755. description: 修改时间
  9756. type: string
  9757. parentuserid:
  9758. description: 所属机构ID
  9759. type: integer
  9760. reckonaccountid:
  9761. description: 默认结算资金账号ID(机构分润使用) 作废
  9762. type: integer
  9763. refercount:
  9764. description: 推荐总人数
  9765. type: integer
  9766. refereeuserid:
  9767. description: 推荐人ID
  9768. type: integer
  9769. refernum:
  9770. description: 推荐码
  9771. type: string
  9772. subarealevelpath:
  9773. description: 子机构层级路径(逗号分隔,首尾加逗号)
  9774. type: string
  9775. userid:
  9776. description: 用户ID
  9777. type: integer
  9778. usertype:
  9779. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  9780. type: integer
  9781. required:
  9782. - userid
  9783. type: object
  9784. models.Userfavoritegoods:
  9785. properties:
  9786. goodsid:
  9787. description: 商品ID
  9788. type: integer
  9789. required:
  9790. - goodsid
  9791. type: object
  9792. models.Userinfo:
  9793. properties:
  9794. address:
  9795. description: 地址
  9796. type: string
  9797. attachment1:
  9798. description: 附件1
  9799. type: string
  9800. attachment2:
  9801. description: 附件2
  9802. type: string
  9803. bankaccount:
  9804. description: 银行帐号 (加密存储)
  9805. type: string
  9806. bankaccountname:
  9807. description: 收款人名称
  9808. type: string
  9809. bankcardfrontphotourl:
  9810. description: 银行卡正面照地址
  9811. type: string
  9812. bankid:
  9813. description: 银行编码
  9814. type: string
  9815. bankname:
  9816. description: 银行名称
  9817. type: string
  9818. biznature:
  9819. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  9820. type: integer
  9821. bizscope:
  9822. description: 企业经营范围(企业)
  9823. type: string
  9824. cardbackphotourl:
  9825. description: 证件背面图片地址
  9826. type: string
  9827. cardfrontphotourl:
  9828. description: 证件正面图片地址
  9829. type: string
  9830. cardnum:
  9831. description: 证件号码(加密存储)
  9832. type: string
  9833. cardtypeid:
  9834. description: 证件类型ID
  9835. type: integer
  9836. cityid:
  9837. description: 市
  9838. type: integer
  9839. company:
  9840. description: 公司(个人)
  9841. type: string
  9842. contactname:
  9843. description: 联系人
  9844. type: string
  9845. countryid:
  9846. description: 国家
  9847. type: integer
  9848. createtime:
  9849. description: 创建时间
  9850. type: string
  9851. creatorid:
  9852. description: 创建人
  9853. type: integer
  9854. customername:
  9855. description: 客户名称(企业名称)
  9856. type: string
  9857. districtid:
  9858. description: 地区
  9859. type: integer
  9860. email:
  9861. description: 邮件(加密存储)
  9862. type: string
  9863. fax:
  9864. description: 传真(加密存储)
  9865. type: string
  9866. halfbodyphotourl:
  9867. description: 半身照地址
  9868. type: string
  9869. hasencrypt:
  9870. description: 数据是否已加密 - 0:未加密 1:已加密
  9871. type: integer
  9872. headurl:
  9873. description: 头像地址
  9874. type: string
  9875. legalcardbackphotourl:
  9876. description: 法人身份证背面照地址
  9877. type: string
  9878. legalcardfrontphotourl:
  9879. description: 法人身份证正面照地址
  9880. type: string
  9881. legalpersonname:
  9882. description: 法人姓名(企业)
  9883. type: string
  9884. mobile:
  9885. description: 手机号码(加密存储)
  9886. type: string
  9887. mobile2:
  9888. description: 手机号码[明文-尚志]
  9889. type: string
  9890. modifierid:
  9891. description: 修改人
  9892. type: integer
  9893. modifiertime:
  9894. description: 修改时间
  9895. type: string
  9896. needinvoice:
  9897. description: 是否需要发票 - 0:不需要 1:需要
  9898. type: integer
  9899. nickname:
  9900. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  9901. type: string
  9902. openmode:
  9903. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  9904. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  9905. type: integer
  9906. otherurl:
  9907. description: 其它图片地址[使用分号分隔]
  9908. type: string
  9909. postalcode:
  9910. description: 邮政编码
  9911. type: string
  9912. provinceid:
  9913. description: 省
  9914. type: integer
  9915. qq:
  9916. description: QQ(加密存储
  9917. type: string
  9918. remark:
  9919. description: 备注
  9920. type: string
  9921. sex:
  9922. description: '用户性别 0: 女 1: 男'
  9923. type: integer
  9924. signpdfurl:
  9925. description: 签约pdf文件
  9926. type: string
  9927. telphone:
  9928. description: 联系电话(加密存储)
  9929. type: string
  9930. userid:
  9931. description: 用户ID
  9932. type: integer
  9933. userinfotype:
  9934. description: 用户信息类型 - 1:个人 2:企业
  9935. type: integer
  9936. userstatus:
  9937. description: 用户状态 - 1:正常 2:注销
  9938. type: integer
  9939. usertype:
  9940. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  9941. type: integer
  9942. wechat:
  9943. description: 微信(加密存储)
  9944. type: string
  9945. wskhinfo:
  9946. description: 开户申请信息(JSON)
  9947. type: string
  9948. required:
  9949. - userid
  9950. type: object
  9951. models.WRSConverTDetail:
  9952. properties:
  9953. convertratio:
  9954. description: 套保系数
  9955. type: number
  9956. deliverygoodscode:
  9957. description: 现货商品代码
  9958. type: string
  9959. deliverygoodsid:
  9960. description: 现货品种ID
  9961. type: integer
  9962. deliverygoodsname:
  9963. description: 现货商品名称
  9964. type: string
  9965. enumdicname:
  9966. description: 单位名称
  9967. type: string
  9968. goodsunitid:
  9969. description: 套保品种单位id
  9970. type: integer
  9971. middlegoodscode:
  9972. description: 套保品种代码
  9973. type: string
  9974. middlegoodsid:
  9975. description: 套保品种ID
  9976. type: integer
  9977. middlegoodsname:
  9978. description: 套保品种名称
  9979. type: string
  9980. modifytime:
  9981. description: 修改时间
  9982. type: string
  9983. wrstandardid:
  9984. description: 品类ID
  9985. type: integer
  9986. type: object
  9987. models.WRStandardInfo:
  9988. properties:
  9989. areauserid:
  9990. description: 所属机构
  9991. type: integer
  9992. convertfactor:
  9993. description: 标仓系数
  9994. type: number
  9995. createtime:
  9996. description: 创建时间
  9997. type: string
  9998. creatorid:
  9999. description: 创建人
  10000. type: integer
  10001. deliverygoodsid:
  10002. description: 品种ID
  10003. type: integer
  10004. deliverygoodsname:
  10005. description: 交割商品名称
  10006. type: string
  10007. factoryitemjson:
  10008. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  10009. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  10010. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  10011. 逗号分隔'
  10012. type: string
  10013. isvalid:
  10014. description: 是否有效 - 0:无效 1:有效
  10015. type: integer
  10016. minivalue:
  10017. description: 最小变动值
  10018. type: integer
  10019. minivaluedp:
  10020. description: 最小变动值小数位
  10021. type: integer
  10022. realminivalue:
  10023. description: 实际最小变动值
  10024. type: integer
  10025. realminivaluedp:
  10026. description: 实际最小变动值小数位
  10027. type: integer
  10028. remark:
  10029. description: 备注
  10030. type: string
  10031. unitid:
  10032. description: 单位ID
  10033. type: integer
  10034. unitname:
  10035. description: 单位
  10036. type: string
  10037. updatetime:
  10038. description: 更新时间
  10039. type: string
  10040. updatorid:
  10041. description: 更新人
  10042. type: integer
  10043. wrsstatus:
  10044. description: 状态 - 作废 - 0:未激活 1:正常
  10045. type: integer
  10046. wrstandardcode:
  10047. description: 现货品类代码
  10048. type: string
  10049. wrstandardid:
  10050. description: 现货品类ID(SEQ_WRSTANDARD)
  10051. type: integer
  10052. wrstandardname:
  10053. description: 现货品类名称
  10054. type: string
  10055. required:
  10056. - wrstandardid
  10057. type: object
  10058. models.Warehouseinfo:
  10059. properties:
  10060. address:
  10061. description: 详细地址
  10062. type: string
  10063. areauserid:
  10064. description: 所属机构
  10065. type: integer
  10066. autoid:
  10067. description: 自增ID
  10068. type: integer
  10069. cityid:
  10070. description: 市
  10071. type: integer
  10072. contactname:
  10073. description: 联系人
  10074. type: string
  10075. contactnum:
  10076. description: 联系电话
  10077. type: string
  10078. countryid:
  10079. description: 国家
  10080. type: integer
  10081. createtime:
  10082. description: 创建时间
  10083. type: string
  10084. districtid:
  10085. description: 区
  10086. type: integer
  10087. hasvideo:
  10088. description: 是否有视频 - 0:无 1:有
  10089. type: integer
  10090. provinceid:
  10091. description: 省
  10092. type: integer
  10093. remark:
  10094. description: 审核备注
  10095. type: string
  10096. videourl:
  10097. description: 视频地址
  10098. type: string
  10099. warehousecode:
  10100. description: 仓库代码
  10101. type: string
  10102. warehousename:
  10103. description: 仓库名称
  10104. type: string
  10105. warehousestatus:
  10106. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  10107. type: integer
  10108. warehousetype:
  10109. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  10110. type: integer
  10111. required:
  10112. - autoid
  10113. - warehousecode
  10114. type: object
  10115. order.QueryHisTradeDetailRsp:
  10116. properties:
  10117. accountid:
  10118. description: 账户ID[报价币种]
  10119. type: integer
  10120. buildtype:
  10121. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  10122. type: integer
  10123. buyorsell:
  10124. description: 方向 - 0:买 1:卖
  10125. type: integer
  10126. charge:
  10127. description: 手续费
  10128. type: number
  10129. closecharge:
  10130. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  10131. type: number
  10132. closeexchagechargevalue:
  10133. description: 平仓交易所手续费设置值
  10134. type: number
  10135. closefeealgorithm:
  10136. description: 平仓手续费收取方式 1:比率 2:固定
  10137. type: integer
  10138. closememberchargevalue:
  10139. description: 平仓会员手续费设置值
  10140. type: number
  10141. closepl:
  10142. description: 平仓盈亏
  10143. type: number
  10144. closepl2:
  10145. description: 平仓盈亏[逐笔]
  10146. type: number
  10147. closeqty:
  10148. description: 平仓数量(先建后平操作 需要记录)
  10149. type: integer
  10150. creditamount:
  10151. description: 授信金额
  10152. type: number
  10153. gcaccountid:
  10154. description: 账户ID[合约币种]
  10155. type: integer
  10156. goodscode:
  10157. description: 商品代码
  10158. type: string
  10159. goodsid:
  10160. description: 商品ID
  10161. type: integer
  10162. goodsname:
  10163. description: 商品名称
  10164. type: string
  10165. histradedate:
  10166. description: 历史交易日
  10167. type: string
  10168. intclosepl:
  10169. description: 整型盈亏(用于交易结算试算平衡-收益权)
  10170. type: integer
  10171. isconfirmexercise:
  10172. description: 是否确认行权- 0:否 1:是
  10173. type: integer
  10174. ismain:
  10175. description: 是否主单 - 0:不是 1:是
  10176. type: integer
  10177. ispreexercise:
  10178. description: 是否预申报- 0:否 1:是
  10179. type: integer
  10180. isreckoned:
  10181. description: 是否结算 - 0:未结算 1:已结算
  10182. type: integer
  10183. isvaliddata:
  10184. description: 是否有效 - 0:无效 1:有效
  10185. type: integer
  10186. listingselecttype:
  10187. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  10188. type: integer
  10189. marketid:
  10190. description: 市场ID
  10191. type: integer
  10192. marketname:
  10193. description: 市场名称
  10194. type: string
  10195. matchaccountid:
  10196. description: 对手账号id
  10197. type: integer
  10198. memberuserid:
  10199. description: 会员id 个人投资者 需要填写
  10200. type: integer
  10201. opencharge:
  10202. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  10203. type: number
  10204. openexchagechargevalue:
  10205. description: 建仓交易所手续费设置值
  10206. type: number
  10207. openfeealgorithm:
  10208. description: 建仓手续费收取方式 1:比率 2:固定
  10209. type: integer
  10210. openmemberchargevalue:
  10211. description: 建仓会员手续费设置值
  10212. type: number
  10213. openqty:
  10214. description: 开仓数量(先建后平操作 需要记录)
  10215. type: integer
  10216. optiontype:
  10217. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  10218. type: integer
  10219. orderid:
  10220. description: 委托单号
  10221. type: string
  10222. performanceplanid:
  10223. description: 履约计划ID[期权]
  10224. type: integer
  10225. performancestatus:
  10226. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  10227. type: integer
  10228. preexerciseprice:
  10229. description: 预申报价格
  10230. type: number
  10231. premium:
  10232. description: 权利金 - [持仓单的权利金]
  10233. type: number
  10234. relatedouttradeid:
  10235. description: 关联外部成交单ID
  10236. type: integer
  10237. status:
  10238. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  10239. type: integer
  10240. tradeamount:
  10241. description: 成交金额[账户币种,用于所有权]
  10242. type: number
  10243. tradedate:
  10244. description: 交易日(yyyyMMdd)
  10245. type: string
  10246. tradeid:
  10247. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10248. type: string
  10249. trademode:
  10250. description: 交易模式
  10251. type: integer
  10252. tradeprice:
  10253. description: 成交价格
  10254. type: number
  10255. tradeproperty:
  10256. description: 交易属性
  10257. type: integer
  10258. tradeqty:
  10259. description: 成交数量
  10260. type: integer
  10261. tradetime:
  10262. description: 成交时间
  10263. type: string
  10264. tradetype:
  10265. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  10266. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  10267. type: integer
  10268. required:
  10269. - accountid
  10270. - buyorsell
  10271. - goodsid
  10272. - histradedate
  10273. - marketid
  10274. - memberuserid
  10275. - orderid
  10276. - tradeamount
  10277. - tradedate
  10278. - tradeid
  10279. - tradeprice
  10280. - tradeqty
  10281. - tradetime
  10282. type: object
  10283. order.QueryHisTradeOrderDetailRsp:
  10284. properties:
  10285. accountid:
  10286. description: 账户ID[报价币种]
  10287. type: integer
  10288. buildtype:
  10289. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  10290. type: integer
  10291. buyorsell:
  10292. description: 买卖 - 0:买 1:卖
  10293. type: integer
  10294. cancelorderid:
  10295. description: 撤单单号(撤单时填写)
  10296. type: string
  10297. cancelqty:
  10298. description: 撤单数量
  10299. type: integer
  10300. clientordertime:
  10301. description: 客户端委托时间
  10302. type: string
  10303. clientticket:
  10304. description: 客户端流水号
  10305. type: string
  10306. clienttype:
  10307. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  10308. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  10309. type: integer
  10310. closeexchagechargevalue:
  10311. description: 平仓交易所手续费设置值
  10312. type: number
  10313. closefeealgorithm:
  10314. description: 平仓手续费收取方式 1:比率 2:固定
  10315. type: integer
  10316. closefreezecharge:
  10317. description: 平仓冻结手续费(先建后平操作,需要记录)
  10318. type: number
  10319. closememberchargevalue:
  10320. description: 平仓会员手续费设置值
  10321. type: number
  10322. closeqty:
  10323. description: 平仓数量(先建后平操作 需要记录)
  10324. type: integer
  10325. closetradeqty:
  10326. description: 平仓成交数量(先建后平操作,需要记录)
  10327. type: integer
  10328. closeunfreezecharge:
  10329. description: 平仓解冻手续费(先建后平操作,需要记录)
  10330. type: number
  10331. delistingtype:
  10332. description: 摘牌类型 - 1:价格最优 2:点选成交
  10333. type: integer
  10334. freezecharge:
  10335. description: 冻结手续费
  10336. type: number
  10337. freezemargin:
  10338. description: 冻结保证金(冻结交易金额)
  10339. type: number
  10340. gcaccountid:
  10341. description: 账户ID[合约币种]
  10342. type: integer
  10343. goodscode:
  10344. description: 商品代码
  10345. type: string
  10346. goodsid:
  10347. description: 商品ID
  10348. type: integer
  10349. goodsname:
  10350. description: 商品名称
  10351. type: string
  10352. histradedate:
  10353. description: 历史交易日
  10354. type: string
  10355. isconfirmexercise:
  10356. description: 是否确认行权- 0:否 1:是
  10357. type: integer
  10358. ispreexercise:
  10359. description: 是否预申报- 0:否 1:是
  10360. type: integer
  10361. isvaliddata:
  10362. description: 是否有效 - 0:无效 1:有效
  10363. type: integer
  10364. listingselecttype:
  10365. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  10366. type: integer
  10367. marginalgorithm:
  10368. description: 保证金收取方式 1:比率 2:固定
  10369. type: integer
  10370. marginvalue:
  10371. description: 即市保证金设置值
  10372. type: number
  10373. marketid:
  10374. description: 市场ID
  10375. type: integer
  10376. marketmaxsub:
  10377. description: 市价最大偏移范围
  10378. type: number
  10379. marketname:
  10380. description: 市场名称
  10381. type: string
  10382. memberuserid:
  10383. description: 所属会员UserID
  10384. type: integer
  10385. openexchagechargevalue:
  10386. description: 建仓交易所手续费设置值
  10387. type: number
  10388. openfeealgorithm:
  10389. description: 建仓手续费收取方式 1:比率 2:固定
  10390. type: integer
  10391. openfreezecharge:
  10392. description: 开仓冻结手续费(先建后平操作,需要记录)
  10393. type: number
  10394. openmemberchargevalue:
  10395. description: 建仓会员手续费设置值
  10396. type: number
  10397. openqty:
  10398. description: 开仓数量(先建后平操作,需要记录)
  10399. type: integer
  10400. opentradeqty:
  10401. description: 开仓成交数量(先建后平操作,需要记录)
  10402. type: integer
  10403. openunfreezecharge:
  10404. description: 开仓解冻手续费(先建后平操作,需要记录)
  10405. type: number
  10406. operatetype:
  10407. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  10408. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  10409. 15:管理端协议转让
  10410. type: integer
  10411. operatorid:
  10412. description: 登录账号(LoginID)
  10413. type: integer
  10414. optiontype:
  10415. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  10416. type: integer
  10417. orderid:
  10418. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10419. type: string
  10420. orderprice:
  10421. description: 委托价格
  10422. type: number
  10423. orderqty:
  10424. description: 委托数量
  10425. type: integer
  10426. ordersrc:
  10427. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  10428. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  10429. type: integer
  10430. orderstatus:
  10431. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  10432. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  10433. 16:成交失败违约(荷兰式竞拍专用)
  10434. type: integer
  10435. ordertime:
  10436. description: 委托时间
  10437. type: string
  10438. preexerciseprice:
  10439. description: 预申报价格
  10440. type: number
  10441. premium:
  10442. description: 权利金
  10443. type: number
  10444. preorderid:
  10445. description: 关联预埋单号(止盈止损单时填写)
  10446. type: string
  10447. pricemode:
  10448. description: '取价方式 - 1:市价 2: 限价'
  10449. type: integer
  10450. quoteid:
  10451. description: 报价单ID
  10452. type: integer
  10453. relatedid:
  10454. description: 关联单号(交割单)
  10455. type: string
  10456. retcode:
  10457. description: 错误代码
  10458. type: integer
  10459. sessionid:
  10460. description: 会话ID
  10461. type: integer
  10462. tradedate:
  10463. description: 交易日(yyyyMMdd)
  10464. type: string
  10465. trademode:
  10466. description: 交易模式
  10467. type: integer
  10468. tradeproperty:
  10469. description: 交易属性
  10470. type: integer
  10471. tradeqty:
  10472. description: 成交数量
  10473. type: integer
  10474. unfreezecharge:
  10475. description: 解冻手续费
  10476. type: number
  10477. unfreezemargin:
  10478. description: 解冻保证金
  10479. type: number
  10480. updatetime:
  10481. description: 更新时间
  10482. type: string
  10483. uuid:
  10484. description: 发起端唯一id
  10485. type: string
  10486. validtime:
  10487. description: 有效期限
  10488. type: string
  10489. validtype:
  10490. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  10491. type: integer
  10492. volumetype:
  10493. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  10494. type: integer
  10495. required:
  10496. - accountid
  10497. - buildtype
  10498. - buyorsell
  10499. - goodsid
  10500. - histradedate
  10501. - marketid
  10502. - memberuserid
  10503. - operatetype
  10504. - orderid
  10505. - orderqty
  10506. - ordertime
  10507. - pricemode
  10508. - tradedate
  10509. - validtype
  10510. type: object
  10511. order.QueryTradeDetailRsp:
  10512. properties:
  10513. accountid:
  10514. description: 账户ID[报价币种]
  10515. type: integer
  10516. buildtype:
  10517. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  10518. type: integer
  10519. buyorsell:
  10520. description: 方向 - 0:买 1:卖
  10521. type: integer
  10522. charge:
  10523. description: 手续费
  10524. type: number
  10525. closecharge:
  10526. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  10527. type: number
  10528. closeexchagechargevalue:
  10529. description: 平仓交易所手续费设置值
  10530. type: number
  10531. closefeealgorithm:
  10532. description: 平仓手续费收取方式 1:比率 2:固定
  10533. type: integer
  10534. closememberchargevalue:
  10535. description: 平仓会员手续费设置值
  10536. type: number
  10537. closepl:
  10538. description: 平仓盈亏
  10539. type: number
  10540. closepl2:
  10541. description: 平仓盈亏[逐笔]
  10542. type: number
  10543. closeqty:
  10544. description: 平仓数量(先建后平操作 需要记录)
  10545. type: integer
  10546. creditamount:
  10547. description: 授信金额
  10548. type: number
  10549. gcaccountid:
  10550. description: 账户ID[合约币种]
  10551. type: integer
  10552. goodscode:
  10553. description: 商品代码
  10554. type: string
  10555. goodsid:
  10556. description: 商品ID
  10557. type: integer
  10558. goodsname:
  10559. description: 商品名称
  10560. type: string
  10561. intclosepl:
  10562. description: 整型盈亏(用于交易结算试算平衡-收益权)
  10563. type: integer
  10564. isconfirmexercise:
  10565. description: 是否确认行权- 0:否 1:是
  10566. type: integer
  10567. ismain:
  10568. description: 是否主单 - 0:不是 1:是
  10569. type: integer
  10570. ispreexercise:
  10571. description: 是否预申报- 0:否 1:是
  10572. type: integer
  10573. isreckoned:
  10574. description: 是否结算 - 0:未结算 1:已结算
  10575. type: integer
  10576. listingselecttype:
  10577. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  10578. type: integer
  10579. marketid:
  10580. description: 市场ID
  10581. type: integer
  10582. marketname:
  10583. description: 市场名称
  10584. type: string
  10585. matchaccountid:
  10586. description: 对手账号id
  10587. type: integer
  10588. memberuserid:
  10589. description: 会员id 个人投资者 需要填写
  10590. type: integer
  10591. opencharge:
  10592. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  10593. type: number
  10594. openexchagechargevalue:
  10595. description: 建仓交易所手续费设置值
  10596. type: number
  10597. openfeealgorithm:
  10598. description: 建仓手续费收取方式 1:比率 2:固定
  10599. type: integer
  10600. openmemberchargevalue:
  10601. description: 建仓会员手续费设置值
  10602. type: number
  10603. openqty:
  10604. description: 开仓数量(先建后平操作 需要记录)
  10605. type: integer
  10606. optiontype:
  10607. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  10608. type: integer
  10609. orderid:
  10610. description: 委托单号
  10611. type: string
  10612. performanceplanid:
  10613. description: 履约计划ID[期权]
  10614. type: integer
  10615. performancestatus:
  10616. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  10617. type: integer
  10618. preexerciseprice:
  10619. description: 预申报价格
  10620. type: number
  10621. premium:
  10622. description: 权利金 - [持仓单的权利金]
  10623. type: number
  10624. relatedouttradeid:
  10625. description: 关联外部成交单ID
  10626. type: integer
  10627. status:
  10628. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  10629. type: integer
  10630. tradeamount:
  10631. description: 成交金额[账户币种,用于所有权]
  10632. type: number
  10633. tradedate:
  10634. description: 交易日(yyyyMMdd)
  10635. type: string
  10636. tradeid:
  10637. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10638. type: string
  10639. trademode:
  10640. description: 交易模式
  10641. type: integer
  10642. tradeprice:
  10643. description: 成交价格
  10644. type: number
  10645. tradeproperty:
  10646. description: 交易属性
  10647. type: integer
  10648. tradeqty:
  10649. description: 成交数量
  10650. type: integer
  10651. tradetime:
  10652. description: 成交时间
  10653. type: string
  10654. tradetype:
  10655. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  10656. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  10657. type: integer
  10658. required:
  10659. - accountid
  10660. - buyorsell
  10661. - goodsid
  10662. - marketid
  10663. - memberuserid
  10664. - orderid
  10665. - tradeamount
  10666. - tradedate
  10667. - tradeid
  10668. - tradeprice
  10669. - tradeqty
  10670. - tradetime
  10671. type: object
  10672. order.QueryTradeOrderDetailRsp:
  10673. properties:
  10674. accountid:
  10675. description: 账户ID[报价币种]
  10676. type: integer
  10677. buildtype:
  10678. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  10679. type: integer
  10680. buyorsell:
  10681. description: 买卖 - 0:买 1:卖
  10682. type: integer
  10683. cancelorderid:
  10684. description: 撤单单号(撤单时填写)
  10685. type: string
  10686. cancelqty:
  10687. description: 撤单数量
  10688. type: integer
  10689. clienttype:
  10690. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  10691. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  10692. type: integer
  10693. closefreezecharge:
  10694. description: 平仓冻结手续费(先建后平操作,需要记录)
  10695. type: number
  10696. closeqty:
  10697. description: 平仓数量(先建后平操作 需要记录)
  10698. type: integer
  10699. closetradeqty:
  10700. description: 平仓成交数量(先建后平操作,需要记录)
  10701. type: integer
  10702. closeunfreezecharge:
  10703. description: 平仓解冻手续费(先建后平操作,需要记录)
  10704. type: number
  10705. delistingtype:
  10706. description: 摘牌类型 - 1:价格最优 2:点选成交
  10707. type: integer
  10708. enableqty:
  10709. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  10710. type: integer
  10711. freezecharge:
  10712. description: 冻结手续费
  10713. type: number
  10714. freezemargin:
  10715. description: 冻结保证金(冻结交易金额)
  10716. type: number
  10717. goodscode:
  10718. description: 商品代码
  10719. type: string
  10720. goodsid:
  10721. description: 商品ID
  10722. type: integer
  10723. goodsname:
  10724. description: 商品名称
  10725. type: string
  10726. listingselecttype:
  10727. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  10728. type: integer
  10729. marketid:
  10730. description: 市场ID
  10731. type: integer
  10732. marketname:
  10733. description: 市场名称
  10734. type: string
  10735. openfreezecharge:
  10736. description: 开仓冻结手续费(先建后平操作,需要记录)
  10737. type: number
  10738. openqty:
  10739. description: 开仓数量(先建后平操作,需要记录)
  10740. type: integer
  10741. opentradeqty:
  10742. description: 开仓成交数量(先建后平操作,需要记录)
  10743. type: integer
  10744. openunfreezecharge:
  10745. description: 开仓解冻手续费(先建后平操作,需要记录)
  10746. type: number
  10747. operatetype:
  10748. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  10749. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  10750. 15:管理端协议转让
  10751. type: integer
  10752. operatorid:
  10753. description: 登录账号(LoginID)
  10754. type: integer
  10755. orderid:
  10756. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10757. type: string
  10758. orderprice:
  10759. description: 委托价格
  10760. type: number
  10761. orderqty:
  10762. description: 委托数量
  10763. type: integer
  10764. ordersrc:
  10765. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  10766. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  10767. type: integer
  10768. orderstatus:
  10769. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  10770. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  10771. 16:成交失败违约(荷兰式竞拍专用)
  10772. type: integer
  10773. ordertime:
  10774. description: 委托时间
  10775. type: string
  10776. preorderid:
  10777. description: 关联预埋单号(止盈止损单时填写)
  10778. type: string
  10779. pricemode:
  10780. description: '取价方式 - 1:市价 2: 限价'
  10781. type: integer
  10782. relatedid:
  10783. description: 关联单号(交割单)
  10784. type: string
  10785. tradedate:
  10786. description: 交易日(yyyyMMdd)
  10787. type: string
  10788. trademode:
  10789. description: 交易模式
  10790. type: integer
  10791. tradeqty:
  10792. description: 成交数量
  10793. type: integer
  10794. unfreezecharge:
  10795. description: 解冻手续费
  10796. type: number
  10797. unfreezemargin:
  10798. description: 解冻保证金
  10799. type: number
  10800. validtime:
  10801. description: 有效期限
  10802. type: string
  10803. validtype:
  10804. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  10805. type: integer
  10806. volumetype:
  10807. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  10808. type: integer
  10809. required:
  10810. - accountid
  10811. - buildtype
  10812. - buyorsell
  10813. - goodsid
  10814. - marketid
  10815. - operatetype
  10816. - orderqty
  10817. - ordertime
  10818. - pricemode
  10819. - tradedate
  10820. - validtype
  10821. type: object
  10822. order.QueryTradePositionRsp:
  10823. properties:
  10824. accountid:
  10825. description: 资金账户
  10826. type: integer
  10827. agreeunit:
  10828. description: 合约单位
  10829. type: number
  10830. averageprice:
  10831. description: 持仓均价
  10832. type: number
  10833. buyorsell:
  10834. description: 方向 - 0:买 1:卖
  10835. type: integer
  10836. closetotalqty:
  10837. description: 平仓总数量
  10838. type: integer
  10839. curholderamount:
  10840. description: 当前持仓总金额[商品币种]
  10841. type: number
  10842. curpositionqty:
  10843. description: 当前持仓总数量
  10844. type: integer
  10845. currencyid:
  10846. description: 报价货币ID
  10847. type: integer
  10848. curtdposition:
  10849. description: 期末今日头寸
  10850. type: integer
  10851. decimalplace:
  10852. description: 报价小数位
  10853. type: integer
  10854. enableqty:
  10855. description: 可用量
  10856. type: integer
  10857. fretdposition:
  10858. description: 冻结今日头寸
  10859. type: integer
  10860. frozenqty:
  10861. description: 持仓冻结数量
  10862. type: integer
  10863. goodscode:
  10864. description: 商品代码
  10865. type: string
  10866. goodsid:
  10867. description: 商品Id
  10868. type: integer
  10869. goodsname:
  10870. description: 商品名称
  10871. type: string
  10872. goodunit:
  10873. description: 报价单位
  10874. type: string
  10875. goodunitid:
  10876. description: 报价单位ID
  10877. type: integer
  10878. holderamount:
  10879. description: 期初持仓总金额[商品币种]
  10880. type: number
  10881. marketid:
  10882. description: 所属市场ID
  10883. type: integer
  10884. openreqqty:
  10885. description: 开仓申请数量(用于比较最大持仓数量)
  10886. type: integer
  10887. opentotalqty:
  10888. description: 开仓总数量
  10889. type: integer
  10890. otherfrozenqty:
  10891. description: 持仓其他冻结数量(交割冻结)
  10892. type: integer
  10893. positionqty:
  10894. description: 期初持仓数量
  10895. type: integer
  10896. tnqty:
  10897. description: T+N冻结总量
  10898. type: integer
  10899. tnusedqty:
  10900. description: T+N使用量(可以使用T+N的冻结数量)
  10901. type: integer
  10902. trademode:
  10903. description: 交易模式
  10904. type: integer
  10905. usedmargin:
  10906. description: 占用保证金[商品币种]
  10907. type: number
  10908. required:
  10909. - goodsid
  10910. type: object
  10911. quote.HistoryData:
  10912. properties:
  10913. c:
  10914. description: 收盘价
  10915. type: number
  10916. f:
  10917. description: 是否补充数据
  10918. type: boolean
  10919. h:
  10920. description: 最高价
  10921. type: number
  10922. hv:
  10923. description: 持仓量
  10924. type: integer
  10925. l:
  10926. description: 最低价
  10927. type: number
  10928. o:
  10929. description: 开盘价
  10930. type: number
  10931. s:
  10932. description: 结算价,日线周期(包括)以上才有
  10933. type: number
  10934. ts:
  10935. description: 时间
  10936. type: string
  10937. tt:
  10938. description: 总金额
  10939. type: number
  10940. tv:
  10941. description: 总量
  10942. type: integer
  10943. type: object
  10944. quote.HistoryTikData:
  10945. properties:
  10946. AV:
  10947. description: 卖量
  10948. type: integer
  10949. Ask:
  10950. description: 卖价
  10951. type: number
  10952. BV:
  10953. description: 买量
  10954. type: integer
  10955. Bid:
  10956. description: 买价
  10957. type: number
  10958. HI:
  10959. description: 单笔持仓
  10960. type: integer
  10961. HV:
  10962. description: 持仓量
  10963. type: integer
  10964. PE:
  10965. description: 现价
  10966. type: number
  10967. TDR:
  10968. description: 交易方向,0:买 1:卖
  10969. type: integer
  10970. TK:
  10971. description: 交易类型
  10972. type: integer
  10973. TS:
  10974. description: 行情时间文本
  10975. type: string
  10976. TT:
  10977. description: 现金额
  10978. type: number
  10979. Vol:
  10980. description: 现量
  10981. type: integer
  10982. type: object
  10983. quote.QueryQuoteDayRsp:
  10984. properties:
  10985. ask:
  10986. description: 卖1
  10987. type: number
  10988. ask2:
  10989. description: 卖2
  10990. type: number
  10991. ask3:
  10992. description: 卖3
  10993. type: number
  10994. ask4:
  10995. description: 卖4
  10996. type: number
  10997. ask5:
  10998. description: 卖5
  10999. type: number
  11000. ask6:
  11001. description: 卖6
  11002. type: number
  11003. ask7:
  11004. description: 卖7
  11005. type: number
  11006. ask8:
  11007. description: 卖8
  11008. type: number
  11009. ask9:
  11010. description: 卖9
  11011. type: number
  11012. ask10:
  11013. description: 卖10
  11014. type: number
  11015. askorderid:
  11016. description: 卖单号1
  11017. type: integer
  11018. askorderid2:
  11019. description: 卖单号2
  11020. type: integer
  11021. askorderid3:
  11022. description: 卖单号3
  11023. type: integer
  11024. askorderid4:
  11025. description: 卖单号4
  11026. type: integer
  11027. askorderid5:
  11028. description: 卖单号5
  11029. type: integer
  11030. askordervolume:
  11031. description: 卖单量1
  11032. type: integer
  11033. askordervolume2:
  11034. description: 卖单量2
  11035. type: integer
  11036. askordervolume3:
  11037. description: 卖单量3
  11038. type: integer
  11039. askordervolume4:
  11040. description: 卖单量4
  11041. type: integer
  11042. askordervolume5:
  11043. description: 卖单量5
  11044. type: integer
  11045. askordervolume6:
  11046. description: 卖单量6
  11047. type: integer
  11048. askordervolume7:
  11049. description: 卖单量7
  11050. type: integer
  11051. askordervolume8:
  11052. description: 卖单量8
  11053. type: integer
  11054. askordervolume9:
  11055. description: 卖单量9
  11056. type: integer
  11057. askordervolume10:
  11058. description: 卖单量10
  11059. type: integer
  11060. askqueueinfo:
  11061. description: 大利市卖港股用
  11062. type: string
  11063. askvolume:
  11064. description: 卖量1
  11065. type: integer
  11066. askvolume2:
  11067. description: 卖量2
  11068. type: integer
  11069. askvolume3:
  11070. description: 卖量3
  11071. type: integer
  11072. askvolume4:
  11073. description: 卖量4
  11074. type: integer
  11075. askvolume5:
  11076. description: 卖量5
  11077. type: integer
  11078. askvolume6:
  11079. description: 卖量6
  11080. type: integer
  11081. askvolume7:
  11082. description: 卖量7
  11083. type: integer
  11084. askvolume8:
  11085. description: 卖量8
  11086. type: integer
  11087. askvolume9:
  11088. description: 卖量9
  11089. type: integer
  11090. askvolume10:
  11091. description: 卖量10
  11092. type: integer
  11093. averageprice:
  11094. description: 均价
  11095. type: number
  11096. bid:
  11097. description: 买1
  11098. type: number
  11099. bid2:
  11100. description: 买2
  11101. type: number
  11102. bid3:
  11103. description: 买3
  11104. type: number
  11105. bid4:
  11106. description: 买4
  11107. type: number
  11108. bid5:
  11109. description: 买5
  11110. type: number
  11111. bid6:
  11112. description: 买6
  11113. type: number
  11114. bid7:
  11115. description: 买7
  11116. type: number
  11117. bid8:
  11118. description: 买8
  11119. type: number
  11120. bid9:
  11121. description: 买9
  11122. type: number
  11123. bid10:
  11124. description: 买10
  11125. type: number
  11126. bidorderid:
  11127. description: 买单号1
  11128. type: integer
  11129. bidorderid2:
  11130. description: 买单号2
  11131. type: integer
  11132. bidorderid3:
  11133. description: 买单号3
  11134. type: integer
  11135. bidorderid4:
  11136. description: 买单号4
  11137. type: integer
  11138. bidorderid5:
  11139. description: 买单号5
  11140. type: integer
  11141. bidordervolume:
  11142. description: 买单量1
  11143. type: integer
  11144. bidordervolume2:
  11145. description: 买单量2
  11146. type: integer
  11147. bidordervolume3:
  11148. description: 买单量3
  11149. type: integer
  11150. bidordervolume4:
  11151. description: 买单量4
  11152. type: integer
  11153. bidordervolume5:
  11154. description: 买单量5
  11155. type: integer
  11156. bidordervolume6:
  11157. description: 买单量6
  11158. type: integer
  11159. bidordervolume7:
  11160. description: 买单量7
  11161. type: integer
  11162. bidordervolume8:
  11163. description: 买单量8
  11164. type: integer
  11165. bidordervolume9:
  11166. description: 买单量9
  11167. type: integer
  11168. bidordervolume10:
  11169. description: 买单量10
  11170. type: integer
  11171. bidqueueinfo:
  11172. description: 大利市买港股用
  11173. type: string
  11174. bidvolume:
  11175. description: 买量1
  11176. type: integer
  11177. bidvolume2:
  11178. description: 买量2
  11179. type: integer
  11180. bidvolume3:
  11181. description: 买量3
  11182. type: integer
  11183. bidvolume4:
  11184. description: 买量4
  11185. type: integer
  11186. bidvolume5:
  11187. description: 买量5
  11188. type: integer
  11189. bidvolume6:
  11190. description: 买量6
  11191. type: integer
  11192. bidvolume7:
  11193. description: 买量7
  11194. type: integer
  11195. bidvolume8:
  11196. description: 买量8
  11197. type: integer
  11198. bidvolume9:
  11199. description: 买量9
  11200. type: integer
  11201. bidvolume10:
  11202. description: 买量10
  11203. type: integer
  11204. calloptionpremiums:
  11205. description: 认购期权1
  11206. type: integer
  11207. calloptionpremiums2:
  11208. description: 认购期权2
  11209. type: integer
  11210. calloptionpremiums3:
  11211. description: 认购期权3
  11212. type: integer
  11213. calloptionpremiums4:
  11214. description: 认购期权4
  11215. type: integer
  11216. calloptionpremiums5:
  11217. description: 认购期权5
  11218. type: integer
  11219. cleartime:
  11220. description: 清盘时间
  11221. type: integer
  11222. exchangecode:
  11223. description: 交易所代码
  11224. type: integer
  11225. exchangedate:
  11226. description: 交易日
  11227. type: integer
  11228. goodscode:
  11229. description: 商品代码
  11230. type: string
  11231. grepmarketprice:
  11232. description: 暗盘价 港股专用
  11233. type: number
  11234. highest:
  11235. description: 最高价
  11236. type: number
  11237. holdincrement:
  11238. description: 单笔持仓
  11239. type: integer
  11240. holdvolume:
  11241. description: 持仓
  11242. type: integer
  11243. iep:
  11244. description: 平衡价 港股专用
  11245. type: number
  11246. iev:
  11247. description: 平衡量 港股专用
  11248. type: number
  11249. inventory:
  11250. description: 库存
  11251. type: integer
  11252. iscleared:
  11253. description: 是否清盘标志
  11254. type: integer
  11255. issettled:
  11256. description: 是否结算标志
  11257. type: integer
  11258. last:
  11259. description: 最新价
  11260. type: number
  11261. lastlot:
  11262. description: 最新成交手数
  11263. type: integer
  11264. lasttime:
  11265. description: 行情时间(只有现价变化行情时间才变化)
  11266. type: string
  11267. lastturnover:
  11268. description: 最新成交金额
  11269. type: number
  11270. lastvolume:
  11271. description: 最新成交量
  11272. type: integer
  11273. limitdown:
  11274. description: 跌停价
  11275. type: number
  11276. limitup:
  11277. description: 涨停价
  11278. type: number
  11279. lowest:
  11280. description: 最低价
  11281. type: number
  11282. nontotalholdervolume:
  11283. description: 非交易持仓量
  11284. type: integer
  11285. nontotallot:
  11286. description: 非交易总手数
  11287. type: integer
  11288. nontotalturnover:
  11289. description: 非交易总金额
  11290. type: integer
  11291. nontotalvolume:
  11292. description: 非交易总量
  11293. type: integer
  11294. opened:
  11295. description: 开盘价
  11296. type: number
  11297. opentime:
  11298. description: 开盘时间
  11299. type: string
  11300. orderid:
  11301. description: 序号
  11302. type: integer
  11303. preclose:
  11304. description: 昨收
  11305. type: number
  11306. preholdvolume:
  11307. description: 昨持仓
  11308. type: integer
  11309. presettle:
  11310. description: 昨结价
  11311. type: number
  11312. publictradetype:
  11313. description: 公共交易标志类型 港股专用
  11314. type: string
  11315. putoptionpremiums:
  11316. description: 认沽期权1
  11317. type: integer
  11318. putoptionpremiums2:
  11319. description: 认沽期权2
  11320. type: integer
  11321. putoptionpremiums3:
  11322. description: 认沽期权3
  11323. type: integer
  11324. putoptionpremiums4:
  11325. description: 认沽期权4
  11326. type: integer
  11327. putoptionpremiums5:
  11328. description: 认沽期权5
  11329. type: integer
  11330. settle:
  11331. description: 结算价
  11332. type: number
  11333. strikeprice:
  11334. description: 发行价
  11335. type: number
  11336. totalaskvolume:
  11337. description: 内盘
  11338. type: integer
  11339. totalbidvolume:
  11340. description: 外盘
  11341. type: integer
  11342. totallot:
  11343. description: 总手数
  11344. type: integer
  11345. totalturnover:
  11346. description: 总金额
  11347. type: number
  11348. totalvolume:
  11349. description: 总量
  11350. type: integer
  11351. utclasttime:
  11352. description: utc的行情时间
  11353. type: string
  11354. type: object
  11355. quote.QueryTSDataRsp:
  11356. properties:
  11357. Count:
  11358. description: 交易日应有数据个数
  11359. type: integer
  11360. decimalPlace:
  11361. description: 小数位
  11362. type: integer
  11363. endTime:
  11364. description: 结束时间
  11365. type: string
  11366. goodsCode:
  11367. description: 商品代码
  11368. type: string
  11369. historyDatas:
  11370. description: 历史数据
  11371. items:
  11372. $ref: '#/definitions/quote.HistoryData'
  11373. type: array
  11374. outGoodsCode:
  11375. description: 外部商品代码
  11376. type: string
  11377. preSettle:
  11378. description: 昨结价
  11379. type: number
  11380. runSteps:
  11381. description: 交易日开休市计划
  11382. items:
  11383. $ref: '#/definitions/quote.TSDataRunStep'
  11384. type: array
  11385. startTime:
  11386. description: 开始时间
  11387. type: string
  11388. tradeDate:
  11389. description: 交易日
  11390. type: string
  11391. type: object
  11392. quote.TSDataRunStep:
  11393. properties:
  11394. end:
  11395. description: 真实结束时间
  11396. type: string
  11397. endflag:
  11398. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  11399. type: integer
  11400. endtime:
  11401. description: 结束时间(HH:mm)
  11402. type: string
  11403. endweekday:
  11404. description: 结束周几
  11405. type: integer
  11406. groupid:
  11407. description: 分组ID
  11408. type: integer
  11409. runstep:
  11410. description: 运行阶段 - 2:连续交易
  11411. type: integer
  11412. sectionid:
  11413. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  11414. 结束时间=结算时间 结束周几=结算周几
  11415. type: integer
  11416. start:
  11417. description: 真实开始时间
  11418. type: string
  11419. startflag:
  11420. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  11421. type: integer
  11422. starttime:
  11423. description: 起始时间(HH:mm)
  11424. type: string
  11425. startweekday:
  11426. description: 起始周几
  11427. type: integer
  11428. tradeweekday:
  11429. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  11430. type: integer
  11431. type: object
  11432. szdz.QueryConvertLogRsp:
  11433. properties:
  11434. accountid:
  11435. description: 资金账户ID
  11436. type: integer
  11437. clientticket:
  11438. description: 客户端流水号
  11439. type: string
  11440. converttype:
  11441. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  11442. type: integer
  11443. createtime:
  11444. description: 记账时间
  11445. type: string
  11446. daymaxvalue:
  11447. description: 配置当日最大转入限制
  11448. type: number
  11449. daymaxvalue2:
  11450. description: 配置当日最大转入限制(转入)
  11451. type: number
  11452. goodscode:
  11453. description: 商品代码
  11454. type: string
  11455. goodsname:
  11456. description: 商品名称
  11457. type: string
  11458. handlestatus:
  11459. description: 处理状态
  11460. type: integer
  11461. innergoodsid:
  11462. description: 内部商品ID
  11463. type: integer
  11464. inratio:
  11465. description: 配置转入比值
  11466. type: integer
  11467. invalue:
  11468. description: 目标值
  11469. type: number
  11470. logid:
  11471. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11472. type: integer
  11473. mobile:
  11474. description: 手机号码(加密存储)
  11475. type: string
  11476. outergoodscode:
  11477. description: 外部商品代码[JD\PD]
  11478. type: string
  11479. outratio:
  11480. description: 配置转出比值
  11481. type: integer
  11482. outvalue:
  11483. description: 源值
  11484. type: number
  11485. pddecimalplace:
  11486. description: PD小数位
  11487. type: integer
  11488. qty:
  11489. description: 数量
  11490. type: string
  11491. remark:
  11492. description: 备注
  11493. type: string
  11494. sessionid:
  11495. description: 会话ID
  11496. type: integer
  11497. timemaxvalue:
  11498. description: 配置单次最大转入限制
  11499. type: number
  11500. timemaxvalue2:
  11501. description: 配置单次最大转入限制(转入)
  11502. type: number
  11503. timeminvalue:
  11504. description: 配置单次最小数量限制
  11505. type: number
  11506. timeminvalue2:
  11507. description: 配置单次最小数量限制(转入)
  11508. type: number
  11509. tradedate:
  11510. description: 交易日(yyyyMMdd)
  11511. type: string
  11512. userid:
  11513. description: 用户ID
  11514. type: integer
  11515. required:
  11516. - logid
  11517. type: object
  11518. szdz.QueryGoodsPickupRsp:
  11519. properties:
  11520. accountid:
  11521. description: 账户ID
  11522. type: integer
  11523. address:
  11524. description: 提货人详细地址
  11525. type: string
  11526. auditer:
  11527. description: 审核人
  11528. type: integer
  11529. audittime:
  11530. description: 审核时间
  11531. type: string
  11532. cardnum:
  11533. description: 提货人证件号码
  11534. type: string
  11535. cardtypeid:
  11536. description: 提货人证件类型
  11537. type: integer
  11538. checkremark:
  11539. description: 审核备注
  11540. type: string
  11541. goodscode:
  11542. description: 商品代码
  11543. type: string
  11544. goodsid:
  11545. description: 商品ID
  11546. type: integer
  11547. goodsname:
  11548. description: 商品名称
  11549. type: string
  11550. handlestatus:
  11551. description: 处理状态
  11552. type: integer
  11553. marketid:
  11554. description: 市场ID
  11555. type: integer
  11556. phonenum:
  11557. description: 提货人联系方式
  11558. type: string
  11559. qty:
  11560. description: 提货数量
  11561. type: number
  11562. recivername:
  11563. description: 提货人姓名
  11564. type: string
  11565. reqtime:
  11566. description: 更新时间
  11567. type: string
  11568. takemode:
  11569. description: 提货方式 - 2:自提 3:配送
  11570. type: integer
  11571. takeorderid:
  11572. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  11573. type: string
  11574. takeorderstatus:
  11575. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  11576. type: integer
  11577. takeremark:
  11578. description: 提货备注
  11579. type: string
  11580. tradedate:
  11581. description: 交易日(yyyyMMdd)
  11582. type: string
  11583. userid:
  11584. description: 用户ID
  11585. type: integer
  11586. required:
  11587. - takeorderid
  11588. type: object
  11589. szdz.QueryRecieptOrderRsp:
  11590. properties:
  11591. accountName:
  11592. description: 所属账号名称(已脱敏)
  11593. type: string
  11594. accountid:
  11595. description: 资金账号
  11596. type: integer
  11597. buyorsell:
  11598. description: 方向 - 0:买 1:卖
  11599. type: integer
  11600. enableqty:
  11601. description: 可摘数量
  11602. type: integer
  11603. goodscode:
  11604. description: 商品代码
  11605. type: string
  11606. goodsid:
  11607. description: 商品ID
  11608. type: integer
  11609. goodsname:
  11610. description: 商品名称
  11611. type: string
  11612. orderid:
  11613. description: 委托单号
  11614. type: string
  11615. orderprice:
  11616. description: 委托价格
  11617. type: number
  11618. ordertime:
  11619. description: 委托时间
  11620. type: string
  11621. tradedate:
  11622. description: 交易日(yyyyMMdd)
  11623. type: string
  11624. required:
  11625. - ordertime
  11626. type: object
  11627. szdz.QuerySZDZTradePositionRsp:
  11628. properties:
  11629. accountid:
  11630. description: 账号Id
  11631. type: integer
  11632. agreeunit:
  11633. description: 合约单位
  11634. type: number
  11635. averageprice:
  11636. description: 持仓均价
  11637. type: number
  11638. buyorsell:
  11639. description: 方向 - 0:买 1:卖
  11640. type: integer
  11641. closetotalqty:
  11642. description: 平仓总数量
  11643. type: integer
  11644. curholderamount:
  11645. description: 当前持仓总金额
  11646. type: number
  11647. curpositionqty:
  11648. description: 当前持仓总数量
  11649. type: integer
  11650. currencyid:
  11651. description: 报价货币ID
  11652. type: integer
  11653. curtdposition:
  11654. description: 期末今日头寸
  11655. type: integer
  11656. decimalplace:
  11657. description: 报价小数位
  11658. type: integer
  11659. enableqty:
  11660. description: 可用量
  11661. type: integer
  11662. fretdposition:
  11663. description: 冻结今日头寸
  11664. type: integer
  11665. frozenqty:
  11666. description: 持仓冻结数量
  11667. type: integer
  11668. goodscode:
  11669. description: 商品代码(内部)
  11670. type: string
  11671. goodsid:
  11672. description: 商品Id
  11673. type: integer
  11674. goodsname:
  11675. description: 商品名称
  11676. type: string
  11677. goodunit:
  11678. description: 报价单位
  11679. type: string
  11680. goodunitid:
  11681. description: 报价单位ID
  11682. type: integer
  11683. holderamount:
  11684. description: 期初持仓总金额
  11685. type: number
  11686. marketid:
  11687. description: 市场ID
  11688. type: integer
  11689. openreqqty:
  11690. description: 开仓申请数量
  11691. type: integer
  11692. opentotalqty:
  11693. description: 开仓总数量
  11694. type: integer
  11695. otherfrozenqty:
  11696. description: 持仓其他冻结数量(交割冻结)
  11697. type: integer
  11698. positionqty:
  11699. description: 期初持仓数量
  11700. type: integer
  11701. szdz3freezqty:
  11702. description: 尚志大宗转换冻结总数量
  11703. type: integer
  11704. tnqty:
  11705. description: T+N冻结总量
  11706. type: integer
  11707. tnusedqty:
  11708. description: T+N使用量
  11709. type: integer
  11710. trademode:
  11711. description: 交易模式
  11712. type: integer
  11713. usedmargin:
  11714. description: 占用保证金
  11715. type: number
  11716. type: object
  11717. taaccount.QueryAmountLogRsp:
  11718. properties:
  11719. OPERATETYPENAME:
  11720. description: 资金操作类型名称
  11721. type: string
  11722. accountid:
  11723. description: 资金账户ID
  11724. type: integer
  11725. agoodscode:
  11726. description: 竞拍商品代码
  11727. type: string
  11728. agoodsname:
  11729. description: 竞拍商品名称
  11730. type: string
  11731. amount:
  11732. description: 资金金额
  11733. type: number
  11734. amountadjusttype:
  11735. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  11736. type: integer
  11737. autoid:
  11738. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  11739. type: integer
  11740. balance:
  11741. description: 期初余额
  11742. type: number
  11743. businesscode:
  11744. description: 业务编号
  11745. type: integer
  11746. createtime:
  11747. description: 发生时间
  11748. type: string
  11749. currencyid:
  11750. description: 币种ID
  11751. type: integer
  11752. currentbalance:
  11753. description: 期末余额(变动后金额)
  11754. type: number
  11755. dgoodscode:
  11756. description: 交割商品代码
  11757. type: string
  11758. dgoodsname:
  11759. description: 交割商品名称
  11760. type: string
  11761. goodscode:
  11762. description: 商品代码
  11763. type: string
  11764. goodsid:
  11765. description: 商品ID
  11766. type: integer
  11767. goodsname:
  11768. description: 商品名称
  11769. type: string
  11770. marketid:
  11771. description: 市场ID
  11772. type: integer
  11773. marketname:
  11774. description: 市场名称
  11775. type: string
  11776. moneyticket:
  11777. description: 资金流水号:银行端流水号
  11778. type: integer
  11779. operatetype:
  11780. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  11781. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  11782. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  11783. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  11784. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  11785. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  11786. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  11787. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  11788. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  11789. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  11790. type: integer
  11791. relationorderid:
  11792. description: 关联单号
  11793. type: string
  11794. remark:
  11795. description: 备注
  11796. type: string
  11797. trademode:
  11798. description: 交易模式
  11799. type: integer
  11800. required:
  11801. - accountid
  11802. - amount
  11803. - amountadjusttype
  11804. - autoid
  11805. - balance
  11806. - createtime
  11807. - currentbalance
  11808. - operatetype
  11809. type: object
  11810. taaccount.QueryHisAmountLogRsp:
  11811. properties:
  11812. OPERATETYPENAME:
  11813. description: 资金操作类型名称
  11814. type: string
  11815. accountid:
  11816. description: 资金账户ID
  11817. type: integer
  11818. agoodscode:
  11819. description: 竞拍商品代码
  11820. type: string
  11821. agoodsname:
  11822. description: 竞拍商品名称
  11823. type: string
  11824. amount:
  11825. description: 资金金额
  11826. type: number
  11827. amountadjusttype:
  11828. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  11829. type: integer
  11830. autoid:
  11831. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  11832. type: integer
  11833. balance:
  11834. description: 期初余额
  11835. type: number
  11836. businesscode:
  11837. description: 业务编号
  11838. type: integer
  11839. createtime:
  11840. description: 发生时间
  11841. type: string
  11842. currencyid:
  11843. description: 币种ID
  11844. type: integer
  11845. currentbalance:
  11846. description: 期末余额(变动后金额)
  11847. type: number
  11848. dgoodscode:
  11849. description: 交割商品代码
  11850. type: string
  11851. dgoodsname:
  11852. description: 交割商品名称
  11853. type: string
  11854. goodscode:
  11855. description: 商品代码
  11856. type: string
  11857. goodsid:
  11858. description: 商品ID
  11859. type: integer
  11860. goodsname:
  11861. description: 商品名称
  11862. type: string
  11863. histradedate:
  11864. description: 历史交易日
  11865. type: string
  11866. isvaliddata:
  11867. description: 是否有效 - 0:无效 1:有效
  11868. type: integer
  11869. marketid:
  11870. description: 市场ID
  11871. type: integer
  11872. marketname:
  11873. description: 市场名称
  11874. type: string
  11875. moneyticket:
  11876. description: 资金流水号:银行端流水号
  11877. type: integer
  11878. operatetype:
  11879. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  11880. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  11881. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  11882. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  11883. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  11884. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  11885. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  11886. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  11887. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  11888. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  11889. type: integer
  11890. relationorderid:
  11891. description: 关联单号
  11892. type: string
  11893. remark:
  11894. description: 备注
  11895. type: string
  11896. trademode:
  11897. description: 交易模式
  11898. type: integer
  11899. required:
  11900. - accountid
  11901. - amount
  11902. - amountadjusttype
  11903. - autoid
  11904. - balance
  11905. - createtime
  11906. - currentbalance
  11907. - histradedate
  11908. - operatetype
  11909. type: object
  11910. trade.QueryRecieptOrderRsp:
  11911. properties:
  11912. accountName:
  11913. description: 所属账号名称(已脱敏)
  11914. type: string
  11915. accountid:
  11916. description: 资金账号
  11917. type: integer
  11918. buyorsell:
  11919. description: 方向 - 0:买 1:卖
  11920. type: integer
  11921. enableqty:
  11922. description: 可摘数量
  11923. type: integer
  11924. goodscode:
  11925. description: 商品代码
  11926. type: string
  11927. goodsid:
  11928. description: 商品ID
  11929. type: integer
  11930. goodsname:
  11931. description: 商品名称
  11932. type: string
  11933. orderid:
  11934. description: 委托单号
  11935. type: string
  11936. orderprice:
  11937. description: 委托价格
  11938. type: number
  11939. ordertime:
  11940. description: 委托时间
  11941. type: string
  11942. tradedate:
  11943. description: 交易日(yyyyMMdd)
  11944. type: string
  11945. required:
  11946. - ordertime
  11947. type: object
  11948. user.LoginQueryRsp:
  11949. properties:
  11950. externalExchanges:
  11951. description: 外部交易所
  11952. items:
  11953. $ref: '#/definitions/models.Externalexchange'
  11954. type: array
  11955. goodsgroups:
  11956. description: 商品组
  11957. items:
  11958. $ref: '#/definitions/models.Goodsgroup'
  11959. type: array
  11960. loginAccount:
  11961. $ref: '#/definitions/models.Loginaccount'
  11962. description: 登录账号
  11963. type: object
  11964. markets:
  11965. description: 市场
  11966. items:
  11967. $ref: '#/definitions/models.Market'
  11968. type: array
  11969. systemParams:
  11970. description: 系统参数
  11971. items:
  11972. $ref: '#/definitions/models.Systemparam'
  11973. type: array
  11974. userAccount:
  11975. $ref: '#/definitions/models.Useraccount'
  11976. description: 用户账号
  11977. type: object
  11978. userInfo:
  11979. $ref: '#/definitions/models.Userinfo'
  11980. description: 用户信息
  11981. type: object
  11982. username:
  11983. description: 用户姓名
  11984. type: string
  11985. type: object
  11986. info:
  11987. contact: {}
  11988. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  11989. license: {}
  11990. termsOfService: http://muchinfo.cn
  11991. title: MTP2.0 查询服务 API
  11992. version: "1.0"
  11993. paths:
  11994. /CPTrade/QueryCPTradeMyBidInfos:
  11995. get:
  11996. parameters:
  11997. - description: 资金账户
  11998. in: query
  11999. name: accountid
  12000. required: true
  12001. type: integer
  12002. - description: 预售市场ID
  12003. in: query
  12004. name: marketid
  12005. type: integer
  12006. - description: 预售商品ID
  12007. in: query
  12008. name: goodsid
  12009. type: integer
  12010. produces:
  12011. - application/json
  12012. responses:
  12013. "200":
  12014. description: OK
  12015. schema:
  12016. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  12017. "500":
  12018. description: Internal Server Error
  12019. schema:
  12020. $ref: '#/definitions/app.Response'
  12021. security:
  12022. - ApiKeyAuth: []
  12023. summary: 查询产能预售我的出价信息
  12024. tags:
  12025. - 产能预售
  12026. /CPTrade/QueryCPTradeOrderDetail:
  12027. get:
  12028. parameters:
  12029. - description: 预售商品ID
  12030. in: query
  12031. name: goodsid
  12032. type: integer
  12033. - description: 预售市场ID
  12034. in: query
  12035. name: marketid
  12036. type: integer
  12037. - description: 预售商品ID列表 - 格式:1,2,3
  12038. in: query
  12039. name: goodsids
  12040. type: string
  12041. produces:
  12042. - application/json
  12043. responses:
  12044. "200":
  12045. description: OK
  12046. schema:
  12047. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  12048. "500":
  12049. description: Internal Server Error
  12050. schema:
  12051. $ref: '#/definitions/app.Response'
  12052. security:
  12053. - ApiKeyAuth: []
  12054. summary: 查询产能预售委托单信息
  12055. tags:
  12056. - 产能预售
  12057. /CPTrade/QueryMyCPTradeGoods:
  12058. get:
  12059. parameters:
  12060. - description: 资金账户
  12061. in: query
  12062. name: accountid
  12063. required: true
  12064. type: integer
  12065. produces:
  12066. - application/json
  12067. responses:
  12068. "200":
  12069. description: OK
  12070. schema:
  12071. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  12072. "500":
  12073. description: Internal Server Error
  12074. schema:
  12075. $ref: '#/definitions/app.Response'
  12076. security:
  12077. - ApiKeyAuth: []
  12078. summary: 查询我的预售信息
  12079. tags:
  12080. - 产能预售
  12081. /CPTrade/QueryPositionCancel:
  12082. get:
  12083. parameters:
  12084. - description: 账户ID
  12085. in: query
  12086. name: userid
  12087. required: true
  12088. type: integer
  12089. - description: 注销ID
  12090. in: query
  12091. name: cancelid
  12092. type: integer
  12093. - description: 资金账户ID
  12094. in: query
  12095. name: accountid
  12096. type: integer
  12097. produces:
  12098. - application/json
  12099. responses:
  12100. "200":
  12101. description: OK
  12102. schema:
  12103. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  12104. "500":
  12105. description: Internal Server Error
  12106. schema:
  12107. $ref: '#/definitions/app.Response'
  12108. security:
  12109. - ApiKeyAuth: []
  12110. summary: 查询远期订单注销申请信息
  12111. tags:
  12112. - 产能预售
  12113. /CPTrade/QueryPreasleApply:
  12114. get:
  12115. parameters:
  12116. - description: 账户ID
  12117. in: query
  12118. name: userid
  12119. required: true
  12120. type: integer
  12121. - description: 申请ID
  12122. in: query
  12123. name: applyid
  12124. type: integer
  12125. - description: 资金账户ID
  12126. in: query
  12127. name: accountid
  12128. type: integer
  12129. produces:
  12130. - application/json
  12131. responses:
  12132. "200":
  12133. description: OK
  12134. schema:
  12135. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  12136. "500":
  12137. description: Internal Server Error
  12138. schema:
  12139. $ref: '#/definitions/app.Response'
  12140. security:
  12141. - ApiKeyAuth: []
  12142. summary: 查询产能预售申请信息
  12143. tags:
  12144. - 产能预售
  12145. /CPTrade/QueryPresaleGoodsEx:
  12146. get:
  12147. parameters:
  12148. - description: 预售商品ID
  12149. in: query
  12150. name: goodsid
  12151. type: integer
  12152. - description: 预售市场ID
  12153. in: query
  12154. name: marketid
  12155. type: integer
  12156. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  12157. in: query
  12158. name: presalemode
  12159. type: integer
  12160. - description: 预售商品ID列表 - 格式:1,2,3
  12161. in: query
  12162. name: goodsids
  12163. type: string
  12164. - description: 预售商品代码
  12165. in: query
  12166. name: goodscode
  12167. type: string
  12168. produces:
  12169. - application/json
  12170. responses:
  12171. "200":
  12172. description: OK
  12173. schema:
  12174. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  12175. "500":
  12176. description: Internal Server Error
  12177. schema:
  12178. $ref: '#/definitions/app.Response'
  12179. security:
  12180. - ApiKeyAuth: []
  12181. summary: 查询产能预售商品扩展信息
  12182. tags:
  12183. - 产能预售
  12184. /CPTrade/QueryUserGoodsData:
  12185. get:
  12186. parameters:
  12187. - description: 资金账户ID
  12188. in: query
  12189. name: accountid
  12190. required: true
  12191. type: integer
  12192. produces:
  12193. - application/json
  12194. responses:
  12195. "200":
  12196. description: OK
  12197. schema:
  12198. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  12199. "500":
  12200. description: Internal Server Error
  12201. schema:
  12202. $ref: '#/definitions/app.Response'
  12203. security:
  12204. - ApiKeyAuth: []
  12205. summary: 查询远期订单信息
  12206. tags:
  12207. - 产能预售
  12208. /Common/GetAllEnums:
  12209. get:
  12210. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  12211. parameters:
  12212. - description: 起始自增ID
  12213. in: query
  12214. name: autoid
  12215. type: integer
  12216. produces:
  12217. - application/json
  12218. responses:
  12219. "200":
  12220. description: OK
  12221. schema:
  12222. $ref: '#/definitions/models.Enumdicitem'
  12223. "500":
  12224. description: Internal Server Error
  12225. schema:
  12226. $ref: '#/definitions/app.Response'
  12227. summary: 获取所有枚举信息
  12228. tags:
  12229. - 通用服务
  12230. /Common/GetClientMenus:
  12231. get:
  12232. parameters:
  12233. - description: 登录账号
  12234. in: query
  12235. name: loginID
  12236. required: true
  12237. type: integer
  12238. - description: 终端类型,0:PC 1:Mobile
  12239. in: query
  12240. name: clientType
  12241. type: integer
  12242. produces:
  12243. - application/json
  12244. responses:
  12245. "200":
  12246. description: OK
  12247. schema:
  12248. items:
  12249. $ref: '#/definitions/common.ClientMenu'
  12250. type: array
  12251. "500":
  12252. description: Internal Server Error
  12253. schema:
  12254. $ref: '#/definitions/app.Response'
  12255. security:
  12256. - ApiKeyAuth: []
  12257. summary: 获取交易端菜单
  12258. tags:
  12259. - 通用服务
  12260. /Common/GetDivisions:
  12261. get:
  12262. produces:
  12263. - application/json
  12264. responses:
  12265. "200":
  12266. description: OK
  12267. schema:
  12268. $ref: '#/definitions/models.Division'
  12269. "500":
  12270. description: Internal Server Error
  12271. schema:
  12272. $ref: '#/definitions/app.Response'
  12273. summary: 查询区域信息
  12274. tags:
  12275. - 通用服务
  12276. /Common/GetServerTime:
  12277. get:
  12278. produces:
  12279. - application/json
  12280. responses:
  12281. "200":
  12282. description: OK
  12283. schema:
  12284. $ref: '#/definitions/app.Response'
  12285. "500":
  12286. description: Internal Server Error
  12287. schema:
  12288. $ref: '#/definitions/app.Response'
  12289. summary: 获取服务器时间
  12290. tags:
  12291. - 通用服务
  12292. /Common/NoticeReaded:
  12293. post:
  12294. parameters:
  12295. - description: 登录账号
  12296. in: query
  12297. name: loginID
  12298. required: true
  12299. type: integer
  12300. - description: 通知公告ID
  12301. in: query
  12302. name: noticeID
  12303. required: true
  12304. type: integer
  12305. produces:
  12306. - application/json
  12307. responses:
  12308. "200":
  12309. description: OK
  12310. schema:
  12311. $ref: '#/definitions/app.Response'
  12312. "500":
  12313. description: Internal Server Error
  12314. schema:
  12315. $ref: '#/definitions/app.Response'
  12316. security:
  12317. - ApiKeyAuth: []
  12318. summary: 通知公告设置已读请求
  12319. tags:
  12320. - 通用服务
  12321. /Common/QueryErrorInfos:
  12322. get:
  12323. description: 如果传入rowNumber,则返回此rowNumber后的数据
  12324. parameters:
  12325. - description: 起始行号前索引
  12326. in: query
  12327. name: rowNumber
  12328. type: string
  12329. produces:
  12330. - application/json
  12331. responses:
  12332. "200":
  12333. description: OK
  12334. schema:
  12335. $ref: '#/definitions/models.QueryErrorInfosRsp'
  12336. "500":
  12337. description: Internal Server Error
  12338. schema:
  12339. $ref: '#/definitions/app.Response'
  12340. summary: 获取数据库错误信息
  12341. tags:
  12342. - 通用服务
  12343. /Common/QueryImageConfigs:
  12344. get:
  12345. parameters:
  12346. - description: 类型 - 1:App首页轮播 2:我的
  12347. in: query
  12348. name: imageType
  12349. type: integer
  12350. produces:
  12351. - application/json
  12352. responses:
  12353. "200":
  12354. description: OK
  12355. schema:
  12356. $ref: '#/definitions/common.QueryImageConfigsRsp'
  12357. "500":
  12358. description: Internal Server Error
  12359. schema:
  12360. $ref: '#/definitions/app.Response'
  12361. summary: 查询轮播图配置信息
  12362. tags:
  12363. - 通用服务
  12364. /Common/QueryNotice:
  12365. get:
  12366. parameters:
  12367. - description: 页码
  12368. in: query
  12369. name: page
  12370. type: integer
  12371. - description: 每页条数
  12372. in: query
  12373. name: pagesize
  12374. type: integer
  12375. - description: 登录账号
  12376. in: query
  12377. name: loginID
  12378. required: true
  12379. type: integer
  12380. - description: 消息类型 - 1:公告通知 2:系统消息
  12381. in: query
  12382. name: msgType
  12383. type: integer
  12384. - description: 是否只获取未读信息
  12385. in: query
  12386. name: onlyUnRead
  12387. type: boolean
  12388. - description: 自增ID,传入后会返回这个ID后面的记录
  12389. in: query
  12390. name: lastID
  12391. type: integer
  12392. produces:
  12393. - application/json
  12394. responses:
  12395. "200":
  12396. description: OK
  12397. schema:
  12398. $ref: '#/definitions/common.QueryNoticeRsp'
  12399. "500":
  12400. description: Internal Server Error
  12401. schema:
  12402. $ref: '#/definitions/app.Response'
  12403. security:
  12404. - ApiKeyAuth: []
  12405. summary: 通知公告系统消息查询
  12406. tags:
  12407. - 通用服务
  12408. /Common/QueryProvincesAndCities:
  12409. get:
  12410. parameters:
  12411. - description: 省ID
  12412. in: query
  12413. name: provinceID
  12414. type: integer
  12415. produces:
  12416. - application/json
  12417. responses:
  12418. "200":
  12419. description: OK
  12420. schema:
  12421. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  12422. "500":
  12423. description: Internal Server Error
  12424. schema:
  12425. $ref: '#/definitions/app.Response'
  12426. summary: 查询省市信息(不包括区)
  12427. tags:
  12428. - 通用服务
  12429. /Common/QueryTableDefine:
  12430. get:
  12431. parameters:
  12432. - description: 表key
  12433. in: query
  12434. name: tableKey
  12435. type: string
  12436. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  12437. in: query
  12438. name: tableType
  12439. type: integer
  12440. produces:
  12441. - application/json
  12442. responses:
  12443. "200":
  12444. description: OK
  12445. schema:
  12446. $ref: '#/definitions/common.QueryTableDefineRsp'
  12447. "500":
  12448. description: Internal Server Error
  12449. schema:
  12450. $ref: '#/definitions/app.Response'
  12451. summary: 查询交易端列表头信息
  12452. tags:
  12453. - 通用服务
  12454. /Common/QueryTraderMenu:
  12455. get:
  12456. parameters:
  12457. - description: 登录账号
  12458. in: query
  12459. name: loginid
  12460. required: true
  12461. type: integer
  12462. produces:
  12463. - application/json
  12464. responses:
  12465. "200":
  12466. description: OK
  12467. schema:
  12468. $ref: '#/definitions/common.QueryTraderMenuRsp'
  12469. "500":
  12470. description: Internal Server Error
  12471. schema:
  12472. $ref: '#/definitions/app.Response'
  12473. summary: 查询交易端菜单
  12474. tags:
  12475. - 通用服务
  12476. /Delivery/QueryDeliveryRelation:
  12477. get:
  12478. parameters:
  12479. - description: 商品ID
  12480. in: query
  12481. name: goodsid
  12482. type: integer
  12483. - description: 品种ID
  12484. in: query
  12485. name: deliverygoodsid
  12486. type: integer
  12487. - description: 市场ID
  12488. in: query
  12489. name: marketid
  12490. type: integer
  12491. produces:
  12492. - application/json
  12493. responses:
  12494. "200":
  12495. description: OK
  12496. schema:
  12497. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  12498. "500":
  12499. description: Internal Server Error
  12500. schema:
  12501. $ref: '#/definitions/app.Response'
  12502. security:
  12503. - ApiKeyAuth: []
  12504. summary: 查询商品交割关系表
  12505. tags:
  12506. - 交割服务
  12507. /Ermcp/GetErmcpGoods:
  12508. get:
  12509. parameters:
  12510. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  12511. in: query
  12512. name: lastUpdateTime
  12513. type: string
  12514. produces:
  12515. - application/json
  12516. responses:
  12517. "200":
  12518. description: OK
  12519. schema:
  12520. $ref: '#/definitions/models.Goods'
  12521. "500":
  12522. description: Internal Server Error
  12523. schema:
  12524. $ref: '#/definitions/app.Response'
  12525. security:
  12526. - ApiKeyAuth: []
  12527. summary: 查询企业风管期货商品信息
  12528. tags:
  12529. - 企业风险管理(app)
  12530. /Ermcp/GetErmcpGoodsSortByPosition:
  12531. get:
  12532. parameters:
  12533. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  12534. in: query
  12535. name: sortIndex
  12536. type: string
  12537. produces:
  12538. - application/json
  12539. responses:
  12540. "200":
  12541. description: OK
  12542. schema:
  12543. $ref: '#/definitions/models.Goodssortbypreposition'
  12544. "500":
  12545. description: Internal Server Error
  12546. schema:
  12547. $ref: '#/definitions/app.Response'
  12548. security:
  12549. - ApiKeyAuth: []
  12550. summary: 查询企业风管期货主力、次主力商品信息
  12551. tags:
  12552. - 企业风险管理(app)
  12553. /Ermcp/GetErmcpOutAccountStatus:
  12554. get:
  12555. parameters:
  12556. - description: 登录账号
  12557. in: query
  12558. name: loginID
  12559. required: true
  12560. type: integer
  12561. produces:
  12562. - application/json
  12563. responses:
  12564. "200":
  12565. description: OK
  12566. schema:
  12567. $ref: '#/definitions/models.Hedgeoutmainconfig'
  12568. "500":
  12569. description: Internal Server Error
  12570. schema:
  12571. $ref: '#/definitions/app.Response'
  12572. security:
  12573. - ApiKeyAuth: []
  12574. summary: 获取目标登录账号当前对冲账号在线状态
  12575. tags:
  12576. - 企业风险管理(app)
  12577. /Ermcp/GetErmcpRoleFuncMenuLists:
  12578. get:
  12579. parameters:
  12580. - description: 登录账号
  12581. in: query
  12582. name: loginID
  12583. required: true
  12584. type: integer
  12585. produces:
  12586. - application/json
  12587. responses:
  12588. "200":
  12589. description: OK
  12590. schema:
  12591. $ref: '#/definitions/models.Funcmenulist'
  12592. "500":
  12593. description: Internal Server Error
  12594. schema:
  12595. $ref: '#/definitions/app.Response'
  12596. security:
  12597. - ApiKeyAuth: []
  12598. summary: 获取企业风管终端权限
  12599. tags:
  12600. - 企业风险管理(app)
  12601. /Ermcp/QryReportAreaSpotPL:
  12602. get:
  12603. parameters:
  12604. - description: 用户ID
  12605. in: query
  12606. name: userid
  12607. required: true
  12608. type: integer
  12609. - description: 查询类型 1-日报表 2-月报表
  12610. in: query
  12611. name: querytype
  12612. required: true
  12613. type: integer
  12614. - description: 查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)
  12615. in: query
  12616. name: querydate
  12617. required: true
  12618. type: string
  12619. - description: 现货商品ID
  12620. in: query
  12621. name: wrstandardid
  12622. type: integer
  12623. - description: 品牌ID
  12624. in: query
  12625. name: spotgoodsbrandid
  12626. type: integer
  12627. - description: 型号ID
  12628. in: query
  12629. name: spotgoodsmodelid
  12630. type: integer
  12631. produces:
  12632. - application/json
  12633. responses:
  12634. "200":
  12635. description: OK
  12636. schema:
  12637. items:
  12638. $ref: '#/definitions/models.ErmcpReportAreaSpotPL'
  12639. type: array
  12640. "500":
  12641. description: Internal Server Error
  12642. schema:
  12643. $ref: '#/definitions/app.Response'
  12644. security:
  12645. - ApiKeyAuth: []
  12646. summary: 查询现货损益报表(现货损益报表)
  12647. tags:
  12648. - 企业风险管理(app)
  12649. /Ermcp/QryReportDayExposure:
  12650. get:
  12651. parameters:
  12652. - description: 用户ID
  12653. in: query
  12654. name: userid
  12655. required: true
  12656. type: integer
  12657. - description: 交易日(格式:yyyyMMdd)
  12658. in: query
  12659. name: tradedate
  12660. required: true
  12661. type: string
  12662. produces:
  12663. - application/json
  12664. responses:
  12665. "200":
  12666. description: OK
  12667. schema:
  12668. items:
  12669. $ref: '#/definitions/ermcp.QryReportExposureDayRsp'
  12670. type: array
  12671. "500":
  12672. description: Internal Server Error
  12673. schema:
  12674. $ref: '#/definitions/app.Response'
  12675. security:
  12676. - ApiKeyAuth: []
  12677. summary: 查询敞口日报表(菜单:报表查询/敞口报表/敞口日报表)
  12678. tags:
  12679. - 企业风险管理(app)
  12680. /Ermcp/QryReportDayFinance:
  12681. get:
  12682. parameters:
  12683. - description: 用户ID
  12684. in: query
  12685. name: userid
  12686. required: true
  12687. type: integer
  12688. - description: 交易日(格式:yyyyMMdd)
  12689. in: query
  12690. name: tradedate
  12691. required: true
  12692. type: string
  12693. produces:
  12694. - application/json
  12695. responses:
  12696. "200":
  12697. description: OK
  12698. schema:
  12699. items:
  12700. $ref: '#/definitions/ermcp.QryReportFinanceDayRsp'
  12701. type: array
  12702. "500":
  12703. description: Internal Server Error
  12704. schema:
  12705. $ref: '#/definitions/app.Response'
  12706. security:
  12707. - ApiKeyAuth: []
  12708. summary: 查询财务日报表(菜单:报表查询/财务报表/日报表)
  12709. tags:
  12710. - 企业风险管理(app)
  12711. /Ermcp/QryReportDayFinanceFp:
  12712. get:
  12713. parameters:
  12714. - description: 用户ID
  12715. in: query
  12716. name: userid
  12717. required: true
  12718. type: integer
  12719. - description: 交易日(格式:yyyyMMdd)
  12720. in: query
  12721. name: tradedate
  12722. required: true
  12723. type: string
  12724. produces:
  12725. - application/json
  12726. responses:
  12727. "200":
  12728. description: OK
  12729. schema:
  12730. items:
  12731. $ref: '#/definitions/ermcp.QryReportFinanceKxRsp'
  12732. type: array
  12733. "500":
  12734. description: Internal Server Error
  12735. schema:
  12736. $ref: '#/definitions/app.Response'
  12737. security:
  12738. - ApiKeyAuth: []
  12739. summary: 查询财务日报表发票(菜单:报表查询/财务报表/日报表/发票)
  12740. tags:
  12741. - 企业风险管理(app)
  12742. /Ermcp/QryReportDayFinanceKx:
  12743. get:
  12744. parameters:
  12745. - description: 用户ID
  12746. in: query
  12747. name: userid
  12748. required: true
  12749. type: integer
  12750. - description: 交易日(格式:yyyyMMdd)
  12751. in: query
  12752. name: tradedate
  12753. required: true
  12754. type: string
  12755. produces:
  12756. - application/json
  12757. responses:
  12758. "200":
  12759. description: OK
  12760. schema:
  12761. items:
  12762. $ref: '#/definitions/ermcp.QryReportFinanceKxRsp'
  12763. type: array
  12764. "500":
  12765. description: Internal Server Error
  12766. schema:
  12767. $ref: '#/definitions/app.Response'
  12768. security:
  12769. - ApiKeyAuth: []
  12770. summary: 查询财务日报表款项(菜单:报表查询/财务报表/日报表/款项)
  12771. tags:
  12772. - 企业风险管理(app)
  12773. /Ermcp/QryReportDaySpot:
  12774. get:
  12775. parameters:
  12776. - description: 用户ID
  12777. in: query
  12778. name: userid
  12779. required: true
  12780. type: integer
  12781. - description: 交易日(格式:yyyyMMdd)
  12782. in: query
  12783. name: tradedate
  12784. required: true
  12785. type: string
  12786. produces:
  12787. - application/json
  12788. responses:
  12789. "200":
  12790. description: OK
  12791. schema:
  12792. items:
  12793. $ref: '#/definitions/ermcp.QryReportSpotDayRsp'
  12794. type: array
  12795. "500":
  12796. description: Internal Server Error
  12797. schema:
  12798. $ref: '#/definitions/app.Response'
  12799. security:
  12800. - ApiKeyAuth: []
  12801. summary: 查询现货日报表(菜单:报表查询/现货报表/现货日报表)
  12802. tags:
  12803. - 企业风险管理(app)
  12804. /Ermcp/QryReportDaySpotDetail:
  12805. get:
  12806. parameters:
  12807. - description: 用户ID
  12808. in: query
  12809. name: userid
  12810. required: true
  12811. type: integer
  12812. - description: 现货商品id
  12813. in: query
  12814. name: wrstandardid
  12815. required: true
  12816. type: integer
  12817. - description: 交易日(格式:yyyyMMdd)
  12818. in: query
  12819. name: tradedate
  12820. required: true
  12821. type: string
  12822. produces:
  12823. - application/json
  12824. responses:
  12825. "200":
  12826. description: OK
  12827. schema:
  12828. items:
  12829. $ref: '#/definitions/ermcp.QryReportDaySpotDetailRsp'
  12830. type: array
  12831. "500":
  12832. description: Internal Server Error
  12833. schema:
  12834. $ref: '#/definitions/app.Response'
  12835. security:
  12836. - ApiKeyAuth: []
  12837. summary: 查询现货日报表详情(菜单:报表查询/现货报表/现货日报表详情)
  12838. tags:
  12839. - 企业风险管理(app)
  12840. /Ermcp/QryReportMonthFinance:
  12841. get:
  12842. parameters:
  12843. - description: 用户ID
  12844. in: query
  12845. name: userid
  12846. required: true
  12847. type: integer
  12848. - description: 周期时间:月(格式:yyyyMM)
  12849. in: query
  12850. name: cycletime
  12851. required: true
  12852. type: string
  12853. produces:
  12854. - application/json
  12855. responses:
  12856. "200":
  12857. description: OK
  12858. schema:
  12859. items:
  12860. $ref: '#/definitions/ermcp.QryReportFinanceMonRsp'
  12861. type: array
  12862. "500":
  12863. description: Internal Server Error
  12864. schema:
  12865. $ref: '#/definitions/app.Response'
  12866. security:
  12867. - ApiKeyAuth: []
  12868. summary: 查询财务月报表(菜单:报表查询/财务报表/月报表)
  12869. tags:
  12870. - 企业风险管理(app)
  12871. /Ermcp/QryReportMonthSpot:
  12872. get:
  12873. parameters:
  12874. - description: 用户ID
  12875. in: query
  12876. name: userid
  12877. required: true
  12878. type: integer
  12879. - description: 周期时间:月(格式:yyyyMM)
  12880. in: query
  12881. name: cycletime
  12882. required: true
  12883. type: string
  12884. produces:
  12885. - application/json
  12886. responses:
  12887. "200":
  12888. description: OK
  12889. schema:
  12890. items:
  12891. $ref: '#/definitions/ermcp.QryReportSpotMonRsp'
  12892. type: array
  12893. "500":
  12894. description: Internal Server Error
  12895. schema:
  12896. $ref: '#/definitions/app.Response'
  12897. security:
  12898. - ApiKeyAuth: []
  12899. summary: 查询现货月报表(菜单:报表查询/现货报表/现货月报表)
  12900. tags:
  12901. - 企业风险管理(app)
  12902. /Ermcp/QryReportMonthSpotDetail:
  12903. get:
  12904. parameters:
  12905. - description: 用户ID
  12906. in: query
  12907. name: userid
  12908. required: true
  12909. type: integer
  12910. - description: 现货商品id
  12911. in: query
  12912. name: wrstandardid
  12913. required: true
  12914. type: integer
  12915. - description: 周期时间:月(格式:yyyyMM)
  12916. in: query
  12917. name: cycletime
  12918. required: true
  12919. type: string
  12920. produces:
  12921. - application/json
  12922. responses:
  12923. "200":
  12924. description: OK
  12925. schema:
  12926. items:
  12927. $ref: '#/definitions/ermcp.QryReportSpotMonthDetailRsp'
  12928. type: array
  12929. "500":
  12930. description: Internal Server Error
  12931. schema:
  12932. $ref: '#/definitions/app.Response'
  12933. security:
  12934. - ApiKeyAuth: []
  12935. summary: 查询现货月报表详情(菜单:报表查询/现货月报表/现货月报表详情)
  12936. tags:
  12937. - 企业风险管理(app)
  12938. /Ermcp/QueryAccMgrBizGroupSet:
  12939. get:
  12940. parameters:
  12941. - description: 用户ID
  12942. in: query
  12943. name: userid
  12944. required: true
  12945. type: integer
  12946. produces:
  12947. - application/json
  12948. responses:
  12949. "200":
  12950. description: OK
  12951. schema:
  12952. items:
  12953. $ref: '#/definitions/models.ErmcpBizGroupEx'
  12954. type: array
  12955. "500":
  12956. description: Internal Server Error
  12957. schema:
  12958. $ref: '#/definitions/app.Response'
  12959. security:
  12960. - ApiKeyAuth: []
  12961. summary: 查询业务类型分组(账户管理/账户设置)
  12962. tags:
  12963. - 企业风险管理(app)
  12964. /Ermcp/QueryAccMgrLoginUser:
  12965. get:
  12966. parameters:
  12967. - description: 用户ID
  12968. in: query
  12969. name: userid
  12970. required: true
  12971. type: integer
  12972. produces:
  12973. - application/json
  12974. responses:
  12975. "200":
  12976. description: OK
  12977. schema:
  12978. items:
  12979. $ref: '#/definitions/models.ErmcpLoginUserEx'
  12980. type: array
  12981. "500":
  12982. description: Internal Server Error
  12983. schema:
  12984. $ref: '#/definitions/app.Response'
  12985. security:
  12986. - ApiKeyAuth: []
  12987. summary: 查询账户管理登录账号(账户管理/登录账号)
  12988. tags:
  12989. - 企业风险管理(app)
  12990. /Ermcp/QueryAccMgrMainAccountInfo:
  12991. get:
  12992. parameters:
  12993. - description: 用户ID
  12994. in: query
  12995. name: userid
  12996. type: integer
  12997. - description: 主账号id
  12998. in: query
  12999. name: accountid
  13000. type: integer
  13001. produces:
  13002. - application/json
  13003. responses:
  13004. "200":
  13005. description: OK
  13006. schema:
  13007. items:
  13008. $ref: '#/definitions/models.MainAccountInfo'
  13009. type: array
  13010. "500":
  13011. description: Internal Server Error
  13012. schema:
  13013. $ref: '#/definitions/app.Response'
  13014. security:
  13015. - ApiKeyAuth: []
  13016. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  13017. tags:
  13018. - 企业风险管理(app)
  13019. /Ermcp/QueryAccMgrRole:
  13020. get:
  13021. parameters:
  13022. - description: 用户ID
  13023. in: query
  13024. name: userid
  13025. required: true
  13026. type: integer
  13027. produces:
  13028. - application/json
  13029. responses:
  13030. "200":
  13031. description: OK
  13032. schema:
  13033. items:
  13034. $ref: '#/definitions/models.ErmcpRole'
  13035. type: array
  13036. "500":
  13037. description: Internal Server Error
  13038. schema:
  13039. $ref: '#/definitions/app.Response'
  13040. security:
  13041. - ApiKeyAuth: []
  13042. summary: 查询账户管理角色设置(账户管理/角色设置)
  13043. tags:
  13044. - 企业风险管理(app)
  13045. /Ermcp/QueryAccMgrRoleMenu:
  13046. get:
  13047. parameters:
  13048. - description: 用户ID
  13049. in: query
  13050. name: userid
  13051. required: true
  13052. type: integer
  13053. - description: 角色id(可多个,逗号隔开)
  13054. in: query
  13055. name: roleid
  13056. type: string
  13057. produces:
  13058. - application/json
  13059. responses:
  13060. "200":
  13061. description: OK
  13062. schema:
  13063. items:
  13064. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  13065. type: array
  13066. "500":
  13067. description: Internal Server Error
  13068. schema:
  13069. $ref: '#/definitions/app.Response'
  13070. security:
  13071. - ApiKeyAuth: []
  13072. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  13073. tags:
  13074. - 企业风险管理(app)
  13075. /Ermcp/QueryAccMgrTaAccountInfo:
  13076. get:
  13077. parameters:
  13078. - description: 用户ID
  13079. in: query
  13080. name: userid
  13081. required: true
  13082. type: integer
  13083. - description: 账号id
  13084. in: query
  13085. name: accountid
  13086. type: integer
  13087. produces:
  13088. - application/json
  13089. responses:
  13090. "200":
  13091. description: OK
  13092. schema:
  13093. items:
  13094. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  13095. type: array
  13096. "500":
  13097. description: Internal Server Error
  13098. schema:
  13099. $ref: '#/definitions/app.Response'
  13100. security:
  13101. - ApiKeyAuth: []
  13102. summary: 查询账户管理授信(账户管理/账户设置/授信)
  13103. tags:
  13104. - 企业风险管理(app)
  13105. /Ermcp/QueryAccMgrTaaccount:
  13106. get:
  13107. parameters:
  13108. - description: 用户ID
  13109. in: query
  13110. name: userid
  13111. required: true
  13112. type: integer
  13113. produces:
  13114. - application/json
  13115. responses:
  13116. "200":
  13117. description: OK
  13118. schema:
  13119. items:
  13120. $ref: '#/definitions/models.ErmcpTaAccountEx'
  13121. type: array
  13122. "500":
  13123. description: Internal Server Error
  13124. schema:
  13125. $ref: '#/definitions/app.Response'
  13126. security:
  13127. - ApiKeyAuth: []
  13128. summary: 查询账户管理期货账号(账户管理/期货账号)
  13129. tags:
  13130. - 企业风险管理(app)
  13131. /Ermcp/QueryAreaStock:
  13132. get:
  13133. parameters:
  13134. - description: 用户ID
  13135. in: query
  13136. name: userid
  13137. required: true
  13138. type: integer
  13139. produces:
  13140. - application/json
  13141. responses:
  13142. "200":
  13143. description: OK
  13144. schema:
  13145. items:
  13146. $ref: '#/definitions/models.ErmcpAreaStock'
  13147. type: array
  13148. "500":
  13149. description: Internal Server Error
  13150. schema:
  13151. $ref: '#/definitions/app.Response'
  13152. security:
  13153. - ApiKeyAuth: []
  13154. summary: 查询机构库存(库存管理/当前库存)
  13155. tags:
  13156. - 企业风险管理(app)
  13157. /Ermcp/QueryAreaStockApply:
  13158. get:
  13159. parameters:
  13160. - description: 用户ID
  13161. in: query
  13162. name: userid
  13163. required: true
  13164. type: integer
  13165. - description: 出入库类型(可多项,逗号隔开) 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  13166. in: query
  13167. name: inouttype
  13168. type: string
  13169. - description: 合同ID
  13170. in: query
  13171. name: spotcontractid
  13172. type: integer
  13173. - description: 现货商品ID
  13174. in: query
  13175. name: wrstandardid
  13176. type: integer
  13177. - description: 品牌ID
  13178. in: query
  13179. name: spotgoodsbrandid
  13180. type: integer
  13181. - description: 型号ID
  13182. in: query
  13183. name: spotgoodsmodelid
  13184. type: integer
  13185. - description: 仓库ID
  13186. in: query
  13187. name: warehouseinfoid
  13188. type: integer
  13189. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13190. in: query
  13191. name: applystatus
  13192. type: string
  13193. produces:
  13194. - application/json
  13195. responses:
  13196. "200":
  13197. description: OK
  13198. schema:
  13199. items:
  13200. $ref: '#/definitions/ermcp.QryAreaStockApplyRsp'
  13201. type: array
  13202. "500":
  13203. description: Internal Server Error
  13204. schema:
  13205. $ref: '#/definitions/app.Response'
  13206. security:
  13207. - ApiKeyAuth: []
  13208. summary: 查询库存申请(出入库记录|库存审核)
  13209. tags:
  13210. - 企业风险管理(app)
  13211. /Ermcp/QueryAreaStockApplySum:
  13212. get:
  13213. parameters:
  13214. - description: 合同ID
  13215. in: query
  13216. name: spotcontractid
  13217. type: integer
  13218. produces:
  13219. - application/json
  13220. responses:
  13221. "200":
  13222. description: OK
  13223. schema:
  13224. items:
  13225. $ref: '#/definitions/ermcp.QueryAreaStockApplySumRsp'
  13226. type: array
  13227. "500":
  13228. description: Internal Server Error
  13229. schema:
  13230. $ref: '#/definitions/app.Response'
  13231. security:
  13232. - ApiKeyAuth: []
  13233. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  13234. tags:
  13235. - 企业风险管理(app)
  13236. /Ermcp/QueryAreaStockReport:
  13237. get:
  13238. parameters:
  13239. - description: 用户ID
  13240. in: query
  13241. name: userid
  13242. required: true
  13243. type: integer
  13244. - description: 查询类型 1-日报表 2-月报表
  13245. in: query
  13246. name: querytype
  13247. required: true
  13248. type: integer
  13249. - description: 查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)
  13250. in: query
  13251. name: querydate
  13252. required: true
  13253. type: string
  13254. - description: 现货商品ID
  13255. in: query
  13256. name: wrstandardid
  13257. type: integer
  13258. - description: 品牌ID
  13259. in: query
  13260. name: spotgoodsbrandid
  13261. type: integer
  13262. - description: 型号ID
  13263. in: query
  13264. name: spotgoodsmodelid
  13265. type: integer
  13266. - description: 仓库ID
  13267. in: query
  13268. name: warehouseinfoid
  13269. type: integer
  13270. produces:
  13271. - application/json
  13272. responses:
  13273. "200":
  13274. description: OK
  13275. schema:
  13276. items:
  13277. $ref: '#/definitions/models.ErmcpAreaStockReport'
  13278. type: array
  13279. "500":
  13280. description: Internal Server Error
  13281. schema:
  13282. $ref: '#/definitions/app.Response'
  13283. security:
  13284. - ApiKeyAuth: []
  13285. summary: 查询库存报表
  13286. tags:
  13287. - 企业风险管理(app)
  13288. /Ermcp/QueryAreaStockReportDetail:
  13289. get:
  13290. parameters:
  13291. - description: 用户ID
  13292. in: query
  13293. name: userid
  13294. required: true
  13295. type: integer
  13296. - description: 查询类型 1-日报表明细 2-月报表明细
  13297. in: query
  13298. name: querytype
  13299. required: true
  13300. type: integer
  13301. - description: 明细类型 1:入库明细(采购入库+生产入库) 2:出库明细(销售出库+生产出库)
  13302. in: query
  13303. name: detailtype
  13304. required: true
  13305. type: integer
  13306. - description: 查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)
  13307. in: query
  13308. name: querydate
  13309. required: true
  13310. type: string
  13311. - description: 现货商品ID
  13312. in: query
  13313. name: wrstandardid
  13314. type: integer
  13315. - description: 品牌ID
  13316. in: query
  13317. name: spotgoodsbrandid
  13318. type: integer
  13319. - description: 型号ID
  13320. in: query
  13321. name: spotgoodsmodelid
  13322. type: integer
  13323. - description: 仓库ID
  13324. in: query
  13325. name: warehouseinfoid
  13326. type: integer
  13327. produces:
  13328. - application/json
  13329. responses:
  13330. "200":
  13331. description: OK
  13332. schema:
  13333. items:
  13334. $ref: '#/definitions/models.ErmcpAreaStockApply'
  13335. type: array
  13336. "500":
  13337. description: Internal Server Error
  13338. schema:
  13339. $ref: '#/definitions/app.Response'
  13340. security:
  13341. - ApiKeyAuth: []
  13342. summary: 查询库存报表明细
  13343. tags:
  13344. - 企业风险管理(app)
  13345. /Ermcp/QueryAvaildGoodsGroup:
  13346. get:
  13347. parameters:
  13348. - description: 所属机构ID
  13349. in: query
  13350. name: userid
  13351. required: true
  13352. type: integer
  13353. produces:
  13354. - application/json
  13355. responses:
  13356. "200":
  13357. description: OK
  13358. schema:
  13359. items:
  13360. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  13361. type: array
  13362. "500":
  13363. description: Internal Server Error
  13364. schema:
  13365. $ref: '#/definitions/app.Response'
  13366. security:
  13367. - ApiKeyAuth: []
  13368. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  13369. tags:
  13370. - 企业风险管理(app)
  13371. /Ermcp/QueryBusinessDj:
  13372. get:
  13373. parameters:
  13374. - description: 用户ID
  13375. in: query
  13376. name: UserId
  13377. required: true
  13378. type: integer
  13379. - description: 现货合同ID, 不填则查所有
  13380. in: query
  13381. name: relatedid
  13382. type: string
  13383. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13384. in: query
  13385. name: applystatus
  13386. type: string
  13387. produces:
  13388. - application/json
  13389. responses:
  13390. "200":
  13391. description: OK
  13392. schema:
  13393. items:
  13394. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  13395. type: array
  13396. "500":
  13397. description: Internal Server Error
  13398. schema:
  13399. $ref: '#/definitions/app.Response'
  13400. security:
  13401. - ApiKeyAuth: []
  13402. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  13403. tags:
  13404. - 企业风险管理(app)
  13405. /Ermcp/QueryBusinessFp:
  13406. get:
  13407. parameters:
  13408. - description: 用户ID
  13409. in: query
  13410. name: UserId
  13411. required: true
  13412. type: integer
  13413. - description: 现货合同ID, 不填则查所有
  13414. in: query
  13415. name: relatedid
  13416. type: string
  13417. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13418. in: query
  13419. name: applystatus
  13420. type: string
  13421. produces:
  13422. - application/json
  13423. responses:
  13424. "200":
  13425. description: OK
  13426. schema:
  13427. items:
  13428. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  13429. type: array
  13430. "500":
  13431. description: Internal Server Error
  13432. schema:
  13433. $ref: '#/definitions/app.Response'
  13434. security:
  13435. - ApiKeyAuth: []
  13436. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  13437. tags:
  13438. - 企业风险管理(app)
  13439. /Ermcp/QueryBusinessJs:
  13440. get:
  13441. parameters:
  13442. - description: 用户ID
  13443. in: query
  13444. name: UserId
  13445. required: true
  13446. type: integer
  13447. - description: 现货合同ID, 不填则查所有
  13448. in: query
  13449. name: relatedid
  13450. type: string
  13451. - description: 操作申请id
  13452. in: query
  13453. name: operateapplyid
  13454. type: string
  13455. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13456. in: query
  13457. name: applystatus
  13458. type: string
  13459. produces:
  13460. - application/json
  13461. responses:
  13462. "200":
  13463. description: OK
  13464. schema:
  13465. items:
  13466. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  13467. type: array
  13468. "500":
  13469. description: Internal Server Error
  13470. schema:
  13471. $ref: '#/definitions/app.Response'
  13472. security:
  13473. - ApiKeyAuth: []
  13474. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  13475. tags:
  13476. - 企业风险管理(app)
  13477. /Ermcp/QueryBusinessJsEx:
  13478. get:
  13479. parameters:
  13480. - description: 用户ID
  13481. in: query
  13482. name: UserId
  13483. required: true
  13484. type: integer
  13485. - description: 现货合同ID, 不填则查所有
  13486. in: query
  13487. name: relatedid
  13488. type: string
  13489. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13490. in: query
  13491. name: applystatus
  13492. type: string
  13493. produces:
  13494. - application/json
  13495. responses:
  13496. "200":
  13497. description: OK
  13498. schema:
  13499. items:
  13500. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  13501. type: array
  13502. "500":
  13503. description: Internal Server Error
  13504. schema:
  13505. $ref: '#/definitions/app.Response'
  13506. security:
  13507. - ApiKeyAuth: []
  13508. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  13509. tags:
  13510. - 企业风险管理(app)
  13511. /Ermcp/QueryBusinessKx:
  13512. get:
  13513. parameters:
  13514. - description: 用户ID
  13515. in: query
  13516. name: UserId
  13517. required: true
  13518. type: integer
  13519. - description: 现货合同ID, 不填则查所有
  13520. in: query
  13521. name: relatedid
  13522. type: string
  13523. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13524. in: query
  13525. name: applystatus
  13526. type: string
  13527. produces:
  13528. - application/json
  13529. responses:
  13530. "200":
  13531. description: OK
  13532. schema:
  13533. items:
  13534. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  13535. type: array
  13536. "500":
  13537. description: Internal Server Error
  13538. schema:
  13539. $ref: '#/definitions/app.Response'
  13540. security:
  13541. - ApiKeyAuth: []
  13542. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  13543. tags:
  13544. - 企业风险管理(app)
  13545. /Ermcp/QueryChangeLog:
  13546. get:
  13547. parameters:
  13548. - description: 合同ID
  13549. in: query
  13550. name: RelatedId
  13551. required: true
  13552. type: string
  13553. produces:
  13554. - application/json
  13555. responses:
  13556. "200":
  13557. description: OK
  13558. schema:
  13559. items:
  13560. $ref: '#/definitions/ermcp.QryOPLogRsp'
  13561. type: array
  13562. "500":
  13563. description: Internal Server Error
  13564. schema:
  13565. $ref: '#/definitions/app.Response'
  13566. security:
  13567. - ApiKeyAuth: []
  13568. summary: 查询变更记录
  13569. tags:
  13570. - 企业风险管理(app)
  13571. /Ermcp/QueryContract:
  13572. get:
  13573. parameters:
  13574. - description: 用户ID
  13575. in: query
  13576. name: userId
  13577. required: true
  13578. type: integer
  13579. - description: 合同类型 1-采购, -1-销售
  13580. in: query
  13581. name: contracttype
  13582. required: true
  13583. type: integer
  13584. - description: 查询类型 1-全部 2-待点价 3-履约结算
  13585. in: query
  13586. name: querytype
  13587. required: true
  13588. type: integer
  13589. - description: 合同ID(SpotContractId)
  13590. in: query
  13591. name: contractid
  13592. type: string
  13593. produces:
  13594. - application/json
  13595. responses:
  13596. "200":
  13597. description: OK
  13598. schema:
  13599. items:
  13600. $ref: '#/definitions/ermcp.QryErmcpRsp'
  13601. type: array
  13602. "500":
  13603. description: Internal Server Error
  13604. schema:
  13605. $ref: '#/definitions/app.Response'
  13606. security:
  13607. - ApiKeyAuth: []
  13608. summary: 查询合同(采购和销售)
  13609. tags:
  13610. - 企业风险管理(app)
  13611. /Ermcp/QueryErmcpHisOrderDetails:
  13612. get:
  13613. parameters:
  13614. - description: 资金账户ID
  13615. in: query
  13616. name: accountID
  13617. required: true
  13618. type: integer
  13619. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  13620. in: query
  13621. name: startDate
  13622. type: string
  13623. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  13624. in: query
  13625. name: endDate
  13626. type: string
  13627. produces:
  13628. - application/json
  13629. responses:
  13630. "200":
  13631. description: OK
  13632. schema:
  13633. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  13634. "500":
  13635. description: Internal Server Error
  13636. schema:
  13637. $ref: '#/definitions/app.Response'
  13638. security:
  13639. - ApiKeyAuth: []
  13640. summary: 获取企业风管期货历史委托单信息
  13641. tags:
  13642. - 企业风险管理(app)
  13643. /Ermcp/QueryErmcpHisTradeDetails:
  13644. get:
  13645. parameters:
  13646. - description: 资金账户ID
  13647. in: query
  13648. name: accountID
  13649. required: true
  13650. type: integer
  13651. - description: 商品ID
  13652. in: query
  13653. name: goodsID
  13654. type: integer
  13655. - description: 买卖方向,0:买 1:卖
  13656. in: query
  13657. name: buyOrSell
  13658. type: integer
  13659. - description: 关联委托单号
  13660. in: query
  13661. name: orderID
  13662. type: integer
  13663. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  13664. in: query
  13665. name: startDate
  13666. type: string
  13667. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  13668. in: query
  13669. name: endDate
  13670. type: string
  13671. produces:
  13672. - application/json
  13673. responses:
  13674. "200":
  13675. description: OK
  13676. schema:
  13677. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  13678. "500":
  13679. description: Internal Server Error
  13680. schema:
  13681. $ref: '#/definitions/app.Response'
  13682. security:
  13683. - ApiKeyAuth: []
  13684. summary: 获取企业风管期货历史成交单信息
  13685. tags:
  13686. - 企业风险管理(app)
  13687. /Ermcp/QueryErmcpInnerHolderDetails:
  13688. get:
  13689. parameters:
  13690. - description: 资金账户ID
  13691. in: query
  13692. name: accountID
  13693. required: true
  13694. type: integer
  13695. - description: 商品ID
  13696. in: query
  13697. name: goodsID
  13698. type: integer
  13699. - description: 买卖方向,0:买 1:卖
  13700. in: query
  13701. name: buyOrSell
  13702. type: integer
  13703. produces:
  13704. - application/json
  13705. responses:
  13706. "200":
  13707. description: OK
  13708. schema:
  13709. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  13710. "500":
  13711. description: Internal Server Error
  13712. schema:
  13713. $ref: '#/definitions/app.Response'
  13714. security:
  13715. - ApiKeyAuth: []
  13716. summary: 获取企业风管期货内部持仓单信息
  13717. tags:
  13718. - 企业风险管理(app)
  13719. /Ermcp/QueryErmcpOrderDetails:
  13720. get:
  13721. parameters:
  13722. - description: 资金账户ID
  13723. in: query
  13724. name: accountID
  13725. required: true
  13726. type: integer
  13727. produces:
  13728. - application/json
  13729. responses:
  13730. "200":
  13731. description: OK
  13732. schema:
  13733. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  13734. "500":
  13735. description: Internal Server Error
  13736. schema:
  13737. $ref: '#/definitions/app.Response'
  13738. security:
  13739. - ApiKeyAuth: []
  13740. summary: 获取企业风管期货委托单信息
  13741. tags:
  13742. - 企业风险管理(app)
  13743. /Ermcp/QueryErmcpTradeDetails:
  13744. get:
  13745. parameters:
  13746. - description: 资金账户ID
  13747. in: query
  13748. name: accountID
  13749. required: true
  13750. type: integer
  13751. - description: 商品ID
  13752. in: query
  13753. name: goodsID
  13754. type: integer
  13755. - description: 买卖方向,0:买 1:卖
  13756. in: query
  13757. name: buyOrSell
  13758. type: integer
  13759. - description: 关联委托单号
  13760. in: query
  13761. name: orderID
  13762. type: integer
  13763. produces:
  13764. - application/json
  13765. responses:
  13766. "200":
  13767. description: OK
  13768. schema:
  13769. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  13770. "500":
  13771. description: Internal Server Error
  13772. schema:
  13773. $ref: '#/definitions/app.Response'
  13774. security:
  13775. - ApiKeyAuth: []
  13776. summary: 获取企业风管期货成交单信息
  13777. tags:
  13778. - 企业风险管理(app)
  13779. /Ermcp/QueryErmcpTradePosition:
  13780. get:
  13781. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  13782. parameters:
  13783. - description: 资金账户ID
  13784. in: query
  13785. name: accountID
  13786. required: true
  13787. type: integer
  13788. - description: 所属市场ID
  13789. in: query
  13790. name: marketID
  13791. type: integer
  13792. produces:
  13793. - application/json
  13794. responses:
  13795. "200":
  13796. description: OK
  13797. schema:
  13798. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  13799. "500":
  13800. description: Internal Server Error
  13801. schema:
  13802. $ref: '#/definitions/app.Response'
  13803. security:
  13804. - ApiKeyAuth: []
  13805. summary: 获取企业风管期货持仓头寸信息
  13806. tags:
  13807. - 企业风险管理(app)
  13808. /Ermcp/QueryExposureDetail:
  13809. get:
  13810. parameters:
  13811. - description: 所属机构ID
  13812. in: query
  13813. name: areaUserId
  13814. required: true
  13815. type: integer
  13816. - description: 套保商品
  13817. in: query
  13818. name: middleGoodsId
  13819. required: true
  13820. type: integer
  13821. produces:
  13822. - application/json
  13823. responses:
  13824. "200":
  13825. description: OK
  13826. schema:
  13827. items:
  13828. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  13829. type: array
  13830. "500":
  13831. description: Internal Server Error
  13832. schema:
  13833. $ref: '#/definitions/app.Response'
  13834. security:
  13835. - ApiKeyAuth: []
  13836. summary: 查询敞口现货明细
  13837. tags:
  13838. - 企业风险管理(app)
  13839. /Ermcp/QueryExposureHedgePosition:
  13840. get:
  13841. parameters:
  13842. - description: 所属机构ID
  13843. in: query
  13844. name: areaUserId
  13845. required: true
  13846. type: integer
  13847. produces:
  13848. - application/json
  13849. responses:
  13850. "200":
  13851. description: OK
  13852. schema:
  13853. items:
  13854. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  13855. type: array
  13856. "500":
  13857. description: Internal Server Error
  13858. schema:
  13859. $ref: '#/definitions/app.Response'
  13860. security:
  13861. - ApiKeyAuth: []
  13862. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  13863. tags:
  13864. - 企业风险管理(app)
  13865. /Ermcp/QueryExposureHedgePositionDetail:
  13866. get:
  13867. parameters:
  13868. - description: 所属机构ID
  13869. in: query
  13870. name: areaUserId
  13871. required: true
  13872. type: integer
  13873. - description: 商品id
  13874. in: query
  13875. name: goodsId
  13876. required: true
  13877. type: integer
  13878. produces:
  13879. - application/json
  13880. responses:
  13881. "200":
  13882. description: OK
  13883. schema:
  13884. items:
  13885. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  13886. type: array
  13887. "500":
  13888. description: Internal Server Error
  13889. schema:
  13890. $ref: '#/definitions/app.Response'
  13891. security:
  13892. - ApiKeyAuth: []
  13893. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  13894. tags:
  13895. - 企业风险管理(app)
  13896. /Ermcp/QueryExposureSpot:
  13897. get:
  13898. parameters:
  13899. - description: 所属机构ID
  13900. in: query
  13901. name: areaUserId
  13902. required: true
  13903. type: integer
  13904. produces:
  13905. - application/json
  13906. responses:
  13907. "200":
  13908. description: OK
  13909. schema:
  13910. items:
  13911. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  13912. type: array
  13913. "500":
  13914. description: Internal Server Error
  13915. schema:
  13916. $ref: '#/definitions/app.Response'
  13917. security:
  13918. - ApiKeyAuth: []
  13919. summary: 查询敞口现货头寸(敞口/现货头寸)
  13920. tags:
  13921. - 企业风险管理(app)
  13922. /Ermcp/QueryExposureSpotDetail:
  13923. get:
  13924. parameters:
  13925. - description: 所属机构ID
  13926. in: query
  13927. name: areaUserId
  13928. required: true
  13929. type: integer
  13930. - description: 现货品种ID
  13931. in: query
  13932. name: wrstandardId
  13933. required: true
  13934. type: integer
  13935. produces:
  13936. - application/json
  13937. responses:
  13938. "200":
  13939. description: OK
  13940. schema:
  13941. items:
  13942. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  13943. type: array
  13944. "500":
  13945. description: Internal Server Error
  13946. schema:
  13947. $ref: '#/definitions/app.Response'
  13948. security:
  13949. - ApiKeyAuth: []
  13950. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  13951. tags:
  13952. - 企业风险管理(app)
  13953. /Ermcp/QueryFuturesCompany:
  13954. get:
  13955. produces:
  13956. - application/json
  13957. responses:
  13958. "200":
  13959. description: OK
  13960. schema:
  13961. items:
  13962. $ref: '#/definitions/models.ErmcpFuturesCompany'
  13963. type: array
  13964. "500":
  13965. description: Internal Server Error
  13966. schema:
  13967. $ref: '#/definitions/app.Response'
  13968. security:
  13969. - ApiKeyAuth: []
  13970. summary: 查询期货公司
  13971. tags:
  13972. - 企业风险管理(app)
  13973. /Ermcp/QueryGGConvertConfig:
  13974. get:
  13975. parameters:
  13976. - description: 品种id(不填则查所有)
  13977. in: query
  13978. name: goodsgroupid
  13979. type: integer
  13980. produces:
  13981. - application/json
  13982. responses:
  13983. "200":
  13984. description: OK
  13985. schema:
  13986. items:
  13987. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  13988. type: array
  13989. "500":
  13990. description: Internal Server Error
  13991. schema:
  13992. $ref: '#/definitions/app.Response'
  13993. security:
  13994. - ApiKeyAuth: []
  13995. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  13996. tags:
  13997. - 企业风险管理(app)
  13998. /Ermcp/QueryGoodsBrand:
  13999. get:
  14000. parameters:
  14001. - description: 用户ID
  14002. in: query
  14003. name: userid
  14004. required: true
  14005. type: integer
  14006. - description: 现货商品ID
  14007. in: query
  14008. name: wrstandardid
  14009. type: integer
  14010. produces:
  14011. - application/json
  14012. responses:
  14013. "200":
  14014. description: OK
  14015. schema:
  14016. items:
  14017. $ref: '#/definitions/models.ErmcpGoodsBrand'
  14018. type: array
  14019. "500":
  14020. description: Internal Server Error
  14021. schema:
  14022. $ref: '#/definitions/app.Response'
  14023. security:
  14024. - ApiKeyAuth: []
  14025. summary: 查询商品品牌
  14026. tags:
  14027. - 企业风险管理(app)
  14028. /Ermcp/QueryGoodsModel:
  14029. get:
  14030. parameters:
  14031. - description: 用户ID
  14032. in: query
  14033. name: userid
  14034. required: true
  14035. type: integer
  14036. produces:
  14037. - application/json
  14038. responses:
  14039. "200":
  14040. description: OK
  14041. schema:
  14042. items:
  14043. $ref: '#/definitions/models.ErmcpGoodsModel'
  14044. type: array
  14045. "500":
  14046. description: Internal Server Error
  14047. schema:
  14048. $ref: '#/definitions/app.Response'
  14049. security:
  14050. - ApiKeyAuth: []
  14051. summary: 查询商品型号
  14052. tags:
  14053. - 企业风险管理(app)
  14054. /Ermcp/QueryHedgePlan:
  14055. get:
  14056. parameters:
  14057. - description: 用户ID
  14058. in: query
  14059. name: userId
  14060. required: true
  14061. type: integer
  14062. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  14063. in: query
  14064. name: HedgePlanStatus
  14065. required: true
  14066. type: string
  14067. produces:
  14068. - application/json
  14069. responses:
  14070. "200":
  14071. description: OK
  14072. schema:
  14073. items:
  14074. $ref: '#/definitions/ermcp.QryHedgePlanRsp'
  14075. type: array
  14076. "500":
  14077. description: Internal Server Error
  14078. schema:
  14079. $ref: '#/definitions/app.Response'
  14080. security:
  14081. - ApiKeyAuth: []
  14082. summary: 查询套保计划
  14083. tags:
  14084. - 企业风险管理(app)
  14085. /Ermcp/QueryHisExposure:
  14086. get:
  14087. parameters:
  14088. - description: 所属机构ID
  14089. in: query
  14090. name: areaUserId
  14091. required: true
  14092. type: integer
  14093. - description: 每个品种记录数
  14094. in: query
  14095. name: lastNum
  14096. required: true
  14097. type: integer
  14098. produces:
  14099. - application/json
  14100. responses:
  14101. "200":
  14102. description: OK
  14103. schema:
  14104. items:
  14105. $ref: '#/definitions/ermcp.HisExposureRsp'
  14106. type: array
  14107. "500":
  14108. description: Internal Server Error
  14109. schema:
  14110. $ref: '#/definitions/app.Response'
  14111. security:
  14112. - ApiKeyAuth: []
  14113. summary: 查询历史敞口(菜单:敞口/历史敞口)
  14114. tags:
  14115. - 企业风险管理(app)
  14116. /Ermcp/QueryMiddleGoods:
  14117. get:
  14118. parameters:
  14119. - description: 所属机构ID
  14120. in: query
  14121. name: userid
  14122. required: true
  14123. type: integer
  14124. - description: 状态 0-停用 1-正常
  14125. in: query
  14126. name: status
  14127. required: true
  14128. type: integer
  14129. produces:
  14130. - application/json
  14131. responses:
  14132. "200":
  14133. description: OK
  14134. schema:
  14135. items:
  14136. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  14137. type: array
  14138. "500":
  14139. description: Internal Server Error
  14140. schema:
  14141. $ref: '#/definitions/app.Response'
  14142. security:
  14143. - ApiKeyAuth: []
  14144. summary: 查询套保品种(菜单:套保品种)
  14145. tags:
  14146. - 企业风险管理(app)
  14147. /Ermcp/QueryMiddleGoodsChangeLog:
  14148. get:
  14149. parameters:
  14150. - description: 所属机构ID
  14151. in: query
  14152. name: userid
  14153. required: true
  14154. type: integer
  14155. - description: 套保品种id
  14156. in: query
  14157. name: middlegoodsid
  14158. required: true
  14159. type: integer
  14160. produces:
  14161. - application/json
  14162. responses:
  14163. "200":
  14164. description: OK
  14165. schema:
  14166. items:
  14167. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  14168. type: array
  14169. "500":
  14170. description: Internal Server Error
  14171. schema:
  14172. $ref: '#/definitions/app.Response'
  14173. security:
  14174. - ApiKeyAuth: []
  14175. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  14176. tags:
  14177. - 企业风险管理(app)
  14178. /Ermcp/QueryMiddleGoodsDetail:
  14179. get:
  14180. parameters:
  14181. - description: 所属机构ID
  14182. in: query
  14183. name: userid
  14184. required: true
  14185. type: integer
  14186. - description: 套保品种id
  14187. in: query
  14188. name: middlegoodsid
  14189. type: integer
  14190. produces:
  14191. - application/json
  14192. responses:
  14193. "200":
  14194. description: OK
  14195. schema:
  14196. items:
  14197. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  14198. type: array
  14199. "500":
  14200. description: Internal Server Error
  14201. schema:
  14202. $ref: '#/definitions/app.Response'
  14203. security:
  14204. - ApiKeyAuth: []
  14205. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  14206. tags:
  14207. - 企业风险管理(app)
  14208. /Ermcp/QueryPendingAuditInfo:
  14209. get:
  14210. parameters:
  14211. - description: 用户ID
  14212. in: query
  14213. name: UserId
  14214. required: true
  14215. type: integer
  14216. produces:
  14217. - application/json
  14218. responses:
  14219. "200":
  14220. description: OK
  14221. schema:
  14222. items:
  14223. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  14224. type: array
  14225. "500":
  14226. description: Internal Server Error
  14227. schema:
  14228. $ref: '#/definitions/app.Response'
  14229. security:
  14230. - ApiKeyAuth: []
  14231. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  14232. tags:
  14233. - 企业风险管理(app)
  14234. /Ermcp/QueryRealtimeExposure:
  14235. get:
  14236. parameters:
  14237. - description: 所属机构ID
  14238. in: query
  14239. name: AreaUserID
  14240. required: true
  14241. type: integer
  14242. produces:
  14243. - application/json
  14244. responses:
  14245. "200":
  14246. description: OK
  14247. schema:
  14248. items:
  14249. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  14250. type: array
  14251. "500":
  14252. description: Internal Server Error
  14253. schema:
  14254. $ref: '#/definitions/app.Response'
  14255. security:
  14256. - ApiKeyAuth: []
  14257. summary: 查询实时敞口
  14258. tags:
  14259. - 企业风险管理(app)
  14260. /Ermcp/QueryRealtimeExposurePosition:
  14261. get:
  14262. parameters:
  14263. - description: 所属机构ID
  14264. in: query
  14265. name: areaUserId
  14266. required: true
  14267. type: integer
  14268. - description: 套保商品ID
  14269. in: query
  14270. name: middleGoodsId
  14271. required: true
  14272. type: integer
  14273. produces:
  14274. - application/json
  14275. responses:
  14276. "200":
  14277. description: OK
  14278. schema:
  14279. items:
  14280. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  14281. type: array
  14282. "500":
  14283. description: Internal Server Error
  14284. schema:
  14285. $ref: '#/definitions/app.Response'
  14286. security:
  14287. - ApiKeyAuth: []
  14288. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  14289. tags:
  14290. - 企业风险管理(app)
  14291. /Ermcp/QuerySpotContract:
  14292. get:
  14293. parameters:
  14294. - description: 用户ID
  14295. in: query
  14296. name: userId
  14297. required: true
  14298. type: integer
  14299. - description: 查询类型 1-未提交 2-待审核 3-履约中 4-已完成
  14300. in: query
  14301. name: QueryType
  14302. required: true
  14303. type: integer
  14304. produces:
  14305. - application/json
  14306. responses:
  14307. "200":
  14308. description: OK
  14309. schema:
  14310. items:
  14311. $ref: '#/definitions/ermcp.QrySpotContractRsp'
  14312. type: array
  14313. "500":
  14314. description: Internal Server Error
  14315. schema:
  14316. $ref: '#/definitions/app.Response'
  14317. security:
  14318. - ApiKeyAuth: []
  14319. summary: 查询现货合同(对应现货合同菜单)
  14320. tags:
  14321. - 企业风险管理(app)
  14322. /Ermcp/QuerySpotGoodsPrice:
  14323. get:
  14324. parameters:
  14325. - description: 用户ID
  14326. in: query
  14327. name: userid
  14328. required: true
  14329. type: integer
  14330. produces:
  14331. - application/json
  14332. responses:
  14333. "200":
  14334. description: OK
  14335. schema:
  14336. items:
  14337. $ref: '#/definitions/models.ErmcpSpotGoodsPrice'
  14338. type: array
  14339. "500":
  14340. description: Internal Server Error
  14341. schema:
  14342. $ref: '#/definitions/app.Response'
  14343. security:
  14344. - ApiKeyAuth: []
  14345. summary: 查询现货市价(现货市价)
  14346. tags:
  14347. - 企业风险管理(app)
  14348. /Ermcp/QuerySpotGoodsPriceLog:
  14349. get:
  14350. parameters:
  14351. - description: 用户ID
  14352. in: query
  14353. name: userid
  14354. required: true
  14355. type: integer
  14356. - description: 现货商品ID
  14357. in: query
  14358. name: wrstandardid
  14359. required: true
  14360. type: integer
  14361. produces:
  14362. - application/json
  14363. responses:
  14364. "200":
  14365. description: OK
  14366. schema:
  14367. items:
  14368. $ref: '#/definitions/models.ErmcpSpotGoodsPriceLog'
  14369. type: array
  14370. "500":
  14371. description: Internal Server Error
  14372. schema:
  14373. $ref: '#/definitions/app.Response'
  14374. security:
  14375. - ApiKeyAuth: []
  14376. summary: 查询现货市价详情(现货市价/详情)
  14377. tags:
  14378. - 企业风险管理(app)
  14379. /Ermcp/QueryTradeConfigTMP:
  14380. get:
  14381. parameters:
  14382. - description: 所属机构id
  14383. in: query
  14384. name: areauserid
  14385. required: true
  14386. type: integer
  14387. produces:
  14388. - application/json
  14389. responses:
  14390. "200":
  14391. description: OK
  14392. schema:
  14393. items:
  14394. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  14395. type: array
  14396. "500":
  14397. description: Internal Server Error
  14398. schema:
  14399. $ref: '#/definitions/app.Response'
  14400. security:
  14401. - ApiKeyAuth: []
  14402. summary: 查询交易模板配置
  14403. tags:
  14404. - 企业风险管理(app)
  14405. /Ermcp/QueryUserInfo:
  14406. get:
  14407. parameters:
  14408. - description: 所属机构用户ID
  14409. in: query
  14410. name: MemberUserID
  14411. required: true
  14412. type: integer
  14413. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  14414. in: query
  14415. name: queryType
  14416. required: true
  14417. type: integer
  14418. produces:
  14419. - application/json
  14420. responses:
  14421. "200":
  14422. description: OK
  14423. schema:
  14424. items:
  14425. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  14426. type: array
  14427. "500":
  14428. description: Internal Server Error
  14429. schema:
  14430. $ref: '#/definitions/app.Response'
  14431. security:
  14432. - ApiKeyAuth: []
  14433. summary: 查询客户资料
  14434. tags:
  14435. - 企业风险管理(app)
  14436. /Ermcp/QueryWarehouseInfo:
  14437. get:
  14438. parameters:
  14439. - description: 用户ID
  14440. in: query
  14441. name: userid
  14442. required: true
  14443. type: integer
  14444. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  14445. in: query
  14446. name: status
  14447. type: string
  14448. produces:
  14449. - application/json
  14450. responses:
  14451. "200":
  14452. description: OK
  14453. schema:
  14454. items:
  14455. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  14456. type: array
  14457. "500":
  14458. description: Internal Server Error
  14459. schema:
  14460. $ref: '#/definitions/app.Response'
  14461. security:
  14462. - ApiKeyAuth: []
  14463. summary: 查询仓库信息
  14464. tags:
  14465. - 企业风险管理(app)
  14466. /Ermcp/QueryWrStandard:
  14467. get:
  14468. parameters:
  14469. - description: 所属机构ID
  14470. in: query
  14471. name: userid
  14472. required: true
  14473. type: integer
  14474. - description: 状态 0-停用 1-正常
  14475. in: query
  14476. name: status
  14477. required: true
  14478. type: integer
  14479. produces:
  14480. - application/json
  14481. responses:
  14482. "200":
  14483. description: OK
  14484. schema:
  14485. items:
  14486. $ref: '#/definitions/ermcp.QryWrStandardRsp'
  14487. type: array
  14488. "500":
  14489. description: Internal Server Error
  14490. schema:
  14491. $ref: '#/definitions/app.Response'
  14492. security:
  14493. - ApiKeyAuth: []
  14494. summary: 查询现货商品
  14495. tags:
  14496. - 企业风险管理(app)
  14497. /Ermcp/QueryWrStandardDetail:
  14498. get:
  14499. parameters:
  14500. - description: 所属机构ID
  14501. in: query
  14502. name: userid
  14503. required: true
  14504. type: integer
  14505. - description: 现货商品ID
  14506. in: query
  14507. name: wrstandardid
  14508. type: integer
  14509. - description: 可不填, 1-查询关联交易商品
  14510. in: query
  14511. name: goods
  14512. type: integer
  14513. produces:
  14514. - application/json
  14515. responses:
  14516. "200":
  14517. description: OK
  14518. schema:
  14519. items:
  14520. $ref: '#/definitions/ermcp.QryWrStandardDetailRsp'
  14521. type: array
  14522. "500":
  14523. description: Internal Server Error
  14524. schema:
  14525. $ref: '#/definitions/app.Response'
  14526. security:
  14527. - ApiKeyAuth: []
  14528. summary: 查询现货商品详情(菜单:现货品种/现货品种详情)
  14529. tags:
  14530. - 企业风险管理(app)
  14531. /Ermcp3/QryReportAreaSpotPL:
  14532. get:
  14533. parameters:
  14534. - description: 用户ID
  14535. in: query
  14536. name: userid
  14537. required: true
  14538. type: integer
  14539. - description: 查询类型 1-日报表 2-月报表
  14540. in: query
  14541. name: querytype
  14542. required: true
  14543. type: integer
  14544. - description: 查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)
  14545. in: query
  14546. name: querydate
  14547. required: true
  14548. type: string
  14549. - description: 现货商品ID
  14550. in: query
  14551. name: deliverygoodsid
  14552. type: integer
  14553. - description: 品牌ID
  14554. in: query
  14555. name: spotgoodsbrandid
  14556. type: integer
  14557. - description: 品类ID
  14558. in: query
  14559. name: wrstandardid
  14560. type: integer
  14561. produces:
  14562. - application/json
  14563. responses:
  14564. "200":
  14565. description: OK
  14566. schema:
  14567. items:
  14568. $ref: '#/definitions/models.Ermcp3ReportAreaSpotPL'
  14569. type: array
  14570. "500":
  14571. description: Internal Server Error
  14572. schema:
  14573. $ref: '#/definitions/app.Response'
  14574. security:
  14575. - ApiKeyAuth: []
  14576. summary: 查询现货损益报表(现货损益报表)
  14577. tags:
  14578. - 企业风险管理v3(app)
  14579. /Ermcp3/QryReportDayFinanceFp:
  14580. get:
  14581. parameters:
  14582. - description: 用户ID
  14583. in: query
  14584. name: userid
  14585. required: true
  14586. type: integer
  14587. - description: 交易日(格式:yyyyMMdd)
  14588. in: query
  14589. name: tradedate
  14590. required: true
  14591. type: string
  14592. produces:
  14593. - application/json
  14594. responses:
  14595. "200":
  14596. description: OK
  14597. schema:
  14598. items:
  14599. $ref: '#/definitions/models.Ermcp3ReportOPLog'
  14600. type: array
  14601. "500":
  14602. description: Internal Server Error
  14603. schema:
  14604. $ref: '#/definitions/app.Response'
  14605. security:
  14606. - ApiKeyAuth: []
  14607. summary: 查询财务日报表发票(菜单:报表查询/财务报表/日报表/发票)
  14608. tags:
  14609. - 企业风险管理v3(app)
  14610. /Ermcp3/QryReportDayFinanceKx:
  14611. get:
  14612. parameters:
  14613. - description: 用户ID
  14614. in: query
  14615. name: userid
  14616. required: true
  14617. type: integer
  14618. - description: 交易日(格式:yyyyMMdd)
  14619. in: query
  14620. name: tradedate
  14621. required: true
  14622. type: string
  14623. produces:
  14624. - application/json
  14625. responses:
  14626. "200":
  14627. description: OK
  14628. schema:
  14629. items:
  14630. $ref: '#/definitions/models.Ermcp3ReportOPLog'
  14631. type: array
  14632. "500":
  14633. description: Internal Server Error
  14634. schema:
  14635. $ref: '#/definitions/app.Response'
  14636. security:
  14637. - ApiKeyAuth: []
  14638. summary: 查询财务日报表款项(菜单:报表查询/财务报表/日报表/款项)
  14639. tags:
  14640. - 企业风险管理v3(app)
  14641. /Ermcp3/QryReportDaySpot:
  14642. get:
  14643. parameters:
  14644. - description: 用户ID
  14645. in: query
  14646. name: userid
  14647. required: true
  14648. type: integer
  14649. - description: 交易日(格式:yyyyMMdd)
  14650. in: query
  14651. name: tradedate
  14652. required: true
  14653. type: string
  14654. produces:
  14655. - application/json
  14656. responses:
  14657. "200":
  14658. description: OK
  14659. schema:
  14660. items:
  14661. $ref: '#/definitions/models.Ermcp3ReportDaySpot'
  14662. type: array
  14663. "500":
  14664. description: Internal Server Error
  14665. schema:
  14666. $ref: '#/definitions/app.Response'
  14667. security:
  14668. - ApiKeyAuth: []
  14669. summary: 查询现货日报表(菜单:报表查询/现货报表/现货日报表)
  14670. tags:
  14671. - 企业风险管理v3(app)
  14672. /Ermcp3/QryReportDaySpotDetail:
  14673. get:
  14674. parameters:
  14675. - description: 用户ID
  14676. in: query
  14677. name: userid
  14678. required: true
  14679. type: integer
  14680. - description: 现货商品id
  14681. in: query
  14682. name: deliverygoodsid
  14683. required: true
  14684. type: integer
  14685. - description: 交易日(格式:yyyyMMdd)
  14686. in: query
  14687. name: tradedate
  14688. required: true
  14689. type: string
  14690. produces:
  14691. - application/json
  14692. responses:
  14693. "200":
  14694. description: OK
  14695. schema:
  14696. items:
  14697. $ref: '#/definitions/models.Ermcp3ReportOPLog'
  14698. type: array
  14699. "500":
  14700. description: Internal Server Error
  14701. schema:
  14702. $ref: '#/definitions/app.Response'
  14703. security:
  14704. - ApiKeyAuth: []
  14705. summary: 查询现货日报表详情(菜单:报表查询/现货报表/现货日报表详情)
  14706. tags:
  14707. - 企业风险管理v3(app)
  14708. /Ermcp3/QryReportMonthSpot:
  14709. get:
  14710. parameters:
  14711. - description: 用户ID
  14712. in: query
  14713. name: userid
  14714. required: true
  14715. type: integer
  14716. - description: 周期时间:月(格式:yyyyMM)
  14717. in: query
  14718. name: cycletime
  14719. required: true
  14720. type: string
  14721. produces:
  14722. - application/json
  14723. responses:
  14724. "200":
  14725. description: OK
  14726. schema:
  14727. items:
  14728. $ref: '#/definitions/models.Ermcp3ReportMonSpot'
  14729. type: array
  14730. "500":
  14731. description: Internal Server Error
  14732. schema:
  14733. $ref: '#/definitions/app.Response'
  14734. security:
  14735. - ApiKeyAuth: []
  14736. summary: 查询现货月报表(菜单:报表查询/现货报表/现货月报表)
  14737. tags:
  14738. - 企业风险管理v3(app)
  14739. /Ermcp3/QryReportMonthSpotDetail:
  14740. get:
  14741. parameters:
  14742. - description: 用户ID
  14743. in: query
  14744. name: userid
  14745. required: true
  14746. type: integer
  14747. - description: 现货商品id
  14748. in: query
  14749. name: deliverygoodsid
  14750. required: true
  14751. type: integer
  14752. - description: 周期时间:月(格式:yyyyMM)
  14753. in: query
  14754. name: cycletime
  14755. required: true
  14756. type: string
  14757. produces:
  14758. - application/json
  14759. responses:
  14760. "200":
  14761. description: OK
  14762. schema:
  14763. items:
  14764. $ref: '#/definitions/models.Ermcp3ReportDaySpot'
  14765. type: array
  14766. "500":
  14767. description: Internal Server Error
  14768. schema:
  14769. $ref: '#/definitions/app.Response'
  14770. security:
  14771. - ApiKeyAuth: []
  14772. summary: 查询现货月报表详情(菜单:报表查询/现货月报表/现货月报表详情)
  14773. tags:
  14774. - 企业风险管理v3(app)
  14775. /Ermcp3/QueryAreaStockApply:
  14776. get:
  14777. parameters:
  14778. - description: 用户ID
  14779. in: query
  14780. name: userid
  14781. required: true
  14782. type: integer
  14783. - description: 现货商品ID
  14784. in: query
  14785. name: deliverygoodsid
  14786. type: integer
  14787. - description: 出入库类型(可多项,逗号隔开) 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  14788. in: query
  14789. name: inouttype
  14790. type: string
  14791. - description: 合同ID
  14792. in: query
  14793. name: spotcontractid
  14794. type: integer
  14795. - description: 品类ID
  14796. in: query
  14797. name: wrstandardid
  14798. type: integer
  14799. - description: 品牌ID
  14800. in: query
  14801. name: spotgoodsbrandid
  14802. type: integer
  14803. - description: 仓库ID
  14804. in: query
  14805. name: warehouseinfoid
  14806. type: integer
  14807. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  14808. in: query
  14809. name: applystatus
  14810. type: string
  14811. produces:
  14812. - application/json
  14813. responses:
  14814. "200":
  14815. description: OK
  14816. schema:
  14817. items:
  14818. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  14819. type: array
  14820. "500":
  14821. description: Internal Server Error
  14822. schema:
  14823. $ref: '#/definitions/app.Response'
  14824. security:
  14825. - ApiKeyAuth: []
  14826. summary: 查询库存申请(出入库记录|库存审核)
  14827. tags:
  14828. - 企业风险管理v3(app)
  14829. /Ermcp3/QueryAreaStockApplySum:
  14830. get:
  14831. parameters:
  14832. - description: 合同ID
  14833. in: query
  14834. name: spotcontractid
  14835. type: integer
  14836. produces:
  14837. - application/json
  14838. responses:
  14839. "200":
  14840. description: OK
  14841. schema:
  14842. items:
  14843. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  14844. type: array
  14845. "500":
  14846. description: Internal Server Error
  14847. schema:
  14848. $ref: '#/definitions/app.Response'
  14849. security:
  14850. - ApiKeyAuth: []
  14851. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  14852. tags:
  14853. - 企业风险管理v3(app)
  14854. /Ermcp3/QueryAreaStockReport:
  14855. get:
  14856. parameters:
  14857. - description: 用户ID
  14858. in: query
  14859. name: userid
  14860. required: true
  14861. type: integer
  14862. - description: 查询类型 1-日报表 2-月报表
  14863. in: query
  14864. name: querytype
  14865. required: true
  14866. type: integer
  14867. - description: 查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)
  14868. in: query
  14869. name: querydate
  14870. required: true
  14871. type: string
  14872. - description: 现货商品ID
  14873. in: query
  14874. name: deliverygoodsid
  14875. type: integer
  14876. - description: 品类ID
  14877. in: query
  14878. name: wrstandardid
  14879. type: integer
  14880. - description: 品牌ID
  14881. in: query
  14882. name: spotgoodsbrandid
  14883. type: integer
  14884. - description: 仓库ID
  14885. in: query
  14886. name: warehouseinfoid
  14887. type: integer
  14888. produces:
  14889. - application/json
  14890. responses:
  14891. "200":
  14892. description: OK
  14893. schema:
  14894. items:
  14895. $ref: '#/definitions/models.Ermcp3AreaStockReport'
  14896. type: array
  14897. "500":
  14898. description: Internal Server Error
  14899. schema:
  14900. $ref: '#/definitions/app.Response'
  14901. security:
  14902. - ApiKeyAuth: []
  14903. summary: 查询库存报表
  14904. tags:
  14905. - 企业风险管理v3(app)
  14906. /Ermcp3/QueryAreaStockReportDetail:
  14907. get:
  14908. parameters:
  14909. - description: 用户ID
  14910. in: query
  14911. name: userid
  14912. required: true
  14913. type: integer
  14914. - description: 查询类型 1-日报表明细 2-月报表明细
  14915. in: query
  14916. name: querytype
  14917. required: true
  14918. type: integer
  14919. - description: 明细类型 1:入库明细(采购入库+生产入库) 2:出库明细(销售出库+生产出库)
  14920. in: query
  14921. name: detailtype
  14922. required: true
  14923. type: integer
  14924. - description: 查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)
  14925. in: query
  14926. name: querydate
  14927. required: true
  14928. type: string
  14929. - description: 现货商品ID
  14930. in: query
  14931. name: deliverygoodsid
  14932. type: integer
  14933. - description: 品类ID
  14934. in: query
  14935. name: wrstandardid
  14936. type: integer
  14937. - description: 品牌ID
  14938. in: query
  14939. name: spotgoodsbrandid
  14940. type: integer
  14941. - description: 仓库ID
  14942. in: query
  14943. name: warehouseinfoid
  14944. type: integer
  14945. produces:
  14946. - application/json
  14947. responses:
  14948. "200":
  14949. description: OK
  14950. schema:
  14951. items:
  14952. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  14953. type: array
  14954. "500":
  14955. description: Internal Server Error
  14956. schema:
  14957. $ref: '#/definitions/app.Response'
  14958. security:
  14959. - ApiKeyAuth: []
  14960. summary: 查询库存报表明细
  14961. tags:
  14962. - 企业风险管理v3(app)
  14963. /Ermcp3/QueryDGFactoryItem:
  14964. get:
  14965. parameters:
  14966. - description: 所属机构ID
  14967. in: query
  14968. name: areauserid
  14969. type: integer
  14970. - description: 选择项ID(SEQ_DGFACTORYITEM)
  14971. in: query
  14972. name: dgfactoryitemid
  14973. type: integer
  14974. - description: 现货品种ID
  14975. in: query
  14976. name: deliverygoodsid
  14977. type: integer
  14978. - description: 要素项类型
  14979. in: query
  14980. name: dgfactoryitemtypeid
  14981. type: integer
  14982. - description: 顺序
  14983. in: query
  14984. name: orderindex
  14985. type: integer
  14986. produces:
  14987. - application/json
  14988. responses:
  14989. "200":
  14990. description: OK
  14991. schema:
  14992. items:
  14993. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  14994. type: array
  14995. "500":
  14996. description: Internal Server Error
  14997. schema:
  14998. $ref: '#/definitions/app.Response'
  14999. security:
  15000. - ApiKeyAuth: []
  15001. summary: 查询品种要素定义项
  15002. tags:
  15003. - 企业风险管理v3(app)
  15004. /Ermcp3/QueryDeliveryGoods:
  15005. get:
  15006. parameters:
  15007. - description: 所属机构id
  15008. in: query
  15009. name: areauserid
  15010. required: true
  15011. type: integer
  15012. - description: 排除已配置的现货商品 1-排除
  15013. in: query
  15014. name: excludecfg
  15015. type: integer
  15016. produces:
  15017. - application/json
  15018. responses:
  15019. "200":
  15020. description: OK
  15021. schema:
  15022. items:
  15023. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  15024. type: array
  15025. "500":
  15026. description: Internal Server Error
  15027. schema:
  15028. $ref: '#/definitions/app.Response'
  15029. security:
  15030. - ApiKeyAuth: []
  15031. summary: 查询现货商品
  15032. tags:
  15033. - 企业风险管理v3(app)
  15034. /Ermcp3/QueryDeliveryGoodsDetail:
  15035. get:
  15036. parameters:
  15037. - description: 所属机构id
  15038. in: query
  15039. name: areauserid
  15040. required: true
  15041. type: integer
  15042. - description: 现货商品id
  15043. in: query
  15044. name: deliverygoodsid
  15045. type: integer
  15046. - description: 是否查询关联交易商品 1-查询
  15047. in: query
  15048. name: qrytradegoods
  15049. type: integer
  15050. produces:
  15051. - application/json
  15052. responses:
  15053. "200":
  15054. description: OK
  15055. schema:
  15056. items:
  15057. $ref: '#/definitions/models.ErmcpDeliveryGoodsDetail'
  15058. type: array
  15059. "500":
  15060. description: Internal Server Error
  15061. schema:
  15062. $ref: '#/definitions/app.Response'
  15063. security:
  15064. - ApiKeyAuth: []
  15065. summary: 查询现货商品详情
  15066. tags:
  15067. - 企业风险管理v3(app)
  15068. /Ermcp3/QueryExposureDetail:
  15069. get:
  15070. parameters:
  15071. - description: 所属机构ID
  15072. in: query
  15073. name: areaUserId
  15074. required: true
  15075. type: integer
  15076. - description: 套保商品
  15077. in: query
  15078. name: middleGoodsId
  15079. required: true
  15080. type: integer
  15081. produces:
  15082. - application/json
  15083. responses:
  15084. "200":
  15085. description: OK
  15086. schema:
  15087. items:
  15088. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  15089. type: array
  15090. "500":
  15091. description: Internal Server Error
  15092. schema:
  15093. $ref: '#/definitions/app.Response'
  15094. security:
  15095. - ApiKeyAuth: []
  15096. summary: 查询敞口现货明细
  15097. tags:
  15098. - 企业风险管理v3(app)
  15099. /Ermcp3/QueryExposureSpot:
  15100. get:
  15101. parameters:
  15102. - description: 所属机构ID
  15103. in: query
  15104. name: areaUserId
  15105. required: true
  15106. type: integer
  15107. produces:
  15108. - application/json
  15109. responses:
  15110. "200":
  15111. description: OK
  15112. schema:
  15113. items:
  15114. $ref: '#/definitions/models.Ermcp3AreaSpot'
  15115. type: array
  15116. "500":
  15117. description: Internal Server Error
  15118. schema:
  15119. $ref: '#/definitions/app.Response'
  15120. security:
  15121. - ApiKeyAuth: []
  15122. summary: 查询敞口现货头寸(敞口/现货头寸)
  15123. tags:
  15124. - 企业风险管理v3(app)
  15125. /Ermcp3/QueryExposureSpotDetail:
  15126. get:
  15127. parameters:
  15128. - description: 所属机构ID
  15129. in: query
  15130. name: areauserid
  15131. required: true
  15132. type: integer
  15133. - description: 现货品种ID
  15134. in: query
  15135. name: deliverygoodsid
  15136. required: true
  15137. type: integer
  15138. produces:
  15139. - application/json
  15140. responses:
  15141. "200":
  15142. description: OK
  15143. schema:
  15144. items:
  15145. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  15146. type: array
  15147. "500":
  15148. description: Internal Server Error
  15149. schema:
  15150. $ref: '#/definitions/app.Response'
  15151. security:
  15152. - ApiKeyAuth: []
  15153. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  15154. tags:
  15155. - 企业风险管理v3(app)
  15156. /Ermcp3/QueryGoodsWrstandard:
  15157. get:
  15158. parameters:
  15159. - description: 所属机构ID
  15160. in: query
  15161. name: areauserid
  15162. required: true
  15163. type: integer
  15164. - description: 现货商品id
  15165. in: query
  15166. name: deliverygoodsid
  15167. type: integer
  15168. produces:
  15169. - application/json
  15170. responses:
  15171. "200":
  15172. description: OK
  15173. schema:
  15174. items:
  15175. $ref: '#/definitions/models.Ermcp3Wrstandard'
  15176. type: array
  15177. "500":
  15178. description: Internal Server Error
  15179. schema:
  15180. $ref: '#/definitions/app.Response'
  15181. security:
  15182. - ApiKeyAuth: []
  15183. summary: 查询商品品类
  15184. tags:
  15185. - 企业风险管理v3(app)
  15186. /Ermcp3/QueryGoodsbrand:
  15187. get:
  15188. parameters:
  15189. - description: 所属机构ID
  15190. in: query
  15191. name: areauserid
  15192. required: true
  15193. type: integer
  15194. produces:
  15195. - application/json
  15196. responses:
  15197. "200":
  15198. description: OK
  15199. schema:
  15200. items:
  15201. $ref: '#/definitions/models.Ermcp3Brand'
  15202. type: array
  15203. "500":
  15204. description: Internal Server Error
  15205. schema:
  15206. $ref: '#/definitions/app.Response'
  15207. security:
  15208. - ApiKeyAuth: []
  15209. summary: 查询商品品牌
  15210. tags:
  15211. - 企业风险管理v3(app)
  15212. /Ermcp3/QueryHedgePlan:
  15213. get:
  15214. parameters:
  15215. - description: 用户ID
  15216. in: query
  15217. name: userid
  15218. required: true
  15219. type: integer
  15220. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  15221. in: query
  15222. name: hedgeplanstatus
  15223. required: true
  15224. type: string
  15225. produces:
  15226. - application/json
  15227. responses:
  15228. "200":
  15229. description: OK
  15230. schema:
  15231. items:
  15232. $ref: '#/definitions/models.Ermcp3HedgePlan'
  15233. type: array
  15234. "500":
  15235. description: Internal Server Error
  15236. schema:
  15237. $ref: '#/definitions/app.Response'
  15238. security:
  15239. - ApiKeyAuth: []
  15240. summary: 查询套保计划
  15241. tags:
  15242. - 企业风险管理v3(app)
  15243. /Ermcp3/QuerySpotContract:
  15244. get:
  15245. parameters:
  15246. - description: 所属机构ID
  15247. in: query
  15248. name: areauserid
  15249. required: true
  15250. type: integer
  15251. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  15252. in: query
  15253. name: querytype
  15254. required: true
  15255. type: integer
  15256. - description: 用户ID
  15257. in: query
  15258. name: userid
  15259. type: integer
  15260. - description: 用户类型 2-机构 7-企业成员
  15261. in: query
  15262. name: usertype
  15263. type: integer
  15264. - description: 合同ID(SpotContractId)
  15265. in: query
  15266. name: contractid
  15267. type: string
  15268. produces:
  15269. - application/json
  15270. responses:
  15271. "200":
  15272. description: OK
  15273. schema:
  15274. items:
  15275. $ref: '#/definitions/models.Ermcp3Contract'
  15276. type: array
  15277. "500":
  15278. description: Internal Server Error
  15279. schema:
  15280. $ref: '#/definitions/app.Response'
  15281. security:
  15282. - ApiKeyAuth: []
  15283. summary: 查询现货合同
  15284. tags:
  15285. - 企业风险管理v3(app)
  15286. /Ermcp3/QuerySpotContractBS:
  15287. get:
  15288. parameters:
  15289. - description: 所属机构ID
  15290. in: query
  15291. name: areauserid
  15292. required: true
  15293. type: integer
  15294. - description: 合同类型 1-采购, -1-销售
  15295. in: query
  15296. name: contracttype
  15297. required: true
  15298. type: integer
  15299. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  15300. in: query
  15301. name: querytype
  15302. required: true
  15303. type: integer
  15304. - description: 用户ID
  15305. in: query
  15306. name: userid
  15307. type: integer
  15308. - description: 用户类型 2-机构 7-企业成员
  15309. in: query
  15310. name: usertype
  15311. type: integer
  15312. - description: 合同ID(SpotContractId)
  15313. in: query
  15314. name: contractid
  15315. type: string
  15316. produces:
  15317. - application/json
  15318. responses:
  15319. "200":
  15320. description: OK
  15321. schema:
  15322. items:
  15323. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  15324. type: array
  15325. "500":
  15326. description: Internal Server Error
  15327. schema:
  15328. $ref: '#/definitions/app.Response'
  15329. security:
  15330. - ApiKeyAuth: []
  15331. summary: 查询合同(采购/销售)
  15332. tags:
  15333. - 企业风险管理v3(app)
  15334. /Ermcp3/QuerySpotGoodsPrice:
  15335. get:
  15336. parameters:
  15337. - description: 用户ID
  15338. in: query
  15339. name: userid
  15340. required: true
  15341. type: integer
  15342. produces:
  15343. - application/json
  15344. responses:
  15345. "200":
  15346. description: OK
  15347. schema:
  15348. items:
  15349. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  15350. type: array
  15351. "500":
  15352. description: Internal Server Error
  15353. schema:
  15354. $ref: '#/definitions/app.Response'
  15355. security:
  15356. - ApiKeyAuth: []
  15357. summary: 查询现货市价(现货市价)
  15358. tags:
  15359. - 企业风险管理v3(app)
  15360. /Ermcp3/QuerySpotGoodsPriceLog:
  15361. get:
  15362. parameters:
  15363. - description: 用户ID
  15364. in: query
  15365. name: userid
  15366. required: true
  15367. type: integer
  15368. - description: 现货商品ID
  15369. in: query
  15370. name: deliverygoodsid
  15371. required: true
  15372. type: integer
  15373. produces:
  15374. - application/json
  15375. responses:
  15376. "200":
  15377. description: OK
  15378. schema:
  15379. items:
  15380. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  15381. type: array
  15382. "500":
  15383. description: Internal Server Error
  15384. schema:
  15385. $ref: '#/definitions/app.Response'
  15386. security:
  15387. - ApiKeyAuth: []
  15388. summary: 查询现货市价详情(现货市价/详情)
  15389. tags:
  15390. - 企业风险管理v3(app)
  15391. /Erms2/QueryArbitrageStrategy:
  15392. get:
  15393. parameters:
  15394. - description: 账户ID
  15395. in: query
  15396. name: userid
  15397. required: true
  15398. type: integer
  15399. - description: 商品组ID(品种ID)
  15400. in: query
  15401. name: goodsgroupid
  15402. type: string
  15403. produces:
  15404. - application/json
  15405. responses:
  15406. "200":
  15407. description: OK
  15408. schema:
  15409. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  15410. "500":
  15411. description: Internal Server Error
  15412. schema:
  15413. $ref: '#/definitions/app.Response'
  15414. security:
  15415. - ApiKeyAuth: []
  15416. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  15417. tags:
  15418. - 风险管理
  15419. /Erms2/QueryInnerTradeDetail:
  15420. get:
  15421. parameters:
  15422. - description: 资金账户
  15423. in: query
  15424. name: accountid
  15425. required: true
  15426. type: integer
  15427. produces:
  15428. - application/json
  15429. responses:
  15430. "200":
  15431. description: OK
  15432. schema:
  15433. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  15434. "500":
  15435. description: Internal Server Error
  15436. schema:
  15437. $ref: '#/definitions/app.Response'
  15438. security:
  15439. - ApiKeyAuth: []
  15440. summary: 查询内部成交单信息
  15441. tags:
  15442. - 风险管理
  15443. /Erms2/QuerySpotContract:
  15444. get:
  15445. parameters:
  15446. - description: 策略申请ID
  15447. in: query
  15448. name: asapplyid
  15449. required: true
  15450. type: integer
  15451. - description: 现货合同ID
  15452. in: query
  15453. name: spotcontractid
  15454. type: integer
  15455. produces:
  15456. - application/json
  15457. responses:
  15458. "200":
  15459. description: OK
  15460. schema:
  15461. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  15462. "500":
  15463. description: Internal Server Error
  15464. schema:
  15465. $ref: '#/definitions/app.Response'
  15466. security:
  15467. - ApiKeyAuth: []
  15468. summary: 查询现货合同表信息(指定策略ID、未结束的)
  15469. tags:
  15470. - 风险管理
  15471. /Erms3/AddErms2ASApply:
  15472. post:
  15473. parameters:
  15474. - description: 申请参数
  15475. in: body
  15476. name: jsonBody
  15477. required: true
  15478. schema:
  15479. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  15480. produces:
  15481. - application/json
  15482. responses:
  15483. "200":
  15484. description: OK
  15485. schema:
  15486. $ref: '#/definitions/app.Response'
  15487. "500":
  15488. description: Internal Server Error
  15489. schema:
  15490. $ref: '#/definitions/app.Response'
  15491. security:
  15492. - ApiKeyAuth: []
  15493. summary: 新增期现套利业务申请
  15494. tags:
  15495. - 风险管理v3
  15496. /Erms3/AddErms2SpotTradeApply:
  15497. post:
  15498. parameters:
  15499. - description: 申请参数
  15500. in: body
  15501. name: jsonBody
  15502. required: true
  15503. schema:
  15504. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  15505. produces:
  15506. - application/json
  15507. responses:
  15508. "200":
  15509. description: OK
  15510. schema:
  15511. $ref: '#/definitions/app.Response'
  15512. "500":
  15513. description: Internal Server Error
  15514. schema:
  15515. $ref: '#/definitions/app.Response'
  15516. security:
  15517. - ApiKeyAuth: []
  15518. summary: 新增现货贸易业务申请
  15519. tags:
  15520. - 风险管理v3
  15521. /Erms3/AddSpotContractApply:
  15522. post:
  15523. parameters:
  15524. - description: 申请参数
  15525. in: body
  15526. name: jsonBody
  15527. required: true
  15528. schema:
  15529. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  15530. produces:
  15531. - application/json
  15532. responses:
  15533. "200":
  15534. description: OK
  15535. schema:
  15536. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  15537. "500":
  15538. description: Internal Server Error
  15539. schema:
  15540. $ref: '#/definitions/app.Response'
  15541. security:
  15542. - ApiKeyAuth: []
  15543. summary: 新增现货合同申请
  15544. tags:
  15545. - 风险管理v3
  15546. /Erms3/AddUserInfoApply:
  15547. post:
  15548. parameters:
  15549. - description: 用户信息
  15550. in: body
  15551. name: jsonBody
  15552. required: true
  15553. schema:
  15554. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  15555. produces:
  15556. - application/json
  15557. responses:
  15558. "200":
  15559. description: OK
  15560. schema:
  15561. $ref: '#/definitions/app.Response'
  15562. "500":
  15563. description: Internal Server Error
  15564. schema:
  15565. $ref: '#/definitions/app.Response'
  15566. security:
  15567. - ApiKeyAuth: []
  15568. summary: 新增客户申请
  15569. tags:
  15570. - 风险管理v3
  15571. /Erms3/ModifyUserInfoApply:
  15572. post:
  15573. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  15574. int, "userstate": 2 }'
  15575. parameters:
  15576. - description: 用户信息
  15577. in: body
  15578. name: jsonBody
  15579. required: true
  15580. schema:
  15581. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  15582. produces:
  15583. - application/json
  15584. responses:
  15585. "200":
  15586. description: OK
  15587. schema:
  15588. $ref: '#/definitions/app.Response'
  15589. "500":
  15590. description: Internal Server Error
  15591. schema:
  15592. $ref: '#/definitions/app.Response'
  15593. security:
  15594. - ApiKeyAuth: []
  15595. summary: 修改客户申请
  15596. tags:
  15597. - 风险管理v3
  15598. /Erms3/QueryBusinessInfo:
  15599. get:
  15600. parameters:
  15601. - description: 资金账号ID列表,用逗号分隔
  15602. in: query
  15603. name: accountids
  15604. required: true
  15605. type: string
  15606. - description: 状态,0为未结束 1为已结束
  15607. in: query
  15608. name: status
  15609. required: true
  15610. type: integer
  15611. produces:
  15612. - application/json
  15613. responses:
  15614. "200":
  15615. description: OK
  15616. schema:
  15617. items:
  15618. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  15619. type: array
  15620. "500":
  15621. description: Internal Server Error
  15622. schema:
  15623. $ref: '#/definitions/app.Response'
  15624. security:
  15625. - ApiKeyAuth: []
  15626. summary: 查询业务表单数据
  15627. tags:
  15628. - 风险管理v3
  15629. /Erms3/QueryPendingAuditContract:
  15630. get:
  15631. parameters:
  15632. - description: 资金账号ID列表,逗号隔开
  15633. in: query
  15634. name: accountids
  15635. required: true
  15636. type: string
  15637. - description: 合同类型 1-采购 -1-销售
  15638. in: query
  15639. name: contracttype
  15640. required: true
  15641. type: integer
  15642. - description: 合同模式 1-普通 2-回购
  15643. in: query
  15644. name: contractmode
  15645. required: true
  15646. type: integer
  15647. produces:
  15648. - application/json
  15649. responses:
  15650. "200":
  15651. description: OK
  15652. schema:
  15653. items:
  15654. $ref: '#/definitions/erms3.QryAuditContractRsp'
  15655. type: array
  15656. "500":
  15657. description: Internal Server Error
  15658. schema:
  15659. $ref: '#/definitions/app.Response'
  15660. security:
  15661. - ApiKeyAuth: []
  15662. summary: 查询待审核合同
  15663. tags:
  15664. - 风险管理v3
  15665. /Erms3/QueryPendingBusiness:
  15666. get:
  15667. parameters:
  15668. - description: 资金账号ID列表,逗号隔开
  15669. in: query
  15670. name: accountids
  15671. required: true
  15672. type: string
  15673. produces:
  15674. - application/json
  15675. responses:
  15676. "200":
  15677. description: OK
  15678. schema:
  15679. items:
  15680. $ref: '#/definitions/erms3.QryPendingBizRsp'
  15681. type: array
  15682. "500":
  15683. description: Internal Server Error
  15684. schema:
  15685. $ref: '#/definitions/app.Response'
  15686. security:
  15687. - ApiKeyAuth: []
  15688. summary: 查询待审核基差贸易业务
  15689. tags:
  15690. - 风险管理v3
  15691. /Erms3/QuerySpotContractAppleForm:
  15692. get:
  15693. parameters:
  15694. - description: 登录账号
  15695. in: query
  15696. name: loginID
  15697. required: true
  15698. type: integer
  15699. produces:
  15700. - application/json
  15701. responses:
  15702. "200":
  15703. description: OK
  15704. schema:
  15705. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  15706. "500":
  15707. description: Internal Server Error
  15708. schema:
  15709. $ref: '#/definitions/app.Response'
  15710. security:
  15711. - ApiKeyAuth: []
  15712. summary: 查询合同申请表单数据
  15713. tags:
  15714. - 风险管理v3
  15715. /Erms3/QuerySpotContractDetail:
  15716. get:
  15717. parameters:
  15718. - description: 资金账号ID列表,用逗号分隔
  15719. in: query
  15720. name: accountids
  15721. required: true
  15722. type: string
  15723. - description: 合同类型,1为采购合同 -1为销售合同
  15724. in: query
  15725. name: contracttype
  15726. required: true
  15727. type: integer
  15728. - description: 合同模式,1为普通合同 2为回购销售合同
  15729. in: query
  15730. name: contractmode
  15731. required: true
  15732. type: integer
  15733. - description: 状态,0为履约中 1为已完成
  15734. in: query
  15735. name: status
  15736. required: true
  15737. type: integer
  15738. produces:
  15739. - application/json
  15740. responses:
  15741. "200":
  15742. description: OK
  15743. schema:
  15744. items:
  15745. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  15746. type: array
  15747. "500":
  15748. description: Internal Server Error
  15749. schema:
  15750. $ref: '#/definitions/app.Response'
  15751. security:
  15752. - ApiKeyAuth: []
  15753. summary: 查询合同详细信息
  15754. tags:
  15755. - 风险管理v3
  15756. /Erms3/QueryUserInfoApplies:
  15757. get:
  15758. parameters:
  15759. - description: 页码
  15760. in: query
  15761. name: page
  15762. type: integer
  15763. - description: 每页条数
  15764. in: query
  15765. name: pagesize
  15766. type: integer
  15767. - description: 客户名称,支持模糊查询
  15768. in: query
  15769. name: userName
  15770. type: string
  15771. produces:
  15772. - application/json
  15773. responses:
  15774. "200":
  15775. description: OK
  15776. schema:
  15777. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  15778. "500":
  15779. description: Internal Server Error
  15780. schema:
  15781. $ref: '#/definitions/app.Response'
  15782. security:
  15783. - ApiKeyAuth: []
  15784. summary: 客户申请信息查询
  15785. tags:
  15786. - 风险管理v3
  15787. /Erms3/QueryUserInfos:
  15788. get:
  15789. parameters:
  15790. - description: 页码
  15791. in: query
  15792. name: page
  15793. type: integer
  15794. - description: 每页条数
  15795. in: query
  15796. name: pagesize
  15797. type: integer
  15798. - description: 客户名称,支持模糊查询
  15799. in: query
  15800. name: userName
  15801. type: string
  15802. produces:
  15803. - application/json
  15804. responses:
  15805. "200":
  15806. description: OK
  15807. schema:
  15808. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  15809. "500":
  15810. description: Internal Server Error
  15811. schema:
  15812. $ref: '#/definitions/app.Response'
  15813. security:
  15814. - ApiKeyAuth: []
  15815. summary: 客户信息查询
  15816. tags:
  15817. - 风险管理v3
  15818. /HSBY/GetHsbyMyCount:
  15819. get:
  15820. description: 说明: 不包括已完成的数量。
  15821. parameters:
  15822. - description: 资金账户列表,格式:1,2,3
  15823. in: query
  15824. name: accountIDs
  15825. required: true
  15826. type: string
  15827. produces:
  15828. - application/json
  15829. responses:
  15830. "200":
  15831. description: OK
  15832. schema:
  15833. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  15834. "500":
  15835. description: Internal Server Error
  15836. schema:
  15837. $ref: '#/definitions/app.Response'
  15838. security:
  15839. - ApiKeyAuth: []
  15840. summary: 获取我的订单与包裹数量
  15841. tags:
  15842. - 定制【海商报业】
  15843. /HSBY/QueryClientFixedADConfigs:
  15844. get:
  15845. produces:
  15846. - application/json
  15847. responses:
  15848. "200":
  15849. description: OK
  15850. schema:
  15851. $ref: '#/definitions/models.Clientfixedadconfig'
  15852. "500":
  15853. description: Internal Server Error
  15854. schema:
  15855. $ref: '#/definitions/app.Response'
  15856. security:
  15857. - ApiKeyAuth: []
  15858. summary: 获取终端固定广告配置
  15859. tags:
  15860. - 定制【海商报业】
  15861. /HSBY/QueryHsbyBuyMyTradeDetail:
  15862. get:
  15863. parameters:
  15864. - description: 页码
  15865. in: query
  15866. name: page
  15867. type: integer
  15868. - description: 每页条数
  15869. in: query
  15870. name: pagesize
  15871. type: integer
  15872. - description: 资金账户列表,格式:1,2,3
  15873. in: query
  15874. name: accountIDs
  15875. required: true
  15876. type: string
  15877. produces:
  15878. - application/json
  15879. responses:
  15880. "200":
  15881. description: OK
  15882. schema:
  15883. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  15884. "500":
  15885. description: Internal Server Error
  15886. schema:
  15887. $ref: '#/definitions/app.Response'
  15888. security:
  15889. - ApiKeyAuth: []
  15890. summary: 查询"我的订单 - 已完成"单据信息
  15891. tags:
  15892. - 定制【海商报业】
  15893. /HSBY/QueryHsbyGoodsOrderDetails:
  15894. get:
  15895. description: 说明:查询结果已按委托价格和委托时间排序
  15896. parameters:
  15897. - description: 商品ID
  15898. in: query
  15899. name: goodsID
  15900. required: true
  15901. type: integer
  15902. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  15903. in: query
  15904. name: accountIDs
  15905. type: string
  15906. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  15907. in: query
  15908. name: buyOrSell
  15909. type: integer
  15910. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  15911. in: query
  15912. name: price
  15913. type: number
  15914. - description: 档位,不传则默认为3档
  15915. in: query
  15916. name: speed
  15917. type: integer
  15918. produces:
  15919. - application/json
  15920. responses:
  15921. "200":
  15922. description: OK
  15923. schema:
  15924. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  15925. "500":
  15926. description: Internal Server Error
  15927. schema:
  15928. $ref: '#/definitions/app.Response'
  15929. security:
  15930. - ApiKeyAuth: []
  15931. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  15932. tags:
  15933. - 定制【海商报业】
  15934. /HSBY/QueryHsbyListingGoodsDetail:
  15935. get:
  15936. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  15937. parameters:
  15938. - description: 商品ID
  15939. in: query
  15940. name: goodsID
  15941. required: true
  15942. type: integer
  15943. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  15944. in: query
  15945. name: accountID
  15946. type: integer
  15947. produces:
  15948. - application/json
  15949. responses:
  15950. "200":
  15951. description: OK
  15952. schema:
  15953. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  15954. "500":
  15955. description: Internal Server Error
  15956. schema:
  15957. $ref: '#/definitions/app.Response'
  15958. security:
  15959. - ApiKeyAuth: []
  15960. summary: 查询二级市场(挂牌点选)商品信息详情
  15961. tags:
  15962. - 定制【海商报业】
  15963. /HSBY/QueryHsbyMarketGoodsDetail:
  15964. get:
  15965. parameters:
  15966. - description: 委托单号
  15967. in: query
  15968. name: orderID
  15969. required: true
  15970. type: integer
  15971. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  15972. in: query
  15973. name: accountID
  15974. type: integer
  15975. produces:
  15976. - application/json
  15977. responses:
  15978. "200":
  15979. description: OK
  15980. schema:
  15981. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  15982. "500":
  15983. description: Internal Server Error
  15984. schema:
  15985. $ref: '#/definitions/app.Response'
  15986. security:
  15987. - ApiKeyAuth: []
  15988. summary: 查询三级市场(商城)商品信息详情
  15989. tags:
  15990. - 定制【海商报业】
  15991. /HSBY/QueryHsbyMarketGoodses:
  15992. get:
  15993. parameters:
  15994. - description: 页码
  15995. in: query
  15996. name: page
  15997. type: integer
  15998. - description: 每页条数
  15999. in: query
  16000. name: pagesize
  16001. type: integer
  16002. - description: 市场ID列表,格式:1,2,3
  16003. in: query
  16004. name: marketIDs
  16005. required: true
  16006. type: string
  16007. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  16008. in: query
  16009. name: accountID
  16010. required: true
  16011. type: integer
  16012. - description: 类别ID
  16013. in: query
  16014. name: categoryID
  16015. type: integer
  16016. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  16017. in: query
  16018. name: goodsIDs
  16019. type: string
  16020. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  16021. in: query
  16022. name: couponTypeID
  16023. type: integer
  16024. produces:
  16025. - application/json
  16026. responses:
  16027. "200":
  16028. description: OK
  16029. schema:
  16030. $ref: '#/definitions/models.HsbyMarketGoods'
  16031. "500":
  16032. description: Internal Server Error
  16033. schema:
  16034. $ref: '#/definitions/app.Response'
  16035. security:
  16036. - ApiKeyAuth: []
  16037. summary: 查询特卖商品列表(三级商城)
  16038. tags:
  16039. - 定制【海商报业】
  16040. /HSBY/QueryHsbyMarkets:
  16041. get:
  16042. produces:
  16043. - application/json
  16044. responses:
  16045. "200":
  16046. description: OK
  16047. schema:
  16048. $ref: '#/definitions/models.HsbyMarketInfo'
  16049. "500":
  16050. description: Internal Server Error
  16051. schema:
  16052. $ref: '#/definitions/app.Response'
  16053. security:
  16054. - ApiKeyAuth: []
  16055. summary: 查询海商报业相关市场信息
  16056. tags:
  16057. - 定制【海商报业】
  16058. /HSBY/QueryHsbyMyBuyOrderDetails:
  16059. get:
  16060. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  16061. parameters:
  16062. - description: 资金账户列表,格式:1,2,3
  16063. in: query
  16064. name: accountIDs
  16065. required: true
  16066. type: string
  16067. produces:
  16068. - application/json
  16069. responses:
  16070. "200":
  16071. description: OK
  16072. schema:
  16073. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  16074. "500":
  16075. description: Internal Server Error
  16076. schema:
  16077. $ref: '#/definitions/app.Response'
  16078. security:
  16079. - ApiKeyAuth: []
  16080. summary: 查询“我的订单”信息
  16081. tags:
  16082. - 定制【海商报业】
  16083. /HSBY/QueryHsbyMyGoods:
  16084. get:
  16085. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  16086. parameters:
  16087. - description: 资金账户列表,格式:1,2,3
  16088. in: query
  16089. name: accountIDs
  16090. required: true
  16091. type: string
  16092. produces:
  16093. - application/json
  16094. responses:
  16095. "200":
  16096. description: OK
  16097. schema:
  16098. $ref: '#/definitions/models.HsbyMyGoods'
  16099. "500":
  16100. description: Internal Server Error
  16101. schema:
  16102. $ref: '#/definitions/app.Response'
  16103. security:
  16104. - ApiKeyAuth: []
  16105. summary: 查询“我的商品”信息
  16106. tags:
  16107. - 定制【海商报业】
  16108. /HSBY/QueryHsbyMyPackages:
  16109. get:
  16110. parameters:
  16111. - description: 资金账户列表,格式:1,2,3
  16112. in: query
  16113. name: accountIDs
  16114. required: true
  16115. type: string
  16116. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  16117. in: query
  16118. name: takeOrderStatus
  16119. type: integer
  16120. produces:
  16121. - application/json
  16122. responses:
  16123. "200":
  16124. description: OK
  16125. schema:
  16126. $ref: '#/definitions/models.HsbyMyPackage'
  16127. "500":
  16128. description: Internal Server Error
  16129. schema:
  16130. $ref: '#/definitions/app.Response'
  16131. security:
  16132. - ApiKeyAuth: []
  16133. summary: 查询我的包裹信息
  16134. tags:
  16135. - 定制【海商报业】
  16136. /HSBY/QueryHsbyPreGoodsDetail:
  16137. get:
  16138. parameters:
  16139. - description: 商品ID
  16140. in: query
  16141. name: goodsID
  16142. required: true
  16143. type: integer
  16144. - description: 资金账户,主要用于获取预售商品购买上限
  16145. in: query
  16146. name: accountID
  16147. type: integer
  16148. produces:
  16149. - application/json
  16150. responses:
  16151. "200":
  16152. description: OK
  16153. schema:
  16154. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  16155. "500":
  16156. description: Internal Server Error
  16157. schema:
  16158. $ref: '#/definitions/app.Response'
  16159. security:
  16160. - ApiKeyAuth: []
  16161. summary: 查询一级市场(预售)商品信息详情
  16162. tags:
  16163. - 定制【海商报业】
  16164. /HSBY/QueryHsbyPreGoodses:
  16165. get:
  16166. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  16167. parameters:
  16168. - description: 页码
  16169. in: query
  16170. name: page
  16171. type: integer
  16172. - description: 每页条数
  16173. in: query
  16174. name: pagesize
  16175. type: integer
  16176. - description: 市场ID列表,格式:1,2,3
  16177. in: query
  16178. name: marketIDs
  16179. required: true
  16180. type: string
  16181. - description: 目的地(省)ID
  16182. in: query
  16183. name: descProvinceID
  16184. type: integer
  16185. - description: 目的地(市)ID
  16186. in: query
  16187. name: descCityID
  16188. type: integer
  16189. produces:
  16190. - application/json
  16191. responses:
  16192. "200":
  16193. description: OK
  16194. schema:
  16195. $ref: '#/definitions/models.HsbyPreGoods'
  16196. "500":
  16197. description: Internal Server Error
  16198. schema:
  16199. $ref: '#/definitions/app.Response'
  16200. security:
  16201. - ApiKeyAuth: []
  16202. summary: 查询新品上市商品列表(一级市场预售)
  16203. tags:
  16204. - 定制【海商报业】
  16205. /HSBY/QueryHsbySellMyDetails:
  16206. get:
  16207. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  16208. parameters:
  16209. - description: 页码
  16210. in: query
  16211. name: page
  16212. type: integer
  16213. - description: 每页条数
  16214. in: query
  16215. name: pagesize
  16216. type: integer
  16217. - description: 资金账户列表,格式:1,2,3
  16218. in: query
  16219. name: accountIDs
  16220. required: true
  16221. type: string
  16222. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  16223. in: query
  16224. name: orderType
  16225. type: integer
  16226. produces:
  16227. - application/json
  16228. responses:
  16229. "200":
  16230. description: OK
  16231. schema:
  16232. $ref: '#/definitions/models.HsbySellMyDetail'
  16233. "500":
  16234. description: Internal Server Error
  16235. schema:
  16236. $ref: '#/definitions/app.Response'
  16237. security:
  16238. - ApiKeyAuth: []
  16239. summary: 查询"我的闲置"单据信息
  16240. tags:
  16241. - 定制【海商报业】
  16242. /HSBY/QueryHsbyTopGoodses:
  16243. get:
  16244. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  16245. parameters:
  16246. - description: 页码
  16247. in: query
  16248. name: page
  16249. type: integer
  16250. - description: 每页条数
  16251. in: query
  16252. name: pagesize
  16253. type: integer
  16254. - description: 市场ID列表,格式:1,2,3
  16255. in: query
  16256. name: marketIDs
  16257. required: true
  16258. type: string
  16259. - description: 目的地(省)ID
  16260. in: query
  16261. name: descProvinceID
  16262. type: integer
  16263. - description: 目的地(市)ID
  16264. in: query
  16265. name: descCityID
  16266. type: integer
  16267. produces:
  16268. - application/json
  16269. responses:
  16270. "200":
  16271. description: OK
  16272. schema:
  16273. $ref: '#/definitions/models.HsbyTopGoods'
  16274. "500":
  16275. description: Internal Server Error
  16276. schema:
  16277. $ref: '#/definitions/app.Response'
  16278. security:
  16279. - ApiKeyAuth: []
  16280. summary: 查询热卖商品列表(二级市场挂牌点选)
  16281. tags:
  16282. - 定制【海商报业】
  16283. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  16284. get:
  16285. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  16286. parameters:
  16287. - description: 商品ID
  16288. in: query
  16289. name: goodsID
  16290. required: true
  16291. type: integer
  16292. produces:
  16293. - application/json
  16294. responses:
  16295. "200":
  16296. description: OK
  16297. schema:
  16298. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  16299. "500":
  16300. description: Internal Server Error
  16301. schema:
  16302. $ref: '#/definitions/app.Response'
  16303. security:
  16304. - ApiKeyAuth: []
  16305. summary: 查询游客三级市场(商城)商品信息详情
  16306. tags:
  16307. - 定制【海商报业】
  16308. /HSBY/QueryHsbyVisitorMarketGoodses:
  16309. get:
  16310. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  16311. parameters:
  16312. - description: 页码
  16313. in: query
  16314. name: page
  16315. type: integer
  16316. - description: 每页条数
  16317. in: query
  16318. name: pagesize
  16319. type: integer
  16320. - description: 市场ID列表,格式:1,2,3
  16321. in: query
  16322. name: marketIDs
  16323. required: true
  16324. type: string
  16325. - description: 类别ID
  16326. in: query
  16327. name: categoryID
  16328. type: integer
  16329. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  16330. in: query
  16331. name: goodsIDs
  16332. type: string
  16333. produces:
  16334. - application/json
  16335. responses:
  16336. "200":
  16337. description: OK
  16338. schema:
  16339. $ref: '#/definitions/models.HsbyMarketGoods'
  16340. "500":
  16341. description: Internal Server Error
  16342. schema:
  16343. $ref: '#/definitions/app.Response'
  16344. security:
  16345. - ApiKeyAuth: []
  16346. summary: 查询游客特卖商品列表(三级商城)
  16347. tags:
  16348. - 定制【海商报业】
  16349. /HSBY/QueryMyCollectionOrders:
  16350. get:
  16351. parameters:
  16352. - description: 页码
  16353. in: query
  16354. name: page
  16355. type: integer
  16356. - description: 每页条数
  16357. in: query
  16358. name: pagesize
  16359. type: integer
  16360. - description: 资金账户,格式:1,2,3
  16361. in: query
  16362. name: accountIDs
  16363. required: true
  16364. type: string
  16365. produces:
  16366. - application/json
  16367. responses:
  16368. "200":
  16369. description: OK
  16370. schema:
  16371. $ref: '#/definitions/models.HsbySellCollectionOrder'
  16372. "500":
  16373. description: Internal Server Error
  16374. schema:
  16375. $ref: '#/definitions/app.Response'
  16376. security:
  16377. - ApiKeyAuth: []
  16378. summary: 我的闲置中收款信息查询
  16379. tags:
  16380. - 定制【海商报业】
  16381. /HSBY/QueryMyCouponHolds:
  16382. get:
  16383. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  16384. parameters:
  16385. - description: 资金账户列表,格式:1,2,3
  16386. in: query
  16387. name: accountIDs
  16388. required: true
  16389. type: string
  16390. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  16391. in: query
  16392. name: holdStatus
  16393. type: string
  16394. produces:
  16395. - application/json
  16396. responses:
  16397. "200":
  16398. description: OK
  16399. schema:
  16400. $ref: '#/definitions/models.MyCouponHold'
  16401. "500":
  16402. description: Internal Server Error
  16403. schema:
  16404. $ref: '#/definitions/app.Response'
  16405. security:
  16406. - ApiKeyAuth: []
  16407. summary: 我的优惠卷持仓查询
  16408. tags:
  16409. - 定制【海商报业】
  16410. /HSBY/QueryMyCoupons:
  16411. get:
  16412. parameters:
  16413. - description: 资金账户列表,格式:1,2,3
  16414. in: query
  16415. name: accountIDs
  16416. required: true
  16417. type: string
  16418. - description: 商品ID, 一般与sellUserID配套传入
  16419. in: query
  16420. name: goodsID
  16421. type: integer
  16422. - description: 卖方UserID
  16423. in: query
  16424. name: sellUserID
  16425. type: integer
  16426. produces:
  16427. - application/json
  16428. responses:
  16429. "200":
  16430. description: OK
  16431. schema:
  16432. $ref: '#/definitions/models.MyCoupon'
  16433. "500":
  16434. description: Internal Server Error
  16435. schema:
  16436. $ref: '#/definitions/app.Response'
  16437. security:
  16438. - ApiKeyAuth: []
  16439. summary: 我的优惠卷查询
  16440. tags:
  16441. - 定制【海商报业】
  16442. /HSBY/QueryMyPayOrders:
  16443. get:
  16444. parameters:
  16445. - description: 页码
  16446. in: query
  16447. name: page
  16448. type: integer
  16449. - description: 每页条数
  16450. in: query
  16451. name: pagesize
  16452. type: integer
  16453. - description: 资金账户列表,格式:1,2,3
  16454. in: query
  16455. name: accountIDs
  16456. required: true
  16457. type: string
  16458. - description: 买方委托单号
  16459. in: query
  16460. name: buyOrderID
  16461. type: integer
  16462. - description: 卖方委托单号
  16463. in: query
  16464. name: sellOrderID
  16465. type: integer
  16466. produces:
  16467. - application/json
  16468. responses:
  16469. "200":
  16470. description: OK
  16471. schema:
  16472. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  16473. "500":
  16474. description: Internal Server Error
  16475. schema:
  16476. $ref: '#/definitions/app.Response'
  16477. security:
  16478. - ApiKeyAuth: []
  16479. summary: 获取我的订单中待付款信息
  16480. tags:
  16481. - 定制【海商报业】
  16482. /HSBY/QueryMyUsedCoupon:
  16483. get:
  16484. parameters:
  16485. - description: 资金账户列表,格式:1,2,3
  16486. in: query
  16487. name: accountIDs
  16488. required: true
  16489. type: string
  16490. produces:
  16491. - application/json
  16492. responses:
  16493. "200":
  16494. description: OK
  16495. schema:
  16496. $ref: '#/definitions/models.MyUsedCoupon'
  16497. "500":
  16498. description: Internal Server Error
  16499. schema:
  16500. $ref: '#/definitions/app.Response'
  16501. security:
  16502. - ApiKeyAuth: []
  16503. summary: 已使用优惠卷查询
  16504. tags:
  16505. - 定制【海商报业】
  16506. /HSBY/QueryProvincesAndCities:
  16507. get:
  16508. description: 查询结果只包括二级市场商品已关连的省市信息。
  16509. parameters:
  16510. - description: 省ID
  16511. in: query
  16512. name: provinceID
  16513. type: integer
  16514. produces:
  16515. - application/json
  16516. responses:
  16517. "200":
  16518. description: OK
  16519. schema:
  16520. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  16521. "500":
  16522. description: Internal Server Error
  16523. schema:
  16524. $ref: '#/definitions/app.Response'
  16525. security:
  16526. - ApiKeyAuth: []
  16527. summary: 查询省市信息(不包括区)
  16528. tags:
  16529. - 定制【海商报业】
  16530. /HSBY/SetHsbyMyPackagesStatus:
  16531. post:
  16532. parameters:
  16533. - description: 提货单号
  16534. in: query
  16535. name: takeOrderID
  16536. required: true
  16537. type: string
  16538. - description: 资金账号
  16539. in: query
  16540. name: accountID
  16541. required: true
  16542. type: integer
  16543. produces:
  16544. - application/json
  16545. responses:
  16546. "200":
  16547. description: OK
  16548. schema:
  16549. $ref: '#/definitions/app.Response'
  16550. "500":
  16551. description: Internal Server Error
  16552. schema:
  16553. $ref: '#/definitions/app.Response'
  16554. security:
  16555. - ApiKeyAuth: []
  16556. summary: 设置我的包裹已收货状态
  16557. tags:
  16558. - 定制【海商报业】
  16559. /Market/QueryGoodsesByLoginID:
  16560. get:
  16561. parameters:
  16562. - description: 登录账号
  16563. in: query
  16564. name: loginID
  16565. required: true
  16566. type: integer
  16567. - description: 市场ID列表,格式:1,2,3
  16568. in: query
  16569. name: marketIDs
  16570. type: string
  16571. produces:
  16572. - application/json
  16573. responses:
  16574. "200":
  16575. description: OK
  16576. schema:
  16577. $ref: '#/definitions/models.Goods'
  16578. "500":
  16579. description: Internal Server Error
  16580. schema:
  16581. $ref: '#/definitions/app.Response'
  16582. security:
  16583. - ApiKeyAuth: []
  16584. summary: 获取登录账号有权限的商品信息
  16585. tags:
  16586. - 通用市场
  16587. /Market/QueryMarketRun:
  16588. get:
  16589. parameters:
  16590. - description: 市场ID,不传返回所有
  16591. in: query
  16592. name: marketID
  16593. type: integer
  16594. produces:
  16595. - application/json
  16596. responses:
  16597. "200":
  16598. description: OK
  16599. schema:
  16600. $ref: '#/definitions/models.Marketrun'
  16601. "500":
  16602. description: Internal Server Error
  16603. schema:
  16604. $ref: '#/definitions/app.Response'
  16605. security:
  16606. - ApiKeyAuth: []
  16607. summary: 查询市场运行信息
  16608. tags:
  16609. - 通用市场
  16610. /Market/QueryMarketsByLoginID:
  16611. get:
  16612. parameters:
  16613. - description: 登录账号
  16614. in: query
  16615. name: loginID
  16616. required: true
  16617. type: integer
  16618. produces:
  16619. - application/json
  16620. responses:
  16621. "200":
  16622. description: OK
  16623. schema:
  16624. $ref: '#/definitions/models.Market'
  16625. "500":
  16626. description: Internal Server Error
  16627. schema:
  16628. $ref: '#/definitions/app.Response'
  16629. security:
  16630. - ApiKeyAuth: []
  16631. summary: 获取登录账号有权限的市场信息
  16632. tags:
  16633. - 通用市场
  16634. /Order/QueryHisTradeDetail:
  16635. get:
  16636. parameters:
  16637. - description: 资金账户 - 格式:1,2,3
  16638. in: query
  16639. name: accountID
  16640. required: true
  16641. type: string
  16642. - description: 成交单号
  16643. in: query
  16644. name: tradeID
  16645. type: integer
  16646. - description: 委托单号
  16647. in: query
  16648. name: orderID
  16649. type: integer
  16650. - description: 交易模式 - 格式:1,2,3
  16651. in: query
  16652. name: tradeMode
  16653. type: string
  16654. - description: 委托单据类型
  16655. in: query
  16656. name: buildType
  16657. type: integer
  16658. - description: 成交类别 - 格式:1,2,3
  16659. in: query
  16660. name: tradeType
  16661. type: string
  16662. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  16663. in: query
  16664. name: startDate
  16665. type: string
  16666. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  16667. in: query
  16668. name: endDate
  16669. type: string
  16670. produces:
  16671. - application/json
  16672. responses:
  16673. "200":
  16674. description: OK
  16675. schema:
  16676. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  16677. "500":
  16678. description: Internal Server Error
  16679. schema:
  16680. $ref: '#/definitions/app.Response'
  16681. security:
  16682. - ApiKeyAuth: []
  16683. summary: 历史成交单查询(合约市场)
  16684. tags:
  16685. - 通用单据
  16686. /Order/QueryHisTradeOrderDetail:
  16687. get:
  16688. parameters:
  16689. - description: 资金账户 - 格式:1,2,3
  16690. in: query
  16691. name: accountID
  16692. required: true
  16693. type: string
  16694. - description: 交易模式 - 格式:1,2,3
  16695. in: query
  16696. name: tradeMode
  16697. type: string
  16698. - description: 委托状态 - 格式:1,2,3
  16699. in: query
  16700. name: orderStatus
  16701. type: string
  16702. - description: 委托单号
  16703. in: query
  16704. name: orderID
  16705. type: integer
  16706. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  16707. in: query
  16708. name: startDate
  16709. type: string
  16710. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  16711. in: query
  16712. name: endDate
  16713. type: string
  16714. produces:
  16715. - application/json
  16716. responses:
  16717. "200":
  16718. description: OK
  16719. schema:
  16720. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  16721. "500":
  16722. description: Internal Server Error
  16723. schema:
  16724. $ref: '#/definitions/app.Response'
  16725. security:
  16726. - ApiKeyAuth: []
  16727. summary: 历史委托单查询请求(合约市场)
  16728. tags:
  16729. - 通用单据
  16730. /Order/QueryTradeDetail:
  16731. get:
  16732. parameters:
  16733. - description: 资金账户 - 格式:1,2,3
  16734. in: query
  16735. name: accountID
  16736. required: true
  16737. type: string
  16738. - description: 成交单号
  16739. in: query
  16740. name: tradeID
  16741. type: integer
  16742. - description: 委托单号
  16743. in: query
  16744. name: orderID
  16745. type: integer
  16746. - description: 交易模式 - 格式:1,2,3
  16747. in: query
  16748. name: tradeMode
  16749. type: string
  16750. - description: 委托单据类型
  16751. in: query
  16752. name: buildType
  16753. type: integer
  16754. - description: 成交类别 - 格式:1,2,3
  16755. in: query
  16756. name: tradeType
  16757. type: string
  16758. produces:
  16759. - application/json
  16760. responses:
  16761. "200":
  16762. description: OK
  16763. schema:
  16764. $ref: '#/definitions/order.QueryTradeDetailRsp'
  16765. "500":
  16766. description: Internal Server Error
  16767. schema:
  16768. $ref: '#/definitions/app.Response'
  16769. security:
  16770. - ApiKeyAuth: []
  16771. summary: 成交单查询(合约市场)
  16772. tags:
  16773. - 通用单据
  16774. /Order/QueryTradeOrderDetail:
  16775. get:
  16776. parameters:
  16777. - description: 资金账户 - 格式:1,2,3
  16778. in: query
  16779. name: accountID
  16780. required: true
  16781. type: string
  16782. - description: 交易模式 - 格式:1,2,3
  16783. in: query
  16784. name: tradeMode
  16785. type: string
  16786. - description: 委托状态 - 格式:1,2,3
  16787. in: query
  16788. name: orderStatus
  16789. type: string
  16790. - description: 委托单号
  16791. in: query
  16792. name: orderID
  16793. type: integer
  16794. produces:
  16795. - application/json
  16796. responses:
  16797. "200":
  16798. description: OK
  16799. schema:
  16800. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  16801. "500":
  16802. description: Internal Server Error
  16803. schema:
  16804. $ref: '#/definitions/app.Response'
  16805. security:
  16806. - ApiKeyAuth: []
  16807. summary: 委托单查询请求(合约市场)
  16808. tags:
  16809. - 通用单据
  16810. /Order/QueryTradePosition:
  16811. get:
  16812. parameters:
  16813. - description: 资金账户 - 格式:1,2,3
  16814. in: query
  16815. name: accountID
  16816. required: true
  16817. type: string
  16818. - description: 交易模式 - 格式:1,2,3
  16819. in: query
  16820. name: tradeMode
  16821. type: string
  16822. produces:
  16823. - application/json
  16824. responses:
  16825. "200":
  16826. description: OK
  16827. schema:
  16828. $ref: '#/definitions/order.QueryTradePositionRsp'
  16829. "500":
  16830. description: Internal Server Error
  16831. schema:
  16832. $ref: '#/definitions/app.Response'
  16833. security:
  16834. - ApiKeyAuth: []
  16835. summary: 持仓汇总查询(合约市场)
  16836. tags:
  16837. - 通用单据
  16838. /Quote/QueryHistoryDatas:
  16839. get:
  16840. parameters:
  16841. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  16842. 日线'
  16843. in: query
  16844. name: cycleType
  16845. required: true
  16846. type: integer
  16847. - description: 商品代码
  16848. in: query
  16849. name: goodsCode
  16850. required: true
  16851. type: string
  16852. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  16853. in: query
  16854. name: startTime
  16855. type: string
  16856. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  16857. in: query
  16858. name: endTime
  16859. type: string
  16860. - description: 条数
  16861. in: query
  16862. name: count
  16863. type: integer
  16864. - description: 是否按时间顺序排序(默认为时间倒序排序)
  16865. in: query
  16866. name: isAsc
  16867. type: boolean
  16868. produces:
  16869. - application/json
  16870. responses:
  16871. "200":
  16872. description: OK
  16873. schema:
  16874. $ref: '#/definitions/quote.HistoryData'
  16875. "500":
  16876. description: Internal Server Error
  16877. schema:
  16878. $ref: '#/definitions/app.Response'
  16879. security:
  16880. - ApiKeyAuth: []
  16881. summary: 查询行情历史数据
  16882. tags:
  16883. - 行情服务
  16884. /Quote/QueryHistoryTikDatas:
  16885. get:
  16886. parameters:
  16887. - description: 商品代码
  16888. in: query
  16889. name: goodsCode
  16890. required: true
  16891. type: string
  16892. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  16893. in: query
  16894. name: startTime
  16895. type: string
  16896. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  16897. in: query
  16898. name: endTime
  16899. type: string
  16900. - description: 条数
  16901. in: query
  16902. name: count
  16903. type: integer
  16904. - description: 是否按时间顺序排序(默认为时间倒序排序)
  16905. in: query
  16906. name: isAsc
  16907. type: boolean
  16908. produces:
  16909. - application/json
  16910. responses:
  16911. "200":
  16912. description: OK
  16913. schema:
  16914. $ref: '#/definitions/quote.HistoryTikData'
  16915. "500":
  16916. description: Internal Server Error
  16917. schema:
  16918. $ref: '#/definitions/app.Response'
  16919. security:
  16920. - ApiKeyAuth: []
  16921. summary: 查询行情Tik数据
  16922. tags:
  16923. - 行情服务
  16924. /Quote/QueryQuoteDay:
  16925. get:
  16926. parameters:
  16927. - description: 商品代码列表,格式:CU2102,CU2103,AL2107
  16928. in: query
  16929. name: goodsCodes
  16930. required: true
  16931. type: string
  16932. produces:
  16933. - application/json
  16934. responses:
  16935. "200":
  16936. description: OK
  16937. schema:
  16938. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  16939. "500":
  16940. description: Internal Server Error
  16941. schema:
  16942. $ref: '#/definitions/app.Response'
  16943. security:
  16944. - ApiKeyAuth: []
  16945. summary: 获取商品盘面信息
  16946. tags:
  16947. - 行情服务
  16948. /Quote/QueryTSData:
  16949. get:
  16950. parameters:
  16951. - description: 商品代码
  16952. in: query
  16953. name: goodsCode
  16954. required: true
  16955. type: string
  16956. produces:
  16957. - application/json
  16958. responses:
  16959. "200":
  16960. description: OK
  16961. schema:
  16962. $ref: '#/definitions/quote.QueryTSDataRsp'
  16963. "500":
  16964. description: Internal Server Error
  16965. schema:
  16966. $ref: '#/definitions/app.Response'
  16967. security:
  16968. - ApiKeyAuth: []
  16969. summary: 分时图数据查询
  16970. tags:
  16971. - 行情服务
  16972. /SZDZ/QueryConvertConfig:
  16973. get:
  16974. parameters:
  16975. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  16976. 6:交易转花生米(不设置)
  16977. in: query
  16978. name: convertType
  16979. type: integer
  16980. - description: 外部商品代码[JD\PD]
  16981. in: query
  16982. name: outerGoodsCode
  16983. type: string
  16984. - description: 内部商品ID列表[交易],格式:1,2,3
  16985. in: query
  16986. name: innerGoodsIDs
  16987. type: string
  16988. produces:
  16989. - application/json
  16990. responses:
  16991. "200":
  16992. description: OK
  16993. schema:
  16994. $ref: '#/definitions/models.Szdz3convertconfig'
  16995. "500":
  16996. description: Internal Server Error
  16997. schema:
  16998. $ref: '#/definitions/app.Response'
  16999. security:
  17000. - ApiKeyAuth: []
  17001. summary: 查询交易系统转换设置
  17002. tags:
  17003. - 定制【尚志大宗】
  17004. /SZDZ/QueryConvertLog:
  17005. get:
  17006. parameters:
  17007. - description: 资金账户 - 格式:1,2,3
  17008. in: query
  17009. name: accountID
  17010. required: true
  17011. type: string
  17012. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  17013. in: query
  17014. name: startDate
  17015. type: string
  17016. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  17017. in: query
  17018. name: endDate
  17019. type: string
  17020. produces:
  17021. - application/json
  17022. responses:
  17023. "200":
  17024. description: OK
  17025. schema:
  17026. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  17027. "500":
  17028. description: Internal Server Error
  17029. schema:
  17030. $ref: '#/definitions/app.Response'
  17031. security:
  17032. - ApiKeyAuth: []
  17033. summary: 交易系统转换流水查询
  17034. tags:
  17035. - 定制【尚志大宗】
  17036. /SZDZ/QueryGoodsPickup:
  17037. get:
  17038. parameters:
  17039. - description: 资金账户 - 格式:1,2,3
  17040. in: query
  17041. name: accountID
  17042. required: true
  17043. type: string
  17044. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  17045. in: query
  17046. name: takeOrderStatus
  17047. type: integer
  17048. produces:
  17049. - application/json
  17050. responses:
  17051. "200":
  17052. description: OK
  17053. schema:
  17054. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  17055. "500":
  17056. description: Internal Server Error
  17057. schema:
  17058. $ref: '#/definitions/app.Response'
  17059. security:
  17060. - ApiKeyAuth: []
  17061. summary: 商品提货单查询
  17062. tags:
  17063. - 定制【尚志大宗】
  17064. /SZDZ/QueryRecieptOrder:
  17065. get:
  17066. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  17067. parameters:
  17068. - description: 页码
  17069. in: query
  17070. name: page
  17071. type: integer
  17072. - description: 每页条数
  17073. in: query
  17074. name: pagesize
  17075. type: integer
  17076. - description: 商品ID
  17077. in: query
  17078. name: goodsID
  17079. required: true
  17080. type: integer
  17081. - description: 所属账户名称
  17082. in: query
  17083. name: accountName
  17084. type: string
  17085. - description: 市场ID
  17086. in: query
  17087. name: marketID
  17088. type: integer
  17089. - description: 方向 - 0:买 1:卖
  17090. in: query
  17091. name: buyorsell
  17092. required: true
  17093. type: integer
  17094. produces:
  17095. - application/json
  17096. responses:
  17097. "200":
  17098. description: OK
  17099. schema:
  17100. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  17101. "500":
  17102. description: Internal Server Error
  17103. schema:
  17104. $ref: '#/definitions/app.Response'
  17105. security:
  17106. - ApiKeyAuth: []
  17107. summary: 点选挂牌委托单据查询(摘牌大厅)
  17108. tags:
  17109. - 定制【尚志大宗】
  17110. /SZDZ/QuerySZDZTradePosition:
  17111. get:
  17112. parameters:
  17113. - description: 资金账户
  17114. in: query
  17115. name: accountID
  17116. required: true
  17117. type: integer
  17118. produces:
  17119. - application/json
  17120. responses:
  17121. "200":
  17122. description: OK
  17123. schema:
  17124. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  17125. "500":
  17126. description: Internal Server Error
  17127. schema:
  17128. $ref: '#/definitions/app.Response'
  17129. security:
  17130. - ApiKeyAuth: []
  17131. summary: 持仓汇总查询(尚志大宗)
  17132. tags:
  17133. - 定制【尚志大宗】
  17134. /SZDZ/SearchWhite:
  17135. get:
  17136. parameters:
  17137. - description: 用户ID
  17138. in: query
  17139. name: userID
  17140. required: true
  17141. type: integer
  17142. produces:
  17143. - application/json
  17144. responses:
  17145. "200":
  17146. description: OK
  17147. schema:
  17148. $ref: '#/definitions/models.Szdz3searchwhitelist'
  17149. "500":
  17150. description: Internal Server Error
  17151. schema:
  17152. $ref: '#/definitions/app.Response'
  17153. security:
  17154. - ApiKeyAuth: []
  17155. summary: 搜索白名单
  17156. tags:
  17157. - 定制【尚志大宗】
  17158. /Search/SearchGoodses:
  17159. get:
  17160. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  17161. parameters:
  17162. - description: 检索内容
  17163. in: query
  17164. name: content
  17165. required: true
  17166. type: string
  17167. - description: 交易模式,格式:1,2,3
  17168. in: query
  17169. name: tradeModes
  17170. type: string
  17171. produces:
  17172. - application/json
  17173. responses:
  17174. "200":
  17175. description: OK
  17176. schema:
  17177. $ref: '#/definitions/models.SearchGoods'
  17178. "500":
  17179. description: Internal Server Error
  17180. schema:
  17181. $ref: '#/definitions/app.Response'
  17182. summary: 检索商品信息
  17183. tags:
  17184. - 检索服务
  17185. /TaAccount/GetTaAccounts:
  17186. get:
  17187. parameters:
  17188. - description: 登录账户
  17189. in: query
  17190. name: loginID
  17191. required: true
  17192. type: integer
  17193. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  17194. in: query
  17195. name: taAccountType
  17196. type: integer
  17197. produces:
  17198. - application/json
  17199. responses:
  17200. "200":
  17201. description: OK
  17202. schema:
  17203. $ref: '#/definitions/models.Taaccount'
  17204. "500":
  17205. description: Internal Server Error
  17206. schema:
  17207. $ref: '#/definitions/app.Response'
  17208. security:
  17209. - ApiKeyAuth: []
  17210. summary: 获取资金账户信息
  17211. tags:
  17212. - 资金账户
  17213. /TaAccount/QueryAmountLog:
  17214. get:
  17215. parameters:
  17216. - description: 页码
  17217. in: query
  17218. name: page
  17219. type: integer
  17220. - description: 每页条数
  17221. in: query
  17222. name: pagesize
  17223. type: integer
  17224. - description: 资金账户 - 格式:1,2,3
  17225. in: query
  17226. name: accountID
  17227. required: true
  17228. type: string
  17229. - description: 资金操作类型 - 格式:1,2,3
  17230. in: query
  17231. name: OperateType
  17232. type: string
  17233. produces:
  17234. - application/json
  17235. responses:
  17236. "200":
  17237. description: OK
  17238. schema:
  17239. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  17240. "500":
  17241. description: Internal Server Error
  17242. schema:
  17243. $ref: '#/definitions/app.Response'
  17244. security:
  17245. - ApiKeyAuth: []
  17246. summary: 资金流水查询(当前)
  17247. tags:
  17248. - 资金账户
  17249. /TaAccount/QueryHisAmountLog:
  17250. get:
  17251. parameters:
  17252. - description: 页码
  17253. in: query
  17254. name: page
  17255. type: integer
  17256. - description: 每页条数
  17257. in: query
  17258. name: pagesize
  17259. type: integer
  17260. - description: 资金账户 - 格式:1,2,3
  17261. in: query
  17262. name: accountID
  17263. required: true
  17264. type: string
  17265. - description: 资金操作类型 - 格式:1,2,3
  17266. in: query
  17267. name: OperateType
  17268. type: string
  17269. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  17270. in: query
  17271. name: startDate
  17272. type: string
  17273. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  17274. in: query
  17275. name: endDate
  17276. type: string
  17277. produces:
  17278. - application/json
  17279. responses:
  17280. "200":
  17281. description: OK
  17282. schema:
  17283. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  17284. "500":
  17285. description: Internal Server Error
  17286. schema:
  17287. $ref: '#/definitions/app.Response'
  17288. security:
  17289. - ApiKeyAuth: []
  17290. summary: 资金流水查询(历史)
  17291. tags:
  17292. - 资金账户
  17293. /Trade/QueryRecieptOrder:
  17294. get:
  17295. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  17296. parameters:
  17297. - description: 页码
  17298. in: query
  17299. name: page
  17300. type: integer
  17301. - description: 每页条数
  17302. in: query
  17303. name: pagesize
  17304. type: integer
  17305. - description: 商品ID
  17306. in: query
  17307. name: goodsID
  17308. required: true
  17309. type: integer
  17310. - description: 所属账户名称
  17311. in: query
  17312. name: accountName
  17313. type: string
  17314. - description: 市场ID
  17315. in: query
  17316. name: marketID
  17317. type: integer
  17318. - description: 方向 - 0:买 1:卖
  17319. in: query
  17320. name: buyorsell
  17321. required: true
  17322. type: integer
  17323. produces:
  17324. - application/json
  17325. responses:
  17326. "200":
  17327. description: OK
  17328. schema:
  17329. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  17330. "500":
  17331. description: Internal Server Error
  17332. schema:
  17333. $ref: '#/definitions/app.Response'
  17334. security:
  17335. - ApiKeyAuth: []
  17336. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  17337. tags:
  17338. - 通用交易
  17339. /User/AddMessageBoard:
  17340. post:
  17341. parameters:
  17342. - description: 用户ID
  17343. in: query
  17344. name: userID
  17345. required: true
  17346. type: integer
  17347. - description: 留言信息
  17348. in: query
  17349. name: message
  17350. required: true
  17351. type: string
  17352. - description: 联系电话
  17353. in: query
  17354. name: contactNum
  17355. required: true
  17356. type: string
  17357. produces:
  17358. - application/json
  17359. responses:
  17360. "200":
  17361. description: OK
  17362. schema:
  17363. $ref: '#/definitions/app.Response'
  17364. "500":
  17365. description: Internal Server Error
  17366. schema:
  17367. $ref: '#/definitions/app.Response'
  17368. security:
  17369. - ApiKeyAuth: []
  17370. summary: 添加用户留言板信息
  17371. tags:
  17372. - 用户信息
  17373. /User/AddUserFavoriteGoods:
  17374. post:
  17375. parameters:
  17376. - description: 用户ID
  17377. in: query
  17378. name: userID
  17379. required: true
  17380. type: integer
  17381. - description: 商品ID
  17382. in: query
  17383. name: goodsID
  17384. required: true
  17385. type: integer
  17386. produces:
  17387. - application/json
  17388. responses:
  17389. "200":
  17390. description: OK
  17391. schema:
  17392. $ref: '#/definitions/app.Response'
  17393. "500":
  17394. description: Internal Server Error
  17395. schema:
  17396. $ref: '#/definitions/app.Response'
  17397. security:
  17398. - ApiKeyAuth: []
  17399. summary: 添加用户商品收藏信息
  17400. tags:
  17401. - 用户信息
  17402. /User/GetLoginID:
  17403. get:
  17404. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  17405. parameters:
  17406. - description: 登录代码
  17407. in: query
  17408. name: username
  17409. required: true
  17410. type: string
  17411. produces:
  17412. - application/json
  17413. responses:
  17414. "200":
  17415. description: OK
  17416. schema:
  17417. $ref: '#/definitions/app.Response'
  17418. "500":
  17419. description: Internal Server Error
  17420. schema:
  17421. $ref: '#/definitions/app.Response'
  17422. summary: 获取登录ID
  17423. tags:
  17424. - 用户信息
  17425. /User/GetUserAccount:
  17426. get:
  17427. parameters:
  17428. - description: 用户ID
  17429. in: query
  17430. name: userID
  17431. required: true
  17432. type: integer
  17433. produces:
  17434. - application/json
  17435. responses:
  17436. "200":
  17437. description: OK
  17438. schema:
  17439. $ref: '#/definitions/models.Useraccount'
  17440. "500":
  17441. description: Internal Server Error
  17442. schema:
  17443. $ref: '#/definitions/app.Response'
  17444. security:
  17445. - ApiKeyAuth: []
  17446. summary: 获取用户账号信息
  17447. tags:
  17448. - 用户信息
  17449. /User/GetUserAuthStatus:
  17450. get:
  17451. parameters:
  17452. - description: 用户ID
  17453. in: query
  17454. name: userID
  17455. required: true
  17456. type: integer
  17457. produces:
  17458. - application/json
  17459. responses:
  17460. "200":
  17461. description: OK
  17462. schema:
  17463. $ref: '#/definitions/app.Response'
  17464. "500":
  17465. description: Internal Server Error
  17466. schema:
  17467. $ref: '#/definitions/app.Response'
  17468. security:
  17469. - ApiKeyAuth: []
  17470. summary: 获取用户实名认证状态
  17471. tags:
  17472. - 用户信息
  17473. /User/LoginQuery:
  17474. get:
  17475. parameters:
  17476. - description: 登录账号
  17477. in: query
  17478. name: loginID
  17479. required: true
  17480. type: integer
  17481. produces:
  17482. - application/json
  17483. responses:
  17484. "200":
  17485. description: OK
  17486. schema:
  17487. $ref: '#/definitions/user.LoginQueryRsp'
  17488. "500":
  17489. description: Internal Server Error
  17490. schema:
  17491. $ref: '#/definitions/app.Response'
  17492. security:
  17493. - ApiKeyAuth: []
  17494. summary: 账户登录后信息查询
  17495. tags:
  17496. - 用户信息
  17497. /User/QueryMessageBoard:
  17498. get:
  17499. parameters:
  17500. - description: 用户ID
  17501. in: query
  17502. name: userID
  17503. required: true
  17504. type: integer
  17505. produces:
  17506. - application/json
  17507. responses:
  17508. "200":
  17509. description: OK
  17510. schema:
  17511. $ref: '#/definitions/models.Messageboard'
  17512. "500":
  17513. description: Internal Server Error
  17514. schema:
  17515. $ref: '#/definitions/app.Response'
  17516. security:
  17517. - ApiKeyAuth: []
  17518. summary: 获取用户留言板信息
  17519. tags:
  17520. - 用户信息
  17521. /User/QueryUserFavoriteGoodses:
  17522. get:
  17523. parameters:
  17524. - description: 用户ID
  17525. in: query
  17526. name: userID
  17527. required: true
  17528. type: integer
  17529. produces:
  17530. - application/json
  17531. responses:
  17532. "200":
  17533. description: OK
  17534. schema:
  17535. $ref: '#/definitions/models.Userfavoritegoods'
  17536. "500":
  17537. description: Internal Server Error
  17538. schema:
  17539. $ref: '#/definitions/app.Response'
  17540. security:
  17541. - ApiKeyAuth: []
  17542. summary: 获取用户商品收藏信息
  17543. tags:
  17544. - 用户信息
  17545. /User/QueryUserInfo:
  17546. get:
  17547. parameters:
  17548. - description: 用户ID
  17549. in: query
  17550. name: userID
  17551. required: true
  17552. type: integer
  17553. - description: 是否解密
  17554. in: query
  17555. name: isDecrypt
  17556. type: boolean
  17557. produces:
  17558. - application/json
  17559. responses:
  17560. "200":
  17561. description: OK
  17562. schema:
  17563. $ref: '#/definitions/models.Userinfo'
  17564. "500":
  17565. description: Internal Server Error
  17566. schema:
  17567. $ref: '#/definitions/app.Response'
  17568. security:
  17569. - ApiKeyAuth: []
  17570. summary: 获取用户信息
  17571. tags:
  17572. - 用户信息
  17573. /User/QueryUserReferNum:
  17574. get:
  17575. parameters:
  17576. - description: 用户ID
  17577. in: query
  17578. name: userID
  17579. required: true
  17580. type: integer
  17581. produces:
  17582. - application/json
  17583. responses:
  17584. "200":
  17585. description: OK
  17586. schema:
  17587. $ref: '#/definitions/app.Response'
  17588. "500":
  17589. description: Internal Server Error
  17590. schema:
  17591. $ref: '#/definitions/app.Response'
  17592. summary: 获取用户邀请码
  17593. tags:
  17594. - 用户信息
  17595. /User/RemoveUserFavoriteGoods:
  17596. post:
  17597. parameters:
  17598. - description: 用户ID
  17599. in: query
  17600. name: userID
  17601. required: true
  17602. type: integer
  17603. - description: 商品ID
  17604. in: query
  17605. name: goodsID
  17606. required: true
  17607. type: integer
  17608. produces:
  17609. - application/json
  17610. responses:
  17611. "200":
  17612. description: OK
  17613. schema:
  17614. $ref: '#/definitions/app.Response'
  17615. "500":
  17616. description: Internal Server Error
  17617. schema:
  17618. $ref: '#/definitions/app.Response'
  17619. security:
  17620. - ApiKeyAuth: []
  17621. summary: 移除用户商品收藏信息
  17622. tags:
  17623. - 用户信息
  17624. /User/UpdateUserAccountStatus:
  17625. post:
  17626. parameters:
  17627. - description: 用户ID
  17628. in: query
  17629. name: userID
  17630. required: true
  17631. type: integer
  17632. - description: 账户状态 - 4:正常 6:注销(停用)
  17633. in: query
  17634. name: accountStatus
  17635. required: true
  17636. type: integer
  17637. produces:
  17638. - application/json
  17639. responses:
  17640. "200":
  17641. description: OK
  17642. schema:
  17643. $ref: '#/definitions/app.Response'
  17644. "500":
  17645. description: Internal Server Error
  17646. schema:
  17647. $ref: '#/definitions/app.Response'
  17648. security:
  17649. - ApiKeyAuth: []
  17650. summary: 更新用户状态
  17651. tags:
  17652. - 用户信息
  17653. /WRTrade/GetAllDeliveryGoods:
  17654. get:
  17655. produces:
  17656. - application/json
  17657. - application/json
  17658. responses:
  17659. "200":
  17660. description: OK
  17661. schema:
  17662. $ref: '#/definitions/app.Response'
  17663. "500":
  17664. description: Internal Server Error
  17665. schema:
  17666. $ref: '#/definitions/app.Response'
  17667. security:
  17668. - ApiKeyAuth: []
  17669. - ApiKeyAuth: []
  17670. summary: 获取带仓单分类的种类信息
  17671. tags:
  17672. - 仓单贸易
  17673. - 仓单贸易
  17674. securityDefinitions:
  17675. ApiKeyAuth:
  17676. in: header
  17677. name: Authorization
  17678. type: apiKey
  17679. swagger: "2.0"