swagger.yaml 505 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433
  1. basePath: /api
  2. definitions:
  3. app.Response:
  4. properties:
  5. code:
  6. type: integer
  7. data:
  8. type: object
  9. msg:
  10. type: string
  11. page:
  12. description: 页码
  13. type: integer
  14. pagesize:
  15. description: 每页条数
  16. type: integer
  17. total:
  18. description: 总条数
  19. type: integer
  20. type: object
  21. common.ClientMenu:
  22. properties:
  23. children:
  24. description: 子菜单列表
  25. items:
  26. $ref: '#/definitions/common.ClientMenu'
  27. type: array
  28. code:
  29. description: ID
  30. type: string
  31. isshow:
  32. description: 是否显示
  33. type: boolean
  34. rulekey:
  35. description: 对应权限主键,对应FUNCMENULIST表RESOURCECODE
  36. type: string
  37. sort:
  38. description: 排序
  39. type: integer
  40. title:
  41. description: 标题
  42. type: string
  43. type:
  44. description: 类型,1:菜单 2:按钮
  45. type: integer
  46. type: object
  47. common.QueryImageConfigsRsp:
  48. properties:
  49. areauserid:
  50. description: 所属机构ID
  51. type: integer
  52. configid:
  53. description: 配置ID(SEQ_SZDZ2_IMAGECONFIG)
  54. type: integer
  55. createdate:
  56. description: 创建时间
  57. type: string
  58. creatorid:
  59. description: 创建人
  60. type: integer
  61. imagepath:
  62. description: 图片
  63. type: string
  64. imagetype:
  65. description: 类型 - 1:首页轮播(移动) 2:我的(移动)
  66. type: integer
  67. isshow:
  68. description: 是否展示 - 0:不展示 1:展示
  69. type: integer
  70. marketid:
  71. description: 市场ID
  72. type: integer
  73. modifierid:
  74. description: 操作人
  75. type: integer
  76. sort:
  77. description: 排序
  78. type: integer
  79. title:
  80. description: 标题
  81. type: string
  82. trademode:
  83. description: 交易模式
  84. type: integer
  85. updatedate:
  86. description: 修改时间
  87. type: string
  88. url:
  89. description: 链接(地址或商品ID)
  90. type: string
  91. urltype:
  92. description: 链接类型 - 1:直接地址 2:商品ID
  93. type: integer
  94. required:
  95. - configid
  96. type: object
  97. common.QueryNoticeRsp:
  98. properties:
  99. auditoruserid:
  100. description: 审核人
  101. type: integer
  102. auditremark:
  103. description: 审核备注
  104. type: string
  105. audittime:
  106. description: 审核日期
  107. type: string
  108. autoid:
  109. description: 自增ID
  110. type: integer
  111. content:
  112. description: 内容
  113. type: string
  114. createtime:
  115. description: 创建时间
  116. type: string
  117. creatorid:
  118. description: 建仓人
  119. type: integer
  120. endtime:
  121. description: 结束时间
  122. type: string
  123. istop:
  124. description: 是否置顶 - 0:不置顶 1:置顶
  125. type: integer
  126. msgiconurl:
  127. description: 消息图标Url
  128. type: string
  129. msgtype:
  130. description: 消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知
  131. type: integer
  132. publisher:
  133. description: 消息发布者
  134. type: string
  135. readed:
  136. description: 是否已读
  137. type: boolean
  138. scheduletime:
  139. description: 计划发送时间
  140. type: string
  141. sendtype:
  142. description: 推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)
  143. type: integer
  144. sentstatus:
  145. description: 推送状态 - 0:未推送 1:已推送 2:审核拒绝
  146. type: integer
  147. title:
  148. description: 标题
  149. type: string
  150. userid:
  151. description: 会员/投资者ID推送方式 为 个人时,填写投资者ID
  152. type: integer
  153. required:
  154. - autoid
  155. type: object
  156. common.QueryProvincesAndCitiesRsp:
  157. properties:
  158. cities:
  159. description: 市
  160. items:
  161. $ref: '#/definitions/models.Division'
  162. type: array
  163. province:
  164. $ref: '#/definitions/models.Division'
  165. description: 省
  166. type: object
  167. type: object
  168. common.QueryTableDefineRsp:
  169. properties:
  170. columns:
  171. description: 列头信息数组
  172. items:
  173. $ref: '#/definitions/models.Tablecolumnconfig'
  174. type: array
  175. remark:
  176. description: Remark
  177. type: string
  178. tabelmenu:
  179. description: 列表菜单
  180. type: string
  181. tablekey:
  182. description: 列表Key
  183. type: string
  184. tablename:
  185. description: 列表名称
  186. type: string
  187. tabletype:
  188. description: 列表类型 - 1:管理端 2:终端
  189. type: integer
  190. required:
  191. - tablekey
  192. type: object
  193. common.QueryTraderMenuRsp:
  194. properties:
  195. OperationMenu:
  196. description: 功能菜单
  197. items:
  198. $ref: '#/definitions/models.OperationPrimaryMenu'
  199. type: array
  200. QuoteMenu:
  201. description: 报价牌分类菜单
  202. items:
  203. $ref: '#/definitions/models.QuotePrimaryMenu'
  204. type: array
  205. type: object
  206. cptrade.Cptradepositioncancel:
  207. properties:
  208. accountid:
  209. description: 申请人账户ID
  210. type: integer
  211. applystatus:
  212. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  213. type: integer
  214. applytime:
  215. description: 申请时间
  216. type: string
  217. cancelid:
  218. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  219. type: integer
  220. cancelqty:
  221. description: 注销数量
  222. type: integer
  223. createtime:
  224. description: 创建时间
  225. type: string
  226. creatorid:
  227. description: 创建人ID
  228. type: integer
  229. creatorname:
  230. description: 创建人
  231. type: string
  232. goodscode:
  233. description: 订单商品代码
  234. type: string
  235. goodsid:
  236. description: 商品ID
  237. type: integer
  238. goodsname:
  239. description: 订单商品名称
  240. type: string
  241. goodunit:
  242. description: 报价单位
  243. type: string
  244. handlestatus:
  245. description: 处理状态
  246. type: integer
  247. marketid:
  248. description: 市场ID
  249. type: integer
  250. marketname:
  251. description: 市场名称
  252. type: string
  253. tradedate:
  254. description: 交易日(yyyyMMdd)
  255. type: string
  256. userid:
  257. description: 申请人ID
  258. type: integer
  259. required:
  260. - cancelid
  261. type: object
  262. cptrade.Cptradepresaleapply:
  263. properties:
  264. accountid:
  265. description: 申请人账户ID
  266. type: integer
  267. applyid:
  268. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  269. type: integer
  270. applyremark:
  271. description: 申请备注
  272. type: string
  273. applystatus:
  274. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  275. type: integer
  276. applytime:
  277. description: 申请时间
  278. type: string
  279. attachmenturl:
  280. description: 附件地址
  281. type: string
  282. endtime:
  283. description: 预售结束时间
  284. type: string
  285. goodscode:
  286. description: 商品代码
  287. type: string
  288. goodsid:
  289. description: 商品ID
  290. type: integer
  291. goodsname:
  292. description: 商品名称
  293. type: string
  294. goodunit:
  295. description: 报价单位
  296. type: string
  297. handlestatus:
  298. description: 处理状态
  299. type: integer
  300. marketid:
  301. description: 预售市场ID
  302. type: integer
  303. marketname:
  304. description: 预售市场名称
  305. type: string
  306. presaleqty:
  307. description: 预售数量
  308. type: integer
  309. relatedgoodscode:
  310. description: 关联交易合约代码
  311. type: string
  312. relatedgoodsid:
  313. description: 关联交易合约ID
  314. type: integer
  315. relatedgoodsname:
  316. description: 关联交易合约名称
  317. type: string
  318. starttime:
  319. description: 预售开始时间
  320. type: string
  321. tradedate:
  322. description: 交易日(yyyyMMdd)
  323. type: string
  324. trademode:
  325. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  326. type: integer
  327. userid:
  328. description: 申请人ID
  329. type: integer
  330. required:
  331. - applyid
  332. type: object
  333. cptrade.Cptradeusergoodsdata:
  334. properties:
  335. EnabledQty:
  336. description: 可用量
  337. type: integer
  338. GoodsCode:
  339. description: 订单商品代码
  340. type: string
  341. GoodsName:
  342. description: 订单商品名称
  343. type: string
  344. WRStandardCode:
  345. description: 仓单标准代码
  346. type: string
  347. WRStandardName:
  348. description: 仓单标准名称
  349. type: string
  350. accountid:
  351. description: 账户ID
  352. type: integer
  353. cancelqty:
  354. description: 注销量
  355. type: integer
  356. curpresaleqty:
  357. description: 当前预售量
  358. type: integer
  359. deliveryqty:
  360. description: 交割量
  361. type: integer
  362. freezeamount:
  363. description: 冻结金额
  364. type: number
  365. goodsid:
  366. description: 商品ID
  367. type: integer
  368. goodunit:
  369. description: 报价单位
  370. type: string
  371. hasspotfreeze:
  372. description: 是否有现货冻结 - 0:否 1:有
  373. type: integer
  374. inqty:
  375. description: 转入量(总数量)
  376. type: integer
  377. marketid:
  378. description: 市场ID
  379. type: integer
  380. presaledamount:
  381. description: 已预售总金额
  382. type: integer
  383. presaledqty:
  384. description: 已预售量
  385. type: integer
  386. userid:
  387. description: 用户ID
  388. type: integer
  389. wrstandardid:
  390. description: 仓单标准ID
  391. type: integer
  392. required:
  393. - accountid
  394. - goodsid
  395. type: object
  396. cptrade.QueryCPTradeMyBidRsp:
  397. properties:
  398. accountid:
  399. description: 账户ID[报价币种]
  400. type: integer
  401. goodsid:
  402. description: 商品ID
  403. type: integer
  404. goodunit:
  405. description: 报价单位
  406. type: string
  407. marketid:
  408. description: 市场ID
  409. type: integer
  410. orderid:
  411. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  412. type: integer
  413. orderprice:
  414. description: 委托价格
  415. type: number
  416. orderqty:
  417. description: 委托数量
  418. type: integer
  419. ordertime:
  420. description: 委托时间
  421. type: string
  422. ordertotalprice:
  423. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  424. type: number
  425. ordertotalweight:
  426. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  427. type: integer
  428. totaltotalprice:
  429. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  430. type: number
  431. tradeprice:
  432. description: 成交价格
  433. type: number
  434. tradeqty:
  435. description: 成交数量
  436. type: integer
  437. required:
  438. - accountid
  439. - goodsid
  440. - marketid
  441. - orderid
  442. - orderqty
  443. - ordertime
  444. - tradeprice
  445. - tradeqty
  446. type: object
  447. cptrade.QueryCPTradeOrderDetailRsq:
  448. properties:
  449. accountid:
  450. description: 账户ID[报价币种]
  451. type: integer
  452. buildtype:
  453. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  454. type: integer
  455. buyorsell:
  456. description: 买卖 - 0:买 1:卖
  457. type: integer
  458. cancelorderid:
  459. description: 撤单单号(撤单时填写)
  460. type: integer
  461. cancelqty:
  462. description: 撤单数量
  463. type: integer
  464. clientordertime:
  465. description: 客户端委托时间
  466. type: string
  467. clientticket:
  468. description: 客户端流水号
  469. type: string
  470. clienttype:
  471. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  472. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  473. type: integer
  474. closeexchagechargevalue:
  475. description: 平仓交易所手续费设置值
  476. type: number
  477. closefeealgorithm:
  478. description: 平仓手续费收取方式 1:比率 2:固定
  479. type: integer
  480. closefreezecharge:
  481. description: 平仓冻结手续费(先建后平操作,需要记录)
  482. type: number
  483. closememberchargevalue:
  484. description: 平仓会员手续费设置值
  485. type: number
  486. closeqty:
  487. description: 平仓数量(先建后平操作 需要记录)
  488. type: integer
  489. closetradeqty:
  490. description: 平仓成交数量(先建后平操作,需要记录)
  491. type: integer
  492. closeunfreezecharge:
  493. description: 平仓解冻手续费(先建后平操作,需要记录)
  494. type: number
  495. delistingtype:
  496. description: 摘牌类型 - 1:价格最优 2:点选成交
  497. type: integer
  498. freezecharge:
  499. description: 冻结手续费
  500. type: number
  501. freezemargin:
  502. description: 冻结保证金(冻结交易金额)
  503. type: number
  504. gcaccountid:
  505. description: 账户ID[合约币种]
  506. type: integer
  507. goodsid:
  508. description: 商品ID
  509. type: integer
  510. isconfirmexercise:
  511. description: 是否确认行权- 0:否 1:是
  512. type: integer
  513. ispreexercise:
  514. description: 是否预申报- 0:否 1:是
  515. type: integer
  516. listingselecttype:
  517. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  518. type: integer
  519. marginalgorithm:
  520. description: 保证金收取方式 1:比率 2:固定
  521. type: integer
  522. marginvalue:
  523. description: 即市保证金设置值
  524. type: number
  525. marketid:
  526. description: 市场ID
  527. type: integer
  528. marketmaxsub:
  529. description: 市价最大偏移范围
  530. type: number
  531. memberuserid:
  532. description: 所属会员UserID
  533. type: integer
  534. openexchagechargevalue:
  535. description: 建仓交易所手续费设置值
  536. type: number
  537. openfeealgorithm:
  538. description: 建仓手续费收取方式 1:比率 2:固定
  539. type: integer
  540. openfreezecharge:
  541. description: 开仓冻结手续费(先建后平操作,需要记录)
  542. type: number
  543. openmemberchargevalue:
  544. description: 建仓会员手续费设置值
  545. type: number
  546. openqty:
  547. description: 开仓数量(先建后平操作,需要记录)
  548. type: integer
  549. opentradeqty:
  550. description: 开仓成交数量(先建后平操作,需要记录)
  551. type: integer
  552. openunfreezecharge:
  553. description: 开仓解冻手续费(先建后平操作,需要记录)
  554. type: number
  555. operatetype:
  556. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  557. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  558. 15:管理端协议转让
  559. type: integer
  560. operatorid:
  561. description: 登录账号(LoginID)
  562. type: integer
  563. optiontype:
  564. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  565. type: integer
  566. orderprice:
  567. description: 委托价格
  568. type: number
  569. orderqty:
  570. description: 委托数量
  571. type: integer
  572. ordersrc:
  573. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  574. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  575. type: integer
  576. orderstatus:
  577. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  578. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  579. 16:成交失败违约(荷兰式竞拍专用)
  580. type: integer
  581. ordertime:
  582. description: 委托时间
  583. type: string
  584. preexerciseprice:
  585. description: 预申报价格
  586. type: number
  587. premium:
  588. description: 权利金
  589. type: number
  590. preorderid:
  591. description: 关联预埋单号(止盈止损单时填写)
  592. type: integer
  593. pricemode:
  594. description: '取价方式 - 1:市价 2: 限价'
  595. type: integer
  596. quoteid:
  597. description: 报价单ID
  598. type: integer
  599. relatedid:
  600. description: 关联单号(交割单)
  601. type: integer
  602. retcode:
  603. description: 错误代码
  604. type: integer
  605. sessionid:
  606. description: 会话ID
  607. type: integer
  608. strorderid:
  609. description: 委托单号
  610. type: string
  611. tradedate:
  612. description: 交易日(yyyyMMdd)
  613. type: string
  614. tradeproperty:
  615. description: 交易属性
  616. type: integer
  617. tradeqty:
  618. description: 成交数量
  619. type: integer
  620. unfreezecharge:
  621. description: 解冻手续费
  622. type: number
  623. unfreezemargin:
  624. description: 解冻保证金
  625. type: number
  626. updatetime:
  627. description: 更新时间
  628. type: string
  629. uuid:
  630. description: 发起端唯一id
  631. type: string
  632. validtime:
  633. description: 有效期限
  634. type: string
  635. validtype:
  636. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  637. type: integer
  638. volumetype:
  639. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  640. type: integer
  641. required:
  642. - accountid
  643. - buildtype
  644. - buyorsell
  645. - goodsid
  646. - marketid
  647. - memberuserid
  648. - operatetype
  649. - orderqty
  650. - ordertime
  651. - pricemode
  652. - strorderid
  653. - tradedate
  654. - validtype
  655. type: object
  656. cptrade.QueryMyCPTradeGoodsRsp:
  657. properties:
  658. accountid:
  659. description: 卖方账户ID
  660. type: integer
  661. agreeunit:
  662. description: 合约单位
  663. type: number
  664. applyid:
  665. description: 关联申请ID
  666. type: integer
  667. attachmenturl:
  668. description: 附件地址
  669. type: string
  670. createtime:
  671. description: 创建时间
  672. type: string
  673. currencyid:
  674. description: 报价货币ID
  675. type: integer
  676. decimalplace:
  677. description: 报价小数位
  678. type: integer
  679. endtime:
  680. description: 预售结束时间
  681. type: string
  682. floorprice:
  683. description: 底价[大宗式竞拍]
  684. type: number
  685. goodscode:
  686. description: 商品代码(预售)
  687. type: string
  688. goodsdetail:
  689. description: 详情[大宗]
  690. type: string
  691. goodsid:
  692. description: 商品ID(自增ID SEQ_GOODS)
  693. type: integer
  694. goodsname:
  695. description: 商品名称(预售)
  696. type: string
  697. goodunit:
  698. description: 报价单位
  699. type: string
  700. goodunitid:
  701. description: 报价单位ID
  702. type: integer
  703. marketid:
  704. description: 所属市场ID
  705. type: integer
  706. marketname:
  707. description: 预售市场名称
  708. type: string
  709. presaledamount:
  710. description: 已预售总金额(预售结束时更新)
  711. type: number
  712. presaledqty:
  713. description: 已预售量(预售结束时更新)
  714. type: integer
  715. presalemode:
  716. description: 预售模式 - 1:一口价 2:大宗式竞拍
  717. type: integer
  718. presaleqty:
  719. description: 预售数量
  720. type: integer
  721. refprice:
  722. description: 参考价格[一口价]
  723. type: number
  724. relatedgoodscode:
  725. description: 商品代码(订单)
  726. type: string
  727. relatedgoodsid:
  728. description: 关联交易合约ID
  729. type: integer
  730. relatedgoodsname:
  731. description: 商品名称(订单)
  732. type: string
  733. relatedmarketid:
  734. description: 关联交易合约市场ID
  735. type: integer
  736. sellstatus:
  737. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  738. type: integer
  739. startprice:
  740. description: 起拍价[大宗式竞拍]
  741. type: number
  742. starttime:
  743. description: 预售开始时间
  744. type: string
  745. tradedate:
  746. description: 交易日(yyyyMMdd)
  747. type: string
  748. tradeprice:
  749. description: 成交价[大宗]
  750. type: number
  751. userid:
  752. description: 卖方用户ID
  753. type: integer
  754. required:
  755. - goodscode
  756. - goodsid
  757. - goodsname
  758. - marketid
  759. - relatedgoodscode
  760. - relatedgoodsname
  761. type: object
  762. cptrade.QueryPresaleGoodsExRsp:
  763. properties:
  764. attachmenturl:
  765. description: 附件地址
  766. type: string
  767. createtime:
  768. description: 创建时间
  769. type: string
  770. endtime:
  771. description: 预售结束时间
  772. type: string
  773. floorprice:
  774. description: 底价[大宗式竞拍]
  775. type: number
  776. goodsdetail:
  777. description: 详情[大宗]
  778. type: string
  779. goodsid:
  780. description: 商品ID(预售)
  781. type: integer
  782. goodunit:
  783. description: 报价单位
  784. type: string
  785. marketid:
  786. description: 预售市场ID - 根据预售模式选择市场
  787. type: integer
  788. presaledamount:
  789. description: 已预售总金额(预售结束时更新)
  790. type: number
  791. presaledqty:
  792. description: 已预售量(预售结束时更新)
  793. type: integer
  794. presalemode:
  795. description: 预售模式 - 1:一口价 2:大宗式竞拍
  796. type: integer
  797. presaleqty:
  798. description: 预售数量
  799. type: integer
  800. refprice:
  801. description: 参考价格[一口价]
  802. type: number
  803. relatedgoodsid:
  804. description: 关联交易合约ID
  805. type: integer
  806. relatedmarketid:
  807. description: 关联交易合约市场ID
  808. type: integer
  809. sellstatus:
  810. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  811. type: integer
  812. startprice:
  813. description: 起拍价[大宗式竞拍]
  814. type: number
  815. starttime:
  816. description: 预售开始时间
  817. type: string
  818. tradedate:
  819. description: 交易日(yyyyMMdd)
  820. type: string
  821. tradeprice:
  822. description: 成交价[大宗]
  823. type: number
  824. required:
  825. - goodsid
  826. type: object
  827. delivery.QueryDeliveryRelationRsp:
  828. properties:
  829. begindate:
  830. description: 起始日期(yyyyMMdd)
  831. type: string
  832. buytemplateid:
  833. description: 买履约计划模板ID
  834. type: integer
  835. deliverygoodscode:
  836. description: 品种代码
  837. type: string
  838. deliverygoodsid:
  839. description: 交割商品
  840. type: integer
  841. deliverygoodsname:
  842. description: 品种名称
  843. type: string
  844. deliverymode:
  845. description: 交割方式 - 1:点选式 2:申报式
  846. type: integer
  847. deliverypricerule:
  848. description: 交割价规则- 1:行情价 2:建仓价
  849. type: integer
  850. deliverytype:
  851. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  852. type: integer
  853. enddate:
  854. description: 结束日期(yyyyMMdd)
  855. type: string
  856. goodscode:
  857. description: 商品代码
  858. type: string
  859. goodsid:
  860. description: 交易合约ID
  861. type: integer
  862. goodsname:
  863. description: 商品名称
  864. type: string
  865. marketid:
  866. description: 市场ID
  867. type: integer
  868. mindeliveryqty:
  869. description: 最小交割系数(K)
  870. type: integer
  871. p2deliveryprice:
  872. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  873. type: number
  874. p2deliveryratio:
  875. description: P2合约系数(p)
  876. type: integer
  877. p2goodsid:
  878. description: P2合约ID
  879. type: integer
  880. p2pricemode:
  881. description: P2合约价格方式 - 1:商品价 2:固定值
  882. type: integer
  883. pdeliveryprice:
  884. description: P合约价格(商品价时填写0,固定值时填写固定值)
  885. type: number
  886. pdeliveryratio:
  887. description: P合约系数(n)
  888. type: integer
  889. pgoodsid:
  890. description: P合约ID
  891. type: integer
  892. ppricemode:
  893. description: P合约价格方式 - 1:商品价 2:固定值
  894. type: integer
  895. rratio:
  896. description: 兑换系数(R)
  897. type: integer
  898. rratio1:
  899. description: 兑换系数(交易合约)(R1)
  900. type: integer
  901. rratio2:
  902. description: 兑换系数(仓单标准)(R2)
  903. type: integer
  904. selltemplateid:
  905. description: 卖履约计划模板ID
  906. type: integer
  907. wrstandardid:
  908. description: 仓单标准ID
  909. type: integer
  910. xdeliveryratio:
  911. description: 交易合约系数(m)
  912. type: integer
  913. required:
  914. - begindate
  915. - enddate
  916. - goodsid
  917. - mindeliveryqty
  918. - xdeliveryratio
  919. type: object
  920. ermcp.ExposureDetailRsp:
  921. $ref: '#/definitions/models.ErmcpExposureDetailModel'
  922. ermcp.ExposureHedgePosDetailRsp:
  923. $ref: '#/definitions/models.ErmcpHedgePositionDetail'
  924. ermcp.ExposureHedgePositionRsp:
  925. $ref: '#/definitions/models.ErmcpHedgePosition'
  926. ermcp.ExposureSpotDetailRsp:
  927. $ref: '#/definitions/models.ErmcpAreaSpotDetailModel'
  928. ermcp.ExposureSpotRsp:
  929. $ref: '#/definitions/models.AreaSpotModel'
  930. ermcp.HisExposureRsp:
  931. $ref: '#/definitions/models.ErmcpHisExposureS'
  932. ermcp.PendingAuditCntRsp:
  933. $ref: '#/definitions/models.ErmcpPendingAudit'
  934. ermcp.QryAreaStockApplyRsp:
  935. $ref: '#/definitions/models.ErmcpAreaStockApply'
  936. ermcp.QryAvalidGPRsp:
  937. $ref: '#/definitions/models.ErmcpAvalidGoodsGroupModel'
  938. ermcp.QryBusinessDjRsp:
  939. properties:
  940. amount:
  941. description: 点价金额=(点价价格+升贴水)*点价数量
  942. type: number
  943. applyid:
  944. description: 申请人
  945. type: string
  946. applyname:
  947. description: 申请人名称
  948. type: string
  949. applystatus:
  950. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  951. type: integer
  952. applytime:
  953. description: 申请时间
  954. type: string
  955. attachurl:
  956. description: 附件
  957. type: string
  958. auditid:
  959. description: 审核人ID
  960. type: string
  961. auditname:
  962. description: 审核人名称
  963. type: string
  964. audittime:
  965. description: 审核时间
  966. type: string
  967. buyusername:
  968. description: 采购方名称
  969. type: string
  970. contractno:
  971. description: 合同编号
  972. type: string
  973. contractstatus:
  974. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  975. type: integer
  976. contracttype:
  977. description: 现货合同类型 - 1:采购 -1:销售
  978. type: integer
  979. deliverygoodscode:
  980. description: 现货品种代码
  981. type: string
  982. deliverygoodsid:
  983. description: 现货商品ID
  984. type: integer
  985. deliverygoodsname:
  986. description: 现货品种名称
  987. type: string
  988. enumdicname:
  989. description: 单位名称
  990. type: string
  991. goodscode:
  992. description: 点价合约
  993. type: string
  994. goodsname:
  995. description: 商品名称
  996. type: string
  997. operateapplyid:
  998. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  999. type: string
  1000. operateapplytype:
  1001. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1002. type: integer
  1003. pricedPrice:
  1004. description: 点价价格(非必填)
  1005. type: number
  1006. pricedQty:
  1007. description: 点价数量(非必填)
  1008. type: number
  1009. pricemove:
  1010. description: 升贴水
  1011. type: number
  1012. pricetype:
  1013. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1014. type: integer
  1015. relatedid:
  1016. description: 现货合同ID
  1017. type: string
  1018. sellusername:
  1019. description: 销售方名字
  1020. type: string
  1021. userid:
  1022. description: 用户ID
  1023. type: integer
  1024. wrstandardcode:
  1025. description: 品类代码
  1026. type: string
  1027. wrstandardid:
  1028. description: 品类id
  1029. type: integer
  1030. wrstandardname:
  1031. description: 品类名称
  1032. type: string
  1033. type: object
  1034. ermcp.QryBussinessFpRsp:
  1035. properties:
  1036. applyid:
  1037. description: 申请人
  1038. type: string
  1039. applyname:
  1040. description: 申请人名称
  1041. type: string
  1042. applystatus:
  1043. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1044. type: integer
  1045. applytime:
  1046. description: 申请时间
  1047. type: string
  1048. attachurl:
  1049. description: 附件
  1050. type: string
  1051. auditid:
  1052. description: 审核人ID
  1053. type: string
  1054. auditname:
  1055. description: 审核人名称
  1056. type: string
  1057. audittime:
  1058. description: 审核时间
  1059. type: string
  1060. buyusername:
  1061. description: 采购方名称
  1062. type: string
  1063. contractno:
  1064. description: 合同编号
  1065. type: string
  1066. contractstatus:
  1067. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1068. type: integer
  1069. contracttype:
  1070. description: 现货合同类型 - 1:采购 -1:销售
  1071. type: integer
  1072. deliverygoodscode:
  1073. description: 现货品种代码
  1074. type: string
  1075. deliverygoodsid:
  1076. description: 现货商品ID
  1077. type: integer
  1078. deliverygoodsname:
  1079. description: 现货品种名称
  1080. type: string
  1081. enumdicname:
  1082. description: 单位名称
  1083. type: string
  1084. goodscode:
  1085. description: 点价合约
  1086. type: string
  1087. goodsname:
  1088. description: 商品名称
  1089. type: string
  1090. invoiceAmount:
  1091. description: 已开收票金额(销售为开票,采购为收票)
  1092. type: number
  1093. operateapplyid:
  1094. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1095. type: string
  1096. operateapplytype:
  1097. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1098. type: integer
  1099. pricemove:
  1100. description: 升贴水
  1101. type: number
  1102. pricetype:
  1103. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1104. type: integer
  1105. relatedid:
  1106. description: 现货合同ID
  1107. type: string
  1108. sellusername:
  1109. description: 销售方名字
  1110. type: string
  1111. userid:
  1112. description: 用户ID
  1113. type: integer
  1114. wrstandardcode:
  1115. description: 品类代码
  1116. type: string
  1117. wrstandardid:
  1118. description: 品类id
  1119. type: integer
  1120. wrstandardname:
  1121. description: 品类名称
  1122. type: string
  1123. type: object
  1124. ermcp.QryBussinessJsExRsp:
  1125. properties:
  1126. applyid:
  1127. description: 申请人
  1128. type: string
  1129. applyname:
  1130. description: 申请人名称
  1131. type: string
  1132. applystatus:
  1133. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1134. type: integer
  1135. applytime:
  1136. description: 申请时间
  1137. type: string
  1138. attachurl:
  1139. description: 附件
  1140. type: string
  1141. auditid:
  1142. description: 审核人ID
  1143. type: string
  1144. auditname:
  1145. description: 审核人名称
  1146. type: string
  1147. audittime:
  1148. description: 审核时间
  1149. type: string
  1150. buyusername:
  1151. description: 采购方名称
  1152. type: string
  1153. contractno:
  1154. description: 合同编号
  1155. type: string
  1156. contractstatus:
  1157. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1158. type: integer
  1159. contracttype:
  1160. description: 现货合同类型 - 1:采购 -1:销售
  1161. type: integer
  1162. deliverygoodscode:
  1163. description: 现货品种代码
  1164. type: string
  1165. deliverygoodsid:
  1166. description: 现货商品ID
  1167. type: integer
  1168. deliverygoodsname:
  1169. description: 现货品种名称
  1170. type: string
  1171. enumdicname:
  1172. description: 单位名称
  1173. type: string
  1174. goodscode:
  1175. description: 点价合约
  1176. type: string
  1177. goodsname:
  1178. description: 商品名称
  1179. type: string
  1180. operateapplyid:
  1181. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1182. type: string
  1183. operateapplytype:
  1184. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1185. type: integer
  1186. pricemove:
  1187. description: 升贴水
  1188. type: number
  1189. pricetype:
  1190. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1191. type: integer
  1192. reckontype:
  1193. description: 结算类型
  1194. type: string
  1195. reckonvalue:
  1196. description: 值
  1197. type: number
  1198. relatedid:
  1199. description: 现货合同ID
  1200. type: string
  1201. sellusername:
  1202. description: 销售方名字
  1203. type: string
  1204. userid:
  1205. description: 用户ID
  1206. type: integer
  1207. wrstandardcode:
  1208. description: 品类代码
  1209. type: string
  1210. wrstandardid:
  1211. description: 品类id
  1212. type: integer
  1213. wrstandardname:
  1214. description: 品类名称
  1215. type: string
  1216. type: object
  1217. ermcp.QryBussinessJsRsp:
  1218. properties:
  1219. addmargin:
  1220. description: 追加保证金(非必填)
  1221. type: number
  1222. applyid:
  1223. description: 申请人
  1224. type: string
  1225. applyname:
  1226. description: 申请人名称
  1227. type: string
  1228. applystatus:
  1229. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1230. type: integer
  1231. applytime:
  1232. description: 申请时间
  1233. type: string
  1234. attachurl:
  1235. description: 附件
  1236. type: string
  1237. auditid:
  1238. description: 审核人ID
  1239. type: string
  1240. auditname:
  1241. description: 审核人名称
  1242. type: string
  1243. audittime:
  1244. description: 审核时间
  1245. type: string
  1246. buyusername:
  1247. description: 采购方名称
  1248. type: string
  1249. contractno:
  1250. description: 合同编号
  1251. type: string
  1252. contractstatus:
  1253. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1254. type: integer
  1255. contracttype:
  1256. description: 现货合同类型 - 1:采购 -1:销售
  1257. type: integer
  1258. decmargin:
  1259. description: 减少保证金(非必填)
  1260. type: number
  1261. deliverygoodscode:
  1262. description: 现货品种代码
  1263. type: string
  1264. deliverygoodsid:
  1265. description: 现货商品ID
  1266. type: integer
  1267. deliverygoodsname:
  1268. description: 现货品种名称
  1269. type: string
  1270. enumdicname:
  1271. description: 单位名称
  1272. type: string
  1273. goodscode:
  1274. description: 点价合约
  1275. type: string
  1276. goodsname:
  1277. description: 商品名称
  1278. type: string
  1279. operateapplyid:
  1280. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1281. type: string
  1282. operateapplytype:
  1283. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1284. type: integer
  1285. pricemove:
  1286. description: 升贴水
  1287. type: number
  1288. pricetype:
  1289. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1290. type: integer
  1291. reckonadjustamount:
  1292. description: 结算调整金额(非必填)
  1293. type: number
  1294. reckonosamount:
  1295. description: 结算溢短金额(非必填)
  1296. type: number
  1297. reckonotheramount:
  1298. description: 结算其他费用(非必填)
  1299. type: number
  1300. reckonrealqty:
  1301. description: 结算实际数量(非必填)
  1302. type: number
  1303. relatedid:
  1304. description: 现货合同ID
  1305. type: string
  1306. sellusername:
  1307. description: 销售方名字
  1308. type: string
  1309. userid:
  1310. description: 用户ID
  1311. type: integer
  1312. wrstandardcode:
  1313. description: 品类代码
  1314. type: string
  1315. wrstandardid:
  1316. description: 品类id
  1317. type: integer
  1318. wrstandardname:
  1319. description: 品类名称
  1320. type: string
  1321. type: object
  1322. ermcp.QryBussinessKxRsp:
  1323. properties:
  1324. applyid:
  1325. description: 申请人
  1326. type: string
  1327. applyname:
  1328. description: 申请人名称
  1329. type: string
  1330. applystatus:
  1331. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1332. type: integer
  1333. applytime:
  1334. description: 申请时间
  1335. type: string
  1336. attachurl:
  1337. description: 附件
  1338. type: string
  1339. auditid:
  1340. description: 审核人ID
  1341. type: string
  1342. auditname:
  1343. description: 审核人名称
  1344. type: string
  1345. audittime:
  1346. description: 审核时间
  1347. type: string
  1348. buyusername:
  1349. description: 采购方名称
  1350. type: string
  1351. contractno:
  1352. description: 合同编号
  1353. type: string
  1354. contractstatus:
  1355. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1356. type: integer
  1357. contracttype:
  1358. description: 现货合同类型 - 1:采购 -1:销售
  1359. type: integer
  1360. deductamount:
  1361. description: 退款(非必填)
  1362. type: number
  1363. deliverygoodscode:
  1364. description: 现货品种代码
  1365. type: string
  1366. deliverygoodsid:
  1367. description: 现货商品ID
  1368. type: integer
  1369. deliverygoodsname:
  1370. description: 现货品种名称
  1371. type: string
  1372. enumdicname:
  1373. description: 单位名称
  1374. type: string
  1375. goodscode:
  1376. description: 点价合约
  1377. type: string
  1378. goodsname:
  1379. description: 商品名称
  1380. type: string
  1381. kxtype:
  1382. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1383. type: integer
  1384. operateapplyid:
  1385. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1386. type: string
  1387. operateapplytype:
  1388. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1389. type: integer
  1390. payamount:
  1391. description: 收付款(非必填)
  1392. type: number
  1393. pricemove:
  1394. description: 升贴水
  1395. type: number
  1396. pricetype:
  1397. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1398. type: integer
  1399. relatedid:
  1400. description: 现货合同ID
  1401. type: string
  1402. sellusername:
  1403. description: 销售方名字
  1404. type: string
  1405. userid:
  1406. description: 用户ID
  1407. type: integer
  1408. wrstandardcode:
  1409. description: 品类代码
  1410. type: string
  1411. wrstandardid:
  1412. description: 品类id
  1413. type: integer
  1414. wrstandardname:
  1415. description: 品类名称
  1416. type: string
  1417. type: object
  1418. ermcp.QryErmcpRsp:
  1419. $ref: '#/definitions/models.ErmcpModel'
  1420. ermcp.QryGGCovertCfgRsp:
  1421. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  1422. ermcp.QryHedgePlanRsp:
  1423. $ref: '#/definitions/models.ErmcpHedgePlan'
  1424. ermcp.QryMGChangeLogRsp:
  1425. $ref: '#/definitions/models.ErmcpMiddleGoodsChangeLog'
  1426. ermcp.QryMiddleGoodsDetailRsp:
  1427. $ref: '#/definitions/models.ErmcpMiddleGoodsDetail'
  1428. ermcp.QryMiddleGoodsRsp:
  1429. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  1430. ermcp.QryOPLogRsp:
  1431. $ref: '#/definitions/models.ErmcpOPLogModel'
  1432. ermcp.QryReportDaySpotDetailRsp:
  1433. $ref: '#/definitions/models.ErmcpReportOPLog'
  1434. ermcp.QryReportExposureDayRsp:
  1435. $ref: '#/definitions/models.ErmcpReportDayExposure'
  1436. ermcp.QryReportFinanceDayRsp:
  1437. $ref: '#/definitions/models.ErmcpReportDayFR'
  1438. ermcp.QryReportFinanceKxRsp:
  1439. $ref: '#/definitions/models.ErmcpReportOPLog'
  1440. ermcp.QryReportFinanceMonRsp:
  1441. $ref: '#/definitions/models.ErmcpReportMonthFR'
  1442. ermcp.QryReportSpotDayRsp:
  1443. $ref: '#/definitions/models.ErmcpReportDaySpot'
  1444. ermcp.QryReportSpotMonRsp:
  1445. $ref: '#/definitions/models.ErmcpReportMonSpot'
  1446. ermcp.QryReportSpotMonthDetailRsp:
  1447. $ref: '#/definitions/models.ErmcpReportDaySpot'
  1448. ermcp.QrySpotContractRsp:
  1449. $ref: '#/definitions/models.ErmcpSpotContractModel'
  1450. ermcp.QryUserInfoRsp:
  1451. $ref: '#/definitions/models.ErmcpUserModel'
  1452. ermcp.QryWarehouseRsp:
  1453. $ref: '#/definitions/models.ErmcpWareHouseInfo'
  1454. ermcp.QryWrStandardDetailRsp:
  1455. $ref: '#/definitions/models.ErmcpWrstandDetail'
  1456. ermcp.QryWrStandardRsp:
  1457. $ref: '#/definitions/models.ErmcpWrstandard'
  1458. ermcp.QueryAreaStockApplySumRsp:
  1459. $ref: '#/definitions/models.ErmcpAreaStockApplySum'
  1460. ermcp.QueryErmcpTradePositionRsp:
  1461. properties:
  1462. agreeunit:
  1463. description: 合约单位
  1464. type: number
  1465. buyorsell:
  1466. description: 方向 - 0:买 1:卖
  1467. type: integer
  1468. curpositionqty:
  1469. description: 持仓(总仓数量, 期末头寸)
  1470. type: integer
  1471. curtdposition:
  1472. description: 今仓数量(期末今日头寸)
  1473. type: integer
  1474. curtdpositionenabled:
  1475. description: 今仓可用
  1476. type: integer
  1477. decimalplace:
  1478. description: 报价小数位
  1479. type: integer
  1480. enableqty:
  1481. description: 可用(总仓可用)
  1482. type: integer
  1483. exexchangename:
  1484. description: 外部交易所名称
  1485. type: string
  1486. goodscode:
  1487. description: 商品代码(内部)
  1488. type: string
  1489. goodsid:
  1490. description: 商品ID(自增ID SEQ_GOODS)
  1491. type: integer
  1492. goodsname:
  1493. description: 商品名称
  1494. type: string
  1495. last:
  1496. description: 现价
  1497. type: number
  1498. marketid:
  1499. description: 所属市场ID
  1500. type: integer
  1501. openaverageprice:
  1502. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  1503. type: number
  1504. opencost:
  1505. description: 开仓成本
  1506. type: number
  1507. openpl:
  1508. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向
  1509. = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  1510. type: number
  1511. outgoodscode:
  1512. description: 商品代码(外部)
  1513. type: string
  1514. positionaverageprice:
  1515. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  1516. type: number
  1517. positioncost:
  1518. description: 持仓成本
  1519. type: number
  1520. positionpl:
  1521. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向
  1522. = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  1523. type: number
  1524. positionplrate:
  1525. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  1526. type: number
  1527. usedmargin:
  1528. description: 占用保证金
  1529. type: number
  1530. type: object
  1531. ermcp.RealtimeExposurePositionRsp:
  1532. $ref: '#/definitions/models.ErmcpExposurePostion'
  1533. ermcp.RealtimeExposureRsp:
  1534. $ref: '#/definitions/models.ErmcpRealExposureModel'
  1535. erms2.QueryArbitrageStrategyRsp:
  1536. properties:
  1537. applybasis:
  1538. description: 申请基差
  1539. type: number
  1540. asapplyid:
  1541. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  1542. type: string
  1543. asname:
  1544. description: 策略名称
  1545. type: string
  1546. asno:
  1547. description: 策略编号
  1548. type: string
  1549. basischangepl:
  1550. description: 基差变动损益[结算更新]
  1551. type: number
  1552. biztype:
  1553. description: 业务类型 - 1:正向套利 -1:反向套利
  1554. type: integer
  1555. closetradedate:
  1556. description: 完结交易日(yyyyMMdd)
  1557. type: string
  1558. curbasis:
  1559. description: 当前基差[结算更新]
  1560. type: number
  1561. deliverygoodsid:
  1562. description: 现货品种ID
  1563. type: integer
  1564. futureavgprice:
  1565. description: 期货建仓均价
  1566. type: number
  1567. futurecloseamount:
  1568. description: 期货平仓金额
  1569. type: number
  1570. futurecloseqty:
  1571. description: 期货平仓数量
  1572. type: number
  1573. futureopenamount:
  1574. description: 期货开仓金额
  1575. type: number
  1576. futureopenqty:
  1577. description: 期货开仓数量
  1578. type: number
  1579. futurepl:
  1580. description: 期货总盈亏[结算更新]
  1581. type: number
  1582. futureqty:
  1583. description: 期货持仓数量
  1584. type: number
  1585. futurequote:
  1586. description: 期货额度
  1587. type: number
  1588. goodsgroupid:
  1589. description: 期货品种ID
  1590. type: integer
  1591. marketid:
  1592. description: 市场ID
  1593. type: integer
  1594. netexposure:
  1595. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  1596. type: number
  1597. netexposurepl:
  1598. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  1599. type: number
  1600. netexposurerate:
  1601. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  1602. type: number
  1603. openbasis:
  1604. description: 建仓基差
  1605. type: number
  1606. pricedspotqty:
  1607. description: 已定价现货数量
  1608. type: number
  1609. pricedspotqtynotax:
  1610. description: 已定价现货不含税数量
  1611. type: number
  1612. remark:
  1613. description: 备注
  1614. type: string
  1615. spotavgprice:
  1616. description: 现货均价
  1617. type: number
  1618. spotbuyamount:
  1619. description: 现货采购金额
  1620. type: number
  1621. spotbuyqty:
  1622. description: 现货采购数量
  1623. type: number
  1624. spotpl:
  1625. description: 现货总盈亏[结算更新]
  1626. type: number
  1627. spotquota:
  1628. description: 现货额度
  1629. type: number
  1630. spotsellamount:
  1631. description: 现货销售金额
  1632. type: number
  1633. spotsellqty:
  1634. description: 现货销售数量
  1635. type: number
  1636. spotusedquota:
  1637. description: 现货占用资金
  1638. type: number
  1639. strategystatus:
  1640. description: 策略状态 - 0:未结束 1:已结束
  1641. type: integer
  1642. totalpl:
  1643. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  1644. type: number
  1645. tradedate:
  1646. description: 交易日(yyyyMMdd)
  1647. type: string
  1648. updatetime:
  1649. description: 更新时间
  1650. type: string
  1651. usedquota:
  1652. description: 已占用资金
  1653. type: number
  1654. userid:
  1655. description: 所属机构
  1656. type: integer
  1657. required:
  1658. - asapplyid
  1659. type: object
  1660. erms2.QueryInnerTradeDetailRsp:
  1661. properties:
  1662. accountid:
  1663. description: 账号ID
  1664. type: integer
  1665. agreeunit:
  1666. description: 合约单位
  1667. type: number
  1668. asapplyid:
  1669. description: 策略申请ID
  1670. type: integer
  1671. asname:
  1672. description: 策略名称
  1673. type: string
  1674. asno:
  1675. description: 策略编号
  1676. type: string
  1677. buyorsell:
  1678. description: 方向 - 0:买 1:卖
  1679. type: integer
  1680. channelbuildtype:
  1681. description: 委托单据类型 0:无 1:建仓 2:平仓
  1682. type: integer
  1683. closetype:
  1684. description: 平仓方式 - 0:无 1:平今 2:平昨
  1685. type: integer
  1686. decimalplace:
  1687. description: 报价小数位
  1688. type: integer
  1689. detailtype:
  1690. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  1691. type: integer
  1692. exexchangecode:
  1693. description: 外部交易所代码
  1694. type: string
  1695. exexchangename:
  1696. description: 外部交易所名称
  1697. type: string
  1698. goodscode:
  1699. description: 商品代码(合约)
  1700. type: string
  1701. goodsgroupid:
  1702. description: 商品组ID(品种ID)
  1703. type: integer
  1704. goodsgroupname:
  1705. description: 商品组名称(品种)
  1706. type: string
  1707. goodsid:
  1708. description: 商品ID
  1709. type: integer
  1710. goodsname:
  1711. description: 商品名称(合约)
  1712. type: string
  1713. goodunit:
  1714. description: 报价单位
  1715. type: string
  1716. marketid:
  1717. description: 市场ID
  1718. type: integer
  1719. orderid:
  1720. description: 委托单号
  1721. type: string
  1722. outgoodscode:
  1723. description: 商品代码(外部)
  1724. type: string
  1725. relatedouttradeid:
  1726. description: 关联外部成交单ID
  1727. type: string
  1728. remark:
  1729. description: 备注
  1730. type: string
  1731. spotcontractid:
  1732. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  1733. type: integer
  1734. spotcontractno:
  1735. description: 现货合同编号
  1736. type: string
  1737. tradeid:
  1738. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  1739. type: string
  1740. tradeprice:
  1741. description: 成交价格
  1742. type: number
  1743. tradeqty:
  1744. description: 成交数量
  1745. type: integer
  1746. tradetime:
  1747. description: 成交时间
  1748. type: string
  1749. updatetime:
  1750. description: 更新时间
  1751. type: string
  1752. required:
  1753. - asapplyid
  1754. - buyorsell
  1755. - goodscode
  1756. - goodsgroupid
  1757. - goodsgroupname
  1758. - goodsname
  1759. - tradeid
  1760. type: object
  1761. erms2.QuerySpotContractRsp:
  1762. properties:
  1763. accountid:
  1764. description: 资金账户ID
  1765. type: integer
  1766. areauserid:
  1767. description: 所属机构
  1768. type: integer
  1769. closedate:
  1770. description: 终止日期
  1771. type: string
  1772. closeremark:
  1773. description: 结束备注
  1774. type: string
  1775. closetradedate:
  1776. description: 完结交易日(yyyyMMdd)
  1777. type: string
  1778. closetype:
  1779. description: 终止类型 - 1:违约 2:提前终止
  1780. type: integer
  1781. contractamount:
  1782. description: 合同金额
  1783. type: number
  1784. contractattachment:
  1785. description: 合同附件
  1786. type: string
  1787. contractno:
  1788. description: 现货合同编号
  1789. type: string
  1790. contractqty:
  1791. description: 合同数量(数值) (用于计算)
  1792. type: number
  1793. contractqtychar:
  1794. description: 合同数量\已订价数量 (用于显示)
  1795. type: string
  1796. contractstatus:
  1797. description: 合同状态 - 0:未结束 1:已结束
  1798. type: integer
  1799. contracttype:
  1800. description: 现货合同类型 - 1:采购合同 -1:销售合同
  1801. type: integer
  1802. customeraccountid:
  1803. description: 客户资金账户ID
  1804. type: integer
  1805. customeruserid:
  1806. description: 客户ID
  1807. type: integer
  1808. deliverygoodsdesc:
  1809. description: 品种说明
  1810. type: string
  1811. deliverygoodsid:
  1812. description: 现货品种ID
  1813. type: integer
  1814. handlestatus:
  1815. description: 处理状态
  1816. type: integer
  1817. invoiceatt:
  1818. description: 发票附件
  1819. type: string
  1820. invoicedatetime:
  1821. description: 开收票更新时间
  1822. type: string
  1823. invoiceopentime:
  1824. description: 开票时间
  1825. type: string
  1826. invoiceremark:
  1827. description: 发票备注
  1828. type: string
  1829. invoicestatus:
  1830. description: 开收票状态 - 0:未开票 1:已开票
  1831. type: integer
  1832. lastdate:
  1833. description: 交货时间
  1834. type: string
  1835. marketid:
  1836. description: 市场ID
  1837. type: integer
  1838. paydatetime:
  1839. description: 收付款更新时间
  1840. type: string
  1841. payremark:
  1842. description: 收付款备注
  1843. type: string
  1844. paystatus:
  1845. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  1846. type: integer
  1847. positionqty:
  1848. description: 头寸数量 - 合同数量去小数部分
  1849. type: integer
  1850. producttype:
  1851. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  1852. type: integer
  1853. relatedqty:
  1854. description: 已关联数量
  1855. type: number
  1856. relatedstatus:
  1857. description: 关联完结状态 - 0:未结束 1:已结束
  1858. type: integer
  1859. remark:
  1860. description: 备注
  1861. type: string
  1862. signdate:
  1863. description: 签订日期
  1864. type: string
  1865. spotcontractid:
  1866. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  1867. type: string
  1868. spotdatetime:
  1869. description: 收发货更新时间
  1870. type: string
  1871. spotprice:
  1872. description: 价格
  1873. type: number
  1874. spotremark:
  1875. description: 收发货备注
  1876. type: string
  1877. spotstatus:
  1878. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  1879. type: integer
  1880. tradedate:
  1881. description: 交易日(yyyyMMdd)
  1882. type: string
  1883. userid:
  1884. description: 业务员用户ID
  1885. type: integer
  1886. warehouseid:
  1887. description: 仓库ID
  1888. type: integer
  1889. wrfactortypeid:
  1890. description: 仓单要素类型ID
  1891. type: integer
  1892. wrstandardid:
  1893. description: 仓单标准ID(SEQ_WRSTANDARD)
  1894. type: integer
  1895. required:
  1896. - spotcontractid
  1897. type: object
  1898. erms3.AddErms2ASApplyReq:
  1899. properties:
  1900. applybasis:
  1901. description: 申请基差
  1902. type: number
  1903. applystatus:
  1904. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  1905. type: integer
  1906. asapplyid:
  1907. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  1908. type: integer
  1909. asname:
  1910. description: 策略名称
  1911. type: string
  1912. asno:
  1913. description: 策略编号
  1914. type: string
  1915. auditid:
  1916. description: 审核人
  1917. type: integer
  1918. auditremark:
  1919. description: 审核备注
  1920. type: string
  1921. audittime:
  1922. description: 审核时间
  1923. type: string
  1924. biztype:
  1925. description: 业务类型 - 1:正向套利 2:反向套利
  1926. type: integer
  1927. createtime:
  1928. description: 创建时间
  1929. type: string
  1930. creatorid:
  1931. description: 创建人
  1932. type: integer
  1933. deliverygoodsid:
  1934. description: 现货品种ID
  1935. type: integer
  1936. futurequote:
  1937. description: 期货额度
  1938. type: number
  1939. goodsgroupid:
  1940. description: 期货品种ID
  1941. type: integer
  1942. marketid:
  1943. description: 市场ID
  1944. type: integer
  1945. remark:
  1946. description: 备注
  1947. type: string
  1948. spotquota:
  1949. description: 现货额度
  1950. type: number
  1951. tradedate:
  1952. description: 交易日(yyyyMMdd)
  1953. type: string
  1954. userid:
  1955. description: 所属机构
  1956. type: integer
  1957. required:
  1958. - asapplyid
  1959. type: object
  1960. erms3.AddErms2SpotTradeApplyReq:
  1961. properties:
  1962. applyjsondetail:
  1963. description: 申请明细(JSON)
  1964. type: string
  1965. applystatus:
  1966. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  1967. type: integer
  1968. areauserid:
  1969. description: 所属机构
  1970. type: integer
  1971. auditid:
  1972. description: 审核人
  1973. type: integer
  1974. auditremark:
  1975. description: 审核备注
  1976. type: string
  1977. audittime:
  1978. description: 审核时间
  1979. type: string
  1980. createtime:
  1981. description: 创建时间
  1982. type: string
  1983. creatorid:
  1984. description: 创建人
  1985. type: integer
  1986. deliverygoodsid:
  1987. description: 现货品种ID
  1988. type: integer
  1989. futureaccountid:
  1990. description: 期货资金账户
  1991. type: integer
  1992. goodsgroupid:
  1993. description: 期货品种
  1994. type: integer
  1995. marketid:
  1996. description: 市场ID
  1997. type: integer
  1998. remark:
  1999. description: 备注
  2000. type: string
  2001. spotaccountid:
  2002. description: 现货资金账户
  2003. type: integer
  2004. spottradeid:
  2005. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  2006. type: integer
  2007. spottradename:
  2008. description: 业务名称
  2009. type: string
  2010. spottradeno:
  2011. description: 业务编号
  2012. type: string
  2013. tradedate:
  2014. description: 交易日(yyyyMMdd)
  2015. type: string
  2016. wrstandardid:
  2017. description: 仓单标准ID
  2018. type: integer
  2019. required:
  2020. - spottradeid
  2021. type: object
  2022. erms3.AddSpotContractApplyReq:
  2023. properties:
  2024. accountid:
  2025. description: 资金账户ID
  2026. type: integer
  2027. areauserid:
  2028. description: 所属机构
  2029. type: integer
  2030. contractattachment:
  2031. description: 合同附件
  2032. type: string
  2033. contractno:
  2034. description: 现货合同编号
  2035. type: string
  2036. contracttype:
  2037. description: 现货合同类型 - 1:采购 -1:销售
  2038. type: integer
  2039. creatorid:
  2040. description: 申请人
  2041. type: integer
  2042. customeraccountid:
  2043. description: 客户资金账户ID
  2044. type: integer
  2045. customeruserid:
  2046. description: 客户ID
  2047. type: integer
  2048. details:
  2049. description: 明细
  2050. items:
  2051. $ref: '#/definitions/erms3.SoptContractDetail'
  2052. type: array
  2053. orimargin:
  2054. description: 初始保证金
  2055. type: number
  2056. remark:
  2057. description: 备注
  2058. type: string
  2059. signdate:
  2060. description: 签订日期
  2061. type: string
  2062. required:
  2063. - accountid
  2064. - areauserid
  2065. - contractno
  2066. - contracttype
  2067. - customeraccountid
  2068. - customeruserid
  2069. - details
  2070. - orimargin
  2071. - signdate
  2072. type: object
  2073. erms3.AddSpotContractApplyRsp:
  2074. properties:
  2075. contractno:
  2076. description: 现货合同编号
  2077. type: string
  2078. spotcontractid:
  2079. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  2080. type: integer
  2081. required:
  2082. - contractno
  2083. type: object
  2084. erms3.AddUserInfoApplyReq:
  2085. properties:
  2086. accountid:
  2087. description: 交易系统帐号Id (加密存储)
  2088. type: integer
  2089. areacode:
  2090. description: 机构代码
  2091. type: string
  2092. areaid:
  2093. description: 机构Id
  2094. type: integer
  2095. attachment1:
  2096. description: 附件1
  2097. type: string
  2098. attachment2:
  2099. description: 附件2
  2100. type: string
  2101. attachment3:
  2102. description: 附件3
  2103. type: string
  2104. attachment4:
  2105. description: 附件4
  2106. type: string
  2107. attachment5:
  2108. description: 附件5
  2109. type: string
  2110. auditedby:
  2111. description: 审核人
  2112. type: string
  2113. auditime:
  2114. description: 审核时间
  2115. type: string
  2116. auditsrc:
  2117. description: 审核来源 - 1:管理端 2:终端
  2118. type: integer
  2119. bankaccount:
  2120. description: 银行帐号 (加密存储)
  2121. type: string
  2122. bankaccountname:
  2123. description: 收款人名称
  2124. type: string
  2125. bankcardbackphotourl:
  2126. description: 银行卡背面照地址
  2127. type: string
  2128. bankcardfrontphotourl:
  2129. description: 银行卡正面照地址
  2130. type: string
  2131. bankid:
  2132. description: 银行编码
  2133. type: string
  2134. bankname:
  2135. description: 银行名称
  2136. type: string
  2137. bankpictureurl:
  2138. description: 银行卡正面地址
  2139. type: string
  2140. biznature:
  2141. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2142. type: integer
  2143. bizscope:
  2144. description: 企业经营范围(企业)
  2145. type: string
  2146. biztype:
  2147. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2148. type: integer
  2149. brokerid:
  2150. description: 经纪人ID(加密存储)
  2151. type: string
  2152. cardaddress:
  2153. description: 证件地址 (加密存储)
  2154. type: string
  2155. cardbackphotourl:
  2156. description: 背面证件照地址
  2157. type: string
  2158. cardfrontphotourl:
  2159. description: 正面证件照地址
  2160. type: string
  2161. cardnum:
  2162. description: 证件号码 (加密存储)
  2163. type: string
  2164. cardtype:
  2165. description: 证件类型
  2166. type: integer
  2167. cityid:
  2168. description: 市
  2169. type: integer
  2170. company:
  2171. description: 公司(个人)
  2172. type: string
  2173. contactcardbackphotourl:
  2174. description: 联系人证件背面图片地址
  2175. type: string
  2176. contactcardfrontphotourl:
  2177. description: 联系人证件正面图片地址
  2178. type: string
  2179. contactname:
  2180. description: 联系人
  2181. type: string
  2182. countryid:
  2183. description: 国家
  2184. type: integer
  2185. createtime:
  2186. description: 开户申请时间
  2187. type: string
  2188. cusbankid:
  2189. description: 签约类型
  2190. type: string
  2191. cusbankname:
  2192. description: 签约类型名称
  2193. type: string
  2194. customername:
  2195. description: 客户名称(企业名称)
  2196. type: string
  2197. districtid:
  2198. description: 地区
  2199. type: integer
  2200. email:
  2201. description: Email地址(加密存储)
  2202. type: string
  2203. halfbodyphotourl:
  2204. description: 半身照地址
  2205. type: string
  2206. headurl:
  2207. description: 头像地址
  2208. type: string
  2209. ipaddress:
  2210. description: IP地址
  2211. type: string
  2212. isvalidate:
  2213. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  2214. type: string
  2215. legalcardbackphotourl:
  2216. description: 法人身份证背面照地址
  2217. type: string
  2218. legalcardfrontphotourl:
  2219. description: 法人身份证正面照地址
  2220. type: string
  2221. legalpersonname:
  2222. description: 法人姓名(企业)
  2223. type: string
  2224. logincode:
  2225. description: 登录帐号 (加密存储)
  2226. type: string
  2227. memberareaid:
  2228. description: 所属会员ID
  2229. type: integer
  2230. mobile2:
  2231. description: 手机号码[明文-尚志]
  2232. type: string
  2233. mobilephone:
  2234. description: 手机号码 (加密存储)
  2235. type: string
  2236. modifiedby:
  2237. description: 修改人帐号
  2238. type: integer
  2239. modifiedtime:
  2240. description: 修改时间
  2241. type: string
  2242. nickname:
  2243. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  2244. type: string
  2245. openmode:
  2246. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  2247. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  2248. type: integer
  2249. otherurl:
  2250. description: 其它图片地址[使用分号分隔]
  2251. type: string
  2252. postalcode:
  2253. description: 邮政编码
  2254. type: string
  2255. provinceid:
  2256. description: 省
  2257. type: integer
  2258. proxystatementurl:
  2259. description: 授权委托书
  2260. type: string
  2261. qq:
  2262. description: QQ(加密存储
  2263. type: string
  2264. referral:
  2265. description: 推荐人编码
  2266. type: string
  2267. remark:
  2268. description: 备注
  2269. type: string
  2270. removebeforestatus:
  2271. description: REMOVEBEFORESTATUS
  2272. type: integer
  2273. sex:
  2274. description: 性别 - 0:女 1:男
  2275. type: integer
  2276. signedstatus:
  2277. description: 账户一号签签约状态
  2278. type: integer
  2279. signpdfurl:
  2280. description: 签约pdf文件
  2281. type: string
  2282. subbranch:
  2283. description: 开户支行
  2284. type: string
  2285. taxpayernum:
  2286. description: 纳税人识别号
  2287. type: string
  2288. telphone:
  2289. description: 联系电话(加密存储)
  2290. type: string
  2291. userid:
  2292. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  2293. type: integer
  2294. userinfotype:
  2295. description: 用户信息类型 - 1:个人 2:企业
  2296. type: integer
  2297. username:
  2298. description: 用户姓名
  2299. type: string
  2300. userstate:
  2301. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2302. type: integer
  2303. usertype:
  2304. description: 用户类型 - 1:投资者 2:机构
  2305. type: integer
  2306. videourl:
  2307. description: 视频地址
  2308. type: string
  2309. wechat:
  2310. description: 微信号 (加密存储)
  2311. type: string
  2312. required:
  2313. - userid
  2314. type: object
  2315. erms3.CustomerInfo:
  2316. properties:
  2317. accountids:
  2318. description: 资金账户ID列表
  2319. items:
  2320. type: integer
  2321. type: array
  2322. customername:
  2323. description: 名称(企业名称)
  2324. type: string
  2325. mobile:
  2326. description: 手机号码
  2327. type: string
  2328. userid:
  2329. description: 用户ID
  2330. type: integer
  2331. required:
  2332. - userid
  2333. type: object
  2334. erms3.ModifyUserInfoApplyReq:
  2335. properties:
  2336. accountid:
  2337. description: 交易系统帐号Id (加密存储)
  2338. type: integer
  2339. areacode:
  2340. description: 机构代码
  2341. type: string
  2342. areaid:
  2343. description: 机构Id
  2344. type: integer
  2345. attachment1:
  2346. description: 附件1
  2347. type: string
  2348. attachment2:
  2349. description: 附件2
  2350. type: string
  2351. attachment3:
  2352. description: 附件3
  2353. type: string
  2354. attachment4:
  2355. description: 附件4
  2356. type: string
  2357. attachment5:
  2358. description: 附件5
  2359. type: string
  2360. auditedby:
  2361. description: 审核人
  2362. type: string
  2363. auditime:
  2364. description: 审核时间
  2365. type: string
  2366. auditsrc:
  2367. description: 审核来源 - 1:管理端 2:终端
  2368. type: integer
  2369. bankaccount:
  2370. description: 银行帐号 (加密存储)
  2371. type: string
  2372. bankaccountname:
  2373. description: 收款人名称
  2374. type: string
  2375. bankcardbackphotourl:
  2376. description: 银行卡背面照地址
  2377. type: string
  2378. bankcardfrontphotourl:
  2379. description: 银行卡正面照地址
  2380. type: string
  2381. bankid:
  2382. description: 银行编码
  2383. type: string
  2384. bankname:
  2385. description: 银行名称
  2386. type: string
  2387. bankpictureurl:
  2388. description: 银行卡正面地址
  2389. type: string
  2390. biznature:
  2391. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2392. type: integer
  2393. bizscope:
  2394. description: 企业经营范围(企业)
  2395. type: string
  2396. biztype:
  2397. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2398. type: integer
  2399. brokerid:
  2400. description: 经纪人ID(加密存储)
  2401. type: string
  2402. cardaddress:
  2403. description: 证件地址 (加密存储)
  2404. type: string
  2405. cardbackphotourl:
  2406. description: 背面证件照地址
  2407. type: string
  2408. cardfrontphotourl:
  2409. description: 正面证件照地址
  2410. type: string
  2411. cardnum:
  2412. description: 证件号码 (加密存储)
  2413. type: string
  2414. cardtype:
  2415. description: 证件类型
  2416. type: integer
  2417. cityid:
  2418. description: 市
  2419. type: integer
  2420. company:
  2421. description: 公司(个人)
  2422. type: string
  2423. contactcardbackphotourl:
  2424. description: 联系人证件背面图片地址
  2425. type: string
  2426. contactcardfrontphotourl:
  2427. description: 联系人证件正面图片地址
  2428. type: string
  2429. contactname:
  2430. description: 联系人
  2431. type: string
  2432. countryid:
  2433. description: 国家
  2434. type: integer
  2435. createtime:
  2436. description: 开户申请时间
  2437. type: string
  2438. cusbankid:
  2439. description: 签约类型
  2440. type: string
  2441. cusbankname:
  2442. description: 签约类型名称
  2443. type: string
  2444. customername:
  2445. description: 客户名称(企业名称)
  2446. type: string
  2447. districtid:
  2448. description: 地区
  2449. type: integer
  2450. email:
  2451. description: Email地址(加密存储)
  2452. type: string
  2453. halfbodyphotourl:
  2454. description: 半身照地址
  2455. type: string
  2456. headurl:
  2457. description: 头像地址
  2458. type: string
  2459. ipaddress:
  2460. description: IP地址
  2461. type: string
  2462. isvalidate:
  2463. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  2464. type: string
  2465. legalcardbackphotourl:
  2466. description: 法人身份证背面照地址
  2467. type: string
  2468. legalcardfrontphotourl:
  2469. description: 法人身份证正面照地址
  2470. type: string
  2471. legalpersonname:
  2472. description: 法人姓名(企业)
  2473. type: string
  2474. logincode:
  2475. description: 登录帐号 (加密存储)
  2476. type: string
  2477. memberareaid:
  2478. description: 所属会员ID
  2479. type: integer
  2480. mobile2:
  2481. description: 手机号码[明文-尚志]
  2482. type: string
  2483. mobilephone:
  2484. description: 手机号码 (加密存储)
  2485. type: string
  2486. modifiedby:
  2487. description: 修改人帐号
  2488. type: integer
  2489. modifiedtime:
  2490. description: 修改时间
  2491. type: string
  2492. nickname:
  2493. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  2494. type: string
  2495. openmode:
  2496. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  2497. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  2498. type: integer
  2499. otherurl:
  2500. description: 其它图片地址[使用分号分隔]
  2501. type: string
  2502. postalcode:
  2503. description: 邮政编码
  2504. type: string
  2505. provinceid:
  2506. description: 省
  2507. type: integer
  2508. proxystatementurl:
  2509. description: 授权委托书
  2510. type: string
  2511. qq:
  2512. description: QQ(加密存储
  2513. type: string
  2514. referral:
  2515. description: 推荐人编码
  2516. type: string
  2517. remark:
  2518. description: 备注
  2519. type: string
  2520. removebeforestatus:
  2521. description: REMOVEBEFORESTATUS
  2522. type: integer
  2523. sex:
  2524. description: 性别 - 0:女 1:男
  2525. type: integer
  2526. signedstatus:
  2527. description: 账户一号签签约状态
  2528. type: integer
  2529. signpdfurl:
  2530. description: 签约pdf文件
  2531. type: string
  2532. subbranch:
  2533. description: 开户支行
  2534. type: string
  2535. taxpayernum:
  2536. description: 纳税人识别号
  2537. type: string
  2538. telphone:
  2539. description: 联系电话(加密存储)
  2540. type: string
  2541. userid:
  2542. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  2543. type: integer
  2544. userinfotype:
  2545. description: 用户信息类型 - 1:个人 2:企业
  2546. type: integer
  2547. username:
  2548. description: 用户姓名
  2549. type: string
  2550. userstate:
  2551. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2552. type: integer
  2553. usertype:
  2554. description: 用户类型 - 1:投资者 2:机构
  2555. type: integer
  2556. videourl:
  2557. description: 视频地址
  2558. type: string
  2559. wechat:
  2560. description: 微信号 (加密存储)
  2561. type: string
  2562. required:
  2563. - userid
  2564. type: object
  2565. erms3.QryAuditContractRsp:
  2566. properties:
  2567. accountid:
  2568. description: 交易员ID
  2569. type: string
  2570. applystatus:
  2571. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2572. type: integer
  2573. curdeliveryqty:
  2574. description: 未交收量
  2575. type: integer
  2576. customername:
  2577. description: 采购方ID
  2578. type: string
  2579. deliverygoodsid:
  2580. description: 品种ID
  2581. type: string
  2582. deliveryqty:
  2583. description: 交收量
  2584. type: integer
  2585. enumdicname:
  2586. description: 单位名称
  2587. type: string
  2588. matchaccountid:
  2589. description: 业务员ID
  2590. type: string
  2591. matchcustomername:
  2592. description: 销售方ID
  2593. type: string
  2594. pricedqty:
  2595. description: 定价量
  2596. type: number
  2597. signdate:
  2598. description: 签订日期
  2599. type: string
  2600. spotcontractid:
  2601. description: 合同ID
  2602. type: string
  2603. totaldqty:
  2604. description: 合同量
  2605. type: number
  2606. unpricedqty:
  2607. description: 未定价量
  2608. type: number
  2609. wrstandardname:
  2610. description: 商品名称
  2611. type: string
  2612. required:
  2613. - matchcustomername
  2614. - spotcontractid
  2615. type: object
  2616. erms3.QryPendingBizRsp:
  2617. $ref: '#/definitions/models.PendingAuditBizModel'
  2618. erms3.QueryBusinessInfoRsp:
  2619. properties:
  2620. businessid:
  2621. description: 业务ID.
  2622. type: integer
  2623. buyamount:
  2624. description: 采购额.
  2625. type: number
  2626. buyqty:
  2627. description: 采购量.
  2628. type: string
  2629. futurepl:
  2630. description: 期货盈亏.
  2631. type: number
  2632. futureqty:
  2633. description: 期货敞口.
  2634. type: string
  2635. goodsid:
  2636. description: 商品名称/商品代码.
  2637. type: string
  2638. hedgingqty:
  2639. description: 套保量.
  2640. type: string
  2641. sellamount:
  2642. description: 销售额.
  2643. type: number
  2644. sellqty:
  2645. description: 销售量.
  2646. type: string
  2647. spotmarketvalue:
  2648. description: 现货市值.
  2649. type: number
  2650. spotpl:
  2651. description: 浮动权益.
  2652. type: number
  2653. spotqty:
  2654. description: 现货量.
  2655. type: string
  2656. statu:
  2657. description: 状态,0-未结束 1-已结束.
  2658. type: integer
  2659. totalpl:
  2660. description: 总盈亏.
  2661. type: number
  2662. totalqty:
  2663. description: 总敞口.
  2664. type: string
  2665. type:
  2666. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  2667. type: integer
  2668. type: object
  2669. erms3.QuerySpotContractAppleFormRsp:
  2670. properties:
  2671. goodses:
  2672. description: 合约列表
  2673. items:
  2674. $ref: '#/definitions/models.GoodsIDAndName'
  2675. type: array
  2676. oppositeusers:
  2677. description: 对方账号列表
  2678. items:
  2679. $ref: '#/definitions/erms3.CustomerInfo'
  2680. type: array
  2681. ouruser:
  2682. $ref: '#/definitions/erms3.CustomerInfo'
  2683. description: 我方账号
  2684. type: object
  2685. warehouseinfos:
  2686. description: 仓库信息列表
  2687. items:
  2688. $ref: '#/definitions/models.Warehouseinfo'
  2689. type: array
  2690. wrstandards:
  2691. description: 仓单标准列表
  2692. items:
  2693. $ref: '#/definitions/models.WRStandardInfo'
  2694. type: array
  2695. type: object
  2696. erms3.QuerySpotContractInfoRsp:
  2697. properties:
  2698. accountid:
  2699. description: 表示交易员ID.
  2700. type: integer
  2701. curdeliveryqty:
  2702. description: 表示未交收量.
  2703. type: number
  2704. customername:
  2705. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  2706. type: string
  2707. deliverygoodsid:
  2708. description: 表示品种ID.
  2709. type: string
  2710. deliveryqty:
  2711. description: 表示交收量.
  2712. type: number
  2713. matchaccountid:
  2714. description: 表示业务员ID.
  2715. type: integer
  2716. matchcustomername:
  2717. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  2718. type: string
  2719. priceqty:
  2720. description: 表示定价量.
  2721. type: number
  2722. relatedbizid:
  2723. description: 表示业务ID.
  2724. type: string
  2725. signdate:
  2726. description: 表示签订日期.
  2727. type: string
  2728. spotcontractid:
  2729. description: 合同ID
  2730. type: string
  2731. status:
  2732. description: 表示状态,0-履约中 1-已完成.
  2733. type: integer
  2734. totalqty:
  2735. description: 表示合同量.
  2736. type: number
  2737. unpricedqty:
  2738. description: 表示未定价量.
  2739. type: number
  2740. wrstandardname:
  2741. description: 表示商品ID.
  2742. type: string
  2743. type: object
  2744. erms3.QueryUserInfoAppliesRsp:
  2745. properties:
  2746. biznature:
  2747. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2748. type: integer
  2749. contactname:
  2750. description: 联系人
  2751. type: string
  2752. createtime:
  2753. description: 开户申请时间
  2754. type: string
  2755. userid:
  2756. description: 用户ID(自增ID)
  2757. type: integer
  2758. userinfotype:
  2759. description: 用户信息类型 - 1:个人 2:企业
  2760. type: integer
  2761. username:
  2762. description: 用户姓名
  2763. type: string
  2764. userstate:
  2765. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2766. type: integer
  2767. required:
  2768. - userid
  2769. type: object
  2770. erms3.QueryUserInfosRsp:
  2771. properties:
  2772. biznature:
  2773. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2774. type: integer
  2775. contactname:
  2776. description: 联系人
  2777. type: string
  2778. customername:
  2779. description: 客户名称(企业名称)
  2780. type: string
  2781. userid:
  2782. description: 用户ID
  2783. type: integer
  2784. userinfotype:
  2785. description: 用户信息类型 - 1:个人 2:企业
  2786. type: integer
  2787. userstatus:
  2788. description: 用户状态 - 1:正常 2:注销
  2789. type: integer
  2790. required:
  2791. - userid
  2792. type: object
  2793. erms3.SoptContractDetail:
  2794. properties:
  2795. deliverygoodsdesc:
  2796. description: 现货品种说明
  2797. type: string
  2798. deliverygoodsid:
  2799. description: 现货品种ID
  2800. type: integer
  2801. deliverygoodsname:
  2802. description: 现货品种名称
  2803. type: string
  2804. pointdesc:
  2805. description: 点价描述
  2806. type: string
  2807. producttype:
  2808. description: 产品类型 1:标准仓单 2:等标 3:非标
  2809. type: integer
  2810. producttypename:
  2811. description: 产品类型名称
  2812. type: string
  2813. spotPointOrderVoList:
  2814. description: 点价列表
  2815. items:
  2816. $ref: '#/definitions/erms3.SpotPointOrder'
  2817. type: array
  2818. spotPriceOrderList:
  2819. description: 定价列表
  2820. items:
  2821. $ref: '#/definitions/erms3.SpotPriceOrder'
  2822. type: array
  2823. unitname:
  2824. description: 单位名称
  2825. type: string
  2826. warehouseid:
  2827. description: 仓库ID
  2828. type: integer
  2829. warehousename:
  2830. description: 仓库名称
  2831. type: string
  2832. wrstandardid:
  2833. description: 交易标的ID
  2834. type: integer
  2835. wrstandardname:
  2836. description: 交易标的名称
  2837. type: string
  2838. required:
  2839. - deliverygoodsid
  2840. - producttype
  2841. - unitname
  2842. - warehouseid
  2843. - wrstandardid
  2844. - wrstandardname
  2845. type: object
  2846. erms3.SpotPointOrder:
  2847. properties:
  2848. basic:
  2849. description: 基差
  2850. type: number
  2851. deliveryenddate:
  2852. description: 交收结束日期
  2853. type: string
  2854. deliverystartdate:
  2855. description: 交收开始日期
  2856. type: string
  2857. enddate:
  2858. description: 点价结束日期
  2859. type: string
  2860. goodsid:
  2861. description: 商品ID
  2862. type: integer
  2863. goodsname:
  2864. description: 商品名称
  2865. type: string
  2866. qty:
  2867. description: 数量
  2868. type: number
  2869. startdate:
  2870. description: 点价开始日期
  2871. type: string
  2872. required:
  2873. - basic
  2874. - goodsid
  2875. - qty
  2876. type: object
  2877. erms3.SpotPriceOrder:
  2878. properties:
  2879. amount:
  2880. description: 金额
  2881. type: number
  2882. deliveryenddate:
  2883. description: 交收结束日期
  2884. type: string
  2885. deliverystartdate:
  2886. description: 交收开始日期
  2887. type: string
  2888. price:
  2889. description: 价格
  2890. type: number
  2891. qty:
  2892. description: 数量
  2893. type: number
  2894. required:
  2895. - amount
  2896. - price
  2897. - qty
  2898. type: object
  2899. hsby.GetHsbyMyCountRsp:
  2900. properties:
  2901. myCouponCount:
  2902. description: 我的优惠卷数量
  2903. type: integer
  2904. myOrderDetailListingCount:
  2905. description: 我的订单求购中数量
  2906. type: integer
  2907. myOrderDetailPreCount:
  2908. description: 我的订单抢购中数量
  2909. type: integer
  2910. myPackageUnReceiveCount:
  2911. description: 我的包裹待收货数量
  2912. type: integer
  2913. myPackageUnSendCount:
  2914. description: 我的包裹待发货数量
  2915. type: integer
  2916. myPayOrderCount:
  2917. description: 我的订单待付款数量
  2918. type: integer
  2919. type: object
  2920. hsby.QueryProvincesAndCitiesRsp:
  2921. properties:
  2922. cities:
  2923. description: 市
  2924. items:
  2925. $ref: '#/definitions/models.Division'
  2926. type: array
  2927. province:
  2928. $ref: '#/definitions/models.Division'
  2929. description: 省
  2930. type: object
  2931. type: object
  2932. models.AreaSpotModel:
  2933. properties:
  2934. areauserid:
  2935. description: 所属机构
  2936. type: integer
  2937. decreaseqty:
  2938. description: 减少数量=-(销售已定价数量+采购计划数量)
  2939. type: number
  2940. increaseqty:
  2941. description: 增加数量=销售计划数量+采购已定价数量
  2942. type: number
  2943. oritoalspotqty:
  2944. description: 昨日数量
  2945. type: number
  2946. totalspotqty:
  2947. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  2948. type: number
  2949. updatetime:
  2950. description: 更新时间
  2951. type: string
  2952. wrstandardcode:
  2953. description: 现货品种代码
  2954. type: string
  2955. wrstandardid:
  2956. description: 现货商品ID
  2957. type: integer
  2958. wrstandardname:
  2959. description: 现货品种
  2960. type: string
  2961. type: object
  2962. models.Clientfixedadconfig:
  2963. properties:
  2964. adsort:
  2965. description: 排序
  2966. type: integer
  2967. adtype:
  2968. description: 广告位类型 - 1:新品抢购(HSBY)
  2969. type: integer
  2970. areauserid:
  2971. description: 所属机构ID
  2972. type: integer
  2973. createdate:
  2974. description: 创建时间
  2975. type: string
  2976. creatorid:
  2977. description: 创建人
  2978. type: integer
  2979. imagepath:
  2980. description: 图片
  2981. type: string
  2982. isshow:
  2983. description: 是否展示 - 0:不展示 1:展示
  2984. type: integer
  2985. modifierid:
  2986. description: 操作人
  2987. type: integer
  2988. recsize:
  2989. description: 推荐尺寸
  2990. type: string
  2991. title:
  2992. description: 标题
  2993. type: string
  2994. updatedate:
  2995. description: 更新时间
  2996. type: string
  2997. urlcontent:
  2998. description: 链接(地址或商品ID)
  2999. type: string
  3000. urltype:
  3001. description: 链接类型 - 1:直接地址 2:商品ID
  3002. type: integer
  3003. required:
  3004. - adsort
  3005. - adtype
  3006. type: object
  3007. models.Division:
  3008. properties:
  3009. autoid:
  3010. description: 自增ID
  3011. type: integer
  3012. divisioncode:
  3013. description: 行政代码
  3014. type: string
  3015. divisionlevel:
  3016. description: 行政级别
  3017. type: string
  3018. divisionname:
  3019. description: 行政名称
  3020. type: string
  3021. modifierid:
  3022. description: 修改人
  3023. type: integer
  3024. modifytime:
  3025. description: 修改时间
  3026. type: string
  3027. parentcode:
  3028. description: 上级行政代码
  3029. type: string
  3030. pathname:
  3031. description: 路径名称
  3032. type: string
  3033. postcode:
  3034. description: 邮政编码
  3035. type: string
  3036. separablename:
  3037. description: 可拆分的全称
  3038. type: string
  3039. shortcode:
  3040. description: 地区简码
  3041. type: string
  3042. required:
  3043. - autoid
  3044. - divisioncode
  3045. type: object
  3046. models.Enumdicitem:
  3047. properties:
  3048. autoid:
  3049. description: 自增ID
  3050. type: integer
  3051. bankmappedvalue:
  3052. description: 银行服务对应值
  3053. type: string
  3054. enumdiccode:
  3055. description: 所属枚举代码
  3056. type: string
  3057. enumdicid:
  3058. description: 所属枚举ID
  3059. type: integer
  3060. enumdicname:
  3061. description: 枚举项名称
  3062. type: string
  3063. enumitemname:
  3064. description: 枚举项值
  3065. type: integer
  3066. enumitemstatus:
  3067. description: 枚举项状态 - 1.启用 2.不启用
  3068. type: integer
  3069. enumitemvalue:
  3070. description: 通用值 - [币种通用简写]
  3071. type: string
  3072. param1:
  3073. description: 参数1[币种:币种小数位]
  3074. type: string
  3075. param2:
  3076. description: 参数1[币种:币种显示单位]
  3077. type: string
  3078. remark:
  3079. description: 备注
  3080. type: string
  3081. required:
  3082. - autoid
  3083. - enumdiccode
  3084. - enumdicid
  3085. - enumitemname
  3086. type: object
  3087. models.Ermcp3AreaSpot:
  3088. properties:
  3089. areauserid:
  3090. description: 所属机构
  3091. type: integer
  3092. decreaseqty:
  3093. description: 减少数量=-(销售已定价数量+采购计划数量)
  3094. type: number
  3095. deliverygoodscode:
  3096. description: 现货品种代码
  3097. type: string
  3098. deliverygoodsid:
  3099. description: 现货品种id
  3100. type: integer
  3101. deliverygoodsname:
  3102. description: 现货品种名称
  3103. type: string
  3104. enumdicname:
  3105. description: 单位名称
  3106. type: string
  3107. goodsunitid:
  3108. description: 现货品种单位id
  3109. type: integer
  3110. increaseqty:
  3111. description: 增加数量=销售计划数量+采购已定价数量
  3112. type: number
  3113. oritoalspotqty:
  3114. description: 昨日数量
  3115. type: number
  3116. totalspotqty:
  3117. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  3118. type: number
  3119. updatetime:
  3120. description: 更新时间
  3121. type: string
  3122. type: object
  3123. models.Ermcp3AreaSpotDetail:
  3124. properties:
  3125. contracttype:
  3126. description: 合同类型 1-采购 -1-销售
  3127. type: integer
  3128. createtime:
  3129. description: 创建时间
  3130. type: string
  3131. deliverygoodscode:
  3132. description: 现货品种代码
  3133. type: string
  3134. deliverygoodsid:
  3135. description: 现货品种id
  3136. type: integer
  3137. deliverygoodsname:
  3138. description: 现货品种名称
  3139. type: string
  3140. enumdicname:
  3141. description: 现货商品单位名称
  3142. type: string
  3143. logtype:
  3144. description: 记录类型 1-套保 2-现货合同
  3145. type: integer
  3146. qty:
  3147. description: 数量
  3148. type: number
  3149. recordname:
  3150. description: 类型名称
  3151. type: string
  3152. relatedid:
  3153. description: 套保计划ID/现货合同ID
  3154. type: string
  3155. relatedno:
  3156. description: 编号
  3157. type: string
  3158. strtime:
  3159. description: 时间
  3160. type: string
  3161. type: object
  3162. models.Ermcp3AreaStock:
  3163. properties:
  3164. brandname:
  3165. description: 品牌名称
  3166. type: string
  3167. curstock:
  3168. description: 期末库存量(今日量)
  3169. type: number
  3170. deliverygoodscode:
  3171. description: 现货品种代码
  3172. type: string
  3173. deliverygoodsid:
  3174. description: 现货品种id
  3175. type: integer
  3176. deliverygoodsname:
  3177. description: 现货品种名称
  3178. type: string
  3179. enumdicname:
  3180. description: 单位名称
  3181. type: string
  3182. goodsunitid:
  3183. description: 现货商品单位id
  3184. type: integer
  3185. oristock:
  3186. description: 期初库存量(昨日量)
  3187. type: number
  3188. spotgoodsbrandid:
  3189. description: 现货品牌ID
  3190. type: integer
  3191. todaybuyinqty:
  3192. description: 今日采购入库量
  3193. type: number
  3194. todayproduceinqty:
  3195. description: 今日生产入库量
  3196. type: number
  3197. todayproduceoutqty:
  3198. description: 今日生产出库量
  3199. type: number
  3200. todayselloutqty:
  3201. description: 今日销售出库量
  3202. type: number
  3203. unitid:
  3204. description: 单位id
  3205. type: integer
  3206. updatetime:
  3207. description: 更新时间
  3208. type: string
  3209. userid:
  3210. description: 机构ID
  3211. type: integer
  3212. username:
  3213. description: 机构名称
  3214. type: string
  3215. warehousecode:
  3216. description: 仓库代码
  3217. type: string
  3218. warehouseinfoid:
  3219. description: 仓库ID
  3220. type: string
  3221. warehousename:
  3222. description: 仓库名称
  3223. type: string
  3224. warehousetype:
  3225. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3226. type: integer
  3227. wrstandardcode:
  3228. description: 品类代码
  3229. type: string
  3230. wrstandardid:
  3231. description: 品类ID
  3232. type: string
  3233. wrstandardname:
  3234. description: 品类名称
  3235. type: string
  3236. required:
  3237. - userid
  3238. type: object
  3239. models.Ermcp3AreaStockApply:
  3240. properties:
  3241. applyid:
  3242. description: 申请人
  3243. type: integer
  3244. applyname:
  3245. description: 申请人名称
  3246. type: string
  3247. applyremark:
  3248. description: 申请备注
  3249. type: string
  3250. applysrc:
  3251. description: 申请来源 - 1:管理端 2:终端
  3252. type: integer
  3253. applystatus:
  3254. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  3255. type: integer
  3256. applytime:
  3257. description: 申请时间
  3258. type: string
  3259. auditid:
  3260. description: 审核人
  3261. type: integer
  3262. auditname:
  3263. description: 审核人名称
  3264. type: string
  3265. auditremark:
  3266. description: 审核备注
  3267. type: string
  3268. auditsrc:
  3269. description: 审核来源 - 1:管理端 2:终端
  3270. type: integer
  3271. audittime:
  3272. description: 审核时间
  3273. type: string
  3274. audittradedate:
  3275. description: 审核交易日(yyyyMMdd)
  3276. type: string
  3277. brandname:
  3278. description: 品牌名称
  3279. type: string
  3280. buynickname:
  3281. description: 采购方昵称
  3282. type: string
  3283. buyuserid:
  3284. description: 采购方userid
  3285. type: integer
  3286. buyusername:
  3287. description: 采购方名称
  3288. type: string
  3289. contractno:
  3290. description: 合同编号
  3291. type: string
  3292. contractqty:
  3293. description: 合同量
  3294. type: number
  3295. contracttype:
  3296. description: 现货合同类型 - 1:采购 -1:销售
  3297. type: integer
  3298. deliverygoodscode:
  3299. description: 现货品种代码
  3300. type: string
  3301. deliverygoodsid:
  3302. description: 现货品种id
  3303. type: integer
  3304. deliverygoodsname:
  3305. description: 现货品种名称
  3306. type: string
  3307. detailjson:
  3308. description: 明细数据
  3309. type: string
  3310. enumdicname:
  3311. description: 现货商品单位名称
  3312. type: string
  3313. inoutapplyid:
  3314. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  3315. type: string
  3316. inouttype:
  3317. description: 出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  3318. type: integer
  3319. pricetype:
  3320. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  3321. type: integer
  3322. qty:
  3323. description: 数量
  3324. type: number
  3325. sellnickname:
  3326. description: 销售方昵称
  3327. type: string
  3328. selluserid:
  3329. description: 销售方userid
  3330. type: integer
  3331. sellusername:
  3332. description: 销售方名称
  3333. type: string
  3334. spotcontractid:
  3335. description: 关联现货合同ID
  3336. type: string
  3337. spotgoodsbrandid:
  3338. description: 现货品牌ID
  3339. type: integer
  3340. unitid:
  3341. description: 单位id
  3342. type: integer
  3343. userid:
  3344. description: 机构ID
  3345. type: integer
  3346. warehousecode:
  3347. description: 仓库代码
  3348. type: string
  3349. warehouseinfoid:
  3350. description: 现货仓库ID
  3351. type: string
  3352. warehousename:
  3353. description: 仓库名称
  3354. type: string
  3355. warehousetype:
  3356. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3357. type: integer
  3358. wrstandardcode:
  3359. description: 品类代码
  3360. type: string
  3361. wrstandardid:
  3362. description: 品类ID
  3363. type: integer
  3364. wrstandardname:
  3365. description: 品类名称
  3366. type: string
  3367. type: object
  3368. models.Ermcp3AreaStockApplySum:
  3369. properties:
  3370. brandname:
  3371. description: 品牌名称
  3372. type: string
  3373. inouttype:
  3374. description: 出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  3375. type: integer
  3376. spotcontractid:
  3377. description: 关联现货合同ID
  3378. type: string
  3379. spotgoodsbrandid:
  3380. description: 品牌id
  3381. type: integer
  3382. totalqty:
  3383. description: 总数量
  3384. type: number
  3385. wrstandardid:
  3386. description: 品类id
  3387. type: integer
  3388. wrstandardname:
  3389. description: 品类名称
  3390. type: string
  3391. type: object
  3392. models.Ermcp3AreaStockReport:
  3393. properties:
  3394. brandname:
  3395. description: 品牌名称
  3396. type: string
  3397. curstock:
  3398. description: 期末库存量
  3399. type: number
  3400. deliverygoodscode:
  3401. description: 现货品种代码
  3402. type: string
  3403. deliverygoodsid:
  3404. description: 现货品种id
  3405. type: integer
  3406. deliverygoodsname:
  3407. description: 现货品种名称
  3408. type: string
  3409. enumdicname:
  3410. description: 单位名称
  3411. type: string
  3412. goodsunitid:
  3413. description: 现货单位id
  3414. type: integer
  3415. oristock:
  3416. description: 期初库存量
  3417. type: number
  3418. spotgoodsbrandid:
  3419. description: 现货品牌ID
  3420. type: integer
  3421. todaybuyinqty:
  3422. description: 今日采购入库量
  3423. type: number
  3424. todayproduceinqty:
  3425. description: 今日生产入库量
  3426. type: number
  3427. todayproduceoutqty:
  3428. description: 今日生产出库量
  3429. type: number
  3430. todayselloutqty:
  3431. description: 今日销售出库量
  3432. type: number
  3433. unitid:
  3434. description: 品类单位id
  3435. type: integer
  3436. updatetime:
  3437. description: 更新时间
  3438. type: string
  3439. userid:
  3440. description: 机构ID
  3441. type: integer
  3442. username:
  3443. description: 机构名称
  3444. type: string
  3445. warehousecode:
  3446. description: 仓库代码
  3447. type: string
  3448. warehouseinfoid:
  3449. description: 仓库ID
  3450. type: string
  3451. warehousename:
  3452. description: 仓库名称
  3453. type: string
  3454. warehousetype:
  3455. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3456. type: integer
  3457. wrstandardcode:
  3458. description: 品类代码
  3459. type: string
  3460. wrstandardid:
  3461. description: 品类ID
  3462. type: integer
  3463. wrstandardname:
  3464. description: 品类名称
  3465. type: string
  3466. type: object
  3467. models.Ermcp3Brand:
  3468. properties:
  3469. areauserid:
  3470. description: 用户id
  3471. type: integer
  3472. brandid:
  3473. description: 品牌id
  3474. type: integer
  3475. brandname:
  3476. description: 品牌名称
  3477. type: string
  3478. deliverygoodsid:
  3479. description: 品种ID
  3480. type: integer
  3481. type: object
  3482. models.Ermcp3Contract:
  3483. properties:
  3484. accountid:
  3485. description: 期货账户id
  3486. type: string
  3487. amount:
  3488. description: 金额 [1:一口价、3:暂定价]
  3489. type: number
  3490. attachment:
  3491. description: 附件
  3492. type: string
  3493. auditremark:
  3494. description: 审核意见
  3495. type: string
  3496. audittime:
  3497. description: 审核时间
  3498. type: string
  3499. biztype:
  3500. description: 业务类型 1-套保 2-套利
  3501. type: integer
  3502. brandname:
  3503. description: 品牌名称
  3504. type: string
  3505. buynickname:
  3506. description: 销售方昵称
  3507. type: string
  3508. buyuserid:
  3509. description: 采购方ID
  3510. type: integer
  3511. buyusername:
  3512. description: 采购方名称
  3513. type: string
  3514. contracctstatus:
  3515. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  3516. type: integer
  3517. contractmargin:
  3518. description: 合同保证金
  3519. type: number
  3520. contractno:
  3521. description: 现货合同编号
  3522. type: string
  3523. contracttype:
  3524. description: 现货合同类型 - 1:采购 -1:销售
  3525. type: integer
  3526. convertfactor:
  3527. description: 标仓系数(品类)
  3528. type: number
  3529. createtime:
  3530. description: 创建时间
  3531. type: string
  3532. currencyid:
  3533. description: 币种id
  3534. type: integer
  3535. currencyname:
  3536. description: 币种名称
  3537. type: string
  3538. deliveryenddate:
  3539. description: 交收期(结束)
  3540. type: string
  3541. deliverygoodscode:
  3542. description: 现货品种代码
  3543. type: string
  3544. deliverygoodsid:
  3545. description: 现货品种ID
  3546. type: integer
  3547. deliverygoodsname:
  3548. description: 现货品种名称
  3549. type: string
  3550. deliverystartdate:
  3551. description: 交收期(开始)
  3552. type: string
  3553. enddate:
  3554. description: 点价结束日期 [2:点价 3:暂定价]
  3555. type: string
  3556. enumdicname:
  3557. description: 单位名称
  3558. type: string
  3559. goodscode:
  3560. description: 点价合约代码
  3561. type: string
  3562. goodsid:
  3563. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  3564. type: integer
  3565. goodsname:
  3566. description: 点价商品名称
  3567. type: string
  3568. margin:
  3569. description: 当前保证金
  3570. type: number
  3571. meruserid:
  3572. description: 跟单员id
  3573. type: integer
  3574. meruserlogincode:
  3575. description: 跟单员登录代码
  3576. type: string
  3577. price:
  3578. description: 价格\暂定价 [1:一口价、3:暂定价]
  3579. type: number
  3580. pricemove:
  3581. description: 升贴水 [2:点价 3:暂定价]
  3582. type: number
  3583. pricetype:
  3584. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  3585. type: integer
  3586. producttype:
  3587. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  3588. type: integer
  3589. qty:
  3590. description: 数量
  3591. type: number
  3592. remark:
  3593. description: 备注
  3594. type: string
  3595. saleuserid:
  3596. description: 业务员id
  3597. type: integer
  3598. saleuserlogincode:
  3599. description: 业务员登录代码
  3600. type: string
  3601. sellnickname:
  3602. description: 采购方昵称
  3603. type: string
  3604. selluserid:
  3605. description: 销售方ID
  3606. type: integer
  3607. sellusername:
  3608. description: 销售方名称
  3609. type: string
  3610. spotcontractid:
  3611. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  3612. type: string
  3613. spotgoodsbrandid:
  3614. description: 现货品牌ID(DGFactoryItem表的ID)
  3615. type: integer
  3616. spotgoodsdesc:
  3617. description: 商品型号
  3618. type: string
  3619. startdate:
  3620. description: 点价开始日期 [2:点价 3:暂定价]
  3621. type: string
  3622. tradeuserid:
  3623. description: 交易员id
  3624. type: integer
  3625. tradeuserlogincode:
  3626. description: 交易员登录代码
  3627. type: string
  3628. tradeusername:
  3629. description: 交易员名称
  3630. type: string
  3631. unitid:
  3632. description: 单位id(取品类上的单位id)
  3633. type: integer
  3634. updatetime:
  3635. description: 更新时间
  3636. type: string
  3637. userid:
  3638. description: 所属机构ID
  3639. type: integer
  3640. wrstandardcode:
  3641. description: 品类代码
  3642. type: string
  3643. wrstandardid:
  3644. description: 品类ID
  3645. type: integer
  3646. wrstandardname:
  3647. description: 品类名称
  3648. type: string
  3649. type: object
  3650. models.Ermcp3ExposureDetail:
  3651. properties:
  3652. areauserid:
  3653. description: 机构ID
  3654. type: integer
  3655. changeQty:
  3656. description: 套保变动量
  3657. type: number
  3658. contracttype:
  3659. description: 现货合同类型 - 1:采购 -1:销售
  3660. type: integer
  3661. convertfactor:
  3662. description: 标仓系数
  3663. type: number
  3664. convertratio:
  3665. description: 套保系数
  3666. type: number
  3667. createtime:
  3668. description: 时间
  3669. type: string
  3670. deliverygoodscode:
  3671. description: 现货品种代码
  3672. type: string
  3673. deliverygoodsid:
  3674. description: 现货品种id
  3675. type: integer
  3676. deliverygoodsname:
  3677. description: 现货品种名称
  3678. type: string
  3679. enumdicname:
  3680. description: 现货商品单位名称
  3681. type: string
  3682. logtype:
  3683. description: 类型 - 1:套保计划 2:现货合同
  3684. type: integer
  3685. middlegoodsId:
  3686. description: 套保商品id
  3687. type: integer
  3688. middlegoodscode:
  3689. description: 套保商品代码
  3690. type: string
  3691. middlegoodsname:
  3692. description: 套保商品名称
  3693. type: string
  3694. qty:
  3695. description: 数量
  3696. type: number
  3697. relateNo:
  3698. description: 现货合同/套保计划编号
  3699. type: string
  3700. type: object
  3701. models.Ermcp3Goods:
  3702. properties:
  3703. agreeunit:
  3704. description: 合约单位(合约乘数)
  3705. type: number
  3706. enumdicname:
  3707. description: 单位名称
  3708. type: string
  3709. exexchangecode:
  3710. description: 交易所代码
  3711. type: string
  3712. goodscode:
  3713. description: 期货商品代码
  3714. type: string
  3715. goodsid:
  3716. description: 期货商品id
  3717. type: integer
  3718. goodsname:
  3719. description: 期货商品名称
  3720. type: string
  3721. type: object
  3722. models.Ermcp3GoodsGroup:
  3723. properties:
  3724. agreeunit:
  3725. description: 合约单位
  3726. type: number
  3727. areauserid:
  3728. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  3729. type: integer
  3730. canshort:
  3731. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  3732. type: integer
  3733. closepricemode:
  3734. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  3735. type: integer
  3736. createtime:
  3737. description: 创建时间
  3738. type: string
  3739. creatorid:
  3740. description: 创建人
  3741. type: integer
  3742. currencyid:
  3743. description: 报价货币ID
  3744. type: integer
  3745. decimalplace:
  3746. description: 报价小数位
  3747. type: integer
  3748. enumdicname:
  3749. description: 单位名称
  3750. type: string
  3751. excludecfg:
  3752. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  3753. type: integer
  3754. exexchangeid:
  3755. description: 外部交易所ID[通道交易]
  3756. type: integer
  3757. goodsgroupid:
  3758. description: 商品组ID(自增ID)
  3759. type: integer
  3760. goodsgroupname:
  3761. description: 商品组名称
  3762. type: string
  3763. goodsgroupstatus:
  3764. description: 商品组状态 - 1:正常 2:注销
  3765. type: integer
  3766. goodunitid:
  3767. description: 报价单位ID
  3768. type: integer
  3769. groupcategroyid:
  3770. description: 品种分类ID
  3771. type: integer
  3772. innerdealmode:
  3773. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  3774. type: integer
  3775. marketid:
  3776. description: 所属市场ID
  3777. type: integer
  3778. modifierid:
  3779. description: 修改人
  3780. type: integer
  3781. modifytime:
  3782. description: 修改时间
  3783. type: string
  3784. outerdealmode:
  3785. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  3786. type: integer
  3787. outergroupcode:
  3788. description: 外部商品组代码[通道交易]
  3789. type: string
  3790. quoteminunit:
  3791. description: 行情最小变动单位 [整数,报价小数位一起使用]
  3792. type: integer
  3793. quotesourcegroupid:
  3794. description: 所属行情源分组ID[参考行情市场用\通道交易]
  3795. type: integer
  3796. syncgoodsqty:
  3797. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  3798. type: integer
  3799. required:
  3800. - areauserid
  3801. type: object
  3802. models.Ermcp3GoodsGroupEx:
  3803. properties:
  3804. convertratio:
  3805. description: 折算系数(品种系数)
  3806. type: number
  3807. enumdicname:
  3808. description: 单位名称
  3809. type: string
  3810. exexchangecode:
  3811. description: 交易所代码
  3812. type: string
  3813. glist:
  3814. description: 合约列表
  3815. items:
  3816. $ref: '#/definitions/models.Ermcp3Goods'
  3817. type: array
  3818. goodsgroupid:
  3819. description: 商品组id
  3820. type: integer
  3821. goodsgroupname:
  3822. description: 商品组名称
  3823. type: string
  3824. goodsunitid:
  3825. description: 单位id
  3826. type: integer
  3827. middlegoodsid:
  3828. description: 套保商品id
  3829. type: integer
  3830. type: object
  3831. models.Ermcp3HedgePlan:
  3832. properties:
  3833. accountid:
  3834. description: 资金账号
  3835. type: integer
  3836. areauserid:
  3837. description: 用户ID
  3838. type: integer
  3839. audittime:
  3840. description: 审核时间
  3841. type: string
  3842. contracttype:
  3843. description: 计划类型 - 1:采购 -1:销售
  3844. type: integer
  3845. convertfactor:
  3846. description: 标仓系数
  3847. type: number
  3848. createtime:
  3849. description: 创建时间
  3850. type: string
  3851. currencyid:
  3852. description: 币种id
  3853. type: integer
  3854. currencyname:
  3855. description: 币种名称
  3856. type: string
  3857. deliverygoodscode:
  3858. description: 现货品种代码
  3859. type: string
  3860. deliverygoodsid:
  3861. description: 现货品种ID
  3862. type: integer
  3863. deliverygoodsname:
  3864. description: 现货品种名称
  3865. type: string
  3866. enumdicname:
  3867. description: 单位名称(现货商品)
  3868. type: string
  3869. hedgeplanid:
  3870. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  3871. type: string
  3872. hedgeplanno:
  3873. description: 套保计划编号(名称)
  3874. type: string
  3875. hedgeplanstatus:
  3876. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  3877. type: integer
  3878. planqty:
  3879. description: 计划数量
  3880. type: number
  3881. plantime:
  3882. description: 计划时间
  3883. type: string
  3884. producttype:
  3885. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  3886. type: integer
  3887. remark:
  3888. description: 备注
  3889. type: string
  3890. spotgoodsdesc:
  3891. description: 商品型号
  3892. type: string
  3893. taaccountname:
  3894. description: 资金账号名称
  3895. type: string
  3896. tradeuserid:
  3897. description: 交易用户id
  3898. type: integer
  3899. tradeusername:
  3900. description: 交易用户名称
  3901. type: string
  3902. unitid:
  3903. description: 单位id(现货商品)
  3904. type: integer
  3905. updatetime:
  3906. description: 更新时间
  3907. type: string
  3908. wrstandardcode:
  3909. description: 品类代码
  3910. type: string
  3911. wrstandardid:
  3912. description: 品类id
  3913. type: integer
  3914. wrstandardname:
  3915. description: 品类名称
  3916. type: string
  3917. wrunitid:
  3918. description: 品类单位id
  3919. type: integer
  3920. wrunitidame:
  3921. description: 品类单位名称
  3922. type: string
  3923. type: object
  3924. models.Ermcp3MiddleGoodsDetail2:
  3925. properties:
  3926. convertratio:
  3927. description: 套保系数(折算系数)
  3928. type: number
  3929. gplist:
  3930. description: 关联商品组列表
  3931. items:
  3932. $ref: '#/definitions/models.Ermcp3GoodsGroupEx'
  3933. type: array
  3934. mg:
  3935. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  3936. description: 套保商品信息
  3937. type: object
  3938. type: object
  3939. models.Ermcp3MiddleGoodsDetailEx:
  3940. properties:
  3941. dglist:
  3942. description: 关联的现货品种列表
  3943. items:
  3944. $ref: '#/definitions/models.ErmcpDeliveryGoodsDetail2'
  3945. type: array
  3946. gplist:
  3947. description: 关联商品组列表
  3948. items:
  3949. $ref: '#/definitions/models.Ermcp3GoodsGroupEx'
  3950. type: array
  3951. mg:
  3952. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  3953. description: 套保商品信息
  3954. type: object
  3955. type: object
  3956. models.Ermcp3ReckonAreaSpotSub:
  3957. properties:
  3958. accountid:
  3959. description: 期货账户ID
  3960. type: integer
  3961. accountname:
  3962. description: 所属机构名称
  3963. type: string
  3964. areauserid:
  3965. description: 账户所属机构
  3966. type: integer
  3967. biztype:
  3968. description: 业务类型 1-套保 2-套利
  3969. type: integer
  3970. brandname:
  3971. description: 品牌名称
  3972. type: string
  3973. buycontractinqty:
  3974. description: 采购合同入库量
  3975. type: number
  3976. buypricedamount:
  3977. description: 采购合同已定价金额
  3978. type: number
  3979. buypricedqty:
  3980. description: 采购合同已定价数量
  3981. type: number
  3982. buyreckonqty:
  3983. description: 采购合同交收量
  3984. type: number
  3985. currencyid:
  3986. description: 币种id
  3987. type: integer
  3988. currencyname:
  3989. description: 币种名称
  3990. type: string
  3991. deliverygoodscode:
  3992. description: 现货商品代码
  3993. type: string
  3994. deliverygoodsid:
  3995. description: 现货品种ID
  3996. type: integer
  3997. deliverygoodsname:
  3998. description: 现货商品名称
  3999. type: string
  4000. enumdicname:
  4001. description: 现货商品单位名称
  4002. type: string
  4003. goodsunitid:
  4004. description: 现货商品单位id
  4005. type: integer
  4006. oribuycontractinqty:
  4007. description: 期初采购合同入库量
  4008. type: number
  4009. oribuypricedamount:
  4010. description: 期初采购合同已定价金额
  4011. type: number
  4012. oribuypricedqty:
  4013. description: 期初采购合同已定价数量
  4014. type: number
  4015. oribuyreckonqty:
  4016. description: 期初采购合同交收量
  4017. type: number
  4018. oriproduceinqty:
  4019. description: 期初生产入库量
  4020. type: number
  4021. oriproduceoutqty:
  4022. description: 期初生产出库量
  4023. type: number
  4024. orisellcontractoutqty:
  4025. description: 期初销售合同出库量
  4026. type: number
  4027. orisellpricedamount:
  4028. description: 期初销售合同已定价金额
  4029. type: number
  4030. orisellpricedqty:
  4031. description: 期初销售合同已定价数量
  4032. type: number
  4033. orisellreckonqty:
  4034. description: 期初销售合同交收量
  4035. type: number
  4036. produceinqty:
  4037. description: 生产入库量
  4038. type: number
  4039. produceoutqty:
  4040. description: 生产出库量
  4041. type: number
  4042. reckondate:
  4043. description: 日照时期(yyyyMMdd)
  4044. type: string
  4045. sellcontractoutqty:
  4046. description: 销售合同出库量
  4047. type: number
  4048. sellpricedamount:
  4049. description: 销售合同已定价金额
  4050. type: number
  4051. sellpricedqty:
  4052. description: 销售合同已定价数量
  4053. type: number
  4054. sellreckonqty:
  4055. description: 销售合同交收量
  4056. type: number
  4057. spotgoodsbrandid:
  4058. description: 现货品牌ID
  4059. type: integer
  4060. todaybuyreckonqty:
  4061. description: 今日采购合同已确定数量
  4062. type: number
  4063. todaysellreckonqty:
  4064. description: 今日销售合同已确定数量
  4065. type: number
  4066. totalbuypricedqty:
  4067. description: 采购定价量 = 期末 - 期初
  4068. type: number
  4069. totalsellpricedqty:
  4070. description: 销售定价量 = 期末 - 期初
  4071. type: number
  4072. totalspotqty:
  4073. description: 现货头寸总量 = 采购合同已定价数量 - 销售合同已定价数量
  4074. type: number
  4075. updatetime:
  4076. description: 更新时间
  4077. type: string
  4078. wrfactortypeid:
  4079. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4080. type: integer
  4081. wrstandardcode:
  4082. description: 品类代码
  4083. type: string
  4084. wrstandardid:
  4085. description: 现货品类ID
  4086. type: integer
  4087. wrstandardname:
  4088. description: 品类名称
  4089. type: string
  4090. required:
  4091. - areauserid
  4092. - reckondate
  4093. type: object
  4094. models.Ermcp3ReportAreaSpotPL:
  4095. properties:
  4096. actualpl:
  4097. description: 实际损益
  4098. type: number
  4099. areauserid:
  4100. description: 所属机构
  4101. type: integer
  4102. biztype:
  4103. description: 业务类型 1-套保 2-套利
  4104. type: integer
  4105. brandname:
  4106. description: 品牌名称
  4107. type: string
  4108. curamount:
  4109. description: 期末额
  4110. type: number
  4111. curaverageprice:
  4112. description: 期末均价
  4113. type: number
  4114. curbuyamount:
  4115. description: 期末采购总额(采购额)
  4116. type: number
  4117. curbuyqty:
  4118. description: 期末采购总量
  4119. type: number
  4120. curmarketvalue:
  4121. description: 参考市值
  4122. type: number
  4123. curqty:
  4124. description: 期末量
  4125. type: number
  4126. currencyid:
  4127. description: 币种id
  4128. type: integer
  4129. currencyname:
  4130. description: 币种名称
  4131. type: string
  4132. cursellamount:
  4133. description: 期末销售总额(销售额)
  4134. type: number
  4135. cursellqty:
  4136. description: 期末销售总量
  4137. type: number
  4138. curspotprice:
  4139. description: 参考市价
  4140. type: number
  4141. deliverygoodscode:
  4142. description: 现货品种代码
  4143. type: string
  4144. deliverygoodsid:
  4145. description: 现货品种id
  4146. type: integer
  4147. deliverygoodsname:
  4148. description: 现货品种名称
  4149. type: string
  4150. enumdicname:
  4151. description: 现货商品单位名称
  4152. type: string
  4153. floatpl:
  4154. description: 浮动损益
  4155. type: number
  4156. gbenumdicname:
  4157. description: 品类单位名称
  4158. type: string
  4159. gbunitid:
  4160. description: 现货单位id
  4161. type: integer
  4162. modelname:
  4163. description: 品类名称
  4164. type: string
  4165. oriamount:
  4166. description: 期初额
  4167. type: number
  4168. oriaverageprice:
  4169. description: 期初均价
  4170. type: number
  4171. oribuyamount:
  4172. description: 期初采购总额
  4173. type: number
  4174. oribuyqty:
  4175. description: 期初采购总量
  4176. type: number
  4177. oriqty:
  4178. description: 期初量
  4179. type: number
  4180. orisellamount:
  4181. description: 期初销售总额
  4182. type: number
  4183. orisellqty:
  4184. description: 期初销售总量
  4185. type: number
  4186. spotgoodsbrandid:
  4187. description: 现货品牌ID
  4188. type: integer
  4189. todaybuyamount:
  4190. description: 今日采购额
  4191. type: number
  4192. todaybuyaverageprice:
  4193. description: 今日采购均价(采购均价)
  4194. type: number
  4195. todaybuyqty:
  4196. description: 今日采购量(采购增量)
  4197. type: number
  4198. todaysellamount:
  4199. description: 今日销售额
  4200. type: number
  4201. todaysellaverageprice:
  4202. description: 今日销售均价(销售均价)
  4203. type: number
  4204. todaysellqty:
  4205. description: 今日销售量(销售增量)
  4206. type: number
  4207. unitid:
  4208. description: 品类单位id
  4209. type: integer
  4210. updatetime:
  4211. description: 更新时间
  4212. type: string
  4213. wrstandardcode:
  4214. description: 品类代码
  4215. type: string
  4216. wrstandardid:
  4217. description: 品类ID
  4218. type: integer
  4219. wrstandardname:
  4220. description: 品类名称
  4221. type: string
  4222. type: object
  4223. models.Ermcp3ReportAreaSpotSub:
  4224. properties:
  4225. accountid:
  4226. description: 期货账户ID
  4227. type: integer
  4228. accountname:
  4229. description: 所属机构名称
  4230. type: string
  4231. areauserid:
  4232. description: 账户所属机构
  4233. type: integer
  4234. biztype:
  4235. description: 业务类型 1-套保 2-套利
  4236. type: integer
  4237. brandname:
  4238. description: 品牌名称
  4239. type: string
  4240. buycontractinqty:
  4241. description: 采购合同入库量【期末】
  4242. type: number
  4243. buypricedamount:
  4244. description: 采购合同已定价金额【期末】
  4245. type: number
  4246. buypricedqty:
  4247. description: 采购合同已定价数量【期末】
  4248. type: number
  4249. buyreckonqty:
  4250. description: 采购合同交收量【期末】
  4251. type: number
  4252. currencyid:
  4253. description: 币种id
  4254. type: integer
  4255. currencyname:
  4256. description: 币种名称
  4257. type: string
  4258. cycletime:
  4259. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4260. type: string
  4261. cycletype:
  4262. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4263. type: integer
  4264. deliverygoodscode:
  4265. description: 现货商品代码
  4266. type: string
  4267. deliverygoodsid:
  4268. description: 现货品种ID
  4269. type: integer
  4270. deliverygoodsname:
  4271. description: 现货商品名称
  4272. type: string
  4273. enumdicname:
  4274. description: 现货商品单位名称
  4275. type: string
  4276. goodsunitid:
  4277. description: 现货商品单位id
  4278. type: integer
  4279. oribuycontractinqty:
  4280. description: 期初采购合同入库量【期初】
  4281. type: number
  4282. oribuypricedamount:
  4283. description: 期初采购合同已定价金额【期初】
  4284. type: number
  4285. oribuypricedqty:
  4286. description: 期初采购合同已定价数量【期初】
  4287. type: number
  4288. oribuyreckonqty:
  4289. description: 期初采购合同交收量【期初】
  4290. type: number
  4291. oriproduceinqty:
  4292. description: 期初生产入库量【期初】
  4293. type: number
  4294. oriproduceoutqty:
  4295. description: 期初生产出库量【期初】
  4296. type: number
  4297. orisellcontractoutqty:
  4298. description: 期初销售合同出库量【期初】
  4299. type: number
  4300. orisellpricedamount:
  4301. description: 期初销售合同已定价金额【期初】
  4302. type: number
  4303. orisellpricedqty:
  4304. description: 期初销售合同已定价数量【期初】
  4305. type: number
  4306. orisellreckonqty:
  4307. description: 期初销售合同交收量【期初】
  4308. type: number
  4309. produceinqty:
  4310. description: 生产入库量【期末】
  4311. type: number
  4312. produceoutqty:
  4313. description: 生产出库量【期末】
  4314. type: number
  4315. sellcontractoutqty:
  4316. description: 销售合同出库量【期末】
  4317. type: number
  4318. sellpricedamount:
  4319. description: 销售合同已定价金额【期末】
  4320. type: number
  4321. sellpricedqty:
  4322. description: 销售合同已定价数量【期末】
  4323. type: number
  4324. sellreckonqty:
  4325. description: 销售合同交收量【期末】
  4326. type: number
  4327. spotgoodsbrandid:
  4328. description: 现货品牌ID
  4329. type: integer
  4330. todaybuyreckonqty:
  4331. description: 今日采购合同已确定数量【汇总】
  4332. type: number
  4333. todaysellreckonqty:
  4334. description: 今日销售合同已确定数量【汇总】
  4335. type: number
  4336. totalbuypricedqty:
  4337. description: 采购定价量 = 期末 - 期初
  4338. type: number
  4339. totalsellpricedqty:
  4340. description: 销售定价量 = 期末 - 期初
  4341. type: number
  4342. totalspotqty:
  4343. description: 现货头寸总量 = 采购合同已定价数量 - 销售合同已定价数量【期末】
  4344. type: number
  4345. updatetime:
  4346. description: 更新时间
  4347. type: string
  4348. wrfactortypeid:
  4349. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4350. type: integer
  4351. wrstandardcode:
  4352. description: 品类代码
  4353. type: string
  4354. wrstandardid:
  4355. description: 品类ID
  4356. type: integer
  4357. wrstandardname:
  4358. description: 品类名称
  4359. type: string
  4360. required:
  4361. - areauserid
  4362. type: object
  4363. models.Ermcp3ReportOPLog:
  4364. properties:
  4365. applyid:
  4366. description: 操作人
  4367. type: integer
  4368. applyname:
  4369. description: 操作人名称
  4370. type: string
  4371. biztype:
  4372. description: 业务类型 - 1:套保计划 2:现货合同
  4373. type: integer
  4374. brandname:
  4375. description: 品牌名称
  4376. type: string
  4377. contracttype:
  4378. description: 现货合同类型 - 1:采购 -1:销售
  4379. type: integer
  4380. deliverygoodscode:
  4381. description: 现货品种代码
  4382. type: string
  4383. deliverygoodsid:
  4384. description: 现货品种id
  4385. type: integer
  4386. deliverygoodsname:
  4387. description: 现货品种名称
  4388. type: string
  4389. enumdicName:
  4390. description: 单位名称
  4391. type: string
  4392. logdatetime:
  4393. description: 流水日期(时间)
  4394. type: string
  4395. logid:
  4396. description: 流水ID(604+Unix秒时间戳(10位)+xxxxxx)
  4397. type: string
  4398. logtypename:
  4399. description: 合同类型(名称)
  4400. type: string
  4401. logvalue:
  4402. description: 数值
  4403. type: string
  4404. operatelogtype:
  4405. description: 操作流水类型 -
  4406. type: integer
  4407. optypename:
  4408. description: 流水类型名称
  4409. type: string
  4410. relatedid:
  4411. description: 现货合同ID\套保计划
  4412. type: string
  4413. relatedno:
  4414. description: 合同编号
  4415. type: string
  4416. spotgoodsbrandid:
  4417. description: 品牌id
  4418. type: integer
  4419. tradedate:
  4420. description: 交易日(yyyyMMdd)
  4421. type: string
  4422. userid:
  4423. description: 机构ID
  4424. type: integer
  4425. wrstandardcode:
  4426. description: 品类代码
  4427. type: string
  4428. wrstandardid:
  4429. description: 品类id
  4430. type: integer
  4431. wrstandardname:
  4432. description: 品类名称
  4433. type: string
  4434. type: object
  4435. models.Ermcp3SellBuyContract:
  4436. properties:
  4437. accountname:
  4438. description: 账户名称
  4439. type: string
  4440. attachment:
  4441. description: 附件
  4442. type: string
  4443. audittime:
  4444. description: 审核时间
  4445. type: string
  4446. brandname:
  4447. description: 品牌名称
  4448. type: string
  4449. contracctstatus:
  4450. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4451. type: integer
  4452. contractmargin:
  4453. description: 合同保证金
  4454. type: number
  4455. contractno:
  4456. description: 合同编号
  4457. type: string
  4458. contracttype:
  4459. description: 合同类型 1-采购, -1-销售
  4460. type: integer
  4461. convertfactor:
  4462. description: 标仓系数(品类)
  4463. type: number
  4464. createtime:
  4465. description: 创建时间
  4466. type: string
  4467. daikaiamount:
  4468. description: 应收(开)票额
  4469. type: number
  4470. deliveryenddate:
  4471. description: 交割结束日
  4472. type: string
  4473. deliverygoodscode:
  4474. description: 现货品种代码
  4475. type: string
  4476. deliverygoodsid:
  4477. description: 现货商品ID
  4478. type: integer
  4479. deliverygoodsname:
  4480. description: 现货品种名称
  4481. type: string
  4482. deliverystartdate:
  4483. description: 交割开始日
  4484. type: string
  4485. enddate:
  4486. description: 点价结束日
  4487. type: string
  4488. enumdicname:
  4489. description: 单位名称
  4490. type: string
  4491. goodscode:
  4492. description: 点价商品代码
  4493. type: string
  4494. goodsid:
  4495. description: 点价商品ID
  4496. type: integer
  4497. goodsname:
  4498. description: 点价商品名称
  4499. type: string
  4500. invoiceamount:
  4501. description: 已开票额
  4502. type: number
  4503. loanamount:
  4504. description: 贷款总额=已定价额+调整金额
  4505. type: number
  4506. margin:
  4507. description: 保证金
  4508. type: number
  4509. nickname:
  4510. description: 账户昵称
  4511. type: string
  4512. payamount:
  4513. description: 已收付额(收款或付款)
  4514. type: number
  4515. preinvoiceamount:
  4516. description: 预收(开)票额
  4517. type: number
  4518. prepayamount:
  4519. description: 预收付额
  4520. type: number
  4521. price:
  4522. description: 价格
  4523. type: number
  4524. pricedamount:
  4525. description: 已定价额
  4526. type: number
  4527. pricedavg:
  4528. description: 已点均价
  4529. type: number
  4530. pricedqty:
  4531. description: 已定价量
  4532. type: number
  4533. pricemove:
  4534. description: 升贴水
  4535. type: number
  4536. pricetype:
  4537. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4538. type: integer
  4539. producttype:
  4540. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  4541. type: integer
  4542. qty:
  4543. description: 合同量
  4544. type: number
  4545. reckonadjustamount:
  4546. description: 调整金额
  4547. type: number
  4548. reckonedamount:
  4549. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  4550. type: number
  4551. reckonotheramount:
  4552. description: 其它费用
  4553. type: number
  4554. reckonrealqty:
  4555. description: 已确定量
  4556. type: number
  4557. remark:
  4558. description: 备注
  4559. type: string
  4560. spotcontractid:
  4561. description: 合同ID
  4562. type: string
  4563. spotgoodsbrandid:
  4564. description: 现货品牌ID(DGFactoryItem表的ID)
  4565. type: integer
  4566. spotgoodsdesc:
  4567. description: 商品型号(商品规格)
  4568. type: string
  4569. startdate:
  4570. description: 点价开始日
  4571. type: string
  4572. totalamount:
  4573. description: 合计总额
  4574. type: number
  4575. unpayamount:
  4576. description: 应收付款额(应支付或应收款)
  4577. type: number
  4578. unpricedqty:
  4579. description: 未定价量
  4580. type: number
  4581. unsureqty:
  4582. description: 未确定量
  4583. type: number
  4584. userid:
  4585. description: 机构ID
  4586. type: integer
  4587. wrstandardcode:
  4588. description: 品类代码
  4589. type: string
  4590. wrstandardid:
  4591. description: 品类ID
  4592. type: integer
  4593. wrstandardname:
  4594. description: 品类名称
  4595. type: string
  4596. type: object
  4597. models.Ermcp3SpotGoodsPrice:
  4598. properties:
  4599. areauserid:
  4600. description: 所属机构id
  4601. type: integer
  4602. brandname:
  4603. description: 品牌名称
  4604. type: string
  4605. currencyid:
  4606. description: 报价货币ID
  4607. type: integer
  4608. deliverygoodscode:
  4609. description: 现货商品代码
  4610. type: string
  4611. deliverygoodsid:
  4612. description: 现货商品id
  4613. type: integer
  4614. deliverygoodsname:
  4615. description: 现货商品名称
  4616. type: string
  4617. enumdicname:
  4618. description: 现货商品单位名称
  4619. type: string
  4620. gbenumdicname:
  4621. description: 品类单位名称
  4622. type: string
  4623. gmunitid:
  4624. description: 品类单位id
  4625. type: integer
  4626. isvalid:
  4627. description: 是否有效 - 0:无效 1:有效
  4628. type: integer
  4629. operateid:
  4630. description: 最后操作人
  4631. type: integer
  4632. operatesrc:
  4633. description: 最后操作来源 - 1:管理端 2:终端
  4634. type: integer
  4635. operatetime:
  4636. description: 最后操作时间
  4637. type: string
  4638. operatorname:
  4639. description: 操作人名称
  4640. type: string
  4641. spotgoodsbrandid:
  4642. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  4643. type: integer
  4644. spotgoodsprice:
  4645. description: 现货价格
  4646. type: number
  4647. tradedate:
  4648. description: 交易日(yyyyMMdd)
  4649. type: string
  4650. unitid:
  4651. description: 现货商品单位id
  4652. type: integer
  4653. wrstandardcode:
  4654. description: 品类代码
  4655. type: string
  4656. wrstandardid:
  4657. description: 现货品类ID(通用则为0)
  4658. type: integer
  4659. wrstandardname:
  4660. description: 品类名称
  4661. type: string
  4662. type: object
  4663. models.Ermcp3SpotGoodsPriceLog:
  4664. properties:
  4665. areauserid:
  4666. description: 所属机构id
  4667. type: integer
  4668. brandname:
  4669. description: 品牌名称
  4670. type: string
  4671. currencyid:
  4672. description: 报价货币ID
  4673. type: integer
  4674. deliverygoodscode:
  4675. description: 现货商品代码
  4676. type: string
  4677. deliverygoodsid:
  4678. description: 现货商品id
  4679. type: integer
  4680. deliverygoodsname:
  4681. description: 现货商品名称
  4682. type: string
  4683. enumdicname:
  4684. description: 现货商品单位名称
  4685. type: string
  4686. gbenumdicname:
  4687. description: 品类单位名称
  4688. type: string
  4689. gmunitid:
  4690. description: 品类单位id
  4691. type: integer
  4692. logid:
  4693. description: 日志id
  4694. type: integer
  4695. operateid:
  4696. description: 最后操作人
  4697. type: integer
  4698. operatesrc:
  4699. description: 最后操作来源 - 1:管理端 2:终端
  4700. type: integer
  4701. operatetime:
  4702. description: 最后操作时间
  4703. type: string
  4704. operatorname:
  4705. description: 操作人名称
  4706. type: string
  4707. spotgoodsbrandid:
  4708. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  4709. type: integer
  4710. spotgoodsprice:
  4711. description: 现货价格
  4712. type: number
  4713. tradedate:
  4714. description: 交易日(yyyyMMdd)
  4715. type: string
  4716. unitid:
  4717. description: 现货商品单位id
  4718. type: integer
  4719. wrstandardcode:
  4720. description: 品类代码
  4721. type: string
  4722. wrstandardid:
  4723. description: 现货品类ID(通用则为0)
  4724. type: integer
  4725. wrstandardname:
  4726. description: 品类名称
  4727. type: string
  4728. type: object
  4729. models.Ermcp3Wrstandard:
  4730. properties:
  4731. areauserid:
  4732. description: 所属机构
  4733. type: integer
  4734. convertfactor:
  4735. description: 标仓系数
  4736. type: number
  4737. createtime:
  4738. description: 创建时间
  4739. type: string
  4740. creatorid:
  4741. description: 创建人
  4742. type: integer
  4743. deliverygoodsid:
  4744. description: 现货品种ID
  4745. type: integer
  4746. enumdicname:
  4747. description: 品类单位名称
  4748. type: string
  4749. isvalid:
  4750. description: 是否有效 0-无效(停用) 1-有效(正常)
  4751. type: integer
  4752. minivalue:
  4753. description: 最小变动值
  4754. type: integer
  4755. minivaluedp:
  4756. description: 最小变动值小数位
  4757. type: integer
  4758. realminivalue:
  4759. description: 实际最小变动值
  4760. type: integer
  4761. realminivaluedp:
  4762. description: 实际最小变动值小数位
  4763. type: integer
  4764. remark:
  4765. description: 备注
  4766. type: string
  4767. unitid:
  4768. description: 品类单位ID
  4769. type: integer
  4770. updatetime:
  4771. description: 更新时间
  4772. type: string
  4773. wrstandardcode:
  4774. description: 品类代码
  4775. type: string
  4776. wrstandardid:
  4777. description: 品类ID(SEQ_WRSTANDARD)
  4778. type: integer
  4779. wrstandardname:
  4780. description: 品类名称
  4781. type: string
  4782. type: object
  4783. models.ErmcpAreaSpotDetailModel:
  4784. properties:
  4785. contracttype:
  4786. description: 合同类型 1-采购 -1-销售
  4787. type: integer
  4788. createtime:
  4789. description: 创建时间
  4790. type: string
  4791. enumdicname:
  4792. description: 现货商品单位名称
  4793. type: string
  4794. logtype:
  4795. description: 记录类型 1-套保 2-现货合同
  4796. type: integer
  4797. qty:
  4798. description: 数量
  4799. type: number
  4800. recordname:
  4801. description: 类型名称
  4802. type: string
  4803. relatedid:
  4804. description: 套保计划ID/现货合同ID
  4805. type: string
  4806. relatedno:
  4807. description: 编号
  4808. type: string
  4809. strtime:
  4810. description: 时间
  4811. type: string
  4812. wrstandardcode:
  4813. description: 现货商品代码
  4814. type: string
  4815. wrstandardname:
  4816. description: 现货商品名称
  4817. type: string
  4818. type: object
  4819. models.ErmcpAreaStock:
  4820. properties:
  4821. brandname:
  4822. description: 品牌名称
  4823. type: string
  4824. curstock:
  4825. description: 期末库存量(今日量)
  4826. type: number
  4827. deliverygoodsid:
  4828. description: 现货品种ID
  4829. type: integer
  4830. enumdicname:
  4831. description: 单位名称
  4832. type: string
  4833. modelname:
  4834. description: 型号名称
  4835. type: string
  4836. oristock:
  4837. description: 期初库存量(昨日量)
  4838. type: number
  4839. spotgoodsbrandid:
  4840. description: 现货品牌ID
  4841. type: integer
  4842. spotgoodsmodelid:
  4843. description: 现货型号ID
  4844. type: integer
  4845. todaybuyinqty:
  4846. description: 今日采购入库量
  4847. type: number
  4848. todayproduceinqty:
  4849. description: 今日生产入库量
  4850. type: number
  4851. todayproduceoutqty:
  4852. description: 今日生产出库量
  4853. type: number
  4854. todayselloutqty:
  4855. description: 今日销售出库量
  4856. type: number
  4857. unitid:
  4858. description: 单位id
  4859. type: integer
  4860. updatetime:
  4861. description: 更新时间
  4862. type: string
  4863. userid:
  4864. description: 机构ID
  4865. type: integer
  4866. username:
  4867. description: 机构名称
  4868. type: string
  4869. warehousecode:
  4870. description: 仓库代码
  4871. type: string
  4872. warehouseinfoid:
  4873. description: 仓库ID
  4874. type: string
  4875. warehousename:
  4876. description: 仓库名称
  4877. type: string
  4878. warehousetype:
  4879. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4880. type: integer
  4881. wrstandardcode:
  4882. description: 现货商品代码
  4883. type: string
  4884. wrstandardid:
  4885. description: 现货商品ID
  4886. type: string
  4887. wrstandardname:
  4888. description: 现货商品名称
  4889. type: string
  4890. type: object
  4891. models.ErmcpAreaStockApply:
  4892. properties:
  4893. applyid:
  4894. description: 申请人
  4895. type: integer
  4896. applyname:
  4897. description: 申请人名称
  4898. type: string
  4899. applyremark:
  4900. description: 申请备注
  4901. type: string
  4902. applysrc:
  4903. description: 申请来源 - 1:管理端 2:终端
  4904. type: integer
  4905. applystatus:
  4906. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  4907. type: integer
  4908. applytime:
  4909. description: 申请时间
  4910. type: string
  4911. auditid:
  4912. description: 审核人
  4913. type: integer
  4914. auditname:
  4915. description: 审核人名称
  4916. type: string
  4917. auditremark:
  4918. description: 审核备注
  4919. type: string
  4920. auditsrc:
  4921. description: 审核来源 - 1:管理端 2:终端
  4922. type: integer
  4923. audittime:
  4924. description: 审核时间
  4925. type: string
  4926. audittradedate:
  4927. description: 审核交易日(yyyyMMdd)
  4928. type: string
  4929. brandname:
  4930. description: 品牌名称
  4931. type: string
  4932. buyuserid:
  4933. description: 采购方userid
  4934. type: integer
  4935. buyusername:
  4936. description: 采购方名称
  4937. type: string
  4938. contractno:
  4939. description: 合同编号
  4940. type: string
  4941. contractqty:
  4942. description: 合同量
  4943. type: number
  4944. contracttype:
  4945. description: 现货合同类型 - 1:采购 -1:销售
  4946. type: integer
  4947. deliverygoodsid:
  4948. description: 现货品种ID
  4949. type: integer
  4950. enumdicname:
  4951. description: 现货商品单位名称
  4952. type: string
  4953. inoutapplyid:
  4954. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  4955. type: string
  4956. inouttype:
  4957. description: 出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  4958. type: integer
  4959. modelname:
  4960. description: 型号名称
  4961. type: string
  4962. pricetype:
  4963. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4964. type: integer
  4965. qty:
  4966. description: 数量
  4967. type: number
  4968. selluserid:
  4969. description: 销售方userid
  4970. type: integer
  4971. sellusername:
  4972. description: 销售方名称
  4973. type: string
  4974. spotcontractid:
  4975. description: 关联现货合同ID
  4976. type: string
  4977. spotgoodsbrandid:
  4978. description: 现货品牌ID
  4979. type: integer
  4980. spotgoodsmodelid:
  4981. description: 现货型号ID
  4982. type: integer
  4983. unitid:
  4984. description: 单位id
  4985. type: integer
  4986. userid:
  4987. description: 机构ID
  4988. type: integer
  4989. warehousecode:
  4990. description: 仓库代码
  4991. type: string
  4992. warehouseinfoid:
  4993. description: 现货仓库ID
  4994. type: string
  4995. warehousename:
  4996. description: 仓库名称
  4997. type: string
  4998. warehousetype:
  4999. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  5000. type: integer
  5001. wrstandardcode:
  5002. description: 现货商品代码
  5003. type: string
  5004. wrstandardid:
  5005. description: 现货商品ID
  5006. type: string
  5007. wrstandardname:
  5008. description: 现货商品名称
  5009. type: string
  5010. type: object
  5011. models.ErmcpAreaStockApplySum:
  5012. properties:
  5013. brandname:
  5014. description: 品牌名称
  5015. type: string
  5016. inouttype:
  5017. description: 出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  5018. type: integer
  5019. modelname:
  5020. description: 型号名称
  5021. type: string
  5022. spotcontractid:
  5023. description: 关联现货合同ID
  5024. type: string
  5025. spotgoodsbrandid:
  5026. description: 品牌id
  5027. type: integer
  5028. spotgoodsmodelid:
  5029. description: 型号id
  5030. type: integer
  5031. totalqty:
  5032. description: 总数量
  5033. type: number
  5034. type: object
  5035. models.ErmcpAreaStockReport:
  5036. properties:
  5037. brandname:
  5038. description: 品牌名称
  5039. type: string
  5040. curstock:
  5041. description: 期末库存量
  5042. type: number
  5043. deliverygoodsid:
  5044. description: 现货品种ID
  5045. type: integer
  5046. enumdicname:
  5047. description: 单位名称
  5048. type: string
  5049. modelname:
  5050. description: 型号名称
  5051. type: string
  5052. oristock:
  5053. description: 期初库存量
  5054. type: number
  5055. spotgoodsbrandid:
  5056. description: 现货品牌ID
  5057. type: integer
  5058. spotgoodsmodelid:
  5059. description: 现货型号ID
  5060. type: integer
  5061. todaybuyinqty:
  5062. description: 今日采购入库量
  5063. type: number
  5064. todayproduceinqty:
  5065. description: 今日生产入库量
  5066. type: number
  5067. todayproduceoutqty:
  5068. description: 今日生产出库量
  5069. type: number
  5070. todayselloutqty:
  5071. description: 今日销售出库量
  5072. type: number
  5073. unitid:
  5074. description: 单位id
  5075. type: integer
  5076. updatetime:
  5077. description: 更新时间
  5078. type: string
  5079. userid:
  5080. description: 机构ID
  5081. type: integer
  5082. username:
  5083. description: 机构名称
  5084. type: string
  5085. warehousecode:
  5086. description: 仓库代码
  5087. type: string
  5088. warehouseinfoid:
  5089. description: 仓库ID
  5090. type: string
  5091. warehousename:
  5092. description: 仓库名称
  5093. type: string
  5094. warehousetype:
  5095. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  5096. type: integer
  5097. wrstandardcode:
  5098. description: 现货商品代码
  5099. type: string
  5100. wrstandardid:
  5101. description: 现货商品ID
  5102. type: string
  5103. wrstandardname:
  5104. description: 现货商品名称
  5105. type: string
  5106. type: object
  5107. models.ErmcpAvalidGoodsGroupModel:
  5108. properties:
  5109. goodsgroupid:
  5110. description: 期货品种id
  5111. type: integer
  5112. goodsgroupname:
  5113. description: 期货品种名称
  5114. type: string
  5115. goodunitid:
  5116. description: 品种单位id
  5117. type: integer
  5118. goodunitname:
  5119. description: 品种单位名称
  5120. type: string
  5121. outergroupcode:
  5122. description: 期货品种代码
  5123. type: string
  5124. type: object
  5125. models.ErmcpBizGroupEx:
  5126. properties:
  5127. acclist:
  5128. description: 账号列表
  5129. items:
  5130. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  5131. type: array
  5132. bizgroupid:
  5133. description: 业务分组id
  5134. type: integer
  5135. biztype:
  5136. description: 业务类型 1-套保 2-套利
  5137. type: integer
  5138. wrlist:
  5139. description: 现货商品表
  5140. items:
  5141. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  5142. type: array
  5143. type: object
  5144. models.ErmcpBizGroupSpotGoods:
  5145. properties:
  5146. areauserid:
  5147. description: 所属机构id
  5148. type: integer
  5149. bizgroupid:
  5150. description: 分组id
  5151. type: integer
  5152. biztype:
  5153. description: 业务类型 1-套保 2-套利
  5154. type: integer
  5155. deliverygoodscode:
  5156. description: 现货商品代码
  5157. type: string
  5158. deliverygoodsid:
  5159. description: 现货商品id
  5160. type: integer
  5161. deliverygoodsname:
  5162. description: 现货商品名称
  5163. type: string
  5164. unitid:
  5165. description: 现货商品单位id
  5166. type: integer
  5167. type: object
  5168. models.ErmcpBizGroupTaAccount:
  5169. properties:
  5170. accountid:
  5171. description: 账号id
  5172. type: integer
  5173. accountname:
  5174. description: 账号名称
  5175. type: string
  5176. areauserid:
  5177. description: 所属机构id
  5178. type: integer
  5179. bizgroupid:
  5180. description: 业务分组id
  5181. type: integer
  5182. ismain:
  5183. description: 是否主账号 1-是 0-否
  5184. type: integer
  5185. type: object
  5186. models.ErmcpDGFactoryItem:
  5187. properties:
  5188. areauserid:
  5189. description: 用户id
  5190. type: integer
  5191. deliverygoodsid:
  5192. description: 现货品种ID
  5193. type: integer
  5194. dgfactoryitemid:
  5195. description: 选择项ID(SEQ_DGFACTORYITEM)
  5196. type: integer
  5197. dgfactoryitemtypeid:
  5198. description: 要素项类型
  5199. type: integer
  5200. dgfactoryitemvalue:
  5201. description: 要素项值(类型为仓库时填写仓库名称)
  5202. type: string
  5203. isvalid:
  5204. description: 是否有效 - 0:无效 1:有效
  5205. type: integer
  5206. orderindex:
  5207. description: 顺序
  5208. type: integer
  5209. warehouseid:
  5210. description: 仓库ID(类型为仓库时填写)
  5211. type: integer
  5212. type: object
  5213. models.ErmcpDeliveryGoods:
  5214. properties:
  5215. agreeunit:
  5216. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  5217. type: integer
  5218. areauserid:
  5219. description: 所属机构
  5220. type: integer
  5221. auditflag:
  5222. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  5223. type: integer
  5224. categoryid:
  5225. description: 类别ID(SEQ_WRCATEGORY)
  5226. type: integer
  5227. deliverygoodscode:
  5228. description: 现货品种代码
  5229. type: string
  5230. deliverygoodsid:
  5231. description: 现货品种ID(SEQ_DELIVERYGOODS)
  5232. type: integer
  5233. deliverygoodsname:
  5234. description: 现货品种名称
  5235. type: string
  5236. deliverygoodstype:
  5237. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  5238. type: integer
  5239. dgstatus:
  5240. description: 品种状态 - 作废 - 0:未激活 1:正常
  5241. type: integer
  5242. enumdicname:
  5243. description: 现货品种单位名称
  5244. type: string
  5245. goodsunitid:
  5246. description: 现货品种单位ID
  5247. type: integer
  5248. isvalid:
  5249. description: 是否有效 - 0:无效 1:有效
  5250. type: integer
  5251. qtydecimalplace:
  5252. description: 成交量小数位
  5253. type: integer
  5254. remark:
  5255. description: 备注
  5256. type: string
  5257. standardqty:
  5258. description: 标准数量(库位数量) [标准品特有]
  5259. type: integer
  5260. standardqtyrange:
  5261. description: 标准数量偏差范围 [标准品特有]
  5262. type: integer
  5263. type: object
  5264. models.ErmcpDeliveryGoodsDetail2:
  5265. properties:
  5266. convertratio:
  5267. description: 套保系数(折算系数)
  5268. type: number
  5269. data:
  5270. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  5271. description: 现货商品基本信息(交割品种)
  5272. type: object
  5273. gblist:
  5274. description: 品牌列表
  5275. items:
  5276. $ref: '#/definitions/models.Ermcp3Brand'
  5277. type: array
  5278. gmlist:
  5279. description: 品类列表(仓单标准)
  5280. items:
  5281. $ref: '#/definitions/models.Ermcp3Wrstandard'
  5282. type: array
  5283. type: object
  5284. models.ErmcpDeliveryGoodsDetailEx:
  5285. properties:
  5286. data:
  5287. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  5288. description: 现货商品基本信息(交割品种)
  5289. type: object
  5290. gblist:
  5291. description: 品牌列表
  5292. items:
  5293. $ref: '#/definitions/models.Ermcp3Brand'
  5294. type: array
  5295. gmlist:
  5296. description: 品类列表(仓单标准)
  5297. items:
  5298. $ref: '#/definitions/models.Ermcp3Wrstandard'
  5299. type: array
  5300. mgList:
  5301. description: 套保列表
  5302. items:
  5303. $ref: '#/definitions/models.Ermcp3MiddleGoodsDetail2'
  5304. type: array
  5305. type: object
  5306. models.ErmcpExposureDetailModel:
  5307. properties:
  5308. areauserid:
  5309. description: 机构ID
  5310. type: integer
  5311. changeQty:
  5312. description: 套保变动量
  5313. type: number
  5314. contracttype:
  5315. description: 现货合同类型 - 1:采购 -1:销售
  5316. type: integer
  5317. convertfactor:
  5318. description: 标仓系数
  5319. type: number
  5320. convertratio:
  5321. description: 套保系数
  5322. type: number
  5323. createtime:
  5324. description: 时间
  5325. type: string
  5326. enumdicname:
  5327. description: 现货商品单位名称
  5328. type: string
  5329. logtype:
  5330. description: 类型 - 1:套保计划 2:现货合同
  5331. type: integer
  5332. middlegoodsId:
  5333. description: 套保商品id
  5334. type: integer
  5335. middlegoodscode:
  5336. description: 套保商品代码
  5337. type: string
  5338. middlegoodsname:
  5339. description: 套保商品名称
  5340. type: string
  5341. qty:
  5342. description: 数量
  5343. type: number
  5344. relateNo:
  5345. description: 现货合同/套保计划编号
  5346. type: string
  5347. wrstandardcode:
  5348. description: 现货商品代码
  5349. type: string
  5350. wrstandardid:
  5351. description: 现货商品ID
  5352. type: integer
  5353. wrstandardname:
  5354. description: 现货商品名称
  5355. type: string
  5356. type: object
  5357. models.ErmcpExposurePostion:
  5358. properties:
  5359. agreeunit:
  5360. description: 合约单位
  5361. type: string
  5362. areauserid:
  5363. description: 所属机构id
  5364. type: integer
  5365. convertratio:
  5366. description: 期货品种系数(折算系数)
  5367. type: number
  5368. curqty:
  5369. description: 当前持仓
  5370. type: integer
  5371. diffhedgeqty:
  5372. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  5373. type: number
  5374. diffqty:
  5375. description: 持仓变动量=当前持仓-昨日持仓
  5376. type: integer
  5377. goodscode:
  5378. description: 商品代码
  5379. type: string
  5380. goodsid:
  5381. description: 商品id
  5382. type: integer
  5383. goodsname:
  5384. description: 商品名称
  5385. type: string
  5386. middlegoodsid:
  5387. description: 套保商品id
  5388. type: integer
  5389. ydqty:
  5390. description: 昨日持仓
  5391. type: integer
  5392. type: object
  5393. models.ErmcpFuturesCompany:
  5394. properties:
  5395. brokerid:
  5396. description: 经纪公司代码
  5397. type: string
  5398. channeladdress:
  5399. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  5400. type: string
  5401. channelid:
  5402. description: 对冲渠道ID
  5403. type: string
  5404. createtime:
  5405. description: 创建时间
  5406. type: string
  5407. creatorid:
  5408. description: 创建人
  5409. type: string
  5410. fcid:
  5411. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  5412. type: integer
  5413. fcname:
  5414. description: 期货公司名称
  5415. type: string
  5416. isvalid:
  5417. description: 是否有效 - 0:无效 1:有效
  5418. type: integer
  5419. mhpaddress:
  5420. description: MHP服务地址(IP:Port)
  5421. type: string
  5422. riskrulegroupid:
  5423. description: 风控规则组ID
  5424. type: string
  5425. tradefeetmpid:
  5426. description: 手续费模板ID[TradeConfigTmpType为2]
  5427. type: string
  5428. trademargintmpid:
  5429. description: 保证金模板ID [TradeConfigTmpType为1]
  5430. type: string
  5431. traderatetmpid:
  5432. description: 汇率模板ID[TradeConfigTmpType为3]
  5433. type: string
  5434. updatetime:
  5435. description: 更新时间
  5436. type: string
  5437. updatorid:
  5438. description: 更新人
  5439. type: string
  5440. type: object
  5441. models.ErmcpGGConvertCfg:
  5442. properties:
  5443. convertratio:
  5444. description: 折算系数
  5445. type: number
  5446. destgoodsgroupid:
  5447. description: 目标品种ID
  5448. type: integer
  5449. dstcode:
  5450. description: 目录品种代码
  5451. type: string
  5452. dstexchangecode:
  5453. description: 目标期货交易所
  5454. type: string
  5455. dstname:
  5456. description: 目标品种名称
  5457. type: string
  5458. dstunitid:
  5459. description: 目标品种单位ID
  5460. type: integer
  5461. dstunitidname:
  5462. description: 目标品种单位名称
  5463. type: string
  5464. modifytime:
  5465. description: 修改时间
  5466. type: string
  5467. srccode:
  5468. description: 源品种代码
  5469. type: string
  5470. srcexchangecode:
  5471. description: 源期货交易所
  5472. type: string
  5473. srcgoodsgroupid:
  5474. description: 源品种ID
  5475. type: integer
  5476. srcname:
  5477. description: 源品种名称
  5478. type: string
  5479. srcunitid:
  5480. description: 源品种单位ID
  5481. type: integer
  5482. srcunitidname:
  5483. description: 源品种单位名称
  5484. type: string
  5485. type: object
  5486. models.ErmcpGoodsBrand:
  5487. properties:
  5488. areauserid:
  5489. description: 所属机构
  5490. type: integer
  5491. brandid:
  5492. description: BrandID(SEQ_SPOTGOODSBRAND)
  5493. type: integer
  5494. brandname:
  5495. description: 品牌名称
  5496. type: string
  5497. createtime:
  5498. description: 创建时间
  5499. type: string
  5500. creatorid:
  5501. description: 创建人
  5502. type: integer
  5503. creatorsrc:
  5504. description: 创建人来源 - 1:管理端 2:终端
  5505. type: integer
  5506. deliverygoodsid:
  5507. description: 现货品种ID
  5508. type: integer
  5509. isvalid:
  5510. description: 是否有效 - 0:无效 1:有效
  5511. type: integer
  5512. updatetime:
  5513. description: 更新时间
  5514. type: string
  5515. updatorid:
  5516. description: 更新人
  5517. type: integer
  5518. updatorsrc:
  5519. description: 更新人来源 - 1:管理端 2:终端
  5520. type: integer
  5521. wrstandardid:
  5522. description: 现货商品ID
  5523. type: integer
  5524. type: object
  5525. models.ErmcpGoodsModel:
  5526. properties:
  5527. areauserid:
  5528. description: 所属机构
  5529. type: integer
  5530. convertfactor:
  5531. description: 标仓系数
  5532. type: number
  5533. createtime:
  5534. description: 创建时间
  5535. type: string
  5536. creatorid:
  5537. description: 创建人
  5538. type: integer
  5539. creatorsrc:
  5540. description: 创建人来源 - 1:管理端 2:终端
  5541. type: integer
  5542. deliverygoodsid:
  5543. description: 现货品种ID
  5544. type: integer
  5545. isvalid:
  5546. description: 是否有效 - 0:无效 1:有效
  5547. type: integer
  5548. modelid:
  5549. description: ModelID(SEQ_SPOTGOODSMODEL)
  5550. type: integer
  5551. modelname:
  5552. description: 型号名称
  5553. type: string
  5554. updatetime:
  5555. description: 更新时间
  5556. type: string
  5557. updatorid:
  5558. description: 更新人
  5559. type: integer
  5560. updatorsrc:
  5561. description: 更新人来源 - 1:管理端 2:终端
  5562. type: integer
  5563. wrstandardid:
  5564. description: 现货商品ID
  5565. type: integer
  5566. type: object
  5567. models.ErmcpHedgePlan:
  5568. properties:
  5569. areauserid:
  5570. description: 用户ID
  5571. type: integer
  5572. audittime:
  5573. description: 审核时间
  5574. type: string
  5575. contracttype:
  5576. description: 计划类型 - 1:采购 -1:销售
  5577. type: integer
  5578. convertfactor:
  5579. description: 标仓系数
  5580. type: number
  5581. createtime:
  5582. description: 创建时间
  5583. type: string
  5584. deliverygoodsid:
  5585. description: 现货品种ID
  5586. type: integer
  5587. deliverygoodsname:
  5588. description: 现货品种名称
  5589. type: string
  5590. enumdicname:
  5591. description: 单位名称
  5592. type: string
  5593. hedgeplanid:
  5594. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  5595. type: string
  5596. hedgeplanno:
  5597. description: 套保计划编号(名称)
  5598. type: string
  5599. hedgeplanstatus:
  5600. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5601. type: integer
  5602. planqty:
  5603. description: 计划数量
  5604. type: number
  5605. plantime:
  5606. description: 计划时间
  5607. type: string
  5608. producttype:
  5609. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5610. type: integer
  5611. remark:
  5612. description: 备注
  5613. type: string
  5614. spotgoodsdesc:
  5615. description: 商品型号
  5616. type: string
  5617. unitid:
  5618. description: 单位id
  5619. type: integer
  5620. updatetime:
  5621. description: 更新时间
  5622. type: string
  5623. wrstandardid:
  5624. description: 现货商品ID
  5625. type: integer
  5626. wrstandardname:
  5627. description: 现货商品名称
  5628. type: string
  5629. type: object
  5630. models.ErmcpHedgePosition:
  5631. properties:
  5632. accountid:
  5633. description: 资金账号[外部母账户]
  5634. type: integer
  5635. curbuyposition:
  5636. description: 期末买头寸
  5637. type: integer
  5638. cursellposition:
  5639. description: 期末卖头寸
  5640. type: integer
  5641. curtdbuyposition:
  5642. description: 期末今日买头寸
  5643. type: integer
  5644. curtdsellposition:
  5645. description: 期末今日卖头寸
  5646. type: integer
  5647. curydbuyposition:
  5648. description: 期末上日买头寸
  5649. type: integer
  5650. curydsellposition:
  5651. description: 期末上日卖头寸
  5652. type: integer
  5653. decreaseqty:
  5654. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  5655. type: integer
  5656. fretdbuyposition:
  5657. description: 冻结今日买头寸
  5658. type: integer
  5659. fretdsellposition:
  5660. description: 冻结今日卖头寸
  5661. type: integer
  5662. freydbuyposition:
  5663. description: 冻结上日买头寸
  5664. type: integer
  5665. freydsellposition:
  5666. description: 冻结上日卖头寸
  5667. type: integer
  5668. goodscode:
  5669. description: 商品代码
  5670. type: string
  5671. goodsid:
  5672. description: 商品id
  5673. type: integer
  5674. goodsname:
  5675. description: 商品名称
  5676. type: string
  5677. hedgeaccountcode:
  5678. description: 对冲账号
  5679. type: string
  5680. hedgegoodsid:
  5681. description: 对冲合约ID
  5682. type: integer
  5683. increaseqty:
  5684. description: 增加数量 = 期末买头寸 - 期初买头寸
  5685. type: integer
  5686. marketid:
  5687. description: 市场ID
  5688. type: integer
  5689. relateduserid:
  5690. description: 关联用户id
  5691. type: integer
  5692. totalcurqty:
  5693. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  5694. type: integer
  5695. totalydqty:
  5696. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  5697. type: integer
  5698. tradedate:
  5699. description: 交易日(yyyyMMdd)
  5700. type: string
  5701. ydbuyposition:
  5702. description: 期初买头寸
  5703. type: integer
  5704. ydsellposition:
  5705. description: 期初卖头寸
  5706. type: integer
  5707. type: object
  5708. models.ErmcpHedgePositionDetail:
  5709. properties:
  5710. buyorsell:
  5711. description: 买卖方向 0-买 1-卖
  5712. type: integer
  5713. channelbuildtype:
  5714. description: 开平方向 1-建仓 2-平仓
  5715. type: integer
  5716. goodscode:
  5717. description: 商品代码
  5718. type: string
  5719. goodsname:
  5720. description: 商品名称
  5721. type: string
  5722. hedgegoodsid:
  5723. description: 商品id
  5724. type: integer
  5725. tradeqty:
  5726. description: 数量(成交数量)
  5727. type: integer
  5728. tradetime:
  5729. description: 时间(成交时间)
  5730. type: string
  5731. type: object
  5732. models.ErmcpHisExposure:
  5733. properties:
  5734. needhedgeexposoure:
  5735. description: 应套保敞口
  5736. type: number
  5737. reckondate:
  5738. description: 日照时期(yyyyMMdd)
  5739. type: string
  5740. totalexposure:
  5741. description: 总敞口
  5742. type: number
  5743. type: object
  5744. models.ErmcpHisExposureS:
  5745. properties:
  5746. data:
  5747. description: 历史敞口
  5748. items:
  5749. $ref: '#/definitions/models.ErmcpHisExposure'
  5750. type: array
  5751. enumdicname:
  5752. description: 单位名称
  5753. type: string
  5754. middlegoodscode:
  5755. description: 套保品种代码
  5756. type: string
  5757. middlegoodsid:
  5758. description: 套保品种ID
  5759. type: integer
  5760. middlegoodsname:
  5761. description: 套保品种名称
  5762. type: string
  5763. type: object
  5764. models.ErmcpLoginTaAccount:
  5765. properties:
  5766. accountid:
  5767. description: 账号id
  5768. type: integer
  5769. accountname:
  5770. description: 账号名称
  5771. type: string
  5772. type: object
  5773. models.ErmcpLoginUser:
  5774. properties:
  5775. acclist:
  5776. description: 关联资金账号
  5777. items:
  5778. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  5779. type: array
  5780. accountname:
  5781. description: 用户名称
  5782. type: string
  5783. clientroleid:
  5784. description: 角色id(usertype=2)
  5785. type: integer
  5786. createtime:
  5787. description: 创建时间
  5788. type: string
  5789. logincode:
  5790. description: 登录代码
  5791. type: string
  5792. loginid:
  5793. description: 登录id(LOGINID)
  5794. type: integer
  5795. loginname:
  5796. description: 登录名称(loginaccount表中的accountname字段)
  5797. type: string
  5798. loginstatus:
  5799. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  5800. type: integer
  5801. memberuserid:
  5802. description: 所属会员id
  5803. type: integer
  5804. mobile:
  5805. description: 手机号
  5806. type: string
  5807. modifytime:
  5808. description: 修改时间
  5809. type: string
  5810. password:
  5811. description: 密码(不可解密)
  5812. type: string
  5813. rolename:
  5814. description: 角色名称
  5815. type: string
  5816. rolestatus:
  5817. description: 角色状态 1-启用 2-停用
  5818. type: integer
  5819. roletype:
  5820. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  5821. type: string
  5822. userid:
  5823. description: 用户id
  5824. type: integer
  5825. usertype:
  5826. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  5827. type: integer
  5828. type: object
  5829. models.ErmcpLoginUserEx:
  5830. properties:
  5831. accountstatus:
  5832. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  5833. type: integer
  5834. mobile:
  5835. description: 手机号
  5836. type: string
  5837. querytype:
  5838. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  5839. type: integer
  5840. roleid:
  5841. description: 角色id(交易账户->用户id)
  5842. type: integer
  5843. rolename:
  5844. description: 角色名称(交易账户->用户名称)
  5845. type: string
  5846. userlist:
  5847. description: 用户列表
  5848. items:
  5849. $ref: '#/definitions/models.ErmcpLoginUser'
  5850. type: array
  5851. usertype:
  5852. description: 用户类型 2-机构 7-企业成员(云平台)
  5853. type: integer
  5854. type: object
  5855. models.ErmcpMiddleGoodsChangeLog:
  5856. properties:
  5857. aftervalue:
  5858. description: 变更后
  5859. type: number
  5860. applyid:
  5861. description: 操作人
  5862. type: integer
  5863. applyname:
  5864. description: 操作人名称
  5865. type: string
  5866. applysrc:
  5867. description: 操作来源 - 1:管理端 2:终端
  5868. type: integer
  5869. beforevalue:
  5870. description: 变更前
  5871. type: number
  5872. changelogtype:
  5873. description: 变更流水类型 - 1:套保比率变更
  5874. type: integer
  5875. handlestatus:
  5876. description: 处理状态
  5877. type: integer
  5878. logdatetime:
  5879. description: 流水日期
  5880. type: string
  5881. logid:
  5882. description: 流水ID
  5883. type: integer
  5884. logremark:
  5885. description: 流水备注
  5886. type: string
  5887. middlegoodsid:
  5888. description: 套保品种ID
  5889. type: integer
  5890. tradedate:
  5891. description: 交易日(yyyyMMdd)
  5892. type: string
  5893. updatetime:
  5894. description: 更新时间
  5895. type: string
  5896. type: object
  5897. models.ErmcpMiddleGoodsDetail:
  5898. properties:
  5899. cvList:
  5900. description: 期货品种折算列表
  5901. items:
  5902. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  5903. type: array
  5904. mg:
  5905. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  5906. description: 套保品种基本信息
  5907. type: object
  5908. wrcList:
  5909. description: 现货品种列表(现货商品折算配置)
  5910. items:
  5911. $ref: '#/definitions/models.WRSConverTDetail'
  5912. type: array
  5913. type: object
  5914. models.ErmcpMiddleGoodsModel:
  5915. properties:
  5916. areauserid:
  5917. description: 机构用户ID
  5918. type: integer
  5919. createtime:
  5920. description: 修改时间
  5921. type: string
  5922. enumdicname:
  5923. description: 单位名称
  5924. type: string
  5925. evaluateratio:
  5926. description: 估价系数
  5927. type: number
  5928. goodsgroupid:
  5929. description: 关联期货品种ID
  5930. type: integer
  5931. goodsunitid:
  5932. description: 单位ID
  5933. type: integer
  5934. isvalid:
  5935. description: 状态 0-无效(停用) 1-有效(正常)
  5936. type: integer
  5937. middlegoodscode:
  5938. description: 套保品种代码
  5939. type: string
  5940. middlegoodsid:
  5941. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  5942. type: integer
  5943. middlegoodsname:
  5944. description: 套保品种名称
  5945. type: string
  5946. modifytime:
  5947. description: 修改时间
  5948. type: string
  5949. needhedgeratio:
  5950. description: 套保比率
  5951. type: number
  5952. qtydecimalplace:
  5953. description: 数量小数位
  5954. type: integer
  5955. relatedgoodsid:
  5956. description: 关联交易商品ID
  5957. type: integer
  5958. relatedgoodstype:
  5959. description: 关联商品类型 - 1:期货合约 2:现货品种
  5960. type: integer
  5961. remark:
  5962. description: 备注
  5963. type: string
  5964. type: object
  5965. models.ErmcpModel:
  5966. properties:
  5967. accountname:
  5968. description: 账户名称
  5969. type: string
  5970. attachment:
  5971. description: 附件
  5972. type: string
  5973. audittime:
  5974. description: 审核时间
  5975. type: string
  5976. brandname:
  5977. description: 品牌名称
  5978. type: string
  5979. contracctstatus:
  5980. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5981. type: integer
  5982. contractmargin:
  5983. description: 合同保证金
  5984. type: number
  5985. contractno:
  5986. description: 合同编号
  5987. type: string
  5988. contracttype:
  5989. description: 合同类型 1-采购, -1-销售
  5990. type: integer
  5991. convertfactor:
  5992. description: 标仓系数
  5993. type: number
  5994. createtime:
  5995. description: 创建时间
  5996. type: string
  5997. daikaiamount:
  5998. description: 应收(开)票额
  5999. type: number
  6000. deliveryenddate:
  6001. description: 交割结束日
  6002. type: string
  6003. deliverygoodscode:
  6004. description: 现货品种代码
  6005. type: string
  6006. deliverygoodsid:
  6007. description: 现货商品ID
  6008. type: integer
  6009. deliverygoodsname:
  6010. description: 现货品种名称
  6011. type: string
  6012. deliverystartdate:
  6013. description: 交割开始日
  6014. type: string
  6015. enddate:
  6016. description: 点价结束日
  6017. type: string
  6018. enumdicname:
  6019. description: 单位名称
  6020. type: string
  6021. goodscode:
  6022. description: 点价商品代码
  6023. type: string
  6024. goodsid:
  6025. description: 点价商品ID
  6026. type: integer
  6027. goodsname:
  6028. description: 点价商品名称
  6029. type: string
  6030. invoiceamount:
  6031. description: 已开票额
  6032. type: number
  6033. loanamount:
  6034. description: 贷款总额=已定价额+调整金额
  6035. type: number
  6036. margin:
  6037. description: 保证金
  6038. type: number
  6039. modelname:
  6040. description: 型号名称
  6041. type: string
  6042. payamount:
  6043. description: 已收付额(收款或付款)
  6044. type: number
  6045. preinvoiceamount:
  6046. description: 预收(开)票额
  6047. type: number
  6048. prepayamount:
  6049. description: 预收付额
  6050. type: number
  6051. price:
  6052. description: 价格
  6053. type: number
  6054. pricedamount:
  6055. description: 已定价额
  6056. type: number
  6057. pricedavg:
  6058. description: 已点均价
  6059. type: number
  6060. pricedqty:
  6061. description: 已定价量
  6062. type: number
  6063. pricemove:
  6064. description: 升贴水
  6065. type: number
  6066. pricetype:
  6067. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  6068. type: integer
  6069. producttype:
  6070. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  6071. type: integer
  6072. qty:
  6073. description: 合同量
  6074. type: number
  6075. reckonadjustamount:
  6076. description: 调整金额
  6077. type: number
  6078. reckonedamount:
  6079. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  6080. type: number
  6081. reckonotheramount:
  6082. description: 其它费用
  6083. type: number
  6084. reckonrealqty:
  6085. description: 已确定量
  6086. type: number
  6087. remark:
  6088. description: 备注
  6089. type: string
  6090. spotcontractid:
  6091. description: 合同ID
  6092. type: string
  6093. spotgoodsbrandid:
  6094. description: 现货品牌ID
  6095. type: integer
  6096. spotgoodsdesc:
  6097. description: 商品型号(商品规格)
  6098. type: string
  6099. spotgoodsmodelid:
  6100. description: 现货型号ID
  6101. type: integer
  6102. startdate:
  6103. description: 点价开始日
  6104. type: string
  6105. totalamount:
  6106. description: 合计总额
  6107. type: number
  6108. unpayamount:
  6109. description: 应收付款额(应支付或应收款)
  6110. type: number
  6111. unpricedqty:
  6112. description: 未定价量
  6113. type: number
  6114. unsureqty:
  6115. description: 未确定量
  6116. type: number
  6117. userid:
  6118. description: 用户ID
  6119. type: integer
  6120. wrstandardcode:
  6121. description: 现货商品代码
  6122. type: string
  6123. wrstandardid:
  6124. description: 现货商品ID
  6125. type: integer
  6126. wrstandardname:
  6127. description: 现货商品名称
  6128. type: string
  6129. type: object
  6130. models.ErmcpOPLogModel:
  6131. properties:
  6132. aftervalue:
  6133. description: 变更后
  6134. type: number
  6135. applyid:
  6136. description: 操作人ID
  6137. type: string
  6138. applyname:
  6139. description: 操作人名称
  6140. type: string
  6141. beforevalue:
  6142. description: 变更前
  6143. type: number
  6144. biztype:
  6145. description: 业务类型 - 1:套保计划 2:现货合同
  6146. type: integer
  6147. contracttype:
  6148. description: 现货合同类型 - 1:采购 -1:销售
  6149. type: integer
  6150. logvalue:
  6151. description: 数值
  6152. type: number
  6153. operatelogtype:
  6154. description: 操作流水类型
  6155. type: integer
  6156. operatelogtypedesc:
  6157. description: 操作流水类型名称
  6158. type: string
  6159. relatedid:
  6160. description: 现货合同ID\套保计划
  6161. type: string
  6162. updatetime:
  6163. description: 更新时间
  6164. type: string
  6165. type: object
  6166. models.ErmcpPendingAudit:
  6167. properties:
  6168. areastockqty:
  6169. description: '待审核数量: 库存申请'
  6170. type: integer
  6171. businessdjqty:
  6172. description: '待审核数量: 点价'
  6173. type: integer
  6174. businessfpqty:
  6175. description: '待审核数量: 发票'
  6176. type: integer
  6177. businessjsqty:
  6178. description: '待审核数量: 结算'
  6179. type: integer
  6180. businesskxqty:
  6181. description: '待审核数量: 款项'
  6182. type: integer
  6183. hedgeplanqty:
  6184. description: '待审核数量: 套保计划'
  6185. type: integer
  6186. spotcontractqty:
  6187. description: '待审核数量: 现货合同'
  6188. type: integer
  6189. userqty:
  6190. description: '待审核数量: 用户'
  6191. type: integer
  6192. type: object
  6193. models.ErmcpRealExposureModel:
  6194. properties:
  6195. AreaUserID:
  6196. description: 所属机构
  6197. type: integer
  6198. BuyFutureQty:
  6199. description: 买入期货数量
  6200. type: number
  6201. BuyPlanQty:
  6202. description: 采购计划数量
  6203. type: number
  6204. BuyPricedQty:
  6205. description: 采购合同已定价数量
  6206. type: number
  6207. MiddleGoodsCode:
  6208. description: 套保品种代码
  6209. type: string
  6210. MiddleGoodsHedgeRatio:
  6211. description: 应套保比例
  6212. type: number
  6213. MiddleGoodsID:
  6214. description: 套保品种
  6215. type: integer
  6216. MiddleGoodsName:
  6217. description: 套保品种名称
  6218. type: string
  6219. NeedHedgeExposoure:
  6220. description: 应套保敞口
  6221. type: number
  6222. NeedHedgeRatio:
  6223. description: 应套保敞口比例
  6224. type: number
  6225. OriBuyFutureQty:
  6226. description: 期初买入期货数量
  6227. type: number
  6228. OriBuyPlanQty:
  6229. description: 期初采购计划数量
  6230. type: number
  6231. OriBuyPricedQty:
  6232. description: 期初采购合同已定价数量
  6233. type: number
  6234. OriSellFutureQty:
  6235. description: 期初卖出期货数量
  6236. type: number
  6237. OriSellPlanQty:
  6238. description: 期初销售计划数量
  6239. type: number
  6240. OriSellPricedQty:
  6241. description: 期初销售合同已定价数量
  6242. type: number
  6243. SellFutureQty:
  6244. description: 卖出期货数量
  6245. type: number
  6246. SellPlanQty:
  6247. description: 销售计划数量
  6248. type: number
  6249. SellPricedQty:
  6250. description: 销售合同已定价数量
  6251. type: number
  6252. TotalExposure:
  6253. description: 总敞口
  6254. type: number
  6255. TotalFutureQty:
  6256. description: 期货数量
  6257. type: number
  6258. TotalHedgeRatio:
  6259. description: 敞口比例
  6260. type: number
  6261. TotalNeedHedgeQty:
  6262. description: 期货应套保量
  6263. type: number
  6264. TotalSpotQty:
  6265. description: 现货数量
  6266. type: number
  6267. diffFutuQty:
  6268. description: 今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)
  6269. type: number
  6270. diffSpotQty:
  6271. description: 今日变动量(现货) = 现货数量 - 期初现货数量
  6272. type: number
  6273. enumdicname:
  6274. description: 单位名称
  6275. type: string
  6276. oriTotalFutuQty:
  6277. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  6278. type: number
  6279. oriTotalSpotQty:
  6280. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  6281. type: number
  6282. type: object
  6283. models.ErmcpReportAreaSpotPL:
  6284. properties:
  6285. actualpl:
  6286. description: 实际损益
  6287. type: number
  6288. areauserid:
  6289. description: 所属机构
  6290. type: integer
  6291. brandname:
  6292. description: 品牌名称
  6293. type: string
  6294. curamount:
  6295. description: 期末额
  6296. type: number
  6297. curaverageprice:
  6298. description: 期末均价
  6299. type: number
  6300. curbuyamount:
  6301. description: 期末采购总额(采购额)
  6302. type: number
  6303. curbuyqty:
  6304. description: 期末采购总量
  6305. type: number
  6306. curmarketvalue:
  6307. description: 参考市值
  6308. type: number
  6309. curqty:
  6310. description: 期末量
  6311. type: number
  6312. cursellamount:
  6313. description: 期末销售总额(销售额)
  6314. type: number
  6315. cursellqty:
  6316. description: 期末销售总量
  6317. type: number
  6318. curspotprice:
  6319. description: 参考市价
  6320. type: number
  6321. enumdicname:
  6322. description: 现货商品单位名称
  6323. type: string
  6324. floatpl:
  6325. description: 浮动损益
  6326. type: number
  6327. gbenumdicname:
  6328. description: 品类单位名称
  6329. type: string
  6330. gbunitid:
  6331. description: 品类单位id
  6332. type: integer
  6333. modelname:
  6334. description: 品类名称
  6335. type: string
  6336. oriamount:
  6337. description: 期初额
  6338. type: number
  6339. oriaverageprice:
  6340. description: 期初均价
  6341. type: number
  6342. oribuyamount:
  6343. description: 期初采购总额
  6344. type: number
  6345. oribuyqty:
  6346. description: 期初采购总量
  6347. type: number
  6348. oriqty:
  6349. description: 期初量
  6350. type: number
  6351. orisellamount:
  6352. description: 期初销售总额
  6353. type: number
  6354. orisellqty:
  6355. description: 期初销售总量
  6356. type: number
  6357. spotgoodsbrandid:
  6358. description: 现货品牌ID
  6359. type: integer
  6360. spotgoodsmodelid:
  6361. description: 现货品类ID
  6362. type: integer
  6363. todaybuyamount:
  6364. description: 今日采购额
  6365. type: number
  6366. todaybuyaverageprice:
  6367. description: 今日采购均价(采购均价)
  6368. type: number
  6369. todaybuyqty:
  6370. description: 今日采购量(采购增量)
  6371. type: number
  6372. todaysellamount:
  6373. description: 今日销售额
  6374. type: number
  6375. todaysellaverageprice:
  6376. description: 今日销售均价(销售均价)
  6377. type: number
  6378. todaysellqty:
  6379. description: 今日销售量(销售增量)
  6380. type: number
  6381. unitid:
  6382. description: 现货商品单位id
  6383. type: integer
  6384. updatetime:
  6385. description: 更新时间
  6386. type: string
  6387. wrstandardcode:
  6388. description: 现货商品代码
  6389. type: string
  6390. wrstandardid:
  6391. description: 现货商品ID
  6392. type: integer
  6393. wrstandardname:
  6394. description: 现货商品名称
  6395. type: string
  6396. type: object
  6397. models.ErmcpReportDayExposure:
  6398. properties:
  6399. areauserid:
  6400. description: 所属机构
  6401. type: integer
  6402. buyfutureqty:
  6403. description: 买入期货数量
  6404. type: number
  6405. buyplanqty:
  6406. description: 采购计划数量
  6407. type: number
  6408. buypricedqty:
  6409. description: 采购合同已定价数量
  6410. type: number
  6411. diffFutuQty:
  6412. description: 今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)
  6413. type: number
  6414. diffSpotQty:
  6415. description: 今日变动量(现货) = 现货数量 - 期初现货数量
  6416. type: number
  6417. enumdicname:
  6418. description: 单位名称
  6419. type: string
  6420. middlegoodscode:
  6421. description: 套保品种代码
  6422. type: string
  6423. middlegoodshedgeratio:
  6424. description: 应套保比例
  6425. type: number
  6426. middlegoodsid:
  6427. description: 套保品种ID
  6428. type: integer
  6429. middlegoodsname:
  6430. description: 套保品种名称
  6431. type: string
  6432. needhedgeexposoure:
  6433. description: 应套保敞口
  6434. type: number
  6435. needhedgeratio:
  6436. description: 应套保敞口比例
  6437. type: number
  6438. oriTotalFutuQty:
  6439. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  6440. type: number
  6441. oriTotalSpotQty:
  6442. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  6443. type: number
  6444. oribuyfutureqty:
  6445. description: 期初买入期货数量
  6446. type: number
  6447. oribuyplanqty:
  6448. description: 期初采购计划数量
  6449. type: number
  6450. oribuypricedqty:
  6451. description: 期初采购合同已定价数量
  6452. type: number
  6453. orisellfutureqty:
  6454. description: 期初卖出期货数量
  6455. type: number
  6456. orisellplanqty:
  6457. description: 期初销售计划数量
  6458. type: number
  6459. orisellpricedqty:
  6460. description: 期初销售合同已定价数量
  6461. type: number
  6462. reckondate:
  6463. description: 日照时期(yyyyMMdd)
  6464. type: string
  6465. sellfutureqty:
  6466. description: 卖出期货数量
  6467. type: number
  6468. sellplanqty:
  6469. description: 销售计划数量
  6470. type: number
  6471. sellpricedqty:
  6472. description: 销售合同已定价数量
  6473. type: number
  6474. totalexposure:
  6475. description: 总敞口
  6476. type: number
  6477. totalfutureqty:
  6478. description: 期货数量
  6479. type: number
  6480. totalhedgeratio:
  6481. description: 敞口比例
  6482. type: number
  6483. totalneedhedgeqty:
  6484. description: 期货应套保量
  6485. type: number
  6486. totalspotqty:
  6487. description: 现货数量
  6488. type: number
  6489. type: object
  6490. models.ErmcpReportDayFR:
  6491. properties:
  6492. areauserid:
  6493. description: 所属机构
  6494. type: integer
  6495. collectinvoiceamount:
  6496. description: 今日开票金额
  6497. type: number
  6498. collectinvoicecount:
  6499. description: 今日开票笔数
  6500. type: integer
  6501. collectmoneyamount:
  6502. description: 今日收款金额
  6503. type: number
  6504. collectmoneycount:
  6505. description: 今日收款笔数
  6506. type: integer
  6507. payinvoiceamount:
  6508. description: 今日收票金额
  6509. type: number
  6510. payinvoicecount:
  6511. description: 今日收票笔数
  6512. type: integer
  6513. paymoneyamount:
  6514. description: 今日付款金额
  6515. type: number
  6516. paymoneycount:
  6517. description: 今日付款笔数
  6518. type: integer
  6519. reckondate:
  6520. description: 日照时期(yyyyMMdd)
  6521. type: string
  6522. updatetime:
  6523. description: 更新时间
  6524. type: string
  6525. type: object
  6526. models.ErmcpReportDaySpot:
  6527. properties:
  6528. areauserid:
  6529. description: 所属机构T
  6530. type: integer
  6531. buyinqty:
  6532. description: 采购入库量
  6533. type: number
  6534. enumdicname:
  6535. description: 现货商品单位名称
  6536. type: string
  6537. reckondate:
  6538. description: 日照时期(yyyyMMdd)
  6539. type: string
  6540. selloutqty:
  6541. description: 销售出库量
  6542. type: number
  6543. todaybuyreckonqty:
  6544. description: 采购确定量
  6545. type: number
  6546. todaysellreckonqty:
  6547. description: 销售确定量
  6548. type: number
  6549. totalbuypricedqty:
  6550. description: 采购定价量 = 期末 - 期初
  6551. type: number
  6552. totalsellpricedqty:
  6553. description: 销售定价量 = 期末 - 期初
  6554. type: number
  6555. wrstandardcode:
  6556. description: 现货商品代码
  6557. type: string
  6558. wrstandardid:
  6559. description: 现货商品ID
  6560. type: integer
  6561. wrstandardname:
  6562. description: 现货商品名称
  6563. type: string
  6564. type: object
  6565. models.ErmcpReportMonSpot:
  6566. properties:
  6567. areauserid:
  6568. description: 所属机构T
  6569. type: integer
  6570. buyinqty:
  6571. description: 采购入库量
  6572. type: number
  6573. cycletime:
  6574. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6575. type: string
  6576. cycletype:
  6577. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6578. type: integer
  6579. enumdicname:
  6580. description: 现货商品单位名称
  6581. type: string
  6582. selloutqty:
  6583. description: 销售出库量
  6584. type: number
  6585. todaybuyreckonqty:
  6586. description: 采购确定量
  6587. type: number
  6588. todaysellreckonqty:
  6589. description: 销售确定量
  6590. type: number
  6591. totalbuypricedqty:
  6592. description: 采购定价量 = 期末 - 期初
  6593. type: number
  6594. totalsellpricedqty:
  6595. description: 销售定价量 = 期末 - 期初
  6596. type: number
  6597. wrstandardcode:
  6598. description: 现货商品代码
  6599. type: string
  6600. wrstandardid:
  6601. description: 现货商品ID
  6602. type: integer
  6603. wrstandardname:
  6604. description: 现货商品名称
  6605. type: string
  6606. type: object
  6607. models.ErmcpReportMonthFR:
  6608. properties:
  6609. areauserid:
  6610. description: 所属机构【原值】
  6611. type: integer
  6612. collectinvoiceamount:
  6613. description: 今日开票金额【汇总】
  6614. type: number
  6615. collectinvoicecount:
  6616. description: 今日开票笔数【汇总】
  6617. type: integer
  6618. collectmoneyamount:
  6619. description: 今日收款金额【汇总】
  6620. type: number
  6621. collectmoneycount:
  6622. description: 今日收款笔数 【汇总】
  6623. type: integer
  6624. cycletime:
  6625. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6626. type: string
  6627. cycletype:
  6628. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6629. type: integer
  6630. dayFr:
  6631. description: 日报表明细
  6632. items:
  6633. $ref: '#/definitions/models.ErmcpReportDayFR'
  6634. type: array
  6635. payinvoiceamount:
  6636. description: 今日收票金额【汇总】
  6637. type: number
  6638. payinvoicecount:
  6639. description: 今日收票笔数【汇总】
  6640. type: integer
  6641. paymoneyamount:
  6642. description: 今日付款金额【汇总】
  6643. type: number
  6644. paymoneycount:
  6645. description: 今日付款笔数【汇总】
  6646. type: integer
  6647. updatetime:
  6648. description: 更新时间
  6649. type: string
  6650. type: object
  6651. models.ErmcpReportOPLog:
  6652. properties:
  6653. applyid:
  6654. description: 操作人
  6655. type: integer
  6656. applyname:
  6657. description: 操作人名称
  6658. type: string
  6659. biztype:
  6660. description: 业务类型 - 1:套保计划 2:现货合同
  6661. type: integer
  6662. brandname:
  6663. description: 品牌名称
  6664. type: string
  6665. contracttype:
  6666. description: 现货合同类型 - 1:采购 -1:销售
  6667. type: integer
  6668. enumdicName:
  6669. description: 单位名称
  6670. type: string
  6671. logdatetime:
  6672. description: 流水日期(时间)
  6673. type: string
  6674. logid:
  6675. description: 流水ID(604+Unix秒时间戳(10位)+xxxxxx)
  6676. type: string
  6677. logtypename:
  6678. description: 合同类型(名称)
  6679. type: string
  6680. logvalue:
  6681. description: 数值
  6682. type: string
  6683. modelname:
  6684. description: 型号名称
  6685. type: string
  6686. operatelogtype:
  6687. description: 操作流水类型 -
  6688. type: integer
  6689. optypename:
  6690. description: 流水类型名称
  6691. type: string
  6692. relatedid:
  6693. description: 现货合同ID\套保计划
  6694. type: string
  6695. relatedno:
  6696. description: 合同编号
  6697. type: string
  6698. tradedate:
  6699. description: 交易日(yyyyMMdd)
  6700. type: string
  6701. userid:
  6702. description: 机构ID
  6703. type: integer
  6704. wrstandardcode:
  6705. description: 现货商品代码
  6706. type: string
  6707. wrstandardid:
  6708. description: 现货商品ID
  6709. type: integer
  6710. wrstandardname:
  6711. description: 现货商品名称
  6712. type: string
  6713. type: object
  6714. models.ErmcpRole:
  6715. properties:
  6716. areauserid:
  6717. description: 所属机构
  6718. type: integer
  6719. autoid:
  6720. description: 角色ID(自增ID)
  6721. type: integer
  6722. modifierid:
  6723. description: 修改人(创建人)
  6724. type: integer
  6725. modifiername:
  6726. description: 修改人名称
  6727. type: string
  6728. modifytime:
  6729. description: 修改时间(创建时间)
  6730. type: string
  6731. rolename:
  6732. description: 角色名称
  6733. type: string
  6734. rolestatus:
  6735. description: 角色状态 - 1:启用 2:停用
  6736. type: integer
  6737. roletype:
  6738. description: 角色类型 - 1- 管理端 2- 交易端
  6739. type: integer
  6740. type: object
  6741. models.ErmcpRoleMenu:
  6742. properties:
  6743. iconame:
  6744. description: 菜单图标
  6745. type: string
  6746. menutype:
  6747. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  6748. type: integer
  6749. parentcode:
  6750. description: 上级资源代码
  6751. type: string
  6752. remark:
  6753. description: 菜单备注
  6754. type: string
  6755. resourcecode:
  6756. description: 菜单代码
  6757. type: string
  6758. resourcelevel:
  6759. description: 级别
  6760. type: integer
  6761. resourcename:
  6762. description: 菜单名称
  6763. type: string
  6764. roleid:
  6765. description: 角色id
  6766. type: integer
  6767. sort:
  6768. description: 排序
  6769. type: integer
  6770. url:
  6771. description: URL
  6772. type: string
  6773. userid:
  6774. description: 用户id
  6775. type: integer
  6776. type: object
  6777. models.ErmcpRoleMenuEx:
  6778. properties:
  6779. menu:
  6780. $ref: '#/definitions/models.ErmcpRoleMenu'
  6781. description: 父级菜单
  6782. type: object
  6783. subMenu:
  6784. description: 子级菜单
  6785. items:
  6786. $ref: '#/definitions/models.ErmcpRoleMenu'
  6787. type: array
  6788. type: object
  6789. models.ErmcpSpotContractModel:
  6790. properties:
  6791. amount:
  6792. description: 金额 [1:一口价、3:暂定价]
  6793. type: number
  6794. attachment:
  6795. description: 附件
  6796. type: string
  6797. auditremark:
  6798. description: 审核意见
  6799. type: string
  6800. audittime:
  6801. description: 审核时间
  6802. type: string
  6803. brandname:
  6804. description: 品牌名称
  6805. type: string
  6806. buyuserid:
  6807. description: 采购方ID
  6808. type: integer
  6809. buyusername:
  6810. description: 采购方名称
  6811. type: string
  6812. contracctstatus:
  6813. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  6814. type: integer
  6815. contractmargin:
  6816. description: 合同保证金
  6817. type: number
  6818. contractno:
  6819. description: 现货合同编号
  6820. type: string
  6821. contracttype:
  6822. description: 现货合同类型 - 1:采购 -1:销售
  6823. type: integer
  6824. convertfactor:
  6825. description: 标仓系数
  6826. type: number
  6827. createtime:
  6828. description: 创建时间
  6829. type: string
  6830. deliveryenddate:
  6831. description: 交收期(结束)
  6832. type: string
  6833. deliverygoodscode:
  6834. description: 现货品种代码
  6835. type: string
  6836. deliverygoodsid:
  6837. description: 现货品种ID
  6838. type: integer
  6839. deliverygoodsname:
  6840. description: 现货品种名称
  6841. type: string
  6842. deliverystartdate:
  6843. description: 交收期(开始)
  6844. type: string
  6845. enddate:
  6846. description: 点价结束日期 [2:点价 3:暂定价]
  6847. type: string
  6848. enumdicname:
  6849. description: 单位名称
  6850. type: string
  6851. goodscode:
  6852. description: 点价合约代码
  6853. type: string
  6854. goodsid:
  6855. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  6856. type: integer
  6857. goodsname:
  6858. description: 点价商品名称
  6859. type: string
  6860. margin:
  6861. description: 当前保证金
  6862. type: number
  6863. modelname:
  6864. description: 型号名称
  6865. type: string
  6866. price:
  6867. description: 价格\暂定价 [1:一口价、3:暂定价]
  6868. type: number
  6869. pricemove:
  6870. description: 升贴水 [2:点价 3:暂定价]
  6871. type: number
  6872. pricetype:
  6873. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  6874. type: integer
  6875. producttype:
  6876. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  6877. type: integer
  6878. qty:
  6879. description: 数量
  6880. type: number
  6881. remark:
  6882. description: 备注
  6883. type: string
  6884. selluserid:
  6885. description: 销售方ID
  6886. type: integer
  6887. sellusername:
  6888. description: 销售方名称
  6889. type: string
  6890. spotcontractid:
  6891. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  6892. type: string
  6893. spotgoodsbrandid:
  6894. description: 现货品牌ID
  6895. type: integer
  6896. spotgoodsdesc:
  6897. description: 商品型号
  6898. type: string
  6899. spotgoodsmodelid:
  6900. description: 现货型号ID
  6901. type: integer
  6902. startdate:
  6903. description: 点价开始日期 [2:点价 3:暂定价]
  6904. type: string
  6905. updatetime:
  6906. description: 更新时间
  6907. type: string
  6908. userid:
  6909. description: 机构ID
  6910. type: integer
  6911. wrstandardcode:
  6912. description: 现货商品代码
  6913. type: string
  6914. wrstandardid:
  6915. description: 现货商品ID
  6916. type: integer
  6917. wrstandardname:
  6918. description: 现货商品名称
  6919. type: string
  6920. type: object
  6921. models.ErmcpSpotGoodsPrice:
  6922. properties:
  6923. areauserid:
  6924. description: 所属机构id
  6925. type: integer
  6926. brandname:
  6927. description: 品牌名称
  6928. type: string
  6929. currencyid:
  6930. description: 报价货币ID
  6931. type: integer
  6932. enumdicname:
  6933. description: 现货商品单位名称
  6934. type: string
  6935. gbenumdicname:
  6936. description: 品类单位名称
  6937. type: string
  6938. gmunitid:
  6939. description: 品类单位id
  6940. type: integer
  6941. isvalid:
  6942. description: 是否有效 - 0:无效 1:有效
  6943. type: integer
  6944. modelname:
  6945. description: 品类名称
  6946. type: string
  6947. operateid:
  6948. description: 最后操作人
  6949. type: integer
  6950. operatesrc:
  6951. description: 最后操作来源 - 1:管理端 2:终端
  6952. type: integer
  6953. operatetime:
  6954. description: 最后操作时间
  6955. type: string
  6956. operatorname:
  6957. description: 操作人名称
  6958. type: string
  6959. spotgoodsbrandid:
  6960. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  6961. type: integer
  6962. spotgoodsmodelid:
  6963. description: 现货品类ID(通用则为0)
  6964. type: integer
  6965. spotgoodsprice:
  6966. description: 现货价格
  6967. type: number
  6968. tradedate:
  6969. description: 交易日(yyyyMMdd)
  6970. type: string
  6971. unitid:
  6972. description: 现货商品单位id
  6973. type: integer
  6974. wrstandardcode:
  6975. description: 现货商品代码
  6976. type: string
  6977. wrstandardid:
  6978. description: 现货商品ID
  6979. type: integer
  6980. wrstandardname:
  6981. description: 现货商品名称
  6982. type: string
  6983. type: object
  6984. models.ErmcpSpotGoodsPriceLog:
  6985. properties:
  6986. areauserid:
  6987. description: 所属机构id
  6988. type: integer
  6989. brandname:
  6990. description: 品牌名称
  6991. type: string
  6992. currencyid:
  6993. description: 报价货币ID
  6994. type: integer
  6995. enumdicname:
  6996. description: 现货商品单位名称
  6997. type: string
  6998. gbenumdicname:
  6999. description: 品类单位名称
  7000. type: string
  7001. gmunitid:
  7002. description: 品类单位id
  7003. type: integer
  7004. logid:
  7005. description: 日志id
  7006. type: integer
  7007. modelname:
  7008. description: 品类名称
  7009. type: string
  7010. operateid:
  7011. description: 最后操作人
  7012. type: integer
  7013. operatesrc:
  7014. description: 最后操作来源 - 1:管理端 2:终端
  7015. type: integer
  7016. operatetime:
  7017. description: 最后操作时间
  7018. type: string
  7019. operatorname:
  7020. description: 操作人名称
  7021. type: string
  7022. spotgoodsbrandid:
  7023. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  7024. type: integer
  7025. spotgoodsmodelid:
  7026. description: 现货品类ID(通用则为0)
  7027. type: integer
  7028. spotgoodsprice:
  7029. description: 现货价格
  7030. type: number
  7031. tradedate:
  7032. description: 交易日(yyyyMMdd)
  7033. type: string
  7034. unitid:
  7035. description: 现货商品单位id
  7036. type: integer
  7037. wrstandardcode:
  7038. description: 现货商品代码
  7039. type: string
  7040. wrstandardid:
  7041. description: 现货商品ID
  7042. type: integer
  7043. wrstandardname:
  7044. description: 现货商品名称
  7045. type: string
  7046. type: object
  7047. models.ErmcpTaAccount:
  7048. properties:
  7049. accountid:
  7050. description: 账户id
  7051. type: integer
  7052. accountname:
  7053. description: 账户名称
  7054. type: string
  7055. currencyid:
  7056. description: 币种id
  7057. type: integer
  7058. hedgeaccountcode:
  7059. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  7060. type: string
  7061. ismain:
  7062. description: 是否主账户 0-否 1-是
  7063. type: integer
  7064. parentaccountid:
  7065. description: 父账户id
  7066. type: integer
  7067. relateduserid:
  7068. description: 关联userid
  7069. type: integer
  7070. tradestatus:
  7071. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7072. type: integer
  7073. userid:
  7074. description: 用户id
  7075. type: integer
  7076. type: object
  7077. models.ErmcpTaAccountEx:
  7078. properties:
  7079. mainAcc:
  7080. $ref: '#/definitions/models.ErmcpTaAccountM'
  7081. description: 主账号
  7082. type: object
  7083. subacclist:
  7084. description: 子账号列表
  7085. items:
  7086. $ref: '#/definitions/models.ErmcpTaAccount'
  7087. type: array
  7088. type: object
  7089. models.ErmcpTaAccountInfo:
  7090. properties:
  7091. accountid:
  7092. description: 资金账户ID
  7093. type: integer
  7094. accountname:
  7095. description: 账户名称
  7096. type: string
  7097. balance:
  7098. description: 期初余额
  7099. type: number
  7100. capitalbalance:
  7101. description: 本金余额[外部子账户实际出入金余额]
  7102. type: number
  7103. closepl:
  7104. description: 今日平仓盈亏
  7105. type: number
  7106. creditdecrease:
  7107. description: 今日授信减少
  7108. type: number
  7109. creditincrease:
  7110. description: 今日授信增加
  7111. type: number
  7112. curdebt:
  7113. description: 期末欠款
  7114. type: number
  7115. currencyid:
  7116. description: 货币ID
  7117. type: integer
  7118. currentbalance:
  7119. description: 期末余额
  7120. type: number
  7121. freezecharge:
  7122. description: 手续费冻结
  7123. type: number
  7124. freezemargin:
  7125. description: 冻结保证金
  7126. type: number
  7127. fromaccountid:
  7128. description: 所属上级账户
  7129. type: integer
  7130. inamount:
  7131. description: 今日入金金额(包括三方入金)
  7132. type: number
  7133. ismain:
  7134. description: 是否母账号 0:不是母账户 1:是母账户
  7135. type: integer
  7136. mortgagecredit:
  7137. description: 授信金额
  7138. type: number
  7139. oridebt:
  7140. description: 期初欠款
  7141. type: number
  7142. orifreezecharge:
  7143. description: 期初手续费冻结
  7144. type: number
  7145. orifreezemargin:
  7146. description: 期初冻结保证金
  7147. type: number
  7148. orimortgagecredit:
  7149. description: 期初授信金额
  7150. type: number
  7151. oriothercredit:
  7152. description: 期初其它授信金额
  7153. type: number
  7154. oriotherfreezemargin:
  7155. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  7156. type: number
  7157. orioutamountfreeze:
  7158. description: 期初出金冻结
  7159. type: number
  7160. oriusedmargin:
  7161. description: 期初占用保证金
  7162. type: number
  7163. othercredit:
  7164. description: 其它授信金额
  7165. type: number
  7166. othercreditdecrease:
  7167. description: 今日其它授信减少
  7168. type: number
  7169. othercreditincrease:
  7170. description: 今日其它授信增加
  7171. type: number
  7172. otherfreezemargin:
  7173. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  7174. type: number
  7175. outamount:
  7176. description: 今日出金金额(包括三方出金)
  7177. type: number
  7178. outamountfreeze:
  7179. description: 出金冻结
  7180. type: number
  7181. outthreshold:
  7182. description: 出金阈值
  7183. type: number
  7184. parentaccountid:
  7185. description: 所属根账号
  7186. type: integer
  7187. paycharge:
  7188. description: 今日手续费支出
  7189. type: number
  7190. relateduserid:
  7191. description: 关联用户
  7192. type: integer
  7193. signstatus:
  7194. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  7195. type: integer
  7196. sublevelpath:
  7197. description: 账号层级路径(逗号分隔,首尾加逗号)
  7198. type: string
  7199. taaccounttype:
  7200. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  7201. type: integer
  7202. thirdinamount:
  7203. description: 今日三方入金
  7204. type: number
  7205. thirdoutamount:
  7206. description: 今日三方出金
  7207. type: number
  7208. tradestatus:
  7209. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7210. type: integer
  7211. transferamount:
  7212. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  7213. type: number
  7214. usedmargin:
  7215. description: 占用保证金
  7216. type: number
  7217. userid:
  7218. description: 用户ID
  7219. type: integer
  7220. type: object
  7221. models.ErmcpTaAccountM:
  7222. properties:
  7223. accountid:
  7224. description: 账户id
  7225. type: integer
  7226. accountname:
  7227. description: 账户名称
  7228. type: string
  7229. currencyid:
  7230. description: 币种id
  7231. type: integer
  7232. fcid:
  7233. description: 期货公司id
  7234. type: integer
  7235. fcname:
  7236. description: 期货公司代码
  7237. type: string
  7238. hedgeaccountcode:
  7239. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  7240. type: string
  7241. ismain:
  7242. description: 是否主账户 0-否 1-是
  7243. type: integer
  7244. parentaccountid:
  7245. description: 父账户id
  7246. type: integer
  7247. relateduserid:
  7248. description: 关联userid
  7249. type: integer
  7250. tradestatus:
  7251. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7252. type: integer
  7253. userid:
  7254. description: 用户id
  7255. type: integer
  7256. type: object
  7257. models.ErmcpTradeConfigTMP:
  7258. properties:
  7259. areauserid:
  7260. description: 所属机构
  7261. type: integer
  7262. basiccurrencyid:
  7263. description: 基本币种ID[汇率] - 目标币种
  7264. type: integer
  7265. mainaccountid:
  7266. description: 主账户ID
  7267. type: integer
  7268. modifierid:
  7269. description: 修改人
  7270. type: integer
  7271. remark:
  7272. description: 备注
  7273. type: string
  7274. tradeconfigtmpid:
  7275. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  7276. type: integer
  7277. tradeconfigtmpname:
  7278. description: 交易配置模板名称
  7279. type: string
  7280. tradeconfigtmptype:
  7281. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  7282. type: integer
  7283. updatetime:
  7284. description: 更新时间
  7285. type: string
  7286. type: object
  7287. models.ErmcpUserModel:
  7288. properties:
  7289. address:
  7290. description: 通讯地址
  7291. type: string
  7292. attachment1:
  7293. description: 附件1
  7294. type: string
  7295. audittime:
  7296. description: 审核时间
  7297. type: string
  7298. cardbackphotourl:
  7299. description: 证件反面图片地址
  7300. type: string
  7301. cardfrontphotourl:
  7302. description: 证件正面图片地址
  7303. type: string
  7304. cardnum:
  7305. description: 证件号码
  7306. type: string
  7307. cardtype:
  7308. description: 证件类型
  7309. type: integer
  7310. cardtypename:
  7311. description: 证件类型名称
  7312. type: string
  7313. cityid:
  7314. description: 市
  7315. type: integer
  7316. contactname:
  7317. description: 联系人
  7318. type: string
  7319. countryid:
  7320. description: 国家
  7321. type: integer
  7322. createtime:
  7323. description: 创建时间
  7324. type: string
  7325. customername:
  7326. description: 企业名称
  7327. type: string
  7328. districtid:
  7329. description: 区域
  7330. type: integer
  7331. email:
  7332. description: 邮件
  7333. type: string
  7334. legalpersonname:
  7335. description: 法人姓名(企业)
  7336. type: string
  7337. memberuserid:
  7338. description: 所属机构ID
  7339. type: integer
  7340. mobile:
  7341. description: 手机号码
  7342. type: string
  7343. modifytime:
  7344. description: 修改时间
  7345. type: string
  7346. nickname:
  7347. description: 昵称
  7348. type: string
  7349. provinceid:
  7350. description: 省
  7351. type: integer
  7352. remark:
  7353. description: 备注
  7354. type: string
  7355. status:
  7356. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  7357. type: integer
  7358. statusdesc:
  7359. description: 账户状态中文描述
  7360. type: string
  7361. taxpayernum:
  7362. description: 纳税人识别号
  7363. type: string
  7364. telphone:
  7365. description: 联系电话
  7366. type: string
  7367. userid:
  7368. description: 用户ID
  7369. type: integer
  7370. userinfotype:
  7371. description: 客户类型
  7372. type: string
  7373. type: object
  7374. models.ErmcpWareHouseInfo:
  7375. properties:
  7376. address:
  7377. description: 详细地址
  7378. type: string
  7379. areauserid:
  7380. description: 所属机构
  7381. type: integer
  7382. autoid:
  7383. description: 自增ID(仓库ID)
  7384. type: integer
  7385. cityid:
  7386. description: 市
  7387. type: integer
  7388. contactname:
  7389. description: 联系人
  7390. type: string
  7391. contactnum:
  7392. description: 联系电话
  7393. type: string
  7394. countryid:
  7395. description: 国家
  7396. type: integer
  7397. createtime:
  7398. description: 创建时间
  7399. type: string
  7400. districtid:
  7401. description: 区
  7402. type: integer
  7403. hasvideo:
  7404. description: 是否有视频 - 0:无 1:有
  7405. type: integer
  7406. provinceid:
  7407. description: 省
  7408. type: integer
  7409. remark:
  7410. description: 审核备注
  7411. type: string
  7412. videourl:
  7413. description: 视频地址
  7414. type: string
  7415. warehousecode:
  7416. description: 仓库代码
  7417. type: string
  7418. warehousename:
  7419. description: 仓库名称
  7420. type: string
  7421. warehousestatus:
  7422. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  7423. type: integer
  7424. warehousetype:
  7425. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  7426. type: integer
  7427. type: object
  7428. models.ErmcpWrstandDetail:
  7429. properties:
  7430. gbList:
  7431. description: 品牌列表
  7432. items:
  7433. $ref: '#/definitions/models.GoodsBrand'
  7434. type: array
  7435. goodsList:
  7436. description: 关联交易商品列表
  7437. items:
  7438. $ref: '#/definitions/models.RelatedGoodsEx'
  7439. type: array
  7440. gtList:
  7441. description: 型号列表
  7442. items:
  7443. $ref: '#/definitions/models.GoodsTypeModel'
  7444. type: array
  7445. wrd:
  7446. $ref: '#/definitions/models.ErmcpWrstandard'
  7447. description: 基本信息
  7448. type: object
  7449. wrsList:
  7450. description: 套保信息列表
  7451. items:
  7452. $ref: '#/definitions/models.WRSConverTDetail'
  7453. type: array
  7454. type: object
  7455. models.ErmcpWrstandard:
  7456. properties:
  7457. areauserid:
  7458. description: 所属机构
  7459. type: integer
  7460. createtime:
  7461. description: 创建时间
  7462. type: string
  7463. creatorid:
  7464. description: 创建人
  7465. type: integer
  7466. deliverygoodsid:
  7467. description: 品种ID
  7468. type: integer
  7469. enumdicname:
  7470. description: 单位名称
  7471. type: string
  7472. isvalid:
  7473. description: 是否有效 0-无效(停用) 1-有效(正常)
  7474. type: integer
  7475. minivalue:
  7476. description: 最小变动值
  7477. type: integer
  7478. minivaluedp:
  7479. description: 最小变动值小数位
  7480. type: integer
  7481. realminivalue:
  7482. description: 实际最小变动值
  7483. type: integer
  7484. realminivaluedp:
  7485. description: 实际最小变动值小数位
  7486. type: integer
  7487. remark:
  7488. description: 备注
  7489. type: string
  7490. unitid:
  7491. description: 单位ID
  7492. type: integer
  7493. updatetime:
  7494. description: 更新时间
  7495. type: string
  7496. wrstandardcode:
  7497. description: 现货商品代码
  7498. type: string
  7499. wrstandardid:
  7500. description: 现货商品ID(SEQ_WRSTANDARD)
  7501. type: integer
  7502. wrstandardname:
  7503. description: 现货商品名称
  7504. type: string
  7505. type: object
  7506. models.Externalexchange:
  7507. properties:
  7508. autoid:
  7509. description: AutoID - SEQ_EXTERNALEXCHANGE
  7510. type: integer
  7511. exchangefullname:
  7512. description: 外部交易所全称
  7513. type: string
  7514. exexchangecode:
  7515. description: 外部交易所代码
  7516. type: string
  7517. exexchangename:
  7518. description: 外部交易所名称(简称)
  7519. type: string
  7520. ismarketprice:
  7521. description: 是否支持市价 - 0:不支持 1:支持
  7522. type: integer
  7523. quotegear:
  7524. description: 行情档位(1-10)
  7525. type: integer
  7526. showbrokerflag:
  7527. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  7528. type: integer
  7529. updatetime:
  7530. description: 更新时间
  7531. type: string
  7532. required:
  7533. - autoid
  7534. type: object
  7535. models.Funcmenulist:
  7536. properties:
  7537. iconame:
  7538. description: 菜单图标
  7539. type: string
  7540. menutype:
  7541. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  7542. type: integer
  7543. parentcode:
  7544. description: 上级资源代码
  7545. type: string
  7546. remark:
  7547. description: 备注
  7548. type: string
  7549. resourcecode:
  7550. description: 资源代码
  7551. type: string
  7552. resourcelevel:
  7553. description: 级别 1-一级 2-二级 3-三级 4-四级
  7554. type: integer
  7555. resourcename:
  7556. description: 资源名
  7557. type: string
  7558. sort:
  7559. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  7560. type: integer
  7561. url:
  7562. description: URL
  7563. type: string
  7564. required:
  7565. - resourcecode
  7566. type: object
  7567. models.Goods:
  7568. properties:
  7569. agreeunit:
  7570. description: 合约单位
  7571. type: number
  7572. auditaccountid:
  7573. description: 审核操作员账号
  7574. type: integer
  7575. audittime:
  7576. description: 审核时间
  7577. type: string
  7578. cancelaccountid:
  7579. description: 注销操作员账号
  7580. type: integer
  7581. canceltime:
  7582. description: 注销时间
  7583. type: string
  7584. closepricemode:
  7585. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7586. type: integer
  7587. closepriceparam:
  7588. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  7589. type: number
  7590. createtime:
  7591. description: 创建时间
  7592. type: string
  7593. creatorid:
  7594. description: 创建人
  7595. type: integer
  7596. currencyid:
  7597. description: 报价货币ID
  7598. type: integer
  7599. cutmode:
  7600. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  7601. type: integer
  7602. decimalplace:
  7603. description: 报价小数位
  7604. type: integer
  7605. delistingdate:
  7606. description: 商品退市时间(状态:退市) -- 已作废
  7607. type: string
  7608. delistingmode:
  7609. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  7610. type: integer
  7611. deliveryflag:
  7612. description: 交割标志 - 0:不可交割 1:可交割
  7613. type: integer
  7614. forceclosemode:
  7615. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  7616. type: integer
  7617. forceclosevalue:
  7618. description: 定期强平参数 [收益权]
  7619. type: integer
  7620. goodscode:
  7621. description: 商品代码(内部)
  7622. type: string
  7623. goodscurrencyid:
  7624. description: 合约货币ID
  7625. type: integer
  7626. goodsgroupid:
  7627. description: 所属商品组ID
  7628. type: integer
  7629. goodsid:
  7630. description: 商品ID(自增ID SEQ_GOODS)
  7631. type: integer
  7632. goodsname:
  7633. description: 商品名称
  7634. type: string
  7635. goodsquotetype:
  7636. description: '合约报价类型: 1-直接报价 2-间接报价'
  7637. type: integer
  7638. goodsstatus:
  7639. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  7640. type: integer
  7641. goodstradetype:
  7642. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  7643. type: integer
  7644. goodunitid:
  7645. description: 报价单位ID
  7646. type: integer
  7647. hasquoter:
  7648. description: 是否有报价商 - 0:无报价商 1:有报价商
  7649. type: integer
  7650. hqprotecttime:
  7651. description: 行情保护时间(秒)
  7652. type: integer
  7653. innerdealmode:
  7654. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7655. type: integer
  7656. isbuylimited:
  7657. description: 是否限制建仓量 - 0:不限制 1:限制
  7658. type: integer
  7659. lasttradedate:
  7660. description: 最后交易日期(状态:待退市)
  7661. type: string
  7662. listingdate:
  7663. description: 交易开始日期
  7664. type: string
  7665. marketid:
  7666. description: 所属市场ID
  7667. type: integer
  7668. modifierid:
  7669. description: 修改人
  7670. type: integer
  7671. modifystatus:
  7672. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  7673. type: integer
  7674. modifytime:
  7675. description: 修改时间
  7676. type: string
  7677. outerdealmode:
  7678. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7679. type: integer
  7680. outgoodscode:
  7681. description: 商品代码(外部)
  7682. type: string
  7683. qtydecimalplace:
  7684. description: 成交量小数位
  7685. type: integer
  7686. quotegear:
  7687. description: 行情档位(1-10)
  7688. type: integer
  7689. quoteminunit:
  7690. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7691. type: integer
  7692. quoteshowtype:
  7693. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  7694. type: integer
  7695. quoteshowtypeinterval:
  7696. description: 行情报价间隔时间(秒)(成交价时为0)
  7697. type: integer
  7698. remark:
  7699. description: 备注
  7700. type: string
  7701. required:
  7702. - goodscode
  7703. - goodsid
  7704. - goodsname
  7705. - marketid
  7706. type: object
  7707. models.GoodsBrand:
  7708. properties:
  7709. brandid:
  7710. description: 品牌ID
  7711. type: integer
  7712. brandname:
  7713. description: 品牌名称
  7714. type: string
  7715. isvalid:
  7716. description: 是否有效 - 0:无效 1:有效
  7717. type: integer
  7718. type: object
  7719. models.GoodsIDAndName:
  7720. properties:
  7721. goodscode:
  7722. description: 商品代码(内部)
  7723. type: string
  7724. goodsid:
  7725. description: 商品ID(自增ID SEQ_GOODS)
  7726. type: integer
  7727. goodsname:
  7728. description: 商品名称
  7729. type: string
  7730. marketid:
  7731. description: 所属市场ID
  7732. type: integer
  7733. required:
  7734. - goodscode
  7735. - goodsid
  7736. - goodsname
  7737. - marketid
  7738. type: object
  7739. models.GoodsTypeModel:
  7740. properties:
  7741. convertfactor:
  7742. description: 标仓系数
  7743. type: number
  7744. modelid:
  7745. description: 型号ID
  7746. type: integer
  7747. modelname:
  7748. description: 型号名称
  7749. type: string
  7750. updatetime:
  7751. description: 更新时间
  7752. type: string
  7753. type: object
  7754. models.Goodsgroup:
  7755. properties:
  7756. agreeunit:
  7757. description: 合约单位
  7758. type: number
  7759. canshort:
  7760. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  7761. type: integer
  7762. closepricemode:
  7763. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7764. type: integer
  7765. closepriceparam:
  7766. description: 强平最新价浮动比例 - 方式为2时使用
  7767. type: number
  7768. createtime:
  7769. description: 创建时间
  7770. type: string
  7771. creatorid:
  7772. description: 创建人
  7773. type: integer
  7774. currencyid:
  7775. description: 报价货币ID
  7776. type: integer
  7777. decimalplace:
  7778. description: 报价小数位
  7779. type: integer
  7780. exercisetype:
  7781. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  7782. type: integer
  7783. exexchangeid:
  7784. description: 外部交易所ID[通道交易]
  7785. type: integer
  7786. goodsgroupid:
  7787. description: 商品组ID(自增ID)
  7788. type: integer
  7789. goodsgroupname:
  7790. description: 商品组名称
  7791. type: string
  7792. goodsgroupstatus:
  7793. description: 商品组状态 - 1:正常 2:注销
  7794. type: integer
  7795. goodunitid:
  7796. description: 报价单位ID
  7797. type: integer
  7798. innerdealmode:
  7799. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7800. type: integer
  7801. isbuylimited:
  7802. description: 是否限制建仓量 - 0:不限制 1:限制
  7803. type: integer
  7804. marketid:
  7805. description: 所属市场ID
  7806. type: integer
  7807. modifierid:
  7808. description: 修改人
  7809. type: integer
  7810. modifytime:
  7811. description: 修改时间
  7812. type: string
  7813. outerdealmode:
  7814. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7815. type: integer
  7816. outergroupcode:
  7817. description: 外部商品组代码[通道交易]
  7818. type: string
  7819. premiumdecimalplace:
  7820. description: 权利金小数位[场外期权]
  7821. type: integer
  7822. premiumspreadalgorithm:
  7823. description: 权利金点差方式[场外期权] 1:比率 2:固定
  7824. type: integer
  7825. premiumspreadvalue:
  7826. description: 权利金点差值[场外期权]
  7827. type: number
  7828. qtydecimalplace:
  7829. description: 成交量小数位
  7830. type: integer
  7831. quotegear:
  7832. description: 行情档位(1-10)
  7833. type: integer
  7834. quoteminunit:
  7835. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7836. type: integer
  7837. quoterid:
  7838. description: 报价商ID[场外期权]
  7839. type: integer
  7840. quotesourcegroupid:
  7841. description: 所属行情源分组ID[参考行情市场用\通道交易]
  7842. type: integer
  7843. syncgoodsqty:
  7844. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  7845. type: integer
  7846. required:
  7847. - goodsgroupid
  7848. - goodsgroupname
  7849. - goodsgroupstatus
  7850. - marketid
  7851. type: object
  7852. models.Goodssortbypreposition:
  7853. properties:
  7854. goodscode:
  7855. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  7856. type: string
  7857. goodsgroupcode:
  7858. description: 品种代码
  7859. type: string
  7860. prepositionqty:
  7861. description: 昨持仓量
  7862. type: integer
  7863. sortindex:
  7864. description: 排序
  7865. type: integer
  7866. tradedate:
  7867. description: 交易日
  7868. type: string
  7869. updatetime:
  7870. description: 更新时间
  7871. type: string
  7872. required:
  7873. - goodscode
  7874. - tradedate
  7875. type: object
  7876. models.Hedgeinnerholderdetail:
  7877. properties:
  7878. accountid:
  7879. description: 账号ID
  7880. type: integer
  7881. buyorsell:
  7882. description: 方向 - 0:买 1:卖
  7883. type: integer
  7884. freezeqty:
  7885. description: 冻结数量 - 按单平使用
  7886. type: integer
  7887. goodsid:
  7888. description: 商品ID
  7889. type: integer
  7890. holderamount:
  7891. description: 持仓金额 [商品币种]
  7892. type: number
  7893. holderdays:
  7894. description: 剩余冻结天数
  7895. type: integer
  7896. holderprice:
  7897. description: 持仓价格
  7898. type: number
  7899. holderqty:
  7900. description: 持仓数量
  7901. type: integer
  7902. marketid:
  7903. description: 市场ID
  7904. type: integer
  7905. openprice:
  7906. description: 建仓价格
  7907. type: number
  7908. openqty:
  7909. description: 建仓数量
  7910. type: integer
  7911. parentaccountid:
  7912. description: 所属母账户
  7913. type: integer
  7914. releaseamount:
  7915. description: 释放持仓金额[商品币种]
  7916. type: number
  7917. tradeamount:
  7918. description: 成交金额[账户]
  7919. type: number
  7920. tradedate:
  7921. description: 交易日(yyyyMMdd)
  7922. type: string
  7923. tradeid:
  7924. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7925. type: string
  7926. tradetime:
  7927. description: 交易时间
  7928. type: string
  7929. required:
  7930. - buyorsell
  7931. - tradeid
  7932. type: object
  7933. models.Hedgemarketopenlog:
  7934. properties:
  7935. accountid:
  7936. description: 资金账号[外部母账户]
  7937. type: integer
  7938. fcname:
  7939. description: 期货公司名称
  7940. type: string
  7941. handlestatus:
  7942. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  7943. type: integer
  7944. marketid:
  7945. description: 市场ID
  7946. type: integer
  7947. status:
  7948. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  7949. type: integer
  7950. tradedate:
  7951. description: 交易日(yyyyMMdd)
  7952. type: string
  7953. updatetime:
  7954. description: 更新时间
  7955. type: string
  7956. required:
  7957. - accountid
  7958. type: object
  7959. models.HsbyBuyMyPayOrder:
  7960. properties:
  7961. agreeunit:
  7962. description: 合约单位
  7963. type: number
  7964. buyaccountid:
  7965. description: 买方账号ID[报价币种]
  7966. type: integer
  7967. buyorderid:
  7968. description: 买方委托单号
  7969. type: string
  7970. createtime:
  7971. description: 创建时间
  7972. type: string
  7973. currencysign:
  7974. description: 货币符号
  7975. type: string
  7976. decimalplace:
  7977. description: 报价小数位
  7978. type: integer
  7979. goodscode:
  7980. description: 商品代码(内部)
  7981. type: string
  7982. goodsid:
  7983. description: 商品ID
  7984. type: integer
  7985. goodsname:
  7986. description: 商品名称
  7987. type: string
  7988. marketid:
  7989. description: 市场ID
  7990. type: integer
  7991. offamount:
  7992. description: 优惠金额
  7993. type: number
  7994. originalamount:
  7995. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  7996. type: number
  7997. payamount:
  7998. description: 支付金额 = TradeAmount + TradeCharge
  7999. type: number
  8000. payflag:
  8001. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  8002. type: integer
  8003. paylimitedtime:
  8004. description: 支付期限
  8005. type: string
  8006. paytime:
  8007. description: 付款时间
  8008. type: string
  8009. picurls1:
  8010. description: 预售商品介绍图片[多张用逗号分隔]
  8011. type: string
  8012. picurls2:
  8013. description: 挂牌商品介绍图片[多张用逗号分隔]
  8014. type: string
  8015. sellaccountid:
  8016. description: 卖方账号ID[报价币种]
  8017. type: integer
  8018. sellorderid:
  8019. description: 卖方委托单号
  8020. type: string
  8021. tradeamount:
  8022. description: 成交金额
  8023. type: number
  8024. tradecharge:
  8025. description: 成交手续费(买方)
  8026. type: number
  8027. tradedate:
  8028. description: 交易日(yyyyMMdd)
  8029. type: string
  8030. tradeid:
  8031. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8032. type: string
  8033. trademode:
  8034. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8035. 21:竞拍-大宗式 22:受托竞价
  8036. type: integer
  8037. tradeprice:
  8038. description: 成交价格
  8039. type: number
  8040. tradeqty:
  8041. description: 成交数量
  8042. type: integer
  8043. vendorname1:
  8044. description: 预售商品供应商名称
  8045. type: string
  8046. vendorname2:
  8047. description: 挂牌商品供应商名称
  8048. type: string
  8049. required:
  8050. - goodscode
  8051. - goodsname
  8052. - tradeid
  8053. - trademode
  8054. type: object
  8055. models.HsbyBuyMyTradeDetail:
  8056. properties:
  8057. accountid:
  8058. description: 账户ID[报价币种]
  8059. type: integer
  8060. agreeunit:
  8061. description: 合约单位
  8062. type: number
  8063. amount:
  8064. description: 金额 = 价格 * 数量 * 合约单位
  8065. type: number
  8066. buyorsell:
  8067. description: 买卖 - 0:买 1:卖
  8068. type: integer
  8069. currencysign:
  8070. description: 货币符号
  8071. type: string
  8072. decimalplace:
  8073. description: 报价小数位
  8074. type: integer
  8075. goodscode:
  8076. description: 商品代码(内部)
  8077. type: string
  8078. goodsid:
  8079. description: 商品ID
  8080. type: integer
  8081. goodsname:
  8082. description: 商品名称
  8083. type: string
  8084. marketid:
  8085. description: 市场ID
  8086. type: integer
  8087. orderamount:
  8088. description: 委托金额
  8089. type: number
  8090. orderid:
  8091. description: 单号(成交单号)
  8092. type: string
  8093. picurls1:
  8094. description: 预售商品介绍图片[多张用逗号分隔]
  8095. type: string
  8096. picurls2:
  8097. description: 挂牌商品介绍图片[多张用逗号分隔]
  8098. type: string
  8099. price:
  8100. description: 价格
  8101. type: number
  8102. qty:
  8103. description: 数量
  8104. type: integer
  8105. time:
  8106. description: 时间
  8107. type: string
  8108. trademode:
  8109. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8110. 21:竞拍-大宗式 22:受托竞价
  8111. type: integer
  8112. vendorname1:
  8113. description: 预售商品供应商名称
  8114. type: string
  8115. vendorname2:
  8116. description: 挂牌商品供应商名称
  8117. type: string
  8118. required:
  8119. - accountid
  8120. - buyorsell
  8121. - goodscode
  8122. - goodsid
  8123. - goodsname
  8124. - marketid
  8125. - orderid
  8126. - qty
  8127. - time
  8128. - trademode
  8129. type: object
  8130. models.HsbyGoodsOrderDetail:
  8131. properties:
  8132. buyorsell:
  8133. description: 买卖 - 0:买 1:卖
  8134. type: integer
  8135. currencysign:
  8136. description: 货币符号
  8137. type: string
  8138. customername:
  8139. description: 客户名称(企业名称),已脱敏
  8140. type: string
  8141. enableqty:
  8142. description: 可用数量
  8143. type: integer
  8144. goodunit:
  8145. description: 报价单位
  8146. type: string
  8147. orderid:
  8148. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8149. type: string
  8150. orderprice:
  8151. description: 委托价格
  8152. type: number
  8153. ordertime:
  8154. description: 委托时间
  8155. type: string
  8156. required:
  8157. - buyorsell
  8158. - orderid
  8159. - ordertime
  8160. type: object
  8161. models.HsbyListingGoodsDetail:
  8162. properties:
  8163. agreeunit:
  8164. description: 合约单位
  8165. type: number
  8166. buymaxqty:
  8167. description: 购买上限 [71] - 0为不限
  8168. type: integer
  8169. currency:
  8170. description: 货币
  8171. type: string
  8172. currencysign:
  8173. description: 货币符号
  8174. type: string
  8175. decimalplace:
  8176. description: 报价小数位
  8177. type: integer
  8178. desccityid:
  8179. description: 目的地(市)ID
  8180. type: integer
  8181. descprovinceid:
  8182. description: 目的地(省)ID
  8183. type: integer
  8184. goodscode:
  8185. description: 商品代码(内部)
  8186. type: string
  8187. goodsdesc:
  8188. description: 商品详情
  8189. type: string
  8190. goodsid:
  8191. description: 商品ID(自增ID SEQ_GOODS)
  8192. type: integer
  8193. goodsname:
  8194. description: 商品名称
  8195. type: string
  8196. goodsprice:
  8197. description: 商品价格
  8198. type: number
  8199. hotindex:
  8200. description: 景点热度
  8201. type: integer
  8202. last:
  8203. description: 现价
  8204. type: number
  8205. limitdown:
  8206. description: 跌停价
  8207. type: number
  8208. limitup:
  8209. description: 涨停价
  8210. type: number
  8211. lotsize:
  8212. description: 手数最小变动单位
  8213. type: integer
  8214. marketid:
  8215. description: 所属市场ID
  8216. type: integer
  8217. picurls:
  8218. description: 介绍图片[多张用逗号分隔]
  8219. type: string
  8220. quoteminunit:
  8221. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8222. type: integer
  8223. stepvalue:
  8224. description: 价格最小变动单位
  8225. type: number
  8226. trademode:
  8227. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8228. 21:竞拍-大宗式 22:受托竞价
  8229. type: integer
  8230. vendorattr:
  8231. description: 供应商附件(多张,逗号分隔)
  8232. type: string
  8233. vendorname:
  8234. description: 供应商名称
  8235. type: string
  8236. vendorphone:
  8237. description: 供应商客服电话
  8238. type: string
  8239. videourls:
  8240. description: 介绍视频[多张用逗号分隔]
  8241. type: string
  8242. required:
  8243. - goodscode
  8244. - goodsid
  8245. - goodsname
  8246. - marketid
  8247. - trademode
  8248. type: object
  8249. models.HsbyMarketGoods:
  8250. properties:
  8251. accountid:
  8252. description: 账户ID[报价币种]
  8253. type: integer
  8254. agreeunit:
  8255. description: 合约单位
  8256. type: number
  8257. buyorsell:
  8258. description: 买卖 - 0:买 1:卖
  8259. type: integer
  8260. categoryid:
  8261. description: 类别ID(WRCATEGORY)
  8262. type: integer
  8263. currency:
  8264. description: 货币
  8265. type: string
  8266. currencysign:
  8267. description: 货币符号
  8268. type: string
  8269. customername:
  8270. description: 卖家名称
  8271. type: string
  8272. decimalplace:
  8273. description: 报价小数位
  8274. type: integer
  8275. goodscode:
  8276. description: 商品代码(内部)
  8277. type: string
  8278. goodsid:
  8279. description: 商品ID
  8280. type: integer
  8281. goodsname:
  8282. description: 商品名称
  8283. type: string
  8284. goodsprice:
  8285. description: 商品价格
  8286. type: number
  8287. hascoupon:
  8288. description: 是否可用优惠卷
  8289. type: boolean
  8290. hotindex:
  8291. description: 景点热度
  8292. type: integer
  8293. marketid:
  8294. description: 市场ID
  8295. type: integer
  8296. orderid:
  8297. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8298. type: string
  8299. orderprice:
  8300. description: 委托价格
  8301. type: number
  8302. orderstatus:
  8303. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8304. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8305. 16:成交失败违约(荷兰式竞拍专用)
  8306. type: integer
  8307. picurls:
  8308. description: 介绍图片[多张用逗号分隔]
  8309. type: string
  8310. quoteminunit:
  8311. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8312. type: integer
  8313. sellUserID:
  8314. description: 卖方UserID
  8315. type: integer
  8316. trademode:
  8317. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8318. 21:竞拍-大宗式 22:受托竞价
  8319. type: integer
  8320. videourls:
  8321. description: 介绍视频[多张用逗号分隔]
  8322. type: string
  8323. required:
  8324. - accountid
  8325. - buyorsell
  8326. - goodscode
  8327. - goodsid
  8328. - goodsname
  8329. - marketid
  8330. - orderid
  8331. - trademode
  8332. type: object
  8333. models.HsbyMarketGoodsDetail:
  8334. properties:
  8335. accountid:
  8336. description: 账户ID[报价币种]
  8337. type: integer
  8338. agreeunit:
  8339. description: 合约单位
  8340. type: number
  8341. buymaxqty:
  8342. description: 购买上限 [71] - 0为不限
  8343. type: integer
  8344. buyorsell:
  8345. description: 买卖 - 0:买 1:卖
  8346. type: integer
  8347. cancelqty:
  8348. description: 撤单数量
  8349. type: integer
  8350. categoryid:
  8351. description: 类别ID(WRCATEGORY)
  8352. type: integer
  8353. currency:
  8354. description: 货币
  8355. type: string
  8356. currencysign:
  8357. description: 货币符号
  8358. type: string
  8359. customername:
  8360. description: 卖家名称
  8361. type: string
  8362. decimalplace:
  8363. description: 报价小数位
  8364. type: integer
  8365. goodscode:
  8366. description: 商品代码(内部)
  8367. type: string
  8368. goodsdesc:
  8369. description: 商品详情
  8370. type: string
  8371. goodsid:
  8372. description: 商品ID
  8373. type: integer
  8374. goodsname:
  8375. description: 商品名称
  8376. type: string
  8377. goodsprice:
  8378. description: 商品价格
  8379. type: number
  8380. hotindex:
  8381. description: 景点热度
  8382. type: integer
  8383. lotsize:
  8384. description: 手数最小变动单位
  8385. type: integer
  8386. marketid:
  8387. description: 市场ID
  8388. type: integer
  8389. orderid:
  8390. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8391. type: string
  8392. orderprice:
  8393. description: 委托价格
  8394. type: number
  8395. orderqty:
  8396. description: 委托数量
  8397. type: integer
  8398. orderstatus:
  8399. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8400. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8401. 16:成交失败违约(荷兰式竞拍专用)
  8402. type: integer
  8403. picurls:
  8404. description: 介绍图片[多张用逗号分隔]
  8405. type: string
  8406. quoteminunit:
  8407. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8408. type: integer
  8409. sellUserID:
  8410. description: 卖方UserID
  8411. type: integer
  8412. trademode:
  8413. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8414. 21:竞拍-大宗式 22:受托竞价
  8415. type: integer
  8416. tradeqty:
  8417. description: 成交数量
  8418. type: integer
  8419. vendorattr:
  8420. description: 供应商附件(多张,逗号分隔)
  8421. type: string
  8422. vendorname:
  8423. description: 供应商名称
  8424. type: string
  8425. vendorphone:
  8426. description: 供应商客服电话
  8427. type: string
  8428. videourls:
  8429. description: 介绍视频[多张用逗号分隔]
  8430. type: string
  8431. required:
  8432. - accountid
  8433. - buyorsell
  8434. - goodscode
  8435. - goodsid
  8436. - goodsname
  8437. - marketid
  8438. - orderid
  8439. - orderqty
  8440. - trademode
  8441. type: object
  8442. models.HsbyMarketInfo:
  8443. properties:
  8444. marketid:
  8445. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  8446. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  8447. type: integer
  8448. marketname:
  8449. description: 市场名称
  8450. type: string
  8451. marketstatus:
  8452. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  8453. type: integer
  8454. trademode:
  8455. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8456. 21:竞拍-大宗式 22:受托竞价
  8457. type: integer
  8458. required:
  8459. - marketid
  8460. - marketstatus
  8461. - trademode
  8462. type: object
  8463. models.HsbyMyGoods:
  8464. properties:
  8465. accountid:
  8466. description: 账号Id
  8467. type: integer
  8468. agreeunit:
  8469. description: 合约单位
  8470. type: number
  8471. buyaverageprice:
  8472. description: 持仓均价
  8473. type: number
  8474. buycurholderamount:
  8475. description: 买当前持仓总金额[商品币种]
  8476. type: number
  8477. buycurpositionqty:
  8478. description: 买当前持仓总数量
  8479. type: integer
  8480. buymaxqty:
  8481. description: 购买上限 [71] - 0为不限
  8482. type: integer
  8483. currencysign:
  8484. description: 货币符号
  8485. type: string
  8486. decimalplace:
  8487. description: 报价小数位
  8488. type: integer
  8489. enableqty:
  8490. description: 可用数量
  8491. type: integer
  8492. goodscode:
  8493. description: 商品代码(内部)
  8494. type: string
  8495. goodsid:
  8496. description: 商品Id
  8497. type: integer
  8498. goodsname:
  8499. description: 商品名称
  8500. type: string
  8501. goodsprice:
  8502. description: 商品价格
  8503. type: number
  8504. goodsstatus:
  8505. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8506. type: integer
  8507. last:
  8508. description: 现价(仅使用于挂牌点选)
  8509. type: number
  8510. limitdown:
  8511. description: 跌停价(仅使用于挂牌点选)
  8512. type: number
  8513. limitup:
  8514. description: 涨停价(仅使用于挂牌点选)
  8515. type: number
  8516. lotsize:
  8517. description: 手数最小变动单位
  8518. type: integer
  8519. marketid:
  8520. description: 所属市场ID
  8521. type: integer
  8522. picurls:
  8523. description: 介绍图片[多张用逗号分隔]
  8524. type: string
  8525. quoteminunit:
  8526. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8527. type: integer
  8528. stepvalue:
  8529. description: 价格最小变动单位
  8530. type: number
  8531. trademode:
  8532. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8533. 21:竞拍-大宗式 22:受托竞价
  8534. type: integer
  8535. required:
  8536. - accountid
  8537. - goodscode
  8538. - goodsid
  8539. - goodsname
  8540. - marketid
  8541. - trademode
  8542. type: object
  8543. models.HsbyMyPackage:
  8544. properties:
  8545. accountid:
  8546. description: 账户ID
  8547. type: integer
  8548. address:
  8549. description: 提货人详细地址
  8550. type: string
  8551. agreeunit:
  8552. description: 合约单位
  8553. type: number
  8554. amount:
  8555. description: 提货金额
  8556. type: number
  8557. auditer:
  8558. description: 审核人
  8559. type: integer
  8560. audittime:
  8561. description: 审核时间
  8562. type: string
  8563. averageprice:
  8564. description: 均价
  8565. type: number
  8566. cardnum:
  8567. description: 提货人证件号码
  8568. type: string
  8569. cardtypeid:
  8570. description: 提货人证件类型
  8571. type: integer
  8572. checkremark:
  8573. description: 审核备注
  8574. type: string
  8575. currencysign:
  8576. description: 货币符号
  8577. type: string
  8578. decimalplace:
  8579. description: 报价小数位
  8580. type: integer
  8581. goodscode:
  8582. description: 商品代码(内部)
  8583. type: string
  8584. goodsid:
  8585. description: 商品ID
  8586. type: integer
  8587. goodsname:
  8588. description: 商品名称
  8589. type: string
  8590. handlestatus:
  8591. description: 处理状态
  8592. type: integer
  8593. marketid:
  8594. description: 市场ID
  8595. type: integer
  8596. phonenum:
  8597. description: 提货人联系方式
  8598. type: string
  8599. picurls:
  8600. description: 介绍图片[多张用逗号分隔]
  8601. type: string
  8602. qty:
  8603. description: 提货数量
  8604. type: number
  8605. recivername:
  8606. description: 提货人姓名
  8607. type: string
  8608. reqtime:
  8609. description: 更新时间
  8610. type: string
  8611. takemode:
  8612. description: 提货方式 - 2:自提 3:配送
  8613. type: integer
  8614. takeorderid:
  8615. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  8616. type: string
  8617. takeorderstatus:
  8618. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  8619. type: integer
  8620. takeremark:
  8621. description: 提货备注
  8622. type: string
  8623. tradedate:
  8624. description: 交易日(yyyyMMdd)
  8625. type: string
  8626. trademode:
  8627. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8628. 21:竞拍-大宗式 22:受托竞价
  8629. type: integer
  8630. userid:
  8631. description: 用户ID
  8632. type: integer
  8633. vendorname:
  8634. description: 供应商名称
  8635. type: string
  8636. required:
  8637. - goodscode
  8638. - goodsname
  8639. - takeorderid
  8640. - trademode
  8641. type: object
  8642. models.HsbyPreGoods:
  8643. properties:
  8644. agreeunit:
  8645. description: 合约单位
  8646. type: number
  8647. currency:
  8648. description: 货币
  8649. type: string
  8650. currencysign:
  8651. description: 货币符号
  8652. type: string
  8653. decimalplace:
  8654. description: 报价小数位
  8655. type: integer
  8656. desccityid:
  8657. description: 目的地(市)
  8658. type: integer
  8659. descprovinceid:
  8660. description: 目的地(省)
  8661. type: integer
  8662. enableqty:
  8663. description: 剩余数量
  8664. type: integer
  8665. goodscode:
  8666. description: 商品代码(内部)
  8667. type: string
  8668. goodsid:
  8669. description: 商品ID(自增ID SEQ_GOODS)
  8670. type: integer
  8671. goodsname:
  8672. description: 商品名称
  8673. type: string
  8674. goodsstatus:
  8675. description: 商品状态- 2:未上市 3:上市
  8676. type: integer
  8677. lasttradedate:
  8678. description: 最后交易日期(状态:待退市)
  8679. type: string
  8680. listingdate:
  8681. description: 交易开始日期
  8682. type: string
  8683. marketid:
  8684. description: 所属市场ID
  8685. type: integer
  8686. picurls:
  8687. description: 介绍图片[多张用逗号分隔]
  8688. type: string
  8689. presaledqty:
  8690. description: 已预售量(预售结束时更新)
  8691. type: integer
  8692. presaleqty:
  8693. description: 预售数量
  8694. type: integer
  8695. quoteminunit:
  8696. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8697. type: integer
  8698. refprice:
  8699. description: 参考价格[一口价]
  8700. type: number
  8701. relatedgoodsid:
  8702. description: 关联交易合约ID
  8703. type: integer
  8704. trademode:
  8705. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8706. 21:竞拍-大宗式 22:受托竞价
  8707. type: integer
  8708. videourls:
  8709. description: 介绍视频[多张用逗号分隔]
  8710. type: string
  8711. required:
  8712. - goodscode
  8713. - goodsid
  8714. - goodsname
  8715. - marketid
  8716. - trademode
  8717. type: object
  8718. models.HsbyPreGoodsDetail:
  8719. properties:
  8720. agreeunit:
  8721. description: 合约单位
  8722. type: number
  8723. buymaxqty:
  8724. description: 购买上限 [71] - 0为不限
  8725. type: integer
  8726. currency:
  8727. description: 货币
  8728. type: string
  8729. currencysign:
  8730. description: 货币符号
  8731. type: string
  8732. customername:
  8733. description: 发行单位
  8734. type: string
  8735. decimalplace:
  8736. description: 报价小数位
  8737. type: integer
  8738. desccityid:
  8739. description: 目的地(市)ID
  8740. type: integer
  8741. descprovinceid:
  8742. description: 目的地(省)ID
  8743. type: integer
  8744. enableqty:
  8745. description: 剩余数量
  8746. type: integer
  8747. goodscode:
  8748. description: 商品代码(内部)
  8749. type: string
  8750. goodsdesc:
  8751. description: 商品详情
  8752. type: string
  8753. goodsid:
  8754. description: 商品ID(自增ID SEQ_GOODS)
  8755. type: integer
  8756. goodsname:
  8757. description: 商品名称
  8758. type: string
  8759. goodsstatus:
  8760. description: 商品状态- 2:未上市 3:上市
  8761. type: integer
  8762. goodunit:
  8763. description: 报价单位
  8764. type: string
  8765. lasttradedate:
  8766. description: 最后交易日期(状态:待退市)
  8767. type: string
  8768. listingdate:
  8769. description: 交易开始日期
  8770. type: string
  8771. lotsize:
  8772. description: 手数最小变动单位
  8773. type: integer
  8774. marketid:
  8775. description: 所属市场ID
  8776. type: integer
  8777. picurls:
  8778. description: 介绍图片[多张用逗号分隔]
  8779. type: string
  8780. presaledqty:
  8781. description: 已预售量(预售结束时更新)
  8782. type: integer
  8783. presaleqty:
  8784. description: 预售数量
  8785. type: integer
  8786. quoteminunit:
  8787. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8788. type: integer
  8789. refprice:
  8790. description: 参考价格[一口价]
  8791. type: number
  8792. relatedgoodsid:
  8793. description: 关联交易合约ID
  8794. type: integer
  8795. stepvalue:
  8796. description: 价格最小变动单位
  8797. type: number
  8798. trademode:
  8799. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8800. 21:竞拍-大宗式 22:受托竞价
  8801. type: integer
  8802. vendorattr:
  8803. description: 供应商附件(多张,逗号分隔)
  8804. type: string
  8805. vendorname:
  8806. description: 供应商名称
  8807. type: string
  8808. vendorphone:
  8809. description: 供应商客服电话
  8810. type: string
  8811. videourls:
  8812. description: 介绍视频[多张用逗号分隔]
  8813. type: string
  8814. required:
  8815. - goodscode
  8816. - goodsid
  8817. - goodsname
  8818. - marketid
  8819. - trademode
  8820. type: object
  8821. models.HsbySellCollectionOrder:
  8822. properties:
  8823. agreeunit:
  8824. description: 合约单位
  8825. type: number
  8826. buyaccountid:
  8827. description: 买方账号ID[报价币种]
  8828. type: integer
  8829. buyorderid:
  8830. description: 买方委托单号
  8831. type: string
  8832. createtime:
  8833. description: 创建时间
  8834. type: string
  8835. currencysign:
  8836. description: 货币符号
  8837. type: string
  8838. decimalplace:
  8839. description: 报价小数位
  8840. type: integer
  8841. goodscode:
  8842. description: 商品代码(内部)
  8843. type: string
  8844. goodsid:
  8845. description: 商品ID
  8846. type: integer
  8847. goodsname:
  8848. description: 商品名称
  8849. type: string
  8850. marketid:
  8851. description: 市场ID
  8852. type: integer
  8853. offamount:
  8854. description: 优惠金额
  8855. type: number
  8856. payamount:
  8857. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  8858. type: number
  8859. payflag:
  8860. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  8861. type: integer
  8862. paylimitedtime:
  8863. description: 支付期限
  8864. type: string
  8865. paytime:
  8866. description: 付款时间
  8867. type: string
  8868. picurls:
  8869. description: 商品介绍图片[多张用逗号分隔]
  8870. type: string
  8871. sellaccountid:
  8872. description: 卖方账号ID[报价币种]
  8873. type: integer
  8874. sellorderid:
  8875. description: 卖方委托单号
  8876. type: string
  8877. tradeamount:
  8878. description: 成交金额
  8879. type: number
  8880. tradecharge:
  8881. description: 成交手续费(买方)
  8882. type: number
  8883. tradedate:
  8884. description: 交易日(yyyyMMdd)
  8885. type: string
  8886. tradeid:
  8887. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8888. type: string
  8889. trademode:
  8890. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8891. 21:竞拍-大宗式 22:受托竞价
  8892. type: integer
  8893. tradeprice:
  8894. description: 成交价格
  8895. type: number
  8896. tradeqty:
  8897. description: 成交数量
  8898. type: integer
  8899. required:
  8900. - goodscode
  8901. - goodsname
  8902. - tradeid
  8903. - trademode
  8904. type: object
  8905. models.HsbySellMyDetail:
  8906. properties:
  8907. accountid:
  8908. description: 账户ID[报价币种]
  8909. type: integer
  8910. agreeunit:
  8911. description: 合约单位
  8912. type: number
  8913. buyorsell:
  8914. description: 买卖 - 0:买 1:卖
  8915. type: integer
  8916. currencysign:
  8917. description: 货币符号
  8918. type: string
  8919. decimalplace:
  8920. description: 报价小数位
  8921. type: integer
  8922. goodscode:
  8923. description: 商品代码(内部)
  8924. type: string
  8925. goodsid:
  8926. description: 商品ID
  8927. type: integer
  8928. goodsname:
  8929. description: 商品名称
  8930. type: string
  8931. marketid:
  8932. description: 市场ID
  8933. type: integer
  8934. orderid:
  8935. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  8936. type: string
  8937. ordertype:
  8938. description: 单据类型:0 - 发布中, 1 - 已完成
  8939. type: integer
  8940. picurls:
  8941. description: 介绍图片[多张用逗号分隔]
  8942. type: string
  8943. price:
  8944. description: 价格
  8945. type: number
  8946. qty:
  8947. description: 数量
  8948. type: integer
  8949. time:
  8950. description: 时间
  8951. type: string
  8952. trademode:
  8953. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8954. 21:竞拍-大宗式 22:受托竞价
  8955. type: integer
  8956. vendorname:
  8957. description: 供应商名称
  8958. type: string
  8959. required:
  8960. - accountid
  8961. - buyorsell
  8962. - goodscode
  8963. - goodsid
  8964. - goodsname
  8965. - marketid
  8966. - orderid
  8967. - time
  8968. - trademode
  8969. type: object
  8970. models.HsbyTopGoods:
  8971. properties:
  8972. agreeunit:
  8973. description: 合约单位
  8974. type: number
  8975. currency:
  8976. description: 货币
  8977. type: string
  8978. currencysign:
  8979. description: 货币符号
  8980. type: string
  8981. decimalplace:
  8982. description: 报价小数位
  8983. type: integer
  8984. desccityid:
  8985. description: 目的地(市)
  8986. type: integer
  8987. descprovinceid:
  8988. description: 目的地(省)
  8989. type: integer
  8990. goodscode:
  8991. description: 商品代码(内部)
  8992. type: string
  8993. goodsid:
  8994. description: 商品ID(自增ID SEQ_GOODS)
  8995. type: integer
  8996. goodsname:
  8997. description: 商品名称
  8998. type: string
  8999. hotindex:
  9000. description: 景点热度
  9001. type: integer
  9002. last:
  9003. description: 现价
  9004. type: number
  9005. marketid:
  9006. description: 所属市场ID
  9007. type: integer
  9008. picurls:
  9009. description: 介绍图片[多张用逗号分隔]
  9010. type: string
  9011. quoteminunit:
  9012. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9013. type: integer
  9014. trademode:
  9015. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9016. 21:竞拍-大宗式 22:受托竞价
  9017. type: integer
  9018. videourls:
  9019. description: 介绍视频[多张用逗号分隔]
  9020. type: string
  9021. required:
  9022. - goodscode
  9023. - goodsid
  9024. - goodsname
  9025. - marketid
  9026. - trademode
  9027. type: object
  9028. models.HybsMyBuyOrderDetail:
  9029. properties:
  9030. accountid:
  9031. description: 账户ID[报价币种]
  9032. type: integer
  9033. agreeunit:
  9034. description: 合约单位
  9035. type: number
  9036. buyorsell:
  9037. description: 买卖 - 0:买 1:卖
  9038. type: integer
  9039. cancelqty:
  9040. description: 撤单数量
  9041. type: integer
  9042. currencysign:
  9043. description: 货币符号
  9044. type: string
  9045. decimalplace:
  9046. description: 报价小数位
  9047. type: integer
  9048. goodscode:
  9049. description: 商品代码(内部)
  9050. type: string
  9051. goodsid:
  9052. description: 商品ID
  9053. type: integer
  9054. goodsname:
  9055. description: 商品名称
  9056. type: string
  9057. listingselecttype:
  9058. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  9059. type: integer
  9060. marketid:
  9061. description: 市场ID
  9062. type: integer
  9063. mybuystatus:
  9064. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  9065. type: integer
  9066. orderamount:
  9067. description: 委托金额
  9068. type: number
  9069. orderid:
  9070. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9071. type: string
  9072. orderprice:
  9073. description: 委托价格
  9074. type: number
  9075. orderqty:
  9076. description: 委托数量
  9077. type: integer
  9078. orderstatus:
  9079. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  9080. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  9081. 16:成交失败违约(荷兰式竞拍专用)
  9082. type: integer
  9083. ordertime:
  9084. description: 委托时间
  9085. type: string
  9086. picurls1:
  9087. description: 预售商品介绍图片[多张用逗号分隔]
  9088. type: string
  9089. picurls2:
  9090. description: 挂牌商品介绍图片[多张用逗号分隔]
  9091. type: string
  9092. trademode:
  9093. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9094. 21:竞拍-大宗式 22:受托竞价
  9095. type: integer
  9096. tradeqty:
  9097. description: 成交数量
  9098. type: integer
  9099. vendorname1:
  9100. description: 预售商品供应商名称
  9101. type: string
  9102. vendorname2:
  9103. description: 挂牌商品供应商名称
  9104. type: string
  9105. required:
  9106. - accountid
  9107. - buyorsell
  9108. - goodscode
  9109. - goodsid
  9110. - goodsname
  9111. - marketid
  9112. - orderid
  9113. - orderqty
  9114. - ordertime
  9115. - trademode
  9116. type: object
  9117. models.Loginaccount:
  9118. properties:
  9119. canoutin:
  9120. description: 是否可出入金 - 0:不可 1:可
  9121. type: integer
  9122. clientroleid:
  9123. description: 终端角色ID
  9124. type: integer
  9125. haslogined:
  9126. description: 是否已登录 - 0:未登录 1:已登录
  9127. type: integer
  9128. hasupdatedpwd:
  9129. description: 是否已更改密码 - 0:未修改 1:已修改
  9130. type: integer
  9131. lastloginip:
  9132. description: 最新登录地址
  9133. type: string
  9134. lastloginmode:
  9135. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  9136. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  9137. type: integer
  9138. lastloginremark:
  9139. description: 最新登录描述
  9140. type: string
  9141. lastlogintime:
  9142. description: 最新登录时间
  9143. type: string
  9144. logincode:
  9145. description: 登录代码
  9146. type: string
  9147. loginfailnum:
  9148. description: 连续登录失败次数(登录成功时清零)
  9149. type: integer
  9150. loginid:
  9151. description: 登陆账号
  9152. type: integer
  9153. loginport:
  9154. description: 最新登录端口
  9155. type: integer
  9156. loginstatus:
  9157. description: 登录账号状态 1:正常 2:冻结 3:无效
  9158. type: integer
  9159. loginusertype:
  9160. description: 登录账号类型 - 1:投资者 2:机构交易员
  9161. type: integer
  9162. modifierid:
  9163. description: 修改人
  9164. type: integer
  9165. modifytime:
  9166. description: 修改时间
  9167. type: string
  9168. pwdwrongcount:
  9169. description: 密码错误次数
  9170. type: integer
  9171. taaccountrighttype:
  9172. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  9173. type: integer
  9174. unfreezetime:
  9175. description: 账户解冻时间
  9176. type: string
  9177. userid:
  9178. description: 用户ID
  9179. type: integer
  9180. required:
  9181. - loginid
  9182. type: object
  9183. models.MainAccountInfo:
  9184. properties:
  9185. accountid:
  9186. description: 账号id
  9187. type: integer
  9188. accountname:
  9189. description: 账号名称(taaccount表中的名称)
  9190. type: string
  9191. appid:
  9192. description: AppID
  9193. type: string
  9194. authcode:
  9195. description: 授权码
  9196. type: string
  9197. brokerid:
  9198. description: 经纪商id
  9199. type: string
  9200. fcid:
  9201. description: 期货公司id
  9202. type: integer
  9203. fcname:
  9204. description: 期货公司代码
  9205. type: string
  9206. hedgeaccountcode:
  9207. description: 外部账号代码(主账号登录代码)
  9208. type: string
  9209. hedgeaccountpwd:
  9210. description: 密码
  9211. type: string
  9212. ismain:
  9213. description: 是否主账号
  9214. type: integer
  9215. relateduserid:
  9216. description: 关联用户id
  9217. type: integer
  9218. userid:
  9219. description: 关联用户id
  9220. type: integer
  9221. type: object
  9222. models.Market:
  9223. properties:
  9224. auctionwrtype:
  9225. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  9226. type: integer
  9227. canacceptquote:
  9228. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  9229. type: integer
  9230. cangoodsexercise:
  9231. description: '[期权]是否可现货行权- 0:否 1:是'
  9232. type: integer
  9233. cangoodsexercisetype:
  9234. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  9235. type: integer
  9236. canmanualquotestrike:
  9237. description: 是否可手动报行权价- 0:否 1:是 [期权]
  9238. type: integer
  9239. canmutistage:
  9240. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  9241. type: integer
  9242. canpreexercise:
  9243. description: '[期权]是否可预申报- 0:否 1:是'
  9244. type: integer
  9245. clearinterval:
  9246. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  9247. type: integer
  9248. contracttmp:
  9249. description: 合同模板[荷兰式][竞价式][仓单贸易]
  9250. type: string
  9251. exchareaid:
  9252. description: 所属交易所,可以没有
  9253. type: integer
  9254. goodstype:
  9255. description: 商品类型 - 1:交易商品 2:仓单商品
  9256. type: integer
  9257. hasrebate:
  9258. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  9259. type: integer
  9260. hastradecredit:
  9261. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  9262. type: integer
  9263. haswr:
  9264. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  9265. type: integer
  9266. isdeductmargin:
  9267. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  9268. type: integer
  9269. isrecordsource:
  9270. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  9271. type: integer
  9272. isreleasemargin:
  9273. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  9274. type: integer
  9275. marginformula:
  9276. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  9277. type: integer
  9278. marginformula2:
  9279. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  9280. type: integer
  9281. marketid:
  9282. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  9283. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  9284. type: integer
  9285. marketname:
  9286. description: 市场名称
  9287. type: string
  9288. marketserviceid:
  9289. description: 市场服务ID
  9290. type: integer
  9291. marketstatus:
  9292. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  9293. type: integer
  9294. markettype:
  9295. description: 市场类型- 1:非交易服务 2:交易服务
  9296. type: integer
  9297. matchermode:
  9298. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  9299. type: integer
  9300. openmethod:
  9301. description: 开盘模式 - 0 自动 1手动
  9302. type: integer
  9303. otcuserid:
  9304. description: 场外期权做市商[场外期权]
  9305. type: integer
  9306. outersynctime:
  9307. description: 外部同步时间点(h24:mi:ss)[场外期权]
  9308. type: string
  9309. pendingflag:
  9310. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  9311. type: integer
  9312. pendingtime:
  9313. description: 待开市时间[通道交易-对冲](HH:mm)
  9314. type: string
  9315. performancetempid:
  9316. description: 履约计划模板ID - 作废
  9317. type: integer
  9318. premiumquotemode:
  9319. description: 权利金报价方式 - 1:自动 2:手动
  9320. type: integer
  9321. rebateratio:
  9322. description: 返利比率[竞价式]
  9323. type: number
  9324. reckonorder:
  9325. description: 结算顺序
  9326. type: integer
  9327. reckonpricealgorithm:
  9328. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  9329. 6.卖一价 7.买一卖一均价 8.外部结算价'
  9330. type: integer
  9331. reckonpriceparam:
  9332. description: 结算价参数
  9333. type: integer
  9334. reckontime:
  9335. description: 结算时间[通道交易-对冲](HH:mm)
  9336. type: string
  9337. roleprioritytype:
  9338. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  9339. type: integer
  9340. selllistingauditflag:
  9341. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  9342. type: integer
  9343. trademarkettype:
  9344. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  9345. type: integer
  9346. trademode:
  9347. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9348. 21:竞拍-大宗式 22:受托竞价
  9349. type: integer
  9350. tradeproperty:
  9351. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  9352. 8:场外期权
  9353. type: integer
  9354. tradetype:
  9355. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  9356. type: integer
  9357. required:
  9358. - marketid
  9359. - marketstatus
  9360. - openmethod
  9361. - reckonpricealgorithm
  9362. - trademode
  9363. - tradeproperty
  9364. type: object
  9365. models.Marketrun:
  9366. properties:
  9367. afternexttradedate:
  9368. description: 下下交易日
  9369. type: string
  9370. clearquoteflag:
  9371. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  9372. type: integer
  9373. lastreckondate:
  9374. description: 最新交易日(结算成功)
  9375. type: string
  9376. machinedate:
  9377. description: 机器时间
  9378. type: string
  9379. manualflag:
  9380. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  9381. type: integer
  9382. marketid:
  9383. description: 市场ID
  9384. type: integer
  9385. nexttradedate:
  9386. description: 下一交易日
  9387. type: string
  9388. pretradedate:
  9389. description: 上一交易日
  9390. type: string
  9391. reckonflag:
  9392. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  9393. type: integer
  9394. runstatus:
  9395. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  9396. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  9397. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  9398. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  9399. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  9400. 62.今日免清算
  9401. type: integer
  9402. sectionid:
  9403. description: 时间段号[多时段时用]
  9404. type: integer
  9405. tradedate:
  9406. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  9407. type: string
  9408. tradedate2:
  9409. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  9410. type: string
  9411. updatetime:
  9412. description: 更新时间
  9413. type: string
  9414. required:
  9415. - marketid
  9416. - nexttradedate
  9417. - reckonflag
  9418. - runstatus
  9419. - tradedate
  9420. - tradedate2
  9421. type: object
  9422. models.Messageboard:
  9423. properties:
  9424. contactnum:
  9425. description: 联系电话
  9426. type: string
  9427. createtime:
  9428. description: 创建时间
  9429. type: string
  9430. message:
  9431. description: 留言信息
  9432. type: string
  9433. messageboardid:
  9434. description: 留言簿ID(SEQ_MessageBoard)
  9435. type: integer
  9436. userid:
  9437. description: 用户ID
  9438. type: integer
  9439. required:
  9440. - messageboardid
  9441. type: object
  9442. models.MyCoupon:
  9443. properties:
  9444. accountid:
  9445. description: 资金账户ID
  9446. type: integer
  9447. areauserid:
  9448. description: 所属机构
  9449. type: integer
  9450. conditionvalue:
  9451. description: 条件阈值(可为0)
  9452. type: number
  9453. couponcategroy:
  9454. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  9455. type: integer
  9456. couponname:
  9457. description: 优惠券名称
  9458. type: string
  9459. coupontypeid:
  9460. description: 优惠券类型ID
  9461. type: string
  9462. couponvalue:
  9463. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  9464. type: number
  9465. curfreezeqty:
  9466. description: 期末冻结数量
  9467. type: integer
  9468. curqty:
  9469. description: 期末数量
  9470. type: integer
  9471. isgeneral:
  9472. description: 是否通用券 - 0:否 1:是
  9473. type: integer
  9474. isunusable:
  9475. description: 是否不可用
  9476. type: boolean
  9477. limitedflag:
  9478. description: 是否指定商品 - 0:不限 1:限制
  9479. type: integer
  9480. limitedgoodsids:
  9481. description: 指定商品IDs[逗号分隔,前后加逗号]
  9482. type: string
  9483. orifreezeqty:
  9484. description: 期初冻结数量
  9485. type: integer
  9486. oriqty:
  9487. description: 期初数量
  9488. type: integer
  9489. reasontype:
  9490. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  9491. type: integer
  9492. todaydecrease:
  9493. description: 今日减少
  9494. type: integer
  9495. todayincrease:
  9496. description: 今日增加
  9497. type: integer
  9498. userid:
  9499. description: 用户ID
  9500. type: integer
  9501. userscope:
  9502. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  9503. type: string
  9504. required:
  9505. - accountid
  9506. - coupontypeid
  9507. type: object
  9508. models.MyCouponHold:
  9509. properties:
  9510. accountid:
  9511. description: 资金账户ID
  9512. type: integer
  9513. conditionvalue:
  9514. description: 条件阈值(可为0)
  9515. type: number
  9516. couponcategroy:
  9517. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  9518. type: integer
  9519. couponholdid:
  9520. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  9521. type: string
  9522. couponname:
  9523. description: 优惠券名称
  9524. type: string
  9525. coupontypeid:
  9526. description: 优惠券类型ID - SEQ_COUPONTYPE
  9527. type: string
  9528. couponvalue:
  9529. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  9530. type: number
  9531. createtime:
  9532. description: 创建时间
  9533. type: string
  9534. enddate:
  9535. description: 结束日期
  9536. type: string
  9537. giveapplyid:
  9538. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  9539. type: integer
  9540. holdstatus:
  9541. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  9542. type: integer
  9543. isgeneral:
  9544. description: 是否通用券 - 0:否 1:是
  9545. type: integer
  9546. limitedflag:
  9547. description: 是否指定商品 - 0:不限 1:限制
  9548. type: integer
  9549. limitedgoodsids:
  9550. description: 指定商品IDs[逗号分隔]
  9551. type: string
  9552. qty:
  9553. description: 数量(按1平铺)
  9554. type: integer
  9555. startdate:
  9556. description: 开始日期
  9557. type: string
  9558. userid:
  9559. description: 用户ID
  9560. type: integer
  9561. userscope:
  9562. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  9563. type: string
  9564. required:
  9565. - couponholdid
  9566. type: object
  9567. models.MyUsedCoupon:
  9568. properties:
  9569. accountid:
  9570. description: 资金账户ID(买方)
  9571. type: integer
  9572. conditionvalue:
  9573. description: 条件阈值(可为0)
  9574. type: number
  9575. couponcategroy:
  9576. description: 种类 - 1:现金券 2:折扣券
  9577. type: integer
  9578. couponname:
  9579. description: 优惠券名称
  9580. type: string
  9581. coupontypeid:
  9582. description: 优惠券类型ID(买方)
  9583. type: string
  9584. couponvalue:
  9585. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  9586. type: number
  9587. createtime:
  9588. description: 创建时间
  9589. type: string
  9590. goodsid:
  9591. description: 商品ID
  9592. type: integer
  9593. handlestatus:
  9594. description: 处理状态
  9595. type: integer
  9596. marketid:
  9597. description: 市场ID
  9598. type: integer
  9599. offamount:
  9600. description: 优惠金额
  9601. type: number
  9602. orderid:
  9603. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9604. type: string
  9605. sellaccountid:
  9606. description: 资金账户ID(卖方)
  9607. type: integer
  9608. tradeamount:
  9609. description: 成交金额
  9610. type: number
  9611. tradeid:
  9612. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9613. type: string
  9614. usedqty:
  9615. description: 使用数量
  9616. type: integer
  9617. required:
  9618. - coupontypeid
  9619. - orderid
  9620. type: object
  9621. models.OperationPrimaryMenu:
  9622. properties:
  9623. Children:
  9624. description: 二级功能菜单
  9625. items:
  9626. $ref: '#/definitions/models.OperationSecondaryMenu'
  9627. type: array
  9628. Key:
  9629. description: 菜单KEY
  9630. type: string
  9631. Label:
  9632. description: 菜单标题
  9633. type: string
  9634. type: object
  9635. models.OperationSecondaryMenu:
  9636. properties:
  9637. Key:
  9638. description: 菜单KEY
  9639. type: string
  9640. Label:
  9641. description: 菜单标题
  9642. type: string
  9643. TabList:
  9644. description: 三级功能菜单
  9645. items:
  9646. $ref: '#/definitions/models.OperationTabMenu'
  9647. type: array
  9648. type: object
  9649. models.OperationTabMenu:
  9650. properties:
  9651. Key:
  9652. description: 菜单KEY
  9653. type: string
  9654. Label:
  9655. description: 菜单标题
  9656. type: string
  9657. type: object
  9658. models.PendingAuditBizModel:
  9659. properties:
  9660. accountid:
  9661. description: 现货账户
  9662. type: string
  9663. areaname:
  9664. description: 所属部门
  9665. type: string
  9666. bizid:
  9667. description: 业务ID
  9668. type: string
  9669. bizname:
  9670. description: 业务名称
  9671. type: string
  9672. status:
  9673. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  9674. type: integer
  9675. type:
  9676. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  9677. type: integer
  9678. type: object
  9679. models.QueryErrorInfosRsp:
  9680. properties:
  9681. description:
  9682. description: 异常描述
  9683. type: string
  9684. errorcode:
  9685. description: 异常代码
  9686. type: string
  9687. errorid:
  9688. description: 异常ID
  9689. type: integer
  9690. modulecode:
  9691. description: 所属模块
  9692. type: string
  9693. operatecode:
  9694. description: 所属操作
  9695. type: string
  9696. rownumber:
  9697. description: 行号
  9698. type: string
  9699. required:
  9700. - errorid
  9701. type: object
  9702. models.QueryHedgeOrderDetailRsp:
  9703. properties:
  9704. accountid:
  9705. description: 账户ID
  9706. type: integer
  9707. buyorsell:
  9708. description: 买卖 - 0:买 1:卖
  9709. type: integer
  9710. cancellogincode:
  9711. description: 撤单人
  9712. type: string
  9713. channelbuildtype:
  9714. description: 开平标志 - 0:无 1:建仓 2:平仓
  9715. type: integer
  9716. channelinnerorderstatus:
  9717. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  9718. 9:全部成交
  9719. type: integer
  9720. channeloperatetype:
  9721. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  9722. type: integer
  9723. closetype:
  9724. description: 平仓方式 - 0:无 1:平今 2:平昨
  9725. type: integer
  9726. curexchangerate:
  9727. description: 当前汇率
  9728. type: number
  9729. exchangefullname:
  9730. description: 外部交易所全称
  9731. type: string
  9732. goodscode:
  9733. description: 商品代码(内部)
  9734. type: string
  9735. goodsid:
  9736. description: 商品ID
  9737. type: integer
  9738. goodsname:
  9739. description: 商品名称
  9740. type: string
  9741. marketid:
  9742. description: 市场ID
  9743. type: integer
  9744. openfreezemargin:
  9745. description: 冻结保证金(冻结交易金额)
  9746. type: number
  9747. orderid:
  9748. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9749. type: string
  9750. orderlogincode:
  9751. description: 委托人
  9752. type: string
  9753. orderprice:
  9754. description: 委托价格(账户)
  9755. type: number
  9756. orderqty:
  9757. description: 委托数量
  9758. type: integer
  9759. ordertime:
  9760. description: 委托时间
  9761. type: string
  9762. pricemode:
  9763. description: '取价方式 - 1:市价 2: 限价'
  9764. type: integer
  9765. tradedate:
  9766. description: 交易日(yyyyMMdd)
  9767. type: string
  9768. tradeqty:
  9769. description: 成交数量
  9770. type: integer
  9771. type: object
  9772. models.QueryHedgeTradeDetailRsp:
  9773. properties:
  9774. accountid:
  9775. description: 账号ID
  9776. type: integer
  9777. buyorsell:
  9778. description: 方向 - 0:买 1:卖
  9779. type: integer
  9780. channelbuildtype:
  9781. description: 委托单据类型 0:无 1:建仓 2:平仓
  9782. type: integer
  9783. closecharge:
  9784. description: 平仓手续费(账户)
  9785. type: number
  9786. closecharge2:
  9787. description: 平仓手续费(商品)
  9788. type: number
  9789. closepl:
  9790. description: 平仓盈亏(账户)
  9791. type: number
  9792. closepl2:
  9793. description: 平仓盈亏(商品)
  9794. type: number
  9795. closepl3:
  9796. description: 平仓盈亏(账户)(逐笔)
  9797. type: number
  9798. closepl4:
  9799. description: 平仓盈亏(商品)(逐笔)
  9800. type: number
  9801. closetype:
  9802. description: 平仓方式 - 0:无 1:平今 2:平昨
  9803. type: integer
  9804. curexchangerate:
  9805. description: 当前汇率
  9806. type: number
  9807. exchangefullname:
  9808. description: 外部交易所全称
  9809. type: string
  9810. goodscode:
  9811. description: 商品代码(内部)
  9812. type: string
  9813. goodsid:
  9814. description: 商品ID
  9815. type: integer
  9816. goodsname:
  9817. description: 商品名称
  9818. type: string
  9819. marketid:
  9820. description: 市场ID
  9821. type: integer
  9822. opencharge:
  9823. description: 建仓手续费(账户)
  9824. type: number
  9825. opencharge2:
  9826. description: 建仓手续费(商品)
  9827. type: number
  9828. orderid:
  9829. description: 委托单号
  9830. type: string
  9831. orderlogincode:
  9832. description: 委托人
  9833. type: string
  9834. tradeamount:
  9835. description: 成交金额(账户)
  9836. type: number
  9837. tradedate:
  9838. description: 交易日(yyyyMMdd)
  9839. type: string
  9840. tradeid:
  9841. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9842. type: string
  9843. tradeprice:
  9844. description: 成交价格
  9845. type: number
  9846. tradeqty:
  9847. description: 成交数量
  9848. type: integer
  9849. tradetime:
  9850. description: 成交时间
  9851. type: string
  9852. tradetype:
  9853. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  9854. type: integer
  9855. type: object
  9856. models.QuotePrimaryMenu:
  9857. properties:
  9858. Index:
  9859. description: 序号
  9860. type: integer
  9861. Key:
  9862. description: 键名
  9863. type: string
  9864. Name:
  9865. description: 菜单名称
  9866. type: string
  9867. SubMenus:
  9868. description: 子菜单
  9869. items:
  9870. $ref: '#/definitions/models.QuoteSecondaryMenu'
  9871. type: array
  9872. SubTitleType:
  9873. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  9874. type: integer
  9875. TradeModes:
  9876. description: 包含市场交易类型
  9877. type: string
  9878. type: object
  9879. models.QuoteSecondaryMenu:
  9880. properties:
  9881. ExExchangeCode:
  9882. description: 外部交易所代码
  9883. type: string
  9884. ExExchangeID:
  9885. description: 外部交易所ID
  9886. type: integer
  9887. GoodsGroupIDs:
  9888. description: 商品组ID列表
  9889. items:
  9890. type: integer
  9891. type: array
  9892. Index:
  9893. description: 序号
  9894. type: integer
  9895. MarketID:
  9896. description: 市场ID
  9897. type: integer
  9898. MenuTitle:
  9899. description: 菜单标题(市场名称或外部交易所名称)
  9900. type: string
  9901. TradeMode:
  9902. description: 交易模式
  9903. type: integer
  9904. type: object
  9905. models.RelatedGoodsEx:
  9906. properties:
  9907. goodscode:
  9908. description: 商品代码
  9909. type: string
  9910. goodsid:
  9911. description: 商品id
  9912. type: integer
  9913. goodsname:
  9914. description: 商品名称
  9915. type: string
  9916. type: object
  9917. models.SearchGoods:
  9918. properties:
  9919. goodscode:
  9920. description: 商品代码(内部)
  9921. type: string
  9922. goodsid:
  9923. description: 商品ID(自增ID SEQ_GOODS)
  9924. type: integer
  9925. goodsname:
  9926. description: 商品名称
  9927. type: string
  9928. marketid:
  9929. description: 所属市场ID
  9930. type: integer
  9931. marketname:
  9932. description: 市场名称
  9933. type: string
  9934. trademode:
  9935. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9936. 21:竞拍-大宗式 22:受托竞价
  9937. type: integer
  9938. required:
  9939. - goodscode
  9940. - goodsid
  9941. - goodsname
  9942. - marketid
  9943. - trademode
  9944. type: object
  9945. models.Systemparam:
  9946. properties:
  9947. loginid:
  9948. description: 更新用户账号,登录账号
  9949. type: string
  9950. modifyflag:
  9951. description: 修改标志0 不允许修改 1 允许修改
  9952. type: integer
  9953. paramcode:
  9954. description: 参数代码
  9955. type: string
  9956. paramname:
  9957. description: 参数名
  9958. type: string
  9959. paramtype:
  9960. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  9961. type: integer
  9962. paramvalue:
  9963. description: 参数值
  9964. type: string
  9965. paramvalue2:
  9966. description: 参数值(CLOB)
  9967. type: string
  9968. regexpress:
  9969. description: 正则表达式
  9970. type: string
  9971. remark:
  9972. description: 备注
  9973. type: string
  9974. serverip:
  9975. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  9976. type: string
  9977. showflag:
  9978. description: 是否显示0 不显示 1 显示
  9979. type: integer
  9980. updatetime:
  9981. description: 更新时间
  9982. type: string
  9983. userid:
  9984. description: 更新用户ID
  9985. type: integer
  9986. required:
  9987. - paramcode
  9988. type: object
  9989. models.Szdz3convertconfig:
  9990. properties:
  9991. canin:
  9992. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  9993. type: integer
  9994. canout:
  9995. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  9996. type: integer
  9997. converttype:
  9998. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  9999. 6:交易转花生米(不设置)
  10000. type: integer
  10001. createtime:
  10002. description: 创建时间
  10003. type: string
  10004. creatorid:
  10005. description: 创建人
  10006. type: integer
  10007. daymaxvalue:
  10008. description: 当日最大转入限制
  10009. type: number
  10010. freezedays:
  10011. description: 冻结天数 [5:花生米转交易]
  10012. type: integer
  10013. innergoodsid:
  10014. description: 内部商品ID[交易]
  10015. type: integer
  10016. inratio:
  10017. description: 目标值
  10018. type: integer
  10019. modifierid:
  10020. description: 修改人
  10021. type: integer
  10022. modifytime:
  10023. description: 修改时间
  10024. type: string
  10025. outergoodscode:
  10026. description: 外部商品代码[JD\PD]
  10027. type: string
  10028. outratio:
  10029. description: 源值
  10030. type: integer
  10031. pddecimalplace:
  10032. description: PD小数位
  10033. type: integer
  10034. timemaxvalue:
  10035. description: 单次最大转入限制
  10036. type: number
  10037. timeminvalue:
  10038. description: 单次最小转入限制
  10039. type: number
  10040. required:
  10041. - converttype
  10042. - innergoodsid
  10043. - outergoodscode
  10044. type: object
  10045. models.Szdz3searchwhitelist:
  10046. properties:
  10047. createtime:
  10048. description: 创建时间
  10049. type: string
  10050. creatorid:
  10051. description: 创建人
  10052. type: integer
  10053. modifierid:
  10054. description: 修改人
  10055. type: integer
  10056. modifytime:
  10057. description: 修改时间
  10058. type: string
  10059. userid:
  10060. description: 用户ID
  10061. type: integer
  10062. required:
  10063. - userid
  10064. type: object
  10065. models.Taaccount:
  10066. properties:
  10067. accountflag:
  10068. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  10069. type: integer
  10070. accountid:
  10071. description: 资金账户ID
  10072. type: integer
  10073. accountname:
  10074. description: 账户名称
  10075. type: string
  10076. balance:
  10077. description: 期初余额
  10078. type: number
  10079. capitalbalance:
  10080. description: 本金余额[外部子账户实际出入金余额]
  10081. type: number
  10082. changeflag:
  10083. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  10084. type: integer
  10085. changetime:
  10086. description: 账户状态变更时间
  10087. type: string
  10088. closepl:
  10089. description: 今日平仓盈亏
  10090. type: number
  10091. creditdecrease:
  10092. description: 今日授信减少
  10093. type: number
  10094. creditincrease:
  10095. description: 今日授信增加
  10096. type: number
  10097. currencyid:
  10098. description: 货币ID
  10099. type: integer
  10100. currentbalance:
  10101. description: 期末余额
  10102. type: number
  10103. freezecharge:
  10104. description: 手续费冻结
  10105. type: number
  10106. freezemargin:
  10107. description: 冻结保证金
  10108. type: number
  10109. fromaccountid:
  10110. description: 所属上级账户
  10111. type: integer
  10112. inamount:
  10113. description: 今日入金金额(包括三方入金)
  10114. type: number
  10115. ismain:
  10116. description: 是否母账号 0:不是母账户 1:是母账户
  10117. type: integer
  10118. ismarketaccount:
  10119. description: 是否机构接单账号 0:不是 1:是
  10120. type: integer
  10121. isreckonaccount:
  10122. description: 是否机构分润账号 0:不是 1:是
  10123. type: integer
  10124. mortgagecredit:
  10125. description: 授信金额
  10126. type: number
  10127. orifreezecharge:
  10128. description: 期初手续费冻结
  10129. type: number
  10130. orifreezemargin:
  10131. description: 期初冻结保证金
  10132. type: number
  10133. orimortgagecredit:
  10134. description: 期初授信金额
  10135. type: number
  10136. oriothercredit:
  10137. description: 期初其它授信金额
  10138. type: number
  10139. oriotherfreezemargin:
  10140. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  10141. type: number
  10142. orioutamountfreeze:
  10143. description: 期初出金冻结
  10144. type: number
  10145. oriusedmargin:
  10146. description: 期初占用保证金
  10147. type: number
  10148. othercredit:
  10149. description: 其它授信金额
  10150. type: number
  10151. othercreditdecrease:
  10152. description: 今日其它授信减少
  10153. type: number
  10154. othercreditincrease:
  10155. description: 今日其它授信增加
  10156. type: number
  10157. otherfreezemargin:
  10158. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  10159. type: number
  10160. otherincome:
  10161. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  10162. type: number
  10163. otherpay:
  10164. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  10165. type: number
  10166. outamount:
  10167. description: 今日出金金额(包括三方出金)
  10168. type: number
  10169. outamountfreeze:
  10170. description: 出金冻结
  10171. type: number
  10172. outthreshold:
  10173. description: 出金阈值
  10174. type: number
  10175. parentaccountid:
  10176. description: 所属根账号
  10177. type: integer
  10178. paycharge:
  10179. description: 今日手续费支出
  10180. type: number
  10181. relatedaccountstatus:
  10182. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  10183. type: integer
  10184. relateduserid:
  10185. description: 关联用户
  10186. type: integer
  10187. serivcegroup:
  10188. description: 服务分组
  10189. type: integer
  10190. signstatus:
  10191. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  10192. type: integer
  10193. sublevelpath:
  10194. description: 账号层级路径(逗号分隔,首尾加逗号)
  10195. type: string
  10196. taaccounttype:
  10197. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  10198. type: integer
  10199. thirdinamount:
  10200. description: 今日三方入金
  10201. type: number
  10202. thirdoutamount:
  10203. description: 今日三方出金
  10204. type: number
  10205. tradestatus:
  10206. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  10207. type: integer
  10208. tradestatuschangetime:
  10209. description: 激活时间
  10210. type: string
  10211. transferamount:
  10212. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  10213. type: number
  10214. usedmargin:
  10215. description: 占用保证金
  10216. type: number
  10217. userid:
  10218. description: 用户ID
  10219. type: integer
  10220. required:
  10221. - accountid
  10222. - userid
  10223. type: object
  10224. models.Tablecolumnconfig:
  10225. properties:
  10226. aligntype:
  10227. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  10228. type: integer
  10229. autoid:
  10230. description: AutoID
  10231. type: integer
  10232. columnfield:
  10233. description: 列字段
  10234. type: string
  10235. columntitle:
  10236. description: 列Title
  10237. type: string
  10238. columnwidth:
  10239. description: 列宽
  10240. type: string
  10241. formatterstring:
  10242. description: 格式化字符
  10243. type: string
  10244. formattertype:
  10245. description: 格式化类型
  10246. type: string
  10247. groupname:
  10248. description: 表头分组名称
  10249. type: string
  10250. isshow:
  10251. description: 是否显示 - 0:不显示 1:显示
  10252. type: integer
  10253. needsummary:
  10254. description: 是否需要汇总 - 0:不需要 1:需要
  10255. type: integer
  10256. orderindex:
  10257. description: 顺序
  10258. type: integer
  10259. remark:
  10260. description: 备注
  10261. type: string
  10262. summarytype:
  10263. description: 汇总类型 - 1:加总 2:最后一个
  10264. type: integer
  10265. tablekey:
  10266. description: 列表Key
  10267. type: string
  10268. required:
  10269. - autoid
  10270. type: object
  10271. models.Useraccount:
  10272. properties:
  10273. accountname:
  10274. description: 账户名称(机构名称)
  10275. type: string
  10276. accountstatus:
  10277. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  10278. type: integer
  10279. auditremark:
  10280. description: 审核备注
  10281. type: string
  10282. audittime:
  10283. description: 审核时间
  10284. type: string
  10285. audituserid:
  10286. description: 审核人
  10287. type: integer
  10288. broker:
  10289. description: 所属经纪人ID
  10290. type: integer
  10291. canceltime:
  10292. description: 销户时间
  10293. type: string
  10294. canceluserid:
  10295. description: 销户人
  10296. type: integer
  10297. createtime:
  10298. description: 创建时间
  10299. type: string
  10300. creatorid:
  10301. description: 创建人
  10302. type: integer
  10303. hasauth:
  10304. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  10305. type: integer
  10306. isanonymous:
  10307. description: 是否匿名下单 - 0:否 1:是
  10308. type: integer
  10309. maxinvestornum:
  10310. description: 最大用户数(经纪会员下投资者个数)
  10311. type: integer
  10312. memberuserid:
  10313. description: 所属会员ID
  10314. type: integer
  10315. modifierid:
  10316. description: 修改人
  10317. type: integer
  10318. modifyremark:
  10319. description: 变更备注
  10320. type: string
  10321. modifystatus:
  10322. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  10323. type: integer
  10324. modifytime:
  10325. description: 修改时间
  10326. type: string
  10327. parentuserid:
  10328. description: 所属机构ID
  10329. type: integer
  10330. reckonaccountid:
  10331. description: 默认结算资金账号ID(机构分润使用) 作废
  10332. type: integer
  10333. refercount:
  10334. description: 推荐总人数
  10335. type: integer
  10336. refereeuserid:
  10337. description: 推荐人ID
  10338. type: integer
  10339. refernum:
  10340. description: 推荐码
  10341. type: string
  10342. subarealevelpath:
  10343. description: 子机构层级路径(逗号分隔,首尾加逗号)
  10344. type: string
  10345. userid:
  10346. description: 用户ID
  10347. type: integer
  10348. usertype:
  10349. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  10350. type: integer
  10351. required:
  10352. - userid
  10353. type: object
  10354. models.Userfavoritegoods:
  10355. properties:
  10356. goodsid:
  10357. description: 商品ID
  10358. type: integer
  10359. required:
  10360. - goodsid
  10361. type: object
  10362. models.Userinfo:
  10363. properties:
  10364. address:
  10365. description: 地址
  10366. type: string
  10367. attachment1:
  10368. description: 附件1
  10369. type: string
  10370. attachment2:
  10371. description: 附件2
  10372. type: string
  10373. bankaccount:
  10374. description: 银行帐号 (加密存储)
  10375. type: string
  10376. bankaccountname:
  10377. description: 收款人名称
  10378. type: string
  10379. bankcardfrontphotourl:
  10380. description: 银行卡正面照地址
  10381. type: string
  10382. bankid:
  10383. description: 银行编码
  10384. type: string
  10385. bankname:
  10386. description: 银行名称
  10387. type: string
  10388. biznature:
  10389. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  10390. type: integer
  10391. bizscope:
  10392. description: 企业经营范围(企业)
  10393. type: string
  10394. cardbackphotourl:
  10395. description: 证件背面图片地址
  10396. type: string
  10397. cardfrontphotourl:
  10398. description: 证件正面图片地址
  10399. type: string
  10400. cardnum:
  10401. description: 证件号码(加密存储)
  10402. type: string
  10403. cardtypeid:
  10404. description: 证件类型ID
  10405. type: integer
  10406. cityid:
  10407. description: 市
  10408. type: integer
  10409. company:
  10410. description: 公司(个人)
  10411. type: string
  10412. contactname:
  10413. description: 联系人
  10414. type: string
  10415. countryid:
  10416. description: 国家
  10417. type: integer
  10418. createtime:
  10419. description: 创建时间
  10420. type: string
  10421. creatorid:
  10422. description: 创建人
  10423. type: integer
  10424. customername:
  10425. description: 客户名称(企业名称)
  10426. type: string
  10427. districtid:
  10428. description: 地区
  10429. type: integer
  10430. email:
  10431. description: 邮件(加密存储)
  10432. type: string
  10433. fax:
  10434. description: 传真(加密存储)
  10435. type: string
  10436. halfbodyphotourl:
  10437. description: 半身照地址
  10438. type: string
  10439. hasencrypt:
  10440. description: 数据是否已加密 - 0:未加密 1:已加密
  10441. type: integer
  10442. headurl:
  10443. description: 头像地址
  10444. type: string
  10445. legalcardbackphotourl:
  10446. description: 法人身份证背面照地址
  10447. type: string
  10448. legalcardfrontphotourl:
  10449. description: 法人身份证正面照地址
  10450. type: string
  10451. legalpersonname:
  10452. description: 法人姓名(企业)
  10453. type: string
  10454. mobile:
  10455. description: 手机号码(加密存储)
  10456. type: string
  10457. mobile2:
  10458. description: 手机号码[明文-尚志]
  10459. type: string
  10460. modifierid:
  10461. description: 修改人
  10462. type: integer
  10463. modifiertime:
  10464. description: 修改时间
  10465. type: string
  10466. needinvoice:
  10467. description: 是否需要发票 - 0:不需要 1:需要
  10468. type: integer
  10469. nickname:
  10470. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  10471. type: string
  10472. openmode:
  10473. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  10474. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  10475. type: integer
  10476. otherurl:
  10477. description: 其它图片地址[使用分号分隔]
  10478. type: string
  10479. postalcode:
  10480. description: 邮政编码
  10481. type: string
  10482. provinceid:
  10483. description: 省
  10484. type: integer
  10485. qq:
  10486. description: QQ(加密存储
  10487. type: string
  10488. remark:
  10489. description: 备注
  10490. type: string
  10491. sex:
  10492. description: '用户性别 0: 女 1: 男'
  10493. type: integer
  10494. signpdfurl:
  10495. description: 签约pdf文件
  10496. type: string
  10497. telphone:
  10498. description: 联系电话(加密存储)
  10499. type: string
  10500. userid:
  10501. description: 用户ID
  10502. type: integer
  10503. userinfotype:
  10504. description: 用户信息类型 - 1:个人 2:企业
  10505. type: integer
  10506. userstatus:
  10507. description: 用户状态 - 1:正常 2:注销
  10508. type: integer
  10509. usertype:
  10510. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  10511. type: integer
  10512. wechat:
  10513. description: 微信(加密存储)
  10514. type: string
  10515. wskhinfo:
  10516. description: 开户申请信息(JSON)
  10517. type: string
  10518. required:
  10519. - userid
  10520. type: object
  10521. models.WRSConverTDetail:
  10522. properties:
  10523. convertratio:
  10524. description: 套保系数
  10525. type: number
  10526. deliverygoodscode:
  10527. description: 现货商品代码
  10528. type: string
  10529. deliverygoodsid:
  10530. description: 现货品种ID
  10531. type: integer
  10532. deliverygoodsname:
  10533. description: 现货商品名称
  10534. type: string
  10535. enumdicname:
  10536. description: 单位名称
  10537. type: string
  10538. goodsunitid:
  10539. description: 套保品种单位id
  10540. type: integer
  10541. middlegoodscode:
  10542. description: 套保品种代码
  10543. type: string
  10544. middlegoodsid:
  10545. description: 套保品种ID
  10546. type: integer
  10547. middlegoodsname:
  10548. description: 套保品种名称
  10549. type: string
  10550. modifytime:
  10551. description: 修改时间
  10552. type: string
  10553. wrstandardid:
  10554. description: 品类ID
  10555. type: integer
  10556. type: object
  10557. models.WRStandardInfo:
  10558. properties:
  10559. areauserid:
  10560. description: 所属机构
  10561. type: integer
  10562. convertfactor:
  10563. description: 标仓系数
  10564. type: number
  10565. createtime:
  10566. description: 创建时间
  10567. type: string
  10568. creatorid:
  10569. description: 创建人
  10570. type: integer
  10571. deliverygoodsid:
  10572. description: 品种ID
  10573. type: integer
  10574. deliverygoodsname:
  10575. description: 交割商品名称
  10576. type: string
  10577. factoryitemjson:
  10578. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  10579. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  10580. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  10581. 逗号分隔'
  10582. type: string
  10583. isvalid:
  10584. description: 是否有效 - 0:无效 1:有效
  10585. type: integer
  10586. minivalue:
  10587. description: 最小变动值
  10588. type: integer
  10589. minivaluedp:
  10590. description: 最小变动值小数位
  10591. type: integer
  10592. realminivalue:
  10593. description: 实际最小变动值
  10594. type: integer
  10595. realminivaluedp:
  10596. description: 实际最小变动值小数位
  10597. type: integer
  10598. remark:
  10599. description: 备注
  10600. type: string
  10601. unitid:
  10602. description: 单位ID
  10603. type: integer
  10604. unitname:
  10605. description: 单位
  10606. type: string
  10607. updatetime:
  10608. description: 更新时间
  10609. type: string
  10610. updatorid:
  10611. description: 更新人
  10612. type: integer
  10613. wrsstatus:
  10614. description: 状态 - 作废 - 0:未激活 1:正常
  10615. type: integer
  10616. wrstandardcode:
  10617. description: 现货品类代码
  10618. type: string
  10619. wrstandardid:
  10620. description: 现货品类ID(SEQ_WRSTANDARD)
  10621. type: integer
  10622. wrstandardname:
  10623. description: 现货品类名称
  10624. type: string
  10625. required:
  10626. - wrstandardid
  10627. type: object
  10628. models.Warehouseinfo:
  10629. properties:
  10630. address:
  10631. description: 详细地址
  10632. type: string
  10633. areauserid:
  10634. description: 所属机构
  10635. type: integer
  10636. autoid:
  10637. description: 自增ID
  10638. type: integer
  10639. cityid:
  10640. description: 市
  10641. type: integer
  10642. contactname:
  10643. description: 联系人
  10644. type: string
  10645. contactnum:
  10646. description: 联系电话
  10647. type: string
  10648. countryid:
  10649. description: 国家
  10650. type: integer
  10651. createtime:
  10652. description: 创建时间
  10653. type: string
  10654. districtid:
  10655. description: 区
  10656. type: integer
  10657. hasvideo:
  10658. description: 是否有视频 - 0:无 1:有
  10659. type: integer
  10660. provinceid:
  10661. description: 省
  10662. type: integer
  10663. remark:
  10664. description: 审核备注
  10665. type: string
  10666. videourl:
  10667. description: 视频地址
  10668. type: string
  10669. warehousecode:
  10670. description: 仓库代码
  10671. type: string
  10672. warehousename:
  10673. description: 仓库名称
  10674. type: string
  10675. warehousestatus:
  10676. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  10677. type: integer
  10678. warehousetype:
  10679. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  10680. type: integer
  10681. required:
  10682. - autoid
  10683. - warehousecode
  10684. type: object
  10685. order.QueryHisTradeDetailRsp:
  10686. properties:
  10687. accountid:
  10688. description: 账户ID[报价币种]
  10689. type: integer
  10690. buildtype:
  10691. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  10692. type: integer
  10693. buyorsell:
  10694. description: 方向 - 0:买 1:卖
  10695. type: integer
  10696. charge:
  10697. description: 手续费
  10698. type: number
  10699. closecharge:
  10700. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  10701. type: number
  10702. closeexchagechargevalue:
  10703. description: 平仓交易所手续费设置值
  10704. type: number
  10705. closefeealgorithm:
  10706. description: 平仓手续费收取方式 1:比率 2:固定
  10707. type: integer
  10708. closememberchargevalue:
  10709. description: 平仓会员手续费设置值
  10710. type: number
  10711. closepl:
  10712. description: 平仓盈亏
  10713. type: number
  10714. closepl2:
  10715. description: 平仓盈亏[逐笔]
  10716. type: number
  10717. closeqty:
  10718. description: 平仓数量(先建后平操作 需要记录)
  10719. type: integer
  10720. creditamount:
  10721. description: 授信金额
  10722. type: number
  10723. gcaccountid:
  10724. description: 账户ID[合约币种]
  10725. type: integer
  10726. goodscode:
  10727. description: 商品代码
  10728. type: string
  10729. goodsid:
  10730. description: 商品ID
  10731. type: integer
  10732. goodsname:
  10733. description: 商品名称
  10734. type: string
  10735. histradedate:
  10736. description: 历史交易日
  10737. type: string
  10738. intclosepl:
  10739. description: 整型盈亏(用于交易结算试算平衡-收益权)
  10740. type: integer
  10741. isconfirmexercise:
  10742. description: 是否确认行权- 0:否 1:是
  10743. type: integer
  10744. ismain:
  10745. description: 是否主单 - 0:不是 1:是
  10746. type: integer
  10747. ispreexercise:
  10748. description: 是否预申报- 0:否 1:是
  10749. type: integer
  10750. isreckoned:
  10751. description: 是否结算 - 0:未结算 1:已结算
  10752. type: integer
  10753. isvaliddata:
  10754. description: 是否有效 - 0:无效 1:有效
  10755. type: integer
  10756. listingselecttype:
  10757. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  10758. type: integer
  10759. marketid:
  10760. description: 市场ID
  10761. type: integer
  10762. marketname:
  10763. description: 市场名称
  10764. type: string
  10765. matchaccountid:
  10766. description: 对手账号id
  10767. type: integer
  10768. memberuserid:
  10769. description: 会员id 个人投资者 需要填写
  10770. type: integer
  10771. opencharge:
  10772. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  10773. type: number
  10774. openexchagechargevalue:
  10775. description: 建仓交易所手续费设置值
  10776. type: number
  10777. openfeealgorithm:
  10778. description: 建仓手续费收取方式 1:比率 2:固定
  10779. type: integer
  10780. openmemberchargevalue:
  10781. description: 建仓会员手续费设置值
  10782. type: number
  10783. openqty:
  10784. description: 开仓数量(先建后平操作 需要记录)
  10785. type: integer
  10786. optiontype:
  10787. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  10788. type: integer
  10789. orderid:
  10790. description: 委托单号
  10791. type: string
  10792. performanceplanid:
  10793. description: 履约计划ID[期权]
  10794. type: integer
  10795. performancestatus:
  10796. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  10797. type: integer
  10798. preexerciseprice:
  10799. description: 预申报价格
  10800. type: number
  10801. premium:
  10802. description: 权利金 - [持仓单的权利金]
  10803. type: number
  10804. relatedouttradeid:
  10805. description: 关联外部成交单ID
  10806. type: integer
  10807. status:
  10808. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  10809. type: integer
  10810. tradeamount:
  10811. description: 成交金额[账户币种,用于所有权]
  10812. type: number
  10813. tradedate:
  10814. description: 交易日(yyyyMMdd)
  10815. type: string
  10816. tradeid:
  10817. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10818. type: string
  10819. trademode:
  10820. description: 交易模式
  10821. type: integer
  10822. tradeprice:
  10823. description: 成交价格
  10824. type: number
  10825. tradeproperty:
  10826. description: 交易属性
  10827. type: integer
  10828. tradeqty:
  10829. description: 成交数量
  10830. type: integer
  10831. tradetime:
  10832. description: 成交时间
  10833. type: string
  10834. tradetype:
  10835. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  10836. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  10837. type: integer
  10838. required:
  10839. - accountid
  10840. - buyorsell
  10841. - goodsid
  10842. - histradedate
  10843. - marketid
  10844. - memberuserid
  10845. - orderid
  10846. - tradeamount
  10847. - tradedate
  10848. - tradeid
  10849. - tradeprice
  10850. - tradeqty
  10851. - tradetime
  10852. type: object
  10853. order.QueryHisTradeOrderDetailRsp:
  10854. properties:
  10855. accountid:
  10856. description: 账户ID[报价币种]
  10857. type: integer
  10858. buildtype:
  10859. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  10860. type: integer
  10861. buyorsell:
  10862. description: 买卖 - 0:买 1:卖
  10863. type: integer
  10864. cancelorderid:
  10865. description: 撤单单号(撤单时填写)
  10866. type: string
  10867. cancelqty:
  10868. description: 撤单数量
  10869. type: integer
  10870. clientordertime:
  10871. description: 客户端委托时间
  10872. type: string
  10873. clientticket:
  10874. description: 客户端流水号
  10875. type: string
  10876. clienttype:
  10877. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  10878. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  10879. type: integer
  10880. closeexchagechargevalue:
  10881. description: 平仓交易所手续费设置值
  10882. type: number
  10883. closefeealgorithm:
  10884. description: 平仓手续费收取方式 1:比率 2:固定
  10885. type: integer
  10886. closefreezecharge:
  10887. description: 平仓冻结手续费(先建后平操作,需要记录)
  10888. type: number
  10889. closememberchargevalue:
  10890. description: 平仓会员手续费设置值
  10891. type: number
  10892. closeqty:
  10893. description: 平仓数量(先建后平操作 需要记录)
  10894. type: integer
  10895. closetradeqty:
  10896. description: 平仓成交数量(先建后平操作,需要记录)
  10897. type: integer
  10898. closeunfreezecharge:
  10899. description: 平仓解冻手续费(先建后平操作,需要记录)
  10900. type: number
  10901. delistingtype:
  10902. description: 摘牌类型 - 1:价格最优 2:点选成交
  10903. type: integer
  10904. freezecharge:
  10905. description: 冻结手续费
  10906. type: number
  10907. freezemargin:
  10908. description: 冻结保证金(冻结交易金额)
  10909. type: number
  10910. gcaccountid:
  10911. description: 账户ID[合约币种]
  10912. type: integer
  10913. goodscode:
  10914. description: 商品代码
  10915. type: string
  10916. goodsid:
  10917. description: 商品ID
  10918. type: integer
  10919. goodsname:
  10920. description: 商品名称
  10921. type: string
  10922. histradedate:
  10923. description: 历史交易日
  10924. type: string
  10925. isconfirmexercise:
  10926. description: 是否确认行权- 0:否 1:是
  10927. type: integer
  10928. ispreexercise:
  10929. description: 是否预申报- 0:否 1:是
  10930. type: integer
  10931. isvaliddata:
  10932. description: 是否有效 - 0:无效 1:有效
  10933. type: integer
  10934. listingselecttype:
  10935. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  10936. type: integer
  10937. marginalgorithm:
  10938. description: 保证金收取方式 1:比率 2:固定
  10939. type: integer
  10940. marginvalue:
  10941. description: 即市保证金设置值
  10942. type: number
  10943. marketid:
  10944. description: 市场ID
  10945. type: integer
  10946. marketmaxsub:
  10947. description: 市价最大偏移范围
  10948. type: number
  10949. marketname:
  10950. description: 市场名称
  10951. type: string
  10952. memberuserid:
  10953. description: 所属会员UserID
  10954. type: integer
  10955. openexchagechargevalue:
  10956. description: 建仓交易所手续费设置值
  10957. type: number
  10958. openfeealgorithm:
  10959. description: 建仓手续费收取方式 1:比率 2:固定
  10960. type: integer
  10961. openfreezecharge:
  10962. description: 开仓冻结手续费(先建后平操作,需要记录)
  10963. type: number
  10964. openmemberchargevalue:
  10965. description: 建仓会员手续费设置值
  10966. type: number
  10967. openqty:
  10968. description: 开仓数量(先建后平操作,需要记录)
  10969. type: integer
  10970. opentradeqty:
  10971. description: 开仓成交数量(先建后平操作,需要记录)
  10972. type: integer
  10973. openunfreezecharge:
  10974. description: 开仓解冻手续费(先建后平操作,需要记录)
  10975. type: number
  10976. operatetype:
  10977. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  10978. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  10979. 15:管理端协议转让
  10980. type: integer
  10981. operatorid:
  10982. description: 登录账号(LoginID)
  10983. type: integer
  10984. optiontype:
  10985. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  10986. type: integer
  10987. orderid:
  10988. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10989. type: string
  10990. orderprice:
  10991. description: 委托价格
  10992. type: number
  10993. orderqty:
  10994. description: 委托数量
  10995. type: integer
  10996. ordersrc:
  10997. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  10998. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  10999. type: integer
  11000. orderstatus:
  11001. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  11002. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  11003. 16:成交失败违约(荷兰式竞拍专用)
  11004. type: integer
  11005. ordertime:
  11006. description: 委托时间
  11007. type: string
  11008. preexerciseprice:
  11009. description: 预申报价格
  11010. type: number
  11011. premium:
  11012. description: 权利金
  11013. type: number
  11014. preorderid:
  11015. description: 关联预埋单号(止盈止损单时填写)
  11016. type: string
  11017. pricemode:
  11018. description: '取价方式 - 1:市价 2: 限价'
  11019. type: integer
  11020. quoteid:
  11021. description: 报价单ID
  11022. type: integer
  11023. relatedid:
  11024. description: 关联单号(交割单)
  11025. type: string
  11026. retcode:
  11027. description: 错误代码
  11028. type: integer
  11029. sessionid:
  11030. description: 会话ID
  11031. type: integer
  11032. tradedate:
  11033. description: 交易日(yyyyMMdd)
  11034. type: string
  11035. trademode:
  11036. description: 交易模式
  11037. type: integer
  11038. tradeproperty:
  11039. description: 交易属性
  11040. type: integer
  11041. tradeqty:
  11042. description: 成交数量
  11043. type: integer
  11044. unfreezecharge:
  11045. description: 解冻手续费
  11046. type: number
  11047. unfreezemargin:
  11048. description: 解冻保证金
  11049. type: number
  11050. updatetime:
  11051. description: 更新时间
  11052. type: string
  11053. uuid:
  11054. description: 发起端唯一id
  11055. type: string
  11056. validtime:
  11057. description: 有效期限
  11058. type: string
  11059. validtype:
  11060. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  11061. type: integer
  11062. volumetype:
  11063. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  11064. type: integer
  11065. required:
  11066. - accountid
  11067. - buildtype
  11068. - buyorsell
  11069. - goodsid
  11070. - histradedate
  11071. - marketid
  11072. - memberuserid
  11073. - operatetype
  11074. - orderid
  11075. - orderqty
  11076. - ordertime
  11077. - pricemode
  11078. - tradedate
  11079. - validtype
  11080. type: object
  11081. order.QueryTradeDetailRsp:
  11082. properties:
  11083. accountid:
  11084. description: 账户ID[报价币种]
  11085. type: integer
  11086. buildtype:
  11087. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  11088. type: integer
  11089. buyorsell:
  11090. description: 方向 - 0:买 1:卖
  11091. type: integer
  11092. charge:
  11093. description: 手续费
  11094. type: number
  11095. closecharge:
  11096. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  11097. type: number
  11098. closeexchagechargevalue:
  11099. description: 平仓交易所手续费设置值
  11100. type: number
  11101. closefeealgorithm:
  11102. description: 平仓手续费收取方式 1:比率 2:固定
  11103. type: integer
  11104. closememberchargevalue:
  11105. description: 平仓会员手续费设置值
  11106. type: number
  11107. closepl:
  11108. description: 平仓盈亏
  11109. type: number
  11110. closepl2:
  11111. description: 平仓盈亏[逐笔]
  11112. type: number
  11113. closeqty:
  11114. description: 平仓数量(先建后平操作 需要记录)
  11115. type: integer
  11116. creditamount:
  11117. description: 授信金额
  11118. type: number
  11119. gcaccountid:
  11120. description: 账户ID[合约币种]
  11121. type: integer
  11122. goodscode:
  11123. description: 商品代码
  11124. type: string
  11125. goodsid:
  11126. description: 商品ID
  11127. type: integer
  11128. goodsname:
  11129. description: 商品名称
  11130. type: string
  11131. intclosepl:
  11132. description: 整型盈亏(用于交易结算试算平衡-收益权)
  11133. type: integer
  11134. isconfirmexercise:
  11135. description: 是否确认行权- 0:否 1:是
  11136. type: integer
  11137. ismain:
  11138. description: 是否主单 - 0:不是 1:是
  11139. type: integer
  11140. ispreexercise:
  11141. description: 是否预申报- 0:否 1:是
  11142. type: integer
  11143. isreckoned:
  11144. description: 是否结算 - 0:未结算 1:已结算
  11145. type: integer
  11146. listingselecttype:
  11147. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  11148. type: integer
  11149. marketid:
  11150. description: 市场ID
  11151. type: integer
  11152. marketname:
  11153. description: 市场名称
  11154. type: string
  11155. matchaccountid:
  11156. description: 对手账号id
  11157. type: integer
  11158. memberuserid:
  11159. description: 会员id 个人投资者 需要填写
  11160. type: integer
  11161. opencharge:
  11162. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  11163. type: number
  11164. openexchagechargevalue:
  11165. description: 建仓交易所手续费设置值
  11166. type: number
  11167. openfeealgorithm:
  11168. description: 建仓手续费收取方式 1:比率 2:固定
  11169. type: integer
  11170. openmemberchargevalue:
  11171. description: 建仓会员手续费设置值
  11172. type: number
  11173. openqty:
  11174. description: 开仓数量(先建后平操作 需要记录)
  11175. type: integer
  11176. optiontype:
  11177. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  11178. type: integer
  11179. orderid:
  11180. description: 委托单号
  11181. type: string
  11182. performanceplanid:
  11183. description: 履约计划ID[期权]
  11184. type: integer
  11185. performancestatus:
  11186. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  11187. type: integer
  11188. preexerciseprice:
  11189. description: 预申报价格
  11190. type: number
  11191. premium:
  11192. description: 权利金 - [持仓单的权利金]
  11193. type: number
  11194. relatedouttradeid:
  11195. description: 关联外部成交单ID
  11196. type: integer
  11197. status:
  11198. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  11199. type: integer
  11200. tradeamount:
  11201. description: 成交金额[账户币种,用于所有权]
  11202. type: number
  11203. tradedate:
  11204. description: 交易日(yyyyMMdd)
  11205. type: string
  11206. tradeid:
  11207. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11208. type: string
  11209. trademode:
  11210. description: 交易模式
  11211. type: integer
  11212. tradeprice:
  11213. description: 成交价格
  11214. type: number
  11215. tradeproperty:
  11216. description: 交易属性
  11217. type: integer
  11218. tradeqty:
  11219. description: 成交数量
  11220. type: integer
  11221. tradetime:
  11222. description: 成交时间
  11223. type: string
  11224. tradetype:
  11225. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  11226. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  11227. type: integer
  11228. required:
  11229. - accountid
  11230. - buyorsell
  11231. - goodsid
  11232. - marketid
  11233. - memberuserid
  11234. - orderid
  11235. - tradeamount
  11236. - tradedate
  11237. - tradeid
  11238. - tradeprice
  11239. - tradeqty
  11240. - tradetime
  11241. type: object
  11242. order.QueryTradeOrderDetailRsp:
  11243. properties:
  11244. accountid:
  11245. description: 账户ID[报价币种]
  11246. type: integer
  11247. buildtype:
  11248. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  11249. type: integer
  11250. buyorsell:
  11251. description: 买卖 - 0:买 1:卖
  11252. type: integer
  11253. cancelorderid:
  11254. description: 撤单单号(撤单时填写)
  11255. type: string
  11256. cancelqty:
  11257. description: 撤单数量
  11258. type: integer
  11259. clienttype:
  11260. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  11261. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  11262. type: integer
  11263. closefreezecharge:
  11264. description: 平仓冻结手续费(先建后平操作,需要记录)
  11265. type: number
  11266. closeqty:
  11267. description: 平仓数量(先建后平操作 需要记录)
  11268. type: integer
  11269. closetradeqty:
  11270. description: 平仓成交数量(先建后平操作,需要记录)
  11271. type: integer
  11272. closeunfreezecharge:
  11273. description: 平仓解冻手续费(先建后平操作,需要记录)
  11274. type: number
  11275. delistingtype:
  11276. description: 摘牌类型 - 1:价格最优 2:点选成交
  11277. type: integer
  11278. enableqty:
  11279. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  11280. type: integer
  11281. freezecharge:
  11282. description: 冻结手续费
  11283. type: number
  11284. freezemargin:
  11285. description: 冻结保证金(冻结交易金额)
  11286. type: number
  11287. goodscode:
  11288. description: 商品代码
  11289. type: string
  11290. goodsid:
  11291. description: 商品ID
  11292. type: integer
  11293. goodsname:
  11294. description: 商品名称
  11295. type: string
  11296. listingselecttype:
  11297. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  11298. type: integer
  11299. marketid:
  11300. description: 市场ID
  11301. type: integer
  11302. marketname:
  11303. description: 市场名称
  11304. type: string
  11305. openfreezecharge:
  11306. description: 开仓冻结手续费(先建后平操作,需要记录)
  11307. type: number
  11308. openqty:
  11309. description: 开仓数量(先建后平操作,需要记录)
  11310. type: integer
  11311. opentradeqty:
  11312. description: 开仓成交数量(先建后平操作,需要记录)
  11313. type: integer
  11314. openunfreezecharge:
  11315. description: 开仓解冻手续费(先建后平操作,需要记录)
  11316. type: number
  11317. operatetype:
  11318. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  11319. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  11320. 15:管理端协议转让
  11321. type: integer
  11322. operatorid:
  11323. description: 登录账号(LoginID)
  11324. type: integer
  11325. orderid:
  11326. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11327. type: string
  11328. orderprice:
  11329. description: 委托价格
  11330. type: number
  11331. orderqty:
  11332. description: 委托数量
  11333. type: integer
  11334. ordersrc:
  11335. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  11336. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  11337. type: integer
  11338. orderstatus:
  11339. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  11340. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  11341. 16:成交失败违约(荷兰式竞拍专用)
  11342. type: integer
  11343. ordertime:
  11344. description: 委托时间
  11345. type: string
  11346. preorderid:
  11347. description: 关联预埋单号(止盈止损单时填写)
  11348. type: string
  11349. pricemode:
  11350. description: '取价方式 - 1:市价 2: 限价'
  11351. type: integer
  11352. relatedid:
  11353. description: 关联单号(交割单)
  11354. type: string
  11355. tradedate:
  11356. description: 交易日(yyyyMMdd)
  11357. type: string
  11358. trademode:
  11359. description: 交易模式
  11360. type: integer
  11361. tradeqty:
  11362. description: 成交数量
  11363. type: integer
  11364. unfreezecharge:
  11365. description: 解冻手续费
  11366. type: number
  11367. unfreezemargin:
  11368. description: 解冻保证金
  11369. type: number
  11370. validtime:
  11371. description: 有效期限
  11372. type: string
  11373. validtype:
  11374. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  11375. type: integer
  11376. volumetype:
  11377. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  11378. type: integer
  11379. required:
  11380. - accountid
  11381. - buildtype
  11382. - buyorsell
  11383. - goodsid
  11384. - marketid
  11385. - operatetype
  11386. - orderqty
  11387. - ordertime
  11388. - pricemode
  11389. - tradedate
  11390. - validtype
  11391. type: object
  11392. order.QueryTradePositionRsp:
  11393. properties:
  11394. accountid:
  11395. description: 资金账户
  11396. type: integer
  11397. agreeunit:
  11398. description: 合约单位
  11399. type: number
  11400. averageprice:
  11401. description: 持仓均价
  11402. type: number
  11403. buyorsell:
  11404. description: 方向 - 0:买 1:卖
  11405. type: integer
  11406. closetotalqty:
  11407. description: 平仓总数量
  11408. type: integer
  11409. curholderamount:
  11410. description: 当前持仓总金额[商品币种]
  11411. type: number
  11412. curpositionqty:
  11413. description: 当前持仓总数量
  11414. type: integer
  11415. currencyid:
  11416. description: 报价货币ID
  11417. type: integer
  11418. curtdposition:
  11419. description: 期末今日头寸
  11420. type: integer
  11421. decimalplace:
  11422. description: 报价小数位
  11423. type: integer
  11424. enableqty:
  11425. description: 可用量
  11426. type: integer
  11427. fretdposition:
  11428. description: 冻结今日头寸
  11429. type: integer
  11430. frozenqty:
  11431. description: 持仓冻结数量
  11432. type: integer
  11433. goodscode:
  11434. description: 商品代码
  11435. type: string
  11436. goodsid:
  11437. description: 商品Id
  11438. type: integer
  11439. goodsname:
  11440. description: 商品名称
  11441. type: string
  11442. goodunit:
  11443. description: 报价单位
  11444. type: string
  11445. goodunitid:
  11446. description: 报价单位ID
  11447. type: integer
  11448. holderamount:
  11449. description: 期初持仓总金额[商品币种]
  11450. type: number
  11451. marketid:
  11452. description: 所属市场ID
  11453. type: integer
  11454. openreqqty:
  11455. description: 开仓申请数量(用于比较最大持仓数量)
  11456. type: integer
  11457. opentotalqty:
  11458. description: 开仓总数量
  11459. type: integer
  11460. otherfrozenqty:
  11461. description: 持仓其他冻结数量(交割冻结)
  11462. type: integer
  11463. positionqty:
  11464. description: 期初持仓数量
  11465. type: integer
  11466. tnqty:
  11467. description: T+N冻结总量
  11468. type: integer
  11469. tnusedqty:
  11470. description: T+N使用量(可以使用T+N的冻结数量)
  11471. type: integer
  11472. trademode:
  11473. description: 交易模式
  11474. type: integer
  11475. usedmargin:
  11476. description: 占用保证金[商品币种]
  11477. type: number
  11478. required:
  11479. - goodsid
  11480. type: object
  11481. quote.HistoryData:
  11482. properties:
  11483. c:
  11484. description: 收盘价
  11485. type: number
  11486. f:
  11487. description: 是否补充数据
  11488. type: boolean
  11489. h:
  11490. description: 最高价
  11491. type: number
  11492. hv:
  11493. description: 持仓量
  11494. type: integer
  11495. l:
  11496. description: 最低价
  11497. type: number
  11498. o:
  11499. description: 开盘价
  11500. type: number
  11501. s:
  11502. description: 结算价,日线周期(包括)以上才有
  11503. type: number
  11504. ts:
  11505. description: 时间
  11506. type: string
  11507. tt:
  11508. description: 总金额
  11509. type: number
  11510. tv:
  11511. description: 总量
  11512. type: integer
  11513. type: object
  11514. quote.HistoryTikData:
  11515. properties:
  11516. AV:
  11517. description: 卖量
  11518. type: integer
  11519. Ask:
  11520. description: 卖价
  11521. type: number
  11522. BV:
  11523. description: 买量
  11524. type: integer
  11525. Bid:
  11526. description: 买价
  11527. type: number
  11528. HI:
  11529. description: 单笔持仓
  11530. type: integer
  11531. HV:
  11532. description: 持仓量
  11533. type: integer
  11534. PE:
  11535. description: 现价
  11536. type: number
  11537. TDR:
  11538. description: 交易方向,0:买 1:卖
  11539. type: integer
  11540. TK:
  11541. description: 交易类型
  11542. type: integer
  11543. TS:
  11544. description: 行情时间文本
  11545. type: string
  11546. TT:
  11547. description: 现金额
  11548. type: number
  11549. Vol:
  11550. description: 现量
  11551. type: integer
  11552. type: object
  11553. quote.QueryQuoteDayRsp:
  11554. properties:
  11555. ask:
  11556. description: 卖1
  11557. type: number
  11558. ask2:
  11559. description: 卖2
  11560. type: number
  11561. ask3:
  11562. description: 卖3
  11563. type: number
  11564. ask4:
  11565. description: 卖4
  11566. type: number
  11567. ask5:
  11568. description: 卖5
  11569. type: number
  11570. ask6:
  11571. description: 卖6
  11572. type: number
  11573. ask7:
  11574. description: 卖7
  11575. type: number
  11576. ask8:
  11577. description: 卖8
  11578. type: number
  11579. ask9:
  11580. description: 卖9
  11581. type: number
  11582. ask10:
  11583. description: 卖10
  11584. type: number
  11585. askorderid:
  11586. description: 卖单号1
  11587. type: integer
  11588. askorderid2:
  11589. description: 卖单号2
  11590. type: integer
  11591. askorderid3:
  11592. description: 卖单号3
  11593. type: integer
  11594. askorderid4:
  11595. description: 卖单号4
  11596. type: integer
  11597. askorderid5:
  11598. description: 卖单号5
  11599. type: integer
  11600. askordervolume:
  11601. description: 卖单量1
  11602. type: integer
  11603. askordervolume2:
  11604. description: 卖单量2
  11605. type: integer
  11606. askordervolume3:
  11607. description: 卖单量3
  11608. type: integer
  11609. askordervolume4:
  11610. description: 卖单量4
  11611. type: integer
  11612. askordervolume5:
  11613. description: 卖单量5
  11614. type: integer
  11615. askordervolume6:
  11616. description: 卖单量6
  11617. type: integer
  11618. askordervolume7:
  11619. description: 卖单量7
  11620. type: integer
  11621. askordervolume8:
  11622. description: 卖单量8
  11623. type: integer
  11624. askordervolume9:
  11625. description: 卖单量9
  11626. type: integer
  11627. askordervolume10:
  11628. description: 卖单量10
  11629. type: integer
  11630. askqueueinfo:
  11631. description: 大利市卖港股用
  11632. type: string
  11633. askvolume:
  11634. description: 卖量1
  11635. type: integer
  11636. askvolume2:
  11637. description: 卖量2
  11638. type: integer
  11639. askvolume3:
  11640. description: 卖量3
  11641. type: integer
  11642. askvolume4:
  11643. description: 卖量4
  11644. type: integer
  11645. askvolume5:
  11646. description: 卖量5
  11647. type: integer
  11648. askvolume6:
  11649. description: 卖量6
  11650. type: integer
  11651. askvolume7:
  11652. description: 卖量7
  11653. type: integer
  11654. askvolume8:
  11655. description: 卖量8
  11656. type: integer
  11657. askvolume9:
  11658. description: 卖量9
  11659. type: integer
  11660. askvolume10:
  11661. description: 卖量10
  11662. type: integer
  11663. averageprice:
  11664. description: 均价
  11665. type: number
  11666. bid:
  11667. description: 买1
  11668. type: number
  11669. bid2:
  11670. description: 买2
  11671. type: number
  11672. bid3:
  11673. description: 买3
  11674. type: number
  11675. bid4:
  11676. description: 买4
  11677. type: number
  11678. bid5:
  11679. description: 买5
  11680. type: number
  11681. bid6:
  11682. description: 买6
  11683. type: number
  11684. bid7:
  11685. description: 买7
  11686. type: number
  11687. bid8:
  11688. description: 买8
  11689. type: number
  11690. bid9:
  11691. description: 买9
  11692. type: number
  11693. bid10:
  11694. description: 买10
  11695. type: number
  11696. bidorderid:
  11697. description: 买单号1
  11698. type: integer
  11699. bidorderid2:
  11700. description: 买单号2
  11701. type: integer
  11702. bidorderid3:
  11703. description: 买单号3
  11704. type: integer
  11705. bidorderid4:
  11706. description: 买单号4
  11707. type: integer
  11708. bidorderid5:
  11709. description: 买单号5
  11710. type: integer
  11711. bidordervolume:
  11712. description: 买单量1
  11713. type: integer
  11714. bidordervolume2:
  11715. description: 买单量2
  11716. type: integer
  11717. bidordervolume3:
  11718. description: 买单量3
  11719. type: integer
  11720. bidordervolume4:
  11721. description: 买单量4
  11722. type: integer
  11723. bidordervolume5:
  11724. description: 买单量5
  11725. type: integer
  11726. bidordervolume6:
  11727. description: 买单量6
  11728. type: integer
  11729. bidordervolume7:
  11730. description: 买单量7
  11731. type: integer
  11732. bidordervolume8:
  11733. description: 买单量8
  11734. type: integer
  11735. bidordervolume9:
  11736. description: 买单量9
  11737. type: integer
  11738. bidordervolume10:
  11739. description: 买单量10
  11740. type: integer
  11741. bidqueueinfo:
  11742. description: 大利市买港股用
  11743. type: string
  11744. bidvolume:
  11745. description: 买量1
  11746. type: integer
  11747. bidvolume2:
  11748. description: 买量2
  11749. type: integer
  11750. bidvolume3:
  11751. description: 买量3
  11752. type: integer
  11753. bidvolume4:
  11754. description: 买量4
  11755. type: integer
  11756. bidvolume5:
  11757. description: 买量5
  11758. type: integer
  11759. bidvolume6:
  11760. description: 买量6
  11761. type: integer
  11762. bidvolume7:
  11763. description: 买量7
  11764. type: integer
  11765. bidvolume8:
  11766. description: 买量8
  11767. type: integer
  11768. bidvolume9:
  11769. description: 买量9
  11770. type: integer
  11771. bidvolume10:
  11772. description: 买量10
  11773. type: integer
  11774. calloptionpremiums:
  11775. description: 认购期权1
  11776. type: integer
  11777. calloptionpremiums2:
  11778. description: 认购期权2
  11779. type: integer
  11780. calloptionpremiums3:
  11781. description: 认购期权3
  11782. type: integer
  11783. calloptionpremiums4:
  11784. description: 认购期权4
  11785. type: integer
  11786. calloptionpremiums5:
  11787. description: 认购期权5
  11788. type: integer
  11789. cleartime:
  11790. description: 清盘时间
  11791. type: integer
  11792. exchangecode:
  11793. description: 交易所代码
  11794. type: integer
  11795. exchangedate:
  11796. description: 交易日
  11797. type: integer
  11798. goodscode:
  11799. description: 商品代码
  11800. type: string
  11801. grepmarketprice:
  11802. description: 暗盘价 港股专用
  11803. type: number
  11804. highest:
  11805. description: 最高价
  11806. type: number
  11807. holdincrement:
  11808. description: 单笔持仓
  11809. type: integer
  11810. holdvolume:
  11811. description: 持仓
  11812. type: integer
  11813. iep:
  11814. description: 平衡价 港股专用
  11815. type: number
  11816. iev:
  11817. description: 平衡量 港股专用
  11818. type: number
  11819. inventory:
  11820. description: 库存
  11821. type: integer
  11822. iscleared:
  11823. description: 是否清盘标志
  11824. type: integer
  11825. issettled:
  11826. description: 是否结算标志
  11827. type: integer
  11828. last:
  11829. description: 最新价
  11830. type: number
  11831. lastlot:
  11832. description: 最新成交手数
  11833. type: integer
  11834. lasttime:
  11835. description: 行情时间(只有现价变化行情时间才变化)
  11836. type: string
  11837. lastturnover:
  11838. description: 最新成交金额
  11839. type: number
  11840. lastvolume:
  11841. description: 最新成交量
  11842. type: integer
  11843. limitdown:
  11844. description: 跌停价
  11845. type: number
  11846. limitup:
  11847. description: 涨停价
  11848. type: number
  11849. lowest:
  11850. description: 最低价
  11851. type: number
  11852. nontotalholdervolume:
  11853. description: 非交易持仓量
  11854. type: integer
  11855. nontotallot:
  11856. description: 非交易总手数
  11857. type: integer
  11858. nontotalturnover:
  11859. description: 非交易总金额
  11860. type: integer
  11861. nontotalvolume:
  11862. description: 非交易总量
  11863. type: integer
  11864. opened:
  11865. description: 开盘价
  11866. type: number
  11867. opentime:
  11868. description: 开盘时间
  11869. type: string
  11870. orderid:
  11871. description: 序号
  11872. type: integer
  11873. preclose:
  11874. description: 昨收
  11875. type: number
  11876. preholdvolume:
  11877. description: 昨持仓
  11878. type: integer
  11879. presettle:
  11880. description: 昨结价
  11881. type: number
  11882. publictradetype:
  11883. description: 公共交易标志类型 港股专用
  11884. type: string
  11885. putoptionpremiums:
  11886. description: 认沽期权1
  11887. type: integer
  11888. putoptionpremiums2:
  11889. description: 认沽期权2
  11890. type: integer
  11891. putoptionpremiums3:
  11892. description: 认沽期权3
  11893. type: integer
  11894. putoptionpremiums4:
  11895. description: 认沽期权4
  11896. type: integer
  11897. putoptionpremiums5:
  11898. description: 认沽期权5
  11899. type: integer
  11900. settle:
  11901. description: 结算价
  11902. type: number
  11903. strikeprice:
  11904. description: 发行价
  11905. type: number
  11906. totalaskvolume:
  11907. description: 内盘
  11908. type: integer
  11909. totalbidvolume:
  11910. description: 外盘
  11911. type: integer
  11912. totallot:
  11913. description: 总手数
  11914. type: integer
  11915. totalturnover:
  11916. description: 总金额
  11917. type: number
  11918. totalvolume:
  11919. description: 总量
  11920. type: integer
  11921. utclasttime:
  11922. description: utc的行情时间
  11923. type: string
  11924. type: object
  11925. quote.QueryTSDataRsp:
  11926. properties:
  11927. Count:
  11928. description: 交易日应有数据个数
  11929. type: integer
  11930. decimalPlace:
  11931. description: 小数位
  11932. type: integer
  11933. endTime:
  11934. description: 结束时间
  11935. type: string
  11936. goodsCode:
  11937. description: 商品代码
  11938. type: string
  11939. historyDatas:
  11940. description: 历史数据
  11941. items:
  11942. $ref: '#/definitions/quote.HistoryData'
  11943. type: array
  11944. outGoodsCode:
  11945. description: 外部商品代码
  11946. type: string
  11947. preSettle:
  11948. description: 昨结价
  11949. type: number
  11950. runSteps:
  11951. description: 交易日开休市计划
  11952. items:
  11953. $ref: '#/definitions/quote.TSDataRunStep'
  11954. type: array
  11955. startTime:
  11956. description: 开始时间
  11957. type: string
  11958. tradeDate:
  11959. description: 交易日
  11960. type: string
  11961. type: object
  11962. quote.TSDataRunStep:
  11963. properties:
  11964. end:
  11965. description: 真实结束时间
  11966. type: string
  11967. endflag:
  11968. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  11969. type: integer
  11970. endtime:
  11971. description: 结束时间(HH:mm)
  11972. type: string
  11973. endweekday:
  11974. description: 结束周几
  11975. type: integer
  11976. groupid:
  11977. description: 分组ID
  11978. type: integer
  11979. runstep:
  11980. description: 运行阶段 - 2:连续交易
  11981. type: integer
  11982. sectionid:
  11983. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  11984. 结束时间=结算时间 结束周几=结算周几
  11985. type: integer
  11986. start:
  11987. description: 真实开始时间
  11988. type: string
  11989. startflag:
  11990. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  11991. type: integer
  11992. starttime:
  11993. description: 起始时间(HH:mm)
  11994. type: string
  11995. startweekday:
  11996. description: 起始周几
  11997. type: integer
  11998. tradeweekday:
  11999. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  12000. type: integer
  12001. type: object
  12002. szdz.QueryConvertLogRsp:
  12003. properties:
  12004. accountid:
  12005. description: 资金账户ID
  12006. type: integer
  12007. clientticket:
  12008. description: 客户端流水号
  12009. type: string
  12010. converttype:
  12011. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  12012. type: integer
  12013. createtime:
  12014. description: 记账时间
  12015. type: string
  12016. daymaxvalue:
  12017. description: 配置当日最大转入限制
  12018. type: number
  12019. daymaxvalue2:
  12020. description: 配置当日最大转入限制(转入)
  12021. type: number
  12022. goodscode:
  12023. description: 商品代码
  12024. type: string
  12025. goodsname:
  12026. description: 商品名称
  12027. type: string
  12028. handlestatus:
  12029. description: 处理状态
  12030. type: integer
  12031. innergoodsid:
  12032. description: 内部商品ID
  12033. type: integer
  12034. inratio:
  12035. description: 配置转入比值
  12036. type: integer
  12037. invalue:
  12038. description: 目标值
  12039. type: number
  12040. logid:
  12041. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12042. type: integer
  12043. mobile:
  12044. description: 手机号码(加密存储)
  12045. type: string
  12046. outergoodscode:
  12047. description: 外部商品代码[JD\PD]
  12048. type: string
  12049. outratio:
  12050. description: 配置转出比值
  12051. type: integer
  12052. outvalue:
  12053. description: 源值
  12054. type: number
  12055. pddecimalplace:
  12056. description: PD小数位
  12057. type: integer
  12058. qty:
  12059. description: 数量
  12060. type: string
  12061. remark:
  12062. description: 备注
  12063. type: string
  12064. sessionid:
  12065. description: 会话ID
  12066. type: integer
  12067. timemaxvalue:
  12068. description: 配置单次最大转入限制
  12069. type: number
  12070. timemaxvalue2:
  12071. description: 配置单次最大转入限制(转入)
  12072. type: number
  12073. timeminvalue:
  12074. description: 配置单次最小数量限制
  12075. type: number
  12076. timeminvalue2:
  12077. description: 配置单次最小数量限制(转入)
  12078. type: number
  12079. tradedate:
  12080. description: 交易日(yyyyMMdd)
  12081. type: string
  12082. userid:
  12083. description: 用户ID
  12084. type: integer
  12085. required:
  12086. - logid
  12087. type: object
  12088. szdz.QueryGoodsPickupRsp:
  12089. properties:
  12090. accountid:
  12091. description: 账户ID
  12092. type: integer
  12093. address:
  12094. description: 提货人详细地址
  12095. type: string
  12096. auditer:
  12097. description: 审核人
  12098. type: integer
  12099. audittime:
  12100. description: 审核时间
  12101. type: string
  12102. cardnum:
  12103. description: 提货人证件号码
  12104. type: string
  12105. cardtypeid:
  12106. description: 提货人证件类型
  12107. type: integer
  12108. checkremark:
  12109. description: 审核备注
  12110. type: string
  12111. goodscode:
  12112. description: 商品代码
  12113. type: string
  12114. goodsid:
  12115. description: 商品ID
  12116. type: integer
  12117. goodsname:
  12118. description: 商品名称
  12119. type: string
  12120. handlestatus:
  12121. description: 处理状态
  12122. type: integer
  12123. marketid:
  12124. description: 市场ID
  12125. type: integer
  12126. phonenum:
  12127. description: 提货人联系方式
  12128. type: string
  12129. qty:
  12130. description: 提货数量
  12131. type: number
  12132. recivername:
  12133. description: 提货人姓名
  12134. type: string
  12135. reqtime:
  12136. description: 更新时间
  12137. type: string
  12138. takemode:
  12139. description: 提货方式 - 2:自提 3:配送
  12140. type: integer
  12141. takeorderid:
  12142. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  12143. type: string
  12144. takeorderstatus:
  12145. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  12146. type: integer
  12147. takeremark:
  12148. description: 提货备注
  12149. type: string
  12150. tradedate:
  12151. description: 交易日(yyyyMMdd)
  12152. type: string
  12153. userid:
  12154. description: 用户ID
  12155. type: integer
  12156. required:
  12157. - takeorderid
  12158. type: object
  12159. szdz.QueryRecieptOrderRsp:
  12160. properties:
  12161. accountName:
  12162. description: 所属账号名称(已脱敏)
  12163. type: string
  12164. accountid:
  12165. description: 资金账号
  12166. type: integer
  12167. buyorsell:
  12168. description: 方向 - 0:买 1:卖
  12169. type: integer
  12170. enableqty:
  12171. description: 可摘数量
  12172. type: integer
  12173. goodscode:
  12174. description: 商品代码
  12175. type: string
  12176. goodsid:
  12177. description: 商品ID
  12178. type: integer
  12179. goodsname:
  12180. description: 商品名称
  12181. type: string
  12182. orderid:
  12183. description: 委托单号
  12184. type: string
  12185. orderprice:
  12186. description: 委托价格
  12187. type: number
  12188. ordertime:
  12189. description: 委托时间
  12190. type: string
  12191. tradedate:
  12192. description: 交易日(yyyyMMdd)
  12193. type: string
  12194. required:
  12195. - ordertime
  12196. type: object
  12197. szdz.QuerySZDZTradePositionRsp:
  12198. properties:
  12199. accountid:
  12200. description: 账号Id
  12201. type: integer
  12202. agreeunit:
  12203. description: 合约单位
  12204. type: number
  12205. averageprice:
  12206. description: 持仓均价
  12207. type: number
  12208. buyorsell:
  12209. description: 方向 - 0:买 1:卖
  12210. type: integer
  12211. closetotalqty:
  12212. description: 平仓总数量
  12213. type: integer
  12214. curholderamount:
  12215. description: 当前持仓总金额
  12216. type: number
  12217. curpositionqty:
  12218. description: 当前持仓总数量
  12219. type: integer
  12220. currencyid:
  12221. description: 报价货币ID
  12222. type: integer
  12223. curtdposition:
  12224. description: 期末今日头寸
  12225. type: integer
  12226. decimalplace:
  12227. description: 报价小数位
  12228. type: integer
  12229. enableqty:
  12230. description: 可用量
  12231. type: integer
  12232. fretdposition:
  12233. description: 冻结今日头寸
  12234. type: integer
  12235. frozenqty:
  12236. description: 持仓冻结数量
  12237. type: integer
  12238. goodscode:
  12239. description: 商品代码(内部)
  12240. type: string
  12241. goodsid:
  12242. description: 商品Id
  12243. type: integer
  12244. goodsname:
  12245. description: 商品名称
  12246. type: string
  12247. goodunit:
  12248. description: 报价单位
  12249. type: string
  12250. goodunitid:
  12251. description: 报价单位ID
  12252. type: integer
  12253. holderamount:
  12254. description: 期初持仓总金额
  12255. type: number
  12256. marketid:
  12257. description: 市场ID
  12258. type: integer
  12259. openreqqty:
  12260. description: 开仓申请数量
  12261. type: integer
  12262. opentotalqty:
  12263. description: 开仓总数量
  12264. type: integer
  12265. otherfrozenqty:
  12266. description: 持仓其他冻结数量(交割冻结)
  12267. type: integer
  12268. positionqty:
  12269. description: 期初持仓数量
  12270. type: integer
  12271. szdz3freezqty:
  12272. description: 尚志大宗转换冻结总数量
  12273. type: integer
  12274. tnqty:
  12275. description: T+N冻结总量
  12276. type: integer
  12277. tnusedqty:
  12278. description: T+N使用量
  12279. type: integer
  12280. trademode:
  12281. description: 交易模式
  12282. type: integer
  12283. usedmargin:
  12284. description: 占用保证金
  12285. type: number
  12286. type: object
  12287. taaccount.QueryAmountLogRsp:
  12288. properties:
  12289. OPERATETYPENAME:
  12290. description: 资金操作类型名称
  12291. type: string
  12292. accountid:
  12293. description: 资金账户ID
  12294. type: integer
  12295. agoodscode:
  12296. description: 竞拍商品代码
  12297. type: string
  12298. agoodsname:
  12299. description: 竞拍商品名称
  12300. type: string
  12301. amount:
  12302. description: 资金金额
  12303. type: number
  12304. amountadjusttype:
  12305. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  12306. type: integer
  12307. autoid:
  12308. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  12309. type: integer
  12310. balance:
  12311. description: 期初余额
  12312. type: number
  12313. businesscode:
  12314. description: 业务编号
  12315. type: integer
  12316. createtime:
  12317. description: 发生时间
  12318. type: string
  12319. currencyid:
  12320. description: 币种ID
  12321. type: integer
  12322. currentbalance:
  12323. description: 期末余额(变动后金额)
  12324. type: number
  12325. dgoodscode:
  12326. description: 交割商品代码
  12327. type: string
  12328. dgoodsname:
  12329. description: 交割商品名称
  12330. type: string
  12331. goodscode:
  12332. description: 商品代码
  12333. type: string
  12334. goodsid:
  12335. description: 商品ID
  12336. type: integer
  12337. goodsname:
  12338. description: 商品名称
  12339. type: string
  12340. marketid:
  12341. description: 市场ID
  12342. type: integer
  12343. marketname:
  12344. description: 市场名称
  12345. type: string
  12346. moneyticket:
  12347. description: 资金流水号:银行端流水号
  12348. type: integer
  12349. operatetype:
  12350. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  12351. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  12352. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  12353. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  12354. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  12355. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  12356. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  12357. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  12358. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  12359. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  12360. type: integer
  12361. relationorderid:
  12362. description: 关联单号
  12363. type: string
  12364. remark:
  12365. description: 备注
  12366. type: string
  12367. trademode:
  12368. description: 交易模式
  12369. type: integer
  12370. required:
  12371. - accountid
  12372. - amount
  12373. - amountadjusttype
  12374. - autoid
  12375. - balance
  12376. - createtime
  12377. - currentbalance
  12378. - operatetype
  12379. type: object
  12380. taaccount.QueryHisAmountLogRsp:
  12381. properties:
  12382. OPERATETYPENAME:
  12383. description: 资金操作类型名称
  12384. type: string
  12385. accountid:
  12386. description: 资金账户ID
  12387. type: integer
  12388. agoodscode:
  12389. description: 竞拍商品代码
  12390. type: string
  12391. agoodsname:
  12392. description: 竞拍商品名称
  12393. type: string
  12394. amount:
  12395. description: 资金金额
  12396. type: number
  12397. amountadjusttype:
  12398. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  12399. type: integer
  12400. autoid:
  12401. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  12402. type: integer
  12403. balance:
  12404. description: 期初余额
  12405. type: number
  12406. businesscode:
  12407. description: 业务编号
  12408. type: integer
  12409. createtime:
  12410. description: 发生时间
  12411. type: string
  12412. currencyid:
  12413. description: 币种ID
  12414. type: integer
  12415. currentbalance:
  12416. description: 期末余额(变动后金额)
  12417. type: number
  12418. dgoodscode:
  12419. description: 交割商品代码
  12420. type: string
  12421. dgoodsname:
  12422. description: 交割商品名称
  12423. type: string
  12424. goodscode:
  12425. description: 商品代码
  12426. type: string
  12427. goodsid:
  12428. description: 商品ID
  12429. type: integer
  12430. goodsname:
  12431. description: 商品名称
  12432. type: string
  12433. histradedate:
  12434. description: 历史交易日
  12435. type: string
  12436. isvaliddata:
  12437. description: 是否有效 - 0:无效 1:有效
  12438. type: integer
  12439. marketid:
  12440. description: 市场ID
  12441. type: integer
  12442. marketname:
  12443. description: 市场名称
  12444. type: string
  12445. moneyticket:
  12446. description: 资金流水号:银行端流水号
  12447. type: integer
  12448. operatetype:
  12449. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  12450. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  12451. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  12452. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  12453. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  12454. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  12455. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  12456. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  12457. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  12458. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  12459. type: integer
  12460. relationorderid:
  12461. description: 关联单号
  12462. type: string
  12463. remark:
  12464. description: 备注
  12465. type: string
  12466. trademode:
  12467. description: 交易模式
  12468. type: integer
  12469. required:
  12470. - accountid
  12471. - amount
  12472. - amountadjusttype
  12473. - autoid
  12474. - balance
  12475. - createtime
  12476. - currentbalance
  12477. - histradedate
  12478. - operatetype
  12479. type: object
  12480. trade.QueryRecieptOrderRsp:
  12481. properties:
  12482. accountName:
  12483. description: 所属账号名称(已脱敏)
  12484. type: string
  12485. accountid:
  12486. description: 资金账号
  12487. type: integer
  12488. buyorsell:
  12489. description: 方向 - 0:买 1:卖
  12490. type: integer
  12491. enableqty:
  12492. description: 可摘数量
  12493. type: integer
  12494. goodscode:
  12495. description: 商品代码
  12496. type: string
  12497. goodsid:
  12498. description: 商品ID
  12499. type: integer
  12500. goodsname:
  12501. description: 商品名称
  12502. type: string
  12503. orderid:
  12504. description: 委托单号
  12505. type: string
  12506. orderprice:
  12507. description: 委托价格
  12508. type: number
  12509. ordertime:
  12510. description: 委托时间
  12511. type: string
  12512. tradedate:
  12513. description: 交易日(yyyyMMdd)
  12514. type: string
  12515. required:
  12516. - ordertime
  12517. type: object
  12518. user.LoginQueryRsp:
  12519. properties:
  12520. externalExchanges:
  12521. description: 外部交易所
  12522. items:
  12523. $ref: '#/definitions/models.Externalexchange'
  12524. type: array
  12525. goodsgroups:
  12526. description: 商品组
  12527. items:
  12528. $ref: '#/definitions/models.Goodsgroup'
  12529. type: array
  12530. loginAccount:
  12531. $ref: '#/definitions/models.Loginaccount'
  12532. description: 登录账号
  12533. type: object
  12534. markets:
  12535. description: 市场
  12536. items:
  12537. $ref: '#/definitions/models.Market'
  12538. type: array
  12539. systemParams:
  12540. description: 系统参数
  12541. items:
  12542. $ref: '#/definitions/models.Systemparam'
  12543. type: array
  12544. userAccount:
  12545. $ref: '#/definitions/models.Useraccount'
  12546. description: 用户账号
  12547. type: object
  12548. userInfo:
  12549. $ref: '#/definitions/models.Userinfo'
  12550. description: 用户信息
  12551. type: object
  12552. username:
  12553. description: 用户姓名
  12554. type: string
  12555. type: object
  12556. info:
  12557. contact: {}
  12558. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  12559. license: {}
  12560. termsOfService: http://muchinfo.cn
  12561. title: MTP2.0 查询服务 API
  12562. version: "1.0"
  12563. paths:
  12564. /CPTrade/QueryCPTradeMyBidInfos:
  12565. get:
  12566. parameters:
  12567. - description: 资金账户
  12568. in: query
  12569. name: accountid
  12570. required: true
  12571. type: integer
  12572. - description: 预售市场ID
  12573. in: query
  12574. name: marketid
  12575. type: integer
  12576. - description: 预售商品ID
  12577. in: query
  12578. name: goodsid
  12579. type: integer
  12580. produces:
  12581. - application/json
  12582. responses:
  12583. "200":
  12584. description: OK
  12585. schema:
  12586. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  12587. "500":
  12588. description: Internal Server Error
  12589. schema:
  12590. $ref: '#/definitions/app.Response'
  12591. security:
  12592. - ApiKeyAuth: []
  12593. summary: 查询产能预售我的出价信息
  12594. tags:
  12595. - 产能预售
  12596. /CPTrade/QueryCPTradeOrderDetail:
  12597. get:
  12598. parameters:
  12599. - description: 预售商品ID
  12600. in: query
  12601. name: goodsid
  12602. type: integer
  12603. - description: 预售市场ID
  12604. in: query
  12605. name: marketid
  12606. type: integer
  12607. - description: 预售商品ID列表 - 格式:1,2,3
  12608. in: query
  12609. name: goodsids
  12610. type: string
  12611. produces:
  12612. - application/json
  12613. responses:
  12614. "200":
  12615. description: OK
  12616. schema:
  12617. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  12618. "500":
  12619. description: Internal Server Error
  12620. schema:
  12621. $ref: '#/definitions/app.Response'
  12622. security:
  12623. - ApiKeyAuth: []
  12624. summary: 查询产能预售委托单信息
  12625. tags:
  12626. - 产能预售
  12627. /CPTrade/QueryMyCPTradeGoods:
  12628. get:
  12629. parameters:
  12630. - description: 资金账户
  12631. in: query
  12632. name: accountid
  12633. required: true
  12634. type: integer
  12635. produces:
  12636. - application/json
  12637. responses:
  12638. "200":
  12639. description: OK
  12640. schema:
  12641. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  12642. "500":
  12643. description: Internal Server Error
  12644. schema:
  12645. $ref: '#/definitions/app.Response'
  12646. security:
  12647. - ApiKeyAuth: []
  12648. summary: 查询我的预售信息
  12649. tags:
  12650. - 产能预售
  12651. /CPTrade/QueryPositionCancel:
  12652. get:
  12653. parameters:
  12654. - description: 账户ID
  12655. in: query
  12656. name: userid
  12657. required: true
  12658. type: integer
  12659. - description: 注销ID
  12660. in: query
  12661. name: cancelid
  12662. type: integer
  12663. - description: 资金账户ID
  12664. in: query
  12665. name: accountid
  12666. type: integer
  12667. produces:
  12668. - application/json
  12669. responses:
  12670. "200":
  12671. description: OK
  12672. schema:
  12673. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  12674. "500":
  12675. description: Internal Server Error
  12676. schema:
  12677. $ref: '#/definitions/app.Response'
  12678. security:
  12679. - ApiKeyAuth: []
  12680. summary: 查询远期订单注销申请信息
  12681. tags:
  12682. - 产能预售
  12683. /CPTrade/QueryPreasleApply:
  12684. get:
  12685. parameters:
  12686. - description: 账户ID
  12687. in: query
  12688. name: userid
  12689. required: true
  12690. type: integer
  12691. - description: 申请ID
  12692. in: query
  12693. name: applyid
  12694. type: integer
  12695. - description: 资金账户ID
  12696. in: query
  12697. name: accountid
  12698. type: integer
  12699. produces:
  12700. - application/json
  12701. responses:
  12702. "200":
  12703. description: OK
  12704. schema:
  12705. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  12706. "500":
  12707. description: Internal Server Error
  12708. schema:
  12709. $ref: '#/definitions/app.Response'
  12710. security:
  12711. - ApiKeyAuth: []
  12712. summary: 查询产能预售申请信息
  12713. tags:
  12714. - 产能预售
  12715. /CPTrade/QueryPresaleGoodsEx:
  12716. get:
  12717. parameters:
  12718. - description: 预售商品ID
  12719. in: query
  12720. name: goodsid
  12721. type: integer
  12722. - description: 预售市场ID
  12723. in: query
  12724. name: marketid
  12725. type: integer
  12726. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  12727. in: query
  12728. name: presalemode
  12729. type: integer
  12730. - description: 预售商品ID列表 - 格式:1,2,3
  12731. in: query
  12732. name: goodsids
  12733. type: string
  12734. - description: 预售商品代码
  12735. in: query
  12736. name: goodscode
  12737. type: string
  12738. produces:
  12739. - application/json
  12740. responses:
  12741. "200":
  12742. description: OK
  12743. schema:
  12744. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  12745. "500":
  12746. description: Internal Server Error
  12747. schema:
  12748. $ref: '#/definitions/app.Response'
  12749. security:
  12750. - ApiKeyAuth: []
  12751. summary: 查询产能预售商品扩展信息
  12752. tags:
  12753. - 产能预售
  12754. /CPTrade/QueryUserGoodsData:
  12755. get:
  12756. parameters:
  12757. - description: 资金账户ID
  12758. in: query
  12759. name: accountid
  12760. required: true
  12761. type: integer
  12762. produces:
  12763. - application/json
  12764. responses:
  12765. "200":
  12766. description: OK
  12767. schema:
  12768. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  12769. "500":
  12770. description: Internal Server Error
  12771. schema:
  12772. $ref: '#/definitions/app.Response'
  12773. security:
  12774. - ApiKeyAuth: []
  12775. summary: 查询远期订单信息
  12776. tags:
  12777. - 产能预售
  12778. /Common/GetAllEnums:
  12779. get:
  12780. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  12781. parameters:
  12782. - description: 起始自增ID
  12783. in: query
  12784. name: autoid
  12785. type: integer
  12786. produces:
  12787. - application/json
  12788. responses:
  12789. "200":
  12790. description: OK
  12791. schema:
  12792. $ref: '#/definitions/models.Enumdicitem'
  12793. "500":
  12794. description: Internal Server Error
  12795. schema:
  12796. $ref: '#/definitions/app.Response'
  12797. summary: 获取所有枚举信息
  12798. tags:
  12799. - 通用服务
  12800. /Common/GetClientMenus:
  12801. get:
  12802. parameters:
  12803. - description: 登录账号
  12804. in: query
  12805. name: loginID
  12806. required: true
  12807. type: integer
  12808. - description: 终端类型,0:PC 1:Mobile
  12809. in: query
  12810. name: clientType
  12811. type: integer
  12812. produces:
  12813. - application/json
  12814. responses:
  12815. "200":
  12816. description: OK
  12817. schema:
  12818. items:
  12819. $ref: '#/definitions/common.ClientMenu'
  12820. type: array
  12821. "500":
  12822. description: Internal Server Error
  12823. schema:
  12824. $ref: '#/definitions/app.Response'
  12825. security:
  12826. - ApiKeyAuth: []
  12827. summary: 获取交易端菜单
  12828. tags:
  12829. - 通用服务
  12830. /Common/GetDivisions:
  12831. get:
  12832. produces:
  12833. - application/json
  12834. responses:
  12835. "200":
  12836. description: OK
  12837. schema:
  12838. $ref: '#/definitions/models.Division'
  12839. "500":
  12840. description: Internal Server Error
  12841. schema:
  12842. $ref: '#/definitions/app.Response'
  12843. summary: 查询区域信息
  12844. tags:
  12845. - 通用服务
  12846. /Common/GetServerTime:
  12847. get:
  12848. produces:
  12849. - application/json
  12850. responses:
  12851. "200":
  12852. description: OK
  12853. schema:
  12854. $ref: '#/definitions/app.Response'
  12855. "500":
  12856. description: Internal Server Error
  12857. schema:
  12858. $ref: '#/definitions/app.Response'
  12859. summary: 获取服务器时间
  12860. tags:
  12861. - 通用服务
  12862. /Common/NoticeReaded:
  12863. post:
  12864. parameters:
  12865. - description: 登录账号
  12866. in: query
  12867. name: loginID
  12868. required: true
  12869. type: integer
  12870. - description: 通知公告ID
  12871. in: query
  12872. name: noticeID
  12873. required: true
  12874. type: integer
  12875. produces:
  12876. - application/json
  12877. responses:
  12878. "200":
  12879. description: OK
  12880. schema:
  12881. $ref: '#/definitions/app.Response'
  12882. "500":
  12883. description: Internal Server Error
  12884. schema:
  12885. $ref: '#/definitions/app.Response'
  12886. security:
  12887. - ApiKeyAuth: []
  12888. summary: 通知公告设置已读请求
  12889. tags:
  12890. - 通用服务
  12891. /Common/QueryErrorInfos:
  12892. get:
  12893. description: 如果传入rowNumber,则返回此rowNumber后的数据
  12894. parameters:
  12895. - description: 起始行号前索引
  12896. in: query
  12897. name: rowNumber
  12898. type: string
  12899. produces:
  12900. - application/json
  12901. responses:
  12902. "200":
  12903. description: OK
  12904. schema:
  12905. $ref: '#/definitions/models.QueryErrorInfosRsp'
  12906. "500":
  12907. description: Internal Server Error
  12908. schema:
  12909. $ref: '#/definitions/app.Response'
  12910. summary: 获取数据库错误信息
  12911. tags:
  12912. - 通用服务
  12913. /Common/QueryImageConfigs:
  12914. get:
  12915. parameters:
  12916. - description: 类型 - 1:App首页轮播 2:我的
  12917. in: query
  12918. name: imageType
  12919. type: integer
  12920. produces:
  12921. - application/json
  12922. responses:
  12923. "200":
  12924. description: OK
  12925. schema:
  12926. $ref: '#/definitions/common.QueryImageConfigsRsp'
  12927. "500":
  12928. description: Internal Server Error
  12929. schema:
  12930. $ref: '#/definitions/app.Response'
  12931. summary: 查询轮播图配置信息
  12932. tags:
  12933. - 通用服务
  12934. /Common/QueryNotice:
  12935. get:
  12936. parameters:
  12937. - description: 页码
  12938. in: query
  12939. name: page
  12940. type: integer
  12941. - description: 每页条数
  12942. in: query
  12943. name: pagesize
  12944. type: integer
  12945. - description: 登录账号
  12946. in: query
  12947. name: loginID
  12948. required: true
  12949. type: integer
  12950. - description: 消息类型 - 1:公告通知 2:系统消息
  12951. in: query
  12952. name: msgType
  12953. type: integer
  12954. - description: 是否只获取未读信息
  12955. in: query
  12956. name: onlyUnRead
  12957. type: boolean
  12958. - description: 自增ID,传入后会返回这个ID后面的记录
  12959. in: query
  12960. name: lastID
  12961. type: integer
  12962. produces:
  12963. - application/json
  12964. responses:
  12965. "200":
  12966. description: OK
  12967. schema:
  12968. $ref: '#/definitions/common.QueryNoticeRsp'
  12969. "500":
  12970. description: Internal Server Error
  12971. schema:
  12972. $ref: '#/definitions/app.Response'
  12973. security:
  12974. - ApiKeyAuth: []
  12975. summary: 通知公告系统消息查询
  12976. tags:
  12977. - 通用服务
  12978. /Common/QueryProvincesAndCities:
  12979. get:
  12980. parameters:
  12981. - description: 省ID
  12982. in: query
  12983. name: provinceID
  12984. type: integer
  12985. produces:
  12986. - application/json
  12987. responses:
  12988. "200":
  12989. description: OK
  12990. schema:
  12991. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  12992. "500":
  12993. description: Internal Server Error
  12994. schema:
  12995. $ref: '#/definitions/app.Response'
  12996. summary: 查询省市信息(不包括区)
  12997. tags:
  12998. - 通用服务
  12999. /Common/QueryTableDefine:
  13000. get:
  13001. parameters:
  13002. - description: 表key
  13003. in: query
  13004. name: tableKey
  13005. type: string
  13006. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  13007. in: query
  13008. name: tableType
  13009. type: integer
  13010. produces:
  13011. - application/json
  13012. responses:
  13013. "200":
  13014. description: OK
  13015. schema:
  13016. $ref: '#/definitions/common.QueryTableDefineRsp'
  13017. "500":
  13018. description: Internal Server Error
  13019. schema:
  13020. $ref: '#/definitions/app.Response'
  13021. summary: 查询交易端列表头信息
  13022. tags:
  13023. - 通用服务
  13024. /Common/QueryTraderMenu:
  13025. get:
  13026. parameters:
  13027. - description: 登录账号
  13028. in: query
  13029. name: loginid
  13030. required: true
  13031. type: integer
  13032. produces:
  13033. - application/json
  13034. responses:
  13035. "200":
  13036. description: OK
  13037. schema:
  13038. $ref: '#/definitions/common.QueryTraderMenuRsp'
  13039. "500":
  13040. description: Internal Server Error
  13041. schema:
  13042. $ref: '#/definitions/app.Response'
  13043. summary: 查询交易端菜单
  13044. tags:
  13045. - 通用服务
  13046. /Delivery/QueryDeliveryRelation:
  13047. get:
  13048. parameters:
  13049. - description: 商品ID
  13050. in: query
  13051. name: goodsid
  13052. type: integer
  13053. - description: 品种ID
  13054. in: query
  13055. name: deliverygoodsid
  13056. type: integer
  13057. - description: 市场ID
  13058. in: query
  13059. name: marketid
  13060. type: integer
  13061. produces:
  13062. - application/json
  13063. responses:
  13064. "200":
  13065. description: OK
  13066. schema:
  13067. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  13068. "500":
  13069. description: Internal Server Error
  13070. schema:
  13071. $ref: '#/definitions/app.Response'
  13072. security:
  13073. - ApiKeyAuth: []
  13074. summary: 查询商品交割关系表
  13075. tags:
  13076. - 交割服务
  13077. /Ermcp/GetErmcpGoods:
  13078. get:
  13079. parameters:
  13080. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  13081. in: query
  13082. name: lastUpdateTime
  13083. type: string
  13084. produces:
  13085. - application/json
  13086. responses:
  13087. "200":
  13088. description: OK
  13089. schema:
  13090. $ref: '#/definitions/models.Goods'
  13091. "500":
  13092. description: Internal Server Error
  13093. schema:
  13094. $ref: '#/definitions/app.Response'
  13095. security:
  13096. - ApiKeyAuth: []
  13097. summary: 查询企业风管期货商品信息
  13098. tags:
  13099. - 企业风险管理(app)
  13100. /Ermcp/GetErmcpGoodsSortByPosition:
  13101. get:
  13102. parameters:
  13103. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  13104. in: query
  13105. name: sortIndex
  13106. type: string
  13107. produces:
  13108. - application/json
  13109. responses:
  13110. "200":
  13111. description: OK
  13112. schema:
  13113. $ref: '#/definitions/models.Goodssortbypreposition'
  13114. "500":
  13115. description: Internal Server Error
  13116. schema:
  13117. $ref: '#/definitions/app.Response'
  13118. security:
  13119. - ApiKeyAuth: []
  13120. summary: 查询企业风管期货主力、次主力商品信息
  13121. tags:
  13122. - 企业风险管理(app)
  13123. /Ermcp/GetErmcpOutAccountStatus:
  13124. get:
  13125. parameters:
  13126. - description: 登录账号
  13127. in: query
  13128. name: loginID
  13129. required: true
  13130. type: integer
  13131. produces:
  13132. - application/json
  13133. responses:
  13134. "200":
  13135. description: OK
  13136. schema:
  13137. $ref: '#/definitions/models.Hedgemarketopenlog'
  13138. "500":
  13139. description: Internal Server Error
  13140. schema:
  13141. $ref: '#/definitions/app.Response'
  13142. security:
  13143. - ApiKeyAuth: []
  13144. summary: 获取目标登录账号当前对冲账号在线状态
  13145. tags:
  13146. - 企业风险管理(app)
  13147. /Ermcp/GetErmcpRoleFuncMenuLists:
  13148. get:
  13149. parameters:
  13150. - description: 登录账号
  13151. in: query
  13152. name: loginID
  13153. required: true
  13154. type: integer
  13155. produces:
  13156. - application/json
  13157. responses:
  13158. "200":
  13159. description: OK
  13160. schema:
  13161. $ref: '#/definitions/models.Funcmenulist'
  13162. "500":
  13163. description: Internal Server Error
  13164. schema:
  13165. $ref: '#/definitions/app.Response'
  13166. security:
  13167. - ApiKeyAuth: []
  13168. summary: 获取企业风管终端权限
  13169. tags:
  13170. - 企业风险管理(app)
  13171. /Ermcp/QryReportAreaSpotPL:
  13172. get:
  13173. parameters:
  13174. - description: 用户ID
  13175. in: query
  13176. name: userid
  13177. required: true
  13178. type: integer
  13179. - description: 查询类型 1-日报表 2-月报表
  13180. in: query
  13181. name: querytype
  13182. required: true
  13183. type: integer
  13184. - description: 查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)
  13185. in: query
  13186. name: querydate
  13187. required: true
  13188. type: string
  13189. - description: 现货商品ID
  13190. in: query
  13191. name: wrstandardid
  13192. type: integer
  13193. - description: 品牌ID
  13194. in: query
  13195. name: spotgoodsbrandid
  13196. type: integer
  13197. - description: 型号ID
  13198. in: query
  13199. name: spotgoodsmodelid
  13200. type: integer
  13201. produces:
  13202. - application/json
  13203. responses:
  13204. "200":
  13205. description: OK
  13206. schema:
  13207. items:
  13208. $ref: '#/definitions/models.ErmcpReportAreaSpotPL'
  13209. type: array
  13210. "500":
  13211. description: Internal Server Error
  13212. schema:
  13213. $ref: '#/definitions/app.Response'
  13214. security:
  13215. - ApiKeyAuth: []
  13216. summary: 查询现货损益报表(现货损益报表)
  13217. tags:
  13218. - 企业风险管理(app)
  13219. /Ermcp/QryReportDayExposure:
  13220. get:
  13221. parameters:
  13222. - description: 用户ID
  13223. in: query
  13224. name: userid
  13225. required: true
  13226. type: integer
  13227. - description: 交易日(格式:yyyyMMdd)
  13228. in: query
  13229. name: tradedate
  13230. required: true
  13231. type: string
  13232. produces:
  13233. - application/json
  13234. responses:
  13235. "200":
  13236. description: OK
  13237. schema:
  13238. items:
  13239. $ref: '#/definitions/ermcp.QryReportExposureDayRsp'
  13240. type: array
  13241. "500":
  13242. description: Internal Server Error
  13243. schema:
  13244. $ref: '#/definitions/app.Response'
  13245. security:
  13246. - ApiKeyAuth: []
  13247. summary: 查询敞口日报表(菜单:报表查询/敞口报表/敞口日报表)
  13248. tags:
  13249. - 企业风险管理(app)
  13250. /Ermcp/QryReportDayFinance:
  13251. get:
  13252. parameters:
  13253. - description: 用户ID
  13254. in: query
  13255. name: userid
  13256. required: true
  13257. type: integer
  13258. - description: 交易日(格式:yyyyMMdd)
  13259. in: query
  13260. name: tradedate
  13261. required: true
  13262. type: string
  13263. produces:
  13264. - application/json
  13265. responses:
  13266. "200":
  13267. description: OK
  13268. schema:
  13269. items:
  13270. $ref: '#/definitions/ermcp.QryReportFinanceDayRsp'
  13271. type: array
  13272. "500":
  13273. description: Internal Server Error
  13274. schema:
  13275. $ref: '#/definitions/app.Response'
  13276. security:
  13277. - ApiKeyAuth: []
  13278. summary: 查询财务日报表(菜单:报表查询/财务报表/日报表)
  13279. tags:
  13280. - 企业风险管理(app)
  13281. /Ermcp/QryReportDayFinanceFp:
  13282. get:
  13283. parameters:
  13284. - description: 用户ID
  13285. in: query
  13286. name: userid
  13287. required: true
  13288. type: integer
  13289. - description: 交易日(格式:yyyyMMdd)
  13290. in: query
  13291. name: tradedate
  13292. required: true
  13293. type: string
  13294. produces:
  13295. - application/json
  13296. responses:
  13297. "200":
  13298. description: OK
  13299. schema:
  13300. items:
  13301. $ref: '#/definitions/ermcp.QryReportFinanceKxRsp'
  13302. type: array
  13303. "500":
  13304. description: Internal Server Error
  13305. schema:
  13306. $ref: '#/definitions/app.Response'
  13307. security:
  13308. - ApiKeyAuth: []
  13309. summary: 查询财务日报表发票(菜单:报表查询/财务报表/日报表/发票)
  13310. tags:
  13311. - 企业风险管理(app)
  13312. /Ermcp/QryReportDayFinanceKx:
  13313. get:
  13314. parameters:
  13315. - description: 用户ID
  13316. in: query
  13317. name: userid
  13318. required: true
  13319. type: integer
  13320. - description: 交易日(格式:yyyyMMdd)
  13321. in: query
  13322. name: tradedate
  13323. required: true
  13324. type: string
  13325. produces:
  13326. - application/json
  13327. responses:
  13328. "200":
  13329. description: OK
  13330. schema:
  13331. items:
  13332. $ref: '#/definitions/ermcp.QryReportFinanceKxRsp'
  13333. type: array
  13334. "500":
  13335. description: Internal Server Error
  13336. schema:
  13337. $ref: '#/definitions/app.Response'
  13338. security:
  13339. - ApiKeyAuth: []
  13340. summary: 查询财务日报表款项(菜单:报表查询/财务报表/日报表/款项)
  13341. tags:
  13342. - 企业风险管理(app)
  13343. /Ermcp/QryReportDaySpot:
  13344. get:
  13345. parameters:
  13346. - description: 用户ID
  13347. in: query
  13348. name: userid
  13349. required: true
  13350. type: integer
  13351. - description: 交易日(格式:yyyyMMdd)
  13352. in: query
  13353. name: tradedate
  13354. required: true
  13355. type: string
  13356. produces:
  13357. - application/json
  13358. responses:
  13359. "200":
  13360. description: OK
  13361. schema:
  13362. items:
  13363. $ref: '#/definitions/ermcp.QryReportSpotDayRsp'
  13364. type: array
  13365. "500":
  13366. description: Internal Server Error
  13367. schema:
  13368. $ref: '#/definitions/app.Response'
  13369. security:
  13370. - ApiKeyAuth: []
  13371. summary: 查询现货日报表(菜单:报表查询/现货报表/现货日报表)
  13372. tags:
  13373. - 企业风险管理(app)
  13374. /Ermcp/QryReportDaySpotDetail:
  13375. get:
  13376. parameters:
  13377. - description: 用户ID
  13378. in: query
  13379. name: userid
  13380. required: true
  13381. type: integer
  13382. - description: 现货商品id
  13383. in: query
  13384. name: wrstandardid
  13385. required: true
  13386. type: integer
  13387. - description: 交易日(格式:yyyyMMdd)
  13388. in: query
  13389. name: tradedate
  13390. required: true
  13391. type: string
  13392. produces:
  13393. - application/json
  13394. responses:
  13395. "200":
  13396. description: OK
  13397. schema:
  13398. items:
  13399. $ref: '#/definitions/ermcp.QryReportDaySpotDetailRsp'
  13400. type: array
  13401. "500":
  13402. description: Internal Server Error
  13403. schema:
  13404. $ref: '#/definitions/app.Response'
  13405. security:
  13406. - ApiKeyAuth: []
  13407. summary: 查询现货日报表详情(菜单:报表查询/现货报表/现货日报表详情)
  13408. tags:
  13409. - 企业风险管理(app)
  13410. /Ermcp/QryReportMonthFinance:
  13411. get:
  13412. parameters:
  13413. - description: 用户ID
  13414. in: query
  13415. name: userid
  13416. required: true
  13417. type: integer
  13418. - description: 周期时间:月(格式:yyyyMM)
  13419. in: query
  13420. name: cycletime
  13421. required: true
  13422. type: string
  13423. produces:
  13424. - application/json
  13425. responses:
  13426. "200":
  13427. description: OK
  13428. schema:
  13429. items:
  13430. $ref: '#/definitions/ermcp.QryReportFinanceMonRsp'
  13431. type: array
  13432. "500":
  13433. description: Internal Server Error
  13434. schema:
  13435. $ref: '#/definitions/app.Response'
  13436. security:
  13437. - ApiKeyAuth: []
  13438. summary: 查询财务月报表(菜单:报表查询/财务报表/月报表)
  13439. tags:
  13440. - 企业风险管理(app)
  13441. /Ermcp/QryReportMonthSpot:
  13442. get:
  13443. parameters:
  13444. - description: 用户ID
  13445. in: query
  13446. name: userid
  13447. required: true
  13448. type: integer
  13449. - description: 周期时间:月(格式:yyyyMM)
  13450. in: query
  13451. name: cycletime
  13452. required: true
  13453. type: string
  13454. produces:
  13455. - application/json
  13456. responses:
  13457. "200":
  13458. description: OK
  13459. schema:
  13460. items:
  13461. $ref: '#/definitions/ermcp.QryReportSpotMonRsp'
  13462. type: array
  13463. "500":
  13464. description: Internal Server Error
  13465. schema:
  13466. $ref: '#/definitions/app.Response'
  13467. security:
  13468. - ApiKeyAuth: []
  13469. summary: 查询现货月报表(菜单:报表查询/现货报表/现货月报表)
  13470. tags:
  13471. - 企业风险管理(app)
  13472. /Ermcp/QryReportMonthSpotDetail:
  13473. get:
  13474. parameters:
  13475. - description: 用户ID
  13476. in: query
  13477. name: userid
  13478. required: true
  13479. type: integer
  13480. - description: 现货商品id
  13481. in: query
  13482. name: wrstandardid
  13483. required: true
  13484. type: integer
  13485. - description: 周期时间:月(格式:yyyyMM)
  13486. in: query
  13487. name: cycletime
  13488. required: true
  13489. type: string
  13490. produces:
  13491. - application/json
  13492. responses:
  13493. "200":
  13494. description: OK
  13495. schema:
  13496. items:
  13497. $ref: '#/definitions/ermcp.QryReportSpotMonthDetailRsp'
  13498. type: array
  13499. "500":
  13500. description: Internal Server Error
  13501. schema:
  13502. $ref: '#/definitions/app.Response'
  13503. security:
  13504. - ApiKeyAuth: []
  13505. summary: 查询现货月报表详情(菜单:报表查询/现货月报表/现货月报表详情)
  13506. tags:
  13507. - 企业风险管理(app)
  13508. /Ermcp/QueryAccMgrBizGroupSet:
  13509. get:
  13510. parameters:
  13511. - description: 用户ID
  13512. in: query
  13513. name: userid
  13514. required: true
  13515. type: integer
  13516. - description: 现货商品id
  13517. in: query
  13518. name: deliverygoodsid
  13519. type: integer
  13520. produces:
  13521. - application/json
  13522. responses:
  13523. "200":
  13524. description: OK
  13525. schema:
  13526. items:
  13527. $ref: '#/definitions/models.ErmcpBizGroupEx'
  13528. type: array
  13529. "500":
  13530. description: Internal Server Error
  13531. schema:
  13532. $ref: '#/definitions/app.Response'
  13533. security:
  13534. - ApiKeyAuth: []
  13535. summary: 查询业务类型分组(账户管理/账户设置)
  13536. tags:
  13537. - 企业风险管理(app)
  13538. /Ermcp/QueryAccMgrLoginUser:
  13539. get:
  13540. parameters:
  13541. - description: 用户ID
  13542. in: query
  13543. name: userid
  13544. required: true
  13545. type: integer
  13546. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  13547. in: query
  13548. name: querytype
  13549. required: true
  13550. type: integer
  13551. produces:
  13552. - application/json
  13553. responses:
  13554. "200":
  13555. description: OK
  13556. schema:
  13557. items:
  13558. $ref: '#/definitions/models.ErmcpLoginUserEx'
  13559. type: array
  13560. "500":
  13561. description: Internal Server Error
  13562. schema:
  13563. $ref: '#/definitions/app.Response'
  13564. security:
  13565. - ApiKeyAuth: []
  13566. summary: 查询账户管理登录账号(账户管理/登录账号)
  13567. tags:
  13568. - 企业风险管理(app)
  13569. /Ermcp/QueryAccMgrMainAccountInfo:
  13570. get:
  13571. parameters:
  13572. - description: 用户ID
  13573. in: query
  13574. name: userid
  13575. type: integer
  13576. - description: 主账号id
  13577. in: query
  13578. name: accountid
  13579. type: integer
  13580. produces:
  13581. - application/json
  13582. responses:
  13583. "200":
  13584. description: OK
  13585. schema:
  13586. items:
  13587. $ref: '#/definitions/models.MainAccountInfo'
  13588. type: array
  13589. "500":
  13590. description: Internal Server Error
  13591. schema:
  13592. $ref: '#/definitions/app.Response'
  13593. security:
  13594. - ApiKeyAuth: []
  13595. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  13596. tags:
  13597. - 企业风险管理(app)
  13598. /Ermcp/QueryAccMgrRole:
  13599. get:
  13600. parameters:
  13601. - description: 用户ID
  13602. in: query
  13603. name: userid
  13604. required: true
  13605. type: integer
  13606. produces:
  13607. - application/json
  13608. responses:
  13609. "200":
  13610. description: OK
  13611. schema:
  13612. items:
  13613. $ref: '#/definitions/models.ErmcpRole'
  13614. type: array
  13615. "500":
  13616. description: Internal Server Error
  13617. schema:
  13618. $ref: '#/definitions/app.Response'
  13619. security:
  13620. - ApiKeyAuth: []
  13621. summary: 查询账户管理角色设置(账户管理/角色设置)
  13622. tags:
  13623. - 企业风险管理(app)
  13624. /Ermcp/QueryAccMgrRoleMenu:
  13625. get:
  13626. parameters:
  13627. - description: 用户ID
  13628. in: query
  13629. name: userid
  13630. required: true
  13631. type: integer
  13632. - description: 角色id(可多个,逗号隔开)
  13633. in: query
  13634. name: roleid
  13635. type: string
  13636. produces:
  13637. - application/json
  13638. responses:
  13639. "200":
  13640. description: OK
  13641. schema:
  13642. items:
  13643. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  13644. type: array
  13645. "500":
  13646. description: Internal Server Error
  13647. schema:
  13648. $ref: '#/definitions/app.Response'
  13649. security:
  13650. - ApiKeyAuth: []
  13651. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  13652. tags:
  13653. - 企业风险管理(app)
  13654. /Ermcp/QueryAccMgrTaAccountInfo:
  13655. get:
  13656. parameters:
  13657. - description: 用户ID
  13658. in: query
  13659. name: userid
  13660. required: true
  13661. type: integer
  13662. - description: 账号id
  13663. in: query
  13664. name: accountid
  13665. type: integer
  13666. produces:
  13667. - application/json
  13668. responses:
  13669. "200":
  13670. description: OK
  13671. schema:
  13672. items:
  13673. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  13674. type: array
  13675. "500":
  13676. description: Internal Server Error
  13677. schema:
  13678. $ref: '#/definitions/app.Response'
  13679. security:
  13680. - ApiKeyAuth: []
  13681. summary: 查询账户管理授信(账户管理/账户设置/授信)
  13682. tags:
  13683. - 企业风险管理(app)
  13684. /Ermcp/QueryAccMgrTaaccount:
  13685. get:
  13686. parameters:
  13687. - description: 用户ID
  13688. in: query
  13689. name: userid
  13690. required: true
  13691. type: integer
  13692. produces:
  13693. - application/json
  13694. responses:
  13695. "200":
  13696. description: OK
  13697. schema:
  13698. items:
  13699. $ref: '#/definitions/models.ErmcpTaAccountEx'
  13700. type: array
  13701. "500":
  13702. description: Internal Server Error
  13703. schema:
  13704. $ref: '#/definitions/app.Response'
  13705. security:
  13706. - ApiKeyAuth: []
  13707. summary: 查询账户管理期货账号(账户管理/期货账号)
  13708. tags:
  13709. - 企业风险管理(app)
  13710. /Ermcp/QueryAreaStock:
  13711. get:
  13712. parameters:
  13713. - description: 用户ID
  13714. in: query
  13715. name: userid
  13716. required: true
  13717. type: integer
  13718. produces:
  13719. - application/json
  13720. responses:
  13721. "200":
  13722. description: OK
  13723. schema:
  13724. items:
  13725. $ref: '#/definitions/models.ErmcpAreaStock'
  13726. type: array
  13727. "500":
  13728. description: Internal Server Error
  13729. schema:
  13730. $ref: '#/definitions/app.Response'
  13731. security:
  13732. - ApiKeyAuth: []
  13733. summary: 查询机构库存(库存管理/当前库存)
  13734. tags:
  13735. - 企业风险管理(app)
  13736. /Ermcp/QueryAreaStockApply:
  13737. get:
  13738. parameters:
  13739. - description: 用户ID
  13740. in: query
  13741. name: userid
  13742. required: true
  13743. type: integer
  13744. - description: 出入库类型(可多项,逗号隔开) 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  13745. in: query
  13746. name: inouttype
  13747. type: string
  13748. - description: 合同ID
  13749. in: query
  13750. name: spotcontractid
  13751. type: integer
  13752. - description: 现货商品ID
  13753. in: query
  13754. name: wrstandardid
  13755. type: integer
  13756. - description: 品牌ID
  13757. in: query
  13758. name: spotgoodsbrandid
  13759. type: integer
  13760. - description: 型号ID
  13761. in: query
  13762. name: spotgoodsmodelid
  13763. type: integer
  13764. - description: 仓库ID
  13765. in: query
  13766. name: warehouseinfoid
  13767. type: integer
  13768. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13769. in: query
  13770. name: applystatus
  13771. type: string
  13772. produces:
  13773. - application/json
  13774. responses:
  13775. "200":
  13776. description: OK
  13777. schema:
  13778. items:
  13779. $ref: '#/definitions/ermcp.QryAreaStockApplyRsp'
  13780. type: array
  13781. "500":
  13782. description: Internal Server Error
  13783. schema:
  13784. $ref: '#/definitions/app.Response'
  13785. security:
  13786. - ApiKeyAuth: []
  13787. summary: 查询库存申请(出入库记录|库存审核)
  13788. tags:
  13789. - 企业风险管理(app)
  13790. /Ermcp/QueryAreaStockApplySum:
  13791. get:
  13792. parameters:
  13793. - description: 合同ID
  13794. in: query
  13795. name: spotcontractid
  13796. type: integer
  13797. produces:
  13798. - application/json
  13799. responses:
  13800. "200":
  13801. description: OK
  13802. schema:
  13803. items:
  13804. $ref: '#/definitions/ermcp.QueryAreaStockApplySumRsp'
  13805. type: array
  13806. "500":
  13807. description: Internal Server Error
  13808. schema:
  13809. $ref: '#/definitions/app.Response'
  13810. security:
  13811. - ApiKeyAuth: []
  13812. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  13813. tags:
  13814. - 企业风险管理(app)
  13815. /Ermcp/QueryAreaStockReport:
  13816. get:
  13817. parameters:
  13818. - description: 用户ID
  13819. in: query
  13820. name: userid
  13821. required: true
  13822. type: integer
  13823. - description: 查询类型 1-日报表 2-月报表
  13824. in: query
  13825. name: querytype
  13826. required: true
  13827. type: integer
  13828. - description: 查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)
  13829. in: query
  13830. name: querydate
  13831. required: true
  13832. type: string
  13833. - description: 现货商品ID
  13834. in: query
  13835. name: wrstandardid
  13836. type: integer
  13837. - description: 品牌ID
  13838. in: query
  13839. name: spotgoodsbrandid
  13840. type: integer
  13841. - description: 型号ID
  13842. in: query
  13843. name: spotgoodsmodelid
  13844. type: integer
  13845. - description: 仓库ID
  13846. in: query
  13847. name: warehouseinfoid
  13848. type: integer
  13849. produces:
  13850. - application/json
  13851. responses:
  13852. "200":
  13853. description: OK
  13854. schema:
  13855. items:
  13856. $ref: '#/definitions/models.ErmcpAreaStockReport'
  13857. type: array
  13858. "500":
  13859. description: Internal Server Error
  13860. schema:
  13861. $ref: '#/definitions/app.Response'
  13862. security:
  13863. - ApiKeyAuth: []
  13864. summary: 查询库存报表
  13865. tags:
  13866. - 企业风险管理(app)
  13867. /Ermcp/QueryAreaStockReportDetail:
  13868. get:
  13869. parameters:
  13870. - description: 用户ID
  13871. in: query
  13872. name: userid
  13873. required: true
  13874. type: integer
  13875. - description: 查询类型 1-日报表明细 2-月报表明细
  13876. in: query
  13877. name: querytype
  13878. required: true
  13879. type: integer
  13880. - description: 明细类型 1:入库明细(采购入库+生产入库) 2:出库明细(销售出库+生产出库)
  13881. in: query
  13882. name: detailtype
  13883. required: true
  13884. type: integer
  13885. - description: 查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)
  13886. in: query
  13887. name: querydate
  13888. required: true
  13889. type: string
  13890. - description: 现货商品ID
  13891. in: query
  13892. name: wrstandardid
  13893. type: integer
  13894. - description: 品牌ID
  13895. in: query
  13896. name: spotgoodsbrandid
  13897. type: integer
  13898. - description: 型号ID
  13899. in: query
  13900. name: spotgoodsmodelid
  13901. type: integer
  13902. - description: 仓库ID
  13903. in: query
  13904. name: warehouseinfoid
  13905. type: integer
  13906. produces:
  13907. - application/json
  13908. responses:
  13909. "200":
  13910. description: OK
  13911. schema:
  13912. items:
  13913. $ref: '#/definitions/models.ErmcpAreaStockApply'
  13914. type: array
  13915. "500":
  13916. description: Internal Server Error
  13917. schema:
  13918. $ref: '#/definitions/app.Response'
  13919. security:
  13920. - ApiKeyAuth: []
  13921. summary: 查询库存报表明细
  13922. tags:
  13923. - 企业风险管理(app)
  13924. /Ermcp/QueryAvaildGoodsGroup:
  13925. get:
  13926. parameters:
  13927. - description: 所属机构ID
  13928. in: query
  13929. name: userid
  13930. required: true
  13931. type: integer
  13932. produces:
  13933. - application/json
  13934. responses:
  13935. "200":
  13936. description: OK
  13937. schema:
  13938. items:
  13939. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  13940. type: array
  13941. "500":
  13942. description: Internal Server Error
  13943. schema:
  13944. $ref: '#/definitions/app.Response'
  13945. security:
  13946. - ApiKeyAuth: []
  13947. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  13948. tags:
  13949. - 企业风险管理(app)
  13950. /Ermcp/QueryBusinessDj:
  13951. get:
  13952. parameters:
  13953. - description: 用户ID
  13954. in: query
  13955. name: UserId
  13956. required: true
  13957. type: integer
  13958. - description: 现货合同ID, 不填则查所有
  13959. in: query
  13960. name: relatedid
  13961. type: string
  13962. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13963. in: query
  13964. name: applystatus
  13965. type: string
  13966. produces:
  13967. - application/json
  13968. responses:
  13969. "200":
  13970. description: OK
  13971. schema:
  13972. items:
  13973. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  13974. type: array
  13975. "500":
  13976. description: Internal Server Error
  13977. schema:
  13978. $ref: '#/definitions/app.Response'
  13979. security:
  13980. - ApiKeyAuth: []
  13981. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  13982. tags:
  13983. - 企业风险管理(app)
  13984. /Ermcp/QueryBusinessFp:
  13985. get:
  13986. parameters:
  13987. - description: 用户ID
  13988. in: query
  13989. name: UserId
  13990. required: true
  13991. type: integer
  13992. - description: 现货合同ID, 不填则查所有
  13993. in: query
  13994. name: relatedid
  13995. type: string
  13996. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13997. in: query
  13998. name: applystatus
  13999. type: string
  14000. produces:
  14001. - application/json
  14002. responses:
  14003. "200":
  14004. description: OK
  14005. schema:
  14006. items:
  14007. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  14008. type: array
  14009. "500":
  14010. description: Internal Server Error
  14011. schema:
  14012. $ref: '#/definitions/app.Response'
  14013. security:
  14014. - ApiKeyAuth: []
  14015. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  14016. tags:
  14017. - 企业风险管理(app)
  14018. /Ermcp/QueryBusinessJs:
  14019. get:
  14020. parameters:
  14021. - description: 用户ID
  14022. in: query
  14023. name: UserId
  14024. required: true
  14025. type: integer
  14026. - description: 现货合同ID, 不填则查所有
  14027. in: query
  14028. name: relatedid
  14029. type: string
  14030. - description: 操作申请id
  14031. in: query
  14032. name: operateapplyid
  14033. type: string
  14034. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  14035. in: query
  14036. name: applystatus
  14037. type: string
  14038. produces:
  14039. - application/json
  14040. responses:
  14041. "200":
  14042. description: OK
  14043. schema:
  14044. items:
  14045. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  14046. type: array
  14047. "500":
  14048. description: Internal Server Error
  14049. schema:
  14050. $ref: '#/definitions/app.Response'
  14051. security:
  14052. - ApiKeyAuth: []
  14053. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  14054. tags:
  14055. - 企业风险管理(app)
  14056. /Ermcp/QueryBusinessJsEx:
  14057. get:
  14058. parameters:
  14059. - description: 用户ID
  14060. in: query
  14061. name: UserId
  14062. required: true
  14063. type: integer
  14064. - description: 现货合同ID, 不填则查所有
  14065. in: query
  14066. name: relatedid
  14067. type: string
  14068. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  14069. in: query
  14070. name: applystatus
  14071. type: string
  14072. produces:
  14073. - application/json
  14074. responses:
  14075. "200":
  14076. description: OK
  14077. schema:
  14078. items:
  14079. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  14080. type: array
  14081. "500":
  14082. description: Internal Server Error
  14083. schema:
  14084. $ref: '#/definitions/app.Response'
  14085. security:
  14086. - ApiKeyAuth: []
  14087. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  14088. tags:
  14089. - 企业风险管理(app)
  14090. /Ermcp/QueryBusinessKx:
  14091. get:
  14092. parameters:
  14093. - description: 用户ID
  14094. in: query
  14095. name: UserId
  14096. required: true
  14097. type: integer
  14098. - description: 现货合同ID, 不填则查所有
  14099. in: query
  14100. name: relatedid
  14101. type: string
  14102. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  14103. in: query
  14104. name: applystatus
  14105. type: string
  14106. produces:
  14107. - application/json
  14108. responses:
  14109. "200":
  14110. description: OK
  14111. schema:
  14112. items:
  14113. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  14114. type: array
  14115. "500":
  14116. description: Internal Server Error
  14117. schema:
  14118. $ref: '#/definitions/app.Response'
  14119. security:
  14120. - ApiKeyAuth: []
  14121. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  14122. tags:
  14123. - 企业风险管理(app)
  14124. /Ermcp/QueryChangeLog:
  14125. get:
  14126. parameters:
  14127. - description: 合同ID
  14128. in: query
  14129. name: RelatedId
  14130. required: true
  14131. type: string
  14132. produces:
  14133. - application/json
  14134. responses:
  14135. "200":
  14136. description: OK
  14137. schema:
  14138. items:
  14139. $ref: '#/definitions/ermcp.QryOPLogRsp'
  14140. type: array
  14141. "500":
  14142. description: Internal Server Error
  14143. schema:
  14144. $ref: '#/definitions/app.Response'
  14145. security:
  14146. - ApiKeyAuth: []
  14147. summary: 查询变更记录
  14148. tags:
  14149. - 企业风险管理(app)
  14150. /Ermcp/QueryContract:
  14151. get:
  14152. parameters:
  14153. - description: 用户ID
  14154. in: query
  14155. name: userId
  14156. required: true
  14157. type: integer
  14158. - description: 合同类型 1-采购, -1-销售
  14159. in: query
  14160. name: contracttype
  14161. required: true
  14162. type: integer
  14163. - description: 查询类型 1-全部 2-待点价 3-履约结算
  14164. in: query
  14165. name: querytype
  14166. required: true
  14167. type: integer
  14168. - description: 合同ID(SpotContractId)
  14169. in: query
  14170. name: contractid
  14171. type: string
  14172. produces:
  14173. - application/json
  14174. responses:
  14175. "200":
  14176. description: OK
  14177. schema:
  14178. items:
  14179. $ref: '#/definitions/ermcp.QryErmcpRsp'
  14180. type: array
  14181. "500":
  14182. description: Internal Server Error
  14183. schema:
  14184. $ref: '#/definitions/app.Response'
  14185. security:
  14186. - ApiKeyAuth: []
  14187. summary: 查询合同(采购和销售)
  14188. tags:
  14189. - 企业风险管理(app)
  14190. /Ermcp/QueryErmcpHisOrderDetails:
  14191. get:
  14192. parameters:
  14193. - description: 资金账户ID
  14194. in: query
  14195. name: accountID
  14196. required: true
  14197. type: integer
  14198. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  14199. in: query
  14200. name: startDate
  14201. type: string
  14202. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  14203. in: query
  14204. name: endDate
  14205. type: string
  14206. produces:
  14207. - application/json
  14208. responses:
  14209. "200":
  14210. description: OK
  14211. schema:
  14212. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  14213. "500":
  14214. description: Internal Server Error
  14215. schema:
  14216. $ref: '#/definitions/app.Response'
  14217. security:
  14218. - ApiKeyAuth: []
  14219. summary: 获取企业风管期货历史委托单信息
  14220. tags:
  14221. - 企业风险管理(app)
  14222. /Ermcp/QueryErmcpHisTradeDetails:
  14223. get:
  14224. parameters:
  14225. - description: 资金账户ID
  14226. in: query
  14227. name: accountID
  14228. required: true
  14229. type: integer
  14230. - description: 商品ID
  14231. in: query
  14232. name: goodsID
  14233. type: integer
  14234. - description: 买卖方向,0:买 1:卖
  14235. in: query
  14236. name: buyOrSell
  14237. type: integer
  14238. - description: 关联委托单号
  14239. in: query
  14240. name: orderID
  14241. type: integer
  14242. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  14243. in: query
  14244. name: startDate
  14245. type: string
  14246. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  14247. in: query
  14248. name: endDate
  14249. type: string
  14250. produces:
  14251. - application/json
  14252. responses:
  14253. "200":
  14254. description: OK
  14255. schema:
  14256. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  14257. "500":
  14258. description: Internal Server Error
  14259. schema:
  14260. $ref: '#/definitions/app.Response'
  14261. security:
  14262. - ApiKeyAuth: []
  14263. summary: 获取企业风管期货历史成交单信息
  14264. tags:
  14265. - 企业风险管理(app)
  14266. /Ermcp/QueryErmcpInnerHolderDetails:
  14267. get:
  14268. parameters:
  14269. - description: 资金账户ID
  14270. in: query
  14271. name: accountID
  14272. required: true
  14273. type: integer
  14274. - description: 商品ID
  14275. in: query
  14276. name: goodsID
  14277. type: integer
  14278. - description: 买卖方向,0:买 1:卖
  14279. in: query
  14280. name: buyOrSell
  14281. type: integer
  14282. produces:
  14283. - application/json
  14284. responses:
  14285. "200":
  14286. description: OK
  14287. schema:
  14288. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  14289. "500":
  14290. description: Internal Server Error
  14291. schema:
  14292. $ref: '#/definitions/app.Response'
  14293. security:
  14294. - ApiKeyAuth: []
  14295. summary: 获取企业风管期货内部持仓单信息
  14296. tags:
  14297. - 企业风险管理(app)
  14298. /Ermcp/QueryErmcpOrderDetails:
  14299. get:
  14300. parameters:
  14301. - description: 资金账户ID
  14302. in: query
  14303. name: accountID
  14304. required: true
  14305. type: integer
  14306. produces:
  14307. - application/json
  14308. responses:
  14309. "200":
  14310. description: OK
  14311. schema:
  14312. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  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/QueryErmcpTradeDetails:
  14323. get:
  14324. parameters:
  14325. - description: 资金账户ID
  14326. in: query
  14327. name: accountID
  14328. required: true
  14329. type: integer
  14330. - description: 商品ID
  14331. in: query
  14332. name: goodsID
  14333. type: integer
  14334. - description: 买卖方向,0:买 1:卖
  14335. in: query
  14336. name: buyOrSell
  14337. type: integer
  14338. - description: 关联委托单号
  14339. in: query
  14340. name: orderID
  14341. type: integer
  14342. produces:
  14343. - application/json
  14344. responses:
  14345. "200":
  14346. description: OK
  14347. schema:
  14348. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  14349. "500":
  14350. description: Internal Server Error
  14351. schema:
  14352. $ref: '#/definitions/app.Response'
  14353. security:
  14354. - ApiKeyAuth: []
  14355. summary: 获取企业风管期货成交单信息
  14356. tags:
  14357. - 企业风险管理(app)
  14358. /Ermcp/QueryErmcpTradePosition:
  14359. get:
  14360. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  14361. parameters:
  14362. - description: 资金账户ID
  14363. in: query
  14364. name: accountID
  14365. required: true
  14366. type: integer
  14367. - description: 所属市场ID
  14368. in: query
  14369. name: marketID
  14370. type: integer
  14371. produces:
  14372. - application/json
  14373. responses:
  14374. "200":
  14375. description: OK
  14376. schema:
  14377. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  14378. "500":
  14379. description: Internal Server Error
  14380. schema:
  14381. $ref: '#/definitions/app.Response'
  14382. security:
  14383. - ApiKeyAuth: []
  14384. summary: 获取企业风管期货持仓头寸信息
  14385. tags:
  14386. - 企业风险管理(app)
  14387. /Ermcp/QueryExposureDetail:
  14388. get:
  14389. parameters:
  14390. - description: 所属机构ID
  14391. in: query
  14392. name: areaUserId
  14393. required: true
  14394. type: integer
  14395. - description: 套保商品
  14396. in: query
  14397. name: middleGoodsId
  14398. required: true
  14399. type: integer
  14400. produces:
  14401. - application/json
  14402. responses:
  14403. "200":
  14404. description: OK
  14405. schema:
  14406. items:
  14407. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  14408. type: array
  14409. "500":
  14410. description: Internal Server Error
  14411. schema:
  14412. $ref: '#/definitions/app.Response'
  14413. security:
  14414. - ApiKeyAuth: []
  14415. summary: 查询敞口现货明细
  14416. tags:
  14417. - 企业风险管理(app)
  14418. /Ermcp/QueryExposureHedgePosition:
  14419. get:
  14420. parameters:
  14421. - description: 所属机构ID
  14422. in: query
  14423. name: areaUserId
  14424. required: true
  14425. type: integer
  14426. produces:
  14427. - application/json
  14428. responses:
  14429. "200":
  14430. description: OK
  14431. schema:
  14432. items:
  14433. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  14434. type: array
  14435. "500":
  14436. description: Internal Server Error
  14437. schema:
  14438. $ref: '#/definitions/app.Response'
  14439. security:
  14440. - ApiKeyAuth: []
  14441. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  14442. tags:
  14443. - 企业风险管理(app)
  14444. /Ermcp/QueryExposureHedgePositionDetail:
  14445. get:
  14446. parameters:
  14447. - description: 所属机构ID
  14448. in: query
  14449. name: areaUserId
  14450. required: true
  14451. type: integer
  14452. - description: 商品id
  14453. in: query
  14454. name: goodsId
  14455. required: true
  14456. type: integer
  14457. produces:
  14458. - application/json
  14459. responses:
  14460. "200":
  14461. description: OK
  14462. schema:
  14463. items:
  14464. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  14465. type: array
  14466. "500":
  14467. description: Internal Server Error
  14468. schema:
  14469. $ref: '#/definitions/app.Response'
  14470. security:
  14471. - ApiKeyAuth: []
  14472. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  14473. tags:
  14474. - 企业风险管理(app)
  14475. /Ermcp/QueryExposureSpot:
  14476. get:
  14477. parameters:
  14478. - description: 所属机构ID
  14479. in: query
  14480. name: areaUserId
  14481. required: true
  14482. type: integer
  14483. produces:
  14484. - application/json
  14485. responses:
  14486. "200":
  14487. description: OK
  14488. schema:
  14489. items:
  14490. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  14491. type: array
  14492. "500":
  14493. description: Internal Server Error
  14494. schema:
  14495. $ref: '#/definitions/app.Response'
  14496. security:
  14497. - ApiKeyAuth: []
  14498. summary: 查询敞口现货头寸(敞口/现货头寸)
  14499. tags:
  14500. - 企业风险管理(app)
  14501. /Ermcp/QueryExposureSpotDetail:
  14502. get:
  14503. parameters:
  14504. - description: 所属机构ID
  14505. in: query
  14506. name: areaUserId
  14507. required: true
  14508. type: integer
  14509. - description: 现货品种ID
  14510. in: query
  14511. name: wrstandardId
  14512. required: true
  14513. type: integer
  14514. produces:
  14515. - application/json
  14516. responses:
  14517. "200":
  14518. description: OK
  14519. schema:
  14520. items:
  14521. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  14522. type: array
  14523. "500":
  14524. description: Internal Server Error
  14525. schema:
  14526. $ref: '#/definitions/app.Response'
  14527. security:
  14528. - ApiKeyAuth: []
  14529. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  14530. tags:
  14531. - 企业风险管理(app)
  14532. /Ermcp/QueryFuturesCompany:
  14533. get:
  14534. produces:
  14535. - application/json
  14536. responses:
  14537. "200":
  14538. description: OK
  14539. schema:
  14540. items:
  14541. $ref: '#/definitions/models.ErmcpFuturesCompany'
  14542. type: array
  14543. "500":
  14544. description: Internal Server Error
  14545. schema:
  14546. $ref: '#/definitions/app.Response'
  14547. security:
  14548. - ApiKeyAuth: []
  14549. summary: 查询期货公司
  14550. tags:
  14551. - 企业风险管理(app)
  14552. /Ermcp/QueryGGConvertConfig:
  14553. get:
  14554. parameters:
  14555. - description: 品种id(不填则查所有)
  14556. in: query
  14557. name: goodsgroupid
  14558. type: integer
  14559. produces:
  14560. - application/json
  14561. responses:
  14562. "200":
  14563. description: OK
  14564. schema:
  14565. items:
  14566. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  14567. type: array
  14568. "500":
  14569. description: Internal Server Error
  14570. schema:
  14571. $ref: '#/definitions/app.Response'
  14572. security:
  14573. - ApiKeyAuth: []
  14574. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  14575. tags:
  14576. - 企业风险管理(app)
  14577. /Ermcp/QueryGoodsBrand:
  14578. get:
  14579. parameters:
  14580. - description: 用户ID
  14581. in: query
  14582. name: userid
  14583. required: true
  14584. type: integer
  14585. - description: 现货商品ID
  14586. in: query
  14587. name: wrstandardid
  14588. type: integer
  14589. produces:
  14590. - application/json
  14591. responses:
  14592. "200":
  14593. description: OK
  14594. schema:
  14595. items:
  14596. $ref: '#/definitions/models.ErmcpGoodsBrand'
  14597. type: array
  14598. "500":
  14599. description: Internal Server Error
  14600. schema:
  14601. $ref: '#/definitions/app.Response'
  14602. security:
  14603. - ApiKeyAuth: []
  14604. summary: 查询商品品牌
  14605. tags:
  14606. - 企业风险管理(app)
  14607. /Ermcp/QueryGoodsModel:
  14608. get:
  14609. parameters:
  14610. - description: 用户ID
  14611. in: query
  14612. name: userid
  14613. required: true
  14614. type: integer
  14615. produces:
  14616. - application/json
  14617. responses:
  14618. "200":
  14619. description: OK
  14620. schema:
  14621. items:
  14622. $ref: '#/definitions/models.ErmcpGoodsModel'
  14623. type: array
  14624. "500":
  14625. description: Internal Server Error
  14626. schema:
  14627. $ref: '#/definitions/app.Response'
  14628. security:
  14629. - ApiKeyAuth: []
  14630. summary: 查询商品型号
  14631. tags:
  14632. - 企业风险管理(app)
  14633. /Ermcp/QueryHedgePlan:
  14634. get:
  14635. parameters:
  14636. - description: 用户ID
  14637. in: query
  14638. name: userId
  14639. required: true
  14640. type: integer
  14641. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  14642. in: query
  14643. name: HedgePlanStatus
  14644. required: true
  14645. type: string
  14646. produces:
  14647. - application/json
  14648. responses:
  14649. "200":
  14650. description: OK
  14651. schema:
  14652. items:
  14653. $ref: '#/definitions/ermcp.QryHedgePlanRsp'
  14654. type: array
  14655. "500":
  14656. description: Internal Server Error
  14657. schema:
  14658. $ref: '#/definitions/app.Response'
  14659. security:
  14660. - ApiKeyAuth: []
  14661. summary: 查询套保计划
  14662. tags:
  14663. - 企业风险管理(app)
  14664. /Ermcp/QueryHisExposure:
  14665. get:
  14666. parameters:
  14667. - description: 所属机构ID
  14668. in: query
  14669. name: areaUserId
  14670. required: true
  14671. type: integer
  14672. - description: 每个品种记录数
  14673. in: query
  14674. name: lastNum
  14675. required: true
  14676. type: integer
  14677. produces:
  14678. - application/json
  14679. responses:
  14680. "200":
  14681. description: OK
  14682. schema:
  14683. items:
  14684. $ref: '#/definitions/ermcp.HisExposureRsp'
  14685. type: array
  14686. "500":
  14687. description: Internal Server Error
  14688. schema:
  14689. $ref: '#/definitions/app.Response'
  14690. security:
  14691. - ApiKeyAuth: []
  14692. summary: 查询历史敞口(菜单:敞口/历史敞口)
  14693. tags:
  14694. - 企业风险管理(app)
  14695. /Ermcp/QueryMiddleGoods:
  14696. get:
  14697. parameters:
  14698. - description: 所属机构ID
  14699. in: query
  14700. name: userid
  14701. required: true
  14702. type: integer
  14703. - description: 状态 0-停用 1-正常
  14704. in: query
  14705. name: status
  14706. required: true
  14707. type: integer
  14708. produces:
  14709. - application/json
  14710. responses:
  14711. "200":
  14712. description: OK
  14713. schema:
  14714. items:
  14715. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  14716. type: array
  14717. "500":
  14718. description: Internal Server Error
  14719. schema:
  14720. $ref: '#/definitions/app.Response'
  14721. security:
  14722. - ApiKeyAuth: []
  14723. summary: 查询套保品种(菜单:套保品种)
  14724. tags:
  14725. - 企业风险管理(app)
  14726. /Ermcp/QueryMiddleGoodsChangeLog:
  14727. get:
  14728. parameters:
  14729. - description: 所属机构ID
  14730. in: query
  14731. name: userid
  14732. required: true
  14733. type: integer
  14734. - description: 套保品种id
  14735. in: query
  14736. name: middlegoodsid
  14737. required: true
  14738. type: integer
  14739. produces:
  14740. - application/json
  14741. responses:
  14742. "200":
  14743. description: OK
  14744. schema:
  14745. items:
  14746. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  14747. type: array
  14748. "500":
  14749. description: Internal Server Error
  14750. schema:
  14751. $ref: '#/definitions/app.Response'
  14752. security:
  14753. - ApiKeyAuth: []
  14754. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  14755. tags:
  14756. - 企业风险管理(app)
  14757. /Ermcp/QueryMiddleGoodsDetail:
  14758. get:
  14759. parameters:
  14760. - description: 所属机构ID
  14761. in: query
  14762. name: userid
  14763. required: true
  14764. type: integer
  14765. - description: 套保品种id
  14766. in: query
  14767. name: middlegoodsid
  14768. type: integer
  14769. produces:
  14770. - application/json
  14771. responses:
  14772. "200":
  14773. description: OK
  14774. schema:
  14775. items:
  14776. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  14777. type: array
  14778. "500":
  14779. description: Internal Server Error
  14780. schema:
  14781. $ref: '#/definitions/app.Response'
  14782. security:
  14783. - ApiKeyAuth: []
  14784. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  14785. tags:
  14786. - 企业风险管理(app)
  14787. /Ermcp/QueryPendingAuditInfo:
  14788. get:
  14789. parameters:
  14790. - description: 用户ID
  14791. in: query
  14792. name: UserId
  14793. required: true
  14794. type: integer
  14795. produces:
  14796. - application/json
  14797. responses:
  14798. "200":
  14799. description: OK
  14800. schema:
  14801. items:
  14802. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  14803. type: array
  14804. "500":
  14805. description: Internal Server Error
  14806. schema:
  14807. $ref: '#/definitions/app.Response'
  14808. security:
  14809. - ApiKeyAuth: []
  14810. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  14811. tags:
  14812. - 企业风险管理(app)
  14813. /Ermcp/QueryRealtimeExposure:
  14814. get:
  14815. parameters:
  14816. - description: 所属机构ID
  14817. in: query
  14818. name: AreaUserID
  14819. required: true
  14820. type: integer
  14821. produces:
  14822. - application/json
  14823. responses:
  14824. "200":
  14825. description: OK
  14826. schema:
  14827. items:
  14828. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  14829. type: array
  14830. "500":
  14831. description: Internal Server Error
  14832. schema:
  14833. $ref: '#/definitions/app.Response'
  14834. security:
  14835. - ApiKeyAuth: []
  14836. summary: 查询实时敞口
  14837. tags:
  14838. - 企业风险管理(app)
  14839. /Ermcp/QueryRealtimeExposurePosition:
  14840. get:
  14841. parameters:
  14842. - description: 所属机构ID
  14843. in: query
  14844. name: areaUserId
  14845. required: true
  14846. type: integer
  14847. - description: 套保商品ID
  14848. in: query
  14849. name: middleGoodsId
  14850. required: true
  14851. type: integer
  14852. produces:
  14853. - application/json
  14854. responses:
  14855. "200":
  14856. description: OK
  14857. schema:
  14858. items:
  14859. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  14860. type: array
  14861. "500":
  14862. description: Internal Server Error
  14863. schema:
  14864. $ref: '#/definitions/app.Response'
  14865. security:
  14866. - ApiKeyAuth: []
  14867. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  14868. tags:
  14869. - 企业风险管理(app)
  14870. /Ermcp/QuerySpotContract:
  14871. get:
  14872. parameters:
  14873. - description: 用户ID
  14874. in: query
  14875. name: userId
  14876. required: true
  14877. type: integer
  14878. - description: 查询类型 1-未提交 2-待审核 3-履约中 4-已完成
  14879. in: query
  14880. name: QueryType
  14881. required: true
  14882. type: integer
  14883. produces:
  14884. - application/json
  14885. responses:
  14886. "200":
  14887. description: OK
  14888. schema:
  14889. items:
  14890. $ref: '#/definitions/ermcp.QrySpotContractRsp'
  14891. type: array
  14892. "500":
  14893. description: Internal Server Error
  14894. schema:
  14895. $ref: '#/definitions/app.Response'
  14896. security:
  14897. - ApiKeyAuth: []
  14898. summary: 查询现货合同(对应现货合同菜单)
  14899. tags:
  14900. - 企业风险管理(app)
  14901. /Ermcp/QuerySpotGoodsPrice:
  14902. get:
  14903. parameters:
  14904. - description: 用户ID
  14905. in: query
  14906. name: userid
  14907. required: true
  14908. type: integer
  14909. produces:
  14910. - application/json
  14911. responses:
  14912. "200":
  14913. description: OK
  14914. schema:
  14915. items:
  14916. $ref: '#/definitions/models.ErmcpSpotGoodsPrice'
  14917. type: array
  14918. "500":
  14919. description: Internal Server Error
  14920. schema:
  14921. $ref: '#/definitions/app.Response'
  14922. security:
  14923. - ApiKeyAuth: []
  14924. summary: 查询现货市价(现货市价)
  14925. tags:
  14926. - 企业风险管理(app)
  14927. /Ermcp/QuerySpotGoodsPriceLog:
  14928. get:
  14929. parameters:
  14930. - description: 用户ID
  14931. in: query
  14932. name: userid
  14933. required: true
  14934. type: integer
  14935. - description: 现货商品ID
  14936. in: query
  14937. name: wrstandardid
  14938. required: true
  14939. type: integer
  14940. produces:
  14941. - application/json
  14942. responses:
  14943. "200":
  14944. description: OK
  14945. schema:
  14946. items:
  14947. $ref: '#/definitions/models.ErmcpSpotGoodsPriceLog'
  14948. type: array
  14949. "500":
  14950. description: Internal Server Error
  14951. schema:
  14952. $ref: '#/definitions/app.Response'
  14953. security:
  14954. - ApiKeyAuth: []
  14955. summary: 查询现货市价详情(现货市价/详情)
  14956. tags:
  14957. - 企业风险管理(app)
  14958. /Ermcp/QueryTradeConfigTMP:
  14959. get:
  14960. parameters:
  14961. - description: 所属机构id
  14962. in: query
  14963. name: areauserid
  14964. type: integer
  14965. produces:
  14966. - application/json
  14967. responses:
  14968. "200":
  14969. description: OK
  14970. schema:
  14971. items:
  14972. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  14973. type: array
  14974. "500":
  14975. description: Internal Server Error
  14976. schema:
  14977. $ref: '#/definitions/app.Response'
  14978. security:
  14979. - ApiKeyAuth: []
  14980. summary: 查询交易模板配置
  14981. tags:
  14982. - 企业风险管理(app)
  14983. /Ermcp/QueryUserInfo:
  14984. get:
  14985. parameters:
  14986. - description: 所属机构用户ID
  14987. in: query
  14988. name: MemberUserID
  14989. required: true
  14990. type: integer
  14991. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  14992. in: query
  14993. name: queryType
  14994. required: true
  14995. type: integer
  14996. produces:
  14997. - application/json
  14998. responses:
  14999. "200":
  15000. description: OK
  15001. schema:
  15002. items:
  15003. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  15004. type: array
  15005. "500":
  15006. description: Internal Server Error
  15007. schema:
  15008. $ref: '#/definitions/app.Response'
  15009. security:
  15010. - ApiKeyAuth: []
  15011. summary: 查询客户资料
  15012. tags:
  15013. - 企业风险管理(app)
  15014. /Ermcp/QueryWarehouseInfo:
  15015. get:
  15016. parameters:
  15017. - description: 用户ID
  15018. in: query
  15019. name: userid
  15020. required: true
  15021. type: integer
  15022. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  15023. in: query
  15024. name: status
  15025. type: string
  15026. produces:
  15027. - application/json
  15028. responses:
  15029. "200":
  15030. description: OK
  15031. schema:
  15032. items:
  15033. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  15034. type: array
  15035. "500":
  15036. description: Internal Server Error
  15037. schema:
  15038. $ref: '#/definitions/app.Response'
  15039. security:
  15040. - ApiKeyAuth: []
  15041. summary: 查询仓库信息
  15042. tags:
  15043. - 企业风险管理(app)
  15044. /Ermcp/QueryWrStandard:
  15045. get:
  15046. parameters:
  15047. - description: 所属机构ID
  15048. in: query
  15049. name: userid
  15050. required: true
  15051. type: integer
  15052. - description: 状态 0-停用 1-正常
  15053. in: query
  15054. name: status
  15055. required: true
  15056. type: integer
  15057. produces:
  15058. - application/json
  15059. responses:
  15060. "200":
  15061. description: OK
  15062. schema:
  15063. items:
  15064. $ref: '#/definitions/ermcp.QryWrStandardRsp'
  15065. type: array
  15066. "500":
  15067. description: Internal Server Error
  15068. schema:
  15069. $ref: '#/definitions/app.Response'
  15070. security:
  15071. - ApiKeyAuth: []
  15072. summary: 查询现货商品
  15073. tags:
  15074. - 企业风险管理(app)
  15075. /Ermcp/QueryWrStandardDetail:
  15076. get:
  15077. parameters:
  15078. - description: 所属机构ID
  15079. in: query
  15080. name: userid
  15081. required: true
  15082. type: integer
  15083. - description: 现货商品ID
  15084. in: query
  15085. name: wrstandardid
  15086. type: integer
  15087. - description: 可不填, 1-查询关联交易商品
  15088. in: query
  15089. name: goods
  15090. type: integer
  15091. produces:
  15092. - application/json
  15093. responses:
  15094. "200":
  15095. description: OK
  15096. schema:
  15097. items:
  15098. $ref: '#/definitions/ermcp.QryWrStandardDetailRsp'
  15099. type: array
  15100. "500":
  15101. description: Internal Server Error
  15102. schema:
  15103. $ref: '#/definitions/app.Response'
  15104. security:
  15105. - ApiKeyAuth: []
  15106. summary: 查询现货商品详情(菜单:现货品种/现货品种详情)
  15107. tags:
  15108. - 企业风险管理(app)
  15109. /Ermcp3/QryReportAreaSpotPL:
  15110. get:
  15111. parameters:
  15112. - description: 用户ID
  15113. in: query
  15114. name: userid
  15115. required: true
  15116. type: integer
  15117. - description: 查询类型 1-日报表 2-月报表
  15118. in: query
  15119. name: querytype
  15120. required: true
  15121. type: integer
  15122. - description: 查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)
  15123. in: query
  15124. name: querydate
  15125. required: true
  15126. type: string
  15127. - description: 现货商品ID
  15128. in: query
  15129. name: deliverygoodsid
  15130. type: integer
  15131. - description: 品牌ID
  15132. in: query
  15133. name: spotgoodsbrandid
  15134. type: integer
  15135. - description: 品类ID
  15136. in: query
  15137. name: wrstandardid
  15138. type: integer
  15139. produces:
  15140. - application/json
  15141. responses:
  15142. "200":
  15143. description: OK
  15144. schema:
  15145. items:
  15146. $ref: '#/definitions/models.Ermcp3ReportAreaSpotPL'
  15147. type: array
  15148. "500":
  15149. description: Internal Server Error
  15150. schema:
  15151. $ref: '#/definitions/app.Response'
  15152. security:
  15153. - ApiKeyAuth: []
  15154. summary: 查询现货损益报表(现货损益报表)
  15155. tags:
  15156. - 企业风险管理v3(app)
  15157. /Ermcp3/QryReportDayFinanceFp:
  15158. get:
  15159. parameters:
  15160. - description: 用户ID
  15161. in: query
  15162. name: userid
  15163. required: true
  15164. type: integer
  15165. - description: 交易日(格式:yyyyMMdd)
  15166. in: query
  15167. name: tradedate
  15168. required: true
  15169. type: string
  15170. produces:
  15171. - application/json
  15172. responses:
  15173. "200":
  15174. description: OK
  15175. schema:
  15176. items:
  15177. $ref: '#/definitions/models.Ermcp3ReportOPLog'
  15178. type: array
  15179. "500":
  15180. description: Internal Server Error
  15181. schema:
  15182. $ref: '#/definitions/app.Response'
  15183. security:
  15184. - ApiKeyAuth: []
  15185. summary: 查询财务日报表发票(菜单:报表查询/财务报表/日报表/发票)
  15186. tags:
  15187. - 企业风险管理v3(app)
  15188. /Ermcp3/QryReportDayFinanceKx:
  15189. get:
  15190. parameters:
  15191. - description: 用户ID
  15192. in: query
  15193. name: userid
  15194. required: true
  15195. type: integer
  15196. - description: 交易日(格式:yyyyMMdd)
  15197. in: query
  15198. name: tradedate
  15199. required: true
  15200. type: string
  15201. produces:
  15202. - application/json
  15203. responses:
  15204. "200":
  15205. description: OK
  15206. schema:
  15207. items:
  15208. $ref: '#/definitions/models.Ermcp3ReportOPLog'
  15209. type: array
  15210. "500":
  15211. description: Internal Server Error
  15212. schema:
  15213. $ref: '#/definitions/app.Response'
  15214. security:
  15215. - ApiKeyAuth: []
  15216. summary: 查询财务日报表款项(菜单:报表查询/财务报表/日报表/款项)
  15217. tags:
  15218. - 企业风险管理v3(app)
  15219. /Ermcp3/QryReportDaySpot:
  15220. get:
  15221. parameters:
  15222. - description: 所属机构id
  15223. in: query
  15224. name: areauserid
  15225. required: true
  15226. type: integer
  15227. - description: 交易日(格式:yyyyMMdd)
  15228. in: query
  15229. name: reckondate
  15230. required: true
  15231. type: string
  15232. - description: 期货账户ID
  15233. in: query
  15234. name: accountid
  15235. type: integer
  15236. - description: 现货品种ID
  15237. in: query
  15238. name: deliverygoodsid
  15239. type: integer
  15240. - description: 品类ID
  15241. in: query
  15242. name: wrstandardid
  15243. type: integer
  15244. - description: 现货品牌ID
  15245. in: query
  15246. name: spotgoodsbrandid
  15247. type: integer
  15248. produces:
  15249. - application/json
  15250. responses:
  15251. "200":
  15252. description: OK
  15253. schema:
  15254. items:
  15255. $ref: '#/definitions/models.Ermcp3ReckonAreaSpotSub'
  15256. type: array
  15257. "500":
  15258. description: Internal Server Error
  15259. schema:
  15260. $ref: '#/definitions/app.Response'
  15261. security:
  15262. - ApiKeyAuth: []
  15263. summary: 查询现货日报表(菜单:报表查询/现货报表/现货日报表)
  15264. tags:
  15265. - 企业风险管理v3(app)
  15266. /Ermcp3/QryReportDaySpotDetail:
  15267. get:
  15268. parameters:
  15269. - description: 用户ID
  15270. in: query
  15271. name: userid
  15272. required: true
  15273. type: integer
  15274. - description: 现货商品id
  15275. in: query
  15276. name: deliverygoodsid
  15277. required: true
  15278. type: integer
  15279. - description: 交易日(格式:yyyyMMdd)
  15280. in: query
  15281. name: tradedate
  15282. required: true
  15283. type: string
  15284. - description: 品类ID
  15285. in: query
  15286. name: wrstandardid
  15287. type: integer
  15288. - description: 现货品牌ID
  15289. in: query
  15290. name: spotgoodsbrandid
  15291. type: integer
  15292. produces:
  15293. - application/json
  15294. responses:
  15295. "200":
  15296. description: OK
  15297. schema:
  15298. items:
  15299. $ref: '#/definitions/models.Ermcp3ReportOPLog'
  15300. type: array
  15301. "500":
  15302. description: Internal Server Error
  15303. schema:
  15304. $ref: '#/definitions/app.Response'
  15305. security:
  15306. - ApiKeyAuth: []
  15307. summary: 查询现货日报表详情(菜单:报表查询/现货报表/现货日报表详情)
  15308. tags:
  15309. - 企业风险管理v3(app)
  15310. /Ermcp3/QryReportMonthSpot:
  15311. get:
  15312. parameters:
  15313. - description: 所属机构id
  15314. in: query
  15315. name: areauserid
  15316. required: true
  15317. type: integer
  15318. - description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  15319. in: query
  15320. name: cycletype
  15321. required: true
  15322. type: integer
  15323. - description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  15324. in: query
  15325. name: cycletime
  15326. required: true
  15327. type: string
  15328. - description: 期货账户ID
  15329. in: query
  15330. name: accountid
  15331. type: integer
  15332. - description: 现货品种ID
  15333. in: query
  15334. name: deliverygoodsid
  15335. type: integer
  15336. - description: 品类ID
  15337. in: query
  15338. name: wrstandardid
  15339. type: integer
  15340. - description: 现货品牌ID
  15341. in: query
  15342. name: spotgoodsbrandid
  15343. type: integer
  15344. produces:
  15345. - application/json
  15346. responses:
  15347. "200":
  15348. description: OK
  15349. schema:
  15350. items:
  15351. $ref: '#/definitions/models.Ermcp3ReportAreaSpotSub'
  15352. type: array
  15353. "500":
  15354. description: Internal Server Error
  15355. schema:
  15356. $ref: '#/definitions/app.Response'
  15357. security:
  15358. - ApiKeyAuth: []
  15359. summary: 查询现货月报表(菜单:报表查询/现货报表/现货月报表)
  15360. tags:
  15361. - 企业风险管理v3(app)
  15362. /Ermcp3/QryReportMonthSpotDetail:
  15363. get:
  15364. parameters:
  15365. - description: 所属机构id
  15366. in: query
  15367. name: areauserid
  15368. required: true
  15369. type: integer
  15370. - description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  15371. in: query
  15372. name: cycletype
  15373. required: true
  15374. type: integer
  15375. - description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  15376. in: query
  15377. name: cycletime
  15378. required: true
  15379. type: string
  15380. - description: 期货账户ID
  15381. in: query
  15382. name: accountid
  15383. type: integer
  15384. - description: 现货品种ID
  15385. in: query
  15386. name: deliverygoodsid
  15387. type: integer
  15388. - description: 品类ID
  15389. in: query
  15390. name: wrstandardid
  15391. type: integer
  15392. - description: 现货品牌ID
  15393. in: query
  15394. name: spotgoodsbrandid
  15395. type: integer
  15396. produces:
  15397. - application/json
  15398. responses:
  15399. "200":
  15400. description: OK
  15401. schema:
  15402. items:
  15403. $ref: '#/definitions/models.Ermcp3ReportAreaSpotSub'
  15404. type: array
  15405. "500":
  15406. description: Internal Server Error
  15407. schema:
  15408. $ref: '#/definitions/app.Response'
  15409. security:
  15410. - ApiKeyAuth: []
  15411. summary: 查询现货月报表详情(菜单:报表查询/现货月报表/现货月报表详情)
  15412. tags:
  15413. - 企业风险管理v3(app)
  15414. /Ermcp3/QueryAreaStock:
  15415. get:
  15416. parameters:
  15417. - description: 用户ID
  15418. in: query
  15419. name: userid
  15420. required: true
  15421. type: integer
  15422. produces:
  15423. - application/json
  15424. responses:
  15425. "200":
  15426. description: OK
  15427. schema:
  15428. items:
  15429. $ref: '#/definitions/models.Ermcp3AreaStock'
  15430. type: array
  15431. "500":
  15432. description: Internal Server Error
  15433. schema:
  15434. $ref: '#/definitions/app.Response'
  15435. security:
  15436. - ApiKeyAuth: []
  15437. summary: 查询机构库存(库存管理/当前库存)
  15438. tags:
  15439. - 企业风险管理v3(app)
  15440. /Ermcp3/QueryAreaStockApply:
  15441. get:
  15442. parameters:
  15443. - description: 用户ID
  15444. in: query
  15445. name: userid
  15446. required: true
  15447. type: integer
  15448. - description: 现货商品ID
  15449. in: query
  15450. name: deliverygoodsid
  15451. type: integer
  15452. - description: 出入库类型(可多项,逗号隔开) 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  15453. in: query
  15454. name: inouttype
  15455. type: string
  15456. - description: 合同ID
  15457. in: query
  15458. name: spotcontractid
  15459. type: integer
  15460. - description: 品类ID
  15461. in: query
  15462. name: wrstandardid
  15463. type: integer
  15464. - description: 品牌ID
  15465. in: query
  15466. name: spotgoodsbrandid
  15467. type: integer
  15468. - description: 仓库ID
  15469. in: query
  15470. name: warehouseinfoid
  15471. type: integer
  15472. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  15473. in: query
  15474. name: applystatus
  15475. type: string
  15476. produces:
  15477. - application/json
  15478. responses:
  15479. "200":
  15480. description: OK
  15481. schema:
  15482. items:
  15483. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  15484. type: array
  15485. "500":
  15486. description: Internal Server Error
  15487. schema:
  15488. $ref: '#/definitions/app.Response'
  15489. security:
  15490. - ApiKeyAuth: []
  15491. summary: 查询库存申请(出入库记录|库存审核)
  15492. tags:
  15493. - 企业风险管理v3(app)
  15494. /Ermcp3/QueryAreaStockApplySum:
  15495. get:
  15496. parameters:
  15497. - description: 合同ID
  15498. in: query
  15499. name: spotcontractid
  15500. type: integer
  15501. produces:
  15502. - application/json
  15503. responses:
  15504. "200":
  15505. description: OK
  15506. schema:
  15507. items:
  15508. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  15509. type: array
  15510. "500":
  15511. description: Internal Server Error
  15512. schema:
  15513. $ref: '#/definitions/app.Response'
  15514. security:
  15515. - ApiKeyAuth: []
  15516. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  15517. tags:
  15518. - 企业风险管理v3(app)
  15519. /Ermcp3/QueryAreaStockReport:
  15520. get:
  15521. parameters:
  15522. - description: 用户ID
  15523. in: query
  15524. name: userid
  15525. required: true
  15526. type: integer
  15527. - description: 查询类型 1-日报表 2-月报表
  15528. in: query
  15529. name: querytype
  15530. required: true
  15531. type: integer
  15532. - description: 查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)
  15533. in: query
  15534. name: querydate
  15535. required: true
  15536. type: string
  15537. - description: 现货商品ID
  15538. in: query
  15539. name: deliverygoodsid
  15540. type: integer
  15541. - description: 品类ID
  15542. in: query
  15543. name: wrstandardid
  15544. type: integer
  15545. - description: 品牌ID
  15546. in: query
  15547. name: spotgoodsbrandid
  15548. type: integer
  15549. - description: 仓库ID
  15550. in: query
  15551. name: warehouseinfoid
  15552. type: integer
  15553. produces:
  15554. - application/json
  15555. responses:
  15556. "200":
  15557. description: OK
  15558. schema:
  15559. items:
  15560. $ref: '#/definitions/models.Ermcp3AreaStockReport'
  15561. type: array
  15562. "500":
  15563. description: Internal Server Error
  15564. schema:
  15565. $ref: '#/definitions/app.Response'
  15566. security:
  15567. - ApiKeyAuth: []
  15568. summary: 查询库存报表
  15569. tags:
  15570. - 企业风险管理v3(app)
  15571. /Ermcp3/QueryAreaStockReportDetail:
  15572. get:
  15573. parameters:
  15574. - description: 用户ID
  15575. in: query
  15576. name: userid
  15577. required: true
  15578. type: integer
  15579. - description: 查询类型 1-日报表明细 2-月报表明细
  15580. in: query
  15581. name: querytype
  15582. required: true
  15583. type: integer
  15584. - description: 明细类型 1:入库明细(采购入库+生产入库) 2:出库明细(销售出库+生产出库)
  15585. in: query
  15586. name: detailtype
  15587. required: true
  15588. type: integer
  15589. - description: 查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)
  15590. in: query
  15591. name: querydate
  15592. required: true
  15593. type: string
  15594. - description: 现货商品ID
  15595. in: query
  15596. name: deliverygoodsid
  15597. type: integer
  15598. - description: 品类ID
  15599. in: query
  15600. name: wrstandardid
  15601. type: integer
  15602. - description: 品牌ID
  15603. in: query
  15604. name: spotgoodsbrandid
  15605. type: integer
  15606. - description: 仓库ID
  15607. in: query
  15608. name: warehouseinfoid
  15609. type: integer
  15610. produces:
  15611. - application/json
  15612. responses:
  15613. "200":
  15614. description: OK
  15615. schema:
  15616. items:
  15617. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  15618. type: array
  15619. "500":
  15620. description: Internal Server Error
  15621. schema:
  15622. $ref: '#/definitions/app.Response'
  15623. security:
  15624. - ApiKeyAuth: []
  15625. summary: 查询库存报表明细
  15626. tags:
  15627. - 企业风险管理v3(app)
  15628. /Ermcp3/QueryDGFactoryItem:
  15629. get:
  15630. parameters:
  15631. - description: 所属机构ID
  15632. in: query
  15633. name: areauserid
  15634. type: integer
  15635. - description: 选择项ID(SEQ_DGFACTORYITEM)
  15636. in: query
  15637. name: dgfactoryitemid
  15638. type: integer
  15639. - description: 现货品种ID
  15640. in: query
  15641. name: deliverygoodsid
  15642. type: integer
  15643. - description: 要素项类型
  15644. in: query
  15645. name: dgfactoryitemtypeid
  15646. type: integer
  15647. - description: 顺序
  15648. in: query
  15649. name: orderindex
  15650. type: integer
  15651. produces:
  15652. - application/json
  15653. responses:
  15654. "200":
  15655. description: OK
  15656. schema:
  15657. items:
  15658. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  15659. type: array
  15660. "500":
  15661. description: Internal Server Error
  15662. schema:
  15663. $ref: '#/definitions/app.Response'
  15664. security:
  15665. - ApiKeyAuth: []
  15666. summary: 查询品种要素定义项
  15667. tags:
  15668. - 企业风险管理v3(app)
  15669. /Ermcp3/QueryDeliveryGoods:
  15670. get:
  15671. parameters:
  15672. - description: 所属机构id
  15673. in: query
  15674. name: areauserid
  15675. required: true
  15676. type: integer
  15677. - description: 排除已配置的业务类型商品 1-套保 2-套利
  15678. in: query
  15679. name: excludecfg
  15680. type: integer
  15681. produces:
  15682. - application/json
  15683. responses:
  15684. "200":
  15685. description: OK
  15686. schema:
  15687. items:
  15688. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  15689. type: array
  15690. "500":
  15691. description: Internal Server Error
  15692. schema:
  15693. $ref: '#/definitions/app.Response'
  15694. security:
  15695. - ApiKeyAuth: []
  15696. summary: 查询现货商品
  15697. tags:
  15698. - 企业风险管理v3(app)
  15699. /Ermcp3/QueryDeliveryGoodsDetail:
  15700. get:
  15701. parameters:
  15702. - description: 所属机构id
  15703. in: query
  15704. name: areauserid
  15705. required: true
  15706. type: integer
  15707. - description: 现货商品id
  15708. in: query
  15709. name: deliverygoodsid
  15710. type: integer
  15711. produces:
  15712. - application/json
  15713. responses:
  15714. "200":
  15715. description: OK
  15716. schema:
  15717. items:
  15718. $ref: '#/definitions/models.ErmcpDeliveryGoodsDetailEx'
  15719. type: array
  15720. "500":
  15721. description: Internal Server Error
  15722. schema:
  15723. $ref: '#/definitions/app.Response'
  15724. security:
  15725. - ApiKeyAuth: []
  15726. summary: 查询现货商品详情
  15727. tags:
  15728. - 企业风险管理v3(app)
  15729. /Ermcp3/QueryExposureDetail:
  15730. get:
  15731. parameters:
  15732. - description: 所属机构ID
  15733. in: query
  15734. name: areauserid
  15735. required: true
  15736. type: integer
  15737. - description: 套保商品
  15738. in: query
  15739. name: middlegoodsid
  15740. required: true
  15741. type: integer
  15742. produces:
  15743. - application/json
  15744. responses:
  15745. "200":
  15746. description: OK
  15747. schema:
  15748. items:
  15749. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  15750. type: array
  15751. "500":
  15752. description: Internal Server Error
  15753. schema:
  15754. $ref: '#/definitions/app.Response'
  15755. security:
  15756. - ApiKeyAuth: []
  15757. summary: 查询敞口现货明细
  15758. tags:
  15759. - 企业风险管理v3(app)
  15760. /Ermcp3/QueryExposureSpot:
  15761. get:
  15762. parameters:
  15763. - description: 所属机构ID
  15764. in: query
  15765. name: areauserid
  15766. required: true
  15767. type: integer
  15768. produces:
  15769. - application/json
  15770. responses:
  15771. "200":
  15772. description: OK
  15773. schema:
  15774. items:
  15775. $ref: '#/definitions/models.Ermcp3AreaSpot'
  15776. type: array
  15777. "500":
  15778. description: Internal Server Error
  15779. schema:
  15780. $ref: '#/definitions/app.Response'
  15781. security:
  15782. - ApiKeyAuth: []
  15783. summary: 查询敞口现货头寸(敞口/现货头寸)
  15784. tags:
  15785. - 企业风险管理v3(app)
  15786. /Ermcp3/QueryExposureSpotDetail:
  15787. get:
  15788. parameters:
  15789. - description: 所属机构ID
  15790. in: query
  15791. name: areauserid
  15792. required: true
  15793. type: integer
  15794. - description: 现货品种ID
  15795. in: query
  15796. name: deliverygoodsid
  15797. required: true
  15798. type: integer
  15799. produces:
  15800. - application/json
  15801. responses:
  15802. "200":
  15803. description: OK
  15804. schema:
  15805. items:
  15806. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  15807. type: array
  15808. "500":
  15809. description: Internal Server Error
  15810. schema:
  15811. $ref: '#/definitions/app.Response'
  15812. security:
  15813. - ApiKeyAuth: []
  15814. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  15815. tags:
  15816. - 企业风险管理v3(app)
  15817. /Ermcp3/QueryGoodsGroup:
  15818. get:
  15819. parameters:
  15820. - description: 所属机构id
  15821. in: query
  15822. name: areauserid
  15823. required: true
  15824. type: integer
  15825. - description: 排除套保品中已关联的商品组 1-排除
  15826. in: query
  15827. name: excludecfg
  15828. type: integer
  15829. produces:
  15830. - application/json
  15831. responses:
  15832. "200":
  15833. description: OK
  15834. schema:
  15835. items:
  15836. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  15837. type: array
  15838. "500":
  15839. description: Internal Server Error
  15840. schema:
  15841. $ref: '#/definitions/app.Response'
  15842. security:
  15843. - ApiKeyAuth: []
  15844. summary: 查询期货商品组
  15845. tags:
  15846. - 企业风险管理v3(app)
  15847. /Ermcp3/QueryGoodsWrstandard:
  15848. get:
  15849. parameters:
  15850. - description: 所属机构ID
  15851. in: query
  15852. name: areauserid
  15853. required: true
  15854. type: integer
  15855. - description: 现货商品id
  15856. in: query
  15857. name: deliverygoodsid
  15858. type: integer
  15859. produces:
  15860. - application/json
  15861. responses:
  15862. "200":
  15863. description: OK
  15864. schema:
  15865. items:
  15866. $ref: '#/definitions/models.Ermcp3Wrstandard'
  15867. type: array
  15868. "500":
  15869. description: Internal Server Error
  15870. schema:
  15871. $ref: '#/definitions/app.Response'
  15872. security:
  15873. - ApiKeyAuth: []
  15874. summary: 查询商品品类
  15875. tags:
  15876. - 企业风险管理v3(app)
  15877. /Ermcp3/QueryGoodsbrand:
  15878. get:
  15879. parameters:
  15880. - description: 所属机构ID
  15881. in: query
  15882. name: areauserid
  15883. required: true
  15884. type: integer
  15885. produces:
  15886. - application/json
  15887. responses:
  15888. "200":
  15889. description: OK
  15890. schema:
  15891. items:
  15892. $ref: '#/definitions/models.Ermcp3Brand'
  15893. type: array
  15894. "500":
  15895. description: Internal Server Error
  15896. schema:
  15897. $ref: '#/definitions/app.Response'
  15898. security:
  15899. - ApiKeyAuth: []
  15900. summary: 查询商品品牌
  15901. tags:
  15902. - 企业风险管理v3(app)
  15903. /Ermcp3/QueryHedgePlan:
  15904. get:
  15905. parameters:
  15906. - description: 用户ID
  15907. in: query
  15908. name: userid
  15909. required: true
  15910. type: integer
  15911. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  15912. in: query
  15913. name: hedgeplanstatus
  15914. required: true
  15915. type: string
  15916. produces:
  15917. - application/json
  15918. responses:
  15919. "200":
  15920. description: OK
  15921. schema:
  15922. items:
  15923. $ref: '#/definitions/models.Ermcp3HedgePlan'
  15924. type: array
  15925. "500":
  15926. description: Internal Server Error
  15927. schema:
  15928. $ref: '#/definitions/app.Response'
  15929. security:
  15930. - ApiKeyAuth: []
  15931. summary: 查询套保计划
  15932. tags:
  15933. - 企业风险管理v3(app)
  15934. /Ermcp3/QueryMiddleGoodsDetail:
  15935. get:
  15936. parameters:
  15937. - description: 所属机构ID
  15938. in: query
  15939. name: areauserid
  15940. required: true
  15941. type: integer
  15942. - description: 套保品种id
  15943. in: query
  15944. name: middlegoodsid
  15945. type: integer
  15946. produces:
  15947. - application/json
  15948. responses:
  15949. "200":
  15950. description: OK
  15951. schema:
  15952. items:
  15953. $ref: '#/definitions/models.Ermcp3MiddleGoodsDetailEx'
  15954. type: array
  15955. "500":
  15956. description: Internal Server Error
  15957. schema:
  15958. $ref: '#/definitions/app.Response'
  15959. security:
  15960. - ApiKeyAuth: []
  15961. summary: 查询套保品种详情(套保品种/商品详情)
  15962. tags:
  15963. - 企业风险管理v3(app)
  15964. /Ermcp3/QuerySpotContract:
  15965. get:
  15966. parameters:
  15967. - description: 所属机构ID
  15968. in: query
  15969. name: areauserid
  15970. required: true
  15971. type: integer
  15972. - description: 查询类型 1-未提交 2-待审核 3-履约中 4-已完成
  15973. in: query
  15974. name: querytype
  15975. required: true
  15976. type: integer
  15977. - description: 用户ID
  15978. in: query
  15979. name: userid
  15980. type: integer
  15981. - description: 用户类型 2-机构 7-企业成员
  15982. in: query
  15983. name: usertype
  15984. type: integer
  15985. - description: 合同ID(SpotContractId)
  15986. in: query
  15987. name: contractid
  15988. type: string
  15989. produces:
  15990. - application/json
  15991. responses:
  15992. "200":
  15993. description: OK
  15994. schema:
  15995. items:
  15996. $ref: '#/definitions/models.Ermcp3Contract'
  15997. type: array
  15998. "500":
  15999. description: Internal Server Error
  16000. schema:
  16001. $ref: '#/definitions/app.Response'
  16002. security:
  16003. - ApiKeyAuth: []
  16004. summary: 查询现货合同
  16005. tags:
  16006. - 企业风险管理v3(app)
  16007. /Ermcp3/QuerySpotContractBS:
  16008. get:
  16009. parameters:
  16010. - description: 所属机构ID
  16011. in: query
  16012. name: areauserid
  16013. required: true
  16014. type: integer
  16015. - description: 合同类型 1-采购, -1-销售
  16016. in: query
  16017. name: contracttype
  16018. required: true
  16019. type: integer
  16020. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  16021. in: query
  16022. name: querytype
  16023. required: true
  16024. type: integer
  16025. - description: 用户ID
  16026. in: query
  16027. name: userid
  16028. type: integer
  16029. - description: 用户类型 2-机构 7-企业成员
  16030. in: query
  16031. name: usertype
  16032. type: integer
  16033. - description: 合同ID(SpotContractId)
  16034. in: query
  16035. name: contractid
  16036. type: string
  16037. produces:
  16038. - application/json
  16039. responses:
  16040. "200":
  16041. description: OK
  16042. schema:
  16043. items:
  16044. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  16045. type: array
  16046. "500":
  16047. description: Internal Server Error
  16048. schema:
  16049. $ref: '#/definitions/app.Response'
  16050. security:
  16051. - ApiKeyAuth: []
  16052. summary: 查询合同(采购/销售)
  16053. tags:
  16054. - 企业风险管理v3(app)
  16055. /Ermcp3/QuerySpotGoodsPrice:
  16056. get:
  16057. parameters:
  16058. - description: 用户ID
  16059. in: query
  16060. name: userid
  16061. required: true
  16062. type: integer
  16063. produces:
  16064. - application/json
  16065. responses:
  16066. "200":
  16067. description: OK
  16068. schema:
  16069. items:
  16070. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  16071. type: array
  16072. "500":
  16073. description: Internal Server Error
  16074. schema:
  16075. $ref: '#/definitions/app.Response'
  16076. security:
  16077. - ApiKeyAuth: []
  16078. summary: 查询现货市价(现货市价)
  16079. tags:
  16080. - 企业风险管理v3(app)
  16081. /Ermcp3/QuerySpotGoodsPriceLog:
  16082. get:
  16083. parameters:
  16084. - description: 用户ID
  16085. in: query
  16086. name: userid
  16087. required: true
  16088. type: integer
  16089. - description: 现货商品ID
  16090. in: query
  16091. name: deliverygoodsid
  16092. required: true
  16093. type: integer
  16094. - description: 品牌ID
  16095. in: query
  16096. name: brandid
  16097. type: integer
  16098. - description: 品类ID
  16099. in: query
  16100. name: wrstandardid
  16101. type: integer
  16102. produces:
  16103. - application/json
  16104. responses:
  16105. "200":
  16106. description: OK
  16107. schema:
  16108. items:
  16109. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  16110. type: array
  16111. "500":
  16112. description: Internal Server Error
  16113. schema:
  16114. $ref: '#/definitions/app.Response'
  16115. security:
  16116. - ApiKeyAuth: []
  16117. summary: 查询现货市价详情(现货市价/详情)
  16118. tags:
  16119. - 企业风险管理v3(app)
  16120. /Erms2/QueryArbitrageStrategy:
  16121. get:
  16122. parameters:
  16123. - description: 账户ID
  16124. in: query
  16125. name: userid
  16126. required: true
  16127. type: integer
  16128. - description: 商品组ID(品种ID)
  16129. in: query
  16130. name: goodsgroupid
  16131. type: string
  16132. produces:
  16133. - application/json
  16134. responses:
  16135. "200":
  16136. description: OK
  16137. schema:
  16138. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  16139. "500":
  16140. description: Internal Server Error
  16141. schema:
  16142. $ref: '#/definitions/app.Response'
  16143. security:
  16144. - ApiKeyAuth: []
  16145. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  16146. tags:
  16147. - 风险管理
  16148. /Erms2/QueryInnerTradeDetail:
  16149. get:
  16150. parameters:
  16151. - description: 资金账户
  16152. in: query
  16153. name: accountid
  16154. required: true
  16155. type: integer
  16156. produces:
  16157. - application/json
  16158. responses:
  16159. "200":
  16160. description: OK
  16161. schema:
  16162. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  16163. "500":
  16164. description: Internal Server Error
  16165. schema:
  16166. $ref: '#/definitions/app.Response'
  16167. security:
  16168. - ApiKeyAuth: []
  16169. summary: 查询内部成交单信息
  16170. tags:
  16171. - 风险管理
  16172. /Erms2/QuerySpotContract:
  16173. get:
  16174. parameters:
  16175. - description: 策略申请ID
  16176. in: query
  16177. name: asapplyid
  16178. required: true
  16179. type: integer
  16180. - description: 现货合同ID
  16181. in: query
  16182. name: spotcontractid
  16183. type: integer
  16184. produces:
  16185. - application/json
  16186. responses:
  16187. "200":
  16188. description: OK
  16189. schema:
  16190. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  16191. "500":
  16192. description: Internal Server Error
  16193. schema:
  16194. $ref: '#/definitions/app.Response'
  16195. security:
  16196. - ApiKeyAuth: []
  16197. summary: 查询现货合同表信息(指定策略ID、未结束的)
  16198. tags:
  16199. - 风险管理
  16200. /Erms3/AddErms2ASApply:
  16201. post:
  16202. parameters:
  16203. - description: 申请参数
  16204. in: body
  16205. name: jsonBody
  16206. required: true
  16207. schema:
  16208. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  16209. produces:
  16210. - application/json
  16211. responses:
  16212. "200":
  16213. description: OK
  16214. schema:
  16215. $ref: '#/definitions/app.Response'
  16216. "500":
  16217. description: Internal Server Error
  16218. schema:
  16219. $ref: '#/definitions/app.Response'
  16220. security:
  16221. - ApiKeyAuth: []
  16222. summary: 新增期现套利业务申请
  16223. tags:
  16224. - 风险管理v3
  16225. /Erms3/AddErms2SpotTradeApply:
  16226. post:
  16227. parameters:
  16228. - description: 申请参数
  16229. in: body
  16230. name: jsonBody
  16231. required: true
  16232. schema:
  16233. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  16234. produces:
  16235. - application/json
  16236. responses:
  16237. "200":
  16238. description: OK
  16239. schema:
  16240. $ref: '#/definitions/app.Response'
  16241. "500":
  16242. description: Internal Server Error
  16243. schema:
  16244. $ref: '#/definitions/app.Response'
  16245. security:
  16246. - ApiKeyAuth: []
  16247. summary: 新增现货贸易业务申请
  16248. tags:
  16249. - 风险管理v3
  16250. /Erms3/AddSpotContractApply:
  16251. post:
  16252. parameters:
  16253. - description: 申请参数
  16254. in: body
  16255. name: jsonBody
  16256. required: true
  16257. schema:
  16258. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  16259. produces:
  16260. - application/json
  16261. responses:
  16262. "200":
  16263. description: OK
  16264. schema:
  16265. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  16266. "500":
  16267. description: Internal Server Error
  16268. schema:
  16269. $ref: '#/definitions/app.Response'
  16270. security:
  16271. - ApiKeyAuth: []
  16272. summary: 新增现货合同申请
  16273. tags:
  16274. - 风险管理v3
  16275. /Erms3/AddUserInfoApply:
  16276. post:
  16277. parameters:
  16278. - description: 用户信息
  16279. in: body
  16280. name: jsonBody
  16281. required: true
  16282. schema:
  16283. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  16284. produces:
  16285. - application/json
  16286. responses:
  16287. "200":
  16288. description: OK
  16289. schema:
  16290. $ref: '#/definitions/app.Response'
  16291. "500":
  16292. description: Internal Server Error
  16293. schema:
  16294. $ref: '#/definitions/app.Response'
  16295. security:
  16296. - ApiKeyAuth: []
  16297. summary: 新增客户申请
  16298. tags:
  16299. - 风险管理v3
  16300. /Erms3/DeleteUserInfoApply:
  16301. get:
  16302. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  16303. parameters:
  16304. - description: 用户ID
  16305. in: query
  16306. name: userID
  16307. required: true
  16308. type: integer
  16309. produces:
  16310. - application/json
  16311. responses:
  16312. "200":
  16313. description: OK
  16314. schema:
  16315. $ref: '#/definitions/app.Response'
  16316. "500":
  16317. description: Internal Server Error
  16318. schema:
  16319. $ref: '#/definitions/app.Response'
  16320. security:
  16321. - ApiKeyAuth: []
  16322. summary: 删除客户申请
  16323. tags:
  16324. - 风险管理v3
  16325. /Erms3/ModifyUserInfoApply:
  16326. post:
  16327. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  16328. int, "userstate": 2 }'
  16329. parameters:
  16330. - description: 用户信息
  16331. in: body
  16332. name: jsonBody
  16333. required: true
  16334. schema:
  16335. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  16336. produces:
  16337. - application/json
  16338. responses:
  16339. "200":
  16340. description: OK
  16341. schema:
  16342. $ref: '#/definitions/app.Response'
  16343. "500":
  16344. description: Internal Server Error
  16345. schema:
  16346. $ref: '#/definitions/app.Response'
  16347. security:
  16348. - ApiKeyAuth: []
  16349. summary: 修改客户申请
  16350. tags:
  16351. - 风险管理v3
  16352. /Erms3/QueryBusinessInfo:
  16353. get:
  16354. parameters:
  16355. - description: 资金账号ID列表,用逗号分隔
  16356. in: query
  16357. name: accountids
  16358. required: true
  16359. type: string
  16360. - description: 状态,0为未结束 1为已结束
  16361. in: query
  16362. name: status
  16363. required: true
  16364. type: integer
  16365. produces:
  16366. - application/json
  16367. responses:
  16368. "200":
  16369. description: OK
  16370. schema:
  16371. items:
  16372. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  16373. type: array
  16374. "500":
  16375. description: Internal Server Error
  16376. schema:
  16377. $ref: '#/definitions/app.Response'
  16378. security:
  16379. - ApiKeyAuth: []
  16380. summary: 查询业务表单数据
  16381. tags:
  16382. - 风险管理v3
  16383. /Erms3/QueryPendingAuditContract:
  16384. get:
  16385. parameters:
  16386. - description: 资金账号ID列表,逗号隔开
  16387. in: query
  16388. name: accountids
  16389. required: true
  16390. type: string
  16391. - description: 合同类型 1-采购 -1-销售
  16392. in: query
  16393. name: contracttype
  16394. required: true
  16395. type: integer
  16396. - description: 合同模式 1-普通 2-回购
  16397. in: query
  16398. name: contractmode
  16399. required: true
  16400. type: integer
  16401. produces:
  16402. - application/json
  16403. responses:
  16404. "200":
  16405. description: OK
  16406. schema:
  16407. items:
  16408. $ref: '#/definitions/erms3.QryAuditContractRsp'
  16409. type: array
  16410. "500":
  16411. description: Internal Server Error
  16412. schema:
  16413. $ref: '#/definitions/app.Response'
  16414. security:
  16415. - ApiKeyAuth: []
  16416. summary: 查询待审核合同
  16417. tags:
  16418. - 风险管理v3
  16419. /Erms3/QueryPendingBusiness:
  16420. get:
  16421. parameters:
  16422. - description: 资金账号ID列表,逗号隔开
  16423. in: query
  16424. name: accountids
  16425. required: true
  16426. type: string
  16427. produces:
  16428. - application/json
  16429. responses:
  16430. "200":
  16431. description: OK
  16432. schema:
  16433. items:
  16434. $ref: '#/definitions/erms3.QryPendingBizRsp'
  16435. type: array
  16436. "500":
  16437. description: Internal Server Error
  16438. schema:
  16439. $ref: '#/definitions/app.Response'
  16440. security:
  16441. - ApiKeyAuth: []
  16442. summary: 查询待审核基差贸易业务
  16443. tags:
  16444. - 风险管理v3
  16445. /Erms3/QuerySpotContractAppleForm:
  16446. get:
  16447. parameters:
  16448. - description: 登录账号
  16449. in: query
  16450. name: loginID
  16451. required: true
  16452. type: integer
  16453. produces:
  16454. - application/json
  16455. responses:
  16456. "200":
  16457. description: OK
  16458. schema:
  16459. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  16460. "500":
  16461. description: Internal Server Error
  16462. schema:
  16463. $ref: '#/definitions/app.Response'
  16464. security:
  16465. - ApiKeyAuth: []
  16466. summary: 查询合同申请表单数据
  16467. tags:
  16468. - 风险管理v3
  16469. /Erms3/QuerySpotContractDetail:
  16470. get:
  16471. parameters:
  16472. - description: 资金账号ID列表,用逗号分隔
  16473. in: query
  16474. name: accountids
  16475. required: true
  16476. type: string
  16477. - description: 合同类型,1为采购合同 -1为销售合同
  16478. in: query
  16479. name: contracttype
  16480. required: true
  16481. type: integer
  16482. - description: 合同模式,1为普通合同 2为回购销售合同
  16483. in: query
  16484. name: contractmode
  16485. required: true
  16486. type: integer
  16487. - description: 状态,0为履约中 1为已完成
  16488. in: query
  16489. name: status
  16490. required: true
  16491. type: integer
  16492. produces:
  16493. - application/json
  16494. responses:
  16495. "200":
  16496. description: OK
  16497. schema:
  16498. items:
  16499. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  16500. type: array
  16501. "500":
  16502. description: Internal Server Error
  16503. schema:
  16504. $ref: '#/definitions/app.Response'
  16505. security:
  16506. - ApiKeyAuth: []
  16507. summary: 查询合同详细信息
  16508. tags:
  16509. - 风险管理v3
  16510. /Erms3/QueryUserInfoApplies:
  16511. get:
  16512. parameters:
  16513. - description: 页码
  16514. in: query
  16515. name: page
  16516. type: integer
  16517. - description: 每页条数
  16518. in: query
  16519. name: pagesize
  16520. type: integer
  16521. - description: 客户名称,支持模糊查询
  16522. in: query
  16523. name: userName
  16524. type: string
  16525. produces:
  16526. - application/json
  16527. responses:
  16528. "200":
  16529. description: OK
  16530. schema:
  16531. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  16532. "500":
  16533. description: Internal Server Error
  16534. schema:
  16535. $ref: '#/definitions/app.Response'
  16536. security:
  16537. - ApiKeyAuth: []
  16538. summary: 客户申请信息查询
  16539. tags:
  16540. - 风险管理v3
  16541. /Erms3/QueryUserInfos:
  16542. get:
  16543. parameters:
  16544. - description: 页码
  16545. in: query
  16546. name: page
  16547. type: integer
  16548. - description: 每页条数
  16549. in: query
  16550. name: pagesize
  16551. type: integer
  16552. - description: 客户名称,支持模糊查询
  16553. in: query
  16554. name: userName
  16555. type: string
  16556. produces:
  16557. - application/json
  16558. responses:
  16559. "200":
  16560. description: OK
  16561. schema:
  16562. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  16563. "500":
  16564. description: Internal Server Error
  16565. schema:
  16566. $ref: '#/definitions/app.Response'
  16567. security:
  16568. - ApiKeyAuth: []
  16569. summary: 客户信息查询
  16570. tags:
  16571. - 风险管理v3
  16572. /HSBY/GetHsbyMyCount:
  16573. get:
  16574. description: 说明: 不包括已完成的数量。
  16575. parameters:
  16576. - description: 资金账户列表,格式:1,2,3
  16577. in: query
  16578. name: accountIDs
  16579. required: true
  16580. type: string
  16581. produces:
  16582. - application/json
  16583. responses:
  16584. "200":
  16585. description: OK
  16586. schema:
  16587. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  16588. "500":
  16589. description: Internal Server Error
  16590. schema:
  16591. $ref: '#/definitions/app.Response'
  16592. security:
  16593. - ApiKeyAuth: []
  16594. summary: 获取我的订单与包裹数量
  16595. tags:
  16596. - 定制【海商报业】
  16597. /HSBY/QueryClientFixedADConfigs:
  16598. get:
  16599. produces:
  16600. - application/json
  16601. responses:
  16602. "200":
  16603. description: OK
  16604. schema:
  16605. $ref: '#/definitions/models.Clientfixedadconfig'
  16606. "500":
  16607. description: Internal Server Error
  16608. schema:
  16609. $ref: '#/definitions/app.Response'
  16610. security:
  16611. - ApiKeyAuth: []
  16612. summary: 获取终端固定广告配置
  16613. tags:
  16614. - 定制【海商报业】
  16615. /HSBY/QueryHsbyBuyMyTradeDetail:
  16616. get:
  16617. parameters:
  16618. - description: 页码
  16619. in: query
  16620. name: page
  16621. type: integer
  16622. - description: 每页条数
  16623. in: query
  16624. name: pagesize
  16625. type: integer
  16626. - description: 资金账户列表,格式:1,2,3
  16627. in: query
  16628. name: accountIDs
  16629. required: true
  16630. type: string
  16631. produces:
  16632. - application/json
  16633. responses:
  16634. "200":
  16635. description: OK
  16636. schema:
  16637. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  16638. "500":
  16639. description: Internal Server Error
  16640. schema:
  16641. $ref: '#/definitions/app.Response'
  16642. security:
  16643. - ApiKeyAuth: []
  16644. summary: 查询"我的订单 - 已完成"单据信息
  16645. tags:
  16646. - 定制【海商报业】
  16647. /HSBY/QueryHsbyGoodsOrderDetails:
  16648. get:
  16649. description: 说明:查询结果已按委托价格和委托时间排序
  16650. parameters:
  16651. - description: 商品ID
  16652. in: query
  16653. name: goodsID
  16654. required: true
  16655. type: integer
  16656. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  16657. in: query
  16658. name: accountIDs
  16659. type: string
  16660. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  16661. in: query
  16662. name: buyOrSell
  16663. type: integer
  16664. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  16665. in: query
  16666. name: price
  16667. type: number
  16668. - description: 档位,不传则默认为3档
  16669. in: query
  16670. name: speed
  16671. type: integer
  16672. produces:
  16673. - application/json
  16674. responses:
  16675. "200":
  16676. description: OK
  16677. schema:
  16678. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  16679. "500":
  16680. description: Internal Server Error
  16681. schema:
  16682. $ref: '#/definitions/app.Response'
  16683. security:
  16684. - ApiKeyAuth: []
  16685. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  16686. tags:
  16687. - 定制【海商报业】
  16688. /HSBY/QueryHsbyListingGoodsDetail:
  16689. get:
  16690. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  16691. parameters:
  16692. - description: 商品ID
  16693. in: query
  16694. name: goodsID
  16695. required: true
  16696. type: integer
  16697. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  16698. in: query
  16699. name: accountID
  16700. type: integer
  16701. produces:
  16702. - application/json
  16703. responses:
  16704. "200":
  16705. description: OK
  16706. schema:
  16707. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  16708. "500":
  16709. description: Internal Server Error
  16710. schema:
  16711. $ref: '#/definitions/app.Response'
  16712. security:
  16713. - ApiKeyAuth: []
  16714. summary: 查询二级市场(挂牌点选)商品信息详情
  16715. tags:
  16716. - 定制【海商报业】
  16717. /HSBY/QueryHsbyMarketGoodsDetail:
  16718. get:
  16719. parameters:
  16720. - description: 委托单号
  16721. in: query
  16722. name: orderID
  16723. required: true
  16724. type: integer
  16725. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  16726. in: query
  16727. name: accountID
  16728. type: integer
  16729. produces:
  16730. - application/json
  16731. responses:
  16732. "200":
  16733. description: OK
  16734. schema:
  16735. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  16736. "500":
  16737. description: Internal Server Error
  16738. schema:
  16739. $ref: '#/definitions/app.Response'
  16740. security:
  16741. - ApiKeyAuth: []
  16742. summary: 查询三级市场(商城)商品信息详情
  16743. tags:
  16744. - 定制【海商报业】
  16745. /HSBY/QueryHsbyMarketGoodses:
  16746. get:
  16747. parameters:
  16748. - description: 页码
  16749. in: query
  16750. name: page
  16751. type: integer
  16752. - description: 每页条数
  16753. in: query
  16754. name: pagesize
  16755. type: integer
  16756. - description: 市场ID列表,格式:1,2,3
  16757. in: query
  16758. name: marketIDs
  16759. required: true
  16760. type: string
  16761. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  16762. in: query
  16763. name: accountID
  16764. required: true
  16765. type: integer
  16766. - description: 类别ID
  16767. in: query
  16768. name: categoryID
  16769. type: integer
  16770. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  16771. in: query
  16772. name: goodsIDs
  16773. type: string
  16774. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  16775. in: query
  16776. name: couponTypeID
  16777. type: integer
  16778. produces:
  16779. - application/json
  16780. responses:
  16781. "200":
  16782. description: OK
  16783. schema:
  16784. $ref: '#/definitions/models.HsbyMarketGoods'
  16785. "500":
  16786. description: Internal Server Error
  16787. schema:
  16788. $ref: '#/definitions/app.Response'
  16789. security:
  16790. - ApiKeyAuth: []
  16791. summary: 查询特卖商品列表(三级商城)
  16792. tags:
  16793. - 定制【海商报业】
  16794. /HSBY/QueryHsbyMarkets:
  16795. get:
  16796. produces:
  16797. - application/json
  16798. responses:
  16799. "200":
  16800. description: OK
  16801. schema:
  16802. $ref: '#/definitions/models.HsbyMarketInfo'
  16803. "500":
  16804. description: Internal Server Error
  16805. schema:
  16806. $ref: '#/definitions/app.Response'
  16807. security:
  16808. - ApiKeyAuth: []
  16809. summary: 查询海商报业相关市场信息
  16810. tags:
  16811. - 定制【海商报业】
  16812. /HSBY/QueryHsbyMyBuyOrderDetails:
  16813. get:
  16814. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  16815. parameters:
  16816. - description: 资金账户列表,格式:1,2,3
  16817. in: query
  16818. name: accountIDs
  16819. required: true
  16820. type: string
  16821. produces:
  16822. - application/json
  16823. responses:
  16824. "200":
  16825. description: OK
  16826. schema:
  16827. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  16828. "500":
  16829. description: Internal Server Error
  16830. schema:
  16831. $ref: '#/definitions/app.Response'
  16832. security:
  16833. - ApiKeyAuth: []
  16834. summary: 查询“我的订单”信息
  16835. tags:
  16836. - 定制【海商报业】
  16837. /HSBY/QueryHsbyMyGoods:
  16838. get:
  16839. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  16840. parameters:
  16841. - description: 资金账户列表,格式:1,2,3
  16842. in: query
  16843. name: accountIDs
  16844. required: true
  16845. type: string
  16846. produces:
  16847. - application/json
  16848. responses:
  16849. "200":
  16850. description: OK
  16851. schema:
  16852. $ref: '#/definitions/models.HsbyMyGoods'
  16853. "500":
  16854. description: Internal Server Error
  16855. schema:
  16856. $ref: '#/definitions/app.Response'
  16857. security:
  16858. - ApiKeyAuth: []
  16859. summary: 查询“我的商品”信息
  16860. tags:
  16861. - 定制【海商报业】
  16862. /HSBY/QueryHsbyMyPackages:
  16863. get:
  16864. parameters:
  16865. - description: 资金账户列表,格式:1,2,3
  16866. in: query
  16867. name: accountIDs
  16868. required: true
  16869. type: string
  16870. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  16871. in: query
  16872. name: takeOrderStatus
  16873. type: integer
  16874. produces:
  16875. - application/json
  16876. responses:
  16877. "200":
  16878. description: OK
  16879. schema:
  16880. $ref: '#/definitions/models.HsbyMyPackage'
  16881. "500":
  16882. description: Internal Server Error
  16883. schema:
  16884. $ref: '#/definitions/app.Response'
  16885. security:
  16886. - ApiKeyAuth: []
  16887. summary: 查询我的包裹信息
  16888. tags:
  16889. - 定制【海商报业】
  16890. /HSBY/QueryHsbyPreGoodsDetail:
  16891. get:
  16892. parameters:
  16893. - description: 商品ID
  16894. in: query
  16895. name: goodsID
  16896. required: true
  16897. type: integer
  16898. - description: 资金账户,主要用于获取预售商品购买上限
  16899. in: query
  16900. name: accountID
  16901. type: integer
  16902. produces:
  16903. - application/json
  16904. responses:
  16905. "200":
  16906. description: OK
  16907. schema:
  16908. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  16909. "500":
  16910. description: Internal Server Error
  16911. schema:
  16912. $ref: '#/definitions/app.Response'
  16913. security:
  16914. - ApiKeyAuth: []
  16915. summary: 查询一级市场(预售)商品信息详情
  16916. tags:
  16917. - 定制【海商报业】
  16918. /HSBY/QueryHsbyPreGoodses:
  16919. get:
  16920. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  16921. parameters:
  16922. - description: 页码
  16923. in: query
  16924. name: page
  16925. type: integer
  16926. - description: 每页条数
  16927. in: query
  16928. name: pagesize
  16929. type: integer
  16930. - description: 市场ID列表,格式:1,2,3
  16931. in: query
  16932. name: marketIDs
  16933. required: true
  16934. type: string
  16935. - description: 目的地(省)ID
  16936. in: query
  16937. name: descProvinceID
  16938. type: integer
  16939. - description: 目的地(市)ID
  16940. in: query
  16941. name: descCityID
  16942. type: integer
  16943. produces:
  16944. - application/json
  16945. responses:
  16946. "200":
  16947. description: OK
  16948. schema:
  16949. $ref: '#/definitions/models.HsbyPreGoods'
  16950. "500":
  16951. description: Internal Server Error
  16952. schema:
  16953. $ref: '#/definitions/app.Response'
  16954. security:
  16955. - ApiKeyAuth: []
  16956. summary: 查询新品上市商品列表(一级市场预售)
  16957. tags:
  16958. - 定制【海商报业】
  16959. /HSBY/QueryHsbySellMyDetails:
  16960. get:
  16961. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  16962. parameters:
  16963. - description: 页码
  16964. in: query
  16965. name: page
  16966. type: integer
  16967. - description: 每页条数
  16968. in: query
  16969. name: pagesize
  16970. type: integer
  16971. - description: 资金账户列表,格式:1,2,3
  16972. in: query
  16973. name: accountIDs
  16974. required: true
  16975. type: string
  16976. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  16977. in: query
  16978. name: orderType
  16979. type: integer
  16980. produces:
  16981. - application/json
  16982. responses:
  16983. "200":
  16984. description: OK
  16985. schema:
  16986. $ref: '#/definitions/models.HsbySellMyDetail'
  16987. "500":
  16988. description: Internal Server Error
  16989. schema:
  16990. $ref: '#/definitions/app.Response'
  16991. security:
  16992. - ApiKeyAuth: []
  16993. summary: 查询"我的闲置"单据信息
  16994. tags:
  16995. - 定制【海商报业】
  16996. /HSBY/QueryHsbyTopGoodses:
  16997. get:
  16998. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  16999. parameters:
  17000. - description: 页码
  17001. in: query
  17002. name: page
  17003. type: integer
  17004. - description: 每页条数
  17005. in: query
  17006. name: pagesize
  17007. type: integer
  17008. - description: 市场ID列表,格式:1,2,3
  17009. in: query
  17010. name: marketIDs
  17011. required: true
  17012. type: string
  17013. - description: 目的地(省)ID
  17014. in: query
  17015. name: descProvinceID
  17016. type: integer
  17017. - description: 目的地(市)ID
  17018. in: query
  17019. name: descCityID
  17020. type: integer
  17021. produces:
  17022. - application/json
  17023. responses:
  17024. "200":
  17025. description: OK
  17026. schema:
  17027. $ref: '#/definitions/models.HsbyTopGoods'
  17028. "500":
  17029. description: Internal Server Error
  17030. schema:
  17031. $ref: '#/definitions/app.Response'
  17032. security:
  17033. - ApiKeyAuth: []
  17034. summary: 查询热卖商品列表(二级市场挂牌点选)
  17035. tags:
  17036. - 定制【海商报业】
  17037. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  17038. get:
  17039. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  17040. parameters:
  17041. - description: 商品ID
  17042. in: query
  17043. name: goodsID
  17044. required: true
  17045. type: integer
  17046. produces:
  17047. - application/json
  17048. responses:
  17049. "200":
  17050. description: OK
  17051. schema:
  17052. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  17053. "500":
  17054. description: Internal Server Error
  17055. schema:
  17056. $ref: '#/definitions/app.Response'
  17057. security:
  17058. - ApiKeyAuth: []
  17059. summary: 查询游客三级市场(商城)商品信息详情
  17060. tags:
  17061. - 定制【海商报业】
  17062. /HSBY/QueryHsbyVisitorMarketGoodses:
  17063. get:
  17064. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  17065. parameters:
  17066. - description: 页码
  17067. in: query
  17068. name: page
  17069. type: integer
  17070. - description: 每页条数
  17071. in: query
  17072. name: pagesize
  17073. type: integer
  17074. - description: 市场ID列表,格式:1,2,3
  17075. in: query
  17076. name: marketIDs
  17077. required: true
  17078. type: string
  17079. - description: 类别ID
  17080. in: query
  17081. name: categoryID
  17082. type: integer
  17083. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  17084. in: query
  17085. name: goodsIDs
  17086. type: string
  17087. produces:
  17088. - application/json
  17089. responses:
  17090. "200":
  17091. description: OK
  17092. schema:
  17093. $ref: '#/definitions/models.HsbyMarketGoods'
  17094. "500":
  17095. description: Internal Server Error
  17096. schema:
  17097. $ref: '#/definitions/app.Response'
  17098. security:
  17099. - ApiKeyAuth: []
  17100. summary: 查询游客特卖商品列表(三级商城)
  17101. tags:
  17102. - 定制【海商报业】
  17103. /HSBY/QueryMyCollectionOrders:
  17104. get:
  17105. parameters:
  17106. - description: 页码
  17107. in: query
  17108. name: page
  17109. type: integer
  17110. - description: 每页条数
  17111. in: query
  17112. name: pagesize
  17113. type: integer
  17114. - description: 资金账户,格式:1,2,3
  17115. in: query
  17116. name: accountIDs
  17117. required: true
  17118. type: string
  17119. produces:
  17120. - application/json
  17121. responses:
  17122. "200":
  17123. description: OK
  17124. schema:
  17125. $ref: '#/definitions/models.HsbySellCollectionOrder'
  17126. "500":
  17127. description: Internal Server Error
  17128. schema:
  17129. $ref: '#/definitions/app.Response'
  17130. security:
  17131. - ApiKeyAuth: []
  17132. summary: 我的闲置中收款信息查询
  17133. tags:
  17134. - 定制【海商报业】
  17135. /HSBY/QueryMyCouponHolds:
  17136. get:
  17137. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  17138. parameters:
  17139. - description: 资金账户列表,格式:1,2,3
  17140. in: query
  17141. name: accountIDs
  17142. required: true
  17143. type: string
  17144. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  17145. in: query
  17146. name: holdStatus
  17147. type: string
  17148. produces:
  17149. - application/json
  17150. responses:
  17151. "200":
  17152. description: OK
  17153. schema:
  17154. $ref: '#/definitions/models.MyCouponHold'
  17155. "500":
  17156. description: Internal Server Error
  17157. schema:
  17158. $ref: '#/definitions/app.Response'
  17159. security:
  17160. - ApiKeyAuth: []
  17161. summary: 我的优惠卷持仓查询
  17162. tags:
  17163. - 定制【海商报业】
  17164. /HSBY/QueryMyCoupons:
  17165. get:
  17166. parameters:
  17167. - description: 资金账户列表,格式:1,2,3
  17168. in: query
  17169. name: accountIDs
  17170. required: true
  17171. type: string
  17172. - description: 商品ID, 一般与sellUserID配套传入
  17173. in: query
  17174. name: goodsID
  17175. type: integer
  17176. - description: 卖方UserID
  17177. in: query
  17178. name: sellUserID
  17179. type: integer
  17180. produces:
  17181. - application/json
  17182. responses:
  17183. "200":
  17184. description: OK
  17185. schema:
  17186. $ref: '#/definitions/models.MyCoupon'
  17187. "500":
  17188. description: Internal Server Error
  17189. schema:
  17190. $ref: '#/definitions/app.Response'
  17191. security:
  17192. - ApiKeyAuth: []
  17193. summary: 我的优惠卷查询
  17194. tags:
  17195. - 定制【海商报业】
  17196. /HSBY/QueryMyPayOrders:
  17197. get:
  17198. parameters:
  17199. - description: 页码
  17200. in: query
  17201. name: page
  17202. type: integer
  17203. - description: 每页条数
  17204. in: query
  17205. name: pagesize
  17206. type: integer
  17207. - description: 资金账户列表,格式:1,2,3
  17208. in: query
  17209. name: accountIDs
  17210. required: true
  17211. type: string
  17212. - description: 买方委托单号
  17213. in: query
  17214. name: buyOrderID
  17215. type: integer
  17216. - description: 卖方委托单号
  17217. in: query
  17218. name: sellOrderID
  17219. type: integer
  17220. produces:
  17221. - application/json
  17222. responses:
  17223. "200":
  17224. description: OK
  17225. schema:
  17226. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  17227. "500":
  17228. description: Internal Server Error
  17229. schema:
  17230. $ref: '#/definitions/app.Response'
  17231. security:
  17232. - ApiKeyAuth: []
  17233. summary: 获取我的订单中待付款信息
  17234. tags:
  17235. - 定制【海商报业】
  17236. /HSBY/QueryMyUsedCoupon:
  17237. get:
  17238. parameters:
  17239. - description: 资金账户列表,格式:1,2,3
  17240. in: query
  17241. name: accountIDs
  17242. required: true
  17243. type: string
  17244. produces:
  17245. - application/json
  17246. responses:
  17247. "200":
  17248. description: OK
  17249. schema:
  17250. $ref: '#/definitions/models.MyUsedCoupon'
  17251. "500":
  17252. description: Internal Server Error
  17253. schema:
  17254. $ref: '#/definitions/app.Response'
  17255. security:
  17256. - ApiKeyAuth: []
  17257. summary: 已使用优惠卷查询
  17258. tags:
  17259. - 定制【海商报业】
  17260. /HSBY/QueryProvincesAndCities:
  17261. get:
  17262. description: 查询结果只包括二级市场商品已关连的省市信息。
  17263. parameters:
  17264. - description: 省ID
  17265. in: query
  17266. name: provinceID
  17267. type: integer
  17268. produces:
  17269. - application/json
  17270. responses:
  17271. "200":
  17272. description: OK
  17273. schema:
  17274. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  17275. "500":
  17276. description: Internal Server Error
  17277. schema:
  17278. $ref: '#/definitions/app.Response'
  17279. security:
  17280. - ApiKeyAuth: []
  17281. summary: 查询省市信息(不包括区)
  17282. tags:
  17283. - 定制【海商报业】
  17284. /HSBY/SetHsbyMyPackagesStatus:
  17285. post:
  17286. parameters:
  17287. - description: 提货单号
  17288. in: query
  17289. name: takeOrderID
  17290. required: true
  17291. type: string
  17292. - description: 资金账号
  17293. in: query
  17294. name: accountID
  17295. required: true
  17296. type: integer
  17297. produces:
  17298. - application/json
  17299. responses:
  17300. "200":
  17301. description: OK
  17302. schema:
  17303. $ref: '#/definitions/app.Response'
  17304. "500":
  17305. description: Internal Server Error
  17306. schema:
  17307. $ref: '#/definitions/app.Response'
  17308. security:
  17309. - ApiKeyAuth: []
  17310. summary: 设置我的包裹已收货状态
  17311. tags:
  17312. - 定制【海商报业】
  17313. /Market/QueryGoodsesByLoginID:
  17314. get:
  17315. parameters:
  17316. - description: 登录账号
  17317. in: query
  17318. name: loginID
  17319. required: true
  17320. type: integer
  17321. - description: 市场ID列表,格式:1,2,3
  17322. in: query
  17323. name: marketIDs
  17324. type: string
  17325. produces:
  17326. - application/json
  17327. responses:
  17328. "200":
  17329. description: OK
  17330. schema:
  17331. $ref: '#/definitions/models.Goods'
  17332. "500":
  17333. description: Internal Server Error
  17334. schema:
  17335. $ref: '#/definitions/app.Response'
  17336. security:
  17337. - ApiKeyAuth: []
  17338. summary: 获取登录账号有权限的商品信息
  17339. tags:
  17340. - 通用市场
  17341. /Market/QueryMarketRun:
  17342. get:
  17343. parameters:
  17344. - description: 市场ID,不传返回所有
  17345. in: query
  17346. name: marketID
  17347. type: integer
  17348. produces:
  17349. - application/json
  17350. responses:
  17351. "200":
  17352. description: OK
  17353. schema:
  17354. $ref: '#/definitions/models.Marketrun'
  17355. "500":
  17356. description: Internal Server Error
  17357. schema:
  17358. $ref: '#/definitions/app.Response'
  17359. security:
  17360. - ApiKeyAuth: []
  17361. summary: 查询市场运行信息
  17362. tags:
  17363. - 通用市场
  17364. /Market/QueryMarketsByLoginID:
  17365. get:
  17366. parameters:
  17367. - description: 登录账号
  17368. in: query
  17369. name: loginID
  17370. required: true
  17371. type: integer
  17372. produces:
  17373. - application/json
  17374. responses:
  17375. "200":
  17376. description: OK
  17377. schema:
  17378. $ref: '#/definitions/models.Market'
  17379. "500":
  17380. description: Internal Server Error
  17381. schema:
  17382. $ref: '#/definitions/app.Response'
  17383. security:
  17384. - ApiKeyAuth: []
  17385. summary: 获取登录账号有权限的市场信息
  17386. tags:
  17387. - 通用市场
  17388. /Order/QueryHisTradeDetail:
  17389. get:
  17390. parameters:
  17391. - description: 资金账户 - 格式:1,2,3
  17392. in: query
  17393. name: accountID
  17394. required: true
  17395. type: string
  17396. - description: 成交单号
  17397. in: query
  17398. name: tradeID
  17399. type: integer
  17400. - description: 委托单号
  17401. in: query
  17402. name: orderID
  17403. type: integer
  17404. - description: 交易模式 - 格式:1,2,3
  17405. in: query
  17406. name: tradeMode
  17407. type: string
  17408. - description: 委托单据类型
  17409. in: query
  17410. name: buildType
  17411. type: integer
  17412. - description: 成交类别 - 格式:1,2,3
  17413. in: query
  17414. name: tradeType
  17415. type: string
  17416. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  17417. in: query
  17418. name: startDate
  17419. type: string
  17420. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  17421. in: query
  17422. name: endDate
  17423. type: string
  17424. produces:
  17425. - application/json
  17426. responses:
  17427. "200":
  17428. description: OK
  17429. schema:
  17430. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  17431. "500":
  17432. description: Internal Server Error
  17433. schema:
  17434. $ref: '#/definitions/app.Response'
  17435. security:
  17436. - ApiKeyAuth: []
  17437. summary: 历史成交单查询(合约市场)
  17438. tags:
  17439. - 通用单据
  17440. /Order/QueryHisTradeOrderDetail:
  17441. get:
  17442. parameters:
  17443. - description: 资金账户 - 格式:1,2,3
  17444. in: query
  17445. name: accountID
  17446. required: true
  17447. type: string
  17448. - description: 交易模式 - 格式:1,2,3
  17449. in: query
  17450. name: tradeMode
  17451. type: string
  17452. - description: 委托状态 - 格式:1,2,3
  17453. in: query
  17454. name: orderStatus
  17455. type: string
  17456. - description: 委托单号
  17457. in: query
  17458. name: orderID
  17459. type: integer
  17460. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  17461. in: query
  17462. name: startDate
  17463. type: string
  17464. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  17465. in: query
  17466. name: endDate
  17467. type: string
  17468. produces:
  17469. - application/json
  17470. responses:
  17471. "200":
  17472. description: OK
  17473. schema:
  17474. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  17475. "500":
  17476. description: Internal Server Error
  17477. schema:
  17478. $ref: '#/definitions/app.Response'
  17479. security:
  17480. - ApiKeyAuth: []
  17481. summary: 历史委托单查询请求(合约市场)
  17482. tags:
  17483. - 通用单据
  17484. /Order/QueryTradeDetail:
  17485. get:
  17486. parameters:
  17487. - description: 资金账户 - 格式:1,2,3
  17488. in: query
  17489. name: accountID
  17490. required: true
  17491. type: string
  17492. - description: 成交单号
  17493. in: query
  17494. name: tradeID
  17495. type: integer
  17496. - description: 委托单号
  17497. in: query
  17498. name: orderID
  17499. type: integer
  17500. - description: 交易模式 - 格式:1,2,3
  17501. in: query
  17502. name: tradeMode
  17503. type: string
  17504. - description: 委托单据类型
  17505. in: query
  17506. name: buildType
  17507. type: integer
  17508. - description: 成交类别 - 格式:1,2,3
  17509. in: query
  17510. name: tradeType
  17511. type: string
  17512. produces:
  17513. - application/json
  17514. responses:
  17515. "200":
  17516. description: OK
  17517. schema:
  17518. $ref: '#/definitions/order.QueryTradeDetailRsp'
  17519. "500":
  17520. description: Internal Server Error
  17521. schema:
  17522. $ref: '#/definitions/app.Response'
  17523. security:
  17524. - ApiKeyAuth: []
  17525. summary: 成交单查询(合约市场)
  17526. tags:
  17527. - 通用单据
  17528. /Order/QueryTradeOrderDetail:
  17529. get:
  17530. parameters:
  17531. - description: 资金账户 - 格式:1,2,3
  17532. in: query
  17533. name: accountID
  17534. required: true
  17535. type: string
  17536. - description: 交易模式 - 格式:1,2,3
  17537. in: query
  17538. name: tradeMode
  17539. type: string
  17540. - description: 委托状态 - 格式:1,2,3
  17541. in: query
  17542. name: orderStatus
  17543. type: string
  17544. - description: 委托单号
  17545. in: query
  17546. name: orderID
  17547. type: integer
  17548. produces:
  17549. - application/json
  17550. responses:
  17551. "200":
  17552. description: OK
  17553. schema:
  17554. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  17555. "500":
  17556. description: Internal Server Error
  17557. schema:
  17558. $ref: '#/definitions/app.Response'
  17559. security:
  17560. - ApiKeyAuth: []
  17561. summary: 委托单查询请求(合约市场)
  17562. tags:
  17563. - 通用单据
  17564. /Order/QueryTradePosition:
  17565. get:
  17566. parameters:
  17567. - description: 资金账户 - 格式:1,2,3
  17568. in: query
  17569. name: accountID
  17570. required: true
  17571. type: string
  17572. - description: 交易模式 - 格式:1,2,3
  17573. in: query
  17574. name: tradeMode
  17575. type: string
  17576. produces:
  17577. - application/json
  17578. responses:
  17579. "200":
  17580. description: OK
  17581. schema:
  17582. $ref: '#/definitions/order.QueryTradePositionRsp'
  17583. "500":
  17584. description: Internal Server Error
  17585. schema:
  17586. $ref: '#/definitions/app.Response'
  17587. security:
  17588. - ApiKeyAuth: []
  17589. summary: 持仓汇总查询(合约市场)
  17590. tags:
  17591. - 通用单据
  17592. /Quote/QueryHistoryDatas:
  17593. get:
  17594. parameters:
  17595. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  17596. 日线'
  17597. in: query
  17598. name: cycleType
  17599. required: true
  17600. type: integer
  17601. - description: 商品代码
  17602. in: query
  17603. name: goodsCode
  17604. required: true
  17605. type: string
  17606. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  17607. in: query
  17608. name: startTime
  17609. type: string
  17610. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  17611. in: query
  17612. name: endTime
  17613. type: string
  17614. - description: 条数
  17615. in: query
  17616. name: count
  17617. type: integer
  17618. - description: 是否按时间顺序排序(默认为时间倒序排序)
  17619. in: query
  17620. name: isAsc
  17621. type: boolean
  17622. produces:
  17623. - application/json
  17624. responses:
  17625. "200":
  17626. description: OK
  17627. schema:
  17628. $ref: '#/definitions/quote.HistoryData'
  17629. "500":
  17630. description: Internal Server Error
  17631. schema:
  17632. $ref: '#/definitions/app.Response'
  17633. security:
  17634. - ApiKeyAuth: []
  17635. summary: 查询行情历史数据
  17636. tags:
  17637. - 行情服务
  17638. /Quote/QueryHistoryTikDatas:
  17639. get:
  17640. parameters:
  17641. - description: 商品代码
  17642. in: query
  17643. name: goodsCode
  17644. required: true
  17645. type: string
  17646. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  17647. in: query
  17648. name: startTime
  17649. type: string
  17650. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  17651. in: query
  17652. name: endTime
  17653. type: string
  17654. - description: 条数
  17655. in: query
  17656. name: count
  17657. type: integer
  17658. - description: 是否按时间顺序排序(默认为时间倒序排序)
  17659. in: query
  17660. name: isAsc
  17661. type: boolean
  17662. produces:
  17663. - application/json
  17664. responses:
  17665. "200":
  17666. description: OK
  17667. schema:
  17668. $ref: '#/definitions/quote.HistoryTikData'
  17669. "500":
  17670. description: Internal Server Error
  17671. schema:
  17672. $ref: '#/definitions/app.Response'
  17673. security:
  17674. - ApiKeyAuth: []
  17675. summary: 查询行情Tik数据
  17676. tags:
  17677. - 行情服务
  17678. /Quote/QueryQuoteDay:
  17679. get:
  17680. parameters:
  17681. - description: 商品代码列表,格式:CU2102,CU2103,AL2107
  17682. in: query
  17683. name: goodsCodes
  17684. required: true
  17685. type: string
  17686. produces:
  17687. - application/json
  17688. responses:
  17689. "200":
  17690. description: OK
  17691. schema:
  17692. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  17693. "500":
  17694. description: Internal Server Error
  17695. schema:
  17696. $ref: '#/definitions/app.Response'
  17697. security:
  17698. - ApiKeyAuth: []
  17699. summary: 获取商品盘面信息
  17700. tags:
  17701. - 行情服务
  17702. /Quote/QueryTSData:
  17703. get:
  17704. parameters:
  17705. - description: 商品代码
  17706. in: query
  17707. name: goodsCode
  17708. required: true
  17709. type: string
  17710. produces:
  17711. - application/json
  17712. responses:
  17713. "200":
  17714. description: OK
  17715. schema:
  17716. $ref: '#/definitions/quote.QueryTSDataRsp'
  17717. "500":
  17718. description: Internal Server Error
  17719. schema:
  17720. $ref: '#/definitions/app.Response'
  17721. security:
  17722. - ApiKeyAuth: []
  17723. summary: 分时图数据查询
  17724. tags:
  17725. - 行情服务
  17726. /SZDZ/QueryConvertConfig:
  17727. get:
  17728. parameters:
  17729. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  17730. 6:交易转花生米(不设置)
  17731. in: query
  17732. name: convertType
  17733. type: integer
  17734. - description: 外部商品代码[JD\PD]
  17735. in: query
  17736. name: outerGoodsCode
  17737. type: string
  17738. - description: 内部商品ID列表[交易],格式:1,2,3
  17739. in: query
  17740. name: innerGoodsIDs
  17741. type: string
  17742. produces:
  17743. - application/json
  17744. responses:
  17745. "200":
  17746. description: OK
  17747. schema:
  17748. $ref: '#/definitions/models.Szdz3convertconfig'
  17749. "500":
  17750. description: Internal Server Error
  17751. schema:
  17752. $ref: '#/definitions/app.Response'
  17753. security:
  17754. - ApiKeyAuth: []
  17755. summary: 查询交易系统转换设置
  17756. tags:
  17757. - 定制【尚志大宗】
  17758. /SZDZ/QueryConvertLog:
  17759. get:
  17760. parameters:
  17761. - description: 资金账户 - 格式:1,2,3
  17762. in: query
  17763. name: accountID
  17764. required: true
  17765. type: string
  17766. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  17767. in: query
  17768. name: startDate
  17769. type: string
  17770. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  17771. in: query
  17772. name: endDate
  17773. type: string
  17774. produces:
  17775. - application/json
  17776. responses:
  17777. "200":
  17778. description: OK
  17779. schema:
  17780. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  17781. "500":
  17782. description: Internal Server Error
  17783. schema:
  17784. $ref: '#/definitions/app.Response'
  17785. security:
  17786. - ApiKeyAuth: []
  17787. summary: 交易系统转换流水查询
  17788. tags:
  17789. - 定制【尚志大宗】
  17790. /SZDZ/QueryGoodsPickup:
  17791. get:
  17792. parameters:
  17793. - description: 资金账户 - 格式:1,2,3
  17794. in: query
  17795. name: accountID
  17796. required: true
  17797. type: string
  17798. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  17799. in: query
  17800. name: takeOrderStatus
  17801. type: integer
  17802. produces:
  17803. - application/json
  17804. responses:
  17805. "200":
  17806. description: OK
  17807. schema:
  17808. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  17809. "500":
  17810. description: Internal Server Error
  17811. schema:
  17812. $ref: '#/definitions/app.Response'
  17813. security:
  17814. - ApiKeyAuth: []
  17815. summary: 商品提货单查询
  17816. tags:
  17817. - 定制【尚志大宗】
  17818. /SZDZ/QueryRecieptOrder:
  17819. get:
  17820. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  17821. parameters:
  17822. - description: 页码
  17823. in: query
  17824. name: page
  17825. type: integer
  17826. - description: 每页条数
  17827. in: query
  17828. name: pagesize
  17829. type: integer
  17830. - description: 商品ID
  17831. in: query
  17832. name: goodsID
  17833. required: true
  17834. type: integer
  17835. - description: 所属账户名称
  17836. in: query
  17837. name: accountName
  17838. type: string
  17839. - description: 市场ID
  17840. in: query
  17841. name: marketID
  17842. type: integer
  17843. - description: 方向 - 0:买 1:卖
  17844. in: query
  17845. name: buyorsell
  17846. required: true
  17847. type: integer
  17848. produces:
  17849. - application/json
  17850. responses:
  17851. "200":
  17852. description: OK
  17853. schema:
  17854. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  17855. "500":
  17856. description: Internal Server Error
  17857. schema:
  17858. $ref: '#/definitions/app.Response'
  17859. security:
  17860. - ApiKeyAuth: []
  17861. summary: 点选挂牌委托单据查询(摘牌大厅)
  17862. tags:
  17863. - 定制【尚志大宗】
  17864. /SZDZ/QuerySZDZTradePosition:
  17865. get:
  17866. parameters:
  17867. - description: 资金账户
  17868. in: query
  17869. name: accountID
  17870. required: true
  17871. type: integer
  17872. produces:
  17873. - application/json
  17874. responses:
  17875. "200":
  17876. description: OK
  17877. schema:
  17878. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  17879. "500":
  17880. description: Internal Server Error
  17881. schema:
  17882. $ref: '#/definitions/app.Response'
  17883. security:
  17884. - ApiKeyAuth: []
  17885. summary: 持仓汇总查询(尚志大宗)
  17886. tags:
  17887. - 定制【尚志大宗】
  17888. /SZDZ/SearchWhite:
  17889. get:
  17890. parameters:
  17891. - description: 用户ID
  17892. in: query
  17893. name: userID
  17894. required: true
  17895. type: integer
  17896. produces:
  17897. - application/json
  17898. responses:
  17899. "200":
  17900. description: OK
  17901. schema:
  17902. $ref: '#/definitions/models.Szdz3searchwhitelist'
  17903. "500":
  17904. description: Internal Server Error
  17905. schema:
  17906. $ref: '#/definitions/app.Response'
  17907. security:
  17908. - ApiKeyAuth: []
  17909. summary: 搜索白名单
  17910. tags:
  17911. - 定制【尚志大宗】
  17912. /Search/SearchGoodses:
  17913. get:
  17914. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  17915. parameters:
  17916. - description: 检索内容
  17917. in: query
  17918. name: content
  17919. required: true
  17920. type: string
  17921. - description: 交易模式,格式:1,2,3
  17922. in: query
  17923. name: tradeModes
  17924. type: string
  17925. produces:
  17926. - application/json
  17927. responses:
  17928. "200":
  17929. description: OK
  17930. schema:
  17931. $ref: '#/definitions/models.SearchGoods'
  17932. "500":
  17933. description: Internal Server Error
  17934. schema:
  17935. $ref: '#/definitions/app.Response'
  17936. summary: 检索商品信息
  17937. tags:
  17938. - 检索服务
  17939. /TaAccount/GetTaAccounts:
  17940. get:
  17941. parameters:
  17942. - description: 登录账户
  17943. in: query
  17944. name: loginID
  17945. required: true
  17946. type: integer
  17947. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  17948. in: query
  17949. name: taAccountType
  17950. type: integer
  17951. produces:
  17952. - application/json
  17953. responses:
  17954. "200":
  17955. description: OK
  17956. schema:
  17957. $ref: '#/definitions/models.Taaccount'
  17958. "500":
  17959. description: Internal Server Error
  17960. schema:
  17961. $ref: '#/definitions/app.Response'
  17962. security:
  17963. - ApiKeyAuth: []
  17964. summary: 获取资金账户信息
  17965. tags:
  17966. - 资金账户
  17967. /TaAccount/QueryAmountLog:
  17968. get:
  17969. parameters:
  17970. - description: 页码
  17971. in: query
  17972. name: page
  17973. type: integer
  17974. - description: 每页条数
  17975. in: query
  17976. name: pagesize
  17977. type: integer
  17978. - description: 资金账户 - 格式:1,2,3
  17979. in: query
  17980. name: accountID
  17981. required: true
  17982. type: string
  17983. - description: 资金操作类型 - 格式:1,2,3
  17984. in: query
  17985. name: OperateType
  17986. type: string
  17987. produces:
  17988. - application/json
  17989. responses:
  17990. "200":
  17991. description: OK
  17992. schema:
  17993. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  17994. "500":
  17995. description: Internal Server Error
  17996. schema:
  17997. $ref: '#/definitions/app.Response'
  17998. security:
  17999. - ApiKeyAuth: []
  18000. summary: 资金流水查询(当前)
  18001. tags:
  18002. - 资金账户
  18003. /TaAccount/QueryHisAmountLog:
  18004. get:
  18005. parameters:
  18006. - description: 页码
  18007. in: query
  18008. name: page
  18009. type: integer
  18010. - description: 每页条数
  18011. in: query
  18012. name: pagesize
  18013. type: integer
  18014. - description: 资金账户 - 格式:1,2,3
  18015. in: query
  18016. name: accountID
  18017. required: true
  18018. type: string
  18019. - description: 资金操作类型 - 格式:1,2,3
  18020. in: query
  18021. name: OperateType
  18022. type: string
  18023. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  18024. in: query
  18025. name: startDate
  18026. type: string
  18027. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  18028. in: query
  18029. name: endDate
  18030. type: string
  18031. produces:
  18032. - application/json
  18033. responses:
  18034. "200":
  18035. description: OK
  18036. schema:
  18037. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  18038. "500":
  18039. description: Internal Server Error
  18040. schema:
  18041. $ref: '#/definitions/app.Response'
  18042. security:
  18043. - ApiKeyAuth: []
  18044. summary: 资金流水查询(历史)
  18045. tags:
  18046. - 资金账户
  18047. /Trade/QueryRecieptOrder:
  18048. get:
  18049. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  18050. parameters:
  18051. - description: 页码
  18052. in: query
  18053. name: page
  18054. type: integer
  18055. - description: 每页条数
  18056. in: query
  18057. name: pagesize
  18058. type: integer
  18059. - description: 商品ID
  18060. in: query
  18061. name: goodsID
  18062. required: true
  18063. type: integer
  18064. - description: 所属账户名称
  18065. in: query
  18066. name: accountName
  18067. type: string
  18068. - description: 市场ID
  18069. in: query
  18070. name: marketID
  18071. type: integer
  18072. - description: 方向 - 0:买 1:卖
  18073. in: query
  18074. name: buyorsell
  18075. required: true
  18076. type: integer
  18077. produces:
  18078. - application/json
  18079. responses:
  18080. "200":
  18081. description: OK
  18082. schema:
  18083. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  18084. "500":
  18085. description: Internal Server Error
  18086. schema:
  18087. $ref: '#/definitions/app.Response'
  18088. security:
  18089. - ApiKeyAuth: []
  18090. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  18091. tags:
  18092. - 通用交易
  18093. /User/AddMessageBoard:
  18094. post:
  18095. parameters:
  18096. - description: 用户ID
  18097. in: query
  18098. name: userID
  18099. required: true
  18100. type: integer
  18101. - description: 留言信息
  18102. in: query
  18103. name: message
  18104. required: true
  18105. type: string
  18106. - description: 联系电话
  18107. in: query
  18108. name: contactNum
  18109. required: true
  18110. type: string
  18111. produces:
  18112. - application/json
  18113. responses:
  18114. "200":
  18115. description: OK
  18116. schema:
  18117. $ref: '#/definitions/app.Response'
  18118. "500":
  18119. description: Internal Server Error
  18120. schema:
  18121. $ref: '#/definitions/app.Response'
  18122. security:
  18123. - ApiKeyAuth: []
  18124. summary: 添加用户留言板信息
  18125. tags:
  18126. - 用户信息
  18127. /User/AddUserFavoriteGoods:
  18128. post:
  18129. parameters:
  18130. - description: 用户ID
  18131. in: query
  18132. name: userID
  18133. required: true
  18134. type: integer
  18135. - description: 商品ID
  18136. in: query
  18137. name: goodsID
  18138. required: true
  18139. type: integer
  18140. produces:
  18141. - application/json
  18142. responses:
  18143. "200":
  18144. description: OK
  18145. schema:
  18146. $ref: '#/definitions/app.Response'
  18147. "500":
  18148. description: Internal Server Error
  18149. schema:
  18150. $ref: '#/definitions/app.Response'
  18151. security:
  18152. - ApiKeyAuth: []
  18153. summary: 添加用户商品收藏信息
  18154. tags:
  18155. - 用户信息
  18156. /User/GetLoginID:
  18157. get:
  18158. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  18159. parameters:
  18160. - description: 登录代码
  18161. in: query
  18162. name: username
  18163. required: true
  18164. type: string
  18165. produces:
  18166. - application/json
  18167. responses:
  18168. "200":
  18169. description: OK
  18170. schema:
  18171. $ref: '#/definitions/app.Response'
  18172. "500":
  18173. description: Internal Server Error
  18174. schema:
  18175. $ref: '#/definitions/app.Response'
  18176. summary: 获取登录ID
  18177. tags:
  18178. - 用户信息
  18179. /User/GetUserAccount:
  18180. get:
  18181. parameters:
  18182. - description: 用户ID
  18183. in: query
  18184. name: userID
  18185. required: true
  18186. type: integer
  18187. produces:
  18188. - application/json
  18189. responses:
  18190. "200":
  18191. description: OK
  18192. schema:
  18193. $ref: '#/definitions/models.Useraccount'
  18194. "500":
  18195. description: Internal Server Error
  18196. schema:
  18197. $ref: '#/definitions/app.Response'
  18198. security:
  18199. - ApiKeyAuth: []
  18200. summary: 获取用户账号信息
  18201. tags:
  18202. - 用户信息
  18203. /User/GetUserAuthStatus:
  18204. get:
  18205. parameters:
  18206. - description: 用户ID
  18207. in: query
  18208. name: userID
  18209. required: true
  18210. type: integer
  18211. produces:
  18212. - application/json
  18213. responses:
  18214. "200":
  18215. description: OK
  18216. schema:
  18217. $ref: '#/definitions/app.Response'
  18218. "500":
  18219. description: Internal Server Error
  18220. schema:
  18221. $ref: '#/definitions/app.Response'
  18222. security:
  18223. - ApiKeyAuth: []
  18224. summary: 获取用户实名认证状态
  18225. tags:
  18226. - 用户信息
  18227. /User/LoginQuery:
  18228. get:
  18229. parameters:
  18230. - description: 登录账号
  18231. in: query
  18232. name: loginID
  18233. required: true
  18234. type: integer
  18235. produces:
  18236. - application/json
  18237. responses:
  18238. "200":
  18239. description: OK
  18240. schema:
  18241. $ref: '#/definitions/user.LoginQueryRsp'
  18242. "500":
  18243. description: Internal Server Error
  18244. schema:
  18245. $ref: '#/definitions/app.Response'
  18246. security:
  18247. - ApiKeyAuth: []
  18248. summary: 账户登录后信息查询
  18249. tags:
  18250. - 用户信息
  18251. /User/QueryMessageBoard:
  18252. get:
  18253. parameters:
  18254. - description: 用户ID
  18255. in: query
  18256. name: userID
  18257. required: true
  18258. type: integer
  18259. produces:
  18260. - application/json
  18261. responses:
  18262. "200":
  18263. description: OK
  18264. schema:
  18265. $ref: '#/definitions/models.Messageboard'
  18266. "500":
  18267. description: Internal Server Error
  18268. schema:
  18269. $ref: '#/definitions/app.Response'
  18270. security:
  18271. - ApiKeyAuth: []
  18272. summary: 获取用户留言板信息
  18273. tags:
  18274. - 用户信息
  18275. /User/QueryUserFavoriteGoodses:
  18276. get:
  18277. parameters:
  18278. - description: 用户ID
  18279. in: query
  18280. name: userID
  18281. required: true
  18282. type: integer
  18283. produces:
  18284. - application/json
  18285. responses:
  18286. "200":
  18287. description: OK
  18288. schema:
  18289. $ref: '#/definitions/models.Userfavoritegoods'
  18290. "500":
  18291. description: Internal Server Error
  18292. schema:
  18293. $ref: '#/definitions/app.Response'
  18294. security:
  18295. - ApiKeyAuth: []
  18296. summary: 获取用户商品收藏信息
  18297. tags:
  18298. - 用户信息
  18299. /User/QueryUserInfo:
  18300. get:
  18301. parameters:
  18302. - description: 用户ID
  18303. in: query
  18304. name: userID
  18305. required: true
  18306. type: integer
  18307. - description: 是否解密
  18308. in: query
  18309. name: isDecrypt
  18310. type: boolean
  18311. produces:
  18312. - application/json
  18313. responses:
  18314. "200":
  18315. description: OK
  18316. schema:
  18317. $ref: '#/definitions/models.Userinfo'
  18318. "500":
  18319. description: Internal Server Error
  18320. schema:
  18321. $ref: '#/definitions/app.Response'
  18322. security:
  18323. - ApiKeyAuth: []
  18324. summary: 获取用户信息
  18325. tags:
  18326. - 用户信息
  18327. /User/QueryUserReferNum:
  18328. get:
  18329. parameters:
  18330. - description: 用户ID
  18331. in: query
  18332. name: userID
  18333. required: true
  18334. type: integer
  18335. produces:
  18336. - application/json
  18337. responses:
  18338. "200":
  18339. description: OK
  18340. schema:
  18341. $ref: '#/definitions/app.Response'
  18342. "500":
  18343. description: Internal Server Error
  18344. schema:
  18345. $ref: '#/definitions/app.Response'
  18346. summary: 获取用户邀请码
  18347. tags:
  18348. - 用户信息
  18349. /User/RemoveUserFavoriteGoods:
  18350. post:
  18351. parameters:
  18352. - description: 用户ID
  18353. in: query
  18354. name: userID
  18355. required: true
  18356. type: integer
  18357. - description: 商品ID
  18358. in: query
  18359. name: goodsID
  18360. required: true
  18361. type: integer
  18362. produces:
  18363. - application/json
  18364. responses:
  18365. "200":
  18366. description: OK
  18367. schema:
  18368. $ref: '#/definitions/app.Response'
  18369. "500":
  18370. description: Internal Server Error
  18371. schema:
  18372. $ref: '#/definitions/app.Response'
  18373. security:
  18374. - ApiKeyAuth: []
  18375. summary: 移除用户商品收藏信息
  18376. tags:
  18377. - 用户信息
  18378. /User/UpdateUserAccountStatus:
  18379. post:
  18380. parameters:
  18381. - description: 用户ID
  18382. in: query
  18383. name: userID
  18384. required: true
  18385. type: integer
  18386. - description: 账户状态 - 4:正常 6:注销(停用)
  18387. in: query
  18388. name: accountStatus
  18389. required: true
  18390. type: integer
  18391. produces:
  18392. - application/json
  18393. responses:
  18394. "200":
  18395. description: OK
  18396. schema:
  18397. $ref: '#/definitions/app.Response'
  18398. "500":
  18399. description: Internal Server Error
  18400. schema:
  18401. $ref: '#/definitions/app.Response'
  18402. security:
  18403. - ApiKeyAuth: []
  18404. summary: 更新用户状态
  18405. tags:
  18406. - 用户信息
  18407. /WRTrade/GetAllDeliveryGoods:
  18408. get:
  18409. produces:
  18410. - application/json
  18411. - application/json
  18412. responses:
  18413. "200":
  18414. description: OK
  18415. schema:
  18416. $ref: '#/definitions/app.Response'
  18417. "500":
  18418. description: Internal Server Error
  18419. schema:
  18420. $ref: '#/definitions/app.Response'
  18421. security:
  18422. - ApiKeyAuth: []
  18423. - ApiKeyAuth: []
  18424. summary: 获取带仓单分类的种类信息
  18425. tags:
  18426. - 仓单贸易
  18427. - 仓单贸易
  18428. securityDefinitions:
  18429. ApiKeyAuth:
  18430. in: header
  18431. name: Authorization
  18432. type: apiKey
  18433. swagger: "2.0"