swagger.yaml 503 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355
  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. type: object
  3918. models.Ermcp3MiddleGoodsDetail2:
  3919. properties:
  3920. convertratio:
  3921. description: 套保系数(折算系数)
  3922. type: number
  3923. gplist:
  3924. description: 关联商品组列表
  3925. items:
  3926. $ref: '#/definitions/models.Ermcp3GoodsGroupEx'
  3927. type: array
  3928. mg:
  3929. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  3930. description: 套保商品信息
  3931. type: object
  3932. type: object
  3933. models.Ermcp3MiddleGoodsDetailEx:
  3934. properties:
  3935. dglist:
  3936. description: 关联的现货品种列表
  3937. items:
  3938. $ref: '#/definitions/models.ErmcpDeliveryGoodsDetail2'
  3939. type: array
  3940. gplist:
  3941. description: 关联商品组列表
  3942. items:
  3943. $ref: '#/definitions/models.Ermcp3GoodsGroupEx'
  3944. type: array
  3945. mg:
  3946. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  3947. description: 套保商品信息
  3948. type: object
  3949. type: object
  3950. models.Ermcp3ReckonAreaSpotSub:
  3951. properties:
  3952. accountid:
  3953. description: 期货账户ID
  3954. type: integer
  3955. accountname:
  3956. description: 所属机构名称
  3957. type: string
  3958. areauserid:
  3959. description: 账户所属机构
  3960. type: integer
  3961. brandname:
  3962. description: 品牌名称
  3963. type: string
  3964. buycontractinqty:
  3965. description: 采购合同入库量
  3966. type: number
  3967. buypricedamount:
  3968. description: 采购合同已定价金额
  3969. type: number
  3970. buypricedqty:
  3971. description: 采购合同已定价数量
  3972. type: number
  3973. buyreckonqty:
  3974. description: 采购合同交收量
  3975. type: number
  3976. deliverygoodscode:
  3977. description: 现货商品代码
  3978. type: string
  3979. deliverygoodsid:
  3980. description: 现货品种ID
  3981. type: integer
  3982. deliverygoodsname:
  3983. description: 现货商品名称
  3984. type: string
  3985. enumdicname:
  3986. description: 现货商品单位名称
  3987. type: string
  3988. goodsunitid:
  3989. description: 现货商品单位id
  3990. type: integer
  3991. oribuycontractinqty:
  3992. description: 期初采购合同入库量
  3993. type: number
  3994. oribuypricedamount:
  3995. description: 期初采购合同已定价金额
  3996. type: number
  3997. oribuypricedqty:
  3998. description: 期初采购合同已定价数量
  3999. type: number
  4000. oribuyreckonqty:
  4001. description: 期初采购合同交收量
  4002. type: number
  4003. oriproduceinqty:
  4004. description: 期初生产入库量
  4005. type: number
  4006. oriproduceoutqty:
  4007. description: 期初生产出库量
  4008. type: number
  4009. orisellcontractoutqty:
  4010. description: 期初销售合同出库量
  4011. type: number
  4012. orisellpricedamount:
  4013. description: 期初销售合同已定价金额
  4014. type: number
  4015. orisellpricedqty:
  4016. description: 期初销售合同已定价数量
  4017. type: number
  4018. orisellreckonqty:
  4019. description: 期初销售合同交收量
  4020. type: number
  4021. produceinqty:
  4022. description: 生产入库量
  4023. type: number
  4024. produceoutqty:
  4025. description: 生产出库量
  4026. type: number
  4027. reckondate:
  4028. description: 日照时期(yyyyMMdd)
  4029. type: string
  4030. sellcontractoutqty:
  4031. description: 销售合同出库量
  4032. type: number
  4033. sellpricedamount:
  4034. description: 销售合同已定价金额
  4035. type: number
  4036. sellpricedqty:
  4037. description: 销售合同已定价数量
  4038. type: number
  4039. sellreckonqty:
  4040. description: 销售合同交收量
  4041. type: number
  4042. spotgoodsbrandid:
  4043. description: 现货品牌ID
  4044. type: integer
  4045. todaybuyreckonqty:
  4046. description: 今日采购合同已确定数量
  4047. type: number
  4048. todaysellreckonqty:
  4049. description: 今日销售合同已确定数量
  4050. type: number
  4051. totalbuypricedqty:
  4052. description: 采购定价量 = 期末 - 期初
  4053. type: number
  4054. totalsellpricedqty:
  4055. description: 销售定价量 = 期末 - 期初
  4056. type: number
  4057. totalspotqty:
  4058. description: 现货头寸总量 = 采购合同已定价数量 - 销售合同已定价数量
  4059. type: number
  4060. updatetime:
  4061. description: 更新时间
  4062. type: string
  4063. wrfactortypeid:
  4064. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4065. type: integer
  4066. wrstandardcode:
  4067. description: 品类代码
  4068. type: string
  4069. wrstandardid:
  4070. description: 现货品类ID
  4071. type: integer
  4072. wrstandardname:
  4073. description: 品类名称
  4074. type: string
  4075. required:
  4076. - areauserid
  4077. - reckondate
  4078. type: object
  4079. models.Ermcp3ReportAreaSpotPL:
  4080. properties:
  4081. actualpl:
  4082. description: 实际损益
  4083. type: number
  4084. areauserid:
  4085. description: 所属机构
  4086. type: integer
  4087. brandname:
  4088. description: 品牌名称
  4089. type: string
  4090. curamount:
  4091. description: 期末额
  4092. type: number
  4093. curaverageprice:
  4094. description: 期末均价
  4095. type: number
  4096. curbuyamount:
  4097. description: 期末采购总额(采购额)
  4098. type: number
  4099. curbuyqty:
  4100. description: 期末采购总量
  4101. type: number
  4102. curmarketvalue:
  4103. description: 参考市值
  4104. type: number
  4105. curqty:
  4106. description: 期末量
  4107. type: number
  4108. cursellamount:
  4109. description: 期末销售总额(销售额)
  4110. type: number
  4111. cursellqty:
  4112. description: 期末销售总量
  4113. type: number
  4114. curspotprice:
  4115. description: 参考市价
  4116. type: number
  4117. deliverygoodscode:
  4118. description: 现货品种代码
  4119. type: string
  4120. deliverygoodsid:
  4121. description: 现货品种id
  4122. type: integer
  4123. deliverygoodsname:
  4124. description: 现货品种名称
  4125. type: string
  4126. enumdicname:
  4127. description: 现货商品单位名称
  4128. type: string
  4129. floatpl:
  4130. description: 浮动损益
  4131. type: number
  4132. gbenumdicname:
  4133. description: 品类单位名称
  4134. type: string
  4135. gbunitid:
  4136. description: 现货单位id
  4137. type: integer
  4138. modelname:
  4139. description: 品类名称
  4140. type: string
  4141. oriamount:
  4142. description: 期初额
  4143. type: number
  4144. oriaverageprice:
  4145. description: 期初均价
  4146. type: number
  4147. oribuyamount:
  4148. description: 期初采购总额
  4149. type: number
  4150. oribuyqty:
  4151. description: 期初采购总量
  4152. type: number
  4153. oriqty:
  4154. description: 期初量
  4155. type: number
  4156. orisellamount:
  4157. description: 期初销售总额
  4158. type: number
  4159. orisellqty:
  4160. description: 期初销售总量
  4161. type: number
  4162. spotgoodsbrandid:
  4163. description: 现货品牌ID
  4164. type: integer
  4165. todaybuyamount:
  4166. description: 今日采购额
  4167. type: number
  4168. todaybuyaverageprice:
  4169. description: 今日采购均价(采购均价)
  4170. type: number
  4171. todaybuyqty:
  4172. description: 今日采购量(采购增量)
  4173. type: number
  4174. todaysellamount:
  4175. description: 今日销售额
  4176. type: number
  4177. todaysellaverageprice:
  4178. description: 今日销售均价(销售均价)
  4179. type: number
  4180. todaysellqty:
  4181. description: 今日销售量(销售增量)
  4182. type: number
  4183. unitid:
  4184. description: 品类单位id
  4185. type: integer
  4186. updatetime:
  4187. description: 更新时间
  4188. type: string
  4189. wrstandardcode:
  4190. description: 品类代码
  4191. type: string
  4192. wrstandardid:
  4193. description: 品类ID
  4194. type: integer
  4195. wrstandardname:
  4196. description: 品类名称
  4197. type: string
  4198. type: object
  4199. models.Ermcp3ReportAreaSpotSub:
  4200. properties:
  4201. accountid:
  4202. description: 期货账户ID
  4203. type: integer
  4204. accountname:
  4205. description: 所属机构名称
  4206. type: string
  4207. areauserid:
  4208. description: 账户所属机构
  4209. type: integer
  4210. brandname:
  4211. description: 品牌名称
  4212. type: string
  4213. buycontractinqty:
  4214. description: 采购合同入库量【期末】
  4215. type: number
  4216. buypricedamount:
  4217. description: 采购合同已定价金额【期末】
  4218. type: number
  4219. buypricedqty:
  4220. description: 采购合同已定价数量【期末】
  4221. type: number
  4222. buyreckonqty:
  4223. description: 采购合同交收量【期末】
  4224. type: number
  4225. cycletime:
  4226. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4227. type: string
  4228. cycletype:
  4229. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4230. type: integer
  4231. deliverygoodscode:
  4232. description: 现货商品代码
  4233. type: string
  4234. deliverygoodsid:
  4235. description: 现货品种ID
  4236. type: integer
  4237. deliverygoodsname:
  4238. description: 现货商品名称
  4239. type: string
  4240. enumdicname:
  4241. description: 现货商品单位名称
  4242. type: string
  4243. goodsunitid:
  4244. description: 现货商品单位id
  4245. type: integer
  4246. oribuycontractinqty:
  4247. description: 期初采购合同入库量【期初】
  4248. type: number
  4249. oribuypricedamount:
  4250. description: 期初采购合同已定价金额【期初】
  4251. type: number
  4252. oribuypricedqty:
  4253. description: 期初采购合同已定价数量【期初】
  4254. type: number
  4255. oribuyreckonqty:
  4256. description: 期初采购合同交收量【期初】
  4257. type: number
  4258. oriproduceinqty:
  4259. description: 期初生产入库量【期初】
  4260. type: number
  4261. oriproduceoutqty:
  4262. description: 期初生产出库量【期初】
  4263. type: number
  4264. orisellcontractoutqty:
  4265. description: 期初销售合同出库量【期初】
  4266. type: number
  4267. orisellpricedamount:
  4268. description: 期初销售合同已定价金额【期初】
  4269. type: number
  4270. orisellpricedqty:
  4271. description: 期初销售合同已定价数量【期初】
  4272. type: number
  4273. orisellreckonqty:
  4274. description: 期初销售合同交收量【期初】
  4275. type: number
  4276. produceinqty:
  4277. description: 生产入库量【期末】
  4278. type: number
  4279. produceoutqty:
  4280. description: 生产出库量【期末】
  4281. type: number
  4282. sellcontractoutqty:
  4283. description: 销售合同出库量【期末】
  4284. type: number
  4285. sellpricedamount:
  4286. description: 销售合同已定价金额【期末】
  4287. type: number
  4288. sellpricedqty:
  4289. description: 销售合同已定价数量【期末】
  4290. type: number
  4291. sellreckonqty:
  4292. description: 销售合同交收量【期末】
  4293. type: number
  4294. spotgoodsbrandid:
  4295. description: 现货品牌ID
  4296. type: integer
  4297. todaybuyreckonqty:
  4298. description: 今日采购合同已确定数量【汇总】
  4299. type: number
  4300. todaysellreckonqty:
  4301. description: 今日销售合同已确定数量【汇总】
  4302. type: number
  4303. totalbuypricedqty:
  4304. description: 采购定价量 = 期末 - 期初
  4305. type: number
  4306. totalsellpricedqty:
  4307. description: 销售定价量 = 期末 - 期初
  4308. type: number
  4309. totalspotqty:
  4310. description: 现货头寸总量 = 采购合同已定价数量 - 销售合同已定价数量【期末】
  4311. type: number
  4312. updatetime:
  4313. description: 更新时间
  4314. type: string
  4315. wrfactortypeid:
  4316. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4317. type: integer
  4318. wrstandardcode:
  4319. description: 品类代码
  4320. type: string
  4321. wrstandardid:
  4322. description: 品类ID
  4323. type: integer
  4324. wrstandardname:
  4325. description: 品类名称
  4326. type: string
  4327. required:
  4328. - areauserid
  4329. type: object
  4330. models.Ermcp3ReportOPLog:
  4331. properties:
  4332. applyid:
  4333. description: 操作人
  4334. type: integer
  4335. applyname:
  4336. description: 操作人名称
  4337. type: string
  4338. biztype:
  4339. description: 业务类型 - 1:套保计划 2:现货合同
  4340. type: integer
  4341. brandname:
  4342. description: 品牌名称
  4343. type: string
  4344. contracttype:
  4345. description: 现货合同类型 - 1:采购 -1:销售
  4346. type: integer
  4347. deliverygoodscode:
  4348. description: 现货品种代码
  4349. type: string
  4350. deliverygoodsid:
  4351. description: 现货品种id
  4352. type: integer
  4353. deliverygoodsname:
  4354. description: 现货品种名称
  4355. type: string
  4356. enumdicName:
  4357. description: 单位名称
  4358. type: string
  4359. logdatetime:
  4360. description: 流水日期(时间)
  4361. type: string
  4362. logid:
  4363. description: 流水ID(604+Unix秒时间戳(10位)+xxxxxx)
  4364. type: string
  4365. logtypename:
  4366. description: 合同类型(名称)
  4367. type: string
  4368. logvalue:
  4369. description: 数值
  4370. type: string
  4371. operatelogtype:
  4372. description: 操作流水类型 -
  4373. type: integer
  4374. optypename:
  4375. description: 流水类型名称
  4376. type: string
  4377. relatedid:
  4378. description: 现货合同ID\套保计划
  4379. type: string
  4380. relatedno:
  4381. description: 合同编号
  4382. type: string
  4383. spotgoodsbrandid:
  4384. description: 品牌id
  4385. type: integer
  4386. tradedate:
  4387. description: 交易日(yyyyMMdd)
  4388. type: string
  4389. userid:
  4390. description: 机构ID
  4391. type: integer
  4392. wrstandardcode:
  4393. description: 品类代码
  4394. type: string
  4395. wrstandardid:
  4396. description: 品类id
  4397. type: integer
  4398. wrstandardname:
  4399. description: 品类名称
  4400. type: string
  4401. type: object
  4402. models.Ermcp3SellBuyContract:
  4403. properties:
  4404. accountname:
  4405. description: 账户名称
  4406. type: string
  4407. attachment:
  4408. description: 附件
  4409. type: string
  4410. audittime:
  4411. description: 审核时间
  4412. type: string
  4413. brandname:
  4414. description: 品牌名称
  4415. type: string
  4416. contracctstatus:
  4417. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4418. type: integer
  4419. contractmargin:
  4420. description: 合同保证金
  4421. type: number
  4422. contractno:
  4423. description: 合同编号
  4424. type: string
  4425. contracttype:
  4426. description: 合同类型 1-采购, -1-销售
  4427. type: integer
  4428. convertfactor:
  4429. description: 标仓系数(品类)
  4430. type: number
  4431. createtime:
  4432. description: 创建时间
  4433. type: string
  4434. daikaiamount:
  4435. description: 应收(开)票额
  4436. type: number
  4437. deliveryenddate:
  4438. description: 交割结束日
  4439. type: string
  4440. deliverygoodscode:
  4441. description: 现货品种代码
  4442. type: string
  4443. deliverygoodsid:
  4444. description: 现货商品ID
  4445. type: integer
  4446. deliverygoodsname:
  4447. description: 现货品种名称
  4448. type: string
  4449. deliverystartdate:
  4450. description: 交割开始日
  4451. type: string
  4452. enddate:
  4453. description: 点价结束日
  4454. type: string
  4455. enumdicname:
  4456. description: 单位名称
  4457. type: string
  4458. goodscode:
  4459. description: 点价商品代码
  4460. type: string
  4461. goodsid:
  4462. description: 点价商品ID
  4463. type: integer
  4464. goodsname:
  4465. description: 点价商品名称
  4466. type: string
  4467. invoiceamount:
  4468. description: 已开票额
  4469. type: number
  4470. loanamount:
  4471. description: 贷款总额=已定价额+调整金额
  4472. type: number
  4473. margin:
  4474. description: 保证金
  4475. type: number
  4476. nickname:
  4477. description: 账户昵称
  4478. type: string
  4479. payamount:
  4480. description: 已收付额(收款或付款)
  4481. type: number
  4482. preinvoiceamount:
  4483. description: 预收(开)票额
  4484. type: number
  4485. prepayamount:
  4486. description: 预收付额
  4487. type: number
  4488. price:
  4489. description: 价格
  4490. type: number
  4491. pricedamount:
  4492. description: 已定价额
  4493. type: number
  4494. pricedavg:
  4495. description: 已点均价
  4496. type: number
  4497. pricedqty:
  4498. description: 已定价量
  4499. type: number
  4500. pricemove:
  4501. description: 升贴水
  4502. type: number
  4503. pricetype:
  4504. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4505. type: integer
  4506. producttype:
  4507. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  4508. type: integer
  4509. qty:
  4510. description: 合同量
  4511. type: number
  4512. reckonadjustamount:
  4513. description: 调整金额
  4514. type: number
  4515. reckonedamount:
  4516. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  4517. type: number
  4518. reckonotheramount:
  4519. description: 其它费用
  4520. type: number
  4521. reckonrealqty:
  4522. description: 已确定量
  4523. type: number
  4524. remark:
  4525. description: 备注
  4526. type: string
  4527. spotcontractid:
  4528. description: 合同ID
  4529. type: string
  4530. spotgoodsbrandid:
  4531. description: 现货品牌ID(DGFactoryItem表的ID)
  4532. type: integer
  4533. spotgoodsdesc:
  4534. description: 商品型号(商品规格)
  4535. type: string
  4536. startdate:
  4537. description: 点价开始日
  4538. type: string
  4539. totalamount:
  4540. description: 合计总额
  4541. type: number
  4542. unpayamount:
  4543. description: 应收付款额(应支付或应收款)
  4544. type: number
  4545. unpricedqty:
  4546. description: 未定价量
  4547. type: number
  4548. unsureqty:
  4549. description: 未确定量
  4550. type: number
  4551. userid:
  4552. description: 机构ID
  4553. type: integer
  4554. wrstandardcode:
  4555. description: 品类代码
  4556. type: string
  4557. wrstandardid:
  4558. description: 品类ID
  4559. type: integer
  4560. wrstandardname:
  4561. description: 品类名称
  4562. type: string
  4563. type: object
  4564. models.Ermcp3SpotGoodsPrice:
  4565. properties:
  4566. areauserid:
  4567. description: 所属机构id
  4568. type: integer
  4569. brandname:
  4570. description: 品牌名称
  4571. type: string
  4572. currencyid:
  4573. description: 报价货币ID
  4574. type: integer
  4575. deliverygoodscode:
  4576. description: 现货商品代码
  4577. type: string
  4578. deliverygoodsid:
  4579. description: 现货商品id
  4580. type: integer
  4581. deliverygoodsname:
  4582. description: 现货商品名称
  4583. type: string
  4584. enumdicname:
  4585. description: 现货商品单位名称
  4586. type: string
  4587. gbenumdicname:
  4588. description: 品类单位名称
  4589. type: string
  4590. gmunitid:
  4591. description: 品类单位id
  4592. type: integer
  4593. isvalid:
  4594. description: 是否有效 - 0:无效 1:有效
  4595. type: integer
  4596. operateid:
  4597. description: 最后操作人
  4598. type: integer
  4599. operatesrc:
  4600. description: 最后操作来源 - 1:管理端 2:终端
  4601. type: integer
  4602. operatetime:
  4603. description: 最后操作时间
  4604. type: string
  4605. operatorname:
  4606. description: 操作人名称
  4607. type: string
  4608. spotgoodsbrandid:
  4609. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  4610. type: integer
  4611. spotgoodsprice:
  4612. description: 现货价格
  4613. type: number
  4614. tradedate:
  4615. description: 交易日(yyyyMMdd)
  4616. type: string
  4617. unitid:
  4618. description: 现货商品单位id
  4619. type: integer
  4620. wrstandardcode:
  4621. description: 品类代码
  4622. type: string
  4623. wrstandardid:
  4624. description: 现货品类ID(通用则为0)
  4625. type: integer
  4626. wrstandardname:
  4627. description: 品类名称
  4628. type: string
  4629. type: object
  4630. models.Ermcp3SpotGoodsPriceLog:
  4631. properties:
  4632. areauserid:
  4633. description: 所属机构id
  4634. type: integer
  4635. brandname:
  4636. description: 品牌名称
  4637. type: string
  4638. currencyid:
  4639. description: 报价货币ID
  4640. type: integer
  4641. deliverygoodscode:
  4642. description: 现货商品代码
  4643. type: string
  4644. deliverygoodsid:
  4645. description: 现货商品id
  4646. type: integer
  4647. deliverygoodsname:
  4648. description: 现货商品名称
  4649. type: string
  4650. enumdicname:
  4651. description: 现货商品单位名称
  4652. type: string
  4653. gbenumdicname:
  4654. description: 品类单位名称
  4655. type: string
  4656. gmunitid:
  4657. description: 品类单位id
  4658. type: integer
  4659. logid:
  4660. description: 日志id
  4661. type: integer
  4662. operateid:
  4663. description: 最后操作人
  4664. type: integer
  4665. operatesrc:
  4666. description: 最后操作来源 - 1:管理端 2:终端
  4667. type: integer
  4668. operatetime:
  4669. description: 最后操作时间
  4670. type: string
  4671. operatorname:
  4672. description: 操作人名称
  4673. type: string
  4674. spotgoodsbrandid:
  4675. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  4676. type: integer
  4677. spotgoodsprice:
  4678. description: 现货价格
  4679. type: number
  4680. tradedate:
  4681. description: 交易日(yyyyMMdd)
  4682. type: string
  4683. unitid:
  4684. description: 现货商品单位id
  4685. type: integer
  4686. wrstandardcode:
  4687. description: 品类代码
  4688. type: string
  4689. wrstandardid:
  4690. description: 现货品类ID(通用则为0)
  4691. type: integer
  4692. wrstandardname:
  4693. description: 品类名称
  4694. type: string
  4695. type: object
  4696. models.Ermcp3Wrstandard:
  4697. properties:
  4698. areauserid:
  4699. description: 所属机构
  4700. type: integer
  4701. convertfactor:
  4702. description: 标仓系数
  4703. type: number
  4704. createtime:
  4705. description: 创建时间
  4706. type: string
  4707. creatorid:
  4708. description: 创建人
  4709. type: integer
  4710. deliverygoodsid:
  4711. description: 现货品种ID
  4712. type: integer
  4713. enumdicname:
  4714. description: 品类单位名称
  4715. type: string
  4716. isvalid:
  4717. description: 是否有效 0-无效(停用) 1-有效(正常)
  4718. type: integer
  4719. minivalue:
  4720. description: 最小变动值
  4721. type: integer
  4722. minivaluedp:
  4723. description: 最小变动值小数位
  4724. type: integer
  4725. realminivalue:
  4726. description: 实际最小变动值
  4727. type: integer
  4728. realminivaluedp:
  4729. description: 实际最小变动值小数位
  4730. type: integer
  4731. remark:
  4732. description: 备注
  4733. type: string
  4734. unitid:
  4735. description: 品类单位ID
  4736. type: integer
  4737. updatetime:
  4738. description: 更新时间
  4739. type: string
  4740. wrstandardcode:
  4741. description: 品类代码
  4742. type: string
  4743. wrstandardid:
  4744. description: 品类ID(SEQ_WRSTANDARD)
  4745. type: integer
  4746. wrstandardname:
  4747. description: 品类名称
  4748. type: string
  4749. type: object
  4750. models.ErmcpAreaSpotDetailModel:
  4751. properties:
  4752. contracttype:
  4753. description: 合同类型 1-采购 -1-销售
  4754. type: integer
  4755. createtime:
  4756. description: 创建时间
  4757. type: string
  4758. enumdicname:
  4759. description: 现货商品单位名称
  4760. type: string
  4761. logtype:
  4762. description: 记录类型 1-套保 2-现货合同
  4763. type: integer
  4764. qty:
  4765. description: 数量
  4766. type: number
  4767. recordname:
  4768. description: 类型名称
  4769. type: string
  4770. relatedid:
  4771. description: 套保计划ID/现货合同ID
  4772. type: string
  4773. relatedno:
  4774. description: 编号
  4775. type: string
  4776. strtime:
  4777. description: 时间
  4778. type: string
  4779. wrstandardcode:
  4780. description: 现货商品代码
  4781. type: string
  4782. wrstandardname:
  4783. description: 现货商品名称
  4784. type: string
  4785. type: object
  4786. models.ErmcpAreaStock:
  4787. properties:
  4788. brandname:
  4789. description: 品牌名称
  4790. type: string
  4791. curstock:
  4792. description: 期末库存量(今日量)
  4793. type: number
  4794. deliverygoodsid:
  4795. description: 现货品种ID
  4796. type: integer
  4797. enumdicname:
  4798. description: 单位名称
  4799. type: string
  4800. modelname:
  4801. description: 型号名称
  4802. type: string
  4803. oristock:
  4804. description: 期初库存量(昨日量)
  4805. type: number
  4806. spotgoodsbrandid:
  4807. description: 现货品牌ID
  4808. type: integer
  4809. spotgoodsmodelid:
  4810. description: 现货型号ID
  4811. type: integer
  4812. todaybuyinqty:
  4813. description: 今日采购入库量
  4814. type: number
  4815. todayproduceinqty:
  4816. description: 今日生产入库量
  4817. type: number
  4818. todayproduceoutqty:
  4819. description: 今日生产出库量
  4820. type: number
  4821. todayselloutqty:
  4822. description: 今日销售出库量
  4823. type: number
  4824. unitid:
  4825. description: 单位id
  4826. type: integer
  4827. updatetime:
  4828. description: 更新时间
  4829. type: string
  4830. userid:
  4831. description: 机构ID
  4832. type: integer
  4833. username:
  4834. description: 机构名称
  4835. type: string
  4836. warehousecode:
  4837. description: 仓库代码
  4838. type: string
  4839. warehouseinfoid:
  4840. description: 仓库ID
  4841. type: string
  4842. warehousename:
  4843. description: 仓库名称
  4844. type: string
  4845. warehousetype:
  4846. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4847. type: integer
  4848. wrstandardcode:
  4849. description: 现货商品代码
  4850. type: string
  4851. wrstandardid:
  4852. description: 现货商品ID
  4853. type: string
  4854. wrstandardname:
  4855. description: 现货商品名称
  4856. type: string
  4857. type: object
  4858. models.ErmcpAreaStockApply:
  4859. properties:
  4860. applyid:
  4861. description: 申请人
  4862. type: integer
  4863. applyname:
  4864. description: 申请人名称
  4865. type: string
  4866. applyremark:
  4867. description: 申请备注
  4868. type: string
  4869. applysrc:
  4870. description: 申请来源 - 1:管理端 2:终端
  4871. type: integer
  4872. applystatus:
  4873. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  4874. type: integer
  4875. applytime:
  4876. description: 申请时间
  4877. type: string
  4878. auditid:
  4879. description: 审核人
  4880. type: integer
  4881. auditname:
  4882. description: 审核人名称
  4883. type: string
  4884. auditremark:
  4885. description: 审核备注
  4886. type: string
  4887. auditsrc:
  4888. description: 审核来源 - 1:管理端 2:终端
  4889. type: integer
  4890. audittime:
  4891. description: 审核时间
  4892. type: string
  4893. audittradedate:
  4894. description: 审核交易日(yyyyMMdd)
  4895. type: string
  4896. brandname:
  4897. description: 品牌名称
  4898. type: string
  4899. buyuserid:
  4900. description: 采购方userid
  4901. type: integer
  4902. buyusername:
  4903. description: 采购方名称
  4904. type: string
  4905. contractno:
  4906. description: 合同编号
  4907. type: string
  4908. contractqty:
  4909. description: 合同量
  4910. type: number
  4911. contracttype:
  4912. description: 现货合同类型 - 1:采购 -1:销售
  4913. type: integer
  4914. deliverygoodsid:
  4915. description: 现货品种ID
  4916. type: integer
  4917. enumdicname:
  4918. description: 现货商品单位名称
  4919. type: string
  4920. inoutapplyid:
  4921. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  4922. type: string
  4923. inouttype:
  4924. description: 出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  4925. type: integer
  4926. modelname:
  4927. description: 型号名称
  4928. type: string
  4929. pricetype:
  4930. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4931. type: integer
  4932. qty:
  4933. description: 数量
  4934. type: number
  4935. selluserid:
  4936. description: 销售方userid
  4937. type: integer
  4938. sellusername:
  4939. description: 销售方名称
  4940. type: string
  4941. spotcontractid:
  4942. description: 关联现货合同ID
  4943. type: string
  4944. spotgoodsbrandid:
  4945. description: 现货品牌ID
  4946. type: integer
  4947. spotgoodsmodelid:
  4948. description: 现货型号ID
  4949. type: integer
  4950. unitid:
  4951. description: 单位id
  4952. type: integer
  4953. userid:
  4954. description: 机构ID
  4955. type: integer
  4956. warehousecode:
  4957. description: 仓库代码
  4958. type: string
  4959. warehouseinfoid:
  4960. description: 现货仓库ID
  4961. type: string
  4962. warehousename:
  4963. description: 仓库名称
  4964. type: string
  4965. warehousetype:
  4966. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4967. type: integer
  4968. wrstandardcode:
  4969. description: 现货商品代码
  4970. type: string
  4971. wrstandardid:
  4972. description: 现货商品ID
  4973. type: string
  4974. wrstandardname:
  4975. description: 现货商品名称
  4976. type: string
  4977. type: object
  4978. models.ErmcpAreaStockApplySum:
  4979. properties:
  4980. brandname:
  4981. description: 品牌名称
  4982. type: string
  4983. inouttype:
  4984. description: 出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  4985. type: integer
  4986. modelname:
  4987. description: 型号名称
  4988. type: string
  4989. spotcontractid:
  4990. description: 关联现货合同ID
  4991. type: string
  4992. spotgoodsbrandid:
  4993. description: 品牌id
  4994. type: integer
  4995. spotgoodsmodelid:
  4996. description: 型号id
  4997. type: integer
  4998. totalqty:
  4999. description: 总数量
  5000. type: number
  5001. type: object
  5002. models.ErmcpAreaStockReport:
  5003. properties:
  5004. brandname:
  5005. description: 品牌名称
  5006. type: string
  5007. curstock:
  5008. description: 期末库存量
  5009. type: number
  5010. deliverygoodsid:
  5011. description: 现货品种ID
  5012. type: integer
  5013. enumdicname:
  5014. description: 单位名称
  5015. type: string
  5016. modelname:
  5017. description: 型号名称
  5018. type: string
  5019. oristock:
  5020. description: 期初库存量
  5021. type: number
  5022. spotgoodsbrandid:
  5023. description: 现货品牌ID
  5024. type: integer
  5025. spotgoodsmodelid:
  5026. description: 现货型号ID
  5027. type: integer
  5028. todaybuyinqty:
  5029. description: 今日采购入库量
  5030. type: number
  5031. todayproduceinqty:
  5032. description: 今日生产入库量
  5033. type: number
  5034. todayproduceoutqty:
  5035. description: 今日生产出库量
  5036. type: number
  5037. todayselloutqty:
  5038. description: 今日销售出库量
  5039. type: number
  5040. unitid:
  5041. description: 单位id
  5042. type: integer
  5043. updatetime:
  5044. description: 更新时间
  5045. type: string
  5046. userid:
  5047. description: 机构ID
  5048. type: integer
  5049. username:
  5050. description: 机构名称
  5051. type: string
  5052. warehousecode:
  5053. description: 仓库代码
  5054. type: string
  5055. warehouseinfoid:
  5056. description: 仓库ID
  5057. type: string
  5058. warehousename:
  5059. description: 仓库名称
  5060. type: string
  5061. warehousetype:
  5062. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  5063. type: integer
  5064. wrstandardcode:
  5065. description: 现货商品代码
  5066. type: string
  5067. wrstandardid:
  5068. description: 现货商品ID
  5069. type: string
  5070. wrstandardname:
  5071. description: 现货商品名称
  5072. type: string
  5073. type: object
  5074. models.ErmcpAvalidGoodsGroupModel:
  5075. properties:
  5076. goodsgroupid:
  5077. description: 期货品种id
  5078. type: integer
  5079. goodsgroupname:
  5080. description: 期货品种名称
  5081. type: string
  5082. goodunitid:
  5083. description: 品种单位id
  5084. type: integer
  5085. goodunitname:
  5086. description: 品种单位名称
  5087. type: string
  5088. outergroupcode:
  5089. description: 期货品种代码
  5090. type: string
  5091. type: object
  5092. models.ErmcpBizGroupEx:
  5093. properties:
  5094. acclist:
  5095. description: 账号列表
  5096. items:
  5097. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  5098. type: array
  5099. bizgroupid:
  5100. description: 业务分组id
  5101. type: integer
  5102. biztype:
  5103. description: 业务类型 1-套保 2-套利
  5104. type: integer
  5105. wrlist:
  5106. description: 现货商品表
  5107. items:
  5108. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  5109. type: array
  5110. type: object
  5111. models.ErmcpBizGroupSpotGoods:
  5112. properties:
  5113. areauserid:
  5114. description: 所属机构id
  5115. type: integer
  5116. bizgroupid:
  5117. description: 分组id
  5118. type: integer
  5119. biztype:
  5120. description: 业务类型 1-套保 2-套利
  5121. type: integer
  5122. deliverygoodscode:
  5123. description: 现货商品代码
  5124. type: string
  5125. deliverygoodsid:
  5126. description: 现货商品id
  5127. type: integer
  5128. deliverygoodsname:
  5129. description: 现货商品名称
  5130. type: string
  5131. unitid:
  5132. description: 现货商品单位id
  5133. type: integer
  5134. type: object
  5135. models.ErmcpBizGroupTaAccount:
  5136. properties:
  5137. accountid:
  5138. description: 账号id
  5139. type: integer
  5140. accountname:
  5141. description: 账号名称
  5142. type: string
  5143. areauserid:
  5144. description: 所属机构id
  5145. type: integer
  5146. bizgroupid:
  5147. description: 业务分组id
  5148. type: integer
  5149. ismain:
  5150. description: 是否主账号 1-是 0-否
  5151. type: integer
  5152. type: object
  5153. models.ErmcpDGFactoryItem:
  5154. properties:
  5155. areauserid:
  5156. description: 用户id
  5157. type: integer
  5158. deliverygoodsid:
  5159. description: 现货品种ID
  5160. type: integer
  5161. dgfactoryitemid:
  5162. description: 选择项ID(SEQ_DGFACTORYITEM)
  5163. type: integer
  5164. dgfactoryitemtypeid:
  5165. description: 要素项类型
  5166. type: integer
  5167. dgfactoryitemvalue:
  5168. description: 要素项值(类型为仓库时填写仓库名称)
  5169. type: string
  5170. isvalid:
  5171. description: 是否有效 - 0:无效 1:有效
  5172. type: integer
  5173. orderindex:
  5174. description: 顺序
  5175. type: integer
  5176. warehouseid:
  5177. description: 仓库ID(类型为仓库时填写)
  5178. type: integer
  5179. type: object
  5180. models.ErmcpDeliveryGoods:
  5181. properties:
  5182. agreeunit:
  5183. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  5184. type: integer
  5185. areauserid:
  5186. description: 所属机构
  5187. type: integer
  5188. auditflag:
  5189. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  5190. type: integer
  5191. categoryid:
  5192. description: 类别ID(SEQ_WRCATEGORY)
  5193. type: integer
  5194. deliverygoodscode:
  5195. description: 现货品种代码
  5196. type: string
  5197. deliverygoodsid:
  5198. description: 现货品种ID(SEQ_DELIVERYGOODS)
  5199. type: integer
  5200. deliverygoodsname:
  5201. description: 现货品种名称
  5202. type: string
  5203. deliverygoodstype:
  5204. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  5205. type: integer
  5206. dgstatus:
  5207. description: 品种状态 - 作废 - 0:未激活 1:正常
  5208. type: integer
  5209. enumdicname:
  5210. description: 现货品种单位名称
  5211. type: string
  5212. goodsunitid:
  5213. description: 现货品种单位ID
  5214. type: integer
  5215. isvalid:
  5216. description: 是否有效 - 0:无效 1:有效
  5217. type: integer
  5218. qtydecimalplace:
  5219. description: 成交量小数位
  5220. type: integer
  5221. remark:
  5222. description: 备注
  5223. type: string
  5224. standardqty:
  5225. description: 标准数量(库位数量) [标准品特有]
  5226. type: integer
  5227. standardqtyrange:
  5228. description: 标准数量偏差范围 [标准品特有]
  5229. type: integer
  5230. type: object
  5231. models.ErmcpDeliveryGoodsDetail2:
  5232. properties:
  5233. convertratio:
  5234. description: 套保系数(折算系数)
  5235. type: number
  5236. data:
  5237. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  5238. description: 现货商品基本信息(交割品种)
  5239. type: object
  5240. gblist:
  5241. description: 品牌列表
  5242. items:
  5243. $ref: '#/definitions/models.Ermcp3Brand'
  5244. type: array
  5245. gmlist:
  5246. description: 品类列表(仓单标准)
  5247. items:
  5248. $ref: '#/definitions/models.Ermcp3Wrstandard'
  5249. type: array
  5250. type: object
  5251. models.ErmcpDeliveryGoodsDetailEx:
  5252. properties:
  5253. data:
  5254. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  5255. description: 现货商品基本信息(交割品种)
  5256. type: object
  5257. gblist:
  5258. description: 品牌列表
  5259. items:
  5260. $ref: '#/definitions/models.Ermcp3Brand'
  5261. type: array
  5262. gmlist:
  5263. description: 品类列表(仓单标准)
  5264. items:
  5265. $ref: '#/definitions/models.Ermcp3Wrstandard'
  5266. type: array
  5267. mgList:
  5268. description: 套保列表
  5269. items:
  5270. $ref: '#/definitions/models.Ermcp3MiddleGoodsDetail2'
  5271. type: array
  5272. type: object
  5273. models.ErmcpExposureDetailModel:
  5274. properties:
  5275. areauserid:
  5276. description: 机构ID
  5277. type: integer
  5278. changeQty:
  5279. description: 套保变动量
  5280. type: number
  5281. contracttype:
  5282. description: 现货合同类型 - 1:采购 -1:销售
  5283. type: integer
  5284. convertfactor:
  5285. description: 标仓系数
  5286. type: number
  5287. convertratio:
  5288. description: 套保系数
  5289. type: number
  5290. createtime:
  5291. description: 时间
  5292. type: string
  5293. enumdicname:
  5294. description: 现货商品单位名称
  5295. type: string
  5296. logtype:
  5297. description: 类型 - 1:套保计划 2:现货合同
  5298. type: integer
  5299. middlegoodsId:
  5300. description: 套保商品id
  5301. type: integer
  5302. middlegoodscode:
  5303. description: 套保商品代码
  5304. type: string
  5305. middlegoodsname:
  5306. description: 套保商品名称
  5307. type: string
  5308. qty:
  5309. description: 数量
  5310. type: number
  5311. relateNo:
  5312. description: 现货合同/套保计划编号
  5313. type: string
  5314. wrstandardcode:
  5315. description: 现货商品代码
  5316. type: string
  5317. wrstandardid:
  5318. description: 现货商品ID
  5319. type: integer
  5320. wrstandardname:
  5321. description: 现货商品名称
  5322. type: string
  5323. type: object
  5324. models.ErmcpExposurePostion:
  5325. properties:
  5326. agreeunit:
  5327. description: 合约单位
  5328. type: string
  5329. areauserid:
  5330. description: 所属机构id
  5331. type: integer
  5332. convertratio:
  5333. description: 期货品种系数(折算系数)
  5334. type: number
  5335. curqty:
  5336. description: 当前持仓
  5337. type: integer
  5338. diffhedgeqty:
  5339. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  5340. type: number
  5341. diffqty:
  5342. description: 持仓变动量=当前持仓-昨日持仓
  5343. type: integer
  5344. goodscode:
  5345. description: 商品代码
  5346. type: string
  5347. goodsid:
  5348. description: 商品id
  5349. type: integer
  5350. goodsname:
  5351. description: 商品名称
  5352. type: string
  5353. middlegoodsid:
  5354. description: 套保商品id
  5355. type: integer
  5356. ydqty:
  5357. description: 昨日持仓
  5358. type: integer
  5359. type: object
  5360. models.ErmcpFuturesCompany:
  5361. properties:
  5362. brokerid:
  5363. description: 经纪公司代码
  5364. type: string
  5365. channeladdress:
  5366. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  5367. type: string
  5368. channelid:
  5369. description: 对冲渠道ID
  5370. type: string
  5371. createtime:
  5372. description: 创建时间
  5373. type: string
  5374. creatorid:
  5375. description: 创建人
  5376. type: string
  5377. fcid:
  5378. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  5379. type: integer
  5380. fcname:
  5381. description: 期货公司名称
  5382. type: string
  5383. isvalid:
  5384. description: 是否有效 - 0:无效 1:有效
  5385. type: integer
  5386. mhpaddress:
  5387. description: MHP服务地址(IP:Port)
  5388. type: string
  5389. riskrulegroupid:
  5390. description: 风控规则组ID
  5391. type: string
  5392. tradefeetmpid:
  5393. description: 手续费模板ID[TradeConfigTmpType为2]
  5394. type: string
  5395. trademargintmpid:
  5396. description: 保证金模板ID [TradeConfigTmpType为1]
  5397. type: string
  5398. traderatetmpid:
  5399. description: 汇率模板ID[TradeConfigTmpType为3]
  5400. type: string
  5401. updatetime:
  5402. description: 更新时间
  5403. type: string
  5404. updatorid:
  5405. description: 更新人
  5406. type: string
  5407. type: object
  5408. models.ErmcpGGConvertCfg:
  5409. properties:
  5410. convertratio:
  5411. description: 折算系数
  5412. type: number
  5413. destgoodsgroupid:
  5414. description: 目标品种ID
  5415. type: integer
  5416. dstcode:
  5417. description: 目录品种代码
  5418. type: string
  5419. dstexchangecode:
  5420. description: 目标期货交易所
  5421. type: string
  5422. dstname:
  5423. description: 目标品种名称
  5424. type: string
  5425. dstunitid:
  5426. description: 目标品种单位ID
  5427. type: integer
  5428. dstunitidname:
  5429. description: 目标品种单位名称
  5430. type: string
  5431. modifytime:
  5432. description: 修改时间
  5433. type: string
  5434. srccode:
  5435. description: 源品种代码
  5436. type: string
  5437. srcexchangecode:
  5438. description: 源期货交易所
  5439. type: string
  5440. srcgoodsgroupid:
  5441. description: 源品种ID
  5442. type: integer
  5443. srcname:
  5444. description: 源品种名称
  5445. type: string
  5446. srcunitid:
  5447. description: 源品种单位ID
  5448. type: integer
  5449. srcunitidname:
  5450. description: 源品种单位名称
  5451. type: string
  5452. type: object
  5453. models.ErmcpGoodsBrand:
  5454. properties:
  5455. areauserid:
  5456. description: 所属机构
  5457. type: integer
  5458. brandid:
  5459. description: BrandID(SEQ_SPOTGOODSBRAND)
  5460. type: integer
  5461. brandname:
  5462. description: 品牌名称
  5463. type: string
  5464. createtime:
  5465. description: 创建时间
  5466. type: string
  5467. creatorid:
  5468. description: 创建人
  5469. type: integer
  5470. creatorsrc:
  5471. description: 创建人来源 - 1:管理端 2:终端
  5472. type: integer
  5473. deliverygoodsid:
  5474. description: 现货品种ID
  5475. type: integer
  5476. isvalid:
  5477. description: 是否有效 - 0:无效 1:有效
  5478. type: integer
  5479. updatetime:
  5480. description: 更新时间
  5481. type: string
  5482. updatorid:
  5483. description: 更新人
  5484. type: integer
  5485. updatorsrc:
  5486. description: 更新人来源 - 1:管理端 2:终端
  5487. type: integer
  5488. wrstandardid:
  5489. description: 现货商品ID
  5490. type: integer
  5491. type: object
  5492. models.ErmcpGoodsModel:
  5493. properties:
  5494. areauserid:
  5495. description: 所属机构
  5496. type: integer
  5497. convertfactor:
  5498. description: 标仓系数
  5499. type: number
  5500. createtime:
  5501. description: 创建时间
  5502. type: string
  5503. creatorid:
  5504. description: 创建人
  5505. type: integer
  5506. creatorsrc:
  5507. description: 创建人来源 - 1:管理端 2:终端
  5508. type: integer
  5509. deliverygoodsid:
  5510. description: 现货品种ID
  5511. type: integer
  5512. isvalid:
  5513. description: 是否有效 - 0:无效 1:有效
  5514. type: integer
  5515. modelid:
  5516. description: ModelID(SEQ_SPOTGOODSMODEL)
  5517. type: integer
  5518. modelname:
  5519. description: 型号名称
  5520. type: string
  5521. updatetime:
  5522. description: 更新时间
  5523. type: string
  5524. updatorid:
  5525. description: 更新人
  5526. type: integer
  5527. updatorsrc:
  5528. description: 更新人来源 - 1:管理端 2:终端
  5529. type: integer
  5530. wrstandardid:
  5531. description: 现货商品ID
  5532. type: integer
  5533. type: object
  5534. models.ErmcpHedgePlan:
  5535. properties:
  5536. areauserid:
  5537. description: 用户ID
  5538. type: integer
  5539. audittime:
  5540. description: 审核时间
  5541. type: string
  5542. contracttype:
  5543. description: 计划类型 - 1:采购 -1:销售
  5544. type: integer
  5545. convertfactor:
  5546. description: 标仓系数
  5547. type: number
  5548. createtime:
  5549. description: 创建时间
  5550. type: string
  5551. deliverygoodsid:
  5552. description: 现货品种ID
  5553. type: integer
  5554. deliverygoodsname:
  5555. description: 现货品种名称
  5556. type: string
  5557. enumdicname:
  5558. description: 单位名称
  5559. type: string
  5560. hedgeplanid:
  5561. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  5562. type: string
  5563. hedgeplanno:
  5564. description: 套保计划编号(名称)
  5565. type: string
  5566. hedgeplanstatus:
  5567. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5568. type: integer
  5569. planqty:
  5570. description: 计划数量
  5571. type: number
  5572. plantime:
  5573. description: 计划时间
  5574. type: string
  5575. producttype:
  5576. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5577. type: integer
  5578. remark:
  5579. description: 备注
  5580. type: string
  5581. spotgoodsdesc:
  5582. description: 商品型号
  5583. type: string
  5584. unitid:
  5585. description: 单位id
  5586. type: integer
  5587. updatetime:
  5588. description: 更新时间
  5589. type: string
  5590. wrstandardid:
  5591. description: 现货商品ID
  5592. type: integer
  5593. wrstandardname:
  5594. description: 现货商品名称
  5595. type: string
  5596. type: object
  5597. models.ErmcpHedgePosition:
  5598. properties:
  5599. accountid:
  5600. description: 资金账号[外部母账户]
  5601. type: integer
  5602. curbuyposition:
  5603. description: 期末买头寸
  5604. type: integer
  5605. cursellposition:
  5606. description: 期末卖头寸
  5607. type: integer
  5608. curtdbuyposition:
  5609. description: 期末今日买头寸
  5610. type: integer
  5611. curtdsellposition:
  5612. description: 期末今日卖头寸
  5613. type: integer
  5614. curydbuyposition:
  5615. description: 期末上日买头寸
  5616. type: integer
  5617. curydsellposition:
  5618. description: 期末上日卖头寸
  5619. type: integer
  5620. decreaseqty:
  5621. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  5622. type: integer
  5623. fretdbuyposition:
  5624. description: 冻结今日买头寸
  5625. type: integer
  5626. fretdsellposition:
  5627. description: 冻结今日卖头寸
  5628. type: integer
  5629. freydbuyposition:
  5630. description: 冻结上日买头寸
  5631. type: integer
  5632. freydsellposition:
  5633. description: 冻结上日卖头寸
  5634. type: integer
  5635. goodscode:
  5636. description: 商品代码
  5637. type: string
  5638. goodsid:
  5639. description: 商品id
  5640. type: integer
  5641. goodsname:
  5642. description: 商品名称
  5643. type: string
  5644. hedgeaccountcode:
  5645. description: 对冲账号
  5646. type: string
  5647. hedgegoodsid:
  5648. description: 对冲合约ID
  5649. type: integer
  5650. increaseqty:
  5651. description: 增加数量 = 期末买头寸 - 期初买头寸
  5652. type: integer
  5653. marketid:
  5654. description: 市场ID
  5655. type: integer
  5656. relateduserid:
  5657. description: 关联用户id
  5658. type: integer
  5659. totalcurqty:
  5660. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  5661. type: integer
  5662. totalydqty:
  5663. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  5664. type: integer
  5665. tradedate:
  5666. description: 交易日(yyyyMMdd)
  5667. type: string
  5668. ydbuyposition:
  5669. description: 期初买头寸
  5670. type: integer
  5671. ydsellposition:
  5672. description: 期初卖头寸
  5673. type: integer
  5674. type: object
  5675. models.ErmcpHedgePositionDetail:
  5676. properties:
  5677. buyorsell:
  5678. description: 买卖方向 0-买 1-卖
  5679. type: integer
  5680. channelbuildtype:
  5681. description: 开平方向 1-建仓 2-平仓
  5682. type: integer
  5683. goodscode:
  5684. description: 商品代码
  5685. type: string
  5686. goodsname:
  5687. description: 商品名称
  5688. type: string
  5689. hedgegoodsid:
  5690. description: 商品id
  5691. type: integer
  5692. tradeqty:
  5693. description: 数量(成交数量)
  5694. type: integer
  5695. tradetime:
  5696. description: 时间(成交时间)
  5697. type: string
  5698. type: object
  5699. models.ErmcpHisExposure:
  5700. properties:
  5701. needhedgeexposoure:
  5702. description: 应套保敞口
  5703. type: number
  5704. reckondate:
  5705. description: 日照时期(yyyyMMdd)
  5706. type: string
  5707. totalexposure:
  5708. description: 总敞口
  5709. type: number
  5710. type: object
  5711. models.ErmcpHisExposureS:
  5712. properties:
  5713. data:
  5714. description: 历史敞口
  5715. items:
  5716. $ref: '#/definitions/models.ErmcpHisExposure'
  5717. type: array
  5718. enumdicname:
  5719. description: 单位名称
  5720. type: string
  5721. middlegoodscode:
  5722. description: 套保品种代码
  5723. type: string
  5724. middlegoodsid:
  5725. description: 套保品种ID
  5726. type: integer
  5727. middlegoodsname:
  5728. description: 套保品种名称
  5729. type: string
  5730. type: object
  5731. models.ErmcpLoginTaAccount:
  5732. properties:
  5733. accountid:
  5734. description: 账号id
  5735. type: integer
  5736. accountname:
  5737. description: 账号名称
  5738. type: string
  5739. type: object
  5740. models.ErmcpLoginUser:
  5741. properties:
  5742. acclist:
  5743. description: 关联资金账号
  5744. items:
  5745. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  5746. type: array
  5747. accountname:
  5748. description: 用户名称
  5749. type: string
  5750. clientroleid:
  5751. description: 角色id(usertype=2)
  5752. type: integer
  5753. createtime:
  5754. description: 创建时间
  5755. type: string
  5756. logincode:
  5757. description: 登录代码
  5758. type: string
  5759. loginid:
  5760. description: 登录id(LOGINID)
  5761. type: integer
  5762. loginname:
  5763. description: 登录名称(loginaccount表中的accountname字段)
  5764. type: string
  5765. loginstatus:
  5766. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  5767. type: integer
  5768. memberuserid:
  5769. description: 所属会员id
  5770. type: integer
  5771. mobile:
  5772. description: 手机号
  5773. type: string
  5774. modifytime:
  5775. description: 修改时间
  5776. type: string
  5777. password:
  5778. description: 密码(不可解密)
  5779. type: string
  5780. rolename:
  5781. description: 角色名称
  5782. type: string
  5783. rolestatus:
  5784. description: 角色状态 1-启用 2-停用
  5785. type: integer
  5786. roletype:
  5787. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  5788. type: string
  5789. userid:
  5790. description: 用户id
  5791. type: integer
  5792. usertype:
  5793. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  5794. type: integer
  5795. type: object
  5796. models.ErmcpLoginUserEx:
  5797. properties:
  5798. querytype:
  5799. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  5800. type: integer
  5801. roleid:
  5802. description: 角色id(交易账户->用户id)
  5803. type: integer
  5804. rolename:
  5805. description: 角色名称(交易账户->用户名称)
  5806. type: string
  5807. userlist:
  5808. description: 用户列表
  5809. items:
  5810. $ref: '#/definitions/models.ErmcpLoginUser'
  5811. type: array
  5812. usertype:
  5813. description: 用户类型 2-机构 7-企业成员(云平台)
  5814. type: integer
  5815. type: object
  5816. models.ErmcpMiddleGoodsChangeLog:
  5817. properties:
  5818. aftervalue:
  5819. description: 变更后
  5820. type: number
  5821. applyid:
  5822. description: 操作人
  5823. type: integer
  5824. applyname:
  5825. description: 操作人名称
  5826. type: string
  5827. applysrc:
  5828. description: 操作来源 - 1:管理端 2:终端
  5829. type: integer
  5830. beforevalue:
  5831. description: 变更前
  5832. type: number
  5833. changelogtype:
  5834. description: 变更流水类型 - 1:套保比率变更
  5835. type: integer
  5836. handlestatus:
  5837. description: 处理状态
  5838. type: integer
  5839. logdatetime:
  5840. description: 流水日期
  5841. type: string
  5842. logid:
  5843. description: 流水ID
  5844. type: integer
  5845. logremark:
  5846. description: 流水备注
  5847. type: string
  5848. middlegoodsid:
  5849. description: 套保品种ID
  5850. type: integer
  5851. tradedate:
  5852. description: 交易日(yyyyMMdd)
  5853. type: string
  5854. updatetime:
  5855. description: 更新时间
  5856. type: string
  5857. type: object
  5858. models.ErmcpMiddleGoodsDetail:
  5859. properties:
  5860. cvList:
  5861. description: 期货品种折算列表
  5862. items:
  5863. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  5864. type: array
  5865. mg:
  5866. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  5867. description: 套保品种基本信息
  5868. type: object
  5869. wrcList:
  5870. description: 现货品种列表(现货商品折算配置)
  5871. items:
  5872. $ref: '#/definitions/models.WRSConverTDetail'
  5873. type: array
  5874. type: object
  5875. models.ErmcpMiddleGoodsModel:
  5876. properties:
  5877. areauserid:
  5878. description: 机构用户ID
  5879. type: integer
  5880. createtime:
  5881. description: 修改时间
  5882. type: string
  5883. enumdicname:
  5884. description: 单位名称
  5885. type: string
  5886. evaluateratio:
  5887. description: 估价系数
  5888. type: number
  5889. goodsgroupid:
  5890. description: 关联期货品种ID
  5891. type: integer
  5892. goodsunitid:
  5893. description: 单位ID
  5894. type: integer
  5895. isvalid:
  5896. description: 状态 0-无效(停用) 1-有效(正常)
  5897. type: integer
  5898. middlegoodscode:
  5899. description: 套保品种代码
  5900. type: string
  5901. middlegoodsid:
  5902. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  5903. type: integer
  5904. middlegoodsname:
  5905. description: 套保品种名称
  5906. type: string
  5907. modifytime:
  5908. description: 修改时间
  5909. type: string
  5910. needhedgeratio:
  5911. description: 套保比率
  5912. type: number
  5913. qtydecimalplace:
  5914. description: 数量小数位
  5915. type: integer
  5916. relatedgoodsid:
  5917. description: 关联交易商品ID
  5918. type: integer
  5919. relatedgoodstype:
  5920. description: 关联商品类型 - 1:期货合约 2:现货品种
  5921. type: integer
  5922. remark:
  5923. description: 备注
  5924. type: string
  5925. type: object
  5926. models.ErmcpModel:
  5927. properties:
  5928. accountname:
  5929. description: 账户名称
  5930. type: string
  5931. attachment:
  5932. description: 附件
  5933. type: string
  5934. audittime:
  5935. description: 审核时间
  5936. type: string
  5937. brandname:
  5938. description: 品牌名称
  5939. type: string
  5940. contracctstatus:
  5941. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5942. type: integer
  5943. contractmargin:
  5944. description: 合同保证金
  5945. type: number
  5946. contractno:
  5947. description: 合同编号
  5948. type: string
  5949. contracttype:
  5950. description: 合同类型 1-采购, -1-销售
  5951. type: integer
  5952. convertfactor:
  5953. description: 标仓系数
  5954. type: number
  5955. createtime:
  5956. description: 创建时间
  5957. type: string
  5958. daikaiamount:
  5959. description: 应收(开)票额
  5960. type: number
  5961. deliveryenddate:
  5962. description: 交割结束日
  5963. type: string
  5964. deliverygoodscode:
  5965. description: 现货品种代码
  5966. type: string
  5967. deliverygoodsid:
  5968. description: 现货商品ID
  5969. type: integer
  5970. deliverygoodsname:
  5971. description: 现货品种名称
  5972. type: string
  5973. deliverystartdate:
  5974. description: 交割开始日
  5975. type: string
  5976. enddate:
  5977. description: 点价结束日
  5978. type: string
  5979. enumdicname:
  5980. description: 单位名称
  5981. type: string
  5982. goodscode:
  5983. description: 点价商品代码
  5984. type: string
  5985. goodsid:
  5986. description: 点价商品ID
  5987. type: integer
  5988. goodsname:
  5989. description: 点价商品名称
  5990. type: string
  5991. invoiceamount:
  5992. description: 已开票额
  5993. type: number
  5994. loanamount:
  5995. description: 贷款总额=已定价额+调整金额
  5996. type: number
  5997. margin:
  5998. description: 保证金
  5999. type: number
  6000. modelname:
  6001. description: 型号名称
  6002. type: string
  6003. payamount:
  6004. description: 已收付额(收款或付款)
  6005. type: number
  6006. preinvoiceamount:
  6007. description: 预收(开)票额
  6008. type: number
  6009. prepayamount:
  6010. description: 预收付额
  6011. type: number
  6012. price:
  6013. description: 价格
  6014. type: number
  6015. pricedamount:
  6016. description: 已定价额
  6017. type: number
  6018. pricedavg:
  6019. description: 已点均价
  6020. type: number
  6021. pricedqty:
  6022. description: 已定价量
  6023. type: number
  6024. pricemove:
  6025. description: 升贴水
  6026. type: number
  6027. pricetype:
  6028. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  6029. type: integer
  6030. producttype:
  6031. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  6032. type: integer
  6033. qty:
  6034. description: 合同量
  6035. type: number
  6036. reckonadjustamount:
  6037. description: 调整金额
  6038. type: number
  6039. reckonedamount:
  6040. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  6041. type: number
  6042. reckonotheramount:
  6043. description: 其它费用
  6044. type: number
  6045. reckonrealqty:
  6046. description: 已确定量
  6047. type: number
  6048. remark:
  6049. description: 备注
  6050. type: string
  6051. spotcontractid:
  6052. description: 合同ID
  6053. type: string
  6054. spotgoodsbrandid:
  6055. description: 现货品牌ID
  6056. type: integer
  6057. spotgoodsdesc:
  6058. description: 商品型号(商品规格)
  6059. type: string
  6060. spotgoodsmodelid:
  6061. description: 现货型号ID
  6062. type: integer
  6063. startdate:
  6064. description: 点价开始日
  6065. type: string
  6066. totalamount:
  6067. description: 合计总额
  6068. type: number
  6069. unpayamount:
  6070. description: 应收付款额(应支付或应收款)
  6071. type: number
  6072. unpricedqty:
  6073. description: 未定价量
  6074. type: number
  6075. unsureqty:
  6076. description: 未确定量
  6077. type: number
  6078. userid:
  6079. description: 用户ID
  6080. type: integer
  6081. wrstandardcode:
  6082. description: 现货商品代码
  6083. type: string
  6084. wrstandardid:
  6085. description: 现货商品ID
  6086. type: integer
  6087. wrstandardname:
  6088. description: 现货商品名称
  6089. type: string
  6090. type: object
  6091. models.ErmcpOPLogModel:
  6092. properties:
  6093. aftervalue:
  6094. description: 变更后
  6095. type: number
  6096. applyid:
  6097. description: 操作人ID
  6098. type: string
  6099. applyname:
  6100. description: 操作人名称
  6101. type: string
  6102. beforevalue:
  6103. description: 变更前
  6104. type: number
  6105. biztype:
  6106. description: 业务类型 - 1:套保计划 2:现货合同
  6107. type: integer
  6108. contracttype:
  6109. description: 现货合同类型 - 1:采购 -1:销售
  6110. type: integer
  6111. logvalue:
  6112. description: 数值
  6113. type: number
  6114. operatelogtype:
  6115. description: 操作流水类型
  6116. type: integer
  6117. operatelogtypedesc:
  6118. description: 操作流水类型名称
  6119. type: string
  6120. relatedid:
  6121. description: 现货合同ID\套保计划
  6122. type: string
  6123. updatetime:
  6124. description: 更新时间
  6125. type: string
  6126. type: object
  6127. models.ErmcpPendingAudit:
  6128. properties:
  6129. areastockqty:
  6130. description: '待审核数量: 库存申请'
  6131. type: integer
  6132. businessdjqty:
  6133. description: '待审核数量: 点价'
  6134. type: integer
  6135. businessfpqty:
  6136. description: '待审核数量: 发票'
  6137. type: integer
  6138. businessjsqty:
  6139. description: '待审核数量: 结算'
  6140. type: integer
  6141. businesskxqty:
  6142. description: '待审核数量: 款项'
  6143. type: integer
  6144. hedgeplanqty:
  6145. description: '待审核数量: 套保计划'
  6146. type: integer
  6147. spotcontractqty:
  6148. description: '待审核数量: 现货合同'
  6149. type: integer
  6150. userqty:
  6151. description: '待审核数量: 用户'
  6152. type: integer
  6153. type: object
  6154. models.ErmcpRealExposureModel:
  6155. properties:
  6156. AreaUserID:
  6157. description: 所属机构
  6158. type: integer
  6159. BuyFutureQty:
  6160. description: 买入期货数量
  6161. type: number
  6162. BuyPlanQty:
  6163. description: 采购计划数量
  6164. type: number
  6165. BuyPricedQty:
  6166. description: 采购合同已定价数量
  6167. type: number
  6168. MiddleGoodsCode:
  6169. description: 套保品种代码
  6170. type: string
  6171. MiddleGoodsHedgeRatio:
  6172. description: 应套保比例
  6173. type: number
  6174. MiddleGoodsID:
  6175. description: 套保品种
  6176. type: integer
  6177. MiddleGoodsName:
  6178. description: 套保品种名称
  6179. type: string
  6180. NeedHedgeExposoure:
  6181. description: 应套保敞口
  6182. type: number
  6183. NeedHedgeRatio:
  6184. description: 应套保敞口比例
  6185. type: number
  6186. OriBuyFutureQty:
  6187. description: 期初买入期货数量
  6188. type: number
  6189. OriBuyPlanQty:
  6190. description: 期初采购计划数量
  6191. type: number
  6192. OriBuyPricedQty:
  6193. description: 期初采购合同已定价数量
  6194. type: number
  6195. OriSellFutureQty:
  6196. description: 期初卖出期货数量
  6197. type: number
  6198. OriSellPlanQty:
  6199. description: 期初销售计划数量
  6200. type: number
  6201. OriSellPricedQty:
  6202. description: 期初销售合同已定价数量
  6203. type: number
  6204. SellFutureQty:
  6205. description: 卖出期货数量
  6206. type: number
  6207. SellPlanQty:
  6208. description: 销售计划数量
  6209. type: number
  6210. SellPricedQty:
  6211. description: 销售合同已定价数量
  6212. type: number
  6213. TotalExposure:
  6214. description: 总敞口
  6215. type: number
  6216. TotalFutureQty:
  6217. description: 期货数量
  6218. type: number
  6219. TotalHedgeRatio:
  6220. description: 敞口比例
  6221. type: number
  6222. TotalNeedHedgeQty:
  6223. description: 期货应套保量
  6224. type: number
  6225. TotalSpotQty:
  6226. description: 现货数量
  6227. type: number
  6228. diffFutuQty:
  6229. description: 今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)
  6230. type: number
  6231. diffSpotQty:
  6232. description: 今日变动量(现货) = 现货数量 - 期初现货数量
  6233. type: number
  6234. enumdicname:
  6235. description: 单位名称
  6236. type: string
  6237. oriTotalFutuQty:
  6238. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  6239. type: number
  6240. oriTotalSpotQty:
  6241. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  6242. type: number
  6243. type: object
  6244. models.ErmcpReportAreaSpotPL:
  6245. properties:
  6246. actualpl:
  6247. description: 实际损益
  6248. type: number
  6249. areauserid:
  6250. description: 所属机构
  6251. type: integer
  6252. brandname:
  6253. description: 品牌名称
  6254. type: string
  6255. curamount:
  6256. description: 期末额
  6257. type: number
  6258. curaverageprice:
  6259. description: 期末均价
  6260. type: number
  6261. curbuyamount:
  6262. description: 期末采购总额(采购额)
  6263. type: number
  6264. curbuyqty:
  6265. description: 期末采购总量
  6266. type: number
  6267. curmarketvalue:
  6268. description: 参考市值
  6269. type: number
  6270. curqty:
  6271. description: 期末量
  6272. type: number
  6273. cursellamount:
  6274. description: 期末销售总额(销售额)
  6275. type: number
  6276. cursellqty:
  6277. description: 期末销售总量
  6278. type: number
  6279. curspotprice:
  6280. description: 参考市价
  6281. type: number
  6282. enumdicname:
  6283. description: 现货商品单位名称
  6284. type: string
  6285. floatpl:
  6286. description: 浮动损益
  6287. type: number
  6288. gbenumdicname:
  6289. description: 品类单位名称
  6290. type: string
  6291. gbunitid:
  6292. description: 品类单位id
  6293. type: integer
  6294. modelname:
  6295. description: 品类名称
  6296. type: string
  6297. oriamount:
  6298. description: 期初额
  6299. type: number
  6300. oriaverageprice:
  6301. description: 期初均价
  6302. type: number
  6303. oribuyamount:
  6304. description: 期初采购总额
  6305. type: number
  6306. oribuyqty:
  6307. description: 期初采购总量
  6308. type: number
  6309. oriqty:
  6310. description: 期初量
  6311. type: number
  6312. orisellamount:
  6313. description: 期初销售总额
  6314. type: number
  6315. orisellqty:
  6316. description: 期初销售总量
  6317. type: number
  6318. spotgoodsbrandid:
  6319. description: 现货品牌ID
  6320. type: integer
  6321. spotgoodsmodelid:
  6322. description: 现货品类ID
  6323. type: integer
  6324. todaybuyamount:
  6325. description: 今日采购额
  6326. type: number
  6327. todaybuyaverageprice:
  6328. description: 今日采购均价(采购均价)
  6329. type: number
  6330. todaybuyqty:
  6331. description: 今日采购量(采购增量)
  6332. type: number
  6333. todaysellamount:
  6334. description: 今日销售额
  6335. type: number
  6336. todaysellaverageprice:
  6337. description: 今日销售均价(销售均价)
  6338. type: number
  6339. todaysellqty:
  6340. description: 今日销售量(销售增量)
  6341. type: number
  6342. unitid:
  6343. description: 现货商品单位id
  6344. type: integer
  6345. updatetime:
  6346. description: 更新时间
  6347. type: string
  6348. wrstandardcode:
  6349. description: 现货商品代码
  6350. type: string
  6351. wrstandardid:
  6352. description: 现货商品ID
  6353. type: integer
  6354. wrstandardname:
  6355. description: 现货商品名称
  6356. type: string
  6357. type: object
  6358. models.ErmcpReportDayExposure:
  6359. properties:
  6360. areauserid:
  6361. description: 所属机构
  6362. type: integer
  6363. buyfutureqty:
  6364. description: 买入期货数量
  6365. type: number
  6366. buyplanqty:
  6367. description: 采购计划数量
  6368. type: number
  6369. buypricedqty:
  6370. description: 采购合同已定价数量
  6371. type: number
  6372. diffFutuQty:
  6373. description: 今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)
  6374. type: number
  6375. diffSpotQty:
  6376. description: 今日变动量(现货) = 现货数量 - 期初现货数量
  6377. type: number
  6378. enumdicname:
  6379. description: 单位名称
  6380. type: string
  6381. middlegoodscode:
  6382. description: 套保品种代码
  6383. type: string
  6384. middlegoodshedgeratio:
  6385. description: 应套保比例
  6386. type: number
  6387. middlegoodsid:
  6388. description: 套保品种ID
  6389. type: integer
  6390. middlegoodsname:
  6391. description: 套保品种名称
  6392. type: string
  6393. needhedgeexposoure:
  6394. description: 应套保敞口
  6395. type: number
  6396. needhedgeratio:
  6397. description: 应套保敞口比例
  6398. type: number
  6399. oriTotalFutuQty:
  6400. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  6401. type: number
  6402. oriTotalSpotQty:
  6403. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  6404. type: number
  6405. oribuyfutureqty:
  6406. description: 期初买入期货数量
  6407. type: number
  6408. oribuyplanqty:
  6409. description: 期初采购计划数量
  6410. type: number
  6411. oribuypricedqty:
  6412. description: 期初采购合同已定价数量
  6413. type: number
  6414. orisellfutureqty:
  6415. description: 期初卖出期货数量
  6416. type: number
  6417. orisellplanqty:
  6418. description: 期初销售计划数量
  6419. type: number
  6420. orisellpricedqty:
  6421. description: 期初销售合同已定价数量
  6422. type: number
  6423. reckondate:
  6424. description: 日照时期(yyyyMMdd)
  6425. type: string
  6426. sellfutureqty:
  6427. description: 卖出期货数量
  6428. type: number
  6429. sellplanqty:
  6430. description: 销售计划数量
  6431. type: number
  6432. sellpricedqty:
  6433. description: 销售合同已定价数量
  6434. type: number
  6435. totalexposure:
  6436. description: 总敞口
  6437. type: number
  6438. totalfutureqty:
  6439. description: 期货数量
  6440. type: number
  6441. totalhedgeratio:
  6442. description: 敞口比例
  6443. type: number
  6444. totalneedhedgeqty:
  6445. description: 期货应套保量
  6446. type: number
  6447. totalspotqty:
  6448. description: 现货数量
  6449. type: number
  6450. type: object
  6451. models.ErmcpReportDayFR:
  6452. properties:
  6453. areauserid:
  6454. description: 所属机构
  6455. type: integer
  6456. collectinvoiceamount:
  6457. description: 今日开票金额
  6458. type: number
  6459. collectinvoicecount:
  6460. description: 今日开票笔数
  6461. type: integer
  6462. collectmoneyamount:
  6463. description: 今日收款金额
  6464. type: number
  6465. collectmoneycount:
  6466. description: 今日收款笔数
  6467. type: integer
  6468. payinvoiceamount:
  6469. description: 今日收票金额
  6470. type: number
  6471. payinvoicecount:
  6472. description: 今日收票笔数
  6473. type: integer
  6474. paymoneyamount:
  6475. description: 今日付款金额
  6476. type: number
  6477. paymoneycount:
  6478. description: 今日付款笔数
  6479. type: integer
  6480. reckondate:
  6481. description: 日照时期(yyyyMMdd)
  6482. type: string
  6483. updatetime:
  6484. description: 更新时间
  6485. type: string
  6486. type: object
  6487. models.ErmcpReportDaySpot:
  6488. properties:
  6489. areauserid:
  6490. description: 所属机构T
  6491. type: integer
  6492. buyinqty:
  6493. description: 采购入库量
  6494. type: number
  6495. enumdicname:
  6496. description: 现货商品单位名称
  6497. type: string
  6498. reckondate:
  6499. description: 日照时期(yyyyMMdd)
  6500. type: string
  6501. selloutqty:
  6502. description: 销售出库量
  6503. type: number
  6504. todaybuyreckonqty:
  6505. description: 采购确定量
  6506. type: number
  6507. todaysellreckonqty:
  6508. description: 销售确定量
  6509. type: number
  6510. totalbuypricedqty:
  6511. description: 采购定价量 = 期末 - 期初
  6512. type: number
  6513. totalsellpricedqty:
  6514. description: 销售定价量 = 期末 - 期初
  6515. type: number
  6516. wrstandardcode:
  6517. description: 现货商品代码
  6518. type: string
  6519. wrstandardid:
  6520. description: 现货商品ID
  6521. type: integer
  6522. wrstandardname:
  6523. description: 现货商品名称
  6524. type: string
  6525. type: object
  6526. models.ErmcpReportMonSpot:
  6527. properties:
  6528. areauserid:
  6529. description: 所属机构T
  6530. type: integer
  6531. buyinqty:
  6532. description: 采购入库量
  6533. type: number
  6534. cycletime:
  6535. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6536. type: string
  6537. cycletype:
  6538. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6539. type: integer
  6540. enumdicname:
  6541. description: 现货商品单位名称
  6542. type: string
  6543. selloutqty:
  6544. description: 销售出库量
  6545. type: number
  6546. todaybuyreckonqty:
  6547. description: 采购确定量
  6548. type: number
  6549. todaysellreckonqty:
  6550. description: 销售确定量
  6551. type: number
  6552. totalbuypricedqty:
  6553. description: 采购定价量 = 期末 - 期初
  6554. type: number
  6555. totalsellpricedqty:
  6556. description: 销售定价量 = 期末 - 期初
  6557. type: number
  6558. wrstandardcode:
  6559. description: 现货商品代码
  6560. type: string
  6561. wrstandardid:
  6562. description: 现货商品ID
  6563. type: integer
  6564. wrstandardname:
  6565. description: 现货商品名称
  6566. type: string
  6567. type: object
  6568. models.ErmcpReportMonthFR:
  6569. properties:
  6570. areauserid:
  6571. description: 所属机构【原值】
  6572. type: integer
  6573. collectinvoiceamount:
  6574. description: 今日开票金额【汇总】
  6575. type: number
  6576. collectinvoicecount:
  6577. description: 今日开票笔数【汇总】
  6578. type: integer
  6579. collectmoneyamount:
  6580. description: 今日收款金额【汇总】
  6581. type: number
  6582. collectmoneycount:
  6583. description: 今日收款笔数 【汇总】
  6584. type: integer
  6585. cycletime:
  6586. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6587. type: string
  6588. cycletype:
  6589. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6590. type: integer
  6591. dayFr:
  6592. description: 日报表明细
  6593. items:
  6594. $ref: '#/definitions/models.ErmcpReportDayFR'
  6595. type: array
  6596. payinvoiceamount:
  6597. description: 今日收票金额【汇总】
  6598. type: number
  6599. payinvoicecount:
  6600. description: 今日收票笔数【汇总】
  6601. type: integer
  6602. paymoneyamount:
  6603. description: 今日付款金额【汇总】
  6604. type: number
  6605. paymoneycount:
  6606. description: 今日付款笔数【汇总】
  6607. type: integer
  6608. updatetime:
  6609. description: 更新时间
  6610. type: string
  6611. type: object
  6612. models.ErmcpReportOPLog:
  6613. properties:
  6614. applyid:
  6615. description: 操作人
  6616. type: integer
  6617. applyname:
  6618. description: 操作人名称
  6619. type: string
  6620. biztype:
  6621. description: 业务类型 - 1:套保计划 2:现货合同
  6622. type: integer
  6623. brandname:
  6624. description: 品牌名称
  6625. type: string
  6626. contracttype:
  6627. description: 现货合同类型 - 1:采购 -1:销售
  6628. type: integer
  6629. enumdicName:
  6630. description: 单位名称
  6631. type: string
  6632. logdatetime:
  6633. description: 流水日期(时间)
  6634. type: string
  6635. logid:
  6636. description: 流水ID(604+Unix秒时间戳(10位)+xxxxxx)
  6637. type: string
  6638. logtypename:
  6639. description: 合同类型(名称)
  6640. type: string
  6641. logvalue:
  6642. description: 数值
  6643. type: string
  6644. modelname:
  6645. description: 型号名称
  6646. type: string
  6647. operatelogtype:
  6648. description: 操作流水类型 -
  6649. type: integer
  6650. optypename:
  6651. description: 流水类型名称
  6652. type: string
  6653. relatedid:
  6654. description: 现货合同ID\套保计划
  6655. type: string
  6656. relatedno:
  6657. description: 合同编号
  6658. type: string
  6659. tradedate:
  6660. description: 交易日(yyyyMMdd)
  6661. type: string
  6662. userid:
  6663. description: 机构ID
  6664. type: integer
  6665. wrstandardcode:
  6666. description: 现货商品代码
  6667. type: string
  6668. wrstandardid:
  6669. description: 现货商品ID
  6670. type: integer
  6671. wrstandardname:
  6672. description: 现货商品名称
  6673. type: string
  6674. type: object
  6675. models.ErmcpRole:
  6676. properties:
  6677. areauserid:
  6678. description: 所属机构
  6679. type: integer
  6680. autoid:
  6681. description: 角色ID(自增ID)
  6682. type: integer
  6683. modifierid:
  6684. description: 修改人(创建人)
  6685. type: integer
  6686. modifiername:
  6687. description: 修改人名称
  6688. type: string
  6689. modifytime:
  6690. description: 修改时间(创建时间)
  6691. type: string
  6692. rolename:
  6693. description: 角色名称
  6694. type: string
  6695. rolestatus:
  6696. description: 角色状态 - 1:启用 2:停用
  6697. type: integer
  6698. roletype:
  6699. description: 角色类型 - 1- 管理端 2- 交易端
  6700. type: integer
  6701. type: object
  6702. models.ErmcpRoleMenu:
  6703. properties:
  6704. iconame:
  6705. description: 菜单图标
  6706. type: string
  6707. menutype:
  6708. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  6709. type: integer
  6710. parentcode:
  6711. description: 上级资源代码
  6712. type: string
  6713. remark:
  6714. description: 菜单备注
  6715. type: string
  6716. resourcecode:
  6717. description: 菜单代码
  6718. type: string
  6719. resourcelevel:
  6720. description: 级别
  6721. type: integer
  6722. resourcename:
  6723. description: 菜单名称
  6724. type: string
  6725. roleid:
  6726. description: 角色id
  6727. type: integer
  6728. sort:
  6729. description: 排序
  6730. type: integer
  6731. url:
  6732. description: URL
  6733. type: string
  6734. userid:
  6735. description: 用户id
  6736. type: integer
  6737. type: object
  6738. models.ErmcpRoleMenuEx:
  6739. properties:
  6740. menu:
  6741. $ref: '#/definitions/models.ErmcpRoleMenu'
  6742. description: 父级菜单
  6743. type: object
  6744. subMenu:
  6745. description: 子级菜单
  6746. items:
  6747. $ref: '#/definitions/models.ErmcpRoleMenu'
  6748. type: array
  6749. type: object
  6750. models.ErmcpSpotContractModel:
  6751. properties:
  6752. amount:
  6753. description: 金额 [1:一口价、3:暂定价]
  6754. type: number
  6755. attachment:
  6756. description: 附件
  6757. type: string
  6758. auditremark:
  6759. description: 审核意见
  6760. type: string
  6761. audittime:
  6762. description: 审核时间
  6763. type: string
  6764. brandname:
  6765. description: 品牌名称
  6766. type: string
  6767. buyuserid:
  6768. description: 采购方ID
  6769. type: integer
  6770. buyusername:
  6771. description: 采购方名称
  6772. type: string
  6773. contracctstatus:
  6774. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  6775. type: integer
  6776. contractmargin:
  6777. description: 合同保证金
  6778. type: number
  6779. contractno:
  6780. description: 现货合同编号
  6781. type: string
  6782. contracttype:
  6783. description: 现货合同类型 - 1:采购 -1:销售
  6784. type: integer
  6785. convertfactor:
  6786. description: 标仓系数
  6787. type: number
  6788. createtime:
  6789. description: 创建时间
  6790. type: string
  6791. deliveryenddate:
  6792. description: 交收期(结束)
  6793. type: string
  6794. deliverygoodscode:
  6795. description: 现货品种代码
  6796. type: string
  6797. deliverygoodsid:
  6798. description: 现货品种ID
  6799. type: integer
  6800. deliverygoodsname:
  6801. description: 现货品种名称
  6802. type: string
  6803. deliverystartdate:
  6804. description: 交收期(开始)
  6805. type: string
  6806. enddate:
  6807. description: 点价结束日期 [2:点价 3:暂定价]
  6808. type: string
  6809. enumdicname:
  6810. description: 单位名称
  6811. type: string
  6812. goodscode:
  6813. description: 点价合约代码
  6814. type: string
  6815. goodsid:
  6816. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  6817. type: integer
  6818. goodsname:
  6819. description: 点价商品名称
  6820. type: string
  6821. margin:
  6822. description: 当前保证金
  6823. type: number
  6824. modelname:
  6825. description: 型号名称
  6826. type: string
  6827. price:
  6828. description: 价格\暂定价 [1:一口价、3:暂定价]
  6829. type: number
  6830. pricemove:
  6831. description: 升贴水 [2:点价 3:暂定价]
  6832. type: number
  6833. pricetype:
  6834. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  6835. type: integer
  6836. producttype:
  6837. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  6838. type: integer
  6839. qty:
  6840. description: 数量
  6841. type: number
  6842. remark:
  6843. description: 备注
  6844. type: string
  6845. selluserid:
  6846. description: 销售方ID
  6847. type: integer
  6848. sellusername:
  6849. description: 销售方名称
  6850. type: string
  6851. spotcontractid:
  6852. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  6853. type: string
  6854. spotgoodsbrandid:
  6855. description: 现货品牌ID
  6856. type: integer
  6857. spotgoodsdesc:
  6858. description: 商品型号
  6859. type: string
  6860. spotgoodsmodelid:
  6861. description: 现货型号ID
  6862. type: integer
  6863. startdate:
  6864. description: 点价开始日期 [2:点价 3:暂定价]
  6865. type: string
  6866. updatetime:
  6867. description: 更新时间
  6868. type: string
  6869. userid:
  6870. description: 机构ID
  6871. type: integer
  6872. wrstandardcode:
  6873. description: 现货商品代码
  6874. type: string
  6875. wrstandardid:
  6876. description: 现货商品ID
  6877. type: integer
  6878. wrstandardname:
  6879. description: 现货商品名称
  6880. type: string
  6881. type: object
  6882. models.ErmcpSpotGoodsPrice:
  6883. properties:
  6884. areauserid:
  6885. description: 所属机构id
  6886. type: integer
  6887. brandname:
  6888. description: 品牌名称
  6889. type: string
  6890. currencyid:
  6891. description: 报价货币ID
  6892. type: integer
  6893. enumdicname:
  6894. description: 现货商品单位名称
  6895. type: string
  6896. gbenumdicname:
  6897. description: 品类单位名称
  6898. type: string
  6899. gmunitid:
  6900. description: 品类单位id
  6901. type: integer
  6902. isvalid:
  6903. description: 是否有效 - 0:无效 1:有效
  6904. type: integer
  6905. modelname:
  6906. description: 品类名称
  6907. type: string
  6908. operateid:
  6909. description: 最后操作人
  6910. type: integer
  6911. operatesrc:
  6912. description: 最后操作来源 - 1:管理端 2:终端
  6913. type: integer
  6914. operatetime:
  6915. description: 最后操作时间
  6916. type: string
  6917. operatorname:
  6918. description: 操作人名称
  6919. type: string
  6920. spotgoodsbrandid:
  6921. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  6922. type: integer
  6923. spotgoodsmodelid:
  6924. description: 现货品类ID(通用则为0)
  6925. type: integer
  6926. spotgoodsprice:
  6927. description: 现货价格
  6928. type: number
  6929. tradedate:
  6930. description: 交易日(yyyyMMdd)
  6931. type: string
  6932. unitid:
  6933. description: 现货商品单位id
  6934. type: integer
  6935. wrstandardcode:
  6936. description: 现货商品代码
  6937. type: string
  6938. wrstandardid:
  6939. description: 现货商品ID
  6940. type: integer
  6941. wrstandardname:
  6942. description: 现货商品名称
  6943. type: string
  6944. type: object
  6945. models.ErmcpSpotGoodsPriceLog:
  6946. properties:
  6947. areauserid:
  6948. description: 所属机构id
  6949. type: integer
  6950. brandname:
  6951. description: 品牌名称
  6952. type: string
  6953. currencyid:
  6954. description: 报价货币ID
  6955. type: integer
  6956. enumdicname:
  6957. description: 现货商品单位名称
  6958. type: string
  6959. gbenumdicname:
  6960. description: 品类单位名称
  6961. type: string
  6962. gmunitid:
  6963. description: 品类单位id
  6964. type: integer
  6965. logid:
  6966. description: 日志id
  6967. type: integer
  6968. modelname:
  6969. description: 品类名称
  6970. type: string
  6971. operateid:
  6972. description: 最后操作人
  6973. type: integer
  6974. operatesrc:
  6975. description: 最后操作来源 - 1:管理端 2:终端
  6976. type: integer
  6977. operatetime:
  6978. description: 最后操作时间
  6979. type: string
  6980. operatorname:
  6981. description: 操作人名称
  6982. type: string
  6983. spotgoodsbrandid:
  6984. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  6985. type: integer
  6986. spotgoodsmodelid:
  6987. description: 现货品类ID(通用则为0)
  6988. type: integer
  6989. spotgoodsprice:
  6990. description: 现货价格
  6991. type: number
  6992. tradedate:
  6993. description: 交易日(yyyyMMdd)
  6994. type: string
  6995. unitid:
  6996. description: 现货商品单位id
  6997. type: integer
  6998. wrstandardcode:
  6999. description: 现货商品代码
  7000. type: string
  7001. wrstandardid:
  7002. description: 现货商品ID
  7003. type: integer
  7004. wrstandardname:
  7005. description: 现货商品名称
  7006. type: string
  7007. type: object
  7008. models.ErmcpTaAccount:
  7009. properties:
  7010. accountid:
  7011. description: 账户id
  7012. type: integer
  7013. accountname:
  7014. description: 账户名称
  7015. type: string
  7016. currencyid:
  7017. description: 币种id
  7018. type: integer
  7019. hedgeaccountcode:
  7020. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  7021. type: string
  7022. ismain:
  7023. description: 是否主账户 0-否 1-是
  7024. type: integer
  7025. parentaccountid:
  7026. description: 父账户id
  7027. type: integer
  7028. relateduserid:
  7029. description: 关联userid
  7030. type: integer
  7031. tradestatus:
  7032. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7033. type: integer
  7034. userid:
  7035. description: 用户id
  7036. type: integer
  7037. type: object
  7038. models.ErmcpTaAccountEx:
  7039. properties:
  7040. mainAcc:
  7041. $ref: '#/definitions/models.ErmcpTaAccount'
  7042. description: 主账号
  7043. type: object
  7044. subacclist:
  7045. description: 子账号列表
  7046. items:
  7047. $ref: '#/definitions/models.ErmcpTaAccount'
  7048. type: array
  7049. type: object
  7050. models.ErmcpTaAccountInfo:
  7051. properties:
  7052. accountid:
  7053. description: 资金账户ID
  7054. type: integer
  7055. accountname:
  7056. description: 账户名称
  7057. type: string
  7058. balance:
  7059. description: 期初余额
  7060. type: number
  7061. capitalbalance:
  7062. description: 本金余额[外部子账户实际出入金余额]
  7063. type: number
  7064. closepl:
  7065. description: 今日平仓盈亏
  7066. type: number
  7067. creditdecrease:
  7068. description: 今日授信减少
  7069. type: number
  7070. creditincrease:
  7071. description: 今日授信增加
  7072. type: number
  7073. curdebt:
  7074. description: 期末欠款
  7075. type: number
  7076. currencyid:
  7077. description: 货币ID
  7078. type: integer
  7079. currentbalance:
  7080. description: 期末余额
  7081. type: number
  7082. freezecharge:
  7083. description: 手续费冻结
  7084. type: number
  7085. freezemargin:
  7086. description: 冻结保证金
  7087. type: number
  7088. fromaccountid:
  7089. description: 所属上级账户
  7090. type: integer
  7091. inamount:
  7092. description: 今日入金金额(包括三方入金)
  7093. type: number
  7094. ismain:
  7095. description: 是否母账号 0:不是母账户 1:是母账户
  7096. type: integer
  7097. mortgagecredit:
  7098. description: 授信金额
  7099. type: number
  7100. oridebt:
  7101. description: 期初欠款
  7102. type: number
  7103. orifreezecharge:
  7104. description: 期初手续费冻结
  7105. type: number
  7106. orifreezemargin:
  7107. description: 期初冻结保证金
  7108. type: number
  7109. orimortgagecredit:
  7110. description: 期初授信金额
  7111. type: number
  7112. oriothercredit:
  7113. description: 期初其它授信金额
  7114. type: number
  7115. oriotherfreezemargin:
  7116. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  7117. type: number
  7118. orioutamountfreeze:
  7119. description: 期初出金冻结
  7120. type: number
  7121. oriusedmargin:
  7122. description: 期初占用保证金
  7123. type: number
  7124. othercredit:
  7125. description: 其它授信金额
  7126. type: number
  7127. othercreditdecrease:
  7128. description: 今日其它授信减少
  7129. type: number
  7130. othercreditincrease:
  7131. description: 今日其它授信增加
  7132. type: number
  7133. otherfreezemargin:
  7134. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  7135. type: number
  7136. outamount:
  7137. description: 今日出金金额(包括三方出金)
  7138. type: number
  7139. outamountfreeze:
  7140. description: 出金冻结
  7141. type: number
  7142. outthreshold:
  7143. description: 出金阈值
  7144. type: number
  7145. parentaccountid:
  7146. description: 所属根账号
  7147. type: integer
  7148. paycharge:
  7149. description: 今日手续费支出
  7150. type: number
  7151. relateduserid:
  7152. description: 关联用户
  7153. type: integer
  7154. signstatus:
  7155. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  7156. type: integer
  7157. sublevelpath:
  7158. description: 账号层级路径(逗号分隔,首尾加逗号)
  7159. type: string
  7160. taaccounttype:
  7161. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  7162. type: integer
  7163. thirdinamount:
  7164. description: 今日三方入金
  7165. type: number
  7166. thirdoutamount:
  7167. description: 今日三方出金
  7168. type: number
  7169. tradestatus:
  7170. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7171. type: integer
  7172. transferamount:
  7173. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  7174. type: number
  7175. usedmargin:
  7176. description: 占用保证金
  7177. type: number
  7178. userid:
  7179. description: 用户ID
  7180. type: integer
  7181. type: object
  7182. models.ErmcpTradeConfigTMP:
  7183. properties:
  7184. areauserid:
  7185. description: 所属机构
  7186. type: integer
  7187. basiccurrencyid:
  7188. description: 基本币种ID[汇率] - 目标币种
  7189. type: integer
  7190. mainaccountid:
  7191. description: 主账户ID
  7192. type: integer
  7193. modifierid:
  7194. description: 修改人
  7195. type: integer
  7196. remark:
  7197. description: 备注
  7198. type: string
  7199. tradeconfigtmpid:
  7200. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  7201. type: integer
  7202. tradeconfigtmpname:
  7203. description: 交易配置模板名称
  7204. type: string
  7205. tradeconfigtmptype:
  7206. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  7207. type: integer
  7208. updatetime:
  7209. description: 更新时间
  7210. type: string
  7211. type: object
  7212. models.ErmcpUserModel:
  7213. properties:
  7214. address:
  7215. description: 通讯地址
  7216. type: string
  7217. attachment1:
  7218. description: 附件1
  7219. type: string
  7220. audittime:
  7221. description: 审核时间
  7222. type: string
  7223. cardbackphotourl:
  7224. description: 证件反面图片地址
  7225. type: string
  7226. cardfrontphotourl:
  7227. description: 证件正面图片地址
  7228. type: string
  7229. cardnum:
  7230. description: 证件号码
  7231. type: string
  7232. cardtype:
  7233. description: 证件类型
  7234. type: integer
  7235. cardtypename:
  7236. description: 证件类型名称
  7237. type: string
  7238. cityid:
  7239. description: 市
  7240. type: integer
  7241. contactname:
  7242. description: 联系人
  7243. type: string
  7244. countryid:
  7245. description: 国家
  7246. type: integer
  7247. createtime:
  7248. description: 创建时间
  7249. type: string
  7250. customername:
  7251. description: 企业名称
  7252. type: string
  7253. districtid:
  7254. description: 区域
  7255. type: integer
  7256. email:
  7257. description: 邮件
  7258. type: string
  7259. legalpersonname:
  7260. description: 法人姓名(企业)
  7261. type: string
  7262. memberuserid:
  7263. description: 所属机构ID
  7264. type: integer
  7265. mobile:
  7266. description: 手机号码
  7267. type: string
  7268. modifytime:
  7269. description: 修改时间
  7270. type: string
  7271. nickname:
  7272. description: 昵称
  7273. type: string
  7274. provinceid:
  7275. description: 省
  7276. type: integer
  7277. remark:
  7278. description: 备注
  7279. type: string
  7280. status:
  7281. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  7282. type: integer
  7283. statusdesc:
  7284. description: 账户状态中文描述
  7285. type: string
  7286. taxpayernum:
  7287. description: 纳税人识别号
  7288. type: string
  7289. telphone:
  7290. description: 联系电话
  7291. type: string
  7292. userid:
  7293. description: 用户ID
  7294. type: integer
  7295. userinfotype:
  7296. description: 客户类型
  7297. type: string
  7298. type: object
  7299. models.ErmcpWareHouseInfo:
  7300. properties:
  7301. address:
  7302. description: 详细地址
  7303. type: string
  7304. areauserid:
  7305. description: 所属机构
  7306. type: integer
  7307. autoid:
  7308. description: 自增ID(仓库ID)
  7309. type: integer
  7310. cityid:
  7311. description: 市
  7312. type: integer
  7313. contactname:
  7314. description: 联系人
  7315. type: string
  7316. contactnum:
  7317. description: 联系电话
  7318. type: string
  7319. countryid:
  7320. description: 国家
  7321. type: integer
  7322. createtime:
  7323. description: 创建时间
  7324. type: string
  7325. districtid:
  7326. description: 区
  7327. type: integer
  7328. hasvideo:
  7329. description: 是否有视频 - 0:无 1:有
  7330. type: integer
  7331. provinceid:
  7332. description: 省
  7333. type: integer
  7334. remark:
  7335. description: 审核备注
  7336. type: string
  7337. videourl:
  7338. description: 视频地址
  7339. type: string
  7340. warehousecode:
  7341. description: 仓库代码
  7342. type: string
  7343. warehousename:
  7344. description: 仓库名称
  7345. type: string
  7346. warehousestatus:
  7347. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  7348. type: integer
  7349. warehousetype:
  7350. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  7351. type: integer
  7352. type: object
  7353. models.ErmcpWrstandDetail:
  7354. properties:
  7355. gbList:
  7356. description: 品牌列表
  7357. items:
  7358. $ref: '#/definitions/models.GoodsBrand'
  7359. type: array
  7360. goodsList:
  7361. description: 关联交易商品列表
  7362. items:
  7363. $ref: '#/definitions/models.RelatedGoodsEx'
  7364. type: array
  7365. gtList:
  7366. description: 型号列表
  7367. items:
  7368. $ref: '#/definitions/models.GoodsTypeModel'
  7369. type: array
  7370. wrd:
  7371. $ref: '#/definitions/models.ErmcpWrstandard'
  7372. description: 基本信息
  7373. type: object
  7374. wrsList:
  7375. description: 套保信息列表
  7376. items:
  7377. $ref: '#/definitions/models.WRSConverTDetail'
  7378. type: array
  7379. type: object
  7380. models.ErmcpWrstandard:
  7381. properties:
  7382. areauserid:
  7383. description: 所属机构
  7384. type: integer
  7385. createtime:
  7386. description: 创建时间
  7387. type: string
  7388. creatorid:
  7389. description: 创建人
  7390. type: integer
  7391. deliverygoodsid:
  7392. description: 品种ID
  7393. type: integer
  7394. enumdicname:
  7395. description: 单位名称
  7396. type: string
  7397. isvalid:
  7398. description: 是否有效 0-无效(停用) 1-有效(正常)
  7399. type: integer
  7400. minivalue:
  7401. description: 最小变动值
  7402. type: integer
  7403. minivaluedp:
  7404. description: 最小变动值小数位
  7405. type: integer
  7406. realminivalue:
  7407. description: 实际最小变动值
  7408. type: integer
  7409. realminivaluedp:
  7410. description: 实际最小变动值小数位
  7411. type: integer
  7412. remark:
  7413. description: 备注
  7414. type: string
  7415. unitid:
  7416. description: 单位ID
  7417. type: integer
  7418. updatetime:
  7419. description: 更新时间
  7420. type: string
  7421. wrstandardcode:
  7422. description: 现货商品代码
  7423. type: string
  7424. wrstandardid:
  7425. description: 现货商品ID(SEQ_WRSTANDARD)
  7426. type: integer
  7427. wrstandardname:
  7428. description: 现货商品名称
  7429. type: string
  7430. type: object
  7431. models.Externalexchange:
  7432. properties:
  7433. autoid:
  7434. description: AutoID - SEQ_EXTERNALEXCHANGE
  7435. type: integer
  7436. exchangefullname:
  7437. description: 外部交易所全称
  7438. type: string
  7439. exexchangecode:
  7440. description: 外部交易所代码
  7441. type: string
  7442. exexchangename:
  7443. description: 外部交易所名称(简称)
  7444. type: string
  7445. ismarketprice:
  7446. description: 是否支持市价 - 0:不支持 1:支持
  7447. type: integer
  7448. quotegear:
  7449. description: 行情档位(1-10)
  7450. type: integer
  7451. showbrokerflag:
  7452. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  7453. type: integer
  7454. updatetime:
  7455. description: 更新时间
  7456. type: string
  7457. required:
  7458. - autoid
  7459. type: object
  7460. models.Funcmenulist:
  7461. properties:
  7462. iconame:
  7463. description: 菜单图标
  7464. type: string
  7465. menutype:
  7466. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  7467. type: integer
  7468. parentcode:
  7469. description: 上级资源代码
  7470. type: string
  7471. remark:
  7472. description: 备注
  7473. type: string
  7474. resourcecode:
  7475. description: 资源代码
  7476. type: string
  7477. resourcelevel:
  7478. description: 级别 1-一级 2-二级 3-三级 4-四级
  7479. type: integer
  7480. resourcename:
  7481. description: 资源名
  7482. type: string
  7483. sort:
  7484. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  7485. type: integer
  7486. url:
  7487. description: URL
  7488. type: string
  7489. required:
  7490. - resourcecode
  7491. type: object
  7492. models.Goods:
  7493. properties:
  7494. agreeunit:
  7495. description: 合约单位
  7496. type: number
  7497. auditaccountid:
  7498. description: 审核操作员账号
  7499. type: integer
  7500. audittime:
  7501. description: 审核时间
  7502. type: string
  7503. cancelaccountid:
  7504. description: 注销操作员账号
  7505. type: integer
  7506. canceltime:
  7507. description: 注销时间
  7508. type: string
  7509. closepricemode:
  7510. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7511. type: integer
  7512. closepriceparam:
  7513. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  7514. type: number
  7515. createtime:
  7516. description: 创建时间
  7517. type: string
  7518. creatorid:
  7519. description: 创建人
  7520. type: integer
  7521. currencyid:
  7522. description: 报价货币ID
  7523. type: integer
  7524. cutmode:
  7525. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  7526. type: integer
  7527. decimalplace:
  7528. description: 报价小数位
  7529. type: integer
  7530. delistingdate:
  7531. description: 商品退市时间(状态:退市) -- 已作废
  7532. type: string
  7533. delistingmode:
  7534. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  7535. type: integer
  7536. deliveryflag:
  7537. description: 交割标志 - 0:不可交割 1:可交割
  7538. type: integer
  7539. forceclosemode:
  7540. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  7541. type: integer
  7542. forceclosevalue:
  7543. description: 定期强平参数 [收益权]
  7544. type: integer
  7545. goodscode:
  7546. description: 商品代码(内部)
  7547. type: string
  7548. goodscurrencyid:
  7549. description: 合约货币ID
  7550. type: integer
  7551. goodsgroupid:
  7552. description: 所属商品组ID
  7553. type: integer
  7554. goodsid:
  7555. description: 商品ID(自增ID SEQ_GOODS)
  7556. type: integer
  7557. goodsname:
  7558. description: 商品名称
  7559. type: string
  7560. goodsquotetype:
  7561. description: '合约报价类型: 1-直接报价 2-间接报价'
  7562. type: integer
  7563. goodsstatus:
  7564. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  7565. type: integer
  7566. goodstradetype:
  7567. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  7568. type: integer
  7569. goodunitid:
  7570. description: 报价单位ID
  7571. type: integer
  7572. hasquoter:
  7573. description: 是否有报价商 - 0:无报价商 1:有报价商
  7574. type: integer
  7575. hqprotecttime:
  7576. description: 行情保护时间(秒)
  7577. type: integer
  7578. innerdealmode:
  7579. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7580. type: integer
  7581. isbuylimited:
  7582. description: 是否限制建仓量 - 0:不限制 1:限制
  7583. type: integer
  7584. lasttradedate:
  7585. description: 最后交易日期(状态:待退市)
  7586. type: string
  7587. listingdate:
  7588. description: 交易开始日期
  7589. type: string
  7590. marketid:
  7591. description: 所属市场ID
  7592. type: integer
  7593. modifierid:
  7594. description: 修改人
  7595. type: integer
  7596. modifystatus:
  7597. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  7598. type: integer
  7599. modifytime:
  7600. description: 修改时间
  7601. type: string
  7602. outerdealmode:
  7603. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7604. type: integer
  7605. outgoodscode:
  7606. description: 商品代码(外部)
  7607. type: string
  7608. qtydecimalplace:
  7609. description: 成交量小数位
  7610. type: integer
  7611. quotegear:
  7612. description: 行情档位(1-10)
  7613. type: integer
  7614. quoteminunit:
  7615. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7616. type: integer
  7617. quoteshowtype:
  7618. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  7619. type: integer
  7620. quoteshowtypeinterval:
  7621. description: 行情报价间隔时间(秒)(成交价时为0)
  7622. type: integer
  7623. remark:
  7624. description: 备注
  7625. type: string
  7626. required:
  7627. - goodscode
  7628. - goodsid
  7629. - goodsname
  7630. - marketid
  7631. type: object
  7632. models.GoodsBrand:
  7633. properties:
  7634. brandid:
  7635. description: 品牌ID
  7636. type: integer
  7637. brandname:
  7638. description: 品牌名称
  7639. type: string
  7640. isvalid:
  7641. description: 是否有效 - 0:无效 1:有效
  7642. type: integer
  7643. type: object
  7644. models.GoodsIDAndName:
  7645. properties:
  7646. goodscode:
  7647. description: 商品代码(内部)
  7648. type: string
  7649. goodsid:
  7650. description: 商品ID(自增ID SEQ_GOODS)
  7651. type: integer
  7652. goodsname:
  7653. description: 商品名称
  7654. type: string
  7655. marketid:
  7656. description: 所属市场ID
  7657. type: integer
  7658. required:
  7659. - goodscode
  7660. - goodsid
  7661. - goodsname
  7662. - marketid
  7663. type: object
  7664. models.GoodsTypeModel:
  7665. properties:
  7666. convertfactor:
  7667. description: 标仓系数
  7668. type: number
  7669. modelid:
  7670. description: 型号ID
  7671. type: integer
  7672. modelname:
  7673. description: 型号名称
  7674. type: string
  7675. updatetime:
  7676. description: 更新时间
  7677. type: string
  7678. type: object
  7679. models.Goodsgroup:
  7680. properties:
  7681. agreeunit:
  7682. description: 合约单位
  7683. type: number
  7684. canshort:
  7685. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  7686. type: integer
  7687. closepricemode:
  7688. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7689. type: integer
  7690. closepriceparam:
  7691. description: 强平最新价浮动比例 - 方式为2时使用
  7692. type: number
  7693. createtime:
  7694. description: 创建时间
  7695. type: string
  7696. creatorid:
  7697. description: 创建人
  7698. type: integer
  7699. currencyid:
  7700. description: 报价货币ID
  7701. type: integer
  7702. decimalplace:
  7703. description: 报价小数位
  7704. type: integer
  7705. exercisetype:
  7706. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  7707. type: integer
  7708. exexchangeid:
  7709. description: 外部交易所ID[通道交易]
  7710. type: integer
  7711. goodsgroupid:
  7712. description: 商品组ID(自增ID)
  7713. type: integer
  7714. goodsgroupname:
  7715. description: 商品组名称
  7716. type: string
  7717. goodsgroupstatus:
  7718. description: 商品组状态 - 1:正常 2:注销
  7719. type: integer
  7720. goodunitid:
  7721. description: 报价单位ID
  7722. type: integer
  7723. innerdealmode:
  7724. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7725. type: integer
  7726. isbuylimited:
  7727. description: 是否限制建仓量 - 0:不限制 1:限制
  7728. type: integer
  7729. marketid:
  7730. description: 所属市场ID
  7731. type: integer
  7732. modifierid:
  7733. description: 修改人
  7734. type: integer
  7735. modifytime:
  7736. description: 修改时间
  7737. type: string
  7738. outerdealmode:
  7739. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7740. type: integer
  7741. outergroupcode:
  7742. description: 外部商品组代码[通道交易]
  7743. type: string
  7744. premiumdecimalplace:
  7745. description: 权利金小数位[场外期权]
  7746. type: integer
  7747. premiumspreadalgorithm:
  7748. description: 权利金点差方式[场外期权] 1:比率 2:固定
  7749. type: integer
  7750. premiumspreadvalue:
  7751. description: 权利金点差值[场外期权]
  7752. type: number
  7753. qtydecimalplace:
  7754. description: 成交量小数位
  7755. type: integer
  7756. quotegear:
  7757. description: 行情档位(1-10)
  7758. type: integer
  7759. quoteminunit:
  7760. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7761. type: integer
  7762. quoterid:
  7763. description: 报价商ID[场外期权]
  7764. type: integer
  7765. quotesourcegroupid:
  7766. description: 所属行情源分组ID[参考行情市场用\通道交易]
  7767. type: integer
  7768. syncgoodsqty:
  7769. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  7770. type: integer
  7771. required:
  7772. - goodsgroupid
  7773. - goodsgroupname
  7774. - goodsgroupstatus
  7775. - marketid
  7776. type: object
  7777. models.Goodssortbypreposition:
  7778. properties:
  7779. goodscode:
  7780. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  7781. type: string
  7782. goodsgroupcode:
  7783. description: 品种代码
  7784. type: string
  7785. prepositionqty:
  7786. description: 昨持仓量
  7787. type: integer
  7788. sortindex:
  7789. description: 排序
  7790. type: integer
  7791. tradedate:
  7792. description: 交易日
  7793. type: string
  7794. updatetime:
  7795. description: 更新时间
  7796. type: string
  7797. required:
  7798. - goodscode
  7799. - tradedate
  7800. type: object
  7801. models.Hedgeinnerholderdetail:
  7802. properties:
  7803. accountid:
  7804. description: 账号ID
  7805. type: integer
  7806. buyorsell:
  7807. description: 方向 - 0:买 1:卖
  7808. type: integer
  7809. freezeqty:
  7810. description: 冻结数量 - 按单平使用
  7811. type: integer
  7812. goodsid:
  7813. description: 商品ID
  7814. type: integer
  7815. holderamount:
  7816. description: 持仓金额 [商品币种]
  7817. type: number
  7818. holderdays:
  7819. description: 剩余冻结天数
  7820. type: integer
  7821. holderprice:
  7822. description: 持仓价格
  7823. type: number
  7824. holderqty:
  7825. description: 持仓数量
  7826. type: integer
  7827. marketid:
  7828. description: 市场ID
  7829. type: integer
  7830. openprice:
  7831. description: 建仓价格
  7832. type: number
  7833. openqty:
  7834. description: 建仓数量
  7835. type: integer
  7836. parentaccountid:
  7837. description: 所属母账户
  7838. type: integer
  7839. releaseamount:
  7840. description: 释放持仓金额[商品币种]
  7841. type: number
  7842. tradeamount:
  7843. description: 成交金额[账户]
  7844. type: number
  7845. tradedate:
  7846. description: 交易日(yyyyMMdd)
  7847. type: string
  7848. tradeid:
  7849. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7850. type: string
  7851. tradetime:
  7852. description: 交易时间
  7853. type: string
  7854. required:
  7855. - buyorsell
  7856. - tradeid
  7857. type: object
  7858. models.Hedgemarketopenlog:
  7859. properties:
  7860. accountid:
  7861. description: 资金账号[外部母账户]
  7862. type: integer
  7863. fcname:
  7864. description: 期货公司名称
  7865. type: string
  7866. handlestatus:
  7867. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  7868. type: integer
  7869. marketid:
  7870. description: 市场ID
  7871. type: integer
  7872. status:
  7873. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  7874. type: integer
  7875. tradedate:
  7876. description: 交易日(yyyyMMdd)
  7877. type: string
  7878. updatetime:
  7879. description: 更新时间
  7880. type: string
  7881. required:
  7882. - accountid
  7883. type: object
  7884. models.HsbyBuyMyPayOrder:
  7885. properties:
  7886. agreeunit:
  7887. description: 合约单位
  7888. type: number
  7889. buyaccountid:
  7890. description: 买方账号ID[报价币种]
  7891. type: integer
  7892. buyorderid:
  7893. description: 买方委托单号
  7894. type: string
  7895. createtime:
  7896. description: 创建时间
  7897. type: string
  7898. currencysign:
  7899. description: 货币符号
  7900. type: string
  7901. decimalplace:
  7902. description: 报价小数位
  7903. type: integer
  7904. goodscode:
  7905. description: 商品代码(内部)
  7906. type: string
  7907. goodsid:
  7908. description: 商品ID
  7909. type: integer
  7910. goodsname:
  7911. description: 商品名称
  7912. type: string
  7913. marketid:
  7914. description: 市场ID
  7915. type: integer
  7916. offamount:
  7917. description: 优惠金额
  7918. type: number
  7919. originalamount:
  7920. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  7921. type: number
  7922. payamount:
  7923. description: 支付金额 = TradeAmount + TradeCharge
  7924. type: number
  7925. payflag:
  7926. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  7927. type: integer
  7928. paylimitedtime:
  7929. description: 支付期限
  7930. type: string
  7931. paytime:
  7932. description: 付款时间
  7933. type: string
  7934. picurls1:
  7935. description: 预售商品介绍图片[多张用逗号分隔]
  7936. type: string
  7937. picurls2:
  7938. description: 挂牌商品介绍图片[多张用逗号分隔]
  7939. type: string
  7940. sellaccountid:
  7941. description: 卖方账号ID[报价币种]
  7942. type: integer
  7943. sellorderid:
  7944. description: 卖方委托单号
  7945. type: string
  7946. tradeamount:
  7947. description: 成交金额
  7948. type: number
  7949. tradecharge:
  7950. description: 成交手续费(买方)
  7951. type: number
  7952. tradedate:
  7953. description: 交易日(yyyyMMdd)
  7954. type: string
  7955. tradeid:
  7956. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7957. type: string
  7958. trademode:
  7959. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7960. 21:竞拍-大宗式 22:受托竞价
  7961. type: integer
  7962. tradeprice:
  7963. description: 成交价格
  7964. type: number
  7965. tradeqty:
  7966. description: 成交数量
  7967. type: integer
  7968. vendorname1:
  7969. description: 预售商品供应商名称
  7970. type: string
  7971. vendorname2:
  7972. description: 挂牌商品供应商名称
  7973. type: string
  7974. required:
  7975. - goodscode
  7976. - goodsname
  7977. - tradeid
  7978. - trademode
  7979. type: object
  7980. models.HsbyBuyMyTradeDetail:
  7981. properties:
  7982. accountid:
  7983. description: 账户ID[报价币种]
  7984. type: integer
  7985. agreeunit:
  7986. description: 合约单位
  7987. type: number
  7988. amount:
  7989. description: 金额 = 价格 * 数量 * 合约单位
  7990. type: number
  7991. buyorsell:
  7992. description: 买卖 - 0:买 1:卖
  7993. type: integer
  7994. currencysign:
  7995. description: 货币符号
  7996. type: string
  7997. decimalplace:
  7998. description: 报价小数位
  7999. type: integer
  8000. goodscode:
  8001. description: 商品代码(内部)
  8002. type: string
  8003. goodsid:
  8004. description: 商品ID
  8005. type: integer
  8006. goodsname:
  8007. description: 商品名称
  8008. type: string
  8009. marketid:
  8010. description: 市场ID
  8011. type: integer
  8012. orderamount:
  8013. description: 委托金额
  8014. type: number
  8015. orderid:
  8016. description: 单号(成交单号)
  8017. type: string
  8018. picurls1:
  8019. description: 预售商品介绍图片[多张用逗号分隔]
  8020. type: string
  8021. picurls2:
  8022. description: 挂牌商品介绍图片[多张用逗号分隔]
  8023. type: string
  8024. price:
  8025. description: 价格
  8026. type: number
  8027. qty:
  8028. description: 数量
  8029. type: integer
  8030. time:
  8031. description: 时间
  8032. type: string
  8033. trademode:
  8034. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8035. 21:竞拍-大宗式 22:受托竞价
  8036. type: integer
  8037. vendorname1:
  8038. description: 预售商品供应商名称
  8039. type: string
  8040. vendorname2:
  8041. description: 挂牌商品供应商名称
  8042. type: string
  8043. required:
  8044. - accountid
  8045. - buyorsell
  8046. - goodscode
  8047. - goodsid
  8048. - goodsname
  8049. - marketid
  8050. - orderid
  8051. - qty
  8052. - time
  8053. - trademode
  8054. type: object
  8055. models.HsbyGoodsOrderDetail:
  8056. properties:
  8057. buyorsell:
  8058. description: 买卖 - 0:买 1:卖
  8059. type: integer
  8060. currencysign:
  8061. description: 货币符号
  8062. type: string
  8063. customername:
  8064. description: 客户名称(企业名称),已脱敏
  8065. type: string
  8066. enableqty:
  8067. description: 可用数量
  8068. type: integer
  8069. goodunit:
  8070. description: 报价单位
  8071. type: string
  8072. orderid:
  8073. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8074. type: string
  8075. orderprice:
  8076. description: 委托价格
  8077. type: number
  8078. ordertime:
  8079. description: 委托时间
  8080. type: string
  8081. required:
  8082. - buyorsell
  8083. - orderid
  8084. - ordertime
  8085. type: object
  8086. models.HsbyListingGoodsDetail:
  8087. properties:
  8088. agreeunit:
  8089. description: 合约单位
  8090. type: number
  8091. buymaxqty:
  8092. description: 购买上限 [71] - 0为不限
  8093. type: integer
  8094. currency:
  8095. description: 货币
  8096. type: string
  8097. currencysign:
  8098. description: 货币符号
  8099. type: string
  8100. decimalplace:
  8101. description: 报价小数位
  8102. type: integer
  8103. desccityid:
  8104. description: 目的地(市)ID
  8105. type: integer
  8106. descprovinceid:
  8107. description: 目的地(省)ID
  8108. type: integer
  8109. goodscode:
  8110. description: 商品代码(内部)
  8111. type: string
  8112. goodsdesc:
  8113. description: 商品详情
  8114. type: string
  8115. goodsid:
  8116. description: 商品ID(自增ID SEQ_GOODS)
  8117. type: integer
  8118. goodsname:
  8119. description: 商品名称
  8120. type: string
  8121. goodsprice:
  8122. description: 商品价格
  8123. type: number
  8124. hotindex:
  8125. description: 景点热度
  8126. type: integer
  8127. last:
  8128. description: 现价
  8129. type: number
  8130. limitdown:
  8131. description: 跌停价
  8132. type: number
  8133. limitup:
  8134. description: 涨停价
  8135. type: number
  8136. lotsize:
  8137. description: 手数最小变动单位
  8138. type: integer
  8139. marketid:
  8140. description: 所属市场ID
  8141. type: integer
  8142. picurls:
  8143. description: 介绍图片[多张用逗号分隔]
  8144. type: string
  8145. quoteminunit:
  8146. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8147. type: integer
  8148. stepvalue:
  8149. description: 价格最小变动单位
  8150. type: number
  8151. trademode:
  8152. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8153. 21:竞拍-大宗式 22:受托竞价
  8154. type: integer
  8155. vendorattr:
  8156. description: 供应商附件(多张,逗号分隔)
  8157. type: string
  8158. vendorname:
  8159. description: 供应商名称
  8160. type: string
  8161. vendorphone:
  8162. description: 供应商客服电话
  8163. type: string
  8164. videourls:
  8165. description: 介绍视频[多张用逗号分隔]
  8166. type: string
  8167. required:
  8168. - goodscode
  8169. - goodsid
  8170. - goodsname
  8171. - marketid
  8172. - trademode
  8173. type: object
  8174. models.HsbyMarketGoods:
  8175. properties:
  8176. accountid:
  8177. description: 账户ID[报价币种]
  8178. type: integer
  8179. agreeunit:
  8180. description: 合约单位
  8181. type: number
  8182. buyorsell:
  8183. description: 买卖 - 0:买 1:卖
  8184. type: integer
  8185. categoryid:
  8186. description: 类别ID(WRCATEGORY)
  8187. type: integer
  8188. currency:
  8189. description: 货币
  8190. type: string
  8191. currencysign:
  8192. description: 货币符号
  8193. type: string
  8194. customername:
  8195. description: 卖家名称
  8196. type: string
  8197. decimalplace:
  8198. description: 报价小数位
  8199. type: integer
  8200. goodscode:
  8201. description: 商品代码(内部)
  8202. type: string
  8203. goodsid:
  8204. description: 商品ID
  8205. type: integer
  8206. goodsname:
  8207. description: 商品名称
  8208. type: string
  8209. goodsprice:
  8210. description: 商品价格
  8211. type: number
  8212. hascoupon:
  8213. description: 是否可用优惠卷
  8214. type: boolean
  8215. hotindex:
  8216. description: 景点热度
  8217. type: integer
  8218. marketid:
  8219. description: 市场ID
  8220. type: integer
  8221. orderid:
  8222. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8223. type: string
  8224. orderprice:
  8225. description: 委托价格
  8226. type: number
  8227. orderstatus:
  8228. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8229. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8230. 16:成交失败违约(荷兰式竞拍专用)
  8231. type: integer
  8232. picurls:
  8233. description: 介绍图片[多张用逗号分隔]
  8234. type: string
  8235. quoteminunit:
  8236. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8237. type: integer
  8238. sellUserID:
  8239. description: 卖方UserID
  8240. type: integer
  8241. trademode:
  8242. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8243. 21:竞拍-大宗式 22:受托竞价
  8244. type: integer
  8245. videourls:
  8246. description: 介绍视频[多张用逗号分隔]
  8247. type: string
  8248. required:
  8249. - accountid
  8250. - buyorsell
  8251. - goodscode
  8252. - goodsid
  8253. - goodsname
  8254. - marketid
  8255. - orderid
  8256. - trademode
  8257. type: object
  8258. models.HsbyMarketGoodsDetail:
  8259. properties:
  8260. accountid:
  8261. description: 账户ID[报价币种]
  8262. type: integer
  8263. agreeunit:
  8264. description: 合约单位
  8265. type: number
  8266. buymaxqty:
  8267. description: 购买上限 [71] - 0为不限
  8268. type: integer
  8269. buyorsell:
  8270. description: 买卖 - 0:买 1:卖
  8271. type: integer
  8272. cancelqty:
  8273. description: 撤单数量
  8274. type: integer
  8275. categoryid:
  8276. description: 类别ID(WRCATEGORY)
  8277. type: integer
  8278. currency:
  8279. description: 货币
  8280. type: string
  8281. currencysign:
  8282. description: 货币符号
  8283. type: string
  8284. customername:
  8285. description: 卖家名称
  8286. type: string
  8287. decimalplace:
  8288. description: 报价小数位
  8289. type: integer
  8290. goodscode:
  8291. description: 商品代码(内部)
  8292. type: string
  8293. goodsdesc:
  8294. description: 商品详情
  8295. type: string
  8296. goodsid:
  8297. description: 商品ID
  8298. type: integer
  8299. goodsname:
  8300. description: 商品名称
  8301. type: string
  8302. goodsprice:
  8303. description: 商品价格
  8304. type: number
  8305. hotindex:
  8306. description: 景点热度
  8307. type: integer
  8308. lotsize:
  8309. description: 手数最小变动单位
  8310. type: integer
  8311. marketid:
  8312. description: 市场ID
  8313. type: integer
  8314. orderid:
  8315. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8316. type: string
  8317. orderprice:
  8318. description: 委托价格
  8319. type: number
  8320. orderqty:
  8321. description: 委托数量
  8322. type: integer
  8323. orderstatus:
  8324. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8325. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8326. 16:成交失败违约(荷兰式竞拍专用)
  8327. type: integer
  8328. picurls:
  8329. description: 介绍图片[多张用逗号分隔]
  8330. type: string
  8331. quoteminunit:
  8332. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8333. type: integer
  8334. sellUserID:
  8335. description: 卖方UserID
  8336. type: integer
  8337. trademode:
  8338. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8339. 21:竞拍-大宗式 22:受托竞价
  8340. type: integer
  8341. tradeqty:
  8342. description: 成交数量
  8343. type: integer
  8344. vendorattr:
  8345. description: 供应商附件(多张,逗号分隔)
  8346. type: string
  8347. vendorname:
  8348. description: 供应商名称
  8349. type: string
  8350. vendorphone:
  8351. description: 供应商客服电话
  8352. type: string
  8353. videourls:
  8354. description: 介绍视频[多张用逗号分隔]
  8355. type: string
  8356. required:
  8357. - accountid
  8358. - buyorsell
  8359. - goodscode
  8360. - goodsid
  8361. - goodsname
  8362. - marketid
  8363. - orderid
  8364. - orderqty
  8365. - trademode
  8366. type: object
  8367. models.HsbyMarketInfo:
  8368. properties:
  8369. marketid:
  8370. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  8371. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  8372. type: integer
  8373. marketname:
  8374. description: 市场名称
  8375. type: string
  8376. marketstatus:
  8377. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  8378. type: integer
  8379. trademode:
  8380. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8381. 21:竞拍-大宗式 22:受托竞价
  8382. type: integer
  8383. required:
  8384. - marketid
  8385. - marketstatus
  8386. - trademode
  8387. type: object
  8388. models.HsbyMyGoods:
  8389. properties:
  8390. accountid:
  8391. description: 账号Id
  8392. type: integer
  8393. agreeunit:
  8394. description: 合约单位
  8395. type: number
  8396. buyaverageprice:
  8397. description: 持仓均价
  8398. type: number
  8399. buycurholderamount:
  8400. description: 买当前持仓总金额[商品币种]
  8401. type: number
  8402. buycurpositionqty:
  8403. description: 买当前持仓总数量
  8404. type: integer
  8405. buymaxqty:
  8406. description: 购买上限 [71] - 0为不限
  8407. type: integer
  8408. currencysign:
  8409. description: 货币符号
  8410. type: string
  8411. decimalplace:
  8412. description: 报价小数位
  8413. type: integer
  8414. enableqty:
  8415. description: 可用数量
  8416. type: integer
  8417. goodscode:
  8418. description: 商品代码(内部)
  8419. type: string
  8420. goodsid:
  8421. description: 商品Id
  8422. type: integer
  8423. goodsname:
  8424. description: 商品名称
  8425. type: string
  8426. goodsprice:
  8427. description: 商品价格
  8428. type: number
  8429. goodsstatus:
  8430. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8431. type: integer
  8432. last:
  8433. description: 现价(仅使用于挂牌点选)
  8434. type: number
  8435. limitdown:
  8436. description: 跌停价(仅使用于挂牌点选)
  8437. type: number
  8438. limitup:
  8439. description: 涨停价(仅使用于挂牌点选)
  8440. type: number
  8441. lotsize:
  8442. description: 手数最小变动单位
  8443. type: integer
  8444. marketid:
  8445. description: 所属市场ID
  8446. type: integer
  8447. picurls:
  8448. description: 介绍图片[多张用逗号分隔]
  8449. type: string
  8450. quoteminunit:
  8451. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8452. type: integer
  8453. stepvalue:
  8454. description: 价格最小变动单位
  8455. type: number
  8456. trademode:
  8457. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8458. 21:竞拍-大宗式 22:受托竞价
  8459. type: integer
  8460. required:
  8461. - accountid
  8462. - goodscode
  8463. - goodsid
  8464. - goodsname
  8465. - marketid
  8466. - trademode
  8467. type: object
  8468. models.HsbyMyPackage:
  8469. properties:
  8470. accountid:
  8471. description: 账户ID
  8472. type: integer
  8473. address:
  8474. description: 提货人详细地址
  8475. type: string
  8476. agreeunit:
  8477. description: 合约单位
  8478. type: number
  8479. amount:
  8480. description: 提货金额
  8481. type: number
  8482. auditer:
  8483. description: 审核人
  8484. type: integer
  8485. audittime:
  8486. description: 审核时间
  8487. type: string
  8488. averageprice:
  8489. description: 均价
  8490. type: number
  8491. cardnum:
  8492. description: 提货人证件号码
  8493. type: string
  8494. cardtypeid:
  8495. description: 提货人证件类型
  8496. type: integer
  8497. checkremark:
  8498. description: 审核备注
  8499. type: string
  8500. currencysign:
  8501. description: 货币符号
  8502. type: string
  8503. decimalplace:
  8504. description: 报价小数位
  8505. type: integer
  8506. goodscode:
  8507. description: 商品代码(内部)
  8508. type: string
  8509. goodsid:
  8510. description: 商品ID
  8511. type: integer
  8512. goodsname:
  8513. description: 商品名称
  8514. type: string
  8515. handlestatus:
  8516. description: 处理状态
  8517. type: integer
  8518. marketid:
  8519. description: 市场ID
  8520. type: integer
  8521. phonenum:
  8522. description: 提货人联系方式
  8523. type: string
  8524. picurls:
  8525. description: 介绍图片[多张用逗号分隔]
  8526. type: string
  8527. qty:
  8528. description: 提货数量
  8529. type: number
  8530. recivername:
  8531. description: 提货人姓名
  8532. type: string
  8533. reqtime:
  8534. description: 更新时间
  8535. type: string
  8536. takemode:
  8537. description: 提货方式 - 2:自提 3:配送
  8538. type: integer
  8539. takeorderid:
  8540. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  8541. type: string
  8542. takeorderstatus:
  8543. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  8544. type: integer
  8545. takeremark:
  8546. description: 提货备注
  8547. type: string
  8548. tradedate:
  8549. description: 交易日(yyyyMMdd)
  8550. type: string
  8551. trademode:
  8552. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8553. 21:竞拍-大宗式 22:受托竞价
  8554. type: integer
  8555. userid:
  8556. description: 用户ID
  8557. type: integer
  8558. vendorname:
  8559. description: 供应商名称
  8560. type: string
  8561. required:
  8562. - goodscode
  8563. - goodsname
  8564. - takeorderid
  8565. - trademode
  8566. type: object
  8567. models.HsbyPreGoods:
  8568. properties:
  8569. agreeunit:
  8570. description: 合约单位
  8571. type: number
  8572. currency:
  8573. description: 货币
  8574. type: string
  8575. currencysign:
  8576. description: 货币符号
  8577. type: string
  8578. decimalplace:
  8579. description: 报价小数位
  8580. type: integer
  8581. desccityid:
  8582. description: 目的地(市)
  8583. type: integer
  8584. descprovinceid:
  8585. description: 目的地(省)
  8586. type: integer
  8587. enableqty:
  8588. description: 剩余数量
  8589. type: integer
  8590. goodscode:
  8591. description: 商品代码(内部)
  8592. type: string
  8593. goodsid:
  8594. description: 商品ID(自增ID SEQ_GOODS)
  8595. type: integer
  8596. goodsname:
  8597. description: 商品名称
  8598. type: string
  8599. goodsstatus:
  8600. description: 商品状态- 2:未上市 3:上市
  8601. type: integer
  8602. lasttradedate:
  8603. description: 最后交易日期(状态:待退市)
  8604. type: string
  8605. listingdate:
  8606. description: 交易开始日期
  8607. type: string
  8608. marketid:
  8609. description: 所属市场ID
  8610. type: integer
  8611. picurls:
  8612. description: 介绍图片[多张用逗号分隔]
  8613. type: string
  8614. presaledqty:
  8615. description: 已预售量(预售结束时更新)
  8616. type: integer
  8617. presaleqty:
  8618. description: 预售数量
  8619. type: integer
  8620. quoteminunit:
  8621. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8622. type: integer
  8623. refprice:
  8624. description: 参考价格[一口价]
  8625. type: number
  8626. relatedgoodsid:
  8627. description: 关联交易合约ID
  8628. type: integer
  8629. trademode:
  8630. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8631. 21:竞拍-大宗式 22:受托竞价
  8632. type: integer
  8633. videourls:
  8634. description: 介绍视频[多张用逗号分隔]
  8635. type: string
  8636. required:
  8637. - goodscode
  8638. - goodsid
  8639. - goodsname
  8640. - marketid
  8641. - trademode
  8642. type: object
  8643. models.HsbyPreGoodsDetail:
  8644. properties:
  8645. agreeunit:
  8646. description: 合约单位
  8647. type: number
  8648. buymaxqty:
  8649. description: 购买上限 [71] - 0为不限
  8650. type: integer
  8651. currency:
  8652. description: 货币
  8653. type: string
  8654. currencysign:
  8655. description: 货币符号
  8656. type: string
  8657. customername:
  8658. description: 发行单位
  8659. type: string
  8660. decimalplace:
  8661. description: 报价小数位
  8662. type: integer
  8663. desccityid:
  8664. description: 目的地(市)ID
  8665. type: integer
  8666. descprovinceid:
  8667. description: 目的地(省)ID
  8668. type: integer
  8669. enableqty:
  8670. description: 剩余数量
  8671. type: integer
  8672. goodscode:
  8673. description: 商品代码(内部)
  8674. type: string
  8675. goodsdesc:
  8676. description: 商品详情
  8677. type: string
  8678. goodsid:
  8679. description: 商品ID(自增ID SEQ_GOODS)
  8680. type: integer
  8681. goodsname:
  8682. description: 商品名称
  8683. type: string
  8684. goodsstatus:
  8685. description: 商品状态- 2:未上市 3:上市
  8686. type: integer
  8687. goodunit:
  8688. description: 报价单位
  8689. type: string
  8690. lasttradedate:
  8691. description: 最后交易日期(状态:待退市)
  8692. type: string
  8693. listingdate:
  8694. description: 交易开始日期
  8695. type: string
  8696. lotsize:
  8697. description: 手数最小变动单位
  8698. type: integer
  8699. marketid:
  8700. description: 所属市场ID
  8701. type: integer
  8702. picurls:
  8703. description: 介绍图片[多张用逗号分隔]
  8704. type: string
  8705. presaledqty:
  8706. description: 已预售量(预售结束时更新)
  8707. type: integer
  8708. presaleqty:
  8709. description: 预售数量
  8710. type: integer
  8711. quoteminunit:
  8712. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8713. type: integer
  8714. refprice:
  8715. description: 参考价格[一口价]
  8716. type: number
  8717. relatedgoodsid:
  8718. description: 关联交易合约ID
  8719. type: integer
  8720. stepvalue:
  8721. description: 价格最小变动单位
  8722. type: number
  8723. trademode:
  8724. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8725. 21:竞拍-大宗式 22:受托竞价
  8726. type: integer
  8727. vendorattr:
  8728. description: 供应商附件(多张,逗号分隔)
  8729. type: string
  8730. vendorname:
  8731. description: 供应商名称
  8732. type: string
  8733. vendorphone:
  8734. description: 供应商客服电话
  8735. type: string
  8736. videourls:
  8737. description: 介绍视频[多张用逗号分隔]
  8738. type: string
  8739. required:
  8740. - goodscode
  8741. - goodsid
  8742. - goodsname
  8743. - marketid
  8744. - trademode
  8745. type: object
  8746. models.HsbySellCollectionOrder:
  8747. properties:
  8748. agreeunit:
  8749. description: 合约单位
  8750. type: number
  8751. buyaccountid:
  8752. description: 买方账号ID[报价币种]
  8753. type: integer
  8754. buyorderid:
  8755. description: 买方委托单号
  8756. type: string
  8757. createtime:
  8758. description: 创建时间
  8759. type: string
  8760. currencysign:
  8761. description: 货币符号
  8762. type: string
  8763. decimalplace:
  8764. description: 报价小数位
  8765. type: integer
  8766. goodscode:
  8767. description: 商品代码(内部)
  8768. type: string
  8769. goodsid:
  8770. description: 商品ID
  8771. type: integer
  8772. goodsname:
  8773. description: 商品名称
  8774. type: string
  8775. marketid:
  8776. description: 市场ID
  8777. type: integer
  8778. offamount:
  8779. description: 优惠金额
  8780. type: number
  8781. payamount:
  8782. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  8783. type: number
  8784. payflag:
  8785. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  8786. type: integer
  8787. paylimitedtime:
  8788. description: 支付期限
  8789. type: string
  8790. paytime:
  8791. description: 付款时间
  8792. type: string
  8793. picurls:
  8794. description: 商品介绍图片[多张用逗号分隔]
  8795. type: string
  8796. sellaccountid:
  8797. description: 卖方账号ID[报价币种]
  8798. type: integer
  8799. sellorderid:
  8800. description: 卖方委托单号
  8801. type: string
  8802. tradeamount:
  8803. description: 成交金额
  8804. type: number
  8805. tradecharge:
  8806. description: 成交手续费(买方)
  8807. type: number
  8808. tradedate:
  8809. description: 交易日(yyyyMMdd)
  8810. type: string
  8811. tradeid:
  8812. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8813. type: string
  8814. trademode:
  8815. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8816. 21:竞拍-大宗式 22:受托竞价
  8817. type: integer
  8818. tradeprice:
  8819. description: 成交价格
  8820. type: number
  8821. tradeqty:
  8822. description: 成交数量
  8823. type: integer
  8824. required:
  8825. - goodscode
  8826. - goodsname
  8827. - tradeid
  8828. - trademode
  8829. type: object
  8830. models.HsbySellMyDetail:
  8831. properties:
  8832. accountid:
  8833. description: 账户ID[报价币种]
  8834. type: integer
  8835. agreeunit:
  8836. description: 合约单位
  8837. type: number
  8838. buyorsell:
  8839. description: 买卖 - 0:买 1:卖
  8840. type: integer
  8841. currencysign:
  8842. description: 货币符号
  8843. type: string
  8844. decimalplace:
  8845. description: 报价小数位
  8846. type: integer
  8847. goodscode:
  8848. description: 商品代码(内部)
  8849. type: string
  8850. goodsid:
  8851. description: 商品ID
  8852. type: integer
  8853. goodsname:
  8854. description: 商品名称
  8855. type: string
  8856. marketid:
  8857. description: 市场ID
  8858. type: integer
  8859. orderid:
  8860. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  8861. type: string
  8862. ordertype:
  8863. description: 单据类型:0 - 发布中, 1 - 已完成
  8864. type: integer
  8865. picurls:
  8866. description: 介绍图片[多张用逗号分隔]
  8867. type: string
  8868. price:
  8869. description: 价格
  8870. type: number
  8871. qty:
  8872. description: 数量
  8873. type: integer
  8874. time:
  8875. description: 时间
  8876. type: string
  8877. trademode:
  8878. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8879. 21:竞拍-大宗式 22:受托竞价
  8880. type: integer
  8881. vendorname:
  8882. description: 供应商名称
  8883. type: string
  8884. required:
  8885. - accountid
  8886. - buyorsell
  8887. - goodscode
  8888. - goodsid
  8889. - goodsname
  8890. - marketid
  8891. - orderid
  8892. - time
  8893. - trademode
  8894. type: object
  8895. models.HsbyTopGoods:
  8896. properties:
  8897. agreeunit:
  8898. description: 合约单位
  8899. type: number
  8900. currency:
  8901. description: 货币
  8902. type: string
  8903. currencysign:
  8904. description: 货币符号
  8905. type: string
  8906. decimalplace:
  8907. description: 报价小数位
  8908. type: integer
  8909. desccityid:
  8910. description: 目的地(市)
  8911. type: integer
  8912. descprovinceid:
  8913. description: 目的地(省)
  8914. type: integer
  8915. goodscode:
  8916. description: 商品代码(内部)
  8917. type: string
  8918. goodsid:
  8919. description: 商品ID(自增ID SEQ_GOODS)
  8920. type: integer
  8921. goodsname:
  8922. description: 商品名称
  8923. type: string
  8924. hotindex:
  8925. description: 景点热度
  8926. type: integer
  8927. last:
  8928. description: 现价
  8929. type: number
  8930. marketid:
  8931. description: 所属市场ID
  8932. type: integer
  8933. picurls:
  8934. description: 介绍图片[多张用逗号分隔]
  8935. type: string
  8936. quoteminunit:
  8937. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8938. type: integer
  8939. trademode:
  8940. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8941. 21:竞拍-大宗式 22:受托竞价
  8942. type: integer
  8943. videourls:
  8944. description: 介绍视频[多张用逗号分隔]
  8945. type: string
  8946. required:
  8947. - goodscode
  8948. - goodsid
  8949. - goodsname
  8950. - marketid
  8951. - trademode
  8952. type: object
  8953. models.HybsMyBuyOrderDetail:
  8954. properties:
  8955. accountid:
  8956. description: 账户ID[报价币种]
  8957. type: integer
  8958. agreeunit:
  8959. description: 合约单位
  8960. type: number
  8961. buyorsell:
  8962. description: 买卖 - 0:买 1:卖
  8963. type: integer
  8964. cancelqty:
  8965. description: 撤单数量
  8966. type: integer
  8967. currencysign:
  8968. description: 货币符号
  8969. type: string
  8970. decimalplace:
  8971. description: 报价小数位
  8972. type: integer
  8973. goodscode:
  8974. description: 商品代码(内部)
  8975. type: string
  8976. goodsid:
  8977. description: 商品ID
  8978. type: integer
  8979. goodsname:
  8980. description: 商品名称
  8981. type: string
  8982. listingselecttype:
  8983. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  8984. type: integer
  8985. marketid:
  8986. description: 市场ID
  8987. type: integer
  8988. mybuystatus:
  8989. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  8990. type: integer
  8991. orderamount:
  8992. description: 委托金额
  8993. type: number
  8994. orderid:
  8995. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8996. type: string
  8997. orderprice:
  8998. description: 委托价格
  8999. type: number
  9000. orderqty:
  9001. description: 委托数量
  9002. type: integer
  9003. orderstatus:
  9004. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  9005. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  9006. 16:成交失败违约(荷兰式竞拍专用)
  9007. type: integer
  9008. ordertime:
  9009. description: 委托时间
  9010. type: string
  9011. picurls1:
  9012. description: 预售商品介绍图片[多张用逗号分隔]
  9013. type: string
  9014. picurls2:
  9015. description: 挂牌商品介绍图片[多张用逗号分隔]
  9016. type: string
  9017. trademode:
  9018. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9019. 21:竞拍-大宗式 22:受托竞价
  9020. type: integer
  9021. tradeqty:
  9022. description: 成交数量
  9023. type: integer
  9024. vendorname1:
  9025. description: 预售商品供应商名称
  9026. type: string
  9027. vendorname2:
  9028. description: 挂牌商品供应商名称
  9029. type: string
  9030. required:
  9031. - accountid
  9032. - buyorsell
  9033. - goodscode
  9034. - goodsid
  9035. - goodsname
  9036. - marketid
  9037. - orderid
  9038. - orderqty
  9039. - ordertime
  9040. - trademode
  9041. type: object
  9042. models.Loginaccount:
  9043. properties:
  9044. canoutin:
  9045. description: 是否可出入金 - 0:不可 1:可
  9046. type: integer
  9047. clientroleid:
  9048. description: 终端角色ID
  9049. type: integer
  9050. haslogined:
  9051. description: 是否已登录 - 0:未登录 1:已登录
  9052. type: integer
  9053. hasupdatedpwd:
  9054. description: 是否已更改密码 - 0:未修改 1:已修改
  9055. type: integer
  9056. lastloginip:
  9057. description: 最新登录地址
  9058. type: string
  9059. lastloginmode:
  9060. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  9061. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  9062. type: integer
  9063. lastloginremark:
  9064. description: 最新登录描述
  9065. type: string
  9066. lastlogintime:
  9067. description: 最新登录时间
  9068. type: string
  9069. logincode:
  9070. description: 登录代码
  9071. type: string
  9072. loginfailnum:
  9073. description: 连续登录失败次数(登录成功时清零)
  9074. type: integer
  9075. loginid:
  9076. description: 登陆账号
  9077. type: integer
  9078. loginport:
  9079. description: 最新登录端口
  9080. type: integer
  9081. loginstatus:
  9082. description: 登录账号状态 1:正常 2:冻结 3:无效
  9083. type: integer
  9084. loginusertype:
  9085. description: 登录账号类型 - 1:投资者 2:机构交易员
  9086. type: integer
  9087. modifierid:
  9088. description: 修改人
  9089. type: integer
  9090. modifytime:
  9091. description: 修改时间
  9092. type: string
  9093. pwdwrongcount:
  9094. description: 密码错误次数
  9095. type: integer
  9096. taaccountrighttype:
  9097. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  9098. type: integer
  9099. unfreezetime:
  9100. description: 账户解冻时间
  9101. type: string
  9102. userid:
  9103. description: 用户ID
  9104. type: integer
  9105. required:
  9106. - loginid
  9107. type: object
  9108. models.MainAccountInfo:
  9109. properties:
  9110. accountid:
  9111. description: 账号id
  9112. type: string
  9113. accountname:
  9114. description: 账号名称(taaccount表中的名称)
  9115. type: string
  9116. appid:
  9117. description: AppID
  9118. type: string
  9119. authcode:
  9120. description: 授权码
  9121. type: string
  9122. brokerid:
  9123. description: 经纪商id
  9124. type: string
  9125. fcid:
  9126. description: 期货公司id
  9127. type: integer
  9128. fcname:
  9129. description: 期货公司代码
  9130. type: string
  9131. hedgeaccountcode:
  9132. description: 外部账号代码(主账号登录代码)
  9133. type: string
  9134. hedgeaccountpwd:
  9135. description: 密码
  9136. type: string
  9137. ismain:
  9138. description: 是否主账号
  9139. type: integer
  9140. relateduserid:
  9141. description: 关联用户id
  9142. type: integer
  9143. type: object
  9144. models.Market:
  9145. properties:
  9146. auctionwrtype:
  9147. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  9148. type: integer
  9149. canacceptquote:
  9150. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  9151. type: integer
  9152. cangoodsexercise:
  9153. description: '[期权]是否可现货行权- 0:否 1:是'
  9154. type: integer
  9155. cangoodsexercisetype:
  9156. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  9157. type: integer
  9158. canmanualquotestrike:
  9159. description: 是否可手动报行权价- 0:否 1:是 [期权]
  9160. type: integer
  9161. canmutistage:
  9162. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  9163. type: integer
  9164. canpreexercise:
  9165. description: '[期权]是否可预申报- 0:否 1:是'
  9166. type: integer
  9167. clearinterval:
  9168. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  9169. type: integer
  9170. contracttmp:
  9171. description: 合同模板[荷兰式][竞价式][仓单贸易]
  9172. type: string
  9173. exchareaid:
  9174. description: 所属交易所,可以没有
  9175. type: integer
  9176. goodstype:
  9177. description: 商品类型 - 1:交易商品 2:仓单商品
  9178. type: integer
  9179. hasrebate:
  9180. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  9181. type: integer
  9182. hastradecredit:
  9183. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  9184. type: integer
  9185. haswr:
  9186. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  9187. type: integer
  9188. isdeductmargin:
  9189. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  9190. type: integer
  9191. isrecordsource:
  9192. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  9193. type: integer
  9194. isreleasemargin:
  9195. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  9196. type: integer
  9197. marginformula:
  9198. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  9199. type: integer
  9200. marginformula2:
  9201. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  9202. type: integer
  9203. marketid:
  9204. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  9205. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  9206. type: integer
  9207. marketname:
  9208. description: 市场名称
  9209. type: string
  9210. marketserviceid:
  9211. description: 市场服务ID
  9212. type: integer
  9213. marketstatus:
  9214. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  9215. type: integer
  9216. markettype:
  9217. description: 市场类型- 1:非交易服务 2:交易服务
  9218. type: integer
  9219. matchermode:
  9220. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  9221. type: integer
  9222. openmethod:
  9223. description: 开盘模式 - 0 自动 1手动
  9224. type: integer
  9225. otcuserid:
  9226. description: 场外期权做市商[场外期权]
  9227. type: integer
  9228. outersynctime:
  9229. description: 外部同步时间点(h24:mi:ss)[场外期权]
  9230. type: string
  9231. pendingflag:
  9232. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  9233. type: integer
  9234. pendingtime:
  9235. description: 待开市时间[通道交易-对冲](HH:mm)
  9236. type: string
  9237. performancetempid:
  9238. description: 履约计划模板ID - 作废
  9239. type: integer
  9240. premiumquotemode:
  9241. description: 权利金报价方式 - 1:自动 2:手动
  9242. type: integer
  9243. rebateratio:
  9244. description: 返利比率[竞价式]
  9245. type: number
  9246. reckonorder:
  9247. description: 结算顺序
  9248. type: integer
  9249. reckonpricealgorithm:
  9250. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  9251. 6.卖一价 7.买一卖一均价 8.外部结算价'
  9252. type: integer
  9253. reckonpriceparam:
  9254. description: 结算价参数
  9255. type: integer
  9256. reckontime:
  9257. description: 结算时间[通道交易-对冲](HH:mm)
  9258. type: string
  9259. roleprioritytype:
  9260. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  9261. type: integer
  9262. selllistingauditflag:
  9263. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  9264. type: integer
  9265. trademarkettype:
  9266. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  9267. type: integer
  9268. trademode:
  9269. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9270. 21:竞拍-大宗式 22:受托竞价
  9271. type: integer
  9272. tradeproperty:
  9273. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  9274. 8:场外期权
  9275. type: integer
  9276. tradetype:
  9277. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  9278. type: integer
  9279. required:
  9280. - marketid
  9281. - marketstatus
  9282. - openmethod
  9283. - reckonpricealgorithm
  9284. - trademode
  9285. - tradeproperty
  9286. type: object
  9287. models.Marketrun:
  9288. properties:
  9289. afternexttradedate:
  9290. description: 下下交易日
  9291. type: string
  9292. clearquoteflag:
  9293. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  9294. type: integer
  9295. lastreckondate:
  9296. description: 最新交易日(结算成功)
  9297. type: string
  9298. machinedate:
  9299. description: 机器时间
  9300. type: string
  9301. manualflag:
  9302. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  9303. type: integer
  9304. marketid:
  9305. description: 市场ID
  9306. type: integer
  9307. nexttradedate:
  9308. description: 下一交易日
  9309. type: string
  9310. pretradedate:
  9311. description: 上一交易日
  9312. type: string
  9313. reckonflag:
  9314. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  9315. type: integer
  9316. runstatus:
  9317. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  9318. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  9319. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  9320. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  9321. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  9322. 62.今日免清算
  9323. type: integer
  9324. sectionid:
  9325. description: 时间段号[多时段时用]
  9326. type: integer
  9327. tradedate:
  9328. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  9329. type: string
  9330. tradedate2:
  9331. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  9332. type: string
  9333. updatetime:
  9334. description: 更新时间
  9335. type: string
  9336. required:
  9337. - marketid
  9338. - nexttradedate
  9339. - reckonflag
  9340. - runstatus
  9341. - tradedate
  9342. - tradedate2
  9343. type: object
  9344. models.Messageboard:
  9345. properties:
  9346. contactnum:
  9347. description: 联系电话
  9348. type: string
  9349. createtime:
  9350. description: 创建时间
  9351. type: string
  9352. message:
  9353. description: 留言信息
  9354. type: string
  9355. messageboardid:
  9356. description: 留言簿ID(SEQ_MessageBoard)
  9357. type: integer
  9358. userid:
  9359. description: 用户ID
  9360. type: integer
  9361. required:
  9362. - messageboardid
  9363. type: object
  9364. models.MyCoupon:
  9365. properties:
  9366. accountid:
  9367. description: 资金账户ID
  9368. type: integer
  9369. areauserid:
  9370. description: 所属机构
  9371. type: integer
  9372. conditionvalue:
  9373. description: 条件阈值(可为0)
  9374. type: number
  9375. couponcategroy:
  9376. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  9377. type: integer
  9378. couponname:
  9379. description: 优惠券名称
  9380. type: string
  9381. coupontypeid:
  9382. description: 优惠券类型ID
  9383. type: string
  9384. couponvalue:
  9385. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  9386. type: number
  9387. curfreezeqty:
  9388. description: 期末冻结数量
  9389. type: integer
  9390. curqty:
  9391. description: 期末数量
  9392. type: integer
  9393. isgeneral:
  9394. description: 是否通用券 - 0:否 1:是
  9395. type: integer
  9396. isunusable:
  9397. description: 是否不可用
  9398. type: boolean
  9399. limitedflag:
  9400. description: 是否指定商品 - 0:不限 1:限制
  9401. type: integer
  9402. limitedgoodsids:
  9403. description: 指定商品IDs[逗号分隔,前后加逗号]
  9404. type: string
  9405. orifreezeqty:
  9406. description: 期初冻结数量
  9407. type: integer
  9408. oriqty:
  9409. description: 期初数量
  9410. type: integer
  9411. reasontype:
  9412. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  9413. type: integer
  9414. todaydecrease:
  9415. description: 今日减少
  9416. type: integer
  9417. todayincrease:
  9418. description: 今日增加
  9419. type: integer
  9420. userid:
  9421. description: 用户ID
  9422. type: integer
  9423. userscope:
  9424. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  9425. type: string
  9426. required:
  9427. - accountid
  9428. - coupontypeid
  9429. type: object
  9430. models.MyCouponHold:
  9431. properties:
  9432. accountid:
  9433. description: 资金账户ID
  9434. type: integer
  9435. conditionvalue:
  9436. description: 条件阈值(可为0)
  9437. type: number
  9438. couponcategroy:
  9439. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  9440. type: integer
  9441. couponholdid:
  9442. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  9443. type: string
  9444. couponname:
  9445. description: 优惠券名称
  9446. type: string
  9447. coupontypeid:
  9448. description: 优惠券类型ID - SEQ_COUPONTYPE
  9449. type: string
  9450. couponvalue:
  9451. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  9452. type: number
  9453. createtime:
  9454. description: 创建时间
  9455. type: string
  9456. enddate:
  9457. description: 结束日期
  9458. type: string
  9459. giveapplyid:
  9460. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  9461. type: integer
  9462. holdstatus:
  9463. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  9464. type: integer
  9465. isgeneral:
  9466. description: 是否通用券 - 0:否 1:是
  9467. type: integer
  9468. limitedflag:
  9469. description: 是否指定商品 - 0:不限 1:限制
  9470. type: integer
  9471. limitedgoodsids:
  9472. description: 指定商品IDs[逗号分隔]
  9473. type: string
  9474. qty:
  9475. description: 数量(按1平铺)
  9476. type: integer
  9477. startdate:
  9478. description: 开始日期
  9479. type: string
  9480. userid:
  9481. description: 用户ID
  9482. type: integer
  9483. userscope:
  9484. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  9485. type: string
  9486. required:
  9487. - couponholdid
  9488. type: object
  9489. models.MyUsedCoupon:
  9490. properties:
  9491. accountid:
  9492. description: 资金账户ID(买方)
  9493. type: integer
  9494. conditionvalue:
  9495. description: 条件阈值(可为0)
  9496. type: number
  9497. couponcategroy:
  9498. description: 种类 - 1:现金券 2:折扣券
  9499. type: integer
  9500. couponname:
  9501. description: 优惠券名称
  9502. type: string
  9503. coupontypeid:
  9504. description: 优惠券类型ID(买方)
  9505. type: string
  9506. couponvalue:
  9507. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  9508. type: number
  9509. createtime:
  9510. description: 创建时间
  9511. type: string
  9512. goodsid:
  9513. description: 商品ID
  9514. type: integer
  9515. handlestatus:
  9516. description: 处理状态
  9517. type: integer
  9518. marketid:
  9519. description: 市场ID
  9520. type: integer
  9521. offamount:
  9522. description: 优惠金额
  9523. type: number
  9524. orderid:
  9525. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9526. type: string
  9527. sellaccountid:
  9528. description: 资金账户ID(卖方)
  9529. type: integer
  9530. tradeamount:
  9531. description: 成交金额
  9532. type: number
  9533. tradeid:
  9534. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9535. type: string
  9536. usedqty:
  9537. description: 使用数量
  9538. type: integer
  9539. required:
  9540. - coupontypeid
  9541. - orderid
  9542. type: object
  9543. models.OperationPrimaryMenu:
  9544. properties:
  9545. Children:
  9546. description: 二级功能菜单
  9547. items:
  9548. $ref: '#/definitions/models.OperationSecondaryMenu'
  9549. type: array
  9550. Key:
  9551. description: 菜单KEY
  9552. type: string
  9553. Label:
  9554. description: 菜单标题
  9555. type: string
  9556. type: object
  9557. models.OperationSecondaryMenu:
  9558. properties:
  9559. Key:
  9560. description: 菜单KEY
  9561. type: string
  9562. Label:
  9563. description: 菜单标题
  9564. type: string
  9565. TabList:
  9566. description: 三级功能菜单
  9567. items:
  9568. $ref: '#/definitions/models.OperationTabMenu'
  9569. type: array
  9570. type: object
  9571. models.OperationTabMenu:
  9572. properties:
  9573. Key:
  9574. description: 菜单KEY
  9575. type: string
  9576. Label:
  9577. description: 菜单标题
  9578. type: string
  9579. type: object
  9580. models.PendingAuditBizModel:
  9581. properties:
  9582. accountid:
  9583. description: 现货账户
  9584. type: string
  9585. areaname:
  9586. description: 所属部门
  9587. type: string
  9588. bizid:
  9589. description: 业务ID
  9590. type: string
  9591. bizname:
  9592. description: 业务名称
  9593. type: string
  9594. status:
  9595. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  9596. type: integer
  9597. type:
  9598. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  9599. type: integer
  9600. type: object
  9601. models.QueryErrorInfosRsp:
  9602. properties:
  9603. description:
  9604. description: 异常描述
  9605. type: string
  9606. errorcode:
  9607. description: 异常代码
  9608. type: string
  9609. errorid:
  9610. description: 异常ID
  9611. type: integer
  9612. modulecode:
  9613. description: 所属模块
  9614. type: string
  9615. operatecode:
  9616. description: 所属操作
  9617. type: string
  9618. rownumber:
  9619. description: 行号
  9620. type: string
  9621. required:
  9622. - errorid
  9623. type: object
  9624. models.QueryHedgeOrderDetailRsp:
  9625. properties:
  9626. accountid:
  9627. description: 账户ID
  9628. type: integer
  9629. buyorsell:
  9630. description: 买卖 - 0:买 1:卖
  9631. type: integer
  9632. cancellogincode:
  9633. description: 撤单人
  9634. type: string
  9635. channelbuildtype:
  9636. description: 开平标志 - 0:无 1:建仓 2:平仓
  9637. type: integer
  9638. channelinnerorderstatus:
  9639. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  9640. 9:全部成交
  9641. type: integer
  9642. channeloperatetype:
  9643. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  9644. type: integer
  9645. closetype:
  9646. description: 平仓方式 - 0:无 1:平今 2:平昨
  9647. type: integer
  9648. curexchangerate:
  9649. description: 当前汇率
  9650. type: number
  9651. exchangefullname:
  9652. description: 外部交易所全称
  9653. type: string
  9654. goodscode:
  9655. description: 商品代码(内部)
  9656. type: string
  9657. goodsid:
  9658. description: 商品ID
  9659. type: integer
  9660. goodsname:
  9661. description: 商品名称
  9662. type: string
  9663. marketid:
  9664. description: 市场ID
  9665. type: integer
  9666. openfreezemargin:
  9667. description: 冻结保证金(冻结交易金额)
  9668. type: number
  9669. orderid:
  9670. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9671. type: string
  9672. orderlogincode:
  9673. description: 委托人
  9674. type: string
  9675. orderprice:
  9676. description: 委托价格(账户)
  9677. type: number
  9678. orderqty:
  9679. description: 委托数量
  9680. type: integer
  9681. ordertime:
  9682. description: 委托时间
  9683. type: string
  9684. pricemode:
  9685. description: '取价方式 - 1:市价 2: 限价'
  9686. type: integer
  9687. tradedate:
  9688. description: 交易日(yyyyMMdd)
  9689. type: string
  9690. tradeqty:
  9691. description: 成交数量
  9692. type: integer
  9693. type: object
  9694. models.QueryHedgeTradeDetailRsp:
  9695. properties:
  9696. accountid:
  9697. description: 账号ID
  9698. type: integer
  9699. buyorsell:
  9700. description: 方向 - 0:买 1:卖
  9701. type: integer
  9702. channelbuildtype:
  9703. description: 委托单据类型 0:无 1:建仓 2:平仓
  9704. type: integer
  9705. closecharge:
  9706. description: 平仓手续费(账户)
  9707. type: number
  9708. closecharge2:
  9709. description: 平仓手续费(商品)
  9710. type: number
  9711. closepl:
  9712. description: 平仓盈亏(账户)
  9713. type: number
  9714. closepl2:
  9715. description: 平仓盈亏(商品)
  9716. type: number
  9717. closepl3:
  9718. description: 平仓盈亏(账户)(逐笔)
  9719. type: number
  9720. closepl4:
  9721. description: 平仓盈亏(商品)(逐笔)
  9722. type: number
  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. opencharge:
  9745. description: 建仓手续费(账户)
  9746. type: number
  9747. opencharge2:
  9748. description: 建仓手续费(商品)
  9749. type: number
  9750. orderid:
  9751. description: 委托单号
  9752. type: string
  9753. orderlogincode:
  9754. description: 委托人
  9755. type: string
  9756. tradeamount:
  9757. description: 成交金额(账户)
  9758. type: number
  9759. tradedate:
  9760. description: 交易日(yyyyMMdd)
  9761. type: string
  9762. tradeid:
  9763. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9764. type: string
  9765. tradeprice:
  9766. description: 成交价格
  9767. type: number
  9768. tradeqty:
  9769. description: 成交数量
  9770. type: integer
  9771. tradetime:
  9772. description: 成交时间
  9773. type: string
  9774. tradetype:
  9775. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  9776. type: integer
  9777. type: object
  9778. models.QuotePrimaryMenu:
  9779. properties:
  9780. Index:
  9781. description: 序号
  9782. type: integer
  9783. Key:
  9784. description: 键名
  9785. type: string
  9786. Name:
  9787. description: 菜单名称
  9788. type: string
  9789. SubMenus:
  9790. description: 子菜单
  9791. items:
  9792. $ref: '#/definitions/models.QuoteSecondaryMenu'
  9793. type: array
  9794. SubTitleType:
  9795. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  9796. type: integer
  9797. TradeModes:
  9798. description: 包含市场交易类型
  9799. type: string
  9800. type: object
  9801. models.QuoteSecondaryMenu:
  9802. properties:
  9803. ExExchangeCode:
  9804. description: 外部交易所代码
  9805. type: string
  9806. ExExchangeID:
  9807. description: 外部交易所ID
  9808. type: integer
  9809. GoodsGroupIDs:
  9810. description: 商品组ID列表
  9811. items:
  9812. type: integer
  9813. type: array
  9814. Index:
  9815. description: 序号
  9816. type: integer
  9817. MarketID:
  9818. description: 市场ID
  9819. type: integer
  9820. MenuTitle:
  9821. description: 菜单标题(市场名称或外部交易所名称)
  9822. type: string
  9823. TradeMode:
  9824. description: 交易模式
  9825. type: integer
  9826. type: object
  9827. models.RelatedGoodsEx:
  9828. properties:
  9829. goodscode:
  9830. description: 商品代码
  9831. type: string
  9832. goodsid:
  9833. description: 商品id
  9834. type: integer
  9835. goodsname:
  9836. description: 商品名称
  9837. type: string
  9838. type: object
  9839. models.SearchGoods:
  9840. properties:
  9841. goodscode:
  9842. description: 商品代码(内部)
  9843. type: string
  9844. goodsid:
  9845. description: 商品ID(自增ID SEQ_GOODS)
  9846. type: integer
  9847. goodsname:
  9848. description: 商品名称
  9849. type: string
  9850. marketid:
  9851. description: 所属市场ID
  9852. type: integer
  9853. marketname:
  9854. description: 市场名称
  9855. type: string
  9856. trademode:
  9857. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9858. 21:竞拍-大宗式 22:受托竞价
  9859. type: integer
  9860. required:
  9861. - goodscode
  9862. - goodsid
  9863. - goodsname
  9864. - marketid
  9865. - trademode
  9866. type: object
  9867. models.Systemparam:
  9868. properties:
  9869. loginid:
  9870. description: 更新用户账号,登录账号
  9871. type: string
  9872. modifyflag:
  9873. description: 修改标志0 不允许修改 1 允许修改
  9874. type: integer
  9875. paramcode:
  9876. description: 参数代码
  9877. type: string
  9878. paramname:
  9879. description: 参数名
  9880. type: string
  9881. paramtype:
  9882. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  9883. type: integer
  9884. paramvalue:
  9885. description: 参数值
  9886. type: string
  9887. paramvalue2:
  9888. description: 参数值(CLOB)
  9889. type: string
  9890. regexpress:
  9891. description: 正则表达式
  9892. type: string
  9893. remark:
  9894. description: 备注
  9895. type: string
  9896. serverip:
  9897. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  9898. type: string
  9899. showflag:
  9900. description: 是否显示0 不显示 1 显示
  9901. type: integer
  9902. updatetime:
  9903. description: 更新时间
  9904. type: string
  9905. userid:
  9906. description: 更新用户ID
  9907. type: integer
  9908. required:
  9909. - paramcode
  9910. type: object
  9911. models.Szdz3convertconfig:
  9912. properties:
  9913. canin:
  9914. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  9915. type: integer
  9916. canout:
  9917. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  9918. type: integer
  9919. converttype:
  9920. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  9921. 6:交易转花生米(不设置)
  9922. type: integer
  9923. createtime:
  9924. description: 创建时间
  9925. type: string
  9926. creatorid:
  9927. description: 创建人
  9928. type: integer
  9929. daymaxvalue:
  9930. description: 当日最大转入限制
  9931. type: number
  9932. freezedays:
  9933. description: 冻结天数 [5:花生米转交易]
  9934. type: integer
  9935. innergoodsid:
  9936. description: 内部商品ID[交易]
  9937. type: integer
  9938. inratio:
  9939. description: 目标值
  9940. type: integer
  9941. modifierid:
  9942. description: 修改人
  9943. type: integer
  9944. modifytime:
  9945. description: 修改时间
  9946. type: string
  9947. outergoodscode:
  9948. description: 外部商品代码[JD\PD]
  9949. type: string
  9950. outratio:
  9951. description: 源值
  9952. type: integer
  9953. pddecimalplace:
  9954. description: PD小数位
  9955. type: integer
  9956. timemaxvalue:
  9957. description: 单次最大转入限制
  9958. type: number
  9959. timeminvalue:
  9960. description: 单次最小转入限制
  9961. type: number
  9962. required:
  9963. - converttype
  9964. - innergoodsid
  9965. - outergoodscode
  9966. type: object
  9967. models.Szdz3searchwhitelist:
  9968. properties:
  9969. createtime:
  9970. description: 创建时间
  9971. type: string
  9972. creatorid:
  9973. description: 创建人
  9974. type: integer
  9975. modifierid:
  9976. description: 修改人
  9977. type: integer
  9978. modifytime:
  9979. description: 修改时间
  9980. type: string
  9981. userid:
  9982. description: 用户ID
  9983. type: integer
  9984. required:
  9985. - userid
  9986. type: object
  9987. models.Taaccount:
  9988. properties:
  9989. accountflag:
  9990. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  9991. type: integer
  9992. accountid:
  9993. description: 资金账户ID
  9994. type: integer
  9995. accountname:
  9996. description: 账户名称
  9997. type: string
  9998. balance:
  9999. description: 期初余额
  10000. type: number
  10001. capitalbalance:
  10002. description: 本金余额[外部子账户实际出入金余额]
  10003. type: number
  10004. changeflag:
  10005. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  10006. type: integer
  10007. changetime:
  10008. description: 账户状态变更时间
  10009. type: string
  10010. closepl:
  10011. description: 今日平仓盈亏
  10012. type: number
  10013. creditdecrease:
  10014. description: 今日授信减少
  10015. type: number
  10016. creditincrease:
  10017. description: 今日授信增加
  10018. type: number
  10019. currencyid:
  10020. description: 货币ID
  10021. type: integer
  10022. currentbalance:
  10023. description: 期末余额
  10024. type: number
  10025. freezecharge:
  10026. description: 手续费冻结
  10027. type: number
  10028. freezemargin:
  10029. description: 冻结保证金
  10030. type: number
  10031. fromaccountid:
  10032. description: 所属上级账户
  10033. type: integer
  10034. inamount:
  10035. description: 今日入金金额(包括三方入金)
  10036. type: number
  10037. ismain:
  10038. description: 是否母账号 0:不是母账户 1:是母账户
  10039. type: integer
  10040. ismarketaccount:
  10041. description: 是否机构接单账号 0:不是 1:是
  10042. type: integer
  10043. isreckonaccount:
  10044. description: 是否机构分润账号 0:不是 1:是
  10045. type: integer
  10046. mortgagecredit:
  10047. description: 授信金额
  10048. type: number
  10049. orifreezecharge:
  10050. description: 期初手续费冻结
  10051. type: number
  10052. orifreezemargin:
  10053. description: 期初冻结保证金
  10054. type: number
  10055. orimortgagecredit:
  10056. description: 期初授信金额
  10057. type: number
  10058. oriothercredit:
  10059. description: 期初其它授信金额
  10060. type: number
  10061. oriotherfreezemargin:
  10062. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  10063. type: number
  10064. orioutamountfreeze:
  10065. description: 期初出金冻结
  10066. type: number
  10067. oriusedmargin:
  10068. description: 期初占用保证金
  10069. type: number
  10070. othercredit:
  10071. description: 其它授信金额
  10072. type: number
  10073. othercreditdecrease:
  10074. description: 今日其它授信减少
  10075. type: number
  10076. othercreditincrease:
  10077. description: 今日其它授信增加
  10078. type: number
  10079. otherfreezemargin:
  10080. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  10081. type: number
  10082. otherincome:
  10083. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  10084. type: number
  10085. otherpay:
  10086. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  10087. type: number
  10088. outamount:
  10089. description: 今日出金金额(包括三方出金)
  10090. type: number
  10091. outamountfreeze:
  10092. description: 出金冻结
  10093. type: number
  10094. outthreshold:
  10095. description: 出金阈值
  10096. type: number
  10097. parentaccountid:
  10098. description: 所属根账号
  10099. type: integer
  10100. paycharge:
  10101. description: 今日手续费支出
  10102. type: number
  10103. relatedaccountstatus:
  10104. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  10105. type: integer
  10106. relateduserid:
  10107. description: 关联用户
  10108. type: integer
  10109. serivcegroup:
  10110. description: 服务分组
  10111. type: integer
  10112. signstatus:
  10113. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  10114. type: integer
  10115. sublevelpath:
  10116. description: 账号层级路径(逗号分隔,首尾加逗号)
  10117. type: string
  10118. taaccounttype:
  10119. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  10120. type: integer
  10121. thirdinamount:
  10122. description: 今日三方入金
  10123. type: number
  10124. thirdoutamount:
  10125. description: 今日三方出金
  10126. type: number
  10127. tradestatus:
  10128. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  10129. type: integer
  10130. tradestatuschangetime:
  10131. description: 激活时间
  10132. type: string
  10133. transferamount:
  10134. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  10135. type: number
  10136. usedmargin:
  10137. description: 占用保证金
  10138. type: number
  10139. userid:
  10140. description: 用户ID
  10141. type: integer
  10142. required:
  10143. - accountid
  10144. - userid
  10145. type: object
  10146. models.Tablecolumnconfig:
  10147. properties:
  10148. aligntype:
  10149. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  10150. type: integer
  10151. autoid:
  10152. description: AutoID
  10153. type: integer
  10154. columnfield:
  10155. description: 列字段
  10156. type: string
  10157. columntitle:
  10158. description: 列Title
  10159. type: string
  10160. columnwidth:
  10161. description: 列宽
  10162. type: string
  10163. formatterstring:
  10164. description: 格式化字符
  10165. type: string
  10166. formattertype:
  10167. description: 格式化类型
  10168. type: string
  10169. groupname:
  10170. description: 表头分组名称
  10171. type: string
  10172. isshow:
  10173. description: 是否显示 - 0:不显示 1:显示
  10174. type: integer
  10175. needsummary:
  10176. description: 是否需要汇总 - 0:不需要 1:需要
  10177. type: integer
  10178. orderindex:
  10179. description: 顺序
  10180. type: integer
  10181. remark:
  10182. description: 备注
  10183. type: string
  10184. summarytype:
  10185. description: 汇总类型 - 1:加总 2:最后一个
  10186. type: integer
  10187. tablekey:
  10188. description: 列表Key
  10189. type: string
  10190. required:
  10191. - autoid
  10192. type: object
  10193. models.Useraccount:
  10194. properties:
  10195. accountname:
  10196. description: 账户名称(机构名称)
  10197. type: string
  10198. accountstatus:
  10199. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  10200. type: integer
  10201. auditremark:
  10202. description: 审核备注
  10203. type: string
  10204. audittime:
  10205. description: 审核时间
  10206. type: string
  10207. audituserid:
  10208. description: 审核人
  10209. type: integer
  10210. broker:
  10211. description: 所属经纪人ID
  10212. type: integer
  10213. canceltime:
  10214. description: 销户时间
  10215. type: string
  10216. canceluserid:
  10217. description: 销户人
  10218. type: integer
  10219. createtime:
  10220. description: 创建时间
  10221. type: string
  10222. creatorid:
  10223. description: 创建人
  10224. type: integer
  10225. hasauth:
  10226. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  10227. type: integer
  10228. isanonymous:
  10229. description: 是否匿名下单 - 0:否 1:是
  10230. type: integer
  10231. maxinvestornum:
  10232. description: 最大用户数(经纪会员下投资者个数)
  10233. type: integer
  10234. memberuserid:
  10235. description: 所属会员ID
  10236. type: integer
  10237. modifierid:
  10238. description: 修改人
  10239. type: integer
  10240. modifyremark:
  10241. description: 变更备注
  10242. type: string
  10243. modifystatus:
  10244. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  10245. type: integer
  10246. modifytime:
  10247. description: 修改时间
  10248. type: string
  10249. parentuserid:
  10250. description: 所属机构ID
  10251. type: integer
  10252. reckonaccountid:
  10253. description: 默认结算资金账号ID(机构分润使用) 作废
  10254. type: integer
  10255. refercount:
  10256. description: 推荐总人数
  10257. type: integer
  10258. refereeuserid:
  10259. description: 推荐人ID
  10260. type: integer
  10261. refernum:
  10262. description: 推荐码
  10263. type: string
  10264. subarealevelpath:
  10265. description: 子机构层级路径(逗号分隔,首尾加逗号)
  10266. type: string
  10267. userid:
  10268. description: 用户ID
  10269. type: integer
  10270. usertype:
  10271. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  10272. type: integer
  10273. required:
  10274. - userid
  10275. type: object
  10276. models.Userfavoritegoods:
  10277. properties:
  10278. goodsid:
  10279. description: 商品ID
  10280. type: integer
  10281. required:
  10282. - goodsid
  10283. type: object
  10284. models.Userinfo:
  10285. properties:
  10286. address:
  10287. description: 地址
  10288. type: string
  10289. attachment1:
  10290. description: 附件1
  10291. type: string
  10292. attachment2:
  10293. description: 附件2
  10294. type: string
  10295. bankaccount:
  10296. description: 银行帐号 (加密存储)
  10297. type: string
  10298. bankaccountname:
  10299. description: 收款人名称
  10300. type: string
  10301. bankcardfrontphotourl:
  10302. description: 银行卡正面照地址
  10303. type: string
  10304. bankid:
  10305. description: 银行编码
  10306. type: string
  10307. bankname:
  10308. description: 银行名称
  10309. type: string
  10310. biznature:
  10311. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  10312. type: integer
  10313. bizscope:
  10314. description: 企业经营范围(企业)
  10315. type: string
  10316. cardbackphotourl:
  10317. description: 证件背面图片地址
  10318. type: string
  10319. cardfrontphotourl:
  10320. description: 证件正面图片地址
  10321. type: string
  10322. cardnum:
  10323. description: 证件号码(加密存储)
  10324. type: string
  10325. cardtypeid:
  10326. description: 证件类型ID
  10327. type: integer
  10328. cityid:
  10329. description: 市
  10330. type: integer
  10331. company:
  10332. description: 公司(个人)
  10333. type: string
  10334. contactname:
  10335. description: 联系人
  10336. type: string
  10337. countryid:
  10338. description: 国家
  10339. type: integer
  10340. createtime:
  10341. description: 创建时间
  10342. type: string
  10343. creatorid:
  10344. description: 创建人
  10345. type: integer
  10346. customername:
  10347. description: 客户名称(企业名称)
  10348. type: string
  10349. districtid:
  10350. description: 地区
  10351. type: integer
  10352. email:
  10353. description: 邮件(加密存储)
  10354. type: string
  10355. fax:
  10356. description: 传真(加密存储)
  10357. type: string
  10358. halfbodyphotourl:
  10359. description: 半身照地址
  10360. type: string
  10361. hasencrypt:
  10362. description: 数据是否已加密 - 0:未加密 1:已加密
  10363. type: integer
  10364. headurl:
  10365. description: 头像地址
  10366. type: string
  10367. legalcardbackphotourl:
  10368. description: 法人身份证背面照地址
  10369. type: string
  10370. legalcardfrontphotourl:
  10371. description: 法人身份证正面照地址
  10372. type: string
  10373. legalpersonname:
  10374. description: 法人姓名(企业)
  10375. type: string
  10376. mobile:
  10377. description: 手机号码(加密存储)
  10378. type: string
  10379. mobile2:
  10380. description: 手机号码[明文-尚志]
  10381. type: string
  10382. modifierid:
  10383. description: 修改人
  10384. type: integer
  10385. modifiertime:
  10386. description: 修改时间
  10387. type: string
  10388. needinvoice:
  10389. description: 是否需要发票 - 0:不需要 1:需要
  10390. type: integer
  10391. nickname:
  10392. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  10393. type: string
  10394. openmode:
  10395. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  10396. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  10397. type: integer
  10398. otherurl:
  10399. description: 其它图片地址[使用分号分隔]
  10400. type: string
  10401. postalcode:
  10402. description: 邮政编码
  10403. type: string
  10404. provinceid:
  10405. description: 省
  10406. type: integer
  10407. qq:
  10408. description: QQ(加密存储
  10409. type: string
  10410. remark:
  10411. description: 备注
  10412. type: string
  10413. sex:
  10414. description: '用户性别 0: 女 1: 男'
  10415. type: integer
  10416. signpdfurl:
  10417. description: 签约pdf文件
  10418. type: string
  10419. telphone:
  10420. description: 联系电话(加密存储)
  10421. type: string
  10422. userid:
  10423. description: 用户ID
  10424. type: integer
  10425. userinfotype:
  10426. description: 用户信息类型 - 1:个人 2:企业
  10427. type: integer
  10428. userstatus:
  10429. description: 用户状态 - 1:正常 2:注销
  10430. type: integer
  10431. usertype:
  10432. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  10433. type: integer
  10434. wechat:
  10435. description: 微信(加密存储)
  10436. type: string
  10437. wskhinfo:
  10438. description: 开户申请信息(JSON)
  10439. type: string
  10440. required:
  10441. - userid
  10442. type: object
  10443. models.WRSConverTDetail:
  10444. properties:
  10445. convertratio:
  10446. description: 套保系数
  10447. type: number
  10448. deliverygoodscode:
  10449. description: 现货商品代码
  10450. type: string
  10451. deliverygoodsid:
  10452. description: 现货品种ID
  10453. type: integer
  10454. deliverygoodsname:
  10455. description: 现货商品名称
  10456. type: string
  10457. enumdicname:
  10458. description: 单位名称
  10459. type: string
  10460. goodsunitid:
  10461. description: 套保品种单位id
  10462. type: integer
  10463. middlegoodscode:
  10464. description: 套保品种代码
  10465. type: string
  10466. middlegoodsid:
  10467. description: 套保品种ID
  10468. type: integer
  10469. middlegoodsname:
  10470. description: 套保品种名称
  10471. type: string
  10472. modifytime:
  10473. description: 修改时间
  10474. type: string
  10475. wrstandardid:
  10476. description: 品类ID
  10477. type: integer
  10478. type: object
  10479. models.WRStandardInfo:
  10480. properties:
  10481. areauserid:
  10482. description: 所属机构
  10483. type: integer
  10484. convertfactor:
  10485. description: 标仓系数
  10486. type: number
  10487. createtime:
  10488. description: 创建时间
  10489. type: string
  10490. creatorid:
  10491. description: 创建人
  10492. type: integer
  10493. deliverygoodsid:
  10494. description: 品种ID
  10495. type: integer
  10496. deliverygoodsname:
  10497. description: 交割商品名称
  10498. type: string
  10499. factoryitemjson:
  10500. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  10501. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  10502. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  10503. 逗号分隔'
  10504. type: string
  10505. isvalid:
  10506. description: 是否有效 - 0:无效 1:有效
  10507. type: integer
  10508. minivalue:
  10509. description: 最小变动值
  10510. type: integer
  10511. minivaluedp:
  10512. description: 最小变动值小数位
  10513. type: integer
  10514. realminivalue:
  10515. description: 实际最小变动值
  10516. type: integer
  10517. realminivaluedp:
  10518. description: 实际最小变动值小数位
  10519. type: integer
  10520. remark:
  10521. description: 备注
  10522. type: string
  10523. unitid:
  10524. description: 单位ID
  10525. type: integer
  10526. unitname:
  10527. description: 单位
  10528. type: string
  10529. updatetime:
  10530. description: 更新时间
  10531. type: string
  10532. updatorid:
  10533. description: 更新人
  10534. type: integer
  10535. wrsstatus:
  10536. description: 状态 - 作废 - 0:未激活 1:正常
  10537. type: integer
  10538. wrstandardcode:
  10539. description: 现货品类代码
  10540. type: string
  10541. wrstandardid:
  10542. description: 现货品类ID(SEQ_WRSTANDARD)
  10543. type: integer
  10544. wrstandardname:
  10545. description: 现货品类名称
  10546. type: string
  10547. required:
  10548. - wrstandardid
  10549. type: object
  10550. models.Warehouseinfo:
  10551. properties:
  10552. address:
  10553. description: 详细地址
  10554. type: string
  10555. areauserid:
  10556. description: 所属机构
  10557. type: integer
  10558. autoid:
  10559. description: 自增ID
  10560. type: integer
  10561. cityid:
  10562. description: 市
  10563. type: integer
  10564. contactname:
  10565. description: 联系人
  10566. type: string
  10567. contactnum:
  10568. description: 联系电话
  10569. type: string
  10570. countryid:
  10571. description: 国家
  10572. type: integer
  10573. createtime:
  10574. description: 创建时间
  10575. type: string
  10576. districtid:
  10577. description: 区
  10578. type: integer
  10579. hasvideo:
  10580. description: 是否有视频 - 0:无 1:有
  10581. type: integer
  10582. provinceid:
  10583. description: 省
  10584. type: integer
  10585. remark:
  10586. description: 审核备注
  10587. type: string
  10588. videourl:
  10589. description: 视频地址
  10590. type: string
  10591. warehousecode:
  10592. description: 仓库代码
  10593. type: string
  10594. warehousename:
  10595. description: 仓库名称
  10596. type: string
  10597. warehousestatus:
  10598. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  10599. type: integer
  10600. warehousetype:
  10601. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  10602. type: integer
  10603. required:
  10604. - autoid
  10605. - warehousecode
  10606. type: object
  10607. order.QueryHisTradeDetailRsp:
  10608. properties:
  10609. accountid:
  10610. description: 账户ID[报价币种]
  10611. type: integer
  10612. buildtype:
  10613. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  10614. type: integer
  10615. buyorsell:
  10616. description: 方向 - 0:买 1:卖
  10617. type: integer
  10618. charge:
  10619. description: 手续费
  10620. type: number
  10621. closecharge:
  10622. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  10623. type: number
  10624. closeexchagechargevalue:
  10625. description: 平仓交易所手续费设置值
  10626. type: number
  10627. closefeealgorithm:
  10628. description: 平仓手续费收取方式 1:比率 2:固定
  10629. type: integer
  10630. closememberchargevalue:
  10631. description: 平仓会员手续费设置值
  10632. type: number
  10633. closepl:
  10634. description: 平仓盈亏
  10635. type: number
  10636. closepl2:
  10637. description: 平仓盈亏[逐笔]
  10638. type: number
  10639. closeqty:
  10640. description: 平仓数量(先建后平操作 需要记录)
  10641. type: integer
  10642. creditamount:
  10643. description: 授信金额
  10644. type: number
  10645. gcaccountid:
  10646. description: 账户ID[合约币种]
  10647. type: integer
  10648. goodscode:
  10649. description: 商品代码
  10650. type: string
  10651. goodsid:
  10652. description: 商品ID
  10653. type: integer
  10654. goodsname:
  10655. description: 商品名称
  10656. type: string
  10657. histradedate:
  10658. description: 历史交易日
  10659. type: string
  10660. intclosepl:
  10661. description: 整型盈亏(用于交易结算试算平衡-收益权)
  10662. type: integer
  10663. isconfirmexercise:
  10664. description: 是否确认行权- 0:否 1:是
  10665. type: integer
  10666. ismain:
  10667. description: 是否主单 - 0:不是 1:是
  10668. type: integer
  10669. ispreexercise:
  10670. description: 是否预申报- 0:否 1:是
  10671. type: integer
  10672. isreckoned:
  10673. description: 是否结算 - 0:未结算 1:已结算
  10674. type: integer
  10675. isvaliddata:
  10676. description: 是否有效 - 0:无效 1:有效
  10677. type: integer
  10678. listingselecttype:
  10679. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  10680. type: integer
  10681. marketid:
  10682. description: 市场ID
  10683. type: integer
  10684. marketname:
  10685. description: 市场名称
  10686. type: string
  10687. matchaccountid:
  10688. description: 对手账号id
  10689. type: integer
  10690. memberuserid:
  10691. description: 会员id 个人投资者 需要填写
  10692. type: integer
  10693. opencharge:
  10694. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  10695. type: number
  10696. openexchagechargevalue:
  10697. description: 建仓交易所手续费设置值
  10698. type: number
  10699. openfeealgorithm:
  10700. description: 建仓手续费收取方式 1:比率 2:固定
  10701. type: integer
  10702. openmemberchargevalue:
  10703. description: 建仓会员手续费设置值
  10704. type: number
  10705. openqty:
  10706. description: 开仓数量(先建后平操作 需要记录)
  10707. type: integer
  10708. optiontype:
  10709. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  10710. type: integer
  10711. orderid:
  10712. description: 委托单号
  10713. type: string
  10714. performanceplanid:
  10715. description: 履约计划ID[期权]
  10716. type: integer
  10717. performancestatus:
  10718. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  10719. type: integer
  10720. preexerciseprice:
  10721. description: 预申报价格
  10722. type: number
  10723. premium:
  10724. description: 权利金 - [持仓单的权利金]
  10725. type: number
  10726. relatedouttradeid:
  10727. description: 关联外部成交单ID
  10728. type: integer
  10729. status:
  10730. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  10731. type: integer
  10732. tradeamount:
  10733. description: 成交金额[账户币种,用于所有权]
  10734. type: number
  10735. tradedate:
  10736. description: 交易日(yyyyMMdd)
  10737. type: string
  10738. tradeid:
  10739. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10740. type: string
  10741. trademode:
  10742. description: 交易模式
  10743. type: integer
  10744. tradeprice:
  10745. description: 成交价格
  10746. type: number
  10747. tradeproperty:
  10748. description: 交易属性
  10749. type: integer
  10750. tradeqty:
  10751. description: 成交数量
  10752. type: integer
  10753. tradetime:
  10754. description: 成交时间
  10755. type: string
  10756. tradetype:
  10757. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  10758. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  10759. type: integer
  10760. required:
  10761. - accountid
  10762. - buyorsell
  10763. - goodsid
  10764. - histradedate
  10765. - marketid
  10766. - memberuserid
  10767. - orderid
  10768. - tradeamount
  10769. - tradedate
  10770. - tradeid
  10771. - tradeprice
  10772. - tradeqty
  10773. - tradetime
  10774. type: object
  10775. order.QueryHisTradeOrderDetailRsp:
  10776. properties:
  10777. accountid:
  10778. description: 账户ID[报价币种]
  10779. type: integer
  10780. buildtype:
  10781. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  10782. type: integer
  10783. buyorsell:
  10784. description: 买卖 - 0:买 1:卖
  10785. type: integer
  10786. cancelorderid:
  10787. description: 撤单单号(撤单时填写)
  10788. type: string
  10789. cancelqty:
  10790. description: 撤单数量
  10791. type: integer
  10792. clientordertime:
  10793. description: 客户端委托时间
  10794. type: string
  10795. clientticket:
  10796. description: 客户端流水号
  10797. type: string
  10798. clienttype:
  10799. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  10800. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  10801. type: integer
  10802. closeexchagechargevalue:
  10803. description: 平仓交易所手续费设置值
  10804. type: number
  10805. closefeealgorithm:
  10806. description: 平仓手续费收取方式 1:比率 2:固定
  10807. type: integer
  10808. closefreezecharge:
  10809. description: 平仓冻结手续费(先建后平操作,需要记录)
  10810. type: number
  10811. closememberchargevalue:
  10812. description: 平仓会员手续费设置值
  10813. type: number
  10814. closeqty:
  10815. description: 平仓数量(先建后平操作 需要记录)
  10816. type: integer
  10817. closetradeqty:
  10818. description: 平仓成交数量(先建后平操作,需要记录)
  10819. type: integer
  10820. closeunfreezecharge:
  10821. description: 平仓解冻手续费(先建后平操作,需要记录)
  10822. type: number
  10823. delistingtype:
  10824. description: 摘牌类型 - 1:价格最优 2:点选成交
  10825. type: integer
  10826. freezecharge:
  10827. description: 冻结手续费
  10828. type: number
  10829. freezemargin:
  10830. description: 冻结保证金(冻结交易金额)
  10831. type: number
  10832. gcaccountid:
  10833. description: 账户ID[合约币种]
  10834. type: integer
  10835. goodscode:
  10836. description: 商品代码
  10837. type: string
  10838. goodsid:
  10839. description: 商品ID
  10840. type: integer
  10841. goodsname:
  10842. description: 商品名称
  10843. type: string
  10844. histradedate:
  10845. description: 历史交易日
  10846. type: string
  10847. isconfirmexercise:
  10848. description: 是否确认行权- 0:否 1:是
  10849. type: integer
  10850. ispreexercise:
  10851. description: 是否预申报- 0:否 1:是
  10852. type: integer
  10853. isvaliddata:
  10854. description: 是否有效 - 0:无效 1:有效
  10855. type: integer
  10856. listingselecttype:
  10857. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  10858. type: integer
  10859. marginalgorithm:
  10860. description: 保证金收取方式 1:比率 2:固定
  10861. type: integer
  10862. marginvalue:
  10863. description: 即市保证金设置值
  10864. type: number
  10865. marketid:
  10866. description: 市场ID
  10867. type: integer
  10868. marketmaxsub:
  10869. description: 市价最大偏移范围
  10870. type: number
  10871. marketname:
  10872. description: 市场名称
  10873. type: string
  10874. memberuserid:
  10875. description: 所属会员UserID
  10876. type: integer
  10877. openexchagechargevalue:
  10878. description: 建仓交易所手续费设置值
  10879. type: number
  10880. openfeealgorithm:
  10881. description: 建仓手续费收取方式 1:比率 2:固定
  10882. type: integer
  10883. openfreezecharge:
  10884. description: 开仓冻结手续费(先建后平操作,需要记录)
  10885. type: number
  10886. openmemberchargevalue:
  10887. description: 建仓会员手续费设置值
  10888. type: number
  10889. openqty:
  10890. description: 开仓数量(先建后平操作,需要记录)
  10891. type: integer
  10892. opentradeqty:
  10893. description: 开仓成交数量(先建后平操作,需要记录)
  10894. type: integer
  10895. openunfreezecharge:
  10896. description: 开仓解冻手续费(先建后平操作,需要记录)
  10897. type: number
  10898. operatetype:
  10899. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  10900. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  10901. 15:管理端协议转让
  10902. type: integer
  10903. operatorid:
  10904. description: 登录账号(LoginID)
  10905. type: integer
  10906. optiontype:
  10907. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  10908. type: integer
  10909. orderid:
  10910. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10911. type: string
  10912. orderprice:
  10913. description: 委托价格
  10914. type: number
  10915. orderqty:
  10916. description: 委托数量
  10917. type: integer
  10918. ordersrc:
  10919. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  10920. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  10921. type: integer
  10922. orderstatus:
  10923. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  10924. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  10925. 16:成交失败违约(荷兰式竞拍专用)
  10926. type: integer
  10927. ordertime:
  10928. description: 委托时间
  10929. type: string
  10930. preexerciseprice:
  10931. description: 预申报价格
  10932. type: number
  10933. premium:
  10934. description: 权利金
  10935. type: number
  10936. preorderid:
  10937. description: 关联预埋单号(止盈止损单时填写)
  10938. type: string
  10939. pricemode:
  10940. description: '取价方式 - 1:市价 2: 限价'
  10941. type: integer
  10942. quoteid:
  10943. description: 报价单ID
  10944. type: integer
  10945. relatedid:
  10946. description: 关联单号(交割单)
  10947. type: string
  10948. retcode:
  10949. description: 错误代码
  10950. type: integer
  10951. sessionid:
  10952. description: 会话ID
  10953. type: integer
  10954. tradedate:
  10955. description: 交易日(yyyyMMdd)
  10956. type: string
  10957. trademode:
  10958. description: 交易模式
  10959. type: integer
  10960. tradeproperty:
  10961. description: 交易属性
  10962. type: integer
  10963. tradeqty:
  10964. description: 成交数量
  10965. type: integer
  10966. unfreezecharge:
  10967. description: 解冻手续费
  10968. type: number
  10969. unfreezemargin:
  10970. description: 解冻保证金
  10971. type: number
  10972. updatetime:
  10973. description: 更新时间
  10974. type: string
  10975. uuid:
  10976. description: 发起端唯一id
  10977. type: string
  10978. validtime:
  10979. description: 有效期限
  10980. type: string
  10981. validtype:
  10982. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  10983. type: integer
  10984. volumetype:
  10985. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  10986. type: integer
  10987. required:
  10988. - accountid
  10989. - buildtype
  10990. - buyorsell
  10991. - goodsid
  10992. - histradedate
  10993. - marketid
  10994. - memberuserid
  10995. - operatetype
  10996. - orderid
  10997. - orderqty
  10998. - ordertime
  10999. - pricemode
  11000. - tradedate
  11001. - validtype
  11002. type: object
  11003. order.QueryTradeDetailRsp:
  11004. properties:
  11005. accountid:
  11006. description: 账户ID[报价币种]
  11007. type: integer
  11008. buildtype:
  11009. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  11010. type: integer
  11011. buyorsell:
  11012. description: 方向 - 0:买 1:卖
  11013. type: integer
  11014. charge:
  11015. description: 手续费
  11016. type: number
  11017. closecharge:
  11018. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  11019. type: number
  11020. closeexchagechargevalue:
  11021. description: 平仓交易所手续费设置值
  11022. type: number
  11023. closefeealgorithm:
  11024. description: 平仓手续费收取方式 1:比率 2:固定
  11025. type: integer
  11026. closememberchargevalue:
  11027. description: 平仓会员手续费设置值
  11028. type: number
  11029. closepl:
  11030. description: 平仓盈亏
  11031. type: number
  11032. closepl2:
  11033. description: 平仓盈亏[逐笔]
  11034. type: number
  11035. closeqty:
  11036. description: 平仓数量(先建后平操作 需要记录)
  11037. type: integer
  11038. creditamount:
  11039. description: 授信金额
  11040. type: number
  11041. gcaccountid:
  11042. description: 账户ID[合约币种]
  11043. type: integer
  11044. goodscode:
  11045. description: 商品代码
  11046. type: string
  11047. goodsid:
  11048. description: 商品ID
  11049. type: integer
  11050. goodsname:
  11051. description: 商品名称
  11052. type: string
  11053. intclosepl:
  11054. description: 整型盈亏(用于交易结算试算平衡-收益权)
  11055. type: integer
  11056. isconfirmexercise:
  11057. description: 是否确认行权- 0:否 1:是
  11058. type: integer
  11059. ismain:
  11060. description: 是否主单 - 0:不是 1:是
  11061. type: integer
  11062. ispreexercise:
  11063. description: 是否预申报- 0:否 1:是
  11064. type: integer
  11065. isreckoned:
  11066. description: 是否结算 - 0:未结算 1:已结算
  11067. type: integer
  11068. listingselecttype:
  11069. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  11070. type: integer
  11071. marketid:
  11072. description: 市场ID
  11073. type: integer
  11074. marketname:
  11075. description: 市场名称
  11076. type: string
  11077. matchaccountid:
  11078. description: 对手账号id
  11079. type: integer
  11080. memberuserid:
  11081. description: 会员id 个人投资者 需要填写
  11082. type: integer
  11083. opencharge:
  11084. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  11085. type: number
  11086. openexchagechargevalue:
  11087. description: 建仓交易所手续费设置值
  11088. type: number
  11089. openfeealgorithm:
  11090. description: 建仓手续费收取方式 1:比率 2:固定
  11091. type: integer
  11092. openmemberchargevalue:
  11093. description: 建仓会员手续费设置值
  11094. type: number
  11095. openqty:
  11096. description: 开仓数量(先建后平操作 需要记录)
  11097. type: integer
  11098. optiontype:
  11099. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  11100. type: integer
  11101. orderid:
  11102. description: 委托单号
  11103. type: string
  11104. performanceplanid:
  11105. description: 履约计划ID[期权]
  11106. type: integer
  11107. performancestatus:
  11108. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  11109. type: integer
  11110. preexerciseprice:
  11111. description: 预申报价格
  11112. type: number
  11113. premium:
  11114. description: 权利金 - [持仓单的权利金]
  11115. type: number
  11116. relatedouttradeid:
  11117. description: 关联外部成交单ID
  11118. type: integer
  11119. status:
  11120. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  11121. type: integer
  11122. tradeamount:
  11123. description: 成交金额[账户币种,用于所有权]
  11124. type: number
  11125. tradedate:
  11126. description: 交易日(yyyyMMdd)
  11127. type: string
  11128. tradeid:
  11129. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11130. type: string
  11131. trademode:
  11132. description: 交易模式
  11133. type: integer
  11134. tradeprice:
  11135. description: 成交价格
  11136. type: number
  11137. tradeproperty:
  11138. description: 交易属性
  11139. type: integer
  11140. tradeqty:
  11141. description: 成交数量
  11142. type: integer
  11143. tradetime:
  11144. description: 成交时间
  11145. type: string
  11146. tradetype:
  11147. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  11148. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  11149. type: integer
  11150. required:
  11151. - accountid
  11152. - buyorsell
  11153. - goodsid
  11154. - marketid
  11155. - memberuserid
  11156. - orderid
  11157. - tradeamount
  11158. - tradedate
  11159. - tradeid
  11160. - tradeprice
  11161. - tradeqty
  11162. - tradetime
  11163. type: object
  11164. order.QueryTradeOrderDetailRsp:
  11165. properties:
  11166. accountid:
  11167. description: 账户ID[报价币种]
  11168. type: integer
  11169. buildtype:
  11170. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  11171. type: integer
  11172. buyorsell:
  11173. description: 买卖 - 0:买 1:卖
  11174. type: integer
  11175. cancelorderid:
  11176. description: 撤单单号(撤单时填写)
  11177. type: string
  11178. cancelqty:
  11179. description: 撤单数量
  11180. type: integer
  11181. clienttype:
  11182. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  11183. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  11184. type: integer
  11185. closefreezecharge:
  11186. description: 平仓冻结手续费(先建后平操作,需要记录)
  11187. type: number
  11188. closeqty:
  11189. description: 平仓数量(先建后平操作 需要记录)
  11190. type: integer
  11191. closetradeqty:
  11192. description: 平仓成交数量(先建后平操作,需要记录)
  11193. type: integer
  11194. closeunfreezecharge:
  11195. description: 平仓解冻手续费(先建后平操作,需要记录)
  11196. type: number
  11197. delistingtype:
  11198. description: 摘牌类型 - 1:价格最优 2:点选成交
  11199. type: integer
  11200. enableqty:
  11201. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  11202. type: integer
  11203. freezecharge:
  11204. description: 冻结手续费
  11205. type: number
  11206. freezemargin:
  11207. description: 冻结保证金(冻结交易金额)
  11208. type: number
  11209. goodscode:
  11210. description: 商品代码
  11211. type: string
  11212. goodsid:
  11213. description: 商品ID
  11214. type: integer
  11215. goodsname:
  11216. description: 商品名称
  11217. type: string
  11218. listingselecttype:
  11219. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  11220. type: integer
  11221. marketid:
  11222. description: 市场ID
  11223. type: integer
  11224. marketname:
  11225. description: 市场名称
  11226. type: string
  11227. openfreezecharge:
  11228. description: 开仓冻结手续费(先建后平操作,需要记录)
  11229. type: number
  11230. openqty:
  11231. description: 开仓数量(先建后平操作,需要记录)
  11232. type: integer
  11233. opentradeqty:
  11234. description: 开仓成交数量(先建后平操作,需要记录)
  11235. type: integer
  11236. openunfreezecharge:
  11237. description: 开仓解冻手续费(先建后平操作,需要记录)
  11238. type: number
  11239. operatetype:
  11240. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  11241. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  11242. 15:管理端协议转让
  11243. type: integer
  11244. operatorid:
  11245. description: 登录账号(LoginID)
  11246. type: integer
  11247. orderid:
  11248. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11249. type: string
  11250. orderprice:
  11251. description: 委托价格
  11252. type: number
  11253. orderqty:
  11254. description: 委托数量
  11255. type: integer
  11256. ordersrc:
  11257. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  11258. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  11259. type: integer
  11260. orderstatus:
  11261. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  11262. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  11263. 16:成交失败违约(荷兰式竞拍专用)
  11264. type: integer
  11265. ordertime:
  11266. description: 委托时间
  11267. type: string
  11268. preorderid:
  11269. description: 关联预埋单号(止盈止损单时填写)
  11270. type: string
  11271. pricemode:
  11272. description: '取价方式 - 1:市价 2: 限价'
  11273. type: integer
  11274. relatedid:
  11275. description: 关联单号(交割单)
  11276. type: string
  11277. tradedate:
  11278. description: 交易日(yyyyMMdd)
  11279. type: string
  11280. trademode:
  11281. description: 交易模式
  11282. type: integer
  11283. tradeqty:
  11284. description: 成交数量
  11285. type: integer
  11286. unfreezecharge:
  11287. description: 解冻手续费
  11288. type: number
  11289. unfreezemargin:
  11290. description: 解冻保证金
  11291. type: number
  11292. validtime:
  11293. description: 有效期限
  11294. type: string
  11295. validtype:
  11296. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  11297. type: integer
  11298. volumetype:
  11299. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  11300. type: integer
  11301. required:
  11302. - accountid
  11303. - buildtype
  11304. - buyorsell
  11305. - goodsid
  11306. - marketid
  11307. - operatetype
  11308. - orderqty
  11309. - ordertime
  11310. - pricemode
  11311. - tradedate
  11312. - validtype
  11313. type: object
  11314. order.QueryTradePositionRsp:
  11315. properties:
  11316. accountid:
  11317. description: 资金账户
  11318. type: integer
  11319. agreeunit:
  11320. description: 合约单位
  11321. type: number
  11322. averageprice:
  11323. description: 持仓均价
  11324. type: number
  11325. buyorsell:
  11326. description: 方向 - 0:买 1:卖
  11327. type: integer
  11328. closetotalqty:
  11329. description: 平仓总数量
  11330. type: integer
  11331. curholderamount:
  11332. description: 当前持仓总金额[商品币种]
  11333. type: number
  11334. curpositionqty:
  11335. description: 当前持仓总数量
  11336. type: integer
  11337. currencyid:
  11338. description: 报价货币ID
  11339. type: integer
  11340. curtdposition:
  11341. description: 期末今日头寸
  11342. type: integer
  11343. decimalplace:
  11344. description: 报价小数位
  11345. type: integer
  11346. enableqty:
  11347. description: 可用量
  11348. type: integer
  11349. fretdposition:
  11350. description: 冻结今日头寸
  11351. type: integer
  11352. frozenqty:
  11353. description: 持仓冻结数量
  11354. type: integer
  11355. goodscode:
  11356. description: 商品代码
  11357. type: string
  11358. goodsid:
  11359. description: 商品Id
  11360. type: integer
  11361. goodsname:
  11362. description: 商品名称
  11363. type: string
  11364. goodunit:
  11365. description: 报价单位
  11366. type: string
  11367. goodunitid:
  11368. description: 报价单位ID
  11369. type: integer
  11370. holderamount:
  11371. description: 期初持仓总金额[商品币种]
  11372. type: number
  11373. marketid:
  11374. description: 所属市场ID
  11375. type: integer
  11376. openreqqty:
  11377. description: 开仓申请数量(用于比较最大持仓数量)
  11378. type: integer
  11379. opentotalqty:
  11380. description: 开仓总数量
  11381. type: integer
  11382. otherfrozenqty:
  11383. description: 持仓其他冻结数量(交割冻结)
  11384. type: integer
  11385. positionqty:
  11386. description: 期初持仓数量
  11387. type: integer
  11388. tnqty:
  11389. description: T+N冻结总量
  11390. type: integer
  11391. tnusedqty:
  11392. description: T+N使用量(可以使用T+N的冻结数量)
  11393. type: integer
  11394. trademode:
  11395. description: 交易模式
  11396. type: integer
  11397. usedmargin:
  11398. description: 占用保证金[商品币种]
  11399. type: number
  11400. required:
  11401. - goodsid
  11402. type: object
  11403. quote.HistoryData:
  11404. properties:
  11405. c:
  11406. description: 收盘价
  11407. type: number
  11408. f:
  11409. description: 是否补充数据
  11410. type: boolean
  11411. h:
  11412. description: 最高价
  11413. type: number
  11414. hv:
  11415. description: 持仓量
  11416. type: integer
  11417. l:
  11418. description: 最低价
  11419. type: number
  11420. o:
  11421. description: 开盘价
  11422. type: number
  11423. s:
  11424. description: 结算价,日线周期(包括)以上才有
  11425. type: number
  11426. ts:
  11427. description: 时间
  11428. type: string
  11429. tt:
  11430. description: 总金额
  11431. type: number
  11432. tv:
  11433. description: 总量
  11434. type: integer
  11435. type: object
  11436. quote.HistoryTikData:
  11437. properties:
  11438. AV:
  11439. description: 卖量
  11440. type: integer
  11441. Ask:
  11442. description: 卖价
  11443. type: number
  11444. BV:
  11445. description: 买量
  11446. type: integer
  11447. Bid:
  11448. description: 买价
  11449. type: number
  11450. HI:
  11451. description: 单笔持仓
  11452. type: integer
  11453. HV:
  11454. description: 持仓量
  11455. type: integer
  11456. PE:
  11457. description: 现价
  11458. type: number
  11459. TDR:
  11460. description: 交易方向,0:买 1:卖
  11461. type: integer
  11462. TK:
  11463. description: 交易类型
  11464. type: integer
  11465. TS:
  11466. description: 行情时间文本
  11467. type: string
  11468. TT:
  11469. description: 现金额
  11470. type: number
  11471. Vol:
  11472. description: 现量
  11473. type: integer
  11474. type: object
  11475. quote.QueryQuoteDayRsp:
  11476. properties:
  11477. ask:
  11478. description: 卖1
  11479. type: number
  11480. ask2:
  11481. description: 卖2
  11482. type: number
  11483. ask3:
  11484. description: 卖3
  11485. type: number
  11486. ask4:
  11487. description: 卖4
  11488. type: number
  11489. ask5:
  11490. description: 卖5
  11491. type: number
  11492. ask6:
  11493. description: 卖6
  11494. type: number
  11495. ask7:
  11496. description: 卖7
  11497. type: number
  11498. ask8:
  11499. description: 卖8
  11500. type: number
  11501. ask9:
  11502. description: 卖9
  11503. type: number
  11504. ask10:
  11505. description: 卖10
  11506. type: number
  11507. askorderid:
  11508. description: 卖单号1
  11509. type: integer
  11510. askorderid2:
  11511. description: 卖单号2
  11512. type: integer
  11513. askorderid3:
  11514. description: 卖单号3
  11515. type: integer
  11516. askorderid4:
  11517. description: 卖单号4
  11518. type: integer
  11519. askorderid5:
  11520. description: 卖单号5
  11521. type: integer
  11522. askordervolume:
  11523. description: 卖单量1
  11524. type: integer
  11525. askordervolume2:
  11526. description: 卖单量2
  11527. type: integer
  11528. askordervolume3:
  11529. description: 卖单量3
  11530. type: integer
  11531. askordervolume4:
  11532. description: 卖单量4
  11533. type: integer
  11534. askordervolume5:
  11535. description: 卖单量5
  11536. type: integer
  11537. askordervolume6:
  11538. description: 卖单量6
  11539. type: integer
  11540. askordervolume7:
  11541. description: 卖单量7
  11542. type: integer
  11543. askordervolume8:
  11544. description: 卖单量8
  11545. type: integer
  11546. askordervolume9:
  11547. description: 卖单量9
  11548. type: integer
  11549. askordervolume10:
  11550. description: 卖单量10
  11551. type: integer
  11552. askqueueinfo:
  11553. description: 大利市卖港股用
  11554. type: string
  11555. askvolume:
  11556. description: 卖量1
  11557. type: integer
  11558. askvolume2:
  11559. description: 卖量2
  11560. type: integer
  11561. askvolume3:
  11562. description: 卖量3
  11563. type: integer
  11564. askvolume4:
  11565. description: 卖量4
  11566. type: integer
  11567. askvolume5:
  11568. description: 卖量5
  11569. type: integer
  11570. askvolume6:
  11571. description: 卖量6
  11572. type: integer
  11573. askvolume7:
  11574. description: 卖量7
  11575. type: integer
  11576. askvolume8:
  11577. description: 卖量8
  11578. type: integer
  11579. askvolume9:
  11580. description: 卖量9
  11581. type: integer
  11582. askvolume10:
  11583. description: 卖量10
  11584. type: integer
  11585. averageprice:
  11586. description: 均价
  11587. type: number
  11588. bid:
  11589. description: 买1
  11590. type: number
  11591. bid2:
  11592. description: 买2
  11593. type: number
  11594. bid3:
  11595. description: 买3
  11596. type: number
  11597. bid4:
  11598. description: 买4
  11599. type: number
  11600. bid5:
  11601. description: 买5
  11602. type: number
  11603. bid6:
  11604. description: 买6
  11605. type: number
  11606. bid7:
  11607. description: 买7
  11608. type: number
  11609. bid8:
  11610. description: 买8
  11611. type: number
  11612. bid9:
  11613. description: 买9
  11614. type: number
  11615. bid10:
  11616. description: 买10
  11617. type: number
  11618. bidorderid:
  11619. description: 买单号1
  11620. type: integer
  11621. bidorderid2:
  11622. description: 买单号2
  11623. type: integer
  11624. bidorderid3:
  11625. description: 买单号3
  11626. type: integer
  11627. bidorderid4:
  11628. description: 买单号4
  11629. type: integer
  11630. bidorderid5:
  11631. description: 买单号5
  11632. type: integer
  11633. bidordervolume:
  11634. description: 买单量1
  11635. type: integer
  11636. bidordervolume2:
  11637. description: 买单量2
  11638. type: integer
  11639. bidordervolume3:
  11640. description: 买单量3
  11641. type: integer
  11642. bidordervolume4:
  11643. description: 买单量4
  11644. type: integer
  11645. bidordervolume5:
  11646. description: 买单量5
  11647. type: integer
  11648. bidordervolume6:
  11649. description: 买单量6
  11650. type: integer
  11651. bidordervolume7:
  11652. description: 买单量7
  11653. type: integer
  11654. bidordervolume8:
  11655. description: 买单量8
  11656. type: integer
  11657. bidordervolume9:
  11658. description: 买单量9
  11659. type: integer
  11660. bidordervolume10:
  11661. description: 买单量10
  11662. type: integer
  11663. bidqueueinfo:
  11664. description: 大利市买港股用
  11665. type: string
  11666. bidvolume:
  11667. description: 买量1
  11668. type: integer
  11669. bidvolume2:
  11670. description: 买量2
  11671. type: integer
  11672. bidvolume3:
  11673. description: 买量3
  11674. type: integer
  11675. bidvolume4:
  11676. description: 买量4
  11677. type: integer
  11678. bidvolume5:
  11679. description: 买量5
  11680. type: integer
  11681. bidvolume6:
  11682. description: 买量6
  11683. type: integer
  11684. bidvolume7:
  11685. description: 买量7
  11686. type: integer
  11687. bidvolume8:
  11688. description: 买量8
  11689. type: integer
  11690. bidvolume9:
  11691. description: 买量9
  11692. type: integer
  11693. bidvolume10:
  11694. description: 买量10
  11695. type: integer
  11696. calloptionpremiums:
  11697. description: 认购期权1
  11698. type: integer
  11699. calloptionpremiums2:
  11700. description: 认购期权2
  11701. type: integer
  11702. calloptionpremiums3:
  11703. description: 认购期权3
  11704. type: integer
  11705. calloptionpremiums4:
  11706. description: 认购期权4
  11707. type: integer
  11708. calloptionpremiums5:
  11709. description: 认购期权5
  11710. type: integer
  11711. cleartime:
  11712. description: 清盘时间
  11713. type: integer
  11714. exchangecode:
  11715. description: 交易所代码
  11716. type: integer
  11717. exchangedate:
  11718. description: 交易日
  11719. type: integer
  11720. goodscode:
  11721. description: 商品代码
  11722. type: string
  11723. grepmarketprice:
  11724. description: 暗盘价 港股专用
  11725. type: number
  11726. highest:
  11727. description: 最高价
  11728. type: number
  11729. holdincrement:
  11730. description: 单笔持仓
  11731. type: integer
  11732. holdvolume:
  11733. description: 持仓
  11734. type: integer
  11735. iep:
  11736. description: 平衡价 港股专用
  11737. type: number
  11738. iev:
  11739. description: 平衡量 港股专用
  11740. type: number
  11741. inventory:
  11742. description: 库存
  11743. type: integer
  11744. iscleared:
  11745. description: 是否清盘标志
  11746. type: integer
  11747. issettled:
  11748. description: 是否结算标志
  11749. type: integer
  11750. last:
  11751. description: 最新价
  11752. type: number
  11753. lastlot:
  11754. description: 最新成交手数
  11755. type: integer
  11756. lasttime:
  11757. description: 行情时间(只有现价变化行情时间才变化)
  11758. type: string
  11759. lastturnover:
  11760. description: 最新成交金额
  11761. type: number
  11762. lastvolume:
  11763. description: 最新成交量
  11764. type: integer
  11765. limitdown:
  11766. description: 跌停价
  11767. type: number
  11768. limitup:
  11769. description: 涨停价
  11770. type: number
  11771. lowest:
  11772. description: 最低价
  11773. type: number
  11774. nontotalholdervolume:
  11775. description: 非交易持仓量
  11776. type: integer
  11777. nontotallot:
  11778. description: 非交易总手数
  11779. type: integer
  11780. nontotalturnover:
  11781. description: 非交易总金额
  11782. type: integer
  11783. nontotalvolume:
  11784. description: 非交易总量
  11785. type: integer
  11786. opened:
  11787. description: 开盘价
  11788. type: number
  11789. opentime:
  11790. description: 开盘时间
  11791. type: string
  11792. orderid:
  11793. description: 序号
  11794. type: integer
  11795. preclose:
  11796. description: 昨收
  11797. type: number
  11798. preholdvolume:
  11799. description: 昨持仓
  11800. type: integer
  11801. presettle:
  11802. description: 昨结价
  11803. type: number
  11804. publictradetype:
  11805. description: 公共交易标志类型 港股专用
  11806. type: string
  11807. putoptionpremiums:
  11808. description: 认沽期权1
  11809. type: integer
  11810. putoptionpremiums2:
  11811. description: 认沽期权2
  11812. type: integer
  11813. putoptionpremiums3:
  11814. description: 认沽期权3
  11815. type: integer
  11816. putoptionpremiums4:
  11817. description: 认沽期权4
  11818. type: integer
  11819. putoptionpremiums5:
  11820. description: 认沽期权5
  11821. type: integer
  11822. settle:
  11823. description: 结算价
  11824. type: number
  11825. strikeprice:
  11826. description: 发行价
  11827. type: number
  11828. totalaskvolume:
  11829. description: 内盘
  11830. type: integer
  11831. totalbidvolume:
  11832. description: 外盘
  11833. type: integer
  11834. totallot:
  11835. description: 总手数
  11836. type: integer
  11837. totalturnover:
  11838. description: 总金额
  11839. type: number
  11840. totalvolume:
  11841. description: 总量
  11842. type: integer
  11843. utclasttime:
  11844. description: utc的行情时间
  11845. type: string
  11846. type: object
  11847. quote.QueryTSDataRsp:
  11848. properties:
  11849. Count:
  11850. description: 交易日应有数据个数
  11851. type: integer
  11852. decimalPlace:
  11853. description: 小数位
  11854. type: integer
  11855. endTime:
  11856. description: 结束时间
  11857. type: string
  11858. goodsCode:
  11859. description: 商品代码
  11860. type: string
  11861. historyDatas:
  11862. description: 历史数据
  11863. items:
  11864. $ref: '#/definitions/quote.HistoryData'
  11865. type: array
  11866. outGoodsCode:
  11867. description: 外部商品代码
  11868. type: string
  11869. preSettle:
  11870. description: 昨结价
  11871. type: number
  11872. runSteps:
  11873. description: 交易日开休市计划
  11874. items:
  11875. $ref: '#/definitions/quote.TSDataRunStep'
  11876. type: array
  11877. startTime:
  11878. description: 开始时间
  11879. type: string
  11880. tradeDate:
  11881. description: 交易日
  11882. type: string
  11883. type: object
  11884. quote.TSDataRunStep:
  11885. properties:
  11886. end:
  11887. description: 真实结束时间
  11888. type: string
  11889. endflag:
  11890. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  11891. type: integer
  11892. endtime:
  11893. description: 结束时间(HH:mm)
  11894. type: string
  11895. endweekday:
  11896. description: 结束周几
  11897. type: integer
  11898. groupid:
  11899. description: 分组ID
  11900. type: integer
  11901. runstep:
  11902. description: 运行阶段 - 2:连续交易
  11903. type: integer
  11904. sectionid:
  11905. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  11906. 结束时间=结算时间 结束周几=结算周几
  11907. type: integer
  11908. start:
  11909. description: 真实开始时间
  11910. type: string
  11911. startflag:
  11912. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  11913. type: integer
  11914. starttime:
  11915. description: 起始时间(HH:mm)
  11916. type: string
  11917. startweekday:
  11918. description: 起始周几
  11919. type: integer
  11920. tradeweekday:
  11921. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  11922. type: integer
  11923. type: object
  11924. szdz.QueryConvertLogRsp:
  11925. properties:
  11926. accountid:
  11927. description: 资金账户ID
  11928. type: integer
  11929. clientticket:
  11930. description: 客户端流水号
  11931. type: string
  11932. converttype:
  11933. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  11934. type: integer
  11935. createtime:
  11936. description: 记账时间
  11937. type: string
  11938. daymaxvalue:
  11939. description: 配置当日最大转入限制
  11940. type: number
  11941. daymaxvalue2:
  11942. description: 配置当日最大转入限制(转入)
  11943. type: number
  11944. goodscode:
  11945. description: 商品代码
  11946. type: string
  11947. goodsname:
  11948. description: 商品名称
  11949. type: string
  11950. handlestatus:
  11951. description: 处理状态
  11952. type: integer
  11953. innergoodsid:
  11954. description: 内部商品ID
  11955. type: integer
  11956. inratio:
  11957. description: 配置转入比值
  11958. type: integer
  11959. invalue:
  11960. description: 目标值
  11961. type: number
  11962. logid:
  11963. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11964. type: integer
  11965. mobile:
  11966. description: 手机号码(加密存储)
  11967. type: string
  11968. outergoodscode:
  11969. description: 外部商品代码[JD\PD]
  11970. type: string
  11971. outratio:
  11972. description: 配置转出比值
  11973. type: integer
  11974. outvalue:
  11975. description: 源值
  11976. type: number
  11977. pddecimalplace:
  11978. description: PD小数位
  11979. type: integer
  11980. qty:
  11981. description: 数量
  11982. type: string
  11983. remark:
  11984. description: 备注
  11985. type: string
  11986. sessionid:
  11987. description: 会话ID
  11988. type: integer
  11989. timemaxvalue:
  11990. description: 配置单次最大转入限制
  11991. type: number
  11992. timemaxvalue2:
  11993. description: 配置单次最大转入限制(转入)
  11994. type: number
  11995. timeminvalue:
  11996. description: 配置单次最小数量限制
  11997. type: number
  11998. timeminvalue2:
  11999. description: 配置单次最小数量限制(转入)
  12000. type: number
  12001. tradedate:
  12002. description: 交易日(yyyyMMdd)
  12003. type: string
  12004. userid:
  12005. description: 用户ID
  12006. type: integer
  12007. required:
  12008. - logid
  12009. type: object
  12010. szdz.QueryGoodsPickupRsp:
  12011. properties:
  12012. accountid:
  12013. description: 账户ID
  12014. type: integer
  12015. address:
  12016. description: 提货人详细地址
  12017. type: string
  12018. auditer:
  12019. description: 审核人
  12020. type: integer
  12021. audittime:
  12022. description: 审核时间
  12023. type: string
  12024. cardnum:
  12025. description: 提货人证件号码
  12026. type: string
  12027. cardtypeid:
  12028. description: 提货人证件类型
  12029. type: integer
  12030. checkremark:
  12031. description: 审核备注
  12032. type: string
  12033. goodscode:
  12034. description: 商品代码
  12035. type: string
  12036. goodsid:
  12037. description: 商品ID
  12038. type: integer
  12039. goodsname:
  12040. description: 商品名称
  12041. type: string
  12042. handlestatus:
  12043. description: 处理状态
  12044. type: integer
  12045. marketid:
  12046. description: 市场ID
  12047. type: integer
  12048. phonenum:
  12049. description: 提货人联系方式
  12050. type: string
  12051. qty:
  12052. description: 提货数量
  12053. type: number
  12054. recivername:
  12055. description: 提货人姓名
  12056. type: string
  12057. reqtime:
  12058. description: 更新时间
  12059. type: string
  12060. takemode:
  12061. description: 提货方式 - 2:自提 3:配送
  12062. type: integer
  12063. takeorderid:
  12064. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  12065. type: string
  12066. takeorderstatus:
  12067. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  12068. type: integer
  12069. takeremark:
  12070. description: 提货备注
  12071. type: string
  12072. tradedate:
  12073. description: 交易日(yyyyMMdd)
  12074. type: string
  12075. userid:
  12076. description: 用户ID
  12077. type: integer
  12078. required:
  12079. - takeorderid
  12080. type: object
  12081. szdz.QueryRecieptOrderRsp:
  12082. properties:
  12083. accountName:
  12084. description: 所属账号名称(已脱敏)
  12085. type: string
  12086. accountid:
  12087. description: 资金账号
  12088. type: integer
  12089. buyorsell:
  12090. description: 方向 - 0:买 1:卖
  12091. type: integer
  12092. enableqty:
  12093. description: 可摘数量
  12094. type: integer
  12095. goodscode:
  12096. description: 商品代码
  12097. type: string
  12098. goodsid:
  12099. description: 商品ID
  12100. type: integer
  12101. goodsname:
  12102. description: 商品名称
  12103. type: string
  12104. orderid:
  12105. description: 委托单号
  12106. type: string
  12107. orderprice:
  12108. description: 委托价格
  12109. type: number
  12110. ordertime:
  12111. description: 委托时间
  12112. type: string
  12113. tradedate:
  12114. description: 交易日(yyyyMMdd)
  12115. type: string
  12116. required:
  12117. - ordertime
  12118. type: object
  12119. szdz.QuerySZDZTradePositionRsp:
  12120. properties:
  12121. accountid:
  12122. description: 账号Id
  12123. type: integer
  12124. agreeunit:
  12125. description: 合约单位
  12126. type: number
  12127. averageprice:
  12128. description: 持仓均价
  12129. type: number
  12130. buyorsell:
  12131. description: 方向 - 0:买 1:卖
  12132. type: integer
  12133. closetotalqty:
  12134. description: 平仓总数量
  12135. type: integer
  12136. curholderamount:
  12137. description: 当前持仓总金额
  12138. type: number
  12139. curpositionqty:
  12140. description: 当前持仓总数量
  12141. type: integer
  12142. currencyid:
  12143. description: 报价货币ID
  12144. type: integer
  12145. curtdposition:
  12146. description: 期末今日头寸
  12147. type: integer
  12148. decimalplace:
  12149. description: 报价小数位
  12150. type: integer
  12151. enableqty:
  12152. description: 可用量
  12153. type: integer
  12154. fretdposition:
  12155. description: 冻结今日头寸
  12156. type: integer
  12157. frozenqty:
  12158. description: 持仓冻结数量
  12159. type: integer
  12160. goodscode:
  12161. description: 商品代码(内部)
  12162. type: string
  12163. goodsid:
  12164. description: 商品Id
  12165. type: integer
  12166. goodsname:
  12167. description: 商品名称
  12168. type: string
  12169. goodunit:
  12170. description: 报价单位
  12171. type: string
  12172. goodunitid:
  12173. description: 报价单位ID
  12174. type: integer
  12175. holderamount:
  12176. description: 期初持仓总金额
  12177. type: number
  12178. marketid:
  12179. description: 市场ID
  12180. type: integer
  12181. openreqqty:
  12182. description: 开仓申请数量
  12183. type: integer
  12184. opentotalqty:
  12185. description: 开仓总数量
  12186. type: integer
  12187. otherfrozenqty:
  12188. description: 持仓其他冻结数量(交割冻结)
  12189. type: integer
  12190. positionqty:
  12191. description: 期初持仓数量
  12192. type: integer
  12193. szdz3freezqty:
  12194. description: 尚志大宗转换冻结总数量
  12195. type: integer
  12196. tnqty:
  12197. description: T+N冻结总量
  12198. type: integer
  12199. tnusedqty:
  12200. description: T+N使用量
  12201. type: integer
  12202. trademode:
  12203. description: 交易模式
  12204. type: integer
  12205. usedmargin:
  12206. description: 占用保证金
  12207. type: number
  12208. type: object
  12209. taaccount.QueryAmountLogRsp:
  12210. properties:
  12211. OPERATETYPENAME:
  12212. description: 资金操作类型名称
  12213. type: string
  12214. accountid:
  12215. description: 资金账户ID
  12216. type: integer
  12217. agoodscode:
  12218. description: 竞拍商品代码
  12219. type: string
  12220. agoodsname:
  12221. description: 竞拍商品名称
  12222. type: string
  12223. amount:
  12224. description: 资金金额
  12225. type: number
  12226. amountadjusttype:
  12227. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  12228. type: integer
  12229. autoid:
  12230. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  12231. type: integer
  12232. balance:
  12233. description: 期初余额
  12234. type: number
  12235. businesscode:
  12236. description: 业务编号
  12237. type: integer
  12238. createtime:
  12239. description: 发生时间
  12240. type: string
  12241. currencyid:
  12242. description: 币种ID
  12243. type: integer
  12244. currentbalance:
  12245. description: 期末余额(变动后金额)
  12246. type: number
  12247. dgoodscode:
  12248. description: 交割商品代码
  12249. type: string
  12250. dgoodsname:
  12251. description: 交割商品名称
  12252. type: string
  12253. goodscode:
  12254. description: 商品代码
  12255. type: string
  12256. goodsid:
  12257. description: 商品ID
  12258. type: integer
  12259. goodsname:
  12260. description: 商品名称
  12261. type: string
  12262. marketid:
  12263. description: 市场ID
  12264. type: integer
  12265. marketname:
  12266. description: 市场名称
  12267. type: string
  12268. moneyticket:
  12269. description: 资金流水号:银行端流水号
  12270. type: integer
  12271. operatetype:
  12272. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  12273. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  12274. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  12275. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  12276. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  12277. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  12278. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  12279. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  12280. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  12281. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  12282. type: integer
  12283. relationorderid:
  12284. description: 关联单号
  12285. type: string
  12286. remark:
  12287. description: 备注
  12288. type: string
  12289. trademode:
  12290. description: 交易模式
  12291. type: integer
  12292. required:
  12293. - accountid
  12294. - amount
  12295. - amountadjusttype
  12296. - autoid
  12297. - balance
  12298. - createtime
  12299. - currentbalance
  12300. - operatetype
  12301. type: object
  12302. taaccount.QueryHisAmountLogRsp:
  12303. properties:
  12304. OPERATETYPENAME:
  12305. description: 资金操作类型名称
  12306. type: string
  12307. accountid:
  12308. description: 资金账户ID
  12309. type: integer
  12310. agoodscode:
  12311. description: 竞拍商品代码
  12312. type: string
  12313. agoodsname:
  12314. description: 竞拍商品名称
  12315. type: string
  12316. amount:
  12317. description: 资金金额
  12318. type: number
  12319. amountadjusttype:
  12320. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  12321. type: integer
  12322. autoid:
  12323. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  12324. type: integer
  12325. balance:
  12326. description: 期初余额
  12327. type: number
  12328. businesscode:
  12329. description: 业务编号
  12330. type: integer
  12331. createtime:
  12332. description: 发生时间
  12333. type: string
  12334. currencyid:
  12335. description: 币种ID
  12336. type: integer
  12337. currentbalance:
  12338. description: 期末余额(变动后金额)
  12339. type: number
  12340. dgoodscode:
  12341. description: 交割商品代码
  12342. type: string
  12343. dgoodsname:
  12344. description: 交割商品名称
  12345. type: string
  12346. goodscode:
  12347. description: 商品代码
  12348. type: string
  12349. goodsid:
  12350. description: 商品ID
  12351. type: integer
  12352. goodsname:
  12353. description: 商品名称
  12354. type: string
  12355. histradedate:
  12356. description: 历史交易日
  12357. type: string
  12358. isvaliddata:
  12359. description: 是否有效 - 0:无效 1:有效
  12360. type: integer
  12361. marketid:
  12362. description: 市场ID
  12363. type: integer
  12364. marketname:
  12365. description: 市场名称
  12366. type: string
  12367. moneyticket:
  12368. description: 资金流水号:银行端流水号
  12369. type: integer
  12370. operatetype:
  12371. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  12372. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  12373. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  12374. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  12375. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  12376. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  12377. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  12378. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  12379. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  12380. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  12381. type: integer
  12382. relationorderid:
  12383. description: 关联单号
  12384. type: string
  12385. remark:
  12386. description: 备注
  12387. type: string
  12388. trademode:
  12389. description: 交易模式
  12390. type: integer
  12391. required:
  12392. - accountid
  12393. - amount
  12394. - amountadjusttype
  12395. - autoid
  12396. - balance
  12397. - createtime
  12398. - currentbalance
  12399. - histradedate
  12400. - operatetype
  12401. type: object
  12402. trade.QueryRecieptOrderRsp:
  12403. properties:
  12404. accountName:
  12405. description: 所属账号名称(已脱敏)
  12406. type: string
  12407. accountid:
  12408. description: 资金账号
  12409. type: integer
  12410. buyorsell:
  12411. description: 方向 - 0:买 1:卖
  12412. type: integer
  12413. enableqty:
  12414. description: 可摘数量
  12415. type: integer
  12416. goodscode:
  12417. description: 商品代码
  12418. type: string
  12419. goodsid:
  12420. description: 商品ID
  12421. type: integer
  12422. goodsname:
  12423. description: 商品名称
  12424. type: string
  12425. orderid:
  12426. description: 委托单号
  12427. type: string
  12428. orderprice:
  12429. description: 委托价格
  12430. type: number
  12431. ordertime:
  12432. description: 委托时间
  12433. type: string
  12434. tradedate:
  12435. description: 交易日(yyyyMMdd)
  12436. type: string
  12437. required:
  12438. - ordertime
  12439. type: object
  12440. user.LoginQueryRsp:
  12441. properties:
  12442. externalExchanges:
  12443. description: 外部交易所
  12444. items:
  12445. $ref: '#/definitions/models.Externalexchange'
  12446. type: array
  12447. goodsgroups:
  12448. description: 商品组
  12449. items:
  12450. $ref: '#/definitions/models.Goodsgroup'
  12451. type: array
  12452. loginAccount:
  12453. $ref: '#/definitions/models.Loginaccount'
  12454. description: 登录账号
  12455. type: object
  12456. markets:
  12457. description: 市场
  12458. items:
  12459. $ref: '#/definitions/models.Market'
  12460. type: array
  12461. systemParams:
  12462. description: 系统参数
  12463. items:
  12464. $ref: '#/definitions/models.Systemparam'
  12465. type: array
  12466. userAccount:
  12467. $ref: '#/definitions/models.Useraccount'
  12468. description: 用户账号
  12469. type: object
  12470. userInfo:
  12471. $ref: '#/definitions/models.Userinfo'
  12472. description: 用户信息
  12473. type: object
  12474. username:
  12475. description: 用户姓名
  12476. type: string
  12477. type: object
  12478. info:
  12479. contact: {}
  12480. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  12481. license: {}
  12482. termsOfService: http://muchinfo.cn
  12483. title: MTP2.0 查询服务 API
  12484. version: "1.0"
  12485. paths:
  12486. /CPTrade/QueryCPTradeMyBidInfos:
  12487. get:
  12488. parameters:
  12489. - description: 资金账户
  12490. in: query
  12491. name: accountid
  12492. required: true
  12493. type: integer
  12494. - description: 预售市场ID
  12495. in: query
  12496. name: marketid
  12497. type: integer
  12498. - description: 预售商品ID
  12499. in: query
  12500. name: goodsid
  12501. type: integer
  12502. produces:
  12503. - application/json
  12504. responses:
  12505. "200":
  12506. description: OK
  12507. schema:
  12508. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  12509. "500":
  12510. description: Internal Server Error
  12511. schema:
  12512. $ref: '#/definitions/app.Response'
  12513. security:
  12514. - ApiKeyAuth: []
  12515. summary: 查询产能预售我的出价信息
  12516. tags:
  12517. - 产能预售
  12518. /CPTrade/QueryCPTradeOrderDetail:
  12519. get:
  12520. parameters:
  12521. - description: 预售商品ID
  12522. in: query
  12523. name: goodsid
  12524. type: integer
  12525. - description: 预售市场ID
  12526. in: query
  12527. name: marketid
  12528. type: integer
  12529. - description: 预售商品ID列表 - 格式:1,2,3
  12530. in: query
  12531. name: goodsids
  12532. type: string
  12533. produces:
  12534. - application/json
  12535. responses:
  12536. "200":
  12537. description: OK
  12538. schema:
  12539. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  12540. "500":
  12541. description: Internal Server Error
  12542. schema:
  12543. $ref: '#/definitions/app.Response'
  12544. security:
  12545. - ApiKeyAuth: []
  12546. summary: 查询产能预售委托单信息
  12547. tags:
  12548. - 产能预售
  12549. /CPTrade/QueryMyCPTradeGoods:
  12550. get:
  12551. parameters:
  12552. - description: 资金账户
  12553. in: query
  12554. name: accountid
  12555. required: true
  12556. type: integer
  12557. produces:
  12558. - application/json
  12559. responses:
  12560. "200":
  12561. description: OK
  12562. schema:
  12563. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  12564. "500":
  12565. description: Internal Server Error
  12566. schema:
  12567. $ref: '#/definitions/app.Response'
  12568. security:
  12569. - ApiKeyAuth: []
  12570. summary: 查询我的预售信息
  12571. tags:
  12572. - 产能预售
  12573. /CPTrade/QueryPositionCancel:
  12574. get:
  12575. parameters:
  12576. - description: 账户ID
  12577. in: query
  12578. name: userid
  12579. required: true
  12580. type: integer
  12581. - description: 注销ID
  12582. in: query
  12583. name: cancelid
  12584. type: integer
  12585. - description: 资金账户ID
  12586. in: query
  12587. name: accountid
  12588. type: integer
  12589. produces:
  12590. - application/json
  12591. responses:
  12592. "200":
  12593. description: OK
  12594. schema:
  12595. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  12596. "500":
  12597. description: Internal Server Error
  12598. schema:
  12599. $ref: '#/definitions/app.Response'
  12600. security:
  12601. - ApiKeyAuth: []
  12602. summary: 查询远期订单注销申请信息
  12603. tags:
  12604. - 产能预售
  12605. /CPTrade/QueryPreasleApply:
  12606. get:
  12607. parameters:
  12608. - description: 账户ID
  12609. in: query
  12610. name: userid
  12611. required: true
  12612. type: integer
  12613. - description: 申请ID
  12614. in: query
  12615. name: applyid
  12616. type: integer
  12617. - description: 资金账户ID
  12618. in: query
  12619. name: accountid
  12620. type: integer
  12621. produces:
  12622. - application/json
  12623. responses:
  12624. "200":
  12625. description: OK
  12626. schema:
  12627. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  12628. "500":
  12629. description: Internal Server Error
  12630. schema:
  12631. $ref: '#/definitions/app.Response'
  12632. security:
  12633. - ApiKeyAuth: []
  12634. summary: 查询产能预售申请信息
  12635. tags:
  12636. - 产能预售
  12637. /CPTrade/QueryPresaleGoodsEx:
  12638. get:
  12639. parameters:
  12640. - description: 预售商品ID
  12641. in: query
  12642. name: goodsid
  12643. type: integer
  12644. - description: 预售市场ID
  12645. in: query
  12646. name: marketid
  12647. type: integer
  12648. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  12649. in: query
  12650. name: presalemode
  12651. type: integer
  12652. - description: 预售商品ID列表 - 格式:1,2,3
  12653. in: query
  12654. name: goodsids
  12655. type: string
  12656. - description: 预售商品代码
  12657. in: query
  12658. name: goodscode
  12659. type: string
  12660. produces:
  12661. - application/json
  12662. responses:
  12663. "200":
  12664. description: OK
  12665. schema:
  12666. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  12667. "500":
  12668. description: Internal Server Error
  12669. schema:
  12670. $ref: '#/definitions/app.Response'
  12671. security:
  12672. - ApiKeyAuth: []
  12673. summary: 查询产能预售商品扩展信息
  12674. tags:
  12675. - 产能预售
  12676. /CPTrade/QueryUserGoodsData:
  12677. get:
  12678. parameters:
  12679. - description: 资金账户ID
  12680. in: query
  12681. name: accountid
  12682. required: true
  12683. type: integer
  12684. produces:
  12685. - application/json
  12686. responses:
  12687. "200":
  12688. description: OK
  12689. schema:
  12690. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  12691. "500":
  12692. description: Internal Server Error
  12693. schema:
  12694. $ref: '#/definitions/app.Response'
  12695. security:
  12696. - ApiKeyAuth: []
  12697. summary: 查询远期订单信息
  12698. tags:
  12699. - 产能预售
  12700. /Common/GetAllEnums:
  12701. get:
  12702. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  12703. parameters:
  12704. - description: 起始自增ID
  12705. in: query
  12706. name: autoid
  12707. type: integer
  12708. produces:
  12709. - application/json
  12710. responses:
  12711. "200":
  12712. description: OK
  12713. schema:
  12714. $ref: '#/definitions/models.Enumdicitem'
  12715. "500":
  12716. description: Internal Server Error
  12717. schema:
  12718. $ref: '#/definitions/app.Response'
  12719. summary: 获取所有枚举信息
  12720. tags:
  12721. - 通用服务
  12722. /Common/GetClientMenus:
  12723. get:
  12724. parameters:
  12725. - description: 登录账号
  12726. in: query
  12727. name: loginID
  12728. required: true
  12729. type: integer
  12730. - description: 终端类型,0:PC 1:Mobile
  12731. in: query
  12732. name: clientType
  12733. type: integer
  12734. produces:
  12735. - application/json
  12736. responses:
  12737. "200":
  12738. description: OK
  12739. schema:
  12740. items:
  12741. $ref: '#/definitions/common.ClientMenu'
  12742. type: array
  12743. "500":
  12744. description: Internal Server Error
  12745. schema:
  12746. $ref: '#/definitions/app.Response'
  12747. security:
  12748. - ApiKeyAuth: []
  12749. summary: 获取交易端菜单
  12750. tags:
  12751. - 通用服务
  12752. /Common/GetDivisions:
  12753. get:
  12754. produces:
  12755. - application/json
  12756. responses:
  12757. "200":
  12758. description: OK
  12759. schema:
  12760. $ref: '#/definitions/models.Division'
  12761. "500":
  12762. description: Internal Server Error
  12763. schema:
  12764. $ref: '#/definitions/app.Response'
  12765. summary: 查询区域信息
  12766. tags:
  12767. - 通用服务
  12768. /Common/GetServerTime:
  12769. get:
  12770. produces:
  12771. - application/json
  12772. responses:
  12773. "200":
  12774. description: OK
  12775. schema:
  12776. $ref: '#/definitions/app.Response'
  12777. "500":
  12778. description: Internal Server Error
  12779. schema:
  12780. $ref: '#/definitions/app.Response'
  12781. summary: 获取服务器时间
  12782. tags:
  12783. - 通用服务
  12784. /Common/NoticeReaded:
  12785. post:
  12786. parameters:
  12787. - description: 登录账号
  12788. in: query
  12789. name: loginID
  12790. required: true
  12791. type: integer
  12792. - description: 通知公告ID
  12793. in: query
  12794. name: noticeID
  12795. required: true
  12796. type: integer
  12797. produces:
  12798. - application/json
  12799. responses:
  12800. "200":
  12801. description: OK
  12802. schema:
  12803. $ref: '#/definitions/app.Response'
  12804. "500":
  12805. description: Internal Server Error
  12806. schema:
  12807. $ref: '#/definitions/app.Response'
  12808. security:
  12809. - ApiKeyAuth: []
  12810. summary: 通知公告设置已读请求
  12811. tags:
  12812. - 通用服务
  12813. /Common/QueryErrorInfos:
  12814. get:
  12815. description: 如果传入rowNumber,则返回此rowNumber后的数据
  12816. parameters:
  12817. - description: 起始行号前索引
  12818. in: query
  12819. name: rowNumber
  12820. type: string
  12821. produces:
  12822. - application/json
  12823. responses:
  12824. "200":
  12825. description: OK
  12826. schema:
  12827. $ref: '#/definitions/models.QueryErrorInfosRsp'
  12828. "500":
  12829. description: Internal Server Error
  12830. schema:
  12831. $ref: '#/definitions/app.Response'
  12832. summary: 获取数据库错误信息
  12833. tags:
  12834. - 通用服务
  12835. /Common/QueryImageConfigs:
  12836. get:
  12837. parameters:
  12838. - description: 类型 - 1:App首页轮播 2:我的
  12839. in: query
  12840. name: imageType
  12841. type: integer
  12842. produces:
  12843. - application/json
  12844. responses:
  12845. "200":
  12846. description: OK
  12847. schema:
  12848. $ref: '#/definitions/common.QueryImageConfigsRsp'
  12849. "500":
  12850. description: Internal Server Error
  12851. schema:
  12852. $ref: '#/definitions/app.Response'
  12853. summary: 查询轮播图配置信息
  12854. tags:
  12855. - 通用服务
  12856. /Common/QueryNotice:
  12857. get:
  12858. parameters:
  12859. - description: 页码
  12860. in: query
  12861. name: page
  12862. type: integer
  12863. - description: 每页条数
  12864. in: query
  12865. name: pagesize
  12866. type: integer
  12867. - description: 登录账号
  12868. in: query
  12869. name: loginID
  12870. required: true
  12871. type: integer
  12872. - description: 消息类型 - 1:公告通知 2:系统消息
  12873. in: query
  12874. name: msgType
  12875. type: integer
  12876. - description: 是否只获取未读信息
  12877. in: query
  12878. name: onlyUnRead
  12879. type: boolean
  12880. - description: 自增ID,传入后会返回这个ID后面的记录
  12881. in: query
  12882. name: lastID
  12883. type: integer
  12884. produces:
  12885. - application/json
  12886. responses:
  12887. "200":
  12888. description: OK
  12889. schema:
  12890. $ref: '#/definitions/common.QueryNoticeRsp'
  12891. "500":
  12892. description: Internal Server Error
  12893. schema:
  12894. $ref: '#/definitions/app.Response'
  12895. security:
  12896. - ApiKeyAuth: []
  12897. summary: 通知公告系统消息查询
  12898. tags:
  12899. - 通用服务
  12900. /Common/QueryProvincesAndCities:
  12901. get:
  12902. parameters:
  12903. - description: 省ID
  12904. in: query
  12905. name: provinceID
  12906. type: integer
  12907. produces:
  12908. - application/json
  12909. responses:
  12910. "200":
  12911. description: OK
  12912. schema:
  12913. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  12914. "500":
  12915. description: Internal Server Error
  12916. schema:
  12917. $ref: '#/definitions/app.Response'
  12918. summary: 查询省市信息(不包括区)
  12919. tags:
  12920. - 通用服务
  12921. /Common/QueryTableDefine:
  12922. get:
  12923. parameters:
  12924. - description: 表key
  12925. in: query
  12926. name: tableKey
  12927. type: string
  12928. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  12929. in: query
  12930. name: tableType
  12931. type: integer
  12932. produces:
  12933. - application/json
  12934. responses:
  12935. "200":
  12936. description: OK
  12937. schema:
  12938. $ref: '#/definitions/common.QueryTableDefineRsp'
  12939. "500":
  12940. description: Internal Server Error
  12941. schema:
  12942. $ref: '#/definitions/app.Response'
  12943. summary: 查询交易端列表头信息
  12944. tags:
  12945. - 通用服务
  12946. /Common/QueryTraderMenu:
  12947. get:
  12948. parameters:
  12949. - description: 登录账号
  12950. in: query
  12951. name: loginid
  12952. required: true
  12953. type: integer
  12954. produces:
  12955. - application/json
  12956. responses:
  12957. "200":
  12958. description: OK
  12959. schema:
  12960. $ref: '#/definitions/common.QueryTraderMenuRsp'
  12961. "500":
  12962. description: Internal Server Error
  12963. schema:
  12964. $ref: '#/definitions/app.Response'
  12965. summary: 查询交易端菜单
  12966. tags:
  12967. - 通用服务
  12968. /Delivery/QueryDeliveryRelation:
  12969. get:
  12970. parameters:
  12971. - description: 商品ID
  12972. in: query
  12973. name: goodsid
  12974. type: integer
  12975. - description: 品种ID
  12976. in: query
  12977. name: deliverygoodsid
  12978. type: integer
  12979. - description: 市场ID
  12980. in: query
  12981. name: marketid
  12982. type: integer
  12983. produces:
  12984. - application/json
  12985. responses:
  12986. "200":
  12987. description: OK
  12988. schema:
  12989. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  12990. "500":
  12991. description: Internal Server Error
  12992. schema:
  12993. $ref: '#/definitions/app.Response'
  12994. security:
  12995. - ApiKeyAuth: []
  12996. summary: 查询商品交割关系表
  12997. tags:
  12998. - 交割服务
  12999. /Ermcp/GetErmcpGoods:
  13000. get:
  13001. parameters:
  13002. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  13003. in: query
  13004. name: lastUpdateTime
  13005. type: string
  13006. produces:
  13007. - application/json
  13008. responses:
  13009. "200":
  13010. description: OK
  13011. schema:
  13012. $ref: '#/definitions/models.Goods'
  13013. "500":
  13014. description: Internal Server Error
  13015. schema:
  13016. $ref: '#/definitions/app.Response'
  13017. security:
  13018. - ApiKeyAuth: []
  13019. summary: 查询企业风管期货商品信息
  13020. tags:
  13021. - 企业风险管理(app)
  13022. /Ermcp/GetErmcpGoodsSortByPosition:
  13023. get:
  13024. parameters:
  13025. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  13026. in: query
  13027. name: sortIndex
  13028. type: string
  13029. produces:
  13030. - application/json
  13031. responses:
  13032. "200":
  13033. description: OK
  13034. schema:
  13035. $ref: '#/definitions/models.Goodssortbypreposition'
  13036. "500":
  13037. description: Internal Server Error
  13038. schema:
  13039. $ref: '#/definitions/app.Response'
  13040. security:
  13041. - ApiKeyAuth: []
  13042. summary: 查询企业风管期货主力、次主力商品信息
  13043. tags:
  13044. - 企业风险管理(app)
  13045. /Ermcp/GetErmcpOutAccountStatus:
  13046. get:
  13047. parameters:
  13048. - description: 登录账号
  13049. in: query
  13050. name: loginID
  13051. required: true
  13052. type: integer
  13053. produces:
  13054. - application/json
  13055. responses:
  13056. "200":
  13057. description: OK
  13058. schema:
  13059. $ref: '#/definitions/models.Hedgemarketopenlog'
  13060. "500":
  13061. description: Internal Server Error
  13062. schema:
  13063. $ref: '#/definitions/app.Response'
  13064. security:
  13065. - ApiKeyAuth: []
  13066. summary: 获取目标登录账号当前对冲账号在线状态
  13067. tags:
  13068. - 企业风险管理(app)
  13069. /Ermcp/GetErmcpRoleFuncMenuLists:
  13070. get:
  13071. parameters:
  13072. - description: 登录账号
  13073. in: query
  13074. name: loginID
  13075. required: true
  13076. type: integer
  13077. produces:
  13078. - application/json
  13079. responses:
  13080. "200":
  13081. description: OK
  13082. schema:
  13083. $ref: '#/definitions/models.Funcmenulist'
  13084. "500":
  13085. description: Internal Server Error
  13086. schema:
  13087. $ref: '#/definitions/app.Response'
  13088. security:
  13089. - ApiKeyAuth: []
  13090. summary: 获取企业风管终端权限
  13091. tags:
  13092. - 企业风险管理(app)
  13093. /Ermcp/QryReportAreaSpotPL:
  13094. get:
  13095. parameters:
  13096. - description: 用户ID
  13097. in: query
  13098. name: userid
  13099. required: true
  13100. type: integer
  13101. - description: 查询类型 1-日报表 2-月报表
  13102. in: query
  13103. name: querytype
  13104. required: true
  13105. type: integer
  13106. - description: 查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)
  13107. in: query
  13108. name: querydate
  13109. required: true
  13110. type: string
  13111. - description: 现货商品ID
  13112. in: query
  13113. name: wrstandardid
  13114. type: integer
  13115. - description: 品牌ID
  13116. in: query
  13117. name: spotgoodsbrandid
  13118. type: integer
  13119. - description: 型号ID
  13120. in: query
  13121. name: spotgoodsmodelid
  13122. type: integer
  13123. produces:
  13124. - application/json
  13125. responses:
  13126. "200":
  13127. description: OK
  13128. schema:
  13129. items:
  13130. $ref: '#/definitions/models.ErmcpReportAreaSpotPL'
  13131. type: array
  13132. "500":
  13133. description: Internal Server Error
  13134. schema:
  13135. $ref: '#/definitions/app.Response'
  13136. security:
  13137. - ApiKeyAuth: []
  13138. summary: 查询现货损益报表(现货损益报表)
  13139. tags:
  13140. - 企业风险管理(app)
  13141. /Ermcp/QryReportDayExposure:
  13142. get:
  13143. parameters:
  13144. - description: 用户ID
  13145. in: query
  13146. name: userid
  13147. required: true
  13148. type: integer
  13149. - description: 交易日(格式:yyyyMMdd)
  13150. in: query
  13151. name: tradedate
  13152. required: true
  13153. type: string
  13154. produces:
  13155. - application/json
  13156. responses:
  13157. "200":
  13158. description: OK
  13159. schema:
  13160. items:
  13161. $ref: '#/definitions/ermcp.QryReportExposureDayRsp'
  13162. type: array
  13163. "500":
  13164. description: Internal Server Error
  13165. schema:
  13166. $ref: '#/definitions/app.Response'
  13167. security:
  13168. - ApiKeyAuth: []
  13169. summary: 查询敞口日报表(菜单:报表查询/敞口报表/敞口日报表)
  13170. tags:
  13171. - 企业风险管理(app)
  13172. /Ermcp/QryReportDayFinance:
  13173. get:
  13174. parameters:
  13175. - description: 用户ID
  13176. in: query
  13177. name: userid
  13178. required: true
  13179. type: integer
  13180. - description: 交易日(格式:yyyyMMdd)
  13181. in: query
  13182. name: tradedate
  13183. required: true
  13184. type: string
  13185. produces:
  13186. - application/json
  13187. responses:
  13188. "200":
  13189. description: OK
  13190. schema:
  13191. items:
  13192. $ref: '#/definitions/ermcp.QryReportFinanceDayRsp'
  13193. type: array
  13194. "500":
  13195. description: Internal Server Error
  13196. schema:
  13197. $ref: '#/definitions/app.Response'
  13198. security:
  13199. - ApiKeyAuth: []
  13200. summary: 查询财务日报表(菜单:报表查询/财务报表/日报表)
  13201. tags:
  13202. - 企业风险管理(app)
  13203. /Ermcp/QryReportDayFinanceFp:
  13204. get:
  13205. parameters:
  13206. - description: 用户ID
  13207. in: query
  13208. name: userid
  13209. required: true
  13210. type: integer
  13211. - description: 交易日(格式:yyyyMMdd)
  13212. in: query
  13213. name: tradedate
  13214. required: true
  13215. type: string
  13216. produces:
  13217. - application/json
  13218. responses:
  13219. "200":
  13220. description: OK
  13221. schema:
  13222. items:
  13223. $ref: '#/definitions/ermcp.QryReportFinanceKxRsp'
  13224. type: array
  13225. "500":
  13226. description: Internal Server Error
  13227. schema:
  13228. $ref: '#/definitions/app.Response'
  13229. security:
  13230. - ApiKeyAuth: []
  13231. summary: 查询财务日报表发票(菜单:报表查询/财务报表/日报表/发票)
  13232. tags:
  13233. - 企业风险管理(app)
  13234. /Ermcp/QryReportDayFinanceKx:
  13235. get:
  13236. parameters:
  13237. - description: 用户ID
  13238. in: query
  13239. name: userid
  13240. required: true
  13241. type: integer
  13242. - description: 交易日(格式:yyyyMMdd)
  13243. in: query
  13244. name: tradedate
  13245. required: true
  13246. type: string
  13247. produces:
  13248. - application/json
  13249. responses:
  13250. "200":
  13251. description: OK
  13252. schema:
  13253. items:
  13254. $ref: '#/definitions/ermcp.QryReportFinanceKxRsp'
  13255. type: array
  13256. "500":
  13257. description: Internal Server Error
  13258. schema:
  13259. $ref: '#/definitions/app.Response'
  13260. security:
  13261. - ApiKeyAuth: []
  13262. summary: 查询财务日报表款项(菜单:报表查询/财务报表/日报表/款项)
  13263. tags:
  13264. - 企业风险管理(app)
  13265. /Ermcp/QryReportDaySpot:
  13266. get:
  13267. parameters:
  13268. - description: 用户ID
  13269. in: query
  13270. name: userid
  13271. required: true
  13272. type: integer
  13273. - description: 交易日(格式:yyyyMMdd)
  13274. in: query
  13275. name: tradedate
  13276. required: true
  13277. type: string
  13278. produces:
  13279. - application/json
  13280. responses:
  13281. "200":
  13282. description: OK
  13283. schema:
  13284. items:
  13285. $ref: '#/definitions/ermcp.QryReportSpotDayRsp'
  13286. type: array
  13287. "500":
  13288. description: Internal Server Error
  13289. schema:
  13290. $ref: '#/definitions/app.Response'
  13291. security:
  13292. - ApiKeyAuth: []
  13293. summary: 查询现货日报表(菜单:报表查询/现货报表/现货日报表)
  13294. tags:
  13295. - 企业风险管理(app)
  13296. /Ermcp/QryReportDaySpotDetail:
  13297. get:
  13298. parameters:
  13299. - description: 用户ID
  13300. in: query
  13301. name: userid
  13302. required: true
  13303. type: integer
  13304. - description: 现货商品id
  13305. in: query
  13306. name: wrstandardid
  13307. required: true
  13308. type: integer
  13309. - description: 交易日(格式:yyyyMMdd)
  13310. in: query
  13311. name: tradedate
  13312. required: true
  13313. type: string
  13314. produces:
  13315. - application/json
  13316. responses:
  13317. "200":
  13318. description: OK
  13319. schema:
  13320. items:
  13321. $ref: '#/definitions/ermcp.QryReportDaySpotDetailRsp'
  13322. type: array
  13323. "500":
  13324. description: Internal Server Error
  13325. schema:
  13326. $ref: '#/definitions/app.Response'
  13327. security:
  13328. - ApiKeyAuth: []
  13329. summary: 查询现货日报表详情(菜单:报表查询/现货报表/现货日报表详情)
  13330. tags:
  13331. - 企业风险管理(app)
  13332. /Ermcp/QryReportMonthFinance:
  13333. get:
  13334. parameters:
  13335. - description: 用户ID
  13336. in: query
  13337. name: userid
  13338. required: true
  13339. type: integer
  13340. - description: 周期时间:月(格式:yyyyMM)
  13341. in: query
  13342. name: cycletime
  13343. required: true
  13344. type: string
  13345. produces:
  13346. - application/json
  13347. responses:
  13348. "200":
  13349. description: OK
  13350. schema:
  13351. items:
  13352. $ref: '#/definitions/ermcp.QryReportFinanceMonRsp'
  13353. type: array
  13354. "500":
  13355. description: Internal Server Error
  13356. schema:
  13357. $ref: '#/definitions/app.Response'
  13358. security:
  13359. - ApiKeyAuth: []
  13360. summary: 查询财务月报表(菜单:报表查询/财务报表/月报表)
  13361. tags:
  13362. - 企业风险管理(app)
  13363. /Ermcp/QryReportMonthSpot:
  13364. get:
  13365. parameters:
  13366. - description: 用户ID
  13367. in: query
  13368. name: userid
  13369. required: true
  13370. type: integer
  13371. - description: 周期时间:月(格式:yyyyMM)
  13372. in: query
  13373. name: cycletime
  13374. required: true
  13375. type: string
  13376. produces:
  13377. - application/json
  13378. responses:
  13379. "200":
  13380. description: OK
  13381. schema:
  13382. items:
  13383. $ref: '#/definitions/ermcp.QryReportSpotMonRsp'
  13384. type: array
  13385. "500":
  13386. description: Internal Server Error
  13387. schema:
  13388. $ref: '#/definitions/app.Response'
  13389. security:
  13390. - ApiKeyAuth: []
  13391. summary: 查询现货月报表(菜单:报表查询/现货报表/现货月报表)
  13392. tags:
  13393. - 企业风险管理(app)
  13394. /Ermcp/QryReportMonthSpotDetail:
  13395. get:
  13396. parameters:
  13397. - description: 用户ID
  13398. in: query
  13399. name: userid
  13400. required: true
  13401. type: integer
  13402. - description: 现货商品id
  13403. in: query
  13404. name: wrstandardid
  13405. required: true
  13406. type: integer
  13407. - description: 周期时间:月(格式:yyyyMM)
  13408. in: query
  13409. name: cycletime
  13410. required: true
  13411. type: string
  13412. produces:
  13413. - application/json
  13414. responses:
  13415. "200":
  13416. description: OK
  13417. schema:
  13418. items:
  13419. $ref: '#/definitions/ermcp.QryReportSpotMonthDetailRsp'
  13420. type: array
  13421. "500":
  13422. description: Internal Server Error
  13423. schema:
  13424. $ref: '#/definitions/app.Response'
  13425. security:
  13426. - ApiKeyAuth: []
  13427. summary: 查询现货月报表详情(菜单:报表查询/现货月报表/现货月报表详情)
  13428. tags:
  13429. - 企业风险管理(app)
  13430. /Ermcp/QueryAccMgrBizGroupSet:
  13431. get:
  13432. parameters:
  13433. - description: 用户ID
  13434. in: query
  13435. name: userid
  13436. required: true
  13437. type: integer
  13438. - description: 现货商品id
  13439. in: query
  13440. name: deliverygoodsid
  13441. type: integer
  13442. produces:
  13443. - application/json
  13444. responses:
  13445. "200":
  13446. description: OK
  13447. schema:
  13448. items:
  13449. $ref: '#/definitions/models.ErmcpBizGroupEx'
  13450. type: array
  13451. "500":
  13452. description: Internal Server Error
  13453. schema:
  13454. $ref: '#/definitions/app.Response'
  13455. security:
  13456. - ApiKeyAuth: []
  13457. summary: 查询业务类型分组(账户管理/账户设置)
  13458. tags:
  13459. - 企业风险管理(app)
  13460. /Ermcp/QueryAccMgrLoginUser:
  13461. get:
  13462. parameters:
  13463. - description: 用户ID
  13464. in: query
  13465. name: userid
  13466. required: true
  13467. type: integer
  13468. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  13469. in: query
  13470. name: querytype
  13471. required: true
  13472. type: integer
  13473. produces:
  13474. - application/json
  13475. responses:
  13476. "200":
  13477. description: OK
  13478. schema:
  13479. items:
  13480. $ref: '#/definitions/models.ErmcpLoginUserEx'
  13481. type: array
  13482. "500":
  13483. description: Internal Server Error
  13484. schema:
  13485. $ref: '#/definitions/app.Response'
  13486. security:
  13487. - ApiKeyAuth: []
  13488. summary: 查询账户管理登录账号(账户管理/登录账号)
  13489. tags:
  13490. - 企业风险管理(app)
  13491. /Ermcp/QueryAccMgrMainAccountInfo:
  13492. get:
  13493. parameters:
  13494. - description: 用户ID
  13495. in: query
  13496. name: userid
  13497. type: integer
  13498. - description: 主账号id
  13499. in: query
  13500. name: accountid
  13501. type: integer
  13502. produces:
  13503. - application/json
  13504. responses:
  13505. "200":
  13506. description: OK
  13507. schema:
  13508. items:
  13509. $ref: '#/definitions/models.MainAccountInfo'
  13510. type: array
  13511. "500":
  13512. description: Internal Server Error
  13513. schema:
  13514. $ref: '#/definitions/app.Response'
  13515. security:
  13516. - ApiKeyAuth: []
  13517. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  13518. tags:
  13519. - 企业风险管理(app)
  13520. /Ermcp/QueryAccMgrRole:
  13521. get:
  13522. parameters:
  13523. - description: 用户ID
  13524. in: query
  13525. name: userid
  13526. required: true
  13527. type: integer
  13528. produces:
  13529. - application/json
  13530. responses:
  13531. "200":
  13532. description: OK
  13533. schema:
  13534. items:
  13535. $ref: '#/definitions/models.ErmcpRole'
  13536. type: array
  13537. "500":
  13538. description: Internal Server Error
  13539. schema:
  13540. $ref: '#/definitions/app.Response'
  13541. security:
  13542. - ApiKeyAuth: []
  13543. summary: 查询账户管理角色设置(账户管理/角色设置)
  13544. tags:
  13545. - 企业风险管理(app)
  13546. /Ermcp/QueryAccMgrRoleMenu:
  13547. get:
  13548. parameters:
  13549. - description: 用户ID
  13550. in: query
  13551. name: userid
  13552. required: true
  13553. type: integer
  13554. - description: 角色id(可多个,逗号隔开)
  13555. in: query
  13556. name: roleid
  13557. type: string
  13558. produces:
  13559. - application/json
  13560. responses:
  13561. "200":
  13562. description: OK
  13563. schema:
  13564. items:
  13565. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  13566. type: array
  13567. "500":
  13568. description: Internal Server Error
  13569. schema:
  13570. $ref: '#/definitions/app.Response'
  13571. security:
  13572. - ApiKeyAuth: []
  13573. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  13574. tags:
  13575. - 企业风险管理(app)
  13576. /Ermcp/QueryAccMgrTaAccountInfo:
  13577. get:
  13578. parameters:
  13579. - description: 用户ID
  13580. in: query
  13581. name: userid
  13582. required: true
  13583. type: integer
  13584. - description: 账号id
  13585. in: query
  13586. name: accountid
  13587. type: integer
  13588. produces:
  13589. - application/json
  13590. responses:
  13591. "200":
  13592. description: OK
  13593. schema:
  13594. items:
  13595. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  13596. type: array
  13597. "500":
  13598. description: Internal Server Error
  13599. schema:
  13600. $ref: '#/definitions/app.Response'
  13601. security:
  13602. - ApiKeyAuth: []
  13603. summary: 查询账户管理授信(账户管理/账户设置/授信)
  13604. tags:
  13605. - 企业风险管理(app)
  13606. /Ermcp/QueryAccMgrTaaccount:
  13607. get:
  13608. parameters:
  13609. - description: 用户ID
  13610. in: query
  13611. name: userid
  13612. required: true
  13613. type: integer
  13614. produces:
  13615. - application/json
  13616. responses:
  13617. "200":
  13618. description: OK
  13619. schema:
  13620. items:
  13621. $ref: '#/definitions/models.ErmcpTaAccountEx'
  13622. type: array
  13623. "500":
  13624. description: Internal Server Error
  13625. schema:
  13626. $ref: '#/definitions/app.Response'
  13627. security:
  13628. - ApiKeyAuth: []
  13629. summary: 查询账户管理期货账号(账户管理/期货账号)
  13630. tags:
  13631. - 企业风险管理(app)
  13632. /Ermcp/QueryAreaStock:
  13633. get:
  13634. parameters:
  13635. - description: 用户ID
  13636. in: query
  13637. name: userid
  13638. required: true
  13639. type: integer
  13640. produces:
  13641. - application/json
  13642. responses:
  13643. "200":
  13644. description: OK
  13645. schema:
  13646. items:
  13647. $ref: '#/definitions/models.ErmcpAreaStock'
  13648. type: array
  13649. "500":
  13650. description: Internal Server Error
  13651. schema:
  13652. $ref: '#/definitions/app.Response'
  13653. security:
  13654. - ApiKeyAuth: []
  13655. summary: 查询机构库存(库存管理/当前库存)
  13656. tags:
  13657. - 企业风险管理(app)
  13658. /Ermcp/QueryAreaStockApply:
  13659. get:
  13660. parameters:
  13661. - description: 用户ID
  13662. in: query
  13663. name: userid
  13664. required: true
  13665. type: integer
  13666. - description: 出入库类型(可多项,逗号隔开) 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  13667. in: query
  13668. name: inouttype
  13669. type: string
  13670. - description: 合同ID
  13671. in: query
  13672. name: spotcontractid
  13673. type: integer
  13674. - description: 现货商品ID
  13675. in: query
  13676. name: wrstandardid
  13677. type: integer
  13678. - description: 品牌ID
  13679. in: query
  13680. name: spotgoodsbrandid
  13681. type: integer
  13682. - description: 型号ID
  13683. in: query
  13684. name: spotgoodsmodelid
  13685. type: integer
  13686. - description: 仓库ID
  13687. in: query
  13688. name: warehouseinfoid
  13689. type: integer
  13690. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13691. in: query
  13692. name: applystatus
  13693. type: string
  13694. produces:
  13695. - application/json
  13696. responses:
  13697. "200":
  13698. description: OK
  13699. schema:
  13700. items:
  13701. $ref: '#/definitions/ermcp.QryAreaStockApplyRsp'
  13702. type: array
  13703. "500":
  13704. description: Internal Server Error
  13705. schema:
  13706. $ref: '#/definitions/app.Response'
  13707. security:
  13708. - ApiKeyAuth: []
  13709. summary: 查询库存申请(出入库记录|库存审核)
  13710. tags:
  13711. - 企业风险管理(app)
  13712. /Ermcp/QueryAreaStockApplySum:
  13713. get:
  13714. parameters:
  13715. - description: 合同ID
  13716. in: query
  13717. name: spotcontractid
  13718. type: integer
  13719. produces:
  13720. - application/json
  13721. responses:
  13722. "200":
  13723. description: OK
  13724. schema:
  13725. items:
  13726. $ref: '#/definitions/ermcp.QueryAreaStockApplySumRsp'
  13727. type: array
  13728. "500":
  13729. description: Internal Server Error
  13730. schema:
  13731. $ref: '#/definitions/app.Response'
  13732. security:
  13733. - ApiKeyAuth: []
  13734. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  13735. tags:
  13736. - 企业风险管理(app)
  13737. /Ermcp/QueryAreaStockReport:
  13738. get:
  13739. parameters:
  13740. - description: 用户ID
  13741. in: query
  13742. name: userid
  13743. required: true
  13744. type: integer
  13745. - description: 查询类型 1-日报表 2-月报表
  13746. in: query
  13747. name: querytype
  13748. required: true
  13749. type: integer
  13750. - description: 查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)
  13751. in: query
  13752. name: querydate
  13753. required: true
  13754. type: string
  13755. - description: 现货商品ID
  13756. in: query
  13757. name: wrstandardid
  13758. type: integer
  13759. - description: 品牌ID
  13760. in: query
  13761. name: spotgoodsbrandid
  13762. type: integer
  13763. - description: 型号ID
  13764. in: query
  13765. name: spotgoodsmodelid
  13766. type: integer
  13767. - description: 仓库ID
  13768. in: query
  13769. name: warehouseinfoid
  13770. type: integer
  13771. produces:
  13772. - application/json
  13773. responses:
  13774. "200":
  13775. description: OK
  13776. schema:
  13777. items:
  13778. $ref: '#/definitions/models.ErmcpAreaStockReport'
  13779. type: array
  13780. "500":
  13781. description: Internal Server Error
  13782. schema:
  13783. $ref: '#/definitions/app.Response'
  13784. security:
  13785. - ApiKeyAuth: []
  13786. summary: 查询库存报表
  13787. tags:
  13788. - 企业风险管理(app)
  13789. /Ermcp/QueryAreaStockReportDetail:
  13790. get:
  13791. parameters:
  13792. - description: 用户ID
  13793. in: query
  13794. name: userid
  13795. required: true
  13796. type: integer
  13797. - description: 查询类型 1-日报表明细 2-月报表明细
  13798. in: query
  13799. name: querytype
  13800. required: true
  13801. type: integer
  13802. - description: 明细类型 1:入库明细(采购入库+生产入库) 2:出库明细(销售出库+生产出库)
  13803. in: query
  13804. name: detailtype
  13805. required: true
  13806. type: integer
  13807. - description: 查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)
  13808. in: query
  13809. name: querydate
  13810. required: true
  13811. type: string
  13812. - description: 现货商品ID
  13813. in: query
  13814. name: wrstandardid
  13815. type: integer
  13816. - description: 品牌ID
  13817. in: query
  13818. name: spotgoodsbrandid
  13819. type: integer
  13820. - description: 型号ID
  13821. in: query
  13822. name: spotgoodsmodelid
  13823. type: integer
  13824. - description: 仓库ID
  13825. in: query
  13826. name: warehouseinfoid
  13827. type: integer
  13828. produces:
  13829. - application/json
  13830. responses:
  13831. "200":
  13832. description: OK
  13833. schema:
  13834. items:
  13835. $ref: '#/definitions/models.ErmcpAreaStockApply'
  13836. type: array
  13837. "500":
  13838. description: Internal Server Error
  13839. schema:
  13840. $ref: '#/definitions/app.Response'
  13841. security:
  13842. - ApiKeyAuth: []
  13843. summary: 查询库存报表明细
  13844. tags:
  13845. - 企业风险管理(app)
  13846. /Ermcp/QueryAvaildGoodsGroup:
  13847. get:
  13848. parameters:
  13849. - description: 所属机构ID
  13850. in: query
  13851. name: userid
  13852. required: true
  13853. type: integer
  13854. produces:
  13855. - application/json
  13856. responses:
  13857. "200":
  13858. description: OK
  13859. schema:
  13860. items:
  13861. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  13862. type: array
  13863. "500":
  13864. description: Internal Server Error
  13865. schema:
  13866. $ref: '#/definitions/app.Response'
  13867. security:
  13868. - ApiKeyAuth: []
  13869. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  13870. tags:
  13871. - 企业风险管理(app)
  13872. /Ermcp/QueryBusinessDj:
  13873. get:
  13874. parameters:
  13875. - description: 用户ID
  13876. in: query
  13877. name: UserId
  13878. required: true
  13879. type: integer
  13880. - description: 现货合同ID, 不填则查所有
  13881. in: query
  13882. name: relatedid
  13883. type: string
  13884. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13885. in: query
  13886. name: applystatus
  13887. type: string
  13888. produces:
  13889. - application/json
  13890. responses:
  13891. "200":
  13892. description: OK
  13893. schema:
  13894. items:
  13895. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  13896. type: array
  13897. "500":
  13898. description: Internal Server Error
  13899. schema:
  13900. $ref: '#/definitions/app.Response'
  13901. security:
  13902. - ApiKeyAuth: []
  13903. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  13904. tags:
  13905. - 企业风险管理(app)
  13906. /Ermcp/QueryBusinessFp:
  13907. get:
  13908. parameters:
  13909. - description: 用户ID
  13910. in: query
  13911. name: UserId
  13912. required: true
  13913. type: integer
  13914. - description: 现货合同ID, 不填则查所有
  13915. in: query
  13916. name: relatedid
  13917. type: string
  13918. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13919. in: query
  13920. name: applystatus
  13921. type: string
  13922. produces:
  13923. - application/json
  13924. responses:
  13925. "200":
  13926. description: OK
  13927. schema:
  13928. items:
  13929. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  13930. type: array
  13931. "500":
  13932. description: Internal Server Error
  13933. schema:
  13934. $ref: '#/definitions/app.Response'
  13935. security:
  13936. - ApiKeyAuth: []
  13937. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  13938. tags:
  13939. - 企业风险管理(app)
  13940. /Ermcp/QueryBusinessJs:
  13941. get:
  13942. parameters:
  13943. - description: 用户ID
  13944. in: query
  13945. name: UserId
  13946. required: true
  13947. type: integer
  13948. - description: 现货合同ID, 不填则查所有
  13949. in: query
  13950. name: relatedid
  13951. type: string
  13952. - description: 操作申请id
  13953. in: query
  13954. name: operateapplyid
  13955. type: string
  13956. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13957. in: query
  13958. name: applystatus
  13959. type: string
  13960. produces:
  13961. - application/json
  13962. responses:
  13963. "200":
  13964. description: OK
  13965. schema:
  13966. items:
  13967. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  13968. type: array
  13969. "500":
  13970. description: Internal Server Error
  13971. schema:
  13972. $ref: '#/definitions/app.Response'
  13973. security:
  13974. - ApiKeyAuth: []
  13975. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  13976. tags:
  13977. - 企业风险管理(app)
  13978. /Ermcp/QueryBusinessJsEx:
  13979. get:
  13980. parameters:
  13981. - description: 用户ID
  13982. in: query
  13983. name: UserId
  13984. required: true
  13985. type: integer
  13986. - description: 现货合同ID, 不填则查所有
  13987. in: query
  13988. name: relatedid
  13989. type: string
  13990. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13991. in: query
  13992. name: applystatus
  13993. type: string
  13994. produces:
  13995. - application/json
  13996. responses:
  13997. "200":
  13998. description: OK
  13999. schema:
  14000. items:
  14001. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  14002. type: array
  14003. "500":
  14004. description: Internal Server Error
  14005. schema:
  14006. $ref: '#/definitions/app.Response'
  14007. security:
  14008. - ApiKeyAuth: []
  14009. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  14010. tags:
  14011. - 企业风险管理(app)
  14012. /Ermcp/QueryBusinessKx:
  14013. get:
  14014. parameters:
  14015. - description: 用户ID
  14016. in: query
  14017. name: UserId
  14018. required: true
  14019. type: integer
  14020. - description: 现货合同ID, 不填则查所有
  14021. in: query
  14022. name: relatedid
  14023. type: string
  14024. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  14025. in: query
  14026. name: applystatus
  14027. type: string
  14028. produces:
  14029. - application/json
  14030. responses:
  14031. "200":
  14032. description: OK
  14033. schema:
  14034. items:
  14035. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  14036. type: array
  14037. "500":
  14038. description: Internal Server Error
  14039. schema:
  14040. $ref: '#/definitions/app.Response'
  14041. security:
  14042. - ApiKeyAuth: []
  14043. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  14044. tags:
  14045. - 企业风险管理(app)
  14046. /Ermcp/QueryChangeLog:
  14047. get:
  14048. parameters:
  14049. - description: 合同ID
  14050. in: query
  14051. name: RelatedId
  14052. required: true
  14053. type: string
  14054. produces:
  14055. - application/json
  14056. responses:
  14057. "200":
  14058. description: OK
  14059. schema:
  14060. items:
  14061. $ref: '#/definitions/ermcp.QryOPLogRsp'
  14062. type: array
  14063. "500":
  14064. description: Internal Server Error
  14065. schema:
  14066. $ref: '#/definitions/app.Response'
  14067. security:
  14068. - ApiKeyAuth: []
  14069. summary: 查询变更记录
  14070. tags:
  14071. - 企业风险管理(app)
  14072. /Ermcp/QueryContract:
  14073. get:
  14074. parameters:
  14075. - description: 用户ID
  14076. in: query
  14077. name: userId
  14078. required: true
  14079. type: integer
  14080. - description: 合同类型 1-采购, -1-销售
  14081. in: query
  14082. name: contracttype
  14083. required: true
  14084. type: integer
  14085. - description: 查询类型 1-全部 2-待点价 3-履约结算
  14086. in: query
  14087. name: querytype
  14088. required: true
  14089. type: integer
  14090. - description: 合同ID(SpotContractId)
  14091. in: query
  14092. name: contractid
  14093. type: string
  14094. produces:
  14095. - application/json
  14096. responses:
  14097. "200":
  14098. description: OK
  14099. schema:
  14100. items:
  14101. $ref: '#/definitions/ermcp.QryErmcpRsp'
  14102. type: array
  14103. "500":
  14104. description: Internal Server Error
  14105. schema:
  14106. $ref: '#/definitions/app.Response'
  14107. security:
  14108. - ApiKeyAuth: []
  14109. summary: 查询合同(采购和销售)
  14110. tags:
  14111. - 企业风险管理(app)
  14112. /Ermcp/QueryErmcpHisOrderDetails:
  14113. get:
  14114. parameters:
  14115. - description: 资金账户ID
  14116. in: query
  14117. name: accountID
  14118. required: true
  14119. type: integer
  14120. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  14121. in: query
  14122. name: startDate
  14123. type: string
  14124. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  14125. in: query
  14126. name: endDate
  14127. type: string
  14128. produces:
  14129. - application/json
  14130. responses:
  14131. "200":
  14132. description: OK
  14133. schema:
  14134. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  14135. "500":
  14136. description: Internal Server Error
  14137. schema:
  14138. $ref: '#/definitions/app.Response'
  14139. security:
  14140. - ApiKeyAuth: []
  14141. summary: 获取企业风管期货历史委托单信息
  14142. tags:
  14143. - 企业风险管理(app)
  14144. /Ermcp/QueryErmcpHisTradeDetails:
  14145. get:
  14146. parameters:
  14147. - description: 资金账户ID
  14148. in: query
  14149. name: accountID
  14150. required: true
  14151. type: integer
  14152. - description: 商品ID
  14153. in: query
  14154. name: goodsID
  14155. type: integer
  14156. - description: 买卖方向,0:买 1:卖
  14157. in: query
  14158. name: buyOrSell
  14159. type: integer
  14160. - description: 关联委托单号
  14161. in: query
  14162. name: orderID
  14163. type: integer
  14164. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  14165. in: query
  14166. name: startDate
  14167. type: string
  14168. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  14169. in: query
  14170. name: endDate
  14171. type: string
  14172. produces:
  14173. - application/json
  14174. responses:
  14175. "200":
  14176. description: OK
  14177. schema:
  14178. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  14179. "500":
  14180. description: Internal Server Error
  14181. schema:
  14182. $ref: '#/definitions/app.Response'
  14183. security:
  14184. - ApiKeyAuth: []
  14185. summary: 获取企业风管期货历史成交单信息
  14186. tags:
  14187. - 企业风险管理(app)
  14188. /Ermcp/QueryErmcpInnerHolderDetails:
  14189. get:
  14190. parameters:
  14191. - description: 资金账户ID
  14192. in: query
  14193. name: accountID
  14194. required: true
  14195. type: integer
  14196. - description: 商品ID
  14197. in: query
  14198. name: goodsID
  14199. type: integer
  14200. - description: 买卖方向,0:买 1:卖
  14201. in: query
  14202. name: buyOrSell
  14203. type: integer
  14204. produces:
  14205. - application/json
  14206. responses:
  14207. "200":
  14208. description: OK
  14209. schema:
  14210. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  14211. "500":
  14212. description: Internal Server Error
  14213. schema:
  14214. $ref: '#/definitions/app.Response'
  14215. security:
  14216. - ApiKeyAuth: []
  14217. summary: 获取企业风管期货内部持仓单信息
  14218. tags:
  14219. - 企业风险管理(app)
  14220. /Ermcp/QueryErmcpOrderDetails:
  14221. get:
  14222. parameters:
  14223. - description: 资金账户ID
  14224. in: query
  14225. name: accountID
  14226. required: true
  14227. type: integer
  14228. produces:
  14229. - application/json
  14230. responses:
  14231. "200":
  14232. description: OK
  14233. schema:
  14234. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  14235. "500":
  14236. description: Internal Server Error
  14237. schema:
  14238. $ref: '#/definitions/app.Response'
  14239. security:
  14240. - ApiKeyAuth: []
  14241. summary: 获取企业风管期货委托单信息
  14242. tags:
  14243. - 企业风险管理(app)
  14244. /Ermcp/QueryErmcpTradeDetails:
  14245. get:
  14246. parameters:
  14247. - description: 资金账户ID
  14248. in: query
  14249. name: accountID
  14250. required: true
  14251. type: integer
  14252. - description: 商品ID
  14253. in: query
  14254. name: goodsID
  14255. type: integer
  14256. - description: 买卖方向,0:买 1:卖
  14257. in: query
  14258. name: buyOrSell
  14259. type: integer
  14260. - description: 关联委托单号
  14261. in: query
  14262. name: orderID
  14263. type: integer
  14264. produces:
  14265. - application/json
  14266. responses:
  14267. "200":
  14268. description: OK
  14269. schema:
  14270. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  14271. "500":
  14272. description: Internal Server Error
  14273. schema:
  14274. $ref: '#/definitions/app.Response'
  14275. security:
  14276. - ApiKeyAuth: []
  14277. summary: 获取企业风管期货成交单信息
  14278. tags:
  14279. - 企业风险管理(app)
  14280. /Ermcp/QueryErmcpTradePosition:
  14281. get:
  14282. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  14283. parameters:
  14284. - description: 资金账户ID
  14285. in: query
  14286. name: accountID
  14287. required: true
  14288. type: integer
  14289. - description: 所属市场ID
  14290. in: query
  14291. name: marketID
  14292. type: integer
  14293. produces:
  14294. - application/json
  14295. responses:
  14296. "200":
  14297. description: OK
  14298. schema:
  14299. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  14300. "500":
  14301. description: Internal Server Error
  14302. schema:
  14303. $ref: '#/definitions/app.Response'
  14304. security:
  14305. - ApiKeyAuth: []
  14306. summary: 获取企业风管期货持仓头寸信息
  14307. tags:
  14308. - 企业风险管理(app)
  14309. /Ermcp/QueryExposureDetail:
  14310. get:
  14311. parameters:
  14312. - description: 所属机构ID
  14313. in: query
  14314. name: areaUserId
  14315. required: true
  14316. type: integer
  14317. - description: 套保商品
  14318. in: query
  14319. name: middleGoodsId
  14320. required: true
  14321. type: integer
  14322. produces:
  14323. - application/json
  14324. responses:
  14325. "200":
  14326. description: OK
  14327. schema:
  14328. items:
  14329. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  14330. type: array
  14331. "500":
  14332. description: Internal Server Error
  14333. schema:
  14334. $ref: '#/definitions/app.Response'
  14335. security:
  14336. - ApiKeyAuth: []
  14337. summary: 查询敞口现货明细
  14338. tags:
  14339. - 企业风险管理(app)
  14340. /Ermcp/QueryExposureHedgePosition:
  14341. get:
  14342. parameters:
  14343. - description: 所属机构ID
  14344. in: query
  14345. name: areaUserId
  14346. required: true
  14347. type: integer
  14348. produces:
  14349. - application/json
  14350. responses:
  14351. "200":
  14352. description: OK
  14353. schema:
  14354. items:
  14355. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  14356. type: array
  14357. "500":
  14358. description: Internal Server Error
  14359. schema:
  14360. $ref: '#/definitions/app.Response'
  14361. security:
  14362. - ApiKeyAuth: []
  14363. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  14364. tags:
  14365. - 企业风险管理(app)
  14366. /Ermcp/QueryExposureHedgePositionDetail:
  14367. get:
  14368. parameters:
  14369. - description: 所属机构ID
  14370. in: query
  14371. name: areaUserId
  14372. required: true
  14373. type: integer
  14374. - description: 商品id
  14375. in: query
  14376. name: goodsId
  14377. required: true
  14378. type: integer
  14379. produces:
  14380. - application/json
  14381. responses:
  14382. "200":
  14383. description: OK
  14384. schema:
  14385. items:
  14386. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  14387. type: array
  14388. "500":
  14389. description: Internal Server Error
  14390. schema:
  14391. $ref: '#/definitions/app.Response'
  14392. security:
  14393. - ApiKeyAuth: []
  14394. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  14395. tags:
  14396. - 企业风险管理(app)
  14397. /Ermcp/QueryExposureSpot:
  14398. get:
  14399. parameters:
  14400. - description: 所属机构ID
  14401. in: query
  14402. name: areaUserId
  14403. required: true
  14404. type: integer
  14405. produces:
  14406. - application/json
  14407. responses:
  14408. "200":
  14409. description: OK
  14410. schema:
  14411. items:
  14412. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  14413. type: array
  14414. "500":
  14415. description: Internal Server Error
  14416. schema:
  14417. $ref: '#/definitions/app.Response'
  14418. security:
  14419. - ApiKeyAuth: []
  14420. summary: 查询敞口现货头寸(敞口/现货头寸)
  14421. tags:
  14422. - 企业风险管理(app)
  14423. /Ermcp/QueryExposureSpotDetail:
  14424. get:
  14425. parameters:
  14426. - description: 所属机构ID
  14427. in: query
  14428. name: areaUserId
  14429. required: true
  14430. type: integer
  14431. - description: 现货品种ID
  14432. in: query
  14433. name: wrstandardId
  14434. required: true
  14435. type: integer
  14436. produces:
  14437. - application/json
  14438. responses:
  14439. "200":
  14440. description: OK
  14441. schema:
  14442. items:
  14443. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  14444. type: array
  14445. "500":
  14446. description: Internal Server Error
  14447. schema:
  14448. $ref: '#/definitions/app.Response'
  14449. security:
  14450. - ApiKeyAuth: []
  14451. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  14452. tags:
  14453. - 企业风险管理(app)
  14454. /Ermcp/QueryFuturesCompany:
  14455. get:
  14456. produces:
  14457. - application/json
  14458. responses:
  14459. "200":
  14460. description: OK
  14461. schema:
  14462. items:
  14463. $ref: '#/definitions/models.ErmcpFuturesCompany'
  14464. type: array
  14465. "500":
  14466. description: Internal Server Error
  14467. schema:
  14468. $ref: '#/definitions/app.Response'
  14469. security:
  14470. - ApiKeyAuth: []
  14471. summary: 查询期货公司
  14472. tags:
  14473. - 企业风险管理(app)
  14474. /Ermcp/QueryGGConvertConfig:
  14475. get:
  14476. parameters:
  14477. - description: 品种id(不填则查所有)
  14478. in: query
  14479. name: goodsgroupid
  14480. type: integer
  14481. produces:
  14482. - application/json
  14483. responses:
  14484. "200":
  14485. description: OK
  14486. schema:
  14487. items:
  14488. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  14489. type: array
  14490. "500":
  14491. description: Internal Server Error
  14492. schema:
  14493. $ref: '#/definitions/app.Response'
  14494. security:
  14495. - ApiKeyAuth: []
  14496. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  14497. tags:
  14498. - 企业风险管理(app)
  14499. /Ermcp/QueryGoodsBrand:
  14500. get:
  14501. parameters:
  14502. - description: 用户ID
  14503. in: query
  14504. name: userid
  14505. required: true
  14506. type: integer
  14507. - description: 现货商品ID
  14508. in: query
  14509. name: wrstandardid
  14510. type: integer
  14511. produces:
  14512. - application/json
  14513. responses:
  14514. "200":
  14515. description: OK
  14516. schema:
  14517. items:
  14518. $ref: '#/definitions/models.ErmcpGoodsBrand'
  14519. type: array
  14520. "500":
  14521. description: Internal Server Error
  14522. schema:
  14523. $ref: '#/definitions/app.Response'
  14524. security:
  14525. - ApiKeyAuth: []
  14526. summary: 查询商品品牌
  14527. tags:
  14528. - 企业风险管理(app)
  14529. /Ermcp/QueryGoodsModel:
  14530. get:
  14531. parameters:
  14532. - description: 用户ID
  14533. in: query
  14534. name: userid
  14535. required: true
  14536. type: integer
  14537. produces:
  14538. - application/json
  14539. responses:
  14540. "200":
  14541. description: OK
  14542. schema:
  14543. items:
  14544. $ref: '#/definitions/models.ErmcpGoodsModel'
  14545. type: array
  14546. "500":
  14547. description: Internal Server Error
  14548. schema:
  14549. $ref: '#/definitions/app.Response'
  14550. security:
  14551. - ApiKeyAuth: []
  14552. summary: 查询商品型号
  14553. tags:
  14554. - 企业风险管理(app)
  14555. /Ermcp/QueryHedgePlan:
  14556. get:
  14557. parameters:
  14558. - description: 用户ID
  14559. in: query
  14560. name: userId
  14561. required: true
  14562. type: integer
  14563. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  14564. in: query
  14565. name: HedgePlanStatus
  14566. required: true
  14567. type: string
  14568. produces:
  14569. - application/json
  14570. responses:
  14571. "200":
  14572. description: OK
  14573. schema:
  14574. items:
  14575. $ref: '#/definitions/ermcp.QryHedgePlanRsp'
  14576. type: array
  14577. "500":
  14578. description: Internal Server Error
  14579. schema:
  14580. $ref: '#/definitions/app.Response'
  14581. security:
  14582. - ApiKeyAuth: []
  14583. summary: 查询套保计划
  14584. tags:
  14585. - 企业风险管理(app)
  14586. /Ermcp/QueryHisExposure:
  14587. get:
  14588. parameters:
  14589. - description: 所属机构ID
  14590. in: query
  14591. name: areaUserId
  14592. required: true
  14593. type: integer
  14594. - description: 每个品种记录数
  14595. in: query
  14596. name: lastNum
  14597. required: true
  14598. type: integer
  14599. produces:
  14600. - application/json
  14601. responses:
  14602. "200":
  14603. description: OK
  14604. schema:
  14605. items:
  14606. $ref: '#/definitions/ermcp.HisExposureRsp'
  14607. type: array
  14608. "500":
  14609. description: Internal Server Error
  14610. schema:
  14611. $ref: '#/definitions/app.Response'
  14612. security:
  14613. - ApiKeyAuth: []
  14614. summary: 查询历史敞口(菜单:敞口/历史敞口)
  14615. tags:
  14616. - 企业风险管理(app)
  14617. /Ermcp/QueryMiddleGoods:
  14618. get:
  14619. parameters:
  14620. - description: 所属机构ID
  14621. in: query
  14622. name: userid
  14623. required: true
  14624. type: integer
  14625. - description: 状态 0-停用 1-正常
  14626. in: query
  14627. name: status
  14628. required: true
  14629. type: integer
  14630. produces:
  14631. - application/json
  14632. responses:
  14633. "200":
  14634. description: OK
  14635. schema:
  14636. items:
  14637. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  14638. type: array
  14639. "500":
  14640. description: Internal Server Error
  14641. schema:
  14642. $ref: '#/definitions/app.Response'
  14643. security:
  14644. - ApiKeyAuth: []
  14645. summary: 查询套保品种(菜单:套保品种)
  14646. tags:
  14647. - 企业风险管理(app)
  14648. /Ermcp/QueryMiddleGoodsChangeLog:
  14649. get:
  14650. parameters:
  14651. - description: 所属机构ID
  14652. in: query
  14653. name: userid
  14654. required: true
  14655. type: integer
  14656. - description: 套保品种id
  14657. in: query
  14658. name: middlegoodsid
  14659. required: true
  14660. type: integer
  14661. produces:
  14662. - application/json
  14663. responses:
  14664. "200":
  14665. description: OK
  14666. schema:
  14667. items:
  14668. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  14669. type: array
  14670. "500":
  14671. description: Internal Server Error
  14672. schema:
  14673. $ref: '#/definitions/app.Response'
  14674. security:
  14675. - ApiKeyAuth: []
  14676. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  14677. tags:
  14678. - 企业风险管理(app)
  14679. /Ermcp/QueryMiddleGoodsDetail:
  14680. get:
  14681. parameters:
  14682. - description: 所属机构ID
  14683. in: query
  14684. name: userid
  14685. required: true
  14686. type: integer
  14687. - description: 套保品种id
  14688. in: query
  14689. name: middlegoodsid
  14690. type: integer
  14691. produces:
  14692. - application/json
  14693. responses:
  14694. "200":
  14695. description: OK
  14696. schema:
  14697. items:
  14698. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  14699. type: array
  14700. "500":
  14701. description: Internal Server Error
  14702. schema:
  14703. $ref: '#/definitions/app.Response'
  14704. security:
  14705. - ApiKeyAuth: []
  14706. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  14707. tags:
  14708. - 企业风险管理(app)
  14709. /Ermcp/QueryPendingAuditInfo:
  14710. get:
  14711. parameters:
  14712. - description: 用户ID
  14713. in: query
  14714. name: UserId
  14715. required: true
  14716. type: integer
  14717. produces:
  14718. - application/json
  14719. responses:
  14720. "200":
  14721. description: OK
  14722. schema:
  14723. items:
  14724. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  14725. type: array
  14726. "500":
  14727. description: Internal Server Error
  14728. schema:
  14729. $ref: '#/definitions/app.Response'
  14730. security:
  14731. - ApiKeyAuth: []
  14732. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  14733. tags:
  14734. - 企业风险管理(app)
  14735. /Ermcp/QueryRealtimeExposure:
  14736. get:
  14737. parameters:
  14738. - description: 所属机构ID
  14739. in: query
  14740. name: AreaUserID
  14741. required: true
  14742. type: integer
  14743. produces:
  14744. - application/json
  14745. responses:
  14746. "200":
  14747. description: OK
  14748. schema:
  14749. items:
  14750. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  14751. type: array
  14752. "500":
  14753. description: Internal Server Error
  14754. schema:
  14755. $ref: '#/definitions/app.Response'
  14756. security:
  14757. - ApiKeyAuth: []
  14758. summary: 查询实时敞口
  14759. tags:
  14760. - 企业风险管理(app)
  14761. /Ermcp/QueryRealtimeExposurePosition:
  14762. get:
  14763. parameters:
  14764. - description: 所属机构ID
  14765. in: query
  14766. name: areaUserId
  14767. required: true
  14768. type: integer
  14769. - description: 套保商品ID
  14770. in: query
  14771. name: middleGoodsId
  14772. required: true
  14773. type: integer
  14774. produces:
  14775. - application/json
  14776. responses:
  14777. "200":
  14778. description: OK
  14779. schema:
  14780. items:
  14781. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  14782. type: array
  14783. "500":
  14784. description: Internal Server Error
  14785. schema:
  14786. $ref: '#/definitions/app.Response'
  14787. security:
  14788. - ApiKeyAuth: []
  14789. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  14790. tags:
  14791. - 企业风险管理(app)
  14792. /Ermcp/QuerySpotContract:
  14793. get:
  14794. parameters:
  14795. - description: 用户ID
  14796. in: query
  14797. name: userId
  14798. required: true
  14799. type: integer
  14800. - description: 查询类型 1-未提交 2-待审核 3-履约中 4-已完成
  14801. in: query
  14802. name: QueryType
  14803. required: true
  14804. type: integer
  14805. produces:
  14806. - application/json
  14807. responses:
  14808. "200":
  14809. description: OK
  14810. schema:
  14811. items:
  14812. $ref: '#/definitions/ermcp.QrySpotContractRsp'
  14813. type: array
  14814. "500":
  14815. description: Internal Server Error
  14816. schema:
  14817. $ref: '#/definitions/app.Response'
  14818. security:
  14819. - ApiKeyAuth: []
  14820. summary: 查询现货合同(对应现货合同菜单)
  14821. tags:
  14822. - 企业风险管理(app)
  14823. /Ermcp/QuerySpotGoodsPrice:
  14824. get:
  14825. parameters:
  14826. - description: 用户ID
  14827. in: query
  14828. name: userid
  14829. required: true
  14830. type: integer
  14831. produces:
  14832. - application/json
  14833. responses:
  14834. "200":
  14835. description: OK
  14836. schema:
  14837. items:
  14838. $ref: '#/definitions/models.ErmcpSpotGoodsPrice'
  14839. type: array
  14840. "500":
  14841. description: Internal Server Error
  14842. schema:
  14843. $ref: '#/definitions/app.Response'
  14844. security:
  14845. - ApiKeyAuth: []
  14846. summary: 查询现货市价(现货市价)
  14847. tags:
  14848. - 企业风险管理(app)
  14849. /Ermcp/QuerySpotGoodsPriceLog:
  14850. get:
  14851. parameters:
  14852. - description: 用户ID
  14853. in: query
  14854. name: userid
  14855. required: true
  14856. type: integer
  14857. - description: 现货商品ID
  14858. in: query
  14859. name: wrstandardid
  14860. required: true
  14861. type: integer
  14862. produces:
  14863. - application/json
  14864. responses:
  14865. "200":
  14866. description: OK
  14867. schema:
  14868. items:
  14869. $ref: '#/definitions/models.ErmcpSpotGoodsPriceLog'
  14870. type: array
  14871. "500":
  14872. description: Internal Server Error
  14873. schema:
  14874. $ref: '#/definitions/app.Response'
  14875. security:
  14876. - ApiKeyAuth: []
  14877. summary: 查询现货市价详情(现货市价/详情)
  14878. tags:
  14879. - 企业风险管理(app)
  14880. /Ermcp/QueryTradeConfigTMP:
  14881. get:
  14882. parameters:
  14883. - description: 所属机构id
  14884. in: query
  14885. name: areauserid
  14886. type: integer
  14887. produces:
  14888. - application/json
  14889. responses:
  14890. "200":
  14891. description: OK
  14892. schema:
  14893. items:
  14894. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  14895. type: array
  14896. "500":
  14897. description: Internal Server Error
  14898. schema:
  14899. $ref: '#/definitions/app.Response'
  14900. security:
  14901. - ApiKeyAuth: []
  14902. summary: 查询交易模板配置
  14903. tags:
  14904. - 企业风险管理(app)
  14905. /Ermcp/QueryUserInfo:
  14906. get:
  14907. parameters:
  14908. - description: 所属机构用户ID
  14909. in: query
  14910. name: MemberUserID
  14911. required: true
  14912. type: integer
  14913. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  14914. in: query
  14915. name: queryType
  14916. required: true
  14917. type: integer
  14918. produces:
  14919. - application/json
  14920. responses:
  14921. "200":
  14922. description: OK
  14923. schema:
  14924. items:
  14925. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  14926. type: array
  14927. "500":
  14928. description: Internal Server Error
  14929. schema:
  14930. $ref: '#/definitions/app.Response'
  14931. security:
  14932. - ApiKeyAuth: []
  14933. summary: 查询客户资料
  14934. tags:
  14935. - 企业风险管理(app)
  14936. /Ermcp/QueryWarehouseInfo:
  14937. get:
  14938. parameters:
  14939. - description: 用户ID
  14940. in: query
  14941. name: userid
  14942. required: true
  14943. type: integer
  14944. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  14945. in: query
  14946. name: status
  14947. type: string
  14948. produces:
  14949. - application/json
  14950. responses:
  14951. "200":
  14952. description: OK
  14953. schema:
  14954. items:
  14955. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  14956. type: array
  14957. "500":
  14958. description: Internal Server Error
  14959. schema:
  14960. $ref: '#/definitions/app.Response'
  14961. security:
  14962. - ApiKeyAuth: []
  14963. summary: 查询仓库信息
  14964. tags:
  14965. - 企业风险管理(app)
  14966. /Ermcp/QueryWrStandard:
  14967. get:
  14968. parameters:
  14969. - description: 所属机构ID
  14970. in: query
  14971. name: userid
  14972. required: true
  14973. type: integer
  14974. - description: 状态 0-停用 1-正常
  14975. in: query
  14976. name: status
  14977. required: true
  14978. type: integer
  14979. produces:
  14980. - application/json
  14981. responses:
  14982. "200":
  14983. description: OK
  14984. schema:
  14985. items:
  14986. $ref: '#/definitions/ermcp.QryWrStandardRsp'
  14987. type: array
  14988. "500":
  14989. description: Internal Server Error
  14990. schema:
  14991. $ref: '#/definitions/app.Response'
  14992. security:
  14993. - ApiKeyAuth: []
  14994. summary: 查询现货商品
  14995. tags:
  14996. - 企业风险管理(app)
  14997. /Ermcp/QueryWrStandardDetail:
  14998. get:
  14999. parameters:
  15000. - description: 所属机构ID
  15001. in: query
  15002. name: userid
  15003. required: true
  15004. type: integer
  15005. - description: 现货商品ID
  15006. in: query
  15007. name: wrstandardid
  15008. type: integer
  15009. - description: 可不填, 1-查询关联交易商品
  15010. in: query
  15011. name: goods
  15012. type: integer
  15013. produces:
  15014. - application/json
  15015. responses:
  15016. "200":
  15017. description: OK
  15018. schema:
  15019. items:
  15020. $ref: '#/definitions/ermcp.QryWrStandardDetailRsp'
  15021. type: array
  15022. "500":
  15023. description: Internal Server Error
  15024. schema:
  15025. $ref: '#/definitions/app.Response'
  15026. security:
  15027. - ApiKeyAuth: []
  15028. summary: 查询现货商品详情(菜单:现货品种/现货品种详情)
  15029. tags:
  15030. - 企业风险管理(app)
  15031. /Ermcp3/QryReportAreaSpotPL:
  15032. get:
  15033. parameters:
  15034. - description: 用户ID
  15035. in: query
  15036. name: userid
  15037. required: true
  15038. type: integer
  15039. - description: 查询类型 1-日报表 2-月报表
  15040. in: query
  15041. name: querytype
  15042. required: true
  15043. type: integer
  15044. - description: 查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)
  15045. in: query
  15046. name: querydate
  15047. required: true
  15048. type: string
  15049. - description: 现货商品ID
  15050. in: query
  15051. name: deliverygoodsid
  15052. type: integer
  15053. - description: 品牌ID
  15054. in: query
  15055. name: spotgoodsbrandid
  15056. type: integer
  15057. - description: 品类ID
  15058. in: query
  15059. name: wrstandardid
  15060. type: integer
  15061. produces:
  15062. - application/json
  15063. responses:
  15064. "200":
  15065. description: OK
  15066. schema:
  15067. items:
  15068. $ref: '#/definitions/models.Ermcp3ReportAreaSpotPL'
  15069. type: array
  15070. "500":
  15071. description: Internal Server Error
  15072. schema:
  15073. $ref: '#/definitions/app.Response'
  15074. security:
  15075. - ApiKeyAuth: []
  15076. summary: 查询现货损益报表(现货损益报表)
  15077. tags:
  15078. - 企业风险管理v3(app)
  15079. /Ermcp3/QryReportDayFinanceFp:
  15080. get:
  15081. parameters:
  15082. - description: 用户ID
  15083. in: query
  15084. name: userid
  15085. required: true
  15086. type: integer
  15087. - description: 交易日(格式:yyyyMMdd)
  15088. in: query
  15089. name: tradedate
  15090. required: true
  15091. type: string
  15092. produces:
  15093. - application/json
  15094. responses:
  15095. "200":
  15096. description: OK
  15097. schema:
  15098. items:
  15099. $ref: '#/definitions/models.Ermcp3ReportOPLog'
  15100. type: array
  15101. "500":
  15102. description: Internal Server Error
  15103. schema:
  15104. $ref: '#/definitions/app.Response'
  15105. security:
  15106. - ApiKeyAuth: []
  15107. summary: 查询财务日报表发票(菜单:报表查询/财务报表/日报表/发票)
  15108. tags:
  15109. - 企业风险管理v3(app)
  15110. /Ermcp3/QryReportDayFinanceKx:
  15111. get:
  15112. parameters:
  15113. - description: 用户ID
  15114. in: query
  15115. name: userid
  15116. required: true
  15117. type: integer
  15118. - description: 交易日(格式:yyyyMMdd)
  15119. in: query
  15120. name: tradedate
  15121. required: true
  15122. type: string
  15123. produces:
  15124. - application/json
  15125. responses:
  15126. "200":
  15127. description: OK
  15128. schema:
  15129. items:
  15130. $ref: '#/definitions/models.Ermcp3ReportOPLog'
  15131. type: array
  15132. "500":
  15133. description: Internal Server Error
  15134. schema:
  15135. $ref: '#/definitions/app.Response'
  15136. security:
  15137. - ApiKeyAuth: []
  15138. summary: 查询财务日报表款项(菜单:报表查询/财务报表/日报表/款项)
  15139. tags:
  15140. - 企业风险管理v3(app)
  15141. /Ermcp3/QryReportDaySpot:
  15142. get:
  15143. parameters:
  15144. - description: 所属机构id
  15145. in: query
  15146. name: areauserid
  15147. required: true
  15148. type: integer
  15149. - description: 交易日(格式:yyyyMMdd)
  15150. in: query
  15151. name: reckondate
  15152. required: true
  15153. type: string
  15154. - description: 期货账户ID
  15155. in: query
  15156. name: accountid
  15157. type: integer
  15158. - description: 现货品种ID
  15159. in: query
  15160. name: deliverygoodsid
  15161. type: integer
  15162. - description: 品类ID
  15163. in: query
  15164. name: wrstandardid
  15165. type: integer
  15166. - description: 现货品牌ID
  15167. in: query
  15168. name: spotgoodsbrandid
  15169. type: integer
  15170. produces:
  15171. - application/json
  15172. responses:
  15173. "200":
  15174. description: OK
  15175. schema:
  15176. items:
  15177. $ref: '#/definitions/models.Ermcp3ReckonAreaSpotSub'
  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/QryReportDaySpotDetail:
  15189. get:
  15190. parameters:
  15191. - description: 用户ID
  15192. in: query
  15193. name: userid
  15194. required: true
  15195. type: integer
  15196. - description: 现货商品id
  15197. in: query
  15198. name: deliverygoodsid
  15199. required: true
  15200. type: integer
  15201. - description: 交易日(格式:yyyyMMdd)
  15202. in: query
  15203. name: tradedate
  15204. required: true
  15205. type: string
  15206. - description: 品类ID
  15207. in: query
  15208. name: wrstandardid
  15209. type: integer
  15210. - description: 现货品牌ID
  15211. in: query
  15212. name: spotgoodsbrandid
  15213. type: integer
  15214. produces:
  15215. - application/json
  15216. responses:
  15217. "200":
  15218. description: OK
  15219. schema:
  15220. items:
  15221. $ref: '#/definitions/models.Ermcp3ReportOPLog'
  15222. type: array
  15223. "500":
  15224. description: Internal Server Error
  15225. schema:
  15226. $ref: '#/definitions/app.Response'
  15227. security:
  15228. - ApiKeyAuth: []
  15229. summary: 查询现货日报表详情(菜单:报表查询/现货报表/现货日报表详情)
  15230. tags:
  15231. - 企业风险管理v3(app)
  15232. /Ermcp3/QryReportMonthSpot:
  15233. get:
  15234. parameters:
  15235. - description: 所属机构id
  15236. in: query
  15237. name: areauserid
  15238. required: true
  15239. type: integer
  15240. - description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  15241. in: query
  15242. name: cycletype
  15243. required: true
  15244. type: integer
  15245. - description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  15246. in: query
  15247. name: cycletime
  15248. required: true
  15249. type: string
  15250. - description: 期货账户ID
  15251. in: query
  15252. name: accountid
  15253. type: integer
  15254. - description: 现货品种ID
  15255. in: query
  15256. name: deliverygoodsid
  15257. type: integer
  15258. - description: 品类ID
  15259. in: query
  15260. name: wrstandardid
  15261. type: integer
  15262. - description: 现货品牌ID
  15263. in: query
  15264. name: spotgoodsbrandid
  15265. type: integer
  15266. produces:
  15267. - application/json
  15268. responses:
  15269. "200":
  15270. description: OK
  15271. schema:
  15272. items:
  15273. $ref: '#/definitions/models.Ermcp3ReportAreaSpotSub'
  15274. type: array
  15275. "500":
  15276. description: Internal Server Error
  15277. schema:
  15278. $ref: '#/definitions/app.Response'
  15279. security:
  15280. - ApiKeyAuth: []
  15281. summary: 查询现货月报表(菜单:报表查询/现货报表/现货月报表)
  15282. tags:
  15283. - 企业风险管理v3(app)
  15284. /Ermcp3/QryReportMonthSpotDetail:
  15285. get:
  15286. parameters:
  15287. - description: 所属机构id
  15288. in: query
  15289. name: areauserid
  15290. required: true
  15291. type: integer
  15292. - description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  15293. in: query
  15294. name: cycletype
  15295. required: true
  15296. type: integer
  15297. - description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  15298. in: query
  15299. name: cycletime
  15300. required: true
  15301. type: string
  15302. - description: 期货账户ID
  15303. in: query
  15304. name: accountid
  15305. type: integer
  15306. - description: 现货品种ID
  15307. in: query
  15308. name: deliverygoodsid
  15309. type: integer
  15310. - description: 品类ID
  15311. in: query
  15312. name: wrstandardid
  15313. type: integer
  15314. - description: 现货品牌ID
  15315. in: query
  15316. name: spotgoodsbrandid
  15317. type: integer
  15318. produces:
  15319. - application/json
  15320. responses:
  15321. "200":
  15322. description: OK
  15323. schema:
  15324. items:
  15325. $ref: '#/definitions/models.Ermcp3ReportAreaSpotSub'
  15326. type: array
  15327. "500":
  15328. description: Internal Server Error
  15329. schema:
  15330. $ref: '#/definitions/app.Response'
  15331. security:
  15332. - ApiKeyAuth: []
  15333. summary: 查询现货月报表详情(菜单:报表查询/现货月报表/现货月报表详情)
  15334. tags:
  15335. - 企业风险管理v3(app)
  15336. /Ermcp3/QueryAreaStock:
  15337. get:
  15338. parameters:
  15339. - description: 用户ID
  15340. in: query
  15341. name: userid
  15342. required: true
  15343. type: integer
  15344. produces:
  15345. - application/json
  15346. responses:
  15347. "200":
  15348. description: OK
  15349. schema:
  15350. items:
  15351. $ref: '#/definitions/models.Ermcp3AreaStock'
  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/QueryAreaStockApply:
  15363. get:
  15364. parameters:
  15365. - description: 用户ID
  15366. in: query
  15367. name: userid
  15368. required: true
  15369. type: integer
  15370. - description: 现货商品ID
  15371. in: query
  15372. name: deliverygoodsid
  15373. type: integer
  15374. - description: 出入库类型(可多项,逗号隔开) 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  15375. in: query
  15376. name: inouttype
  15377. type: string
  15378. - description: 合同ID
  15379. in: query
  15380. name: spotcontractid
  15381. type: integer
  15382. - description: 品类ID
  15383. in: query
  15384. name: wrstandardid
  15385. type: integer
  15386. - description: 品牌ID
  15387. in: query
  15388. name: spotgoodsbrandid
  15389. type: integer
  15390. - description: 仓库ID
  15391. in: query
  15392. name: warehouseinfoid
  15393. type: integer
  15394. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  15395. in: query
  15396. name: applystatus
  15397. type: string
  15398. produces:
  15399. - application/json
  15400. responses:
  15401. "200":
  15402. description: OK
  15403. schema:
  15404. items:
  15405. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  15406. type: array
  15407. "500":
  15408. description: Internal Server Error
  15409. schema:
  15410. $ref: '#/definitions/app.Response'
  15411. security:
  15412. - ApiKeyAuth: []
  15413. summary: 查询库存申请(出入库记录|库存审核)
  15414. tags:
  15415. - 企业风险管理v3(app)
  15416. /Ermcp3/QueryAreaStockApplySum:
  15417. get:
  15418. parameters:
  15419. - description: 合同ID
  15420. in: query
  15421. name: spotcontractid
  15422. type: integer
  15423. produces:
  15424. - application/json
  15425. responses:
  15426. "200":
  15427. description: OK
  15428. schema:
  15429. items:
  15430. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  15431. type: array
  15432. "500":
  15433. description: Internal Server Error
  15434. schema:
  15435. $ref: '#/definitions/app.Response'
  15436. security:
  15437. - ApiKeyAuth: []
  15438. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  15439. tags:
  15440. - 企业风险管理v3(app)
  15441. /Ermcp3/QueryAreaStockReport:
  15442. get:
  15443. parameters:
  15444. - description: 用户ID
  15445. in: query
  15446. name: userid
  15447. required: true
  15448. type: integer
  15449. - description: 查询类型 1-日报表 2-月报表
  15450. in: query
  15451. name: querytype
  15452. required: true
  15453. type: integer
  15454. - description: 查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)
  15455. in: query
  15456. name: querydate
  15457. required: true
  15458. type: string
  15459. - description: 现货商品ID
  15460. in: query
  15461. name: deliverygoodsid
  15462. type: integer
  15463. - description: 品类ID
  15464. in: query
  15465. name: wrstandardid
  15466. type: integer
  15467. - description: 品牌ID
  15468. in: query
  15469. name: spotgoodsbrandid
  15470. type: integer
  15471. - description: 仓库ID
  15472. in: query
  15473. name: warehouseinfoid
  15474. type: integer
  15475. produces:
  15476. - application/json
  15477. responses:
  15478. "200":
  15479. description: OK
  15480. schema:
  15481. items:
  15482. $ref: '#/definitions/models.Ermcp3AreaStockReport'
  15483. type: array
  15484. "500":
  15485. description: Internal Server Error
  15486. schema:
  15487. $ref: '#/definitions/app.Response'
  15488. security:
  15489. - ApiKeyAuth: []
  15490. summary: 查询库存报表
  15491. tags:
  15492. - 企业风险管理v3(app)
  15493. /Ermcp3/QueryAreaStockReportDetail:
  15494. get:
  15495. parameters:
  15496. - description: 用户ID
  15497. in: query
  15498. name: userid
  15499. required: true
  15500. type: integer
  15501. - description: 查询类型 1-日报表明细 2-月报表明细
  15502. in: query
  15503. name: querytype
  15504. required: true
  15505. type: integer
  15506. - description: 明细类型 1:入库明细(采购入库+生产入库) 2:出库明细(销售出库+生产出库)
  15507. in: query
  15508. name: detailtype
  15509. required: true
  15510. type: integer
  15511. - description: 查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)
  15512. in: query
  15513. name: querydate
  15514. required: true
  15515. type: string
  15516. - description: 现货商品ID
  15517. in: query
  15518. name: deliverygoodsid
  15519. type: integer
  15520. - description: 品类ID
  15521. in: query
  15522. name: wrstandardid
  15523. type: integer
  15524. - description: 品牌ID
  15525. in: query
  15526. name: spotgoodsbrandid
  15527. type: integer
  15528. - description: 仓库ID
  15529. in: query
  15530. name: warehouseinfoid
  15531. type: integer
  15532. produces:
  15533. - application/json
  15534. responses:
  15535. "200":
  15536. description: OK
  15537. schema:
  15538. items:
  15539. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  15540. type: array
  15541. "500":
  15542. description: Internal Server Error
  15543. schema:
  15544. $ref: '#/definitions/app.Response'
  15545. security:
  15546. - ApiKeyAuth: []
  15547. summary: 查询库存报表明细
  15548. tags:
  15549. - 企业风险管理v3(app)
  15550. /Ermcp3/QueryDGFactoryItem:
  15551. get:
  15552. parameters:
  15553. - description: 所属机构ID
  15554. in: query
  15555. name: areauserid
  15556. type: integer
  15557. - description: 选择项ID(SEQ_DGFACTORYITEM)
  15558. in: query
  15559. name: dgfactoryitemid
  15560. type: integer
  15561. - description: 现货品种ID
  15562. in: query
  15563. name: deliverygoodsid
  15564. type: integer
  15565. - description: 要素项类型
  15566. in: query
  15567. name: dgfactoryitemtypeid
  15568. type: integer
  15569. - description: 顺序
  15570. in: query
  15571. name: orderindex
  15572. type: integer
  15573. produces:
  15574. - application/json
  15575. responses:
  15576. "200":
  15577. description: OK
  15578. schema:
  15579. items:
  15580. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  15581. type: array
  15582. "500":
  15583. description: Internal Server Error
  15584. schema:
  15585. $ref: '#/definitions/app.Response'
  15586. security:
  15587. - ApiKeyAuth: []
  15588. summary: 查询品种要素定义项
  15589. tags:
  15590. - 企业风险管理v3(app)
  15591. /Ermcp3/QueryDeliveryGoods:
  15592. get:
  15593. parameters:
  15594. - description: 所属机构id
  15595. in: query
  15596. name: areauserid
  15597. required: true
  15598. type: integer
  15599. - description: 排除已配置的现货商品 1-排除
  15600. in: query
  15601. name: excludecfg
  15602. type: integer
  15603. produces:
  15604. - application/json
  15605. responses:
  15606. "200":
  15607. description: OK
  15608. schema:
  15609. items:
  15610. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  15611. type: array
  15612. "500":
  15613. description: Internal Server Error
  15614. schema:
  15615. $ref: '#/definitions/app.Response'
  15616. security:
  15617. - ApiKeyAuth: []
  15618. summary: 查询现货商品
  15619. tags:
  15620. - 企业风险管理v3(app)
  15621. /Ermcp3/QueryDeliveryGoodsDetail:
  15622. get:
  15623. parameters:
  15624. - description: 所属机构id
  15625. in: query
  15626. name: areauserid
  15627. required: true
  15628. type: integer
  15629. - description: 现货商品id
  15630. in: query
  15631. name: deliverygoodsid
  15632. type: integer
  15633. produces:
  15634. - application/json
  15635. responses:
  15636. "200":
  15637. description: OK
  15638. schema:
  15639. items:
  15640. $ref: '#/definitions/models.ErmcpDeliveryGoodsDetailEx'
  15641. type: array
  15642. "500":
  15643. description: Internal Server Error
  15644. schema:
  15645. $ref: '#/definitions/app.Response'
  15646. security:
  15647. - ApiKeyAuth: []
  15648. summary: 查询现货商品详情
  15649. tags:
  15650. - 企业风险管理v3(app)
  15651. /Ermcp3/QueryExposureDetail:
  15652. get:
  15653. parameters:
  15654. - description: 所属机构ID
  15655. in: query
  15656. name: areauserid
  15657. required: true
  15658. type: integer
  15659. - description: 套保商品
  15660. in: query
  15661. name: middlegoodsid
  15662. required: true
  15663. type: integer
  15664. produces:
  15665. - application/json
  15666. responses:
  15667. "200":
  15668. description: OK
  15669. schema:
  15670. items:
  15671. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  15672. type: array
  15673. "500":
  15674. description: Internal Server Error
  15675. schema:
  15676. $ref: '#/definitions/app.Response'
  15677. security:
  15678. - ApiKeyAuth: []
  15679. summary: 查询敞口现货明细
  15680. tags:
  15681. - 企业风险管理v3(app)
  15682. /Ermcp3/QueryExposureSpot:
  15683. get:
  15684. parameters:
  15685. - description: 所属机构ID
  15686. in: query
  15687. name: areauserid
  15688. required: true
  15689. type: integer
  15690. produces:
  15691. - application/json
  15692. responses:
  15693. "200":
  15694. description: OK
  15695. schema:
  15696. items:
  15697. $ref: '#/definitions/models.Ermcp3AreaSpot'
  15698. type: array
  15699. "500":
  15700. description: Internal Server Error
  15701. schema:
  15702. $ref: '#/definitions/app.Response'
  15703. security:
  15704. - ApiKeyAuth: []
  15705. summary: 查询敞口现货头寸(敞口/现货头寸)
  15706. tags:
  15707. - 企业风险管理v3(app)
  15708. /Ermcp3/QueryExposureSpotDetail:
  15709. get:
  15710. parameters:
  15711. - description: 所属机构ID
  15712. in: query
  15713. name: areauserid
  15714. required: true
  15715. type: integer
  15716. - description: 现货品种ID
  15717. in: query
  15718. name: deliverygoodsid
  15719. required: true
  15720. type: integer
  15721. produces:
  15722. - application/json
  15723. responses:
  15724. "200":
  15725. description: OK
  15726. schema:
  15727. items:
  15728. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  15729. type: array
  15730. "500":
  15731. description: Internal Server Error
  15732. schema:
  15733. $ref: '#/definitions/app.Response'
  15734. security:
  15735. - ApiKeyAuth: []
  15736. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  15737. tags:
  15738. - 企业风险管理v3(app)
  15739. /Ermcp3/QueryGoodsGroup:
  15740. get:
  15741. parameters:
  15742. - description: 所属机构id
  15743. in: query
  15744. name: areauserid
  15745. required: true
  15746. type: integer
  15747. - description: 排除套保品中已关联的商品组 1-排除
  15748. in: query
  15749. name: excludecfg
  15750. type: integer
  15751. produces:
  15752. - application/json
  15753. responses:
  15754. "200":
  15755. description: OK
  15756. schema:
  15757. items:
  15758. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  15759. type: array
  15760. "500":
  15761. description: Internal Server Error
  15762. schema:
  15763. $ref: '#/definitions/app.Response'
  15764. security:
  15765. - ApiKeyAuth: []
  15766. summary: 查询期货商品组
  15767. tags:
  15768. - 企业风险管理v3(app)
  15769. /Ermcp3/QueryGoodsWrstandard:
  15770. get:
  15771. parameters:
  15772. - description: 所属机构ID
  15773. in: query
  15774. name: areauserid
  15775. required: true
  15776. type: integer
  15777. - description: 现货商品id
  15778. in: query
  15779. name: deliverygoodsid
  15780. type: integer
  15781. produces:
  15782. - application/json
  15783. responses:
  15784. "200":
  15785. description: OK
  15786. schema:
  15787. items:
  15788. $ref: '#/definitions/models.Ermcp3Wrstandard'
  15789. type: array
  15790. "500":
  15791. description: Internal Server Error
  15792. schema:
  15793. $ref: '#/definitions/app.Response'
  15794. security:
  15795. - ApiKeyAuth: []
  15796. summary: 查询商品品类
  15797. tags:
  15798. - 企业风险管理v3(app)
  15799. /Ermcp3/QueryGoodsbrand:
  15800. get:
  15801. parameters:
  15802. - description: 所属机构ID
  15803. in: query
  15804. name: areauserid
  15805. required: true
  15806. type: integer
  15807. produces:
  15808. - application/json
  15809. responses:
  15810. "200":
  15811. description: OK
  15812. schema:
  15813. items:
  15814. $ref: '#/definitions/models.Ermcp3Brand'
  15815. type: array
  15816. "500":
  15817. description: Internal Server Error
  15818. schema:
  15819. $ref: '#/definitions/app.Response'
  15820. security:
  15821. - ApiKeyAuth: []
  15822. summary: 查询商品品牌
  15823. tags:
  15824. - 企业风险管理v3(app)
  15825. /Ermcp3/QueryHedgePlan:
  15826. get:
  15827. parameters:
  15828. - description: 用户ID
  15829. in: query
  15830. name: userid
  15831. required: true
  15832. type: integer
  15833. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  15834. in: query
  15835. name: hedgeplanstatus
  15836. required: true
  15837. type: string
  15838. produces:
  15839. - application/json
  15840. responses:
  15841. "200":
  15842. description: OK
  15843. schema:
  15844. items:
  15845. $ref: '#/definitions/models.Ermcp3HedgePlan'
  15846. type: array
  15847. "500":
  15848. description: Internal Server Error
  15849. schema:
  15850. $ref: '#/definitions/app.Response'
  15851. security:
  15852. - ApiKeyAuth: []
  15853. summary: 查询套保计划
  15854. tags:
  15855. - 企业风险管理v3(app)
  15856. /Ermcp3/QueryMiddleGoodsDetail:
  15857. get:
  15858. parameters:
  15859. - description: 所属机构ID
  15860. in: query
  15861. name: areauserid
  15862. required: true
  15863. type: integer
  15864. - description: 套保品种id
  15865. in: query
  15866. name: middlegoodsid
  15867. type: integer
  15868. produces:
  15869. - application/json
  15870. responses:
  15871. "200":
  15872. description: OK
  15873. schema:
  15874. items:
  15875. $ref: '#/definitions/models.Ermcp3MiddleGoodsDetailEx'
  15876. type: array
  15877. "500":
  15878. description: Internal Server Error
  15879. schema:
  15880. $ref: '#/definitions/app.Response'
  15881. security:
  15882. - ApiKeyAuth: []
  15883. summary: 查询套保品种详情(套保品种/商品详情)
  15884. tags:
  15885. - 企业风险管理v3(app)
  15886. /Ermcp3/QuerySpotContract:
  15887. get:
  15888. parameters:
  15889. - description: 所属机构ID
  15890. in: query
  15891. name: areauserid
  15892. required: true
  15893. type: integer
  15894. - description: 查询类型 1-未提交 2-待审核 3-履约中 4-已完成
  15895. in: query
  15896. name: querytype
  15897. required: true
  15898. type: integer
  15899. - description: 用户ID
  15900. in: query
  15901. name: userid
  15902. type: integer
  15903. - description: 用户类型 2-机构 7-企业成员
  15904. in: query
  15905. name: usertype
  15906. type: integer
  15907. - description: 合同ID(SpotContractId)
  15908. in: query
  15909. name: contractid
  15910. type: string
  15911. produces:
  15912. - application/json
  15913. responses:
  15914. "200":
  15915. description: OK
  15916. schema:
  15917. items:
  15918. $ref: '#/definitions/models.Ermcp3Contract'
  15919. type: array
  15920. "500":
  15921. description: Internal Server Error
  15922. schema:
  15923. $ref: '#/definitions/app.Response'
  15924. security:
  15925. - ApiKeyAuth: []
  15926. summary: 查询现货合同
  15927. tags:
  15928. - 企业风险管理v3(app)
  15929. /Ermcp3/QuerySpotContractBS:
  15930. get:
  15931. parameters:
  15932. - description: 所属机构ID
  15933. in: query
  15934. name: areauserid
  15935. required: true
  15936. type: integer
  15937. - description: 合同类型 1-采购, -1-销售
  15938. in: query
  15939. name: contracttype
  15940. required: true
  15941. type: integer
  15942. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  15943. in: query
  15944. name: querytype
  15945. required: true
  15946. type: integer
  15947. - description: 用户ID
  15948. in: query
  15949. name: userid
  15950. type: integer
  15951. - description: 用户类型 2-机构 7-企业成员
  15952. in: query
  15953. name: usertype
  15954. type: integer
  15955. - description: 合同ID(SpotContractId)
  15956. in: query
  15957. name: contractid
  15958. type: string
  15959. produces:
  15960. - application/json
  15961. responses:
  15962. "200":
  15963. description: OK
  15964. schema:
  15965. items:
  15966. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  15967. type: array
  15968. "500":
  15969. description: Internal Server Error
  15970. schema:
  15971. $ref: '#/definitions/app.Response'
  15972. security:
  15973. - ApiKeyAuth: []
  15974. summary: 查询合同(采购/销售)
  15975. tags:
  15976. - 企业风险管理v3(app)
  15977. /Ermcp3/QuerySpotGoodsPrice:
  15978. get:
  15979. parameters:
  15980. - description: 用户ID
  15981. in: query
  15982. name: userid
  15983. required: true
  15984. type: integer
  15985. produces:
  15986. - application/json
  15987. responses:
  15988. "200":
  15989. description: OK
  15990. schema:
  15991. items:
  15992. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  15993. type: array
  15994. "500":
  15995. description: Internal Server Error
  15996. schema:
  15997. $ref: '#/definitions/app.Response'
  15998. security:
  15999. - ApiKeyAuth: []
  16000. summary: 查询现货市价(现货市价)
  16001. tags:
  16002. - 企业风险管理v3(app)
  16003. /Ermcp3/QuerySpotGoodsPriceLog:
  16004. get:
  16005. parameters:
  16006. - description: 用户ID
  16007. in: query
  16008. name: userid
  16009. required: true
  16010. type: integer
  16011. - description: 现货商品ID
  16012. in: query
  16013. name: deliverygoodsid
  16014. required: true
  16015. type: integer
  16016. - description: 品牌ID
  16017. in: query
  16018. name: brandid
  16019. type: integer
  16020. - description: 品类ID
  16021. in: query
  16022. name: wrstandardid
  16023. type: integer
  16024. produces:
  16025. - application/json
  16026. responses:
  16027. "200":
  16028. description: OK
  16029. schema:
  16030. items:
  16031. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  16032. type: array
  16033. "500":
  16034. description: Internal Server Error
  16035. schema:
  16036. $ref: '#/definitions/app.Response'
  16037. security:
  16038. - ApiKeyAuth: []
  16039. summary: 查询现货市价详情(现货市价/详情)
  16040. tags:
  16041. - 企业风险管理v3(app)
  16042. /Erms2/QueryArbitrageStrategy:
  16043. get:
  16044. parameters:
  16045. - description: 账户ID
  16046. in: query
  16047. name: userid
  16048. required: true
  16049. type: integer
  16050. - description: 商品组ID(品种ID)
  16051. in: query
  16052. name: goodsgroupid
  16053. type: string
  16054. produces:
  16055. - application/json
  16056. responses:
  16057. "200":
  16058. description: OK
  16059. schema:
  16060. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  16061. "500":
  16062. description: Internal Server Error
  16063. schema:
  16064. $ref: '#/definitions/app.Response'
  16065. security:
  16066. - ApiKeyAuth: []
  16067. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  16068. tags:
  16069. - 风险管理
  16070. /Erms2/QueryInnerTradeDetail:
  16071. get:
  16072. parameters:
  16073. - description: 资金账户
  16074. in: query
  16075. name: accountid
  16076. required: true
  16077. type: integer
  16078. produces:
  16079. - application/json
  16080. responses:
  16081. "200":
  16082. description: OK
  16083. schema:
  16084. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  16085. "500":
  16086. description: Internal Server Error
  16087. schema:
  16088. $ref: '#/definitions/app.Response'
  16089. security:
  16090. - ApiKeyAuth: []
  16091. summary: 查询内部成交单信息
  16092. tags:
  16093. - 风险管理
  16094. /Erms2/QuerySpotContract:
  16095. get:
  16096. parameters:
  16097. - description: 策略申请ID
  16098. in: query
  16099. name: asapplyid
  16100. required: true
  16101. type: integer
  16102. - description: 现货合同ID
  16103. in: query
  16104. name: spotcontractid
  16105. type: integer
  16106. produces:
  16107. - application/json
  16108. responses:
  16109. "200":
  16110. description: OK
  16111. schema:
  16112. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  16113. "500":
  16114. description: Internal Server Error
  16115. schema:
  16116. $ref: '#/definitions/app.Response'
  16117. security:
  16118. - ApiKeyAuth: []
  16119. summary: 查询现货合同表信息(指定策略ID、未结束的)
  16120. tags:
  16121. - 风险管理
  16122. /Erms3/AddErms2ASApply:
  16123. post:
  16124. parameters:
  16125. - description: 申请参数
  16126. in: body
  16127. name: jsonBody
  16128. required: true
  16129. schema:
  16130. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  16131. produces:
  16132. - application/json
  16133. responses:
  16134. "200":
  16135. description: OK
  16136. schema:
  16137. $ref: '#/definitions/app.Response'
  16138. "500":
  16139. description: Internal Server Error
  16140. schema:
  16141. $ref: '#/definitions/app.Response'
  16142. security:
  16143. - ApiKeyAuth: []
  16144. summary: 新增期现套利业务申请
  16145. tags:
  16146. - 风险管理v3
  16147. /Erms3/AddErms2SpotTradeApply:
  16148. post:
  16149. parameters:
  16150. - description: 申请参数
  16151. in: body
  16152. name: jsonBody
  16153. required: true
  16154. schema:
  16155. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  16156. produces:
  16157. - application/json
  16158. responses:
  16159. "200":
  16160. description: OK
  16161. schema:
  16162. $ref: '#/definitions/app.Response'
  16163. "500":
  16164. description: Internal Server Error
  16165. schema:
  16166. $ref: '#/definitions/app.Response'
  16167. security:
  16168. - ApiKeyAuth: []
  16169. summary: 新增现货贸易业务申请
  16170. tags:
  16171. - 风险管理v3
  16172. /Erms3/AddSpotContractApply:
  16173. post:
  16174. parameters:
  16175. - description: 申请参数
  16176. in: body
  16177. name: jsonBody
  16178. required: true
  16179. schema:
  16180. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  16181. produces:
  16182. - application/json
  16183. responses:
  16184. "200":
  16185. description: OK
  16186. schema:
  16187. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  16188. "500":
  16189. description: Internal Server Error
  16190. schema:
  16191. $ref: '#/definitions/app.Response'
  16192. security:
  16193. - ApiKeyAuth: []
  16194. summary: 新增现货合同申请
  16195. tags:
  16196. - 风险管理v3
  16197. /Erms3/AddUserInfoApply:
  16198. post:
  16199. parameters:
  16200. - description: 用户信息
  16201. in: body
  16202. name: jsonBody
  16203. required: true
  16204. schema:
  16205. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  16206. produces:
  16207. - application/json
  16208. responses:
  16209. "200":
  16210. description: OK
  16211. schema:
  16212. $ref: '#/definitions/app.Response'
  16213. "500":
  16214. description: Internal Server Error
  16215. schema:
  16216. $ref: '#/definitions/app.Response'
  16217. security:
  16218. - ApiKeyAuth: []
  16219. summary: 新增客户申请
  16220. tags:
  16221. - 风险管理v3
  16222. /Erms3/DeleteUserInfoApply:
  16223. get:
  16224. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  16225. parameters:
  16226. - description: 用户ID
  16227. in: query
  16228. name: userID
  16229. required: true
  16230. type: integer
  16231. produces:
  16232. - application/json
  16233. responses:
  16234. "200":
  16235. description: OK
  16236. schema:
  16237. $ref: '#/definitions/app.Response'
  16238. "500":
  16239. description: Internal Server Error
  16240. schema:
  16241. $ref: '#/definitions/app.Response'
  16242. security:
  16243. - ApiKeyAuth: []
  16244. summary: 删除客户申请
  16245. tags:
  16246. - 风险管理v3
  16247. /Erms3/ModifyUserInfoApply:
  16248. post:
  16249. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  16250. int, "userstate": 2 }'
  16251. parameters:
  16252. - description: 用户信息
  16253. in: body
  16254. name: jsonBody
  16255. required: true
  16256. schema:
  16257. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  16258. produces:
  16259. - application/json
  16260. responses:
  16261. "200":
  16262. description: OK
  16263. schema:
  16264. $ref: '#/definitions/app.Response'
  16265. "500":
  16266. description: Internal Server Error
  16267. schema:
  16268. $ref: '#/definitions/app.Response'
  16269. security:
  16270. - ApiKeyAuth: []
  16271. summary: 修改客户申请
  16272. tags:
  16273. - 风险管理v3
  16274. /Erms3/QueryBusinessInfo:
  16275. get:
  16276. parameters:
  16277. - description: 资金账号ID列表,用逗号分隔
  16278. in: query
  16279. name: accountids
  16280. required: true
  16281. type: string
  16282. - description: 状态,0为未结束 1为已结束
  16283. in: query
  16284. name: status
  16285. required: true
  16286. type: integer
  16287. produces:
  16288. - application/json
  16289. responses:
  16290. "200":
  16291. description: OK
  16292. schema:
  16293. items:
  16294. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  16295. type: array
  16296. "500":
  16297. description: Internal Server Error
  16298. schema:
  16299. $ref: '#/definitions/app.Response'
  16300. security:
  16301. - ApiKeyAuth: []
  16302. summary: 查询业务表单数据
  16303. tags:
  16304. - 风险管理v3
  16305. /Erms3/QueryPendingAuditContract:
  16306. get:
  16307. parameters:
  16308. - description: 资金账号ID列表,逗号隔开
  16309. in: query
  16310. name: accountids
  16311. required: true
  16312. type: string
  16313. - description: 合同类型 1-采购 -1-销售
  16314. in: query
  16315. name: contracttype
  16316. required: true
  16317. type: integer
  16318. - description: 合同模式 1-普通 2-回购
  16319. in: query
  16320. name: contractmode
  16321. required: true
  16322. type: integer
  16323. produces:
  16324. - application/json
  16325. responses:
  16326. "200":
  16327. description: OK
  16328. schema:
  16329. items:
  16330. $ref: '#/definitions/erms3.QryAuditContractRsp'
  16331. type: array
  16332. "500":
  16333. description: Internal Server Error
  16334. schema:
  16335. $ref: '#/definitions/app.Response'
  16336. security:
  16337. - ApiKeyAuth: []
  16338. summary: 查询待审核合同
  16339. tags:
  16340. - 风险管理v3
  16341. /Erms3/QueryPendingBusiness:
  16342. get:
  16343. parameters:
  16344. - description: 资金账号ID列表,逗号隔开
  16345. in: query
  16346. name: accountids
  16347. required: true
  16348. type: string
  16349. produces:
  16350. - application/json
  16351. responses:
  16352. "200":
  16353. description: OK
  16354. schema:
  16355. items:
  16356. $ref: '#/definitions/erms3.QryPendingBizRsp'
  16357. type: array
  16358. "500":
  16359. description: Internal Server Error
  16360. schema:
  16361. $ref: '#/definitions/app.Response'
  16362. security:
  16363. - ApiKeyAuth: []
  16364. summary: 查询待审核基差贸易业务
  16365. tags:
  16366. - 风险管理v3
  16367. /Erms3/QuerySpotContractAppleForm:
  16368. get:
  16369. parameters:
  16370. - description: 登录账号
  16371. in: query
  16372. name: loginID
  16373. required: true
  16374. type: integer
  16375. produces:
  16376. - application/json
  16377. responses:
  16378. "200":
  16379. description: OK
  16380. schema:
  16381. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  16382. "500":
  16383. description: Internal Server Error
  16384. schema:
  16385. $ref: '#/definitions/app.Response'
  16386. security:
  16387. - ApiKeyAuth: []
  16388. summary: 查询合同申请表单数据
  16389. tags:
  16390. - 风险管理v3
  16391. /Erms3/QuerySpotContractDetail:
  16392. get:
  16393. parameters:
  16394. - description: 资金账号ID列表,用逗号分隔
  16395. in: query
  16396. name: accountids
  16397. required: true
  16398. type: string
  16399. - description: 合同类型,1为采购合同 -1为销售合同
  16400. in: query
  16401. name: contracttype
  16402. required: true
  16403. type: integer
  16404. - description: 合同模式,1为普通合同 2为回购销售合同
  16405. in: query
  16406. name: contractmode
  16407. required: true
  16408. type: integer
  16409. - description: 状态,0为履约中 1为已完成
  16410. in: query
  16411. name: status
  16412. required: true
  16413. type: integer
  16414. produces:
  16415. - application/json
  16416. responses:
  16417. "200":
  16418. description: OK
  16419. schema:
  16420. items:
  16421. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  16422. type: array
  16423. "500":
  16424. description: Internal Server Error
  16425. schema:
  16426. $ref: '#/definitions/app.Response'
  16427. security:
  16428. - ApiKeyAuth: []
  16429. summary: 查询合同详细信息
  16430. tags:
  16431. - 风险管理v3
  16432. /Erms3/QueryUserInfoApplies:
  16433. get:
  16434. parameters:
  16435. - description: 页码
  16436. in: query
  16437. name: page
  16438. type: integer
  16439. - description: 每页条数
  16440. in: query
  16441. name: pagesize
  16442. type: integer
  16443. - description: 客户名称,支持模糊查询
  16444. in: query
  16445. name: userName
  16446. type: string
  16447. produces:
  16448. - application/json
  16449. responses:
  16450. "200":
  16451. description: OK
  16452. schema:
  16453. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  16454. "500":
  16455. description: Internal Server Error
  16456. schema:
  16457. $ref: '#/definitions/app.Response'
  16458. security:
  16459. - ApiKeyAuth: []
  16460. summary: 客户申请信息查询
  16461. tags:
  16462. - 风险管理v3
  16463. /Erms3/QueryUserInfos:
  16464. get:
  16465. parameters:
  16466. - description: 页码
  16467. in: query
  16468. name: page
  16469. type: integer
  16470. - description: 每页条数
  16471. in: query
  16472. name: pagesize
  16473. type: integer
  16474. - description: 客户名称,支持模糊查询
  16475. in: query
  16476. name: userName
  16477. type: string
  16478. produces:
  16479. - application/json
  16480. responses:
  16481. "200":
  16482. description: OK
  16483. schema:
  16484. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  16485. "500":
  16486. description: Internal Server Error
  16487. schema:
  16488. $ref: '#/definitions/app.Response'
  16489. security:
  16490. - ApiKeyAuth: []
  16491. summary: 客户信息查询
  16492. tags:
  16493. - 风险管理v3
  16494. /HSBY/GetHsbyMyCount:
  16495. get:
  16496. description: 说明: 不包括已完成的数量。
  16497. parameters:
  16498. - description: 资金账户列表,格式:1,2,3
  16499. in: query
  16500. name: accountIDs
  16501. required: true
  16502. type: string
  16503. produces:
  16504. - application/json
  16505. responses:
  16506. "200":
  16507. description: OK
  16508. schema:
  16509. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  16510. "500":
  16511. description: Internal Server Error
  16512. schema:
  16513. $ref: '#/definitions/app.Response'
  16514. security:
  16515. - ApiKeyAuth: []
  16516. summary: 获取我的订单与包裹数量
  16517. tags:
  16518. - 定制【海商报业】
  16519. /HSBY/QueryClientFixedADConfigs:
  16520. get:
  16521. produces:
  16522. - application/json
  16523. responses:
  16524. "200":
  16525. description: OK
  16526. schema:
  16527. $ref: '#/definitions/models.Clientfixedadconfig'
  16528. "500":
  16529. description: Internal Server Error
  16530. schema:
  16531. $ref: '#/definitions/app.Response'
  16532. security:
  16533. - ApiKeyAuth: []
  16534. summary: 获取终端固定广告配置
  16535. tags:
  16536. - 定制【海商报业】
  16537. /HSBY/QueryHsbyBuyMyTradeDetail:
  16538. get:
  16539. parameters:
  16540. - description: 页码
  16541. in: query
  16542. name: page
  16543. type: integer
  16544. - description: 每页条数
  16545. in: query
  16546. name: pagesize
  16547. type: integer
  16548. - description: 资金账户列表,格式:1,2,3
  16549. in: query
  16550. name: accountIDs
  16551. required: true
  16552. type: string
  16553. produces:
  16554. - application/json
  16555. responses:
  16556. "200":
  16557. description: OK
  16558. schema:
  16559. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  16560. "500":
  16561. description: Internal Server Error
  16562. schema:
  16563. $ref: '#/definitions/app.Response'
  16564. security:
  16565. - ApiKeyAuth: []
  16566. summary: 查询"我的订单 - 已完成"单据信息
  16567. tags:
  16568. - 定制【海商报业】
  16569. /HSBY/QueryHsbyGoodsOrderDetails:
  16570. get:
  16571. description: 说明:查询结果已按委托价格和委托时间排序
  16572. parameters:
  16573. - description: 商品ID
  16574. in: query
  16575. name: goodsID
  16576. required: true
  16577. type: integer
  16578. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  16579. in: query
  16580. name: accountIDs
  16581. type: string
  16582. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  16583. in: query
  16584. name: buyOrSell
  16585. type: integer
  16586. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  16587. in: query
  16588. name: price
  16589. type: number
  16590. - description: 档位,不传则默认为3档
  16591. in: query
  16592. name: speed
  16593. type: integer
  16594. produces:
  16595. - application/json
  16596. responses:
  16597. "200":
  16598. description: OK
  16599. schema:
  16600. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  16601. "500":
  16602. description: Internal Server Error
  16603. schema:
  16604. $ref: '#/definitions/app.Response'
  16605. security:
  16606. - ApiKeyAuth: []
  16607. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  16608. tags:
  16609. - 定制【海商报业】
  16610. /HSBY/QueryHsbyListingGoodsDetail:
  16611. get:
  16612. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  16613. parameters:
  16614. - description: 商品ID
  16615. in: query
  16616. name: goodsID
  16617. required: true
  16618. type: integer
  16619. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  16620. in: query
  16621. name: accountID
  16622. type: integer
  16623. produces:
  16624. - application/json
  16625. responses:
  16626. "200":
  16627. description: OK
  16628. schema:
  16629. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  16630. "500":
  16631. description: Internal Server Error
  16632. schema:
  16633. $ref: '#/definitions/app.Response'
  16634. security:
  16635. - ApiKeyAuth: []
  16636. summary: 查询二级市场(挂牌点选)商品信息详情
  16637. tags:
  16638. - 定制【海商报业】
  16639. /HSBY/QueryHsbyMarketGoodsDetail:
  16640. get:
  16641. parameters:
  16642. - description: 委托单号
  16643. in: query
  16644. name: orderID
  16645. required: true
  16646. type: integer
  16647. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  16648. in: query
  16649. name: accountID
  16650. type: integer
  16651. produces:
  16652. - application/json
  16653. responses:
  16654. "200":
  16655. description: OK
  16656. schema:
  16657. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  16658. "500":
  16659. description: Internal Server Error
  16660. schema:
  16661. $ref: '#/definitions/app.Response'
  16662. security:
  16663. - ApiKeyAuth: []
  16664. summary: 查询三级市场(商城)商品信息详情
  16665. tags:
  16666. - 定制【海商报业】
  16667. /HSBY/QueryHsbyMarketGoodses:
  16668. get:
  16669. parameters:
  16670. - description: 页码
  16671. in: query
  16672. name: page
  16673. type: integer
  16674. - description: 每页条数
  16675. in: query
  16676. name: pagesize
  16677. type: integer
  16678. - description: 市场ID列表,格式:1,2,3
  16679. in: query
  16680. name: marketIDs
  16681. required: true
  16682. type: string
  16683. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  16684. in: query
  16685. name: accountID
  16686. required: true
  16687. type: integer
  16688. - description: 类别ID
  16689. in: query
  16690. name: categoryID
  16691. type: integer
  16692. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  16693. in: query
  16694. name: goodsIDs
  16695. type: string
  16696. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  16697. in: query
  16698. name: couponTypeID
  16699. type: integer
  16700. produces:
  16701. - application/json
  16702. responses:
  16703. "200":
  16704. description: OK
  16705. schema:
  16706. $ref: '#/definitions/models.HsbyMarketGoods'
  16707. "500":
  16708. description: Internal Server Error
  16709. schema:
  16710. $ref: '#/definitions/app.Response'
  16711. security:
  16712. - ApiKeyAuth: []
  16713. summary: 查询特卖商品列表(三级商城)
  16714. tags:
  16715. - 定制【海商报业】
  16716. /HSBY/QueryHsbyMarkets:
  16717. get:
  16718. produces:
  16719. - application/json
  16720. responses:
  16721. "200":
  16722. description: OK
  16723. schema:
  16724. $ref: '#/definitions/models.HsbyMarketInfo'
  16725. "500":
  16726. description: Internal Server Error
  16727. schema:
  16728. $ref: '#/definitions/app.Response'
  16729. security:
  16730. - ApiKeyAuth: []
  16731. summary: 查询海商报业相关市场信息
  16732. tags:
  16733. - 定制【海商报业】
  16734. /HSBY/QueryHsbyMyBuyOrderDetails:
  16735. get:
  16736. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  16737. parameters:
  16738. - description: 资金账户列表,格式:1,2,3
  16739. in: query
  16740. name: accountIDs
  16741. required: true
  16742. type: string
  16743. produces:
  16744. - application/json
  16745. responses:
  16746. "200":
  16747. description: OK
  16748. schema:
  16749. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  16750. "500":
  16751. description: Internal Server Error
  16752. schema:
  16753. $ref: '#/definitions/app.Response'
  16754. security:
  16755. - ApiKeyAuth: []
  16756. summary: 查询“我的订单”信息
  16757. tags:
  16758. - 定制【海商报业】
  16759. /HSBY/QueryHsbyMyGoods:
  16760. get:
  16761. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  16762. parameters:
  16763. - description: 资金账户列表,格式:1,2,3
  16764. in: query
  16765. name: accountIDs
  16766. required: true
  16767. type: string
  16768. produces:
  16769. - application/json
  16770. responses:
  16771. "200":
  16772. description: OK
  16773. schema:
  16774. $ref: '#/definitions/models.HsbyMyGoods'
  16775. "500":
  16776. description: Internal Server Error
  16777. schema:
  16778. $ref: '#/definitions/app.Response'
  16779. security:
  16780. - ApiKeyAuth: []
  16781. summary: 查询“我的商品”信息
  16782. tags:
  16783. - 定制【海商报业】
  16784. /HSBY/QueryHsbyMyPackages:
  16785. get:
  16786. parameters:
  16787. - description: 资金账户列表,格式:1,2,3
  16788. in: query
  16789. name: accountIDs
  16790. required: true
  16791. type: string
  16792. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  16793. in: query
  16794. name: takeOrderStatus
  16795. type: integer
  16796. produces:
  16797. - application/json
  16798. responses:
  16799. "200":
  16800. description: OK
  16801. schema:
  16802. $ref: '#/definitions/models.HsbyMyPackage'
  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/QueryHsbyPreGoodsDetail:
  16813. get:
  16814. parameters:
  16815. - description: 商品ID
  16816. in: query
  16817. name: goodsID
  16818. required: true
  16819. type: integer
  16820. - description: 资金账户,主要用于获取预售商品购买上限
  16821. in: query
  16822. name: accountID
  16823. type: integer
  16824. produces:
  16825. - application/json
  16826. responses:
  16827. "200":
  16828. description: OK
  16829. schema:
  16830. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  16831. "500":
  16832. description: Internal Server Error
  16833. schema:
  16834. $ref: '#/definitions/app.Response'
  16835. security:
  16836. - ApiKeyAuth: []
  16837. summary: 查询一级市场(预售)商品信息详情
  16838. tags:
  16839. - 定制【海商报业】
  16840. /HSBY/QueryHsbyPreGoodses:
  16841. get:
  16842. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  16843. parameters:
  16844. - description: 页码
  16845. in: query
  16846. name: page
  16847. type: integer
  16848. - description: 每页条数
  16849. in: query
  16850. name: pagesize
  16851. type: integer
  16852. - description: 市场ID列表,格式:1,2,3
  16853. in: query
  16854. name: marketIDs
  16855. required: true
  16856. type: string
  16857. - description: 目的地(省)ID
  16858. in: query
  16859. name: descProvinceID
  16860. type: integer
  16861. - description: 目的地(市)ID
  16862. in: query
  16863. name: descCityID
  16864. type: integer
  16865. produces:
  16866. - application/json
  16867. responses:
  16868. "200":
  16869. description: OK
  16870. schema:
  16871. $ref: '#/definitions/models.HsbyPreGoods'
  16872. "500":
  16873. description: Internal Server Error
  16874. schema:
  16875. $ref: '#/definitions/app.Response'
  16876. security:
  16877. - ApiKeyAuth: []
  16878. summary: 查询新品上市商品列表(一级市场预售)
  16879. tags:
  16880. - 定制【海商报业】
  16881. /HSBY/QueryHsbySellMyDetails:
  16882. get:
  16883. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  16884. parameters:
  16885. - description: 页码
  16886. in: query
  16887. name: page
  16888. type: integer
  16889. - description: 每页条数
  16890. in: query
  16891. name: pagesize
  16892. type: integer
  16893. - description: 资金账户列表,格式:1,2,3
  16894. in: query
  16895. name: accountIDs
  16896. required: true
  16897. type: string
  16898. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  16899. in: query
  16900. name: orderType
  16901. type: integer
  16902. produces:
  16903. - application/json
  16904. responses:
  16905. "200":
  16906. description: OK
  16907. schema:
  16908. $ref: '#/definitions/models.HsbySellMyDetail'
  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/QueryHsbyTopGoodses:
  16919. get:
  16920. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  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.HsbyTopGoods'
  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/QueryHsbyVisitorMarketGoodsDetail:
  16960. get:
  16961. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  16962. parameters:
  16963. - description: 商品ID
  16964. in: query
  16965. name: goodsID
  16966. required: true
  16967. type: integer
  16968. produces:
  16969. - application/json
  16970. responses:
  16971. "200":
  16972. description: OK
  16973. schema:
  16974. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  16975. "500":
  16976. description: Internal Server Error
  16977. schema:
  16978. $ref: '#/definitions/app.Response'
  16979. security:
  16980. - ApiKeyAuth: []
  16981. summary: 查询游客三级市场(商城)商品信息详情
  16982. tags:
  16983. - 定制【海商报业】
  16984. /HSBY/QueryHsbyVisitorMarketGoodses:
  16985. get:
  16986. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  16987. parameters:
  16988. - description: 页码
  16989. in: query
  16990. name: page
  16991. type: integer
  16992. - description: 每页条数
  16993. in: query
  16994. name: pagesize
  16995. type: integer
  16996. - description: 市场ID列表,格式:1,2,3
  16997. in: query
  16998. name: marketIDs
  16999. required: true
  17000. type: string
  17001. - description: 类别ID
  17002. in: query
  17003. name: categoryID
  17004. type: integer
  17005. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  17006. in: query
  17007. name: goodsIDs
  17008. type: string
  17009. produces:
  17010. - application/json
  17011. responses:
  17012. "200":
  17013. description: OK
  17014. schema:
  17015. $ref: '#/definitions/models.HsbyMarketGoods'
  17016. "500":
  17017. description: Internal Server Error
  17018. schema:
  17019. $ref: '#/definitions/app.Response'
  17020. security:
  17021. - ApiKeyAuth: []
  17022. summary: 查询游客特卖商品列表(三级商城)
  17023. tags:
  17024. - 定制【海商报业】
  17025. /HSBY/QueryMyCollectionOrders:
  17026. get:
  17027. parameters:
  17028. - description: 页码
  17029. in: query
  17030. name: page
  17031. type: integer
  17032. - description: 每页条数
  17033. in: query
  17034. name: pagesize
  17035. type: integer
  17036. - description: 资金账户,格式:1,2,3
  17037. in: query
  17038. name: accountIDs
  17039. required: true
  17040. type: string
  17041. produces:
  17042. - application/json
  17043. responses:
  17044. "200":
  17045. description: OK
  17046. schema:
  17047. $ref: '#/definitions/models.HsbySellCollectionOrder'
  17048. "500":
  17049. description: Internal Server Error
  17050. schema:
  17051. $ref: '#/definitions/app.Response'
  17052. security:
  17053. - ApiKeyAuth: []
  17054. summary: 我的闲置中收款信息查询
  17055. tags:
  17056. - 定制【海商报业】
  17057. /HSBY/QueryMyCouponHolds:
  17058. get:
  17059. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  17060. parameters:
  17061. - description: 资金账户列表,格式:1,2,3
  17062. in: query
  17063. name: accountIDs
  17064. required: true
  17065. type: string
  17066. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  17067. in: query
  17068. name: holdStatus
  17069. type: string
  17070. produces:
  17071. - application/json
  17072. responses:
  17073. "200":
  17074. description: OK
  17075. schema:
  17076. $ref: '#/definitions/models.MyCouponHold'
  17077. "500":
  17078. description: Internal Server Error
  17079. schema:
  17080. $ref: '#/definitions/app.Response'
  17081. security:
  17082. - ApiKeyAuth: []
  17083. summary: 我的优惠卷持仓查询
  17084. tags:
  17085. - 定制【海商报业】
  17086. /HSBY/QueryMyCoupons:
  17087. get:
  17088. parameters:
  17089. - description: 资金账户列表,格式:1,2,3
  17090. in: query
  17091. name: accountIDs
  17092. required: true
  17093. type: string
  17094. - description: 商品ID, 一般与sellUserID配套传入
  17095. in: query
  17096. name: goodsID
  17097. type: integer
  17098. - description: 卖方UserID
  17099. in: query
  17100. name: sellUserID
  17101. type: integer
  17102. produces:
  17103. - application/json
  17104. responses:
  17105. "200":
  17106. description: OK
  17107. schema:
  17108. $ref: '#/definitions/models.MyCoupon'
  17109. "500":
  17110. description: Internal Server Error
  17111. schema:
  17112. $ref: '#/definitions/app.Response'
  17113. security:
  17114. - ApiKeyAuth: []
  17115. summary: 我的优惠卷查询
  17116. tags:
  17117. - 定制【海商报业】
  17118. /HSBY/QueryMyPayOrders:
  17119. get:
  17120. parameters:
  17121. - description: 页码
  17122. in: query
  17123. name: page
  17124. type: integer
  17125. - description: 每页条数
  17126. in: query
  17127. name: pagesize
  17128. type: integer
  17129. - description: 资金账户列表,格式:1,2,3
  17130. in: query
  17131. name: accountIDs
  17132. required: true
  17133. type: string
  17134. - description: 买方委托单号
  17135. in: query
  17136. name: buyOrderID
  17137. type: integer
  17138. - description: 卖方委托单号
  17139. in: query
  17140. name: sellOrderID
  17141. type: integer
  17142. produces:
  17143. - application/json
  17144. responses:
  17145. "200":
  17146. description: OK
  17147. schema:
  17148. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  17149. "500":
  17150. description: Internal Server Error
  17151. schema:
  17152. $ref: '#/definitions/app.Response'
  17153. security:
  17154. - ApiKeyAuth: []
  17155. summary: 获取我的订单中待付款信息
  17156. tags:
  17157. - 定制【海商报业】
  17158. /HSBY/QueryMyUsedCoupon:
  17159. get:
  17160. parameters:
  17161. - description: 资金账户列表,格式:1,2,3
  17162. in: query
  17163. name: accountIDs
  17164. required: true
  17165. type: string
  17166. produces:
  17167. - application/json
  17168. responses:
  17169. "200":
  17170. description: OK
  17171. schema:
  17172. $ref: '#/definitions/models.MyUsedCoupon'
  17173. "500":
  17174. description: Internal Server Error
  17175. schema:
  17176. $ref: '#/definitions/app.Response'
  17177. security:
  17178. - ApiKeyAuth: []
  17179. summary: 已使用优惠卷查询
  17180. tags:
  17181. - 定制【海商报业】
  17182. /HSBY/QueryProvincesAndCities:
  17183. get:
  17184. description: 查询结果只包括二级市场商品已关连的省市信息。
  17185. parameters:
  17186. - description: 省ID
  17187. in: query
  17188. name: provinceID
  17189. type: integer
  17190. produces:
  17191. - application/json
  17192. responses:
  17193. "200":
  17194. description: OK
  17195. schema:
  17196. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  17197. "500":
  17198. description: Internal Server Error
  17199. schema:
  17200. $ref: '#/definitions/app.Response'
  17201. security:
  17202. - ApiKeyAuth: []
  17203. summary: 查询省市信息(不包括区)
  17204. tags:
  17205. - 定制【海商报业】
  17206. /HSBY/SetHsbyMyPackagesStatus:
  17207. post:
  17208. parameters:
  17209. - description: 提货单号
  17210. in: query
  17211. name: takeOrderID
  17212. required: true
  17213. type: string
  17214. - description: 资金账号
  17215. in: query
  17216. name: accountID
  17217. required: true
  17218. type: integer
  17219. produces:
  17220. - application/json
  17221. responses:
  17222. "200":
  17223. description: OK
  17224. schema:
  17225. $ref: '#/definitions/app.Response'
  17226. "500":
  17227. description: Internal Server Error
  17228. schema:
  17229. $ref: '#/definitions/app.Response'
  17230. security:
  17231. - ApiKeyAuth: []
  17232. summary: 设置我的包裹已收货状态
  17233. tags:
  17234. - 定制【海商报业】
  17235. /Market/QueryGoodsesByLoginID:
  17236. get:
  17237. parameters:
  17238. - description: 登录账号
  17239. in: query
  17240. name: loginID
  17241. required: true
  17242. type: integer
  17243. - description: 市场ID列表,格式:1,2,3
  17244. in: query
  17245. name: marketIDs
  17246. type: string
  17247. produces:
  17248. - application/json
  17249. responses:
  17250. "200":
  17251. description: OK
  17252. schema:
  17253. $ref: '#/definitions/models.Goods'
  17254. "500":
  17255. description: Internal Server Error
  17256. schema:
  17257. $ref: '#/definitions/app.Response'
  17258. security:
  17259. - ApiKeyAuth: []
  17260. summary: 获取登录账号有权限的商品信息
  17261. tags:
  17262. - 通用市场
  17263. /Market/QueryMarketRun:
  17264. get:
  17265. parameters:
  17266. - description: 市场ID,不传返回所有
  17267. in: query
  17268. name: marketID
  17269. type: integer
  17270. produces:
  17271. - application/json
  17272. responses:
  17273. "200":
  17274. description: OK
  17275. schema:
  17276. $ref: '#/definitions/models.Marketrun'
  17277. "500":
  17278. description: Internal Server Error
  17279. schema:
  17280. $ref: '#/definitions/app.Response'
  17281. security:
  17282. - ApiKeyAuth: []
  17283. summary: 查询市场运行信息
  17284. tags:
  17285. - 通用市场
  17286. /Market/QueryMarketsByLoginID:
  17287. get:
  17288. parameters:
  17289. - description: 登录账号
  17290. in: query
  17291. name: loginID
  17292. required: true
  17293. type: integer
  17294. produces:
  17295. - application/json
  17296. responses:
  17297. "200":
  17298. description: OK
  17299. schema:
  17300. $ref: '#/definitions/models.Market'
  17301. "500":
  17302. description: Internal Server Error
  17303. schema:
  17304. $ref: '#/definitions/app.Response'
  17305. security:
  17306. - ApiKeyAuth: []
  17307. summary: 获取登录账号有权限的市场信息
  17308. tags:
  17309. - 通用市场
  17310. /Order/QueryHisTradeDetail:
  17311. get:
  17312. parameters:
  17313. - description: 资金账户 - 格式:1,2,3
  17314. in: query
  17315. name: accountID
  17316. required: true
  17317. type: string
  17318. - description: 成交单号
  17319. in: query
  17320. name: tradeID
  17321. type: integer
  17322. - description: 委托单号
  17323. in: query
  17324. name: orderID
  17325. type: integer
  17326. - description: 交易模式 - 格式:1,2,3
  17327. in: query
  17328. name: tradeMode
  17329. type: string
  17330. - description: 委托单据类型
  17331. in: query
  17332. name: buildType
  17333. type: integer
  17334. - description: 成交类别 - 格式:1,2,3
  17335. in: query
  17336. name: tradeType
  17337. type: string
  17338. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  17339. in: query
  17340. name: startDate
  17341. type: string
  17342. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  17343. in: query
  17344. name: endDate
  17345. type: string
  17346. produces:
  17347. - application/json
  17348. responses:
  17349. "200":
  17350. description: OK
  17351. schema:
  17352. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  17353. "500":
  17354. description: Internal Server Error
  17355. schema:
  17356. $ref: '#/definitions/app.Response'
  17357. security:
  17358. - ApiKeyAuth: []
  17359. summary: 历史成交单查询(合约市场)
  17360. tags:
  17361. - 通用单据
  17362. /Order/QueryHisTradeOrderDetail:
  17363. get:
  17364. parameters:
  17365. - description: 资金账户 - 格式:1,2,3
  17366. in: query
  17367. name: accountID
  17368. required: true
  17369. type: string
  17370. - description: 交易模式 - 格式:1,2,3
  17371. in: query
  17372. name: tradeMode
  17373. type: string
  17374. - description: 委托状态 - 格式:1,2,3
  17375. in: query
  17376. name: orderStatus
  17377. type: string
  17378. - description: 委托单号
  17379. in: query
  17380. name: orderID
  17381. type: integer
  17382. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  17383. in: query
  17384. name: startDate
  17385. type: string
  17386. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  17387. in: query
  17388. name: endDate
  17389. type: string
  17390. produces:
  17391. - application/json
  17392. responses:
  17393. "200":
  17394. description: OK
  17395. schema:
  17396. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  17397. "500":
  17398. description: Internal Server Error
  17399. schema:
  17400. $ref: '#/definitions/app.Response'
  17401. security:
  17402. - ApiKeyAuth: []
  17403. summary: 历史委托单查询请求(合约市场)
  17404. tags:
  17405. - 通用单据
  17406. /Order/QueryTradeDetail:
  17407. get:
  17408. parameters:
  17409. - description: 资金账户 - 格式:1,2,3
  17410. in: query
  17411. name: accountID
  17412. required: true
  17413. type: string
  17414. - description: 成交单号
  17415. in: query
  17416. name: tradeID
  17417. type: integer
  17418. - description: 委托单号
  17419. in: query
  17420. name: orderID
  17421. type: integer
  17422. - description: 交易模式 - 格式:1,2,3
  17423. in: query
  17424. name: tradeMode
  17425. type: string
  17426. - description: 委托单据类型
  17427. in: query
  17428. name: buildType
  17429. type: integer
  17430. - description: 成交类别 - 格式:1,2,3
  17431. in: query
  17432. name: tradeType
  17433. type: string
  17434. produces:
  17435. - application/json
  17436. responses:
  17437. "200":
  17438. description: OK
  17439. schema:
  17440. $ref: '#/definitions/order.QueryTradeDetailRsp'
  17441. "500":
  17442. description: Internal Server Error
  17443. schema:
  17444. $ref: '#/definitions/app.Response'
  17445. security:
  17446. - ApiKeyAuth: []
  17447. summary: 成交单查询(合约市场)
  17448. tags:
  17449. - 通用单据
  17450. /Order/QueryTradeOrderDetail:
  17451. get:
  17452. parameters:
  17453. - description: 资金账户 - 格式:1,2,3
  17454. in: query
  17455. name: accountID
  17456. required: true
  17457. type: string
  17458. - description: 交易模式 - 格式:1,2,3
  17459. in: query
  17460. name: tradeMode
  17461. type: string
  17462. - description: 委托状态 - 格式:1,2,3
  17463. in: query
  17464. name: orderStatus
  17465. type: string
  17466. - description: 委托单号
  17467. in: query
  17468. name: orderID
  17469. type: integer
  17470. produces:
  17471. - application/json
  17472. responses:
  17473. "200":
  17474. description: OK
  17475. schema:
  17476. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  17477. "500":
  17478. description: Internal Server Error
  17479. schema:
  17480. $ref: '#/definitions/app.Response'
  17481. security:
  17482. - ApiKeyAuth: []
  17483. summary: 委托单查询请求(合约市场)
  17484. tags:
  17485. - 通用单据
  17486. /Order/QueryTradePosition:
  17487. get:
  17488. parameters:
  17489. - description: 资金账户 - 格式:1,2,3
  17490. in: query
  17491. name: accountID
  17492. required: true
  17493. type: string
  17494. - description: 交易模式 - 格式:1,2,3
  17495. in: query
  17496. name: tradeMode
  17497. type: string
  17498. produces:
  17499. - application/json
  17500. responses:
  17501. "200":
  17502. description: OK
  17503. schema:
  17504. $ref: '#/definitions/order.QueryTradePositionRsp'
  17505. "500":
  17506. description: Internal Server Error
  17507. schema:
  17508. $ref: '#/definitions/app.Response'
  17509. security:
  17510. - ApiKeyAuth: []
  17511. summary: 持仓汇总查询(合约市场)
  17512. tags:
  17513. - 通用单据
  17514. /Quote/QueryHistoryDatas:
  17515. get:
  17516. parameters:
  17517. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  17518. 日线'
  17519. in: query
  17520. name: cycleType
  17521. required: true
  17522. type: integer
  17523. - description: 商品代码
  17524. in: query
  17525. name: goodsCode
  17526. required: true
  17527. type: string
  17528. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  17529. in: query
  17530. name: startTime
  17531. type: string
  17532. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  17533. in: query
  17534. name: endTime
  17535. type: string
  17536. - description: 条数
  17537. in: query
  17538. name: count
  17539. type: integer
  17540. - description: 是否按时间顺序排序(默认为时间倒序排序)
  17541. in: query
  17542. name: isAsc
  17543. type: boolean
  17544. produces:
  17545. - application/json
  17546. responses:
  17547. "200":
  17548. description: OK
  17549. schema:
  17550. $ref: '#/definitions/quote.HistoryData'
  17551. "500":
  17552. description: Internal Server Error
  17553. schema:
  17554. $ref: '#/definitions/app.Response'
  17555. security:
  17556. - ApiKeyAuth: []
  17557. summary: 查询行情历史数据
  17558. tags:
  17559. - 行情服务
  17560. /Quote/QueryHistoryTikDatas:
  17561. get:
  17562. parameters:
  17563. - description: 商品代码
  17564. in: query
  17565. name: goodsCode
  17566. required: true
  17567. type: string
  17568. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  17569. in: query
  17570. name: startTime
  17571. type: string
  17572. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  17573. in: query
  17574. name: endTime
  17575. type: string
  17576. - description: 条数
  17577. in: query
  17578. name: count
  17579. type: integer
  17580. - description: 是否按时间顺序排序(默认为时间倒序排序)
  17581. in: query
  17582. name: isAsc
  17583. type: boolean
  17584. produces:
  17585. - application/json
  17586. responses:
  17587. "200":
  17588. description: OK
  17589. schema:
  17590. $ref: '#/definitions/quote.HistoryTikData'
  17591. "500":
  17592. description: Internal Server Error
  17593. schema:
  17594. $ref: '#/definitions/app.Response'
  17595. security:
  17596. - ApiKeyAuth: []
  17597. summary: 查询行情Tik数据
  17598. tags:
  17599. - 行情服务
  17600. /Quote/QueryQuoteDay:
  17601. get:
  17602. parameters:
  17603. - description: 商品代码列表,格式:CU2102,CU2103,AL2107
  17604. in: query
  17605. name: goodsCodes
  17606. required: true
  17607. type: string
  17608. produces:
  17609. - application/json
  17610. responses:
  17611. "200":
  17612. description: OK
  17613. schema:
  17614. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  17615. "500":
  17616. description: Internal Server Error
  17617. schema:
  17618. $ref: '#/definitions/app.Response'
  17619. security:
  17620. - ApiKeyAuth: []
  17621. summary: 获取商品盘面信息
  17622. tags:
  17623. - 行情服务
  17624. /Quote/QueryTSData:
  17625. get:
  17626. parameters:
  17627. - description: 商品代码
  17628. in: query
  17629. name: goodsCode
  17630. required: true
  17631. type: string
  17632. produces:
  17633. - application/json
  17634. responses:
  17635. "200":
  17636. description: OK
  17637. schema:
  17638. $ref: '#/definitions/quote.QueryTSDataRsp'
  17639. "500":
  17640. description: Internal Server Error
  17641. schema:
  17642. $ref: '#/definitions/app.Response'
  17643. security:
  17644. - ApiKeyAuth: []
  17645. summary: 分时图数据查询
  17646. tags:
  17647. - 行情服务
  17648. /SZDZ/QueryConvertConfig:
  17649. get:
  17650. parameters:
  17651. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  17652. 6:交易转花生米(不设置)
  17653. in: query
  17654. name: convertType
  17655. type: integer
  17656. - description: 外部商品代码[JD\PD]
  17657. in: query
  17658. name: outerGoodsCode
  17659. type: string
  17660. - description: 内部商品ID列表[交易],格式:1,2,3
  17661. in: query
  17662. name: innerGoodsIDs
  17663. type: string
  17664. produces:
  17665. - application/json
  17666. responses:
  17667. "200":
  17668. description: OK
  17669. schema:
  17670. $ref: '#/definitions/models.Szdz3convertconfig'
  17671. "500":
  17672. description: Internal Server Error
  17673. schema:
  17674. $ref: '#/definitions/app.Response'
  17675. security:
  17676. - ApiKeyAuth: []
  17677. summary: 查询交易系统转换设置
  17678. tags:
  17679. - 定制【尚志大宗】
  17680. /SZDZ/QueryConvertLog:
  17681. get:
  17682. parameters:
  17683. - description: 资金账户 - 格式:1,2,3
  17684. in: query
  17685. name: accountID
  17686. required: true
  17687. type: string
  17688. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  17689. in: query
  17690. name: startDate
  17691. type: string
  17692. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  17693. in: query
  17694. name: endDate
  17695. type: string
  17696. produces:
  17697. - application/json
  17698. responses:
  17699. "200":
  17700. description: OK
  17701. schema:
  17702. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  17703. "500":
  17704. description: Internal Server Error
  17705. schema:
  17706. $ref: '#/definitions/app.Response'
  17707. security:
  17708. - ApiKeyAuth: []
  17709. summary: 交易系统转换流水查询
  17710. tags:
  17711. - 定制【尚志大宗】
  17712. /SZDZ/QueryGoodsPickup:
  17713. get:
  17714. parameters:
  17715. - description: 资金账户 - 格式:1,2,3
  17716. in: query
  17717. name: accountID
  17718. required: true
  17719. type: string
  17720. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  17721. in: query
  17722. name: takeOrderStatus
  17723. type: integer
  17724. produces:
  17725. - application/json
  17726. responses:
  17727. "200":
  17728. description: OK
  17729. schema:
  17730. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  17731. "500":
  17732. description: Internal Server Error
  17733. schema:
  17734. $ref: '#/definitions/app.Response'
  17735. security:
  17736. - ApiKeyAuth: []
  17737. summary: 商品提货单查询
  17738. tags:
  17739. - 定制【尚志大宗】
  17740. /SZDZ/QueryRecieptOrder:
  17741. get:
  17742. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  17743. parameters:
  17744. - description: 页码
  17745. in: query
  17746. name: page
  17747. type: integer
  17748. - description: 每页条数
  17749. in: query
  17750. name: pagesize
  17751. type: integer
  17752. - description: 商品ID
  17753. in: query
  17754. name: goodsID
  17755. required: true
  17756. type: integer
  17757. - description: 所属账户名称
  17758. in: query
  17759. name: accountName
  17760. type: string
  17761. - description: 市场ID
  17762. in: query
  17763. name: marketID
  17764. type: integer
  17765. - description: 方向 - 0:买 1:卖
  17766. in: query
  17767. name: buyorsell
  17768. required: true
  17769. type: integer
  17770. produces:
  17771. - application/json
  17772. responses:
  17773. "200":
  17774. description: OK
  17775. schema:
  17776. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  17777. "500":
  17778. description: Internal Server Error
  17779. schema:
  17780. $ref: '#/definitions/app.Response'
  17781. security:
  17782. - ApiKeyAuth: []
  17783. summary: 点选挂牌委托单据查询(摘牌大厅)
  17784. tags:
  17785. - 定制【尚志大宗】
  17786. /SZDZ/QuerySZDZTradePosition:
  17787. get:
  17788. parameters:
  17789. - description: 资金账户
  17790. in: query
  17791. name: accountID
  17792. required: true
  17793. type: integer
  17794. produces:
  17795. - application/json
  17796. responses:
  17797. "200":
  17798. description: OK
  17799. schema:
  17800. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  17801. "500":
  17802. description: Internal Server Error
  17803. schema:
  17804. $ref: '#/definitions/app.Response'
  17805. security:
  17806. - ApiKeyAuth: []
  17807. summary: 持仓汇总查询(尚志大宗)
  17808. tags:
  17809. - 定制【尚志大宗】
  17810. /SZDZ/SearchWhite:
  17811. get:
  17812. parameters:
  17813. - description: 用户ID
  17814. in: query
  17815. name: userID
  17816. required: true
  17817. type: integer
  17818. produces:
  17819. - application/json
  17820. responses:
  17821. "200":
  17822. description: OK
  17823. schema:
  17824. $ref: '#/definitions/models.Szdz3searchwhitelist'
  17825. "500":
  17826. description: Internal Server Error
  17827. schema:
  17828. $ref: '#/definitions/app.Response'
  17829. security:
  17830. - ApiKeyAuth: []
  17831. summary: 搜索白名单
  17832. tags:
  17833. - 定制【尚志大宗】
  17834. /Search/SearchGoodses:
  17835. get:
  17836. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  17837. parameters:
  17838. - description: 检索内容
  17839. in: query
  17840. name: content
  17841. required: true
  17842. type: string
  17843. - description: 交易模式,格式:1,2,3
  17844. in: query
  17845. name: tradeModes
  17846. type: string
  17847. produces:
  17848. - application/json
  17849. responses:
  17850. "200":
  17851. description: OK
  17852. schema:
  17853. $ref: '#/definitions/models.SearchGoods'
  17854. "500":
  17855. description: Internal Server Error
  17856. schema:
  17857. $ref: '#/definitions/app.Response'
  17858. summary: 检索商品信息
  17859. tags:
  17860. - 检索服务
  17861. /TaAccount/GetTaAccounts:
  17862. get:
  17863. parameters:
  17864. - description: 登录账户
  17865. in: query
  17866. name: loginID
  17867. required: true
  17868. type: integer
  17869. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  17870. in: query
  17871. name: taAccountType
  17872. type: integer
  17873. produces:
  17874. - application/json
  17875. responses:
  17876. "200":
  17877. description: OK
  17878. schema:
  17879. $ref: '#/definitions/models.Taaccount'
  17880. "500":
  17881. description: Internal Server Error
  17882. schema:
  17883. $ref: '#/definitions/app.Response'
  17884. security:
  17885. - ApiKeyAuth: []
  17886. summary: 获取资金账户信息
  17887. tags:
  17888. - 资金账户
  17889. /TaAccount/QueryAmountLog:
  17890. get:
  17891. parameters:
  17892. - description: 页码
  17893. in: query
  17894. name: page
  17895. type: integer
  17896. - description: 每页条数
  17897. in: query
  17898. name: pagesize
  17899. type: integer
  17900. - description: 资金账户 - 格式:1,2,3
  17901. in: query
  17902. name: accountID
  17903. required: true
  17904. type: string
  17905. - description: 资金操作类型 - 格式:1,2,3
  17906. in: query
  17907. name: OperateType
  17908. type: string
  17909. produces:
  17910. - application/json
  17911. responses:
  17912. "200":
  17913. description: OK
  17914. schema:
  17915. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  17916. "500":
  17917. description: Internal Server Error
  17918. schema:
  17919. $ref: '#/definitions/app.Response'
  17920. security:
  17921. - ApiKeyAuth: []
  17922. summary: 资金流水查询(当前)
  17923. tags:
  17924. - 资金账户
  17925. /TaAccount/QueryHisAmountLog:
  17926. get:
  17927. parameters:
  17928. - description: 页码
  17929. in: query
  17930. name: page
  17931. type: integer
  17932. - description: 每页条数
  17933. in: query
  17934. name: pagesize
  17935. type: integer
  17936. - description: 资金账户 - 格式:1,2,3
  17937. in: query
  17938. name: accountID
  17939. required: true
  17940. type: string
  17941. - description: 资金操作类型 - 格式:1,2,3
  17942. in: query
  17943. name: OperateType
  17944. type: string
  17945. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  17946. in: query
  17947. name: startDate
  17948. type: string
  17949. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  17950. in: query
  17951. name: endDate
  17952. type: string
  17953. produces:
  17954. - application/json
  17955. responses:
  17956. "200":
  17957. description: OK
  17958. schema:
  17959. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  17960. "500":
  17961. description: Internal Server Error
  17962. schema:
  17963. $ref: '#/definitions/app.Response'
  17964. security:
  17965. - ApiKeyAuth: []
  17966. summary: 资金流水查询(历史)
  17967. tags:
  17968. - 资金账户
  17969. /Trade/QueryRecieptOrder:
  17970. get:
  17971. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  17972. parameters:
  17973. - description: 页码
  17974. in: query
  17975. name: page
  17976. type: integer
  17977. - description: 每页条数
  17978. in: query
  17979. name: pagesize
  17980. type: integer
  17981. - description: 商品ID
  17982. in: query
  17983. name: goodsID
  17984. required: true
  17985. type: integer
  17986. - description: 所属账户名称
  17987. in: query
  17988. name: accountName
  17989. type: string
  17990. - description: 市场ID
  17991. in: query
  17992. name: marketID
  17993. type: integer
  17994. - description: 方向 - 0:买 1:卖
  17995. in: query
  17996. name: buyorsell
  17997. required: true
  17998. type: integer
  17999. produces:
  18000. - application/json
  18001. responses:
  18002. "200":
  18003. description: OK
  18004. schema:
  18005. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  18006. "500":
  18007. description: Internal Server Error
  18008. schema:
  18009. $ref: '#/definitions/app.Response'
  18010. security:
  18011. - ApiKeyAuth: []
  18012. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  18013. tags:
  18014. - 通用交易
  18015. /User/AddMessageBoard:
  18016. post:
  18017. parameters:
  18018. - description: 用户ID
  18019. in: query
  18020. name: userID
  18021. required: true
  18022. type: integer
  18023. - description: 留言信息
  18024. in: query
  18025. name: message
  18026. required: true
  18027. type: string
  18028. - description: 联系电话
  18029. in: query
  18030. name: contactNum
  18031. required: true
  18032. type: string
  18033. produces:
  18034. - application/json
  18035. responses:
  18036. "200":
  18037. description: OK
  18038. schema:
  18039. $ref: '#/definitions/app.Response'
  18040. "500":
  18041. description: Internal Server Error
  18042. schema:
  18043. $ref: '#/definitions/app.Response'
  18044. security:
  18045. - ApiKeyAuth: []
  18046. summary: 添加用户留言板信息
  18047. tags:
  18048. - 用户信息
  18049. /User/AddUserFavoriteGoods:
  18050. post:
  18051. parameters:
  18052. - description: 用户ID
  18053. in: query
  18054. name: userID
  18055. required: true
  18056. type: integer
  18057. - description: 商品ID
  18058. in: query
  18059. name: goodsID
  18060. required: true
  18061. type: integer
  18062. produces:
  18063. - application/json
  18064. responses:
  18065. "200":
  18066. description: OK
  18067. schema:
  18068. $ref: '#/definitions/app.Response'
  18069. "500":
  18070. description: Internal Server Error
  18071. schema:
  18072. $ref: '#/definitions/app.Response'
  18073. security:
  18074. - ApiKeyAuth: []
  18075. summary: 添加用户商品收藏信息
  18076. tags:
  18077. - 用户信息
  18078. /User/GetLoginID:
  18079. get:
  18080. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  18081. parameters:
  18082. - description: 登录代码
  18083. in: query
  18084. name: username
  18085. required: true
  18086. type: string
  18087. produces:
  18088. - application/json
  18089. responses:
  18090. "200":
  18091. description: OK
  18092. schema:
  18093. $ref: '#/definitions/app.Response'
  18094. "500":
  18095. description: Internal Server Error
  18096. schema:
  18097. $ref: '#/definitions/app.Response'
  18098. summary: 获取登录ID
  18099. tags:
  18100. - 用户信息
  18101. /User/GetUserAccount:
  18102. get:
  18103. parameters:
  18104. - description: 用户ID
  18105. in: query
  18106. name: userID
  18107. required: true
  18108. type: integer
  18109. produces:
  18110. - application/json
  18111. responses:
  18112. "200":
  18113. description: OK
  18114. schema:
  18115. $ref: '#/definitions/models.Useraccount'
  18116. "500":
  18117. description: Internal Server Error
  18118. schema:
  18119. $ref: '#/definitions/app.Response'
  18120. security:
  18121. - ApiKeyAuth: []
  18122. summary: 获取用户账号信息
  18123. tags:
  18124. - 用户信息
  18125. /User/GetUserAuthStatus:
  18126. get:
  18127. parameters:
  18128. - description: 用户ID
  18129. in: query
  18130. name: userID
  18131. required: true
  18132. type: integer
  18133. produces:
  18134. - application/json
  18135. responses:
  18136. "200":
  18137. description: OK
  18138. schema:
  18139. $ref: '#/definitions/app.Response'
  18140. "500":
  18141. description: Internal Server Error
  18142. schema:
  18143. $ref: '#/definitions/app.Response'
  18144. security:
  18145. - ApiKeyAuth: []
  18146. summary: 获取用户实名认证状态
  18147. tags:
  18148. - 用户信息
  18149. /User/LoginQuery:
  18150. get:
  18151. parameters:
  18152. - description: 登录账号
  18153. in: query
  18154. name: loginID
  18155. required: true
  18156. type: integer
  18157. produces:
  18158. - application/json
  18159. responses:
  18160. "200":
  18161. description: OK
  18162. schema:
  18163. $ref: '#/definitions/user.LoginQueryRsp'
  18164. "500":
  18165. description: Internal Server Error
  18166. schema:
  18167. $ref: '#/definitions/app.Response'
  18168. security:
  18169. - ApiKeyAuth: []
  18170. summary: 账户登录后信息查询
  18171. tags:
  18172. - 用户信息
  18173. /User/QueryMessageBoard:
  18174. get:
  18175. parameters:
  18176. - description: 用户ID
  18177. in: query
  18178. name: userID
  18179. required: true
  18180. type: integer
  18181. produces:
  18182. - application/json
  18183. responses:
  18184. "200":
  18185. description: OK
  18186. schema:
  18187. $ref: '#/definitions/models.Messageboard'
  18188. "500":
  18189. description: Internal Server Error
  18190. schema:
  18191. $ref: '#/definitions/app.Response'
  18192. security:
  18193. - ApiKeyAuth: []
  18194. summary: 获取用户留言板信息
  18195. tags:
  18196. - 用户信息
  18197. /User/QueryUserFavoriteGoodses:
  18198. get:
  18199. parameters:
  18200. - description: 用户ID
  18201. in: query
  18202. name: userID
  18203. required: true
  18204. type: integer
  18205. produces:
  18206. - application/json
  18207. responses:
  18208. "200":
  18209. description: OK
  18210. schema:
  18211. $ref: '#/definitions/models.Userfavoritegoods'
  18212. "500":
  18213. description: Internal Server Error
  18214. schema:
  18215. $ref: '#/definitions/app.Response'
  18216. security:
  18217. - ApiKeyAuth: []
  18218. summary: 获取用户商品收藏信息
  18219. tags:
  18220. - 用户信息
  18221. /User/QueryUserInfo:
  18222. get:
  18223. parameters:
  18224. - description: 用户ID
  18225. in: query
  18226. name: userID
  18227. required: true
  18228. type: integer
  18229. - description: 是否解密
  18230. in: query
  18231. name: isDecrypt
  18232. type: boolean
  18233. produces:
  18234. - application/json
  18235. responses:
  18236. "200":
  18237. description: OK
  18238. schema:
  18239. $ref: '#/definitions/models.Userinfo'
  18240. "500":
  18241. description: Internal Server Error
  18242. schema:
  18243. $ref: '#/definitions/app.Response'
  18244. security:
  18245. - ApiKeyAuth: []
  18246. summary: 获取用户信息
  18247. tags:
  18248. - 用户信息
  18249. /User/QueryUserReferNum:
  18250. get:
  18251. parameters:
  18252. - description: 用户ID
  18253. in: query
  18254. name: userID
  18255. required: true
  18256. type: integer
  18257. produces:
  18258. - application/json
  18259. responses:
  18260. "200":
  18261. description: OK
  18262. schema:
  18263. $ref: '#/definitions/app.Response'
  18264. "500":
  18265. description: Internal Server Error
  18266. schema:
  18267. $ref: '#/definitions/app.Response'
  18268. summary: 获取用户邀请码
  18269. tags:
  18270. - 用户信息
  18271. /User/RemoveUserFavoriteGoods:
  18272. post:
  18273. parameters:
  18274. - description: 用户ID
  18275. in: query
  18276. name: userID
  18277. required: true
  18278. type: integer
  18279. - description: 商品ID
  18280. in: query
  18281. name: goodsID
  18282. required: true
  18283. type: integer
  18284. produces:
  18285. - application/json
  18286. responses:
  18287. "200":
  18288. description: OK
  18289. schema:
  18290. $ref: '#/definitions/app.Response'
  18291. "500":
  18292. description: Internal Server Error
  18293. schema:
  18294. $ref: '#/definitions/app.Response'
  18295. security:
  18296. - ApiKeyAuth: []
  18297. summary: 移除用户商品收藏信息
  18298. tags:
  18299. - 用户信息
  18300. /User/UpdateUserAccountStatus:
  18301. post:
  18302. parameters:
  18303. - description: 用户ID
  18304. in: query
  18305. name: userID
  18306. required: true
  18307. type: integer
  18308. - description: 账户状态 - 4:正常 6:注销(停用)
  18309. in: query
  18310. name: accountStatus
  18311. required: true
  18312. type: integer
  18313. produces:
  18314. - application/json
  18315. responses:
  18316. "200":
  18317. description: OK
  18318. schema:
  18319. $ref: '#/definitions/app.Response'
  18320. "500":
  18321. description: Internal Server Error
  18322. schema:
  18323. $ref: '#/definitions/app.Response'
  18324. security:
  18325. - ApiKeyAuth: []
  18326. summary: 更新用户状态
  18327. tags:
  18328. - 用户信息
  18329. /WRTrade/GetAllDeliveryGoods:
  18330. get:
  18331. produces:
  18332. - application/json
  18333. - application/json
  18334. responses:
  18335. "200":
  18336. description: OK
  18337. schema:
  18338. $ref: '#/definitions/app.Response'
  18339. "500":
  18340. description: Internal Server Error
  18341. schema:
  18342. $ref: '#/definitions/app.Response'
  18343. security:
  18344. - ApiKeyAuth: []
  18345. - ApiKeyAuth: []
  18346. summary: 获取带仓单分类的种类信息
  18347. tags:
  18348. - 仓单贸易
  18349. - 仓单贸易
  18350. securityDefinitions:
  18351. ApiKeyAuth:
  18352. in: header
  18353. name: Authorization
  18354. type: apiKey
  18355. swagger: "2.0"