swagger.yaml 503 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346
  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. enumdicname:
  3308. description: 现货商品单位名称
  3309. type: string
  3310. inoutapplyid:
  3311. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  3312. type: string
  3313. inouttype:
  3314. description: 出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  3315. type: integer
  3316. pricetype:
  3317. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  3318. type: integer
  3319. qty:
  3320. description: 数量
  3321. type: number
  3322. sellnickname:
  3323. description: 销售方昵称
  3324. type: string
  3325. selluserid:
  3326. description: 销售方userid
  3327. type: integer
  3328. sellusername:
  3329. description: 销售方名称
  3330. type: string
  3331. spotcontractid:
  3332. description: 关联现货合同ID
  3333. type: string
  3334. spotgoodsbrandid:
  3335. description: 现货品牌ID
  3336. type: integer
  3337. unitid:
  3338. description: 单位id
  3339. type: integer
  3340. userid:
  3341. description: 机构ID
  3342. type: integer
  3343. warehousecode:
  3344. description: 仓库代码
  3345. type: string
  3346. warehouseinfoid:
  3347. description: 现货仓库ID
  3348. type: string
  3349. warehousename:
  3350. description: 仓库名称
  3351. type: string
  3352. warehousetype:
  3353. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3354. type: integer
  3355. wrstandardcode:
  3356. description: 品类代码
  3357. type: string
  3358. wrstandardid:
  3359. description: 品类ID
  3360. type: integer
  3361. wrstandardname:
  3362. description: 品类名称
  3363. type: string
  3364. type: object
  3365. models.Ermcp3AreaStockApplySum:
  3366. properties:
  3367. brandname:
  3368. description: 品牌名称
  3369. type: string
  3370. inouttype:
  3371. description: 出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  3372. type: integer
  3373. spotcontractid:
  3374. description: 关联现货合同ID
  3375. type: string
  3376. spotgoodsbrandid:
  3377. description: 品牌id
  3378. type: integer
  3379. totalqty:
  3380. description: 总数量
  3381. type: number
  3382. wrstandardid:
  3383. description: 品类id
  3384. type: integer
  3385. wrstandardname:
  3386. description: 品类名称
  3387. type: string
  3388. type: object
  3389. models.Ermcp3AreaStockReport:
  3390. properties:
  3391. brandname:
  3392. description: 品牌名称
  3393. type: string
  3394. curstock:
  3395. description: 期末库存量
  3396. type: number
  3397. deliverygoodscode:
  3398. description: 现货品种代码
  3399. type: string
  3400. deliverygoodsid:
  3401. description: 现货品种id
  3402. type: integer
  3403. deliverygoodsname:
  3404. description: 现货品种名称
  3405. type: string
  3406. enumdicname:
  3407. description: 单位名称
  3408. type: string
  3409. goodsunitid:
  3410. description: 现货单位id
  3411. type: integer
  3412. oristock:
  3413. description: 期初库存量
  3414. type: number
  3415. spotgoodsbrandid:
  3416. description: 现货品牌ID
  3417. type: integer
  3418. todaybuyinqty:
  3419. description: 今日采购入库量
  3420. type: number
  3421. todayproduceinqty:
  3422. description: 今日生产入库量
  3423. type: number
  3424. todayproduceoutqty:
  3425. description: 今日生产出库量
  3426. type: number
  3427. todayselloutqty:
  3428. description: 今日销售出库量
  3429. type: number
  3430. unitid:
  3431. description: 品类单位id
  3432. type: integer
  3433. updatetime:
  3434. description: 更新时间
  3435. type: string
  3436. userid:
  3437. description: 机构ID
  3438. type: integer
  3439. username:
  3440. description: 机构名称
  3441. type: string
  3442. warehousecode:
  3443. description: 仓库代码
  3444. type: string
  3445. warehouseinfoid:
  3446. description: 仓库ID
  3447. type: string
  3448. warehousename:
  3449. description: 仓库名称
  3450. type: string
  3451. warehousetype:
  3452. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3453. type: integer
  3454. wrstandardcode:
  3455. description: 品类代码
  3456. type: string
  3457. wrstandardid:
  3458. description: 品类ID
  3459. type: integer
  3460. wrstandardname:
  3461. description: 品类名称
  3462. type: string
  3463. type: object
  3464. models.Ermcp3Brand:
  3465. properties:
  3466. areauserid:
  3467. description: 用户id
  3468. type: integer
  3469. brandid:
  3470. description: 品牌id
  3471. type: integer
  3472. brandname:
  3473. description: 品牌名称
  3474. type: string
  3475. deliverygoodsid:
  3476. description: 品种ID
  3477. type: integer
  3478. type: object
  3479. models.Ermcp3Contract:
  3480. properties:
  3481. accountid:
  3482. description: 期货账户id
  3483. type: string
  3484. amount:
  3485. description: 金额 [1:一口价、3:暂定价]
  3486. type: number
  3487. attachment:
  3488. description: 附件
  3489. type: string
  3490. auditremark:
  3491. description: 审核意见
  3492. type: string
  3493. audittime:
  3494. description: 审核时间
  3495. type: string
  3496. biztype:
  3497. description: 业务类型 1-套保 2-套利
  3498. type: integer
  3499. brandname:
  3500. description: 品牌名称
  3501. type: string
  3502. buynickname:
  3503. description: 销售方昵称
  3504. type: string
  3505. buyuserid:
  3506. description: 采购方ID
  3507. type: integer
  3508. buyusername:
  3509. description: 采购方名称
  3510. type: string
  3511. contracctstatus:
  3512. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  3513. type: integer
  3514. contractmargin:
  3515. description: 合同保证金
  3516. type: number
  3517. contractno:
  3518. description: 现货合同编号
  3519. type: string
  3520. contracttype:
  3521. description: 现货合同类型 - 1:采购 -1:销售
  3522. type: integer
  3523. convertfactor:
  3524. description: 标仓系数(品类)
  3525. type: number
  3526. createtime:
  3527. description: 创建时间
  3528. type: string
  3529. currencyid:
  3530. description: 币种id
  3531. type: integer
  3532. currencyname:
  3533. description: 币种名称
  3534. type: string
  3535. deliveryenddate:
  3536. description: 交收期(结束)
  3537. type: string
  3538. deliverygoodscode:
  3539. description: 现货品种代码
  3540. type: string
  3541. deliverygoodsid:
  3542. description: 现货品种ID
  3543. type: integer
  3544. deliverygoodsname:
  3545. description: 现货品种名称
  3546. type: string
  3547. deliverystartdate:
  3548. description: 交收期(开始)
  3549. type: string
  3550. enddate:
  3551. description: 点价结束日期 [2:点价 3:暂定价]
  3552. type: string
  3553. enumdicname:
  3554. description: 单位名称
  3555. type: string
  3556. goodscode:
  3557. description: 点价合约代码
  3558. type: string
  3559. goodsid:
  3560. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  3561. type: integer
  3562. goodsname:
  3563. description: 点价商品名称
  3564. type: string
  3565. margin:
  3566. description: 当前保证金
  3567. type: number
  3568. meruserid:
  3569. description: 跟单员id
  3570. type: integer
  3571. meruserlogincode:
  3572. description: 跟单员登录代码
  3573. type: string
  3574. price:
  3575. description: 价格\暂定价 [1:一口价、3:暂定价]
  3576. type: number
  3577. pricemove:
  3578. description: 升贴水 [2:点价 3:暂定价]
  3579. type: number
  3580. pricetype:
  3581. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  3582. type: integer
  3583. producttype:
  3584. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  3585. type: integer
  3586. qty:
  3587. description: 数量
  3588. type: number
  3589. remark:
  3590. description: 备注
  3591. type: string
  3592. saleuserid:
  3593. description: 业务员id
  3594. type: integer
  3595. saleuserlogincode:
  3596. description: 业务员登录代码
  3597. type: string
  3598. sellnickname:
  3599. description: 采购方昵称
  3600. type: string
  3601. selluserid:
  3602. description: 销售方ID
  3603. type: integer
  3604. sellusername:
  3605. description: 销售方名称
  3606. type: string
  3607. spotcontractid:
  3608. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  3609. type: string
  3610. spotgoodsbrandid:
  3611. description: 现货品牌ID(DGFactoryItem表的ID)
  3612. type: integer
  3613. spotgoodsdesc:
  3614. description: 商品型号
  3615. type: string
  3616. startdate:
  3617. description: 点价开始日期 [2:点价 3:暂定价]
  3618. type: string
  3619. tradeuserid:
  3620. description: 交易员id
  3621. type: integer
  3622. tradeuserlogincode:
  3623. description: 交易员登录代码
  3624. type: string
  3625. tradeusername:
  3626. description: 交易员名称
  3627. type: string
  3628. unitid:
  3629. description: 单位id(取品类上的单位id)
  3630. type: integer
  3631. updatetime:
  3632. description: 更新时间
  3633. type: string
  3634. userid:
  3635. description: 所属机构ID
  3636. type: integer
  3637. wrstandardcode:
  3638. description: 品类代码
  3639. type: string
  3640. wrstandardid:
  3641. description: 品类ID
  3642. type: integer
  3643. wrstandardname:
  3644. description: 品类名称
  3645. type: string
  3646. type: object
  3647. models.Ermcp3ExposureDetail:
  3648. properties:
  3649. areauserid:
  3650. description: 机构ID
  3651. type: integer
  3652. changeQty:
  3653. description: 套保变动量
  3654. type: number
  3655. contracttype:
  3656. description: 现货合同类型 - 1:采购 -1:销售
  3657. type: integer
  3658. convertfactor:
  3659. description: 标仓系数
  3660. type: number
  3661. convertratio:
  3662. description: 套保系数
  3663. type: number
  3664. createtime:
  3665. description: 时间
  3666. type: string
  3667. deliverygoodscode:
  3668. description: 现货品种代码
  3669. type: string
  3670. deliverygoodsid:
  3671. description: 现货品种id
  3672. type: integer
  3673. deliverygoodsname:
  3674. description: 现货品种名称
  3675. type: string
  3676. enumdicname:
  3677. description: 现货商品单位名称
  3678. type: string
  3679. logtype:
  3680. description: 类型 - 1:套保计划 2:现货合同
  3681. type: integer
  3682. middlegoodsId:
  3683. description: 套保商品id
  3684. type: integer
  3685. middlegoodscode:
  3686. description: 套保商品代码
  3687. type: string
  3688. middlegoodsname:
  3689. description: 套保商品名称
  3690. type: string
  3691. qty:
  3692. description: 数量
  3693. type: number
  3694. relateNo:
  3695. description: 现货合同/套保计划编号
  3696. type: string
  3697. type: object
  3698. models.Ermcp3Goods:
  3699. properties:
  3700. agreeunit:
  3701. description: 合约单位(合约乘数)
  3702. type: number
  3703. enumdicname:
  3704. description: 单位名称
  3705. type: string
  3706. exexchangecode:
  3707. description: 交易所代码
  3708. type: string
  3709. goodscode:
  3710. description: 期货商品代码
  3711. type: string
  3712. goodsid:
  3713. description: 期货商品id
  3714. type: integer
  3715. goodsname:
  3716. description: 期货商品名称
  3717. type: string
  3718. type: object
  3719. models.Ermcp3GoodsGroup:
  3720. properties:
  3721. agreeunit:
  3722. description: 合约单位
  3723. type: number
  3724. areauserid:
  3725. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  3726. type: integer
  3727. canshort:
  3728. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  3729. type: integer
  3730. closepricemode:
  3731. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  3732. type: integer
  3733. createtime:
  3734. description: 创建时间
  3735. type: string
  3736. creatorid:
  3737. description: 创建人
  3738. type: integer
  3739. currencyid:
  3740. description: 报价货币ID
  3741. type: integer
  3742. decimalplace:
  3743. description: 报价小数位
  3744. type: integer
  3745. enumdicname:
  3746. description: 单位名称
  3747. type: string
  3748. excludecfg:
  3749. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  3750. type: integer
  3751. exexchangeid:
  3752. description: 外部交易所ID[通道交易]
  3753. type: integer
  3754. goodsgroupid:
  3755. description: 商品组ID(自增ID)
  3756. type: integer
  3757. goodsgroupname:
  3758. description: 商品组名称
  3759. type: string
  3760. goodsgroupstatus:
  3761. description: 商品组状态 - 1:正常 2:注销
  3762. type: integer
  3763. goodunitid:
  3764. description: 报价单位ID
  3765. type: integer
  3766. groupcategroyid:
  3767. description: 品种分类ID
  3768. type: integer
  3769. innerdealmode:
  3770. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  3771. type: integer
  3772. marketid:
  3773. description: 所属市场ID
  3774. type: integer
  3775. modifierid:
  3776. description: 修改人
  3777. type: integer
  3778. modifytime:
  3779. description: 修改时间
  3780. type: string
  3781. outerdealmode:
  3782. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  3783. type: integer
  3784. outergroupcode:
  3785. description: 外部商品组代码[通道交易]
  3786. type: string
  3787. quoteminunit:
  3788. description: 行情最小变动单位 [整数,报价小数位一起使用]
  3789. type: integer
  3790. quotesourcegroupid:
  3791. description: 所属行情源分组ID[参考行情市场用\通道交易]
  3792. type: integer
  3793. syncgoodsqty:
  3794. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  3795. type: integer
  3796. required:
  3797. - areauserid
  3798. type: object
  3799. models.Ermcp3GoodsGroupEx:
  3800. properties:
  3801. convertratio:
  3802. description: 折算系数(品种系数)
  3803. type: number
  3804. enumdicname:
  3805. description: 单位名称
  3806. type: string
  3807. exexchangecode:
  3808. description: 交易所代码
  3809. type: string
  3810. glist:
  3811. description: 合约列表
  3812. items:
  3813. $ref: '#/definitions/models.Ermcp3Goods'
  3814. type: array
  3815. goodsgroupid:
  3816. description: 商品组id
  3817. type: integer
  3818. goodsgroupname:
  3819. description: 商品组名称
  3820. type: string
  3821. goodsunitid:
  3822. description: 单位id
  3823. type: integer
  3824. middlegoodsid:
  3825. description: 套保商品id
  3826. type: integer
  3827. type: object
  3828. models.Ermcp3HedgePlan:
  3829. properties:
  3830. accountid:
  3831. description: 资金账号
  3832. type: integer
  3833. areauserid:
  3834. description: 用户ID
  3835. type: integer
  3836. audittime:
  3837. description: 审核时间
  3838. type: string
  3839. contracttype:
  3840. description: 计划类型 - 1:采购 -1:销售
  3841. type: integer
  3842. convertfactor:
  3843. description: 标仓系数
  3844. type: number
  3845. createtime:
  3846. description: 创建时间
  3847. type: string
  3848. currencyid:
  3849. description: 币种id
  3850. type: integer
  3851. currencyname:
  3852. description: 币种名称
  3853. type: string
  3854. deliverygoodscode:
  3855. description: 现货品种代码
  3856. type: string
  3857. deliverygoodsid:
  3858. description: 现货品种ID
  3859. type: integer
  3860. deliverygoodsname:
  3861. description: 现货品种名称
  3862. type: string
  3863. enumdicname:
  3864. description: 单位名称
  3865. type: string
  3866. hedgeplanid:
  3867. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  3868. type: string
  3869. hedgeplanno:
  3870. description: 套保计划编号(名称)
  3871. type: string
  3872. hedgeplanstatus:
  3873. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  3874. type: integer
  3875. planqty:
  3876. description: 计划数量
  3877. type: number
  3878. plantime:
  3879. description: 计划时间
  3880. type: string
  3881. producttype:
  3882. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  3883. type: integer
  3884. remark:
  3885. description: 备注
  3886. type: string
  3887. spotgoodsdesc:
  3888. description: 商品型号
  3889. type: string
  3890. taaccountname:
  3891. description: 资金账号名称
  3892. type: string
  3893. tradeuserid:
  3894. description: 交易用户id
  3895. type: integer
  3896. tradeusername:
  3897. description: 交易用户名称
  3898. type: string
  3899. unitid:
  3900. description: 单位id
  3901. type: integer
  3902. updatetime:
  3903. description: 更新时间
  3904. type: string
  3905. wrstandardcode:
  3906. description: 品类代码
  3907. type: string
  3908. wrstandardid:
  3909. description: 品类id
  3910. type: integer
  3911. wrstandardname:
  3912. description: 品类名称
  3913. type: string
  3914. type: object
  3915. models.Ermcp3MiddleGoodsDetail2:
  3916. properties:
  3917. convertratio:
  3918. description: 套保系数(折算系数)
  3919. type: number
  3920. gplist:
  3921. description: 关联商品组列表
  3922. items:
  3923. $ref: '#/definitions/models.Ermcp3GoodsGroupEx'
  3924. type: array
  3925. mg:
  3926. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  3927. description: 套保商品信息
  3928. type: object
  3929. type: object
  3930. models.Ermcp3MiddleGoodsDetailEx:
  3931. properties:
  3932. dglist:
  3933. description: 关联的现货品种列表
  3934. items:
  3935. $ref: '#/definitions/models.ErmcpDeliveryGoodsDetail2'
  3936. type: array
  3937. gplist:
  3938. description: 关联商品组列表
  3939. items:
  3940. $ref: '#/definitions/models.Ermcp3GoodsGroupEx'
  3941. type: array
  3942. mg:
  3943. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  3944. description: 套保商品信息
  3945. type: object
  3946. type: object
  3947. models.Ermcp3ReckonAreaSpotSub:
  3948. properties:
  3949. accountid:
  3950. description: 期货账户ID
  3951. type: integer
  3952. accountname:
  3953. description: 所属机构名称
  3954. type: string
  3955. areauserid:
  3956. description: 账户所属机构
  3957. type: integer
  3958. brandname:
  3959. description: 品牌名称
  3960. type: string
  3961. buycontractinqty:
  3962. description: 采购合同入库量
  3963. type: number
  3964. buypricedamount:
  3965. description: 采购合同已定价金额
  3966. type: number
  3967. buypricedqty:
  3968. description: 采购合同已定价数量
  3969. type: number
  3970. buyreckonqty:
  3971. description: 采购合同交收量
  3972. type: number
  3973. deliverygoodscode:
  3974. description: 现货商品代码
  3975. type: string
  3976. deliverygoodsid:
  3977. description: 现货品种ID
  3978. type: integer
  3979. deliverygoodsname:
  3980. description: 现货商品名称
  3981. type: string
  3982. enumdicname:
  3983. description: 现货商品单位名称
  3984. type: string
  3985. goodsunitid:
  3986. description: 现货商品单位id
  3987. type: integer
  3988. oribuycontractinqty:
  3989. description: 期初采购合同入库量
  3990. type: number
  3991. oribuypricedamount:
  3992. description: 期初采购合同已定价金额
  3993. type: number
  3994. oribuypricedqty:
  3995. description: 期初采购合同已定价数量
  3996. type: number
  3997. oribuyreckonqty:
  3998. description: 期初采购合同交收量
  3999. type: number
  4000. oriproduceinqty:
  4001. description: 期初生产入库量
  4002. type: number
  4003. oriproduceoutqty:
  4004. description: 期初生产出库量
  4005. type: number
  4006. orisellcontractoutqty:
  4007. description: 期初销售合同出库量
  4008. type: number
  4009. orisellpricedamount:
  4010. description: 期初销售合同已定价金额
  4011. type: number
  4012. orisellpricedqty:
  4013. description: 期初销售合同已定价数量
  4014. type: number
  4015. orisellreckonqty:
  4016. description: 期初销售合同交收量
  4017. type: number
  4018. produceinqty:
  4019. description: 生产入库量
  4020. type: number
  4021. produceoutqty:
  4022. description: 生产出库量
  4023. type: number
  4024. reckondate:
  4025. description: 日照时期(yyyyMMdd)
  4026. type: string
  4027. sellcontractoutqty:
  4028. description: 销售合同出库量
  4029. type: number
  4030. sellpricedamount:
  4031. description: 销售合同已定价金额
  4032. type: number
  4033. sellpricedqty:
  4034. description: 销售合同已定价数量
  4035. type: number
  4036. sellreckonqty:
  4037. description: 销售合同交收量
  4038. type: number
  4039. spotgoodsbrandid:
  4040. description: 现货品牌ID
  4041. type: integer
  4042. todaybuyreckonqty:
  4043. description: 今日采购合同已确定数量
  4044. type: number
  4045. todaysellreckonqty:
  4046. description: 今日销售合同已确定数量
  4047. type: number
  4048. totalbuypricedqty:
  4049. description: 采购定价量 = 期末 - 期初
  4050. type: number
  4051. totalsellpricedqty:
  4052. description: 销售定价量 = 期末 - 期初
  4053. type: number
  4054. totalspotqty:
  4055. description: 现货头寸总量 = 采购合同已定价数量 - 销售合同已定价数量
  4056. type: number
  4057. updatetime:
  4058. description: 更新时间
  4059. type: string
  4060. wrfactortypeid:
  4061. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4062. type: integer
  4063. wrstandardcode:
  4064. description: 品类代码
  4065. type: string
  4066. wrstandardid:
  4067. description: 现货品类ID
  4068. type: integer
  4069. wrstandardname:
  4070. description: 品类名称
  4071. type: string
  4072. required:
  4073. - areauserid
  4074. - reckondate
  4075. type: object
  4076. models.Ermcp3ReportAreaSpotPL:
  4077. properties:
  4078. actualpl:
  4079. description: 实际损益
  4080. type: number
  4081. areauserid:
  4082. description: 所属机构
  4083. type: integer
  4084. brandname:
  4085. description: 品牌名称
  4086. type: string
  4087. curamount:
  4088. description: 期末额
  4089. type: number
  4090. curaverageprice:
  4091. description: 期末均价
  4092. type: number
  4093. curbuyamount:
  4094. description: 期末采购总额(采购额)
  4095. type: number
  4096. curbuyqty:
  4097. description: 期末采购总量
  4098. type: number
  4099. curmarketvalue:
  4100. description: 参考市值
  4101. type: number
  4102. curqty:
  4103. description: 期末量
  4104. type: number
  4105. cursellamount:
  4106. description: 期末销售总额(销售额)
  4107. type: number
  4108. cursellqty:
  4109. description: 期末销售总量
  4110. type: number
  4111. curspotprice:
  4112. description: 参考市价
  4113. type: number
  4114. deliverygoodscode:
  4115. description: 现货品种代码
  4116. type: string
  4117. deliverygoodsid:
  4118. description: 现货品种id
  4119. type: integer
  4120. deliverygoodsname:
  4121. description: 现货品种名称
  4122. type: string
  4123. enumdicname:
  4124. description: 现货商品单位名称
  4125. type: string
  4126. floatpl:
  4127. description: 浮动损益
  4128. type: number
  4129. gbenumdicname:
  4130. description: 品类单位名称
  4131. type: string
  4132. gbunitid:
  4133. description: 现货单位id
  4134. type: integer
  4135. modelname:
  4136. description: 品类名称
  4137. type: string
  4138. oriamount:
  4139. description: 期初额
  4140. type: number
  4141. oriaverageprice:
  4142. description: 期初均价
  4143. type: number
  4144. oribuyamount:
  4145. description: 期初采购总额
  4146. type: number
  4147. oribuyqty:
  4148. description: 期初采购总量
  4149. type: number
  4150. oriqty:
  4151. description: 期初量
  4152. type: number
  4153. orisellamount:
  4154. description: 期初销售总额
  4155. type: number
  4156. orisellqty:
  4157. description: 期初销售总量
  4158. type: number
  4159. spotgoodsbrandid:
  4160. description: 现货品牌ID
  4161. type: integer
  4162. todaybuyamount:
  4163. description: 今日采购额
  4164. type: number
  4165. todaybuyaverageprice:
  4166. description: 今日采购均价(采购均价)
  4167. type: number
  4168. todaybuyqty:
  4169. description: 今日采购量(采购增量)
  4170. type: number
  4171. todaysellamount:
  4172. description: 今日销售额
  4173. type: number
  4174. todaysellaverageprice:
  4175. description: 今日销售均价(销售均价)
  4176. type: number
  4177. todaysellqty:
  4178. description: 今日销售量(销售增量)
  4179. type: number
  4180. unitid:
  4181. description: 品类单位id
  4182. type: integer
  4183. updatetime:
  4184. description: 更新时间
  4185. type: string
  4186. wrstandardcode:
  4187. description: 品类代码
  4188. type: string
  4189. wrstandardid:
  4190. description: 品类ID
  4191. type: integer
  4192. wrstandardname:
  4193. description: 品类名称
  4194. type: string
  4195. type: object
  4196. models.Ermcp3ReportAreaSpotSub:
  4197. properties:
  4198. accountid:
  4199. description: 期货账户ID
  4200. type: integer
  4201. accountname:
  4202. description: 所属机构名称
  4203. type: string
  4204. areauserid:
  4205. description: 账户所属机构
  4206. type: integer
  4207. brandname:
  4208. description: 品牌名称
  4209. type: string
  4210. buycontractinqty:
  4211. description: 采购合同入库量【期末】
  4212. type: number
  4213. buypricedamount:
  4214. description: 采购合同已定价金额【期末】
  4215. type: number
  4216. buypricedqty:
  4217. description: 采购合同已定价数量【期末】
  4218. type: number
  4219. buyreckonqty:
  4220. description: 采购合同交收量【期末】
  4221. type: number
  4222. cycletime:
  4223. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4224. type: string
  4225. cycletype:
  4226. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4227. type: integer
  4228. deliverygoodscode:
  4229. description: 现货商品代码
  4230. type: string
  4231. deliverygoodsid:
  4232. description: 现货品种ID
  4233. type: integer
  4234. deliverygoodsname:
  4235. description: 现货商品名称
  4236. type: string
  4237. enumdicname:
  4238. description: 现货商品单位名称
  4239. type: string
  4240. goodsunitid:
  4241. description: 现货商品单位id
  4242. type: integer
  4243. oribuycontractinqty:
  4244. description: 期初采购合同入库量【期初】
  4245. type: number
  4246. oribuypricedamount:
  4247. description: 期初采购合同已定价金额【期初】
  4248. type: number
  4249. oribuypricedqty:
  4250. description: 期初采购合同已定价数量【期初】
  4251. type: number
  4252. oribuyreckonqty:
  4253. description: 期初采购合同交收量【期初】
  4254. type: number
  4255. oriproduceinqty:
  4256. description: 期初生产入库量【期初】
  4257. type: number
  4258. oriproduceoutqty:
  4259. description: 期初生产出库量【期初】
  4260. type: number
  4261. orisellcontractoutqty:
  4262. description: 期初销售合同出库量【期初】
  4263. type: number
  4264. orisellpricedamount:
  4265. description: 期初销售合同已定价金额【期初】
  4266. type: number
  4267. orisellpricedqty:
  4268. description: 期初销售合同已定价数量【期初】
  4269. type: number
  4270. orisellreckonqty:
  4271. description: 期初销售合同交收量【期初】
  4272. type: number
  4273. produceinqty:
  4274. description: 生产入库量【期末】
  4275. type: number
  4276. produceoutqty:
  4277. description: 生产出库量【期末】
  4278. type: number
  4279. sellcontractoutqty:
  4280. description: 销售合同出库量【期末】
  4281. type: number
  4282. sellpricedamount:
  4283. description: 销售合同已定价金额【期末】
  4284. type: number
  4285. sellpricedqty:
  4286. description: 销售合同已定价数量【期末】
  4287. type: number
  4288. sellreckonqty:
  4289. description: 销售合同交收量【期末】
  4290. type: number
  4291. spotgoodsbrandid:
  4292. description: 现货品牌ID
  4293. type: integer
  4294. todaybuyreckonqty:
  4295. description: 今日采购合同已确定数量【汇总】
  4296. type: number
  4297. todaysellreckonqty:
  4298. description: 今日销售合同已确定数量【汇总】
  4299. type: number
  4300. totalbuypricedqty:
  4301. description: 采购定价量 = 期末 - 期初
  4302. type: number
  4303. totalsellpricedqty:
  4304. description: 销售定价量 = 期末 - 期初
  4305. type: number
  4306. totalspotqty:
  4307. description: 现货头寸总量 = 采购合同已定价数量 - 销售合同已定价数量【期末】
  4308. type: number
  4309. updatetime:
  4310. description: 更新时间
  4311. type: string
  4312. wrfactortypeid:
  4313. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4314. type: integer
  4315. wrstandardcode:
  4316. description: 品类代码
  4317. type: string
  4318. wrstandardid:
  4319. description: 品类ID
  4320. type: integer
  4321. wrstandardname:
  4322. description: 品类名称
  4323. type: string
  4324. required:
  4325. - areauserid
  4326. type: object
  4327. models.Ermcp3ReportOPLog:
  4328. properties:
  4329. applyid:
  4330. description: 操作人
  4331. type: integer
  4332. applyname:
  4333. description: 操作人名称
  4334. type: string
  4335. biztype:
  4336. description: 业务类型 - 1:套保计划 2:现货合同
  4337. type: integer
  4338. brandname:
  4339. description: 品牌名称
  4340. type: string
  4341. contracttype:
  4342. description: 现货合同类型 - 1:采购 -1:销售
  4343. type: integer
  4344. deliverygoodscode:
  4345. description: 现货品种代码
  4346. type: string
  4347. deliverygoodsid:
  4348. description: 现货品种id
  4349. type: integer
  4350. deliverygoodsname:
  4351. description: 现货品种名称
  4352. type: string
  4353. enumdicName:
  4354. description: 单位名称
  4355. type: string
  4356. logdatetime:
  4357. description: 流水日期(时间)
  4358. type: string
  4359. logid:
  4360. description: 流水ID(604+Unix秒时间戳(10位)+xxxxxx)
  4361. type: string
  4362. logtypename:
  4363. description: 合同类型(名称)
  4364. type: string
  4365. logvalue:
  4366. description: 数值
  4367. type: string
  4368. operatelogtype:
  4369. description: 操作流水类型 -
  4370. type: integer
  4371. optypename:
  4372. description: 流水类型名称
  4373. type: string
  4374. relatedid:
  4375. description: 现货合同ID\套保计划
  4376. type: string
  4377. relatedno:
  4378. description: 合同编号
  4379. type: string
  4380. spotgoodsbrandid:
  4381. description: 品牌id
  4382. type: integer
  4383. tradedate:
  4384. description: 交易日(yyyyMMdd)
  4385. type: string
  4386. userid:
  4387. description: 机构ID
  4388. type: integer
  4389. wrstandardcode:
  4390. description: 品类代码
  4391. type: string
  4392. wrstandardid:
  4393. description: 品类id
  4394. type: integer
  4395. wrstandardname:
  4396. description: 品类名称
  4397. type: string
  4398. type: object
  4399. models.Ermcp3SellBuyContract:
  4400. properties:
  4401. accountname:
  4402. description: 账户名称
  4403. type: string
  4404. attachment:
  4405. description: 附件
  4406. type: string
  4407. audittime:
  4408. description: 审核时间
  4409. type: string
  4410. brandname:
  4411. description: 品牌名称
  4412. type: string
  4413. contracctstatus:
  4414. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4415. type: integer
  4416. contractmargin:
  4417. description: 合同保证金
  4418. type: number
  4419. contractno:
  4420. description: 合同编号
  4421. type: string
  4422. contracttype:
  4423. description: 合同类型 1-采购, -1-销售
  4424. type: integer
  4425. convertfactor:
  4426. description: 标仓系数(品类)
  4427. type: number
  4428. createtime:
  4429. description: 创建时间
  4430. type: string
  4431. daikaiamount:
  4432. description: 应收(开)票额
  4433. type: number
  4434. deliveryenddate:
  4435. description: 交割结束日
  4436. type: string
  4437. deliverygoodscode:
  4438. description: 现货品种代码
  4439. type: string
  4440. deliverygoodsid:
  4441. description: 现货商品ID
  4442. type: integer
  4443. deliverygoodsname:
  4444. description: 现货品种名称
  4445. type: string
  4446. deliverystartdate:
  4447. description: 交割开始日
  4448. type: string
  4449. enddate:
  4450. description: 点价结束日
  4451. type: string
  4452. enumdicname:
  4453. description: 单位名称
  4454. type: string
  4455. goodscode:
  4456. description: 点价商品代码
  4457. type: string
  4458. goodsid:
  4459. description: 点价商品ID
  4460. type: integer
  4461. goodsname:
  4462. description: 点价商品名称
  4463. type: string
  4464. invoiceamount:
  4465. description: 已开票额
  4466. type: number
  4467. loanamount:
  4468. description: 贷款总额=已定价额+调整金额
  4469. type: number
  4470. margin:
  4471. description: 保证金
  4472. type: number
  4473. nickname:
  4474. description: 账户昵称
  4475. type: string
  4476. payamount:
  4477. description: 已收付额(收款或付款)
  4478. type: number
  4479. preinvoiceamount:
  4480. description: 预收(开)票额
  4481. type: number
  4482. prepayamount:
  4483. description: 预收付额
  4484. type: number
  4485. price:
  4486. description: 价格
  4487. type: number
  4488. pricedamount:
  4489. description: 已定价额
  4490. type: number
  4491. pricedavg:
  4492. description: 已点均价
  4493. type: number
  4494. pricedqty:
  4495. description: 已定价量
  4496. type: number
  4497. pricemove:
  4498. description: 升贴水
  4499. type: number
  4500. pricetype:
  4501. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4502. type: integer
  4503. producttype:
  4504. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  4505. type: integer
  4506. qty:
  4507. description: 合同量
  4508. type: number
  4509. reckonadjustamount:
  4510. description: 调整金额
  4511. type: number
  4512. reckonedamount:
  4513. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  4514. type: number
  4515. reckonotheramount:
  4516. description: 其它费用
  4517. type: number
  4518. reckonrealqty:
  4519. description: 已确定量
  4520. type: number
  4521. remark:
  4522. description: 备注
  4523. type: string
  4524. spotcontractid:
  4525. description: 合同ID
  4526. type: string
  4527. spotgoodsbrandid:
  4528. description: 现货品牌ID(DGFactoryItem表的ID)
  4529. type: integer
  4530. spotgoodsdesc:
  4531. description: 商品型号(商品规格)
  4532. type: string
  4533. startdate:
  4534. description: 点价开始日
  4535. type: string
  4536. totalamount:
  4537. description: 合计总额
  4538. type: number
  4539. unpayamount:
  4540. description: 应收付款额(应支付或应收款)
  4541. type: number
  4542. unpricedqty:
  4543. description: 未定价量
  4544. type: number
  4545. unsureqty:
  4546. description: 未确定量
  4547. type: number
  4548. userid:
  4549. description: 机构ID
  4550. type: integer
  4551. wrstandardcode:
  4552. description: 品类代码
  4553. type: string
  4554. wrstandardid:
  4555. description: 品类ID
  4556. type: integer
  4557. wrstandardname:
  4558. description: 品类名称
  4559. type: string
  4560. type: object
  4561. models.Ermcp3SpotGoodsPrice:
  4562. properties:
  4563. areauserid:
  4564. description: 所属机构id
  4565. type: integer
  4566. brandname:
  4567. description: 品牌名称
  4568. type: string
  4569. currencyid:
  4570. description: 报价货币ID
  4571. type: integer
  4572. deliverygoodscode:
  4573. description: 现货商品代码
  4574. type: string
  4575. deliverygoodsid:
  4576. description: 现货商品id
  4577. type: integer
  4578. deliverygoodsname:
  4579. description: 现货商品名称
  4580. type: string
  4581. enumdicname:
  4582. description: 现货商品单位名称
  4583. type: string
  4584. gbenumdicname:
  4585. description: 品类单位名称
  4586. type: string
  4587. gmunitid:
  4588. description: 品类单位id
  4589. type: integer
  4590. isvalid:
  4591. description: 是否有效 - 0:无效 1:有效
  4592. type: integer
  4593. operateid:
  4594. description: 最后操作人
  4595. type: integer
  4596. operatesrc:
  4597. description: 最后操作来源 - 1:管理端 2:终端
  4598. type: integer
  4599. operatetime:
  4600. description: 最后操作时间
  4601. type: string
  4602. operatorname:
  4603. description: 操作人名称
  4604. type: string
  4605. spotgoodsbrandid:
  4606. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  4607. type: integer
  4608. spotgoodsprice:
  4609. description: 现货价格
  4610. type: number
  4611. tradedate:
  4612. description: 交易日(yyyyMMdd)
  4613. type: string
  4614. unitid:
  4615. description: 现货商品单位id
  4616. type: integer
  4617. wrstandardcode:
  4618. description: 品类代码
  4619. type: string
  4620. wrstandardid:
  4621. description: 现货品类ID(通用则为0)
  4622. type: integer
  4623. wrstandardname:
  4624. description: 品类名称
  4625. type: string
  4626. type: object
  4627. models.Ermcp3SpotGoodsPriceLog:
  4628. properties:
  4629. areauserid:
  4630. description: 所属机构id
  4631. type: integer
  4632. brandname:
  4633. description: 品牌名称
  4634. type: string
  4635. currencyid:
  4636. description: 报价货币ID
  4637. type: integer
  4638. deliverygoodscode:
  4639. description: 现货商品代码
  4640. type: string
  4641. deliverygoodsid:
  4642. description: 现货商品id
  4643. type: integer
  4644. deliverygoodsname:
  4645. description: 现货商品名称
  4646. type: string
  4647. enumdicname:
  4648. description: 现货商品单位名称
  4649. type: string
  4650. gbenumdicname:
  4651. description: 品类单位名称
  4652. type: string
  4653. gmunitid:
  4654. description: 品类单位id
  4655. type: integer
  4656. logid:
  4657. description: 日志id
  4658. type: integer
  4659. operateid:
  4660. description: 最后操作人
  4661. type: integer
  4662. operatesrc:
  4663. description: 最后操作来源 - 1:管理端 2:终端
  4664. type: integer
  4665. operatetime:
  4666. description: 最后操作时间
  4667. type: string
  4668. operatorname:
  4669. description: 操作人名称
  4670. type: string
  4671. spotgoodsbrandid:
  4672. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  4673. type: integer
  4674. spotgoodsprice:
  4675. description: 现货价格
  4676. type: number
  4677. tradedate:
  4678. description: 交易日(yyyyMMdd)
  4679. type: string
  4680. unitid:
  4681. description: 现货商品单位id
  4682. type: integer
  4683. wrstandardcode:
  4684. description: 品类代码
  4685. type: string
  4686. wrstandardid:
  4687. description: 现货品类ID(通用则为0)
  4688. type: integer
  4689. wrstandardname:
  4690. description: 品类名称
  4691. type: string
  4692. type: object
  4693. models.Ermcp3Wrstandard:
  4694. properties:
  4695. areauserid:
  4696. description: 所属机构
  4697. type: integer
  4698. convertfactor:
  4699. description: 标仓系数
  4700. type: number
  4701. createtime:
  4702. description: 创建时间
  4703. type: string
  4704. creatorid:
  4705. description: 创建人
  4706. type: integer
  4707. deliverygoodsid:
  4708. description: 现货品种ID
  4709. type: integer
  4710. enumdicname:
  4711. description: 品类单位名称
  4712. type: string
  4713. isvalid:
  4714. description: 是否有效 0-无效(停用) 1-有效(正常)
  4715. type: integer
  4716. minivalue:
  4717. description: 最小变动值
  4718. type: integer
  4719. minivaluedp:
  4720. description: 最小变动值小数位
  4721. type: integer
  4722. realminivalue:
  4723. description: 实际最小变动值
  4724. type: integer
  4725. realminivaluedp:
  4726. description: 实际最小变动值小数位
  4727. type: integer
  4728. remark:
  4729. description: 备注
  4730. type: string
  4731. unitid:
  4732. description: 品类单位ID
  4733. type: integer
  4734. updatetime:
  4735. description: 更新时间
  4736. type: string
  4737. wrstandardcode:
  4738. description: 品类代码
  4739. type: string
  4740. wrstandardid:
  4741. description: 品类ID(SEQ_WRSTANDARD)
  4742. type: integer
  4743. wrstandardname:
  4744. description: 品类名称
  4745. type: string
  4746. type: object
  4747. models.ErmcpAreaSpotDetailModel:
  4748. properties:
  4749. contracttype:
  4750. description: 合同类型 1-采购 -1-销售
  4751. type: integer
  4752. createtime:
  4753. description: 创建时间
  4754. type: string
  4755. enumdicname:
  4756. description: 现货商品单位名称
  4757. type: string
  4758. logtype:
  4759. description: 记录类型 1-套保 2-现货合同
  4760. type: integer
  4761. qty:
  4762. description: 数量
  4763. type: number
  4764. recordname:
  4765. description: 类型名称
  4766. type: string
  4767. relatedid:
  4768. description: 套保计划ID/现货合同ID
  4769. type: string
  4770. relatedno:
  4771. description: 编号
  4772. type: string
  4773. strtime:
  4774. description: 时间
  4775. type: string
  4776. wrstandardcode:
  4777. description: 现货商品代码
  4778. type: string
  4779. wrstandardname:
  4780. description: 现货商品名称
  4781. type: string
  4782. type: object
  4783. models.ErmcpAreaStock:
  4784. properties:
  4785. brandname:
  4786. description: 品牌名称
  4787. type: string
  4788. curstock:
  4789. description: 期末库存量(今日量)
  4790. type: number
  4791. deliverygoodsid:
  4792. description: 现货品种ID
  4793. type: integer
  4794. enumdicname:
  4795. description: 单位名称
  4796. type: string
  4797. modelname:
  4798. description: 型号名称
  4799. type: string
  4800. oristock:
  4801. description: 期初库存量(昨日量)
  4802. type: number
  4803. spotgoodsbrandid:
  4804. description: 现货品牌ID
  4805. type: integer
  4806. spotgoodsmodelid:
  4807. description: 现货型号ID
  4808. type: integer
  4809. todaybuyinqty:
  4810. description: 今日采购入库量
  4811. type: number
  4812. todayproduceinqty:
  4813. description: 今日生产入库量
  4814. type: number
  4815. todayproduceoutqty:
  4816. description: 今日生产出库量
  4817. type: number
  4818. todayselloutqty:
  4819. description: 今日销售出库量
  4820. type: number
  4821. unitid:
  4822. description: 单位id
  4823. type: integer
  4824. updatetime:
  4825. description: 更新时间
  4826. type: string
  4827. userid:
  4828. description: 机构ID
  4829. type: integer
  4830. username:
  4831. description: 机构名称
  4832. type: string
  4833. warehousecode:
  4834. description: 仓库代码
  4835. type: string
  4836. warehouseinfoid:
  4837. description: 仓库ID
  4838. type: string
  4839. warehousename:
  4840. description: 仓库名称
  4841. type: string
  4842. warehousetype:
  4843. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4844. type: integer
  4845. wrstandardcode:
  4846. description: 现货商品代码
  4847. type: string
  4848. wrstandardid:
  4849. description: 现货商品ID
  4850. type: string
  4851. wrstandardname:
  4852. description: 现货商品名称
  4853. type: string
  4854. type: object
  4855. models.ErmcpAreaStockApply:
  4856. properties:
  4857. applyid:
  4858. description: 申请人
  4859. type: integer
  4860. applyname:
  4861. description: 申请人名称
  4862. type: string
  4863. applyremark:
  4864. description: 申请备注
  4865. type: string
  4866. applysrc:
  4867. description: 申请来源 - 1:管理端 2:终端
  4868. type: integer
  4869. applystatus:
  4870. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  4871. type: integer
  4872. applytime:
  4873. description: 申请时间
  4874. type: string
  4875. auditid:
  4876. description: 审核人
  4877. type: integer
  4878. auditname:
  4879. description: 审核人名称
  4880. type: string
  4881. auditremark:
  4882. description: 审核备注
  4883. type: string
  4884. auditsrc:
  4885. description: 审核来源 - 1:管理端 2:终端
  4886. type: integer
  4887. audittime:
  4888. description: 审核时间
  4889. type: string
  4890. audittradedate:
  4891. description: 审核交易日(yyyyMMdd)
  4892. type: string
  4893. brandname:
  4894. description: 品牌名称
  4895. type: string
  4896. buyuserid:
  4897. description: 采购方userid
  4898. type: integer
  4899. buyusername:
  4900. description: 采购方名称
  4901. type: string
  4902. contractno:
  4903. description: 合同编号
  4904. type: string
  4905. contractqty:
  4906. description: 合同量
  4907. type: number
  4908. contracttype:
  4909. description: 现货合同类型 - 1:采购 -1:销售
  4910. type: integer
  4911. deliverygoodsid:
  4912. description: 现货品种ID
  4913. type: integer
  4914. enumdicname:
  4915. description: 现货商品单位名称
  4916. type: string
  4917. inoutapplyid:
  4918. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  4919. type: string
  4920. inouttype:
  4921. description: 出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  4922. type: integer
  4923. modelname:
  4924. description: 型号名称
  4925. type: string
  4926. pricetype:
  4927. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4928. type: integer
  4929. qty:
  4930. description: 数量
  4931. type: number
  4932. selluserid:
  4933. description: 销售方userid
  4934. type: integer
  4935. sellusername:
  4936. description: 销售方名称
  4937. type: string
  4938. spotcontractid:
  4939. description: 关联现货合同ID
  4940. type: string
  4941. spotgoodsbrandid:
  4942. description: 现货品牌ID
  4943. type: integer
  4944. spotgoodsmodelid:
  4945. description: 现货型号ID
  4946. type: integer
  4947. unitid:
  4948. description: 单位id
  4949. type: integer
  4950. userid:
  4951. description: 机构ID
  4952. type: integer
  4953. warehousecode:
  4954. description: 仓库代码
  4955. type: string
  4956. warehouseinfoid:
  4957. description: 现货仓库ID
  4958. type: string
  4959. warehousename:
  4960. description: 仓库名称
  4961. type: string
  4962. warehousetype:
  4963. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4964. type: integer
  4965. wrstandardcode:
  4966. description: 现货商品代码
  4967. type: string
  4968. wrstandardid:
  4969. description: 现货商品ID
  4970. type: string
  4971. wrstandardname:
  4972. description: 现货商品名称
  4973. type: string
  4974. type: object
  4975. models.ErmcpAreaStockApplySum:
  4976. properties:
  4977. brandname:
  4978. description: 品牌名称
  4979. type: string
  4980. inouttype:
  4981. description: 出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  4982. type: integer
  4983. modelname:
  4984. description: 型号名称
  4985. type: string
  4986. spotcontractid:
  4987. description: 关联现货合同ID
  4988. type: string
  4989. spotgoodsbrandid:
  4990. description: 品牌id
  4991. type: integer
  4992. spotgoodsmodelid:
  4993. description: 型号id
  4994. type: integer
  4995. totalqty:
  4996. description: 总数量
  4997. type: number
  4998. type: object
  4999. models.ErmcpAreaStockReport:
  5000. properties:
  5001. brandname:
  5002. description: 品牌名称
  5003. type: string
  5004. curstock:
  5005. description: 期末库存量
  5006. type: number
  5007. deliverygoodsid:
  5008. description: 现货品种ID
  5009. type: integer
  5010. enumdicname:
  5011. description: 单位名称
  5012. type: string
  5013. modelname:
  5014. description: 型号名称
  5015. type: string
  5016. oristock:
  5017. description: 期初库存量
  5018. type: number
  5019. spotgoodsbrandid:
  5020. description: 现货品牌ID
  5021. type: integer
  5022. spotgoodsmodelid:
  5023. description: 现货型号ID
  5024. type: integer
  5025. todaybuyinqty:
  5026. description: 今日采购入库量
  5027. type: number
  5028. todayproduceinqty:
  5029. description: 今日生产入库量
  5030. type: number
  5031. todayproduceoutqty:
  5032. description: 今日生产出库量
  5033. type: number
  5034. todayselloutqty:
  5035. description: 今日销售出库量
  5036. type: number
  5037. unitid:
  5038. description: 单位id
  5039. type: integer
  5040. updatetime:
  5041. description: 更新时间
  5042. type: string
  5043. userid:
  5044. description: 机构ID
  5045. type: integer
  5046. username:
  5047. description: 机构名称
  5048. type: string
  5049. warehousecode:
  5050. description: 仓库代码
  5051. type: string
  5052. warehouseinfoid:
  5053. description: 仓库ID
  5054. type: string
  5055. warehousename:
  5056. description: 仓库名称
  5057. type: string
  5058. warehousetype:
  5059. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  5060. type: integer
  5061. wrstandardcode:
  5062. description: 现货商品代码
  5063. type: string
  5064. wrstandardid:
  5065. description: 现货商品ID
  5066. type: string
  5067. wrstandardname:
  5068. description: 现货商品名称
  5069. type: string
  5070. type: object
  5071. models.ErmcpAvalidGoodsGroupModel:
  5072. properties:
  5073. goodsgroupid:
  5074. description: 期货品种id
  5075. type: integer
  5076. goodsgroupname:
  5077. description: 期货品种名称
  5078. type: string
  5079. goodunitid:
  5080. description: 品种单位id
  5081. type: integer
  5082. goodunitname:
  5083. description: 品种单位名称
  5084. type: string
  5085. outergroupcode:
  5086. description: 期货品种代码
  5087. type: string
  5088. type: object
  5089. models.ErmcpBizGroupEx:
  5090. properties:
  5091. acclist:
  5092. description: 账号列表
  5093. items:
  5094. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  5095. type: array
  5096. bizgroupid:
  5097. description: 业务分组id
  5098. type: integer
  5099. biztype:
  5100. description: 业务类型 1-套保 2-套利
  5101. type: integer
  5102. wrlist:
  5103. description: 现货商品表
  5104. items:
  5105. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  5106. type: array
  5107. type: object
  5108. models.ErmcpBizGroupSpotGoods:
  5109. properties:
  5110. areauserid:
  5111. description: 所属机构id
  5112. type: integer
  5113. bizgroupid:
  5114. description: 分组id
  5115. type: integer
  5116. biztype:
  5117. description: 业务类型 1-套保 2-套利
  5118. type: integer
  5119. deliverygoodscode:
  5120. description: 现货商品代码
  5121. type: string
  5122. deliverygoodsid:
  5123. description: 现货商品id
  5124. type: integer
  5125. deliverygoodsname:
  5126. description: 现货商品名称
  5127. type: string
  5128. unitid:
  5129. description: 现货商品单位id
  5130. type: integer
  5131. type: object
  5132. models.ErmcpBizGroupTaAccount:
  5133. properties:
  5134. accountid:
  5135. description: 账号id
  5136. type: integer
  5137. accountname:
  5138. description: 账号名称
  5139. type: string
  5140. areauserid:
  5141. description: 所属机构id
  5142. type: integer
  5143. bizgroupid:
  5144. description: 业务分组id
  5145. type: integer
  5146. ismain:
  5147. description: 是否主账号 1-是 0-否
  5148. type: integer
  5149. type: object
  5150. models.ErmcpDGFactoryItem:
  5151. properties:
  5152. areauserid:
  5153. description: 用户id
  5154. type: integer
  5155. deliverygoodsid:
  5156. description: 现货品种ID
  5157. type: integer
  5158. dgfactoryitemid:
  5159. description: 选择项ID(SEQ_DGFACTORYITEM)
  5160. type: integer
  5161. dgfactoryitemtypeid:
  5162. description: 要素项类型
  5163. type: integer
  5164. dgfactoryitemvalue:
  5165. description: 要素项值(类型为仓库时填写仓库名称)
  5166. type: string
  5167. isvalid:
  5168. description: 是否有效 - 0:无效 1:有效
  5169. type: integer
  5170. orderindex:
  5171. description: 顺序
  5172. type: integer
  5173. warehouseid:
  5174. description: 仓库ID(类型为仓库时填写)
  5175. type: integer
  5176. type: object
  5177. models.ErmcpDeliveryGoods:
  5178. properties:
  5179. agreeunit:
  5180. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  5181. type: integer
  5182. areauserid:
  5183. description: 所属机构
  5184. type: integer
  5185. auditflag:
  5186. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  5187. type: integer
  5188. categoryid:
  5189. description: 类别ID(SEQ_WRCATEGORY)
  5190. type: integer
  5191. deliverygoodscode:
  5192. description: 现货品种代码
  5193. type: string
  5194. deliverygoodsid:
  5195. description: 现货品种ID(SEQ_DELIVERYGOODS)
  5196. type: integer
  5197. deliverygoodsname:
  5198. description: 现货品种名称
  5199. type: string
  5200. deliverygoodstype:
  5201. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  5202. type: integer
  5203. dgstatus:
  5204. description: 品种状态 - 作废 - 0:未激活 1:正常
  5205. type: integer
  5206. enumdicname:
  5207. description: 现货品种单位名称
  5208. type: string
  5209. goodsunitid:
  5210. description: 现货品种单位ID
  5211. type: integer
  5212. isvalid:
  5213. description: 是否有效 - 0:无效 1:有效
  5214. type: integer
  5215. qtydecimalplace:
  5216. description: 成交量小数位
  5217. type: integer
  5218. remark:
  5219. description: 备注
  5220. type: string
  5221. standardqty:
  5222. description: 标准数量(库位数量) [标准品特有]
  5223. type: integer
  5224. standardqtyrange:
  5225. description: 标准数量偏差范围 [标准品特有]
  5226. type: integer
  5227. type: object
  5228. models.ErmcpDeliveryGoodsDetail2:
  5229. properties:
  5230. convertratio:
  5231. description: 套保系数(折算系数)
  5232. type: number
  5233. data:
  5234. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  5235. description: 现货商品基本信息(交割品种)
  5236. type: object
  5237. gblist:
  5238. description: 品牌列表
  5239. items:
  5240. $ref: '#/definitions/models.Ermcp3Brand'
  5241. type: array
  5242. gmlist:
  5243. description: 品类列表(仓单标准)
  5244. items:
  5245. $ref: '#/definitions/models.Ermcp3Wrstandard'
  5246. type: array
  5247. type: object
  5248. models.ErmcpDeliveryGoodsDetailEx:
  5249. properties:
  5250. data:
  5251. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  5252. description: 现货商品基本信息(交割品种)
  5253. type: object
  5254. gblist:
  5255. description: 品牌列表
  5256. items:
  5257. $ref: '#/definitions/models.Ermcp3Brand'
  5258. type: array
  5259. gmlist:
  5260. description: 品类列表(仓单标准)
  5261. items:
  5262. $ref: '#/definitions/models.Ermcp3Wrstandard'
  5263. type: array
  5264. mgList:
  5265. description: 套保列表
  5266. items:
  5267. $ref: '#/definitions/models.Ermcp3MiddleGoodsDetail2'
  5268. type: array
  5269. type: object
  5270. models.ErmcpExposureDetailModel:
  5271. properties:
  5272. areauserid:
  5273. description: 机构ID
  5274. type: integer
  5275. changeQty:
  5276. description: 套保变动量
  5277. type: number
  5278. contracttype:
  5279. description: 现货合同类型 - 1:采购 -1:销售
  5280. type: integer
  5281. convertfactor:
  5282. description: 标仓系数
  5283. type: number
  5284. convertratio:
  5285. description: 套保系数
  5286. type: number
  5287. createtime:
  5288. description: 时间
  5289. type: string
  5290. enumdicname:
  5291. description: 现货商品单位名称
  5292. type: string
  5293. logtype:
  5294. description: 类型 - 1:套保计划 2:现货合同
  5295. type: integer
  5296. middlegoodsId:
  5297. description: 套保商品id
  5298. type: integer
  5299. middlegoodscode:
  5300. description: 套保商品代码
  5301. type: string
  5302. middlegoodsname:
  5303. description: 套保商品名称
  5304. type: string
  5305. qty:
  5306. description: 数量
  5307. type: number
  5308. relateNo:
  5309. description: 现货合同/套保计划编号
  5310. type: string
  5311. wrstandardcode:
  5312. description: 现货商品代码
  5313. type: string
  5314. wrstandardid:
  5315. description: 现货商品ID
  5316. type: integer
  5317. wrstandardname:
  5318. description: 现货商品名称
  5319. type: string
  5320. type: object
  5321. models.ErmcpExposurePostion:
  5322. properties:
  5323. agreeunit:
  5324. description: 合约单位
  5325. type: string
  5326. areauserid:
  5327. description: 所属机构id
  5328. type: integer
  5329. convertratio:
  5330. description: 期货品种系数(折算系数)
  5331. type: number
  5332. curqty:
  5333. description: 当前持仓
  5334. type: integer
  5335. diffhedgeqty:
  5336. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  5337. type: number
  5338. diffqty:
  5339. description: 持仓变动量=当前持仓-昨日持仓
  5340. type: integer
  5341. goodscode:
  5342. description: 商品代码
  5343. type: string
  5344. goodsid:
  5345. description: 商品id
  5346. type: integer
  5347. goodsname:
  5348. description: 商品名称
  5349. type: string
  5350. middlegoodsid:
  5351. description: 套保商品id
  5352. type: integer
  5353. ydqty:
  5354. description: 昨日持仓
  5355. type: integer
  5356. type: object
  5357. models.ErmcpFuturesCompany:
  5358. properties:
  5359. brokerid:
  5360. description: 经纪公司代码
  5361. type: string
  5362. channeladdress:
  5363. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  5364. type: string
  5365. channelid:
  5366. description: 对冲渠道ID
  5367. type: string
  5368. createtime:
  5369. description: 创建时间
  5370. type: string
  5371. creatorid:
  5372. description: 创建人
  5373. type: string
  5374. fcid:
  5375. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  5376. type: integer
  5377. fcname:
  5378. description: 期货公司名称
  5379. type: string
  5380. isvalid:
  5381. description: 是否有效 - 0:无效 1:有效
  5382. type: integer
  5383. mhpaddress:
  5384. description: MHP服务地址(IP:Port)
  5385. type: string
  5386. riskrulegroupid:
  5387. description: 风控规则组ID
  5388. type: string
  5389. tradefeetmpid:
  5390. description: 手续费模板ID[TradeConfigTmpType为2]
  5391. type: string
  5392. trademargintmpid:
  5393. description: 保证金模板ID [TradeConfigTmpType为1]
  5394. type: string
  5395. traderatetmpid:
  5396. description: 汇率模板ID[TradeConfigTmpType为3]
  5397. type: string
  5398. updatetime:
  5399. description: 更新时间
  5400. type: string
  5401. updatorid:
  5402. description: 更新人
  5403. type: string
  5404. type: object
  5405. models.ErmcpGGConvertCfg:
  5406. properties:
  5407. convertratio:
  5408. description: 折算系数
  5409. type: number
  5410. destgoodsgroupid:
  5411. description: 目标品种ID
  5412. type: integer
  5413. dstcode:
  5414. description: 目录品种代码
  5415. type: string
  5416. dstexchangecode:
  5417. description: 目标期货交易所
  5418. type: string
  5419. dstname:
  5420. description: 目标品种名称
  5421. type: string
  5422. dstunitid:
  5423. description: 目标品种单位ID
  5424. type: integer
  5425. dstunitidname:
  5426. description: 目标品种单位名称
  5427. type: string
  5428. modifytime:
  5429. description: 修改时间
  5430. type: string
  5431. srccode:
  5432. description: 源品种代码
  5433. type: string
  5434. srcexchangecode:
  5435. description: 源期货交易所
  5436. type: string
  5437. srcgoodsgroupid:
  5438. description: 源品种ID
  5439. type: integer
  5440. srcname:
  5441. description: 源品种名称
  5442. type: string
  5443. srcunitid:
  5444. description: 源品种单位ID
  5445. type: integer
  5446. srcunitidname:
  5447. description: 源品种单位名称
  5448. type: string
  5449. type: object
  5450. models.ErmcpGoodsBrand:
  5451. properties:
  5452. areauserid:
  5453. description: 所属机构
  5454. type: integer
  5455. brandid:
  5456. description: BrandID(SEQ_SPOTGOODSBRAND)
  5457. type: integer
  5458. brandname:
  5459. description: 品牌名称
  5460. type: string
  5461. createtime:
  5462. description: 创建时间
  5463. type: string
  5464. creatorid:
  5465. description: 创建人
  5466. type: integer
  5467. creatorsrc:
  5468. description: 创建人来源 - 1:管理端 2:终端
  5469. type: integer
  5470. deliverygoodsid:
  5471. description: 现货品种ID
  5472. type: integer
  5473. isvalid:
  5474. description: 是否有效 - 0:无效 1:有效
  5475. type: integer
  5476. updatetime:
  5477. description: 更新时间
  5478. type: string
  5479. updatorid:
  5480. description: 更新人
  5481. type: integer
  5482. updatorsrc:
  5483. description: 更新人来源 - 1:管理端 2:终端
  5484. type: integer
  5485. wrstandardid:
  5486. description: 现货商品ID
  5487. type: integer
  5488. type: object
  5489. models.ErmcpGoodsModel:
  5490. properties:
  5491. areauserid:
  5492. description: 所属机构
  5493. type: integer
  5494. convertfactor:
  5495. description: 标仓系数
  5496. type: number
  5497. createtime:
  5498. description: 创建时间
  5499. type: string
  5500. creatorid:
  5501. description: 创建人
  5502. type: integer
  5503. creatorsrc:
  5504. description: 创建人来源 - 1:管理端 2:终端
  5505. type: integer
  5506. deliverygoodsid:
  5507. description: 现货品种ID
  5508. type: integer
  5509. isvalid:
  5510. description: 是否有效 - 0:无效 1:有效
  5511. type: integer
  5512. modelid:
  5513. description: ModelID(SEQ_SPOTGOODSMODEL)
  5514. type: integer
  5515. modelname:
  5516. description: 型号名称
  5517. type: string
  5518. updatetime:
  5519. description: 更新时间
  5520. type: string
  5521. updatorid:
  5522. description: 更新人
  5523. type: integer
  5524. updatorsrc:
  5525. description: 更新人来源 - 1:管理端 2:终端
  5526. type: integer
  5527. wrstandardid:
  5528. description: 现货商品ID
  5529. type: integer
  5530. type: object
  5531. models.ErmcpHedgePlan:
  5532. properties:
  5533. areauserid:
  5534. description: 用户ID
  5535. type: integer
  5536. audittime:
  5537. description: 审核时间
  5538. type: string
  5539. contracttype:
  5540. description: 计划类型 - 1:采购 -1:销售
  5541. type: integer
  5542. convertfactor:
  5543. description: 标仓系数
  5544. type: number
  5545. createtime:
  5546. description: 创建时间
  5547. type: string
  5548. deliverygoodsid:
  5549. description: 现货品种ID
  5550. type: integer
  5551. deliverygoodsname:
  5552. description: 现货品种名称
  5553. type: string
  5554. enumdicname:
  5555. description: 单位名称
  5556. type: string
  5557. hedgeplanid:
  5558. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  5559. type: string
  5560. hedgeplanno:
  5561. description: 套保计划编号(名称)
  5562. type: string
  5563. hedgeplanstatus:
  5564. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5565. type: integer
  5566. planqty:
  5567. description: 计划数量
  5568. type: number
  5569. plantime:
  5570. description: 计划时间
  5571. type: string
  5572. producttype:
  5573. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5574. type: integer
  5575. remark:
  5576. description: 备注
  5577. type: string
  5578. spotgoodsdesc:
  5579. description: 商品型号
  5580. type: string
  5581. unitid:
  5582. description: 单位id
  5583. type: integer
  5584. updatetime:
  5585. description: 更新时间
  5586. type: string
  5587. wrstandardid:
  5588. description: 现货商品ID
  5589. type: integer
  5590. wrstandardname:
  5591. description: 现货商品名称
  5592. type: string
  5593. type: object
  5594. models.ErmcpHedgePosition:
  5595. properties:
  5596. accountid:
  5597. description: 资金账号[外部母账户]
  5598. type: integer
  5599. curbuyposition:
  5600. description: 期末买头寸
  5601. type: integer
  5602. cursellposition:
  5603. description: 期末卖头寸
  5604. type: integer
  5605. curtdbuyposition:
  5606. description: 期末今日买头寸
  5607. type: integer
  5608. curtdsellposition:
  5609. description: 期末今日卖头寸
  5610. type: integer
  5611. curydbuyposition:
  5612. description: 期末上日买头寸
  5613. type: integer
  5614. curydsellposition:
  5615. description: 期末上日卖头寸
  5616. type: integer
  5617. decreaseqty:
  5618. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  5619. type: integer
  5620. fretdbuyposition:
  5621. description: 冻结今日买头寸
  5622. type: integer
  5623. fretdsellposition:
  5624. description: 冻结今日卖头寸
  5625. type: integer
  5626. freydbuyposition:
  5627. description: 冻结上日买头寸
  5628. type: integer
  5629. freydsellposition:
  5630. description: 冻结上日卖头寸
  5631. type: integer
  5632. goodscode:
  5633. description: 商品代码
  5634. type: string
  5635. goodsid:
  5636. description: 商品id
  5637. type: integer
  5638. goodsname:
  5639. description: 商品名称
  5640. type: string
  5641. hedgeaccountcode:
  5642. description: 对冲账号
  5643. type: string
  5644. hedgegoodsid:
  5645. description: 对冲合约ID
  5646. type: integer
  5647. increaseqty:
  5648. description: 增加数量 = 期末买头寸 - 期初买头寸
  5649. type: integer
  5650. marketid:
  5651. description: 市场ID
  5652. type: integer
  5653. relateduserid:
  5654. description: 关联用户id
  5655. type: integer
  5656. totalcurqty:
  5657. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  5658. type: integer
  5659. totalydqty:
  5660. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  5661. type: integer
  5662. tradedate:
  5663. description: 交易日(yyyyMMdd)
  5664. type: string
  5665. ydbuyposition:
  5666. description: 期初买头寸
  5667. type: integer
  5668. ydsellposition:
  5669. description: 期初卖头寸
  5670. type: integer
  5671. type: object
  5672. models.ErmcpHedgePositionDetail:
  5673. properties:
  5674. buyorsell:
  5675. description: 买卖方向 0-买 1-卖
  5676. type: integer
  5677. channelbuildtype:
  5678. description: 开平方向 1-建仓 2-平仓
  5679. type: integer
  5680. goodscode:
  5681. description: 商品代码
  5682. type: string
  5683. goodsname:
  5684. description: 商品名称
  5685. type: string
  5686. hedgegoodsid:
  5687. description: 商品id
  5688. type: integer
  5689. tradeqty:
  5690. description: 数量(成交数量)
  5691. type: integer
  5692. tradetime:
  5693. description: 时间(成交时间)
  5694. type: string
  5695. type: object
  5696. models.ErmcpHisExposure:
  5697. properties:
  5698. needhedgeexposoure:
  5699. description: 应套保敞口
  5700. type: number
  5701. reckondate:
  5702. description: 日照时期(yyyyMMdd)
  5703. type: string
  5704. totalexposure:
  5705. description: 总敞口
  5706. type: number
  5707. type: object
  5708. models.ErmcpHisExposureS:
  5709. properties:
  5710. data:
  5711. description: 历史敞口
  5712. items:
  5713. $ref: '#/definitions/models.ErmcpHisExposure'
  5714. type: array
  5715. enumdicname:
  5716. description: 单位名称
  5717. type: string
  5718. middlegoodscode:
  5719. description: 套保品种代码
  5720. type: string
  5721. middlegoodsid:
  5722. description: 套保品种ID
  5723. type: integer
  5724. middlegoodsname:
  5725. description: 套保品种名称
  5726. type: string
  5727. type: object
  5728. models.ErmcpLoginTaAccount:
  5729. properties:
  5730. accountid:
  5731. description: 账号id
  5732. type: integer
  5733. accountname:
  5734. description: 账号名称
  5735. type: string
  5736. type: object
  5737. models.ErmcpLoginUser:
  5738. properties:
  5739. acclist:
  5740. description: 关联资金账号
  5741. items:
  5742. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  5743. type: array
  5744. accountname:
  5745. description: 用户名称
  5746. type: string
  5747. clientroleid:
  5748. description: 角色id(usertype=2)
  5749. type: integer
  5750. createtime:
  5751. description: 创建时间
  5752. type: string
  5753. logincode:
  5754. description: 登录代码
  5755. type: string
  5756. loginid:
  5757. description: 登录id(LOGINID)
  5758. type: integer
  5759. loginstatus:
  5760. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  5761. type: integer
  5762. memberuserid:
  5763. description: 所属会员id
  5764. type: integer
  5765. mobile:
  5766. description: 手机号
  5767. type: string
  5768. modifytime:
  5769. description: 修改时间
  5770. type: string
  5771. password:
  5772. description: 密码(不可解密)
  5773. type: string
  5774. rolename:
  5775. description: 角色名称
  5776. type: string
  5777. rolestatus:
  5778. description: 角色状态 1-启用 2-停用
  5779. type: integer
  5780. roletype:
  5781. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  5782. type: string
  5783. userid:
  5784. description: 用户id
  5785. type: integer
  5786. usertype:
  5787. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  5788. type: integer
  5789. type: object
  5790. models.ErmcpLoginUserEx:
  5791. properties:
  5792. roleid:
  5793. description: 角色id(交易账户->用户id)
  5794. type: integer
  5795. rolename:
  5796. description: 角色名称(交易账户->用户名称)
  5797. type: string
  5798. userlist:
  5799. description: 用户列表
  5800. items:
  5801. $ref: '#/definitions/models.ErmcpLoginUser'
  5802. type: array
  5803. usertype:
  5804. description: 用户类型 2-机构 7-企业成员(云平台)
  5805. type: integer
  5806. type: object
  5807. models.ErmcpMiddleGoodsChangeLog:
  5808. properties:
  5809. aftervalue:
  5810. description: 变更后
  5811. type: number
  5812. applyid:
  5813. description: 操作人
  5814. type: integer
  5815. applyname:
  5816. description: 操作人名称
  5817. type: string
  5818. applysrc:
  5819. description: 操作来源 - 1:管理端 2:终端
  5820. type: integer
  5821. beforevalue:
  5822. description: 变更前
  5823. type: number
  5824. changelogtype:
  5825. description: 变更流水类型 - 1:套保比率变更
  5826. type: integer
  5827. handlestatus:
  5828. description: 处理状态
  5829. type: integer
  5830. logdatetime:
  5831. description: 流水日期
  5832. type: string
  5833. logid:
  5834. description: 流水ID
  5835. type: integer
  5836. logremark:
  5837. description: 流水备注
  5838. type: string
  5839. middlegoodsid:
  5840. description: 套保品种ID
  5841. type: integer
  5842. tradedate:
  5843. description: 交易日(yyyyMMdd)
  5844. type: string
  5845. updatetime:
  5846. description: 更新时间
  5847. type: string
  5848. type: object
  5849. models.ErmcpMiddleGoodsDetail:
  5850. properties:
  5851. cvList:
  5852. description: 期货品种折算列表
  5853. items:
  5854. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  5855. type: array
  5856. mg:
  5857. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  5858. description: 套保品种基本信息
  5859. type: object
  5860. wrcList:
  5861. description: 现货品种列表(现货商品折算配置)
  5862. items:
  5863. $ref: '#/definitions/models.WRSConverTDetail'
  5864. type: array
  5865. type: object
  5866. models.ErmcpMiddleGoodsModel:
  5867. properties:
  5868. areauserid:
  5869. description: 机构用户ID
  5870. type: integer
  5871. createtime:
  5872. description: 修改时间
  5873. type: string
  5874. enumdicname:
  5875. description: 单位名称
  5876. type: string
  5877. evaluateratio:
  5878. description: 估价系数
  5879. type: number
  5880. goodsgroupid:
  5881. description: 关联期货品种ID
  5882. type: integer
  5883. goodsunitid:
  5884. description: 单位ID
  5885. type: integer
  5886. isvalid:
  5887. description: 状态 0-无效(停用) 1-有效(正常)
  5888. type: integer
  5889. middlegoodscode:
  5890. description: 套保品种代码
  5891. type: string
  5892. middlegoodsid:
  5893. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  5894. type: integer
  5895. middlegoodsname:
  5896. description: 套保品种名称
  5897. type: string
  5898. modifytime:
  5899. description: 修改时间
  5900. type: string
  5901. needhedgeratio:
  5902. description: 套保比率
  5903. type: number
  5904. qtydecimalplace:
  5905. description: 数量小数位
  5906. type: integer
  5907. relatedgoodsid:
  5908. description: 关联交易商品ID
  5909. type: integer
  5910. relatedgoodstype:
  5911. description: 关联商品类型 - 1:期货合约 2:现货品种
  5912. type: integer
  5913. remark:
  5914. description: 备注
  5915. type: string
  5916. type: object
  5917. models.ErmcpModel:
  5918. properties:
  5919. accountname:
  5920. description: 账户名称
  5921. type: string
  5922. attachment:
  5923. description: 附件
  5924. type: string
  5925. audittime:
  5926. description: 审核时间
  5927. type: string
  5928. brandname:
  5929. description: 品牌名称
  5930. type: string
  5931. contracctstatus:
  5932. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5933. type: integer
  5934. contractmargin:
  5935. description: 合同保证金
  5936. type: number
  5937. contractno:
  5938. description: 合同编号
  5939. type: string
  5940. contracttype:
  5941. description: 合同类型 1-采购, -1-销售
  5942. type: integer
  5943. convertfactor:
  5944. description: 标仓系数
  5945. type: number
  5946. createtime:
  5947. description: 创建时间
  5948. type: string
  5949. daikaiamount:
  5950. description: 应收(开)票额
  5951. type: number
  5952. deliveryenddate:
  5953. description: 交割结束日
  5954. type: string
  5955. deliverygoodscode:
  5956. description: 现货品种代码
  5957. type: string
  5958. deliverygoodsid:
  5959. description: 现货商品ID
  5960. type: integer
  5961. deliverygoodsname:
  5962. description: 现货品种名称
  5963. type: string
  5964. deliverystartdate:
  5965. description: 交割开始日
  5966. type: string
  5967. enddate:
  5968. description: 点价结束日
  5969. type: string
  5970. enumdicname:
  5971. description: 单位名称
  5972. type: string
  5973. goodscode:
  5974. description: 点价商品代码
  5975. type: string
  5976. goodsid:
  5977. description: 点价商品ID
  5978. type: integer
  5979. goodsname:
  5980. description: 点价商品名称
  5981. type: string
  5982. invoiceamount:
  5983. description: 已开票额
  5984. type: number
  5985. loanamount:
  5986. description: 贷款总额=已定价额+调整金额
  5987. type: number
  5988. margin:
  5989. description: 保证金
  5990. type: number
  5991. modelname:
  5992. description: 型号名称
  5993. type: string
  5994. payamount:
  5995. description: 已收付额(收款或付款)
  5996. type: number
  5997. preinvoiceamount:
  5998. description: 预收(开)票额
  5999. type: number
  6000. prepayamount:
  6001. description: 预收付额
  6002. type: number
  6003. price:
  6004. description: 价格
  6005. type: number
  6006. pricedamount:
  6007. description: 已定价额
  6008. type: number
  6009. pricedavg:
  6010. description: 已点均价
  6011. type: number
  6012. pricedqty:
  6013. description: 已定价量
  6014. type: number
  6015. pricemove:
  6016. description: 升贴水
  6017. type: number
  6018. pricetype:
  6019. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  6020. type: integer
  6021. producttype:
  6022. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  6023. type: integer
  6024. qty:
  6025. description: 合同量
  6026. type: number
  6027. reckonadjustamount:
  6028. description: 调整金额
  6029. type: number
  6030. reckonedamount:
  6031. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  6032. type: number
  6033. reckonotheramount:
  6034. description: 其它费用
  6035. type: number
  6036. reckonrealqty:
  6037. description: 已确定量
  6038. type: number
  6039. remark:
  6040. description: 备注
  6041. type: string
  6042. spotcontractid:
  6043. description: 合同ID
  6044. type: string
  6045. spotgoodsbrandid:
  6046. description: 现货品牌ID
  6047. type: integer
  6048. spotgoodsdesc:
  6049. description: 商品型号(商品规格)
  6050. type: string
  6051. spotgoodsmodelid:
  6052. description: 现货型号ID
  6053. type: integer
  6054. startdate:
  6055. description: 点价开始日
  6056. type: string
  6057. totalamount:
  6058. description: 合计总额
  6059. type: number
  6060. unpayamount:
  6061. description: 应收付款额(应支付或应收款)
  6062. type: number
  6063. unpricedqty:
  6064. description: 未定价量
  6065. type: number
  6066. unsureqty:
  6067. description: 未确定量
  6068. type: number
  6069. userid:
  6070. description: 用户ID
  6071. type: integer
  6072. wrstandardcode:
  6073. description: 现货商品代码
  6074. type: string
  6075. wrstandardid:
  6076. description: 现货商品ID
  6077. type: integer
  6078. wrstandardname:
  6079. description: 现货商品名称
  6080. type: string
  6081. type: object
  6082. models.ErmcpOPLogModel:
  6083. properties:
  6084. aftervalue:
  6085. description: 变更后
  6086. type: number
  6087. applyid:
  6088. description: 操作人ID
  6089. type: string
  6090. applyname:
  6091. description: 操作人名称
  6092. type: string
  6093. beforevalue:
  6094. description: 变更前
  6095. type: number
  6096. biztype:
  6097. description: 业务类型 - 1:套保计划 2:现货合同
  6098. type: integer
  6099. contracttype:
  6100. description: 现货合同类型 - 1:采购 -1:销售
  6101. type: integer
  6102. logvalue:
  6103. description: 数值
  6104. type: number
  6105. operatelogtype:
  6106. description: 操作流水类型
  6107. type: integer
  6108. operatelogtypedesc:
  6109. description: 操作流水类型名称
  6110. type: string
  6111. relatedid:
  6112. description: 现货合同ID\套保计划
  6113. type: string
  6114. updatetime:
  6115. description: 更新时间
  6116. type: string
  6117. type: object
  6118. models.ErmcpPendingAudit:
  6119. properties:
  6120. areastockqty:
  6121. description: '待审核数量: 库存申请'
  6122. type: integer
  6123. businessdjqty:
  6124. description: '待审核数量: 点价'
  6125. type: integer
  6126. businessfpqty:
  6127. description: '待审核数量: 发票'
  6128. type: integer
  6129. businessjsqty:
  6130. description: '待审核数量: 结算'
  6131. type: integer
  6132. businesskxqty:
  6133. description: '待审核数量: 款项'
  6134. type: integer
  6135. hedgeplanqty:
  6136. description: '待审核数量: 套保计划'
  6137. type: integer
  6138. spotcontractqty:
  6139. description: '待审核数量: 现货合同'
  6140. type: integer
  6141. userqty:
  6142. description: '待审核数量: 用户'
  6143. type: integer
  6144. type: object
  6145. models.ErmcpRealExposureModel:
  6146. properties:
  6147. AreaUserID:
  6148. description: 所属机构
  6149. type: integer
  6150. BuyFutureQty:
  6151. description: 买入期货数量
  6152. type: number
  6153. BuyPlanQty:
  6154. description: 采购计划数量
  6155. type: number
  6156. BuyPricedQty:
  6157. description: 采购合同已定价数量
  6158. type: number
  6159. MiddleGoodsCode:
  6160. description: 套保品种代码
  6161. type: string
  6162. MiddleGoodsHedgeRatio:
  6163. description: 应套保比例
  6164. type: number
  6165. MiddleGoodsID:
  6166. description: 套保品种
  6167. type: integer
  6168. MiddleGoodsName:
  6169. description: 套保品种名称
  6170. type: string
  6171. NeedHedgeExposoure:
  6172. description: 应套保敞口
  6173. type: number
  6174. NeedHedgeRatio:
  6175. description: 应套保敞口比例
  6176. type: number
  6177. OriBuyFutureQty:
  6178. description: 期初买入期货数量
  6179. type: number
  6180. OriBuyPlanQty:
  6181. description: 期初采购计划数量
  6182. type: number
  6183. OriBuyPricedQty:
  6184. description: 期初采购合同已定价数量
  6185. type: number
  6186. OriSellFutureQty:
  6187. description: 期初卖出期货数量
  6188. type: number
  6189. OriSellPlanQty:
  6190. description: 期初销售计划数量
  6191. type: number
  6192. OriSellPricedQty:
  6193. description: 期初销售合同已定价数量
  6194. type: number
  6195. SellFutureQty:
  6196. description: 卖出期货数量
  6197. type: number
  6198. SellPlanQty:
  6199. description: 销售计划数量
  6200. type: number
  6201. SellPricedQty:
  6202. description: 销售合同已定价数量
  6203. type: number
  6204. TotalExposure:
  6205. description: 总敞口
  6206. type: number
  6207. TotalFutureQty:
  6208. description: 期货数量
  6209. type: number
  6210. TotalHedgeRatio:
  6211. description: 敞口比例
  6212. type: number
  6213. TotalNeedHedgeQty:
  6214. description: 期货应套保量
  6215. type: number
  6216. TotalSpotQty:
  6217. description: 现货数量
  6218. type: number
  6219. diffFutuQty:
  6220. description: 今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)
  6221. type: number
  6222. diffSpotQty:
  6223. description: 今日变动量(现货) = 现货数量 - 期初现货数量
  6224. type: number
  6225. enumdicname:
  6226. description: 单位名称
  6227. type: string
  6228. oriTotalFutuQty:
  6229. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  6230. type: number
  6231. oriTotalSpotQty:
  6232. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  6233. type: number
  6234. type: object
  6235. models.ErmcpReportAreaSpotPL:
  6236. properties:
  6237. actualpl:
  6238. description: 实际损益
  6239. type: number
  6240. areauserid:
  6241. description: 所属机构
  6242. type: integer
  6243. brandname:
  6244. description: 品牌名称
  6245. type: string
  6246. curamount:
  6247. description: 期末额
  6248. type: number
  6249. curaverageprice:
  6250. description: 期末均价
  6251. type: number
  6252. curbuyamount:
  6253. description: 期末采购总额(采购额)
  6254. type: number
  6255. curbuyqty:
  6256. description: 期末采购总量
  6257. type: number
  6258. curmarketvalue:
  6259. description: 参考市值
  6260. type: number
  6261. curqty:
  6262. description: 期末量
  6263. type: number
  6264. cursellamount:
  6265. description: 期末销售总额(销售额)
  6266. type: number
  6267. cursellqty:
  6268. description: 期末销售总量
  6269. type: number
  6270. curspotprice:
  6271. description: 参考市价
  6272. type: number
  6273. enumdicname:
  6274. description: 现货商品单位名称
  6275. type: string
  6276. floatpl:
  6277. description: 浮动损益
  6278. type: number
  6279. gbenumdicname:
  6280. description: 品类单位名称
  6281. type: string
  6282. gbunitid:
  6283. description: 品类单位id
  6284. type: integer
  6285. modelname:
  6286. description: 品类名称
  6287. type: string
  6288. oriamount:
  6289. description: 期初额
  6290. type: number
  6291. oriaverageprice:
  6292. description: 期初均价
  6293. type: number
  6294. oribuyamount:
  6295. description: 期初采购总额
  6296. type: number
  6297. oribuyqty:
  6298. description: 期初采购总量
  6299. type: number
  6300. oriqty:
  6301. description: 期初量
  6302. type: number
  6303. orisellamount:
  6304. description: 期初销售总额
  6305. type: number
  6306. orisellqty:
  6307. description: 期初销售总量
  6308. type: number
  6309. spotgoodsbrandid:
  6310. description: 现货品牌ID
  6311. type: integer
  6312. spotgoodsmodelid:
  6313. description: 现货品类ID
  6314. type: integer
  6315. todaybuyamount:
  6316. description: 今日采购额
  6317. type: number
  6318. todaybuyaverageprice:
  6319. description: 今日采购均价(采购均价)
  6320. type: number
  6321. todaybuyqty:
  6322. description: 今日采购量(采购增量)
  6323. type: number
  6324. todaysellamount:
  6325. description: 今日销售额
  6326. type: number
  6327. todaysellaverageprice:
  6328. description: 今日销售均价(销售均价)
  6329. type: number
  6330. todaysellqty:
  6331. description: 今日销售量(销售增量)
  6332. type: number
  6333. unitid:
  6334. description: 现货商品单位id
  6335. type: integer
  6336. updatetime:
  6337. description: 更新时间
  6338. type: string
  6339. wrstandardcode:
  6340. description: 现货商品代码
  6341. type: string
  6342. wrstandardid:
  6343. description: 现货商品ID
  6344. type: integer
  6345. wrstandardname:
  6346. description: 现货商品名称
  6347. type: string
  6348. type: object
  6349. models.ErmcpReportDayExposure:
  6350. properties:
  6351. areauserid:
  6352. description: 所属机构
  6353. type: integer
  6354. buyfutureqty:
  6355. description: 买入期货数量
  6356. type: number
  6357. buyplanqty:
  6358. description: 采购计划数量
  6359. type: number
  6360. buypricedqty:
  6361. description: 采购合同已定价数量
  6362. type: number
  6363. diffFutuQty:
  6364. description: 今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)
  6365. type: number
  6366. diffSpotQty:
  6367. description: 今日变动量(现货) = 现货数量 - 期初现货数量
  6368. type: number
  6369. enumdicname:
  6370. description: 单位名称
  6371. type: string
  6372. middlegoodscode:
  6373. description: 套保品种代码
  6374. type: string
  6375. middlegoodshedgeratio:
  6376. description: 应套保比例
  6377. type: number
  6378. middlegoodsid:
  6379. description: 套保品种ID
  6380. type: integer
  6381. middlegoodsname:
  6382. description: 套保品种名称
  6383. type: string
  6384. needhedgeexposoure:
  6385. description: 应套保敞口
  6386. type: number
  6387. needhedgeratio:
  6388. description: 应套保敞口比例
  6389. type: number
  6390. oriTotalFutuQty:
  6391. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  6392. type: number
  6393. oriTotalSpotQty:
  6394. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  6395. type: number
  6396. oribuyfutureqty:
  6397. description: 期初买入期货数量
  6398. type: number
  6399. oribuyplanqty:
  6400. description: 期初采购计划数量
  6401. type: number
  6402. oribuypricedqty:
  6403. description: 期初采购合同已定价数量
  6404. type: number
  6405. orisellfutureqty:
  6406. description: 期初卖出期货数量
  6407. type: number
  6408. orisellplanqty:
  6409. description: 期初销售计划数量
  6410. type: number
  6411. orisellpricedqty:
  6412. description: 期初销售合同已定价数量
  6413. type: number
  6414. reckondate:
  6415. description: 日照时期(yyyyMMdd)
  6416. type: string
  6417. sellfutureqty:
  6418. description: 卖出期货数量
  6419. type: number
  6420. sellplanqty:
  6421. description: 销售计划数量
  6422. type: number
  6423. sellpricedqty:
  6424. description: 销售合同已定价数量
  6425. type: number
  6426. totalexposure:
  6427. description: 总敞口
  6428. type: number
  6429. totalfutureqty:
  6430. description: 期货数量
  6431. type: number
  6432. totalhedgeratio:
  6433. description: 敞口比例
  6434. type: number
  6435. totalneedhedgeqty:
  6436. description: 期货应套保量
  6437. type: number
  6438. totalspotqty:
  6439. description: 现货数量
  6440. type: number
  6441. type: object
  6442. models.ErmcpReportDayFR:
  6443. properties:
  6444. areauserid:
  6445. description: 所属机构
  6446. type: integer
  6447. collectinvoiceamount:
  6448. description: 今日开票金额
  6449. type: number
  6450. collectinvoicecount:
  6451. description: 今日开票笔数
  6452. type: integer
  6453. collectmoneyamount:
  6454. description: 今日收款金额
  6455. type: number
  6456. collectmoneycount:
  6457. description: 今日收款笔数
  6458. type: integer
  6459. payinvoiceamount:
  6460. description: 今日收票金额
  6461. type: number
  6462. payinvoicecount:
  6463. description: 今日收票笔数
  6464. type: integer
  6465. paymoneyamount:
  6466. description: 今日付款金额
  6467. type: number
  6468. paymoneycount:
  6469. description: 今日付款笔数
  6470. type: integer
  6471. reckondate:
  6472. description: 日照时期(yyyyMMdd)
  6473. type: string
  6474. updatetime:
  6475. description: 更新时间
  6476. type: string
  6477. type: object
  6478. models.ErmcpReportDaySpot:
  6479. properties:
  6480. areauserid:
  6481. description: 所属机构T
  6482. type: integer
  6483. buyinqty:
  6484. description: 采购入库量
  6485. type: number
  6486. enumdicname:
  6487. description: 现货商品单位名称
  6488. type: string
  6489. reckondate:
  6490. description: 日照时期(yyyyMMdd)
  6491. type: string
  6492. selloutqty:
  6493. description: 销售出库量
  6494. type: number
  6495. todaybuyreckonqty:
  6496. description: 采购确定量
  6497. type: number
  6498. todaysellreckonqty:
  6499. description: 销售确定量
  6500. type: number
  6501. totalbuypricedqty:
  6502. description: 采购定价量 = 期末 - 期初
  6503. type: number
  6504. totalsellpricedqty:
  6505. description: 销售定价量 = 期末 - 期初
  6506. type: number
  6507. wrstandardcode:
  6508. description: 现货商品代码
  6509. type: string
  6510. wrstandardid:
  6511. description: 现货商品ID
  6512. type: integer
  6513. wrstandardname:
  6514. description: 现货商品名称
  6515. type: string
  6516. type: object
  6517. models.ErmcpReportMonSpot:
  6518. properties:
  6519. areauserid:
  6520. description: 所属机构T
  6521. type: integer
  6522. buyinqty:
  6523. description: 采购入库量
  6524. type: number
  6525. cycletime:
  6526. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6527. type: string
  6528. cycletype:
  6529. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6530. type: integer
  6531. enumdicname:
  6532. description: 现货商品单位名称
  6533. type: string
  6534. selloutqty:
  6535. description: 销售出库量
  6536. type: number
  6537. todaybuyreckonqty:
  6538. description: 采购确定量
  6539. type: number
  6540. todaysellreckonqty:
  6541. description: 销售确定量
  6542. type: number
  6543. totalbuypricedqty:
  6544. description: 采购定价量 = 期末 - 期初
  6545. type: number
  6546. totalsellpricedqty:
  6547. description: 销售定价量 = 期末 - 期初
  6548. type: number
  6549. wrstandardcode:
  6550. description: 现货商品代码
  6551. type: string
  6552. wrstandardid:
  6553. description: 现货商品ID
  6554. type: integer
  6555. wrstandardname:
  6556. description: 现货商品名称
  6557. type: string
  6558. type: object
  6559. models.ErmcpReportMonthFR:
  6560. properties:
  6561. areauserid:
  6562. description: 所属机构【原值】
  6563. type: integer
  6564. collectinvoiceamount:
  6565. description: 今日开票金额【汇总】
  6566. type: number
  6567. collectinvoicecount:
  6568. description: 今日开票笔数【汇总】
  6569. type: integer
  6570. collectmoneyamount:
  6571. description: 今日收款金额【汇总】
  6572. type: number
  6573. collectmoneycount:
  6574. description: 今日收款笔数 【汇总】
  6575. type: integer
  6576. cycletime:
  6577. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6578. type: string
  6579. cycletype:
  6580. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6581. type: integer
  6582. dayFr:
  6583. description: 日报表明细
  6584. items:
  6585. $ref: '#/definitions/models.ErmcpReportDayFR'
  6586. type: array
  6587. payinvoiceamount:
  6588. description: 今日收票金额【汇总】
  6589. type: number
  6590. payinvoicecount:
  6591. description: 今日收票笔数【汇总】
  6592. type: integer
  6593. paymoneyamount:
  6594. description: 今日付款金额【汇总】
  6595. type: number
  6596. paymoneycount:
  6597. description: 今日付款笔数【汇总】
  6598. type: integer
  6599. updatetime:
  6600. description: 更新时间
  6601. type: string
  6602. type: object
  6603. models.ErmcpReportOPLog:
  6604. properties:
  6605. applyid:
  6606. description: 操作人
  6607. type: integer
  6608. applyname:
  6609. description: 操作人名称
  6610. type: string
  6611. biztype:
  6612. description: 业务类型 - 1:套保计划 2:现货合同
  6613. type: integer
  6614. brandname:
  6615. description: 品牌名称
  6616. type: string
  6617. contracttype:
  6618. description: 现货合同类型 - 1:采购 -1:销售
  6619. type: integer
  6620. enumdicName:
  6621. description: 单位名称
  6622. type: string
  6623. logdatetime:
  6624. description: 流水日期(时间)
  6625. type: string
  6626. logid:
  6627. description: 流水ID(604+Unix秒时间戳(10位)+xxxxxx)
  6628. type: string
  6629. logtypename:
  6630. description: 合同类型(名称)
  6631. type: string
  6632. logvalue:
  6633. description: 数值
  6634. type: string
  6635. modelname:
  6636. description: 型号名称
  6637. type: string
  6638. operatelogtype:
  6639. description: 操作流水类型 -
  6640. type: integer
  6641. optypename:
  6642. description: 流水类型名称
  6643. type: string
  6644. relatedid:
  6645. description: 现货合同ID\套保计划
  6646. type: string
  6647. relatedno:
  6648. description: 合同编号
  6649. type: string
  6650. tradedate:
  6651. description: 交易日(yyyyMMdd)
  6652. type: string
  6653. userid:
  6654. description: 机构ID
  6655. type: integer
  6656. wrstandardcode:
  6657. description: 现货商品代码
  6658. type: string
  6659. wrstandardid:
  6660. description: 现货商品ID
  6661. type: integer
  6662. wrstandardname:
  6663. description: 现货商品名称
  6664. type: string
  6665. type: object
  6666. models.ErmcpRole:
  6667. properties:
  6668. areauserid:
  6669. description: 所属机构
  6670. type: integer
  6671. autoid:
  6672. description: 角色ID(自增ID)
  6673. type: integer
  6674. modifierid:
  6675. description: 修改人(创建人)
  6676. type: integer
  6677. modifiername:
  6678. description: 修改人名称
  6679. type: string
  6680. modifytime:
  6681. description: 修改时间(创建时间)
  6682. type: string
  6683. rolename:
  6684. description: 角色名称
  6685. type: string
  6686. rolestatus:
  6687. description: 角色状态 - 1:启用 2:停用
  6688. type: integer
  6689. roletype:
  6690. description: 角色类型 - 1- 管理端 2- 交易端
  6691. type: integer
  6692. type: object
  6693. models.ErmcpRoleMenu:
  6694. properties:
  6695. iconame:
  6696. description: 菜单图标
  6697. type: string
  6698. menutype:
  6699. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  6700. type: integer
  6701. parentcode:
  6702. description: 上级资源代码
  6703. type: string
  6704. remark:
  6705. description: 菜单备注
  6706. type: string
  6707. resourcecode:
  6708. description: 菜单代码
  6709. type: string
  6710. resourcelevel:
  6711. description: 级别
  6712. type: integer
  6713. resourcename:
  6714. description: 菜单名称
  6715. type: string
  6716. roleid:
  6717. description: 角色id
  6718. type: integer
  6719. sort:
  6720. description: 排序
  6721. type: integer
  6722. url:
  6723. description: URL
  6724. type: string
  6725. userid:
  6726. description: 用户id
  6727. type: integer
  6728. type: object
  6729. models.ErmcpRoleMenuEx:
  6730. properties:
  6731. menu:
  6732. $ref: '#/definitions/models.ErmcpRoleMenu'
  6733. description: 父级菜单
  6734. type: object
  6735. subMenu:
  6736. description: 子级菜单
  6737. items:
  6738. $ref: '#/definitions/models.ErmcpRoleMenu'
  6739. type: array
  6740. type: object
  6741. models.ErmcpSpotContractModel:
  6742. properties:
  6743. amount:
  6744. description: 金额 [1:一口价、3:暂定价]
  6745. type: number
  6746. attachment:
  6747. description: 附件
  6748. type: string
  6749. auditremark:
  6750. description: 审核意见
  6751. type: string
  6752. audittime:
  6753. description: 审核时间
  6754. type: string
  6755. brandname:
  6756. description: 品牌名称
  6757. type: string
  6758. buyuserid:
  6759. description: 采购方ID
  6760. type: integer
  6761. buyusername:
  6762. description: 采购方名称
  6763. type: string
  6764. contracctstatus:
  6765. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  6766. type: integer
  6767. contractmargin:
  6768. description: 合同保证金
  6769. type: number
  6770. contractno:
  6771. description: 现货合同编号
  6772. type: string
  6773. contracttype:
  6774. description: 现货合同类型 - 1:采购 -1:销售
  6775. type: integer
  6776. convertfactor:
  6777. description: 标仓系数
  6778. type: number
  6779. createtime:
  6780. description: 创建时间
  6781. type: string
  6782. deliveryenddate:
  6783. description: 交收期(结束)
  6784. type: string
  6785. deliverygoodscode:
  6786. description: 现货品种代码
  6787. type: string
  6788. deliverygoodsid:
  6789. description: 现货品种ID
  6790. type: integer
  6791. deliverygoodsname:
  6792. description: 现货品种名称
  6793. type: string
  6794. deliverystartdate:
  6795. description: 交收期(开始)
  6796. type: string
  6797. enddate:
  6798. description: 点价结束日期 [2:点价 3:暂定价]
  6799. type: string
  6800. enumdicname:
  6801. description: 单位名称
  6802. type: string
  6803. goodscode:
  6804. description: 点价合约代码
  6805. type: string
  6806. goodsid:
  6807. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  6808. type: integer
  6809. goodsname:
  6810. description: 点价商品名称
  6811. type: string
  6812. margin:
  6813. description: 当前保证金
  6814. type: number
  6815. modelname:
  6816. description: 型号名称
  6817. type: string
  6818. price:
  6819. description: 价格\暂定价 [1:一口价、3:暂定价]
  6820. type: number
  6821. pricemove:
  6822. description: 升贴水 [2:点价 3:暂定价]
  6823. type: number
  6824. pricetype:
  6825. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  6826. type: integer
  6827. producttype:
  6828. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  6829. type: integer
  6830. qty:
  6831. description: 数量
  6832. type: number
  6833. remark:
  6834. description: 备注
  6835. type: string
  6836. selluserid:
  6837. description: 销售方ID
  6838. type: integer
  6839. sellusername:
  6840. description: 销售方名称
  6841. type: string
  6842. spotcontractid:
  6843. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  6844. type: string
  6845. spotgoodsbrandid:
  6846. description: 现货品牌ID
  6847. type: integer
  6848. spotgoodsdesc:
  6849. description: 商品型号
  6850. type: string
  6851. spotgoodsmodelid:
  6852. description: 现货型号ID
  6853. type: integer
  6854. startdate:
  6855. description: 点价开始日期 [2:点价 3:暂定价]
  6856. type: string
  6857. updatetime:
  6858. description: 更新时间
  6859. type: string
  6860. userid:
  6861. description: 机构ID
  6862. type: integer
  6863. wrstandardcode:
  6864. description: 现货商品代码
  6865. type: string
  6866. wrstandardid:
  6867. description: 现货商品ID
  6868. type: integer
  6869. wrstandardname:
  6870. description: 现货商品名称
  6871. type: string
  6872. type: object
  6873. models.ErmcpSpotGoodsPrice:
  6874. properties:
  6875. areauserid:
  6876. description: 所属机构id
  6877. type: integer
  6878. brandname:
  6879. description: 品牌名称
  6880. type: string
  6881. currencyid:
  6882. description: 报价货币ID
  6883. type: integer
  6884. enumdicname:
  6885. description: 现货商品单位名称
  6886. type: string
  6887. gbenumdicname:
  6888. description: 品类单位名称
  6889. type: string
  6890. gmunitid:
  6891. description: 品类单位id
  6892. type: integer
  6893. isvalid:
  6894. description: 是否有效 - 0:无效 1:有效
  6895. type: integer
  6896. modelname:
  6897. description: 品类名称
  6898. type: string
  6899. operateid:
  6900. description: 最后操作人
  6901. type: integer
  6902. operatesrc:
  6903. description: 最后操作来源 - 1:管理端 2:终端
  6904. type: integer
  6905. operatetime:
  6906. description: 最后操作时间
  6907. type: string
  6908. operatorname:
  6909. description: 操作人名称
  6910. type: string
  6911. spotgoodsbrandid:
  6912. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  6913. type: integer
  6914. spotgoodsmodelid:
  6915. description: 现货品类ID(通用则为0)
  6916. type: integer
  6917. spotgoodsprice:
  6918. description: 现货价格
  6919. type: number
  6920. tradedate:
  6921. description: 交易日(yyyyMMdd)
  6922. type: string
  6923. unitid:
  6924. description: 现货商品单位id
  6925. type: integer
  6926. wrstandardcode:
  6927. description: 现货商品代码
  6928. type: string
  6929. wrstandardid:
  6930. description: 现货商品ID
  6931. type: integer
  6932. wrstandardname:
  6933. description: 现货商品名称
  6934. type: string
  6935. type: object
  6936. models.ErmcpSpotGoodsPriceLog:
  6937. properties:
  6938. areauserid:
  6939. description: 所属机构id
  6940. type: integer
  6941. brandname:
  6942. description: 品牌名称
  6943. type: string
  6944. currencyid:
  6945. description: 报价货币ID
  6946. type: integer
  6947. enumdicname:
  6948. description: 现货商品单位名称
  6949. type: string
  6950. gbenumdicname:
  6951. description: 品类单位名称
  6952. type: string
  6953. gmunitid:
  6954. description: 品类单位id
  6955. type: integer
  6956. logid:
  6957. description: 日志id
  6958. type: integer
  6959. modelname:
  6960. description: 品类名称
  6961. type: string
  6962. operateid:
  6963. description: 最后操作人
  6964. type: integer
  6965. operatesrc:
  6966. description: 最后操作来源 - 1:管理端 2:终端
  6967. type: integer
  6968. operatetime:
  6969. description: 最后操作时间
  6970. type: string
  6971. operatorname:
  6972. description: 操作人名称
  6973. type: string
  6974. spotgoodsbrandid:
  6975. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  6976. type: integer
  6977. spotgoodsmodelid:
  6978. description: 现货品类ID(通用则为0)
  6979. type: integer
  6980. spotgoodsprice:
  6981. description: 现货价格
  6982. type: number
  6983. tradedate:
  6984. description: 交易日(yyyyMMdd)
  6985. type: string
  6986. unitid:
  6987. description: 现货商品单位id
  6988. type: integer
  6989. wrstandardcode:
  6990. description: 现货商品代码
  6991. type: string
  6992. wrstandardid:
  6993. description: 现货商品ID
  6994. type: integer
  6995. wrstandardname:
  6996. description: 现货商品名称
  6997. type: string
  6998. type: object
  6999. models.ErmcpTaAccount:
  7000. properties:
  7001. accountid:
  7002. description: 账户id
  7003. type: integer
  7004. accountname:
  7005. description: 账户名称
  7006. type: string
  7007. currencyid:
  7008. description: 币种id
  7009. type: integer
  7010. hedgeaccountcode:
  7011. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  7012. type: string
  7013. ismain:
  7014. description: 是否主账户 0-否 1-是
  7015. type: integer
  7016. parentaccountid:
  7017. description: 父账户id
  7018. type: integer
  7019. relateduserid:
  7020. description: 关联userid
  7021. type: integer
  7022. tradestatus:
  7023. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7024. type: integer
  7025. userid:
  7026. description: 用户id
  7027. type: integer
  7028. type: object
  7029. models.ErmcpTaAccountEx:
  7030. properties:
  7031. mainAcc:
  7032. $ref: '#/definitions/models.ErmcpTaAccount'
  7033. description: 主账号
  7034. type: object
  7035. subacclist:
  7036. description: 子账号列表
  7037. items:
  7038. $ref: '#/definitions/models.ErmcpTaAccount'
  7039. type: array
  7040. type: object
  7041. models.ErmcpTaAccountInfo:
  7042. properties:
  7043. accountid:
  7044. description: 资金账户ID
  7045. type: integer
  7046. accountname:
  7047. description: 账户名称
  7048. type: string
  7049. balance:
  7050. description: 期初余额
  7051. type: number
  7052. capitalbalance:
  7053. description: 本金余额[外部子账户实际出入金余额]
  7054. type: number
  7055. closepl:
  7056. description: 今日平仓盈亏
  7057. type: number
  7058. creditdecrease:
  7059. description: 今日授信减少
  7060. type: number
  7061. creditincrease:
  7062. description: 今日授信增加
  7063. type: number
  7064. curdebt:
  7065. description: 期末欠款
  7066. type: number
  7067. currencyid:
  7068. description: 货币ID
  7069. type: integer
  7070. currentbalance:
  7071. description: 期末余额
  7072. type: number
  7073. freezecharge:
  7074. description: 手续费冻结
  7075. type: number
  7076. freezemargin:
  7077. description: 冻结保证金
  7078. type: number
  7079. fromaccountid:
  7080. description: 所属上级账户
  7081. type: integer
  7082. inamount:
  7083. description: 今日入金金额(包括三方入金)
  7084. type: number
  7085. ismain:
  7086. description: 是否母账号 0:不是母账户 1:是母账户
  7087. type: integer
  7088. mortgagecredit:
  7089. description: 授信金额
  7090. type: number
  7091. oridebt:
  7092. description: 期初欠款
  7093. type: number
  7094. orifreezecharge:
  7095. description: 期初手续费冻结
  7096. type: number
  7097. orifreezemargin:
  7098. description: 期初冻结保证金
  7099. type: number
  7100. orimortgagecredit:
  7101. description: 期初授信金额
  7102. type: number
  7103. oriothercredit:
  7104. description: 期初其它授信金额
  7105. type: number
  7106. oriotherfreezemargin:
  7107. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  7108. type: number
  7109. orioutamountfreeze:
  7110. description: 期初出金冻结
  7111. type: number
  7112. oriusedmargin:
  7113. description: 期初占用保证金
  7114. type: number
  7115. othercredit:
  7116. description: 其它授信金额
  7117. type: number
  7118. othercreditdecrease:
  7119. description: 今日其它授信减少
  7120. type: number
  7121. othercreditincrease:
  7122. description: 今日其它授信增加
  7123. type: number
  7124. otherfreezemargin:
  7125. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  7126. type: number
  7127. outamount:
  7128. description: 今日出金金额(包括三方出金)
  7129. type: number
  7130. outamountfreeze:
  7131. description: 出金冻结
  7132. type: number
  7133. outthreshold:
  7134. description: 出金阈值
  7135. type: number
  7136. parentaccountid:
  7137. description: 所属根账号
  7138. type: integer
  7139. paycharge:
  7140. description: 今日手续费支出
  7141. type: number
  7142. relateduserid:
  7143. description: 关联用户
  7144. type: integer
  7145. signstatus:
  7146. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  7147. type: integer
  7148. sublevelpath:
  7149. description: 账号层级路径(逗号分隔,首尾加逗号)
  7150. type: string
  7151. taaccounttype:
  7152. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  7153. type: integer
  7154. thirdinamount:
  7155. description: 今日三方入金
  7156. type: number
  7157. thirdoutamount:
  7158. description: 今日三方出金
  7159. type: number
  7160. tradestatus:
  7161. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7162. type: integer
  7163. transferamount:
  7164. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  7165. type: number
  7166. usedmargin:
  7167. description: 占用保证金
  7168. type: number
  7169. userid:
  7170. description: 用户ID
  7171. type: integer
  7172. type: object
  7173. models.ErmcpTradeConfigTMP:
  7174. properties:
  7175. areauserid:
  7176. description: 所属机构
  7177. type: integer
  7178. basiccurrencyid:
  7179. description: 基本币种ID[汇率] - 目标币种
  7180. type: integer
  7181. mainaccountid:
  7182. description: 主账户ID
  7183. type: integer
  7184. modifierid:
  7185. description: 修改人
  7186. type: integer
  7187. remark:
  7188. description: 备注
  7189. type: string
  7190. tradeconfigtmpid:
  7191. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  7192. type: integer
  7193. tradeconfigtmpname:
  7194. description: 交易配置模板名称
  7195. type: string
  7196. tradeconfigtmptype:
  7197. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  7198. type: integer
  7199. updatetime:
  7200. description: 更新时间
  7201. type: string
  7202. type: object
  7203. models.ErmcpUserModel:
  7204. properties:
  7205. address:
  7206. description: 通讯地址
  7207. type: string
  7208. attachment1:
  7209. description: 附件1
  7210. type: string
  7211. audittime:
  7212. description: 审核时间
  7213. type: string
  7214. cardbackphotourl:
  7215. description: 证件反面图片地址
  7216. type: string
  7217. cardfrontphotourl:
  7218. description: 证件正面图片地址
  7219. type: string
  7220. cardnum:
  7221. description: 证件号码
  7222. type: string
  7223. cardtype:
  7224. description: 证件类型
  7225. type: integer
  7226. cardtypename:
  7227. description: 证件类型名称
  7228. type: string
  7229. cityid:
  7230. description: 市
  7231. type: integer
  7232. contactname:
  7233. description: 联系人
  7234. type: string
  7235. countryid:
  7236. description: 国家
  7237. type: integer
  7238. createtime:
  7239. description: 创建时间
  7240. type: string
  7241. customername:
  7242. description: 企业名称
  7243. type: string
  7244. districtid:
  7245. description: 区域
  7246. type: integer
  7247. email:
  7248. description: 邮件
  7249. type: string
  7250. legalpersonname:
  7251. description: 法人姓名(企业)
  7252. type: string
  7253. memberuserid:
  7254. description: 所属机构ID
  7255. type: integer
  7256. mobile:
  7257. description: 手机号码
  7258. type: string
  7259. modifytime:
  7260. description: 修改时间
  7261. type: string
  7262. nickname:
  7263. description: 昵称
  7264. type: string
  7265. provinceid:
  7266. description: 省
  7267. type: integer
  7268. remark:
  7269. description: 备注
  7270. type: string
  7271. status:
  7272. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  7273. type: integer
  7274. statusdesc:
  7275. description: 账户状态中文描述
  7276. type: string
  7277. taxpayernum:
  7278. description: 纳税人识别号
  7279. type: string
  7280. telphone:
  7281. description: 联系电话
  7282. type: string
  7283. userid:
  7284. description: 用户ID
  7285. type: integer
  7286. userinfotype:
  7287. description: 客户类型
  7288. type: string
  7289. type: object
  7290. models.ErmcpWareHouseInfo:
  7291. properties:
  7292. address:
  7293. description: 详细地址
  7294. type: string
  7295. areauserid:
  7296. description: 所属机构
  7297. type: integer
  7298. autoid:
  7299. description: 自增ID(仓库ID)
  7300. type: integer
  7301. cityid:
  7302. description: 市
  7303. type: integer
  7304. contactname:
  7305. description: 联系人
  7306. type: string
  7307. contactnum:
  7308. description: 联系电话
  7309. type: string
  7310. countryid:
  7311. description: 国家
  7312. type: integer
  7313. createtime:
  7314. description: 创建时间
  7315. type: string
  7316. districtid:
  7317. description: 区
  7318. type: integer
  7319. hasvideo:
  7320. description: 是否有视频 - 0:无 1:有
  7321. type: integer
  7322. provinceid:
  7323. description: 省
  7324. type: integer
  7325. remark:
  7326. description: 审核备注
  7327. type: string
  7328. videourl:
  7329. description: 视频地址
  7330. type: string
  7331. warehousecode:
  7332. description: 仓库代码
  7333. type: string
  7334. warehousename:
  7335. description: 仓库名称
  7336. type: string
  7337. warehousestatus:
  7338. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  7339. type: integer
  7340. warehousetype:
  7341. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  7342. type: integer
  7343. type: object
  7344. models.ErmcpWrstandDetail:
  7345. properties:
  7346. gbList:
  7347. description: 品牌列表
  7348. items:
  7349. $ref: '#/definitions/models.GoodsBrand'
  7350. type: array
  7351. goodsList:
  7352. description: 关联交易商品列表
  7353. items:
  7354. $ref: '#/definitions/models.RelatedGoodsEx'
  7355. type: array
  7356. gtList:
  7357. description: 型号列表
  7358. items:
  7359. $ref: '#/definitions/models.GoodsTypeModel'
  7360. type: array
  7361. wrd:
  7362. $ref: '#/definitions/models.ErmcpWrstandard'
  7363. description: 基本信息
  7364. type: object
  7365. wrsList:
  7366. description: 套保信息列表
  7367. items:
  7368. $ref: '#/definitions/models.WRSConverTDetail'
  7369. type: array
  7370. type: object
  7371. models.ErmcpWrstandard:
  7372. properties:
  7373. areauserid:
  7374. description: 所属机构
  7375. type: integer
  7376. createtime:
  7377. description: 创建时间
  7378. type: string
  7379. creatorid:
  7380. description: 创建人
  7381. type: integer
  7382. deliverygoodsid:
  7383. description: 品种ID
  7384. type: integer
  7385. enumdicname:
  7386. description: 单位名称
  7387. type: string
  7388. isvalid:
  7389. description: 是否有效 0-无效(停用) 1-有效(正常)
  7390. type: integer
  7391. minivalue:
  7392. description: 最小变动值
  7393. type: integer
  7394. minivaluedp:
  7395. description: 最小变动值小数位
  7396. type: integer
  7397. realminivalue:
  7398. description: 实际最小变动值
  7399. type: integer
  7400. realminivaluedp:
  7401. description: 实际最小变动值小数位
  7402. type: integer
  7403. remark:
  7404. description: 备注
  7405. type: string
  7406. unitid:
  7407. description: 单位ID
  7408. type: integer
  7409. updatetime:
  7410. description: 更新时间
  7411. type: string
  7412. wrstandardcode:
  7413. description: 现货商品代码
  7414. type: string
  7415. wrstandardid:
  7416. description: 现货商品ID(SEQ_WRSTANDARD)
  7417. type: integer
  7418. wrstandardname:
  7419. description: 现货商品名称
  7420. type: string
  7421. type: object
  7422. models.Externalexchange:
  7423. properties:
  7424. autoid:
  7425. description: AutoID - SEQ_EXTERNALEXCHANGE
  7426. type: integer
  7427. exchangefullname:
  7428. description: 外部交易所全称
  7429. type: string
  7430. exexchangecode:
  7431. description: 外部交易所代码
  7432. type: string
  7433. exexchangename:
  7434. description: 外部交易所名称(简称)
  7435. type: string
  7436. ismarketprice:
  7437. description: 是否支持市价 - 0:不支持 1:支持
  7438. type: integer
  7439. quotegear:
  7440. description: 行情档位(1-10)
  7441. type: integer
  7442. showbrokerflag:
  7443. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  7444. type: integer
  7445. updatetime:
  7446. description: 更新时间
  7447. type: string
  7448. required:
  7449. - autoid
  7450. type: object
  7451. models.Funcmenulist:
  7452. properties:
  7453. iconame:
  7454. description: 菜单图标
  7455. type: string
  7456. menutype:
  7457. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  7458. type: integer
  7459. parentcode:
  7460. description: 上级资源代码
  7461. type: string
  7462. remark:
  7463. description: 备注
  7464. type: string
  7465. resourcecode:
  7466. description: 资源代码
  7467. type: string
  7468. resourcelevel:
  7469. description: 级别 1-一级 2-二级 3-三级 4-四级
  7470. type: integer
  7471. resourcename:
  7472. description: 资源名
  7473. type: string
  7474. sort:
  7475. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  7476. type: integer
  7477. url:
  7478. description: URL
  7479. type: string
  7480. required:
  7481. - resourcecode
  7482. type: object
  7483. models.Goods:
  7484. properties:
  7485. agreeunit:
  7486. description: 合约单位
  7487. type: number
  7488. auditaccountid:
  7489. description: 审核操作员账号
  7490. type: integer
  7491. audittime:
  7492. description: 审核时间
  7493. type: string
  7494. cancelaccountid:
  7495. description: 注销操作员账号
  7496. type: integer
  7497. canceltime:
  7498. description: 注销时间
  7499. type: string
  7500. closepricemode:
  7501. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7502. type: integer
  7503. closepriceparam:
  7504. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  7505. type: number
  7506. createtime:
  7507. description: 创建时间
  7508. type: string
  7509. creatorid:
  7510. description: 创建人
  7511. type: integer
  7512. currencyid:
  7513. description: 报价货币ID
  7514. type: integer
  7515. cutmode:
  7516. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  7517. type: integer
  7518. decimalplace:
  7519. description: 报价小数位
  7520. type: integer
  7521. delistingdate:
  7522. description: 商品退市时间(状态:退市) -- 已作废
  7523. type: string
  7524. delistingmode:
  7525. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  7526. type: integer
  7527. deliveryflag:
  7528. description: 交割标志 - 0:不可交割 1:可交割
  7529. type: integer
  7530. forceclosemode:
  7531. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  7532. type: integer
  7533. forceclosevalue:
  7534. description: 定期强平参数 [收益权]
  7535. type: integer
  7536. goodscode:
  7537. description: 商品代码(内部)
  7538. type: string
  7539. goodscurrencyid:
  7540. description: 合约货币ID
  7541. type: integer
  7542. goodsgroupid:
  7543. description: 所属商品组ID
  7544. type: integer
  7545. goodsid:
  7546. description: 商品ID(自增ID SEQ_GOODS)
  7547. type: integer
  7548. goodsname:
  7549. description: 商品名称
  7550. type: string
  7551. goodsquotetype:
  7552. description: '合约报价类型: 1-直接报价 2-间接报价'
  7553. type: integer
  7554. goodsstatus:
  7555. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  7556. type: integer
  7557. goodstradetype:
  7558. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  7559. type: integer
  7560. goodunitid:
  7561. description: 报价单位ID
  7562. type: integer
  7563. hasquoter:
  7564. description: 是否有报价商 - 0:无报价商 1:有报价商
  7565. type: integer
  7566. hqprotecttime:
  7567. description: 行情保护时间(秒)
  7568. type: integer
  7569. innerdealmode:
  7570. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7571. type: integer
  7572. isbuylimited:
  7573. description: 是否限制建仓量 - 0:不限制 1:限制
  7574. type: integer
  7575. lasttradedate:
  7576. description: 最后交易日期(状态:待退市)
  7577. type: string
  7578. listingdate:
  7579. description: 交易开始日期
  7580. type: string
  7581. marketid:
  7582. description: 所属市场ID
  7583. type: integer
  7584. modifierid:
  7585. description: 修改人
  7586. type: integer
  7587. modifystatus:
  7588. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  7589. type: integer
  7590. modifytime:
  7591. description: 修改时间
  7592. type: string
  7593. outerdealmode:
  7594. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7595. type: integer
  7596. outgoodscode:
  7597. description: 商品代码(外部)
  7598. type: string
  7599. qtydecimalplace:
  7600. description: 成交量小数位
  7601. type: integer
  7602. quotegear:
  7603. description: 行情档位(1-10)
  7604. type: integer
  7605. quoteminunit:
  7606. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7607. type: integer
  7608. quoteshowtype:
  7609. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  7610. type: integer
  7611. quoteshowtypeinterval:
  7612. description: 行情报价间隔时间(秒)(成交价时为0)
  7613. type: integer
  7614. remark:
  7615. description: 备注
  7616. type: string
  7617. required:
  7618. - goodscode
  7619. - goodsid
  7620. - goodsname
  7621. - marketid
  7622. type: object
  7623. models.GoodsBrand:
  7624. properties:
  7625. brandid:
  7626. description: 品牌ID
  7627. type: integer
  7628. brandname:
  7629. description: 品牌名称
  7630. type: string
  7631. isvalid:
  7632. description: 是否有效 - 0:无效 1:有效
  7633. type: integer
  7634. type: object
  7635. models.GoodsIDAndName:
  7636. properties:
  7637. goodscode:
  7638. description: 商品代码(内部)
  7639. type: string
  7640. goodsid:
  7641. description: 商品ID(自增ID SEQ_GOODS)
  7642. type: integer
  7643. goodsname:
  7644. description: 商品名称
  7645. type: string
  7646. marketid:
  7647. description: 所属市场ID
  7648. type: integer
  7649. required:
  7650. - goodscode
  7651. - goodsid
  7652. - goodsname
  7653. - marketid
  7654. type: object
  7655. models.GoodsTypeModel:
  7656. properties:
  7657. convertfactor:
  7658. description: 标仓系数
  7659. type: number
  7660. modelid:
  7661. description: 型号ID
  7662. type: integer
  7663. modelname:
  7664. description: 型号名称
  7665. type: string
  7666. updatetime:
  7667. description: 更新时间
  7668. type: string
  7669. type: object
  7670. models.Goodsgroup:
  7671. properties:
  7672. agreeunit:
  7673. description: 合约单位
  7674. type: number
  7675. canshort:
  7676. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  7677. type: integer
  7678. closepricemode:
  7679. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7680. type: integer
  7681. closepriceparam:
  7682. description: 强平最新价浮动比例 - 方式为2时使用
  7683. type: number
  7684. createtime:
  7685. description: 创建时间
  7686. type: string
  7687. creatorid:
  7688. description: 创建人
  7689. type: integer
  7690. currencyid:
  7691. description: 报价货币ID
  7692. type: integer
  7693. decimalplace:
  7694. description: 报价小数位
  7695. type: integer
  7696. exercisetype:
  7697. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  7698. type: integer
  7699. exexchangeid:
  7700. description: 外部交易所ID[通道交易]
  7701. type: integer
  7702. goodsgroupid:
  7703. description: 商品组ID(自增ID)
  7704. type: integer
  7705. goodsgroupname:
  7706. description: 商品组名称
  7707. type: string
  7708. goodsgroupstatus:
  7709. description: 商品组状态 - 1:正常 2:注销
  7710. type: integer
  7711. goodunitid:
  7712. description: 报价单位ID
  7713. type: integer
  7714. innerdealmode:
  7715. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7716. type: integer
  7717. isbuylimited:
  7718. description: 是否限制建仓量 - 0:不限制 1:限制
  7719. type: integer
  7720. marketid:
  7721. description: 所属市场ID
  7722. type: integer
  7723. modifierid:
  7724. description: 修改人
  7725. type: integer
  7726. modifytime:
  7727. description: 修改时间
  7728. type: string
  7729. outerdealmode:
  7730. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7731. type: integer
  7732. outergroupcode:
  7733. description: 外部商品组代码[通道交易]
  7734. type: string
  7735. premiumdecimalplace:
  7736. description: 权利金小数位[场外期权]
  7737. type: integer
  7738. premiumspreadalgorithm:
  7739. description: 权利金点差方式[场外期权] 1:比率 2:固定
  7740. type: integer
  7741. premiumspreadvalue:
  7742. description: 权利金点差值[场外期权]
  7743. type: number
  7744. qtydecimalplace:
  7745. description: 成交量小数位
  7746. type: integer
  7747. quotegear:
  7748. description: 行情档位(1-10)
  7749. type: integer
  7750. quoteminunit:
  7751. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7752. type: integer
  7753. quoterid:
  7754. description: 报价商ID[场外期权]
  7755. type: integer
  7756. quotesourcegroupid:
  7757. description: 所属行情源分组ID[参考行情市场用\通道交易]
  7758. type: integer
  7759. syncgoodsqty:
  7760. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  7761. type: integer
  7762. required:
  7763. - goodsgroupid
  7764. - goodsgroupname
  7765. - goodsgroupstatus
  7766. - marketid
  7767. type: object
  7768. models.Goodssortbypreposition:
  7769. properties:
  7770. goodscode:
  7771. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  7772. type: string
  7773. goodsgroupcode:
  7774. description: 品种代码
  7775. type: string
  7776. prepositionqty:
  7777. description: 昨持仓量
  7778. type: integer
  7779. sortindex:
  7780. description: 排序
  7781. type: integer
  7782. tradedate:
  7783. description: 交易日
  7784. type: string
  7785. updatetime:
  7786. description: 更新时间
  7787. type: string
  7788. required:
  7789. - goodscode
  7790. - tradedate
  7791. type: object
  7792. models.Hedgeinnerholderdetail:
  7793. properties:
  7794. accountid:
  7795. description: 账号ID
  7796. type: integer
  7797. buyorsell:
  7798. description: 方向 - 0:买 1:卖
  7799. type: integer
  7800. freezeqty:
  7801. description: 冻结数量 - 按单平使用
  7802. type: integer
  7803. goodsid:
  7804. description: 商品ID
  7805. type: integer
  7806. holderamount:
  7807. description: 持仓金额 [商品币种]
  7808. type: number
  7809. holderdays:
  7810. description: 剩余冻结天数
  7811. type: integer
  7812. holderprice:
  7813. description: 持仓价格
  7814. type: number
  7815. holderqty:
  7816. description: 持仓数量
  7817. type: integer
  7818. marketid:
  7819. description: 市场ID
  7820. type: integer
  7821. openprice:
  7822. description: 建仓价格
  7823. type: number
  7824. openqty:
  7825. description: 建仓数量
  7826. type: integer
  7827. parentaccountid:
  7828. description: 所属母账户
  7829. type: integer
  7830. releaseamount:
  7831. description: 释放持仓金额[商品币种]
  7832. type: number
  7833. tradeamount:
  7834. description: 成交金额[账户]
  7835. type: number
  7836. tradedate:
  7837. description: 交易日(yyyyMMdd)
  7838. type: string
  7839. tradeid:
  7840. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7841. type: string
  7842. tradetime:
  7843. description: 交易时间
  7844. type: string
  7845. required:
  7846. - buyorsell
  7847. - tradeid
  7848. type: object
  7849. models.Hedgemarketopenlog:
  7850. properties:
  7851. accountid:
  7852. description: 资金账号[外部母账户]
  7853. type: integer
  7854. fcname:
  7855. description: 期货公司名称
  7856. type: string
  7857. handlestatus:
  7858. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  7859. type: integer
  7860. marketid:
  7861. description: 市场ID
  7862. type: integer
  7863. status:
  7864. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  7865. type: integer
  7866. tradedate:
  7867. description: 交易日(yyyyMMdd)
  7868. type: string
  7869. updatetime:
  7870. description: 更新时间
  7871. type: string
  7872. required:
  7873. - accountid
  7874. type: object
  7875. models.HsbyBuyMyPayOrder:
  7876. properties:
  7877. agreeunit:
  7878. description: 合约单位
  7879. type: number
  7880. buyaccountid:
  7881. description: 买方账号ID[报价币种]
  7882. type: integer
  7883. buyorderid:
  7884. description: 买方委托单号
  7885. type: string
  7886. createtime:
  7887. description: 创建时间
  7888. type: string
  7889. currencysign:
  7890. description: 货币符号
  7891. type: string
  7892. decimalplace:
  7893. description: 报价小数位
  7894. type: integer
  7895. goodscode:
  7896. description: 商品代码(内部)
  7897. type: string
  7898. goodsid:
  7899. description: 商品ID
  7900. type: integer
  7901. goodsname:
  7902. description: 商品名称
  7903. type: string
  7904. marketid:
  7905. description: 市场ID
  7906. type: integer
  7907. offamount:
  7908. description: 优惠金额
  7909. type: number
  7910. originalamount:
  7911. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  7912. type: number
  7913. payamount:
  7914. description: 支付金额 = TradeAmount + TradeCharge
  7915. type: number
  7916. payflag:
  7917. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  7918. type: integer
  7919. paylimitedtime:
  7920. description: 支付期限
  7921. type: string
  7922. paytime:
  7923. description: 付款时间
  7924. type: string
  7925. picurls1:
  7926. description: 预售商品介绍图片[多张用逗号分隔]
  7927. type: string
  7928. picurls2:
  7929. description: 挂牌商品介绍图片[多张用逗号分隔]
  7930. type: string
  7931. sellaccountid:
  7932. description: 卖方账号ID[报价币种]
  7933. type: integer
  7934. sellorderid:
  7935. description: 卖方委托单号
  7936. type: string
  7937. tradeamount:
  7938. description: 成交金额
  7939. type: number
  7940. tradecharge:
  7941. description: 成交手续费(买方)
  7942. type: number
  7943. tradedate:
  7944. description: 交易日(yyyyMMdd)
  7945. type: string
  7946. tradeid:
  7947. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7948. type: string
  7949. trademode:
  7950. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7951. 21:竞拍-大宗式 22:受托竞价
  7952. type: integer
  7953. tradeprice:
  7954. description: 成交价格
  7955. type: number
  7956. tradeqty:
  7957. description: 成交数量
  7958. type: integer
  7959. vendorname1:
  7960. description: 预售商品供应商名称
  7961. type: string
  7962. vendorname2:
  7963. description: 挂牌商品供应商名称
  7964. type: string
  7965. required:
  7966. - goodscode
  7967. - goodsname
  7968. - tradeid
  7969. - trademode
  7970. type: object
  7971. models.HsbyBuyMyTradeDetail:
  7972. properties:
  7973. accountid:
  7974. description: 账户ID[报价币种]
  7975. type: integer
  7976. agreeunit:
  7977. description: 合约单位
  7978. type: number
  7979. amount:
  7980. description: 金额 = 价格 * 数量 * 合约单位
  7981. type: number
  7982. buyorsell:
  7983. description: 买卖 - 0:买 1:卖
  7984. type: integer
  7985. currencysign:
  7986. description: 货币符号
  7987. type: string
  7988. decimalplace:
  7989. description: 报价小数位
  7990. type: integer
  7991. goodscode:
  7992. description: 商品代码(内部)
  7993. type: string
  7994. goodsid:
  7995. description: 商品ID
  7996. type: integer
  7997. goodsname:
  7998. description: 商品名称
  7999. type: string
  8000. marketid:
  8001. description: 市场ID
  8002. type: integer
  8003. orderamount:
  8004. description: 委托金额
  8005. type: number
  8006. orderid:
  8007. description: 单号(成交单号)
  8008. type: string
  8009. picurls1:
  8010. description: 预售商品介绍图片[多张用逗号分隔]
  8011. type: string
  8012. picurls2:
  8013. description: 挂牌商品介绍图片[多张用逗号分隔]
  8014. type: string
  8015. price:
  8016. description: 价格
  8017. type: number
  8018. qty:
  8019. description: 数量
  8020. type: integer
  8021. time:
  8022. description: 时间
  8023. type: string
  8024. trademode:
  8025. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8026. 21:竞拍-大宗式 22:受托竞价
  8027. type: integer
  8028. vendorname1:
  8029. description: 预售商品供应商名称
  8030. type: string
  8031. vendorname2:
  8032. description: 挂牌商品供应商名称
  8033. type: string
  8034. required:
  8035. - accountid
  8036. - buyorsell
  8037. - goodscode
  8038. - goodsid
  8039. - goodsname
  8040. - marketid
  8041. - orderid
  8042. - qty
  8043. - time
  8044. - trademode
  8045. type: object
  8046. models.HsbyGoodsOrderDetail:
  8047. properties:
  8048. buyorsell:
  8049. description: 买卖 - 0:买 1:卖
  8050. type: integer
  8051. currencysign:
  8052. description: 货币符号
  8053. type: string
  8054. customername:
  8055. description: 客户名称(企业名称),已脱敏
  8056. type: string
  8057. enableqty:
  8058. description: 可用数量
  8059. type: integer
  8060. goodunit:
  8061. description: 报价单位
  8062. type: string
  8063. orderid:
  8064. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8065. type: string
  8066. orderprice:
  8067. description: 委托价格
  8068. type: number
  8069. ordertime:
  8070. description: 委托时间
  8071. type: string
  8072. required:
  8073. - buyorsell
  8074. - orderid
  8075. - ordertime
  8076. type: object
  8077. models.HsbyListingGoodsDetail:
  8078. properties:
  8079. agreeunit:
  8080. description: 合约单位
  8081. type: number
  8082. buymaxqty:
  8083. description: 购买上限 [71] - 0为不限
  8084. type: integer
  8085. currency:
  8086. description: 货币
  8087. type: string
  8088. currencysign:
  8089. description: 货币符号
  8090. type: string
  8091. decimalplace:
  8092. description: 报价小数位
  8093. type: integer
  8094. desccityid:
  8095. description: 目的地(市)ID
  8096. type: integer
  8097. descprovinceid:
  8098. description: 目的地(省)ID
  8099. type: integer
  8100. goodscode:
  8101. description: 商品代码(内部)
  8102. type: string
  8103. goodsdesc:
  8104. description: 商品详情
  8105. type: string
  8106. goodsid:
  8107. description: 商品ID(自增ID SEQ_GOODS)
  8108. type: integer
  8109. goodsname:
  8110. description: 商品名称
  8111. type: string
  8112. goodsprice:
  8113. description: 商品价格
  8114. type: number
  8115. hotindex:
  8116. description: 景点热度
  8117. type: integer
  8118. last:
  8119. description: 现价
  8120. type: number
  8121. limitdown:
  8122. description: 跌停价
  8123. type: number
  8124. limitup:
  8125. description: 涨停价
  8126. type: number
  8127. lotsize:
  8128. description: 手数最小变动单位
  8129. type: integer
  8130. marketid:
  8131. description: 所属市场ID
  8132. type: integer
  8133. picurls:
  8134. description: 介绍图片[多张用逗号分隔]
  8135. type: string
  8136. quoteminunit:
  8137. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8138. type: integer
  8139. stepvalue:
  8140. description: 价格最小变动单位
  8141. type: number
  8142. trademode:
  8143. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8144. 21:竞拍-大宗式 22:受托竞价
  8145. type: integer
  8146. vendorattr:
  8147. description: 供应商附件(多张,逗号分隔)
  8148. type: string
  8149. vendorname:
  8150. description: 供应商名称
  8151. type: string
  8152. vendorphone:
  8153. description: 供应商客服电话
  8154. type: string
  8155. videourls:
  8156. description: 介绍视频[多张用逗号分隔]
  8157. type: string
  8158. required:
  8159. - goodscode
  8160. - goodsid
  8161. - goodsname
  8162. - marketid
  8163. - trademode
  8164. type: object
  8165. models.HsbyMarketGoods:
  8166. properties:
  8167. accountid:
  8168. description: 账户ID[报价币种]
  8169. type: integer
  8170. agreeunit:
  8171. description: 合约单位
  8172. type: number
  8173. buyorsell:
  8174. description: 买卖 - 0:买 1:卖
  8175. type: integer
  8176. categoryid:
  8177. description: 类别ID(WRCATEGORY)
  8178. type: integer
  8179. currency:
  8180. description: 货币
  8181. type: string
  8182. currencysign:
  8183. description: 货币符号
  8184. type: string
  8185. customername:
  8186. description: 卖家名称
  8187. type: string
  8188. decimalplace:
  8189. description: 报价小数位
  8190. type: integer
  8191. goodscode:
  8192. description: 商品代码(内部)
  8193. type: string
  8194. goodsid:
  8195. description: 商品ID
  8196. type: integer
  8197. goodsname:
  8198. description: 商品名称
  8199. type: string
  8200. goodsprice:
  8201. description: 商品价格
  8202. type: number
  8203. hascoupon:
  8204. description: 是否可用优惠卷
  8205. type: boolean
  8206. hotindex:
  8207. description: 景点热度
  8208. type: integer
  8209. marketid:
  8210. description: 市场ID
  8211. type: integer
  8212. orderid:
  8213. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8214. type: string
  8215. orderprice:
  8216. description: 委托价格
  8217. type: number
  8218. orderstatus:
  8219. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8220. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8221. 16:成交失败违约(荷兰式竞拍专用)
  8222. type: integer
  8223. picurls:
  8224. description: 介绍图片[多张用逗号分隔]
  8225. type: string
  8226. quoteminunit:
  8227. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8228. type: integer
  8229. sellUserID:
  8230. description: 卖方UserID
  8231. type: integer
  8232. trademode:
  8233. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8234. 21:竞拍-大宗式 22:受托竞价
  8235. type: integer
  8236. videourls:
  8237. description: 介绍视频[多张用逗号分隔]
  8238. type: string
  8239. required:
  8240. - accountid
  8241. - buyorsell
  8242. - goodscode
  8243. - goodsid
  8244. - goodsname
  8245. - marketid
  8246. - orderid
  8247. - trademode
  8248. type: object
  8249. models.HsbyMarketGoodsDetail:
  8250. properties:
  8251. accountid:
  8252. description: 账户ID[报价币种]
  8253. type: integer
  8254. agreeunit:
  8255. description: 合约单位
  8256. type: number
  8257. buymaxqty:
  8258. description: 购买上限 [71] - 0为不限
  8259. type: integer
  8260. buyorsell:
  8261. description: 买卖 - 0:买 1:卖
  8262. type: integer
  8263. cancelqty:
  8264. description: 撤单数量
  8265. type: integer
  8266. categoryid:
  8267. description: 类别ID(WRCATEGORY)
  8268. type: integer
  8269. currency:
  8270. description: 货币
  8271. type: string
  8272. currencysign:
  8273. description: 货币符号
  8274. type: string
  8275. customername:
  8276. description: 卖家名称
  8277. type: string
  8278. decimalplace:
  8279. description: 报价小数位
  8280. type: integer
  8281. goodscode:
  8282. description: 商品代码(内部)
  8283. type: string
  8284. goodsdesc:
  8285. description: 商品详情
  8286. type: string
  8287. goodsid:
  8288. description: 商品ID
  8289. type: integer
  8290. goodsname:
  8291. description: 商品名称
  8292. type: string
  8293. goodsprice:
  8294. description: 商品价格
  8295. type: number
  8296. hotindex:
  8297. description: 景点热度
  8298. type: integer
  8299. lotsize:
  8300. description: 手数最小变动单位
  8301. type: integer
  8302. marketid:
  8303. description: 市场ID
  8304. type: integer
  8305. orderid:
  8306. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8307. type: string
  8308. orderprice:
  8309. description: 委托价格
  8310. type: number
  8311. orderqty:
  8312. description: 委托数量
  8313. type: integer
  8314. orderstatus:
  8315. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8316. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8317. 16:成交失败违约(荷兰式竞拍专用)
  8318. type: integer
  8319. picurls:
  8320. description: 介绍图片[多张用逗号分隔]
  8321. type: string
  8322. quoteminunit:
  8323. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8324. type: integer
  8325. sellUserID:
  8326. description: 卖方UserID
  8327. type: integer
  8328. trademode:
  8329. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8330. 21:竞拍-大宗式 22:受托竞价
  8331. type: integer
  8332. tradeqty:
  8333. description: 成交数量
  8334. type: integer
  8335. vendorattr:
  8336. description: 供应商附件(多张,逗号分隔)
  8337. type: string
  8338. vendorname:
  8339. description: 供应商名称
  8340. type: string
  8341. vendorphone:
  8342. description: 供应商客服电话
  8343. type: string
  8344. videourls:
  8345. description: 介绍视频[多张用逗号分隔]
  8346. type: string
  8347. required:
  8348. - accountid
  8349. - buyorsell
  8350. - goodscode
  8351. - goodsid
  8352. - goodsname
  8353. - marketid
  8354. - orderid
  8355. - orderqty
  8356. - trademode
  8357. type: object
  8358. models.HsbyMarketInfo:
  8359. properties:
  8360. marketid:
  8361. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  8362. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  8363. type: integer
  8364. marketname:
  8365. description: 市场名称
  8366. type: string
  8367. marketstatus:
  8368. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  8369. type: integer
  8370. trademode:
  8371. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8372. 21:竞拍-大宗式 22:受托竞价
  8373. type: integer
  8374. required:
  8375. - marketid
  8376. - marketstatus
  8377. - trademode
  8378. type: object
  8379. models.HsbyMyGoods:
  8380. properties:
  8381. accountid:
  8382. description: 账号Id
  8383. type: integer
  8384. agreeunit:
  8385. description: 合约单位
  8386. type: number
  8387. buyaverageprice:
  8388. description: 持仓均价
  8389. type: number
  8390. buycurholderamount:
  8391. description: 买当前持仓总金额[商品币种]
  8392. type: number
  8393. buycurpositionqty:
  8394. description: 买当前持仓总数量
  8395. type: integer
  8396. buymaxqty:
  8397. description: 购买上限 [71] - 0为不限
  8398. type: integer
  8399. currencysign:
  8400. description: 货币符号
  8401. type: string
  8402. decimalplace:
  8403. description: 报价小数位
  8404. type: integer
  8405. enableqty:
  8406. description: 可用数量
  8407. type: integer
  8408. goodscode:
  8409. description: 商品代码(内部)
  8410. type: string
  8411. goodsid:
  8412. description: 商品Id
  8413. type: integer
  8414. goodsname:
  8415. description: 商品名称
  8416. type: string
  8417. goodsprice:
  8418. description: 商品价格
  8419. type: number
  8420. goodsstatus:
  8421. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8422. type: integer
  8423. last:
  8424. description: 现价(仅使用于挂牌点选)
  8425. type: number
  8426. limitdown:
  8427. description: 跌停价(仅使用于挂牌点选)
  8428. type: number
  8429. limitup:
  8430. description: 涨停价(仅使用于挂牌点选)
  8431. type: number
  8432. lotsize:
  8433. description: 手数最小变动单位
  8434. type: integer
  8435. marketid:
  8436. description: 所属市场ID
  8437. type: integer
  8438. picurls:
  8439. description: 介绍图片[多张用逗号分隔]
  8440. type: string
  8441. quoteminunit:
  8442. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8443. type: integer
  8444. stepvalue:
  8445. description: 价格最小变动单位
  8446. type: number
  8447. trademode:
  8448. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8449. 21:竞拍-大宗式 22:受托竞价
  8450. type: integer
  8451. required:
  8452. - accountid
  8453. - goodscode
  8454. - goodsid
  8455. - goodsname
  8456. - marketid
  8457. - trademode
  8458. type: object
  8459. models.HsbyMyPackage:
  8460. properties:
  8461. accountid:
  8462. description: 账户ID
  8463. type: integer
  8464. address:
  8465. description: 提货人详细地址
  8466. type: string
  8467. agreeunit:
  8468. description: 合约单位
  8469. type: number
  8470. amount:
  8471. description: 提货金额
  8472. type: number
  8473. auditer:
  8474. description: 审核人
  8475. type: integer
  8476. audittime:
  8477. description: 审核时间
  8478. type: string
  8479. averageprice:
  8480. description: 均价
  8481. type: number
  8482. cardnum:
  8483. description: 提货人证件号码
  8484. type: string
  8485. cardtypeid:
  8486. description: 提货人证件类型
  8487. type: integer
  8488. checkremark:
  8489. description: 审核备注
  8490. type: string
  8491. currencysign:
  8492. description: 货币符号
  8493. type: string
  8494. decimalplace:
  8495. description: 报价小数位
  8496. type: integer
  8497. goodscode:
  8498. description: 商品代码(内部)
  8499. type: string
  8500. goodsid:
  8501. description: 商品ID
  8502. type: integer
  8503. goodsname:
  8504. description: 商品名称
  8505. type: string
  8506. handlestatus:
  8507. description: 处理状态
  8508. type: integer
  8509. marketid:
  8510. description: 市场ID
  8511. type: integer
  8512. phonenum:
  8513. description: 提货人联系方式
  8514. type: string
  8515. picurls:
  8516. description: 介绍图片[多张用逗号分隔]
  8517. type: string
  8518. qty:
  8519. description: 提货数量
  8520. type: number
  8521. recivername:
  8522. description: 提货人姓名
  8523. type: string
  8524. reqtime:
  8525. description: 更新时间
  8526. type: string
  8527. takemode:
  8528. description: 提货方式 - 2:自提 3:配送
  8529. type: integer
  8530. takeorderid:
  8531. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  8532. type: string
  8533. takeorderstatus:
  8534. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  8535. type: integer
  8536. takeremark:
  8537. description: 提货备注
  8538. type: string
  8539. tradedate:
  8540. description: 交易日(yyyyMMdd)
  8541. type: string
  8542. trademode:
  8543. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8544. 21:竞拍-大宗式 22:受托竞价
  8545. type: integer
  8546. userid:
  8547. description: 用户ID
  8548. type: integer
  8549. vendorname:
  8550. description: 供应商名称
  8551. type: string
  8552. required:
  8553. - goodscode
  8554. - goodsname
  8555. - takeorderid
  8556. - trademode
  8557. type: object
  8558. models.HsbyPreGoods:
  8559. properties:
  8560. agreeunit:
  8561. description: 合约单位
  8562. type: number
  8563. currency:
  8564. description: 货币
  8565. type: string
  8566. currencysign:
  8567. description: 货币符号
  8568. type: string
  8569. decimalplace:
  8570. description: 报价小数位
  8571. type: integer
  8572. desccityid:
  8573. description: 目的地(市)
  8574. type: integer
  8575. descprovinceid:
  8576. description: 目的地(省)
  8577. type: integer
  8578. enableqty:
  8579. description: 剩余数量
  8580. type: integer
  8581. goodscode:
  8582. description: 商品代码(内部)
  8583. type: string
  8584. goodsid:
  8585. description: 商品ID(自增ID SEQ_GOODS)
  8586. type: integer
  8587. goodsname:
  8588. description: 商品名称
  8589. type: string
  8590. goodsstatus:
  8591. description: 商品状态- 2:未上市 3:上市
  8592. type: integer
  8593. lasttradedate:
  8594. description: 最后交易日期(状态:待退市)
  8595. type: string
  8596. listingdate:
  8597. description: 交易开始日期
  8598. type: string
  8599. marketid:
  8600. description: 所属市场ID
  8601. type: integer
  8602. picurls:
  8603. description: 介绍图片[多张用逗号分隔]
  8604. type: string
  8605. presaledqty:
  8606. description: 已预售量(预售结束时更新)
  8607. type: integer
  8608. presaleqty:
  8609. description: 预售数量
  8610. type: integer
  8611. quoteminunit:
  8612. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8613. type: integer
  8614. refprice:
  8615. description: 参考价格[一口价]
  8616. type: number
  8617. relatedgoodsid:
  8618. description: 关联交易合约ID
  8619. type: integer
  8620. trademode:
  8621. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8622. 21:竞拍-大宗式 22:受托竞价
  8623. type: integer
  8624. videourls:
  8625. description: 介绍视频[多张用逗号分隔]
  8626. type: string
  8627. required:
  8628. - goodscode
  8629. - goodsid
  8630. - goodsname
  8631. - marketid
  8632. - trademode
  8633. type: object
  8634. models.HsbyPreGoodsDetail:
  8635. properties:
  8636. agreeunit:
  8637. description: 合约单位
  8638. type: number
  8639. buymaxqty:
  8640. description: 购买上限 [71] - 0为不限
  8641. type: integer
  8642. currency:
  8643. description: 货币
  8644. type: string
  8645. currencysign:
  8646. description: 货币符号
  8647. type: string
  8648. customername:
  8649. description: 发行单位
  8650. type: string
  8651. decimalplace:
  8652. description: 报价小数位
  8653. type: integer
  8654. desccityid:
  8655. description: 目的地(市)ID
  8656. type: integer
  8657. descprovinceid:
  8658. description: 目的地(省)ID
  8659. type: integer
  8660. enableqty:
  8661. description: 剩余数量
  8662. type: integer
  8663. goodscode:
  8664. description: 商品代码(内部)
  8665. type: string
  8666. goodsdesc:
  8667. description: 商品详情
  8668. type: string
  8669. goodsid:
  8670. description: 商品ID(自增ID SEQ_GOODS)
  8671. type: integer
  8672. goodsname:
  8673. description: 商品名称
  8674. type: string
  8675. goodsstatus:
  8676. description: 商品状态- 2:未上市 3:上市
  8677. type: integer
  8678. goodunit:
  8679. description: 报价单位
  8680. type: string
  8681. lasttradedate:
  8682. description: 最后交易日期(状态:待退市)
  8683. type: string
  8684. listingdate:
  8685. description: 交易开始日期
  8686. type: string
  8687. lotsize:
  8688. description: 手数最小变动单位
  8689. type: integer
  8690. marketid:
  8691. description: 所属市场ID
  8692. type: integer
  8693. picurls:
  8694. description: 介绍图片[多张用逗号分隔]
  8695. type: string
  8696. presaledqty:
  8697. description: 已预售量(预售结束时更新)
  8698. type: integer
  8699. presaleqty:
  8700. description: 预售数量
  8701. type: integer
  8702. quoteminunit:
  8703. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8704. type: integer
  8705. refprice:
  8706. description: 参考价格[一口价]
  8707. type: number
  8708. relatedgoodsid:
  8709. description: 关联交易合约ID
  8710. type: integer
  8711. stepvalue:
  8712. description: 价格最小变动单位
  8713. type: number
  8714. trademode:
  8715. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8716. 21:竞拍-大宗式 22:受托竞价
  8717. type: integer
  8718. vendorattr:
  8719. description: 供应商附件(多张,逗号分隔)
  8720. type: string
  8721. vendorname:
  8722. description: 供应商名称
  8723. type: string
  8724. vendorphone:
  8725. description: 供应商客服电话
  8726. type: string
  8727. videourls:
  8728. description: 介绍视频[多张用逗号分隔]
  8729. type: string
  8730. required:
  8731. - goodscode
  8732. - goodsid
  8733. - goodsname
  8734. - marketid
  8735. - trademode
  8736. type: object
  8737. models.HsbySellCollectionOrder:
  8738. properties:
  8739. agreeunit:
  8740. description: 合约单位
  8741. type: number
  8742. buyaccountid:
  8743. description: 买方账号ID[报价币种]
  8744. type: integer
  8745. buyorderid:
  8746. description: 买方委托单号
  8747. type: string
  8748. createtime:
  8749. description: 创建时间
  8750. type: string
  8751. currencysign:
  8752. description: 货币符号
  8753. type: string
  8754. decimalplace:
  8755. description: 报价小数位
  8756. type: integer
  8757. goodscode:
  8758. description: 商品代码(内部)
  8759. type: string
  8760. goodsid:
  8761. description: 商品ID
  8762. type: integer
  8763. goodsname:
  8764. description: 商品名称
  8765. type: string
  8766. marketid:
  8767. description: 市场ID
  8768. type: integer
  8769. offamount:
  8770. description: 优惠金额
  8771. type: number
  8772. payamount:
  8773. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  8774. type: number
  8775. payflag:
  8776. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  8777. type: integer
  8778. paylimitedtime:
  8779. description: 支付期限
  8780. type: string
  8781. paytime:
  8782. description: 付款时间
  8783. type: string
  8784. picurls:
  8785. description: 商品介绍图片[多张用逗号分隔]
  8786. type: string
  8787. sellaccountid:
  8788. description: 卖方账号ID[报价币种]
  8789. type: integer
  8790. sellorderid:
  8791. description: 卖方委托单号
  8792. type: string
  8793. tradeamount:
  8794. description: 成交金额
  8795. type: number
  8796. tradecharge:
  8797. description: 成交手续费(买方)
  8798. type: number
  8799. tradedate:
  8800. description: 交易日(yyyyMMdd)
  8801. type: string
  8802. tradeid:
  8803. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8804. type: string
  8805. trademode:
  8806. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8807. 21:竞拍-大宗式 22:受托竞价
  8808. type: integer
  8809. tradeprice:
  8810. description: 成交价格
  8811. type: number
  8812. tradeqty:
  8813. description: 成交数量
  8814. type: integer
  8815. required:
  8816. - goodscode
  8817. - goodsname
  8818. - tradeid
  8819. - trademode
  8820. type: object
  8821. models.HsbySellMyDetail:
  8822. properties:
  8823. accountid:
  8824. description: 账户ID[报价币种]
  8825. type: integer
  8826. agreeunit:
  8827. description: 合约单位
  8828. type: number
  8829. buyorsell:
  8830. description: 买卖 - 0:买 1:卖
  8831. type: integer
  8832. currencysign:
  8833. description: 货币符号
  8834. type: string
  8835. decimalplace:
  8836. description: 报价小数位
  8837. type: integer
  8838. goodscode:
  8839. description: 商品代码(内部)
  8840. type: string
  8841. goodsid:
  8842. description: 商品ID
  8843. type: integer
  8844. goodsname:
  8845. description: 商品名称
  8846. type: string
  8847. marketid:
  8848. description: 市场ID
  8849. type: integer
  8850. orderid:
  8851. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  8852. type: string
  8853. ordertype:
  8854. description: 单据类型:0 - 发布中, 1 - 已完成
  8855. type: integer
  8856. picurls:
  8857. description: 介绍图片[多张用逗号分隔]
  8858. type: string
  8859. price:
  8860. description: 价格
  8861. type: number
  8862. qty:
  8863. description: 数量
  8864. type: integer
  8865. time:
  8866. description: 时间
  8867. type: string
  8868. trademode:
  8869. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8870. 21:竞拍-大宗式 22:受托竞价
  8871. type: integer
  8872. vendorname:
  8873. description: 供应商名称
  8874. type: string
  8875. required:
  8876. - accountid
  8877. - buyorsell
  8878. - goodscode
  8879. - goodsid
  8880. - goodsname
  8881. - marketid
  8882. - orderid
  8883. - time
  8884. - trademode
  8885. type: object
  8886. models.HsbyTopGoods:
  8887. properties:
  8888. agreeunit:
  8889. description: 合约单位
  8890. type: number
  8891. currency:
  8892. description: 货币
  8893. type: string
  8894. currencysign:
  8895. description: 货币符号
  8896. type: string
  8897. decimalplace:
  8898. description: 报价小数位
  8899. type: integer
  8900. desccityid:
  8901. description: 目的地(市)
  8902. type: integer
  8903. descprovinceid:
  8904. description: 目的地(省)
  8905. type: integer
  8906. goodscode:
  8907. description: 商品代码(内部)
  8908. type: string
  8909. goodsid:
  8910. description: 商品ID(自增ID SEQ_GOODS)
  8911. type: integer
  8912. goodsname:
  8913. description: 商品名称
  8914. type: string
  8915. hotindex:
  8916. description: 景点热度
  8917. type: integer
  8918. last:
  8919. description: 现价
  8920. type: number
  8921. marketid:
  8922. description: 所属市场ID
  8923. type: integer
  8924. picurls:
  8925. description: 介绍图片[多张用逗号分隔]
  8926. type: string
  8927. quoteminunit:
  8928. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8929. type: integer
  8930. trademode:
  8931. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8932. 21:竞拍-大宗式 22:受托竞价
  8933. type: integer
  8934. videourls:
  8935. description: 介绍视频[多张用逗号分隔]
  8936. type: string
  8937. required:
  8938. - goodscode
  8939. - goodsid
  8940. - goodsname
  8941. - marketid
  8942. - trademode
  8943. type: object
  8944. models.HybsMyBuyOrderDetail:
  8945. properties:
  8946. accountid:
  8947. description: 账户ID[报价币种]
  8948. type: integer
  8949. agreeunit:
  8950. description: 合约单位
  8951. type: number
  8952. buyorsell:
  8953. description: 买卖 - 0:买 1:卖
  8954. type: integer
  8955. cancelqty:
  8956. description: 撤单数量
  8957. type: integer
  8958. currencysign:
  8959. description: 货币符号
  8960. type: string
  8961. decimalplace:
  8962. description: 报价小数位
  8963. type: integer
  8964. goodscode:
  8965. description: 商品代码(内部)
  8966. type: string
  8967. goodsid:
  8968. description: 商品ID
  8969. type: integer
  8970. goodsname:
  8971. description: 商品名称
  8972. type: string
  8973. listingselecttype:
  8974. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  8975. type: integer
  8976. marketid:
  8977. description: 市场ID
  8978. type: integer
  8979. mybuystatus:
  8980. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  8981. type: integer
  8982. orderamount:
  8983. description: 委托金额
  8984. type: number
  8985. orderid:
  8986. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8987. type: string
  8988. orderprice:
  8989. description: 委托价格
  8990. type: number
  8991. orderqty:
  8992. description: 委托数量
  8993. type: integer
  8994. orderstatus:
  8995. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8996. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8997. 16:成交失败违约(荷兰式竞拍专用)
  8998. type: integer
  8999. ordertime:
  9000. description: 委托时间
  9001. type: string
  9002. picurls1:
  9003. description: 预售商品介绍图片[多张用逗号分隔]
  9004. type: string
  9005. picurls2:
  9006. description: 挂牌商品介绍图片[多张用逗号分隔]
  9007. type: string
  9008. trademode:
  9009. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9010. 21:竞拍-大宗式 22:受托竞价
  9011. type: integer
  9012. tradeqty:
  9013. description: 成交数量
  9014. type: integer
  9015. vendorname1:
  9016. description: 预售商品供应商名称
  9017. type: string
  9018. vendorname2:
  9019. description: 挂牌商品供应商名称
  9020. type: string
  9021. required:
  9022. - accountid
  9023. - buyorsell
  9024. - goodscode
  9025. - goodsid
  9026. - goodsname
  9027. - marketid
  9028. - orderid
  9029. - orderqty
  9030. - ordertime
  9031. - trademode
  9032. type: object
  9033. models.Loginaccount:
  9034. properties:
  9035. canoutin:
  9036. description: 是否可出入金 - 0:不可 1:可
  9037. type: integer
  9038. clientroleid:
  9039. description: 终端角色ID
  9040. type: integer
  9041. haslogined:
  9042. description: 是否已登录 - 0:未登录 1:已登录
  9043. type: integer
  9044. hasupdatedpwd:
  9045. description: 是否已更改密码 - 0:未修改 1:已修改
  9046. type: integer
  9047. lastloginip:
  9048. description: 最新登录地址
  9049. type: string
  9050. lastloginmode:
  9051. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  9052. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  9053. type: integer
  9054. lastloginremark:
  9055. description: 最新登录描述
  9056. type: string
  9057. lastlogintime:
  9058. description: 最新登录时间
  9059. type: string
  9060. logincode:
  9061. description: 登录代码
  9062. type: string
  9063. loginfailnum:
  9064. description: 连续登录失败次数(登录成功时清零)
  9065. type: integer
  9066. loginid:
  9067. description: 登陆账号
  9068. type: integer
  9069. loginport:
  9070. description: 最新登录端口
  9071. type: integer
  9072. loginstatus:
  9073. description: 登录账号状态 1:正常 2:冻结 3:无效
  9074. type: integer
  9075. loginusertype:
  9076. description: 登录账号类型 - 1:投资者 2:机构交易员
  9077. type: integer
  9078. modifierid:
  9079. description: 修改人
  9080. type: integer
  9081. modifytime:
  9082. description: 修改时间
  9083. type: string
  9084. pwdwrongcount:
  9085. description: 密码错误次数
  9086. type: integer
  9087. taaccountrighttype:
  9088. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  9089. type: integer
  9090. unfreezetime:
  9091. description: 账户解冻时间
  9092. type: string
  9093. userid:
  9094. description: 用户ID
  9095. type: integer
  9096. required:
  9097. - loginid
  9098. type: object
  9099. models.MainAccountInfo:
  9100. properties:
  9101. accountid:
  9102. description: 账号id
  9103. type: string
  9104. accountname:
  9105. description: 账号名称(taaccount表中的名称)
  9106. type: string
  9107. appid:
  9108. description: AppID
  9109. type: string
  9110. authcode:
  9111. description: 授权码
  9112. type: string
  9113. brokerid:
  9114. description: 经纪商id
  9115. type: string
  9116. fcid:
  9117. description: 期货公司id
  9118. type: integer
  9119. fcname:
  9120. description: 期货公司代码
  9121. type: string
  9122. hedgeaccountcode:
  9123. description: 外部账号代码(主账号登录代码)
  9124. type: string
  9125. hedgeaccountpwd:
  9126. description: 密码
  9127. type: string
  9128. ismain:
  9129. description: 是否主账号
  9130. type: integer
  9131. relateduserid:
  9132. description: 关联用户id
  9133. type: integer
  9134. type: object
  9135. models.Market:
  9136. properties:
  9137. auctionwrtype:
  9138. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  9139. type: integer
  9140. canacceptquote:
  9141. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  9142. type: integer
  9143. cangoodsexercise:
  9144. description: '[期权]是否可现货行权- 0:否 1:是'
  9145. type: integer
  9146. cangoodsexercisetype:
  9147. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  9148. type: integer
  9149. canmanualquotestrike:
  9150. description: 是否可手动报行权价- 0:否 1:是 [期权]
  9151. type: integer
  9152. canmutistage:
  9153. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  9154. type: integer
  9155. canpreexercise:
  9156. description: '[期权]是否可预申报- 0:否 1:是'
  9157. type: integer
  9158. clearinterval:
  9159. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  9160. type: integer
  9161. contracttmp:
  9162. description: 合同模板[荷兰式][竞价式][仓单贸易]
  9163. type: string
  9164. exchareaid:
  9165. description: 所属交易所,可以没有
  9166. type: integer
  9167. goodstype:
  9168. description: 商品类型 - 1:交易商品 2:仓单商品
  9169. type: integer
  9170. hasrebate:
  9171. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  9172. type: integer
  9173. hastradecredit:
  9174. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  9175. type: integer
  9176. haswr:
  9177. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  9178. type: integer
  9179. isdeductmargin:
  9180. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  9181. type: integer
  9182. isrecordsource:
  9183. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  9184. type: integer
  9185. isreleasemargin:
  9186. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  9187. type: integer
  9188. marginformula:
  9189. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  9190. type: integer
  9191. marginformula2:
  9192. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  9193. type: integer
  9194. marketid:
  9195. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  9196. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  9197. type: integer
  9198. marketname:
  9199. description: 市场名称
  9200. type: string
  9201. marketserviceid:
  9202. description: 市场服务ID
  9203. type: integer
  9204. marketstatus:
  9205. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  9206. type: integer
  9207. markettype:
  9208. description: 市场类型- 1:非交易服务 2:交易服务
  9209. type: integer
  9210. matchermode:
  9211. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  9212. type: integer
  9213. openmethod:
  9214. description: 开盘模式 - 0 自动 1手动
  9215. type: integer
  9216. otcuserid:
  9217. description: 场外期权做市商[场外期权]
  9218. type: integer
  9219. outersynctime:
  9220. description: 外部同步时间点(h24:mi:ss)[场外期权]
  9221. type: string
  9222. pendingflag:
  9223. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  9224. type: integer
  9225. pendingtime:
  9226. description: 待开市时间[通道交易-对冲](HH:mm)
  9227. type: string
  9228. performancetempid:
  9229. description: 履约计划模板ID - 作废
  9230. type: integer
  9231. premiumquotemode:
  9232. description: 权利金报价方式 - 1:自动 2:手动
  9233. type: integer
  9234. rebateratio:
  9235. description: 返利比率[竞价式]
  9236. type: number
  9237. reckonorder:
  9238. description: 结算顺序
  9239. type: integer
  9240. reckonpricealgorithm:
  9241. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  9242. 6.卖一价 7.买一卖一均价 8.外部结算价'
  9243. type: integer
  9244. reckonpriceparam:
  9245. description: 结算价参数
  9246. type: integer
  9247. reckontime:
  9248. description: 结算时间[通道交易-对冲](HH:mm)
  9249. type: string
  9250. roleprioritytype:
  9251. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  9252. type: integer
  9253. selllistingauditflag:
  9254. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  9255. type: integer
  9256. trademarkettype:
  9257. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  9258. type: integer
  9259. trademode:
  9260. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9261. 21:竞拍-大宗式 22:受托竞价
  9262. type: integer
  9263. tradeproperty:
  9264. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  9265. 8:场外期权
  9266. type: integer
  9267. tradetype:
  9268. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  9269. type: integer
  9270. required:
  9271. - marketid
  9272. - marketstatus
  9273. - openmethod
  9274. - reckonpricealgorithm
  9275. - trademode
  9276. - tradeproperty
  9277. type: object
  9278. models.Marketrun:
  9279. properties:
  9280. afternexttradedate:
  9281. description: 下下交易日
  9282. type: string
  9283. clearquoteflag:
  9284. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  9285. type: integer
  9286. lastreckondate:
  9287. description: 最新交易日(结算成功)
  9288. type: string
  9289. machinedate:
  9290. description: 机器时间
  9291. type: string
  9292. manualflag:
  9293. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  9294. type: integer
  9295. marketid:
  9296. description: 市场ID
  9297. type: integer
  9298. nexttradedate:
  9299. description: 下一交易日
  9300. type: string
  9301. pretradedate:
  9302. description: 上一交易日
  9303. type: string
  9304. reckonflag:
  9305. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  9306. type: integer
  9307. runstatus:
  9308. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  9309. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  9310. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  9311. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  9312. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  9313. 62.今日免清算
  9314. type: integer
  9315. sectionid:
  9316. description: 时间段号[多时段时用]
  9317. type: integer
  9318. tradedate:
  9319. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  9320. type: string
  9321. tradedate2:
  9322. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  9323. type: string
  9324. updatetime:
  9325. description: 更新时间
  9326. type: string
  9327. required:
  9328. - marketid
  9329. - nexttradedate
  9330. - reckonflag
  9331. - runstatus
  9332. - tradedate
  9333. - tradedate2
  9334. type: object
  9335. models.Messageboard:
  9336. properties:
  9337. contactnum:
  9338. description: 联系电话
  9339. type: string
  9340. createtime:
  9341. description: 创建时间
  9342. type: string
  9343. message:
  9344. description: 留言信息
  9345. type: string
  9346. messageboardid:
  9347. description: 留言簿ID(SEQ_MessageBoard)
  9348. type: integer
  9349. userid:
  9350. description: 用户ID
  9351. type: integer
  9352. required:
  9353. - messageboardid
  9354. type: object
  9355. models.MyCoupon:
  9356. properties:
  9357. accountid:
  9358. description: 资金账户ID
  9359. type: integer
  9360. areauserid:
  9361. description: 所属机构
  9362. type: integer
  9363. conditionvalue:
  9364. description: 条件阈值(可为0)
  9365. type: number
  9366. couponcategroy:
  9367. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  9368. type: integer
  9369. couponname:
  9370. description: 优惠券名称
  9371. type: string
  9372. coupontypeid:
  9373. description: 优惠券类型ID
  9374. type: string
  9375. couponvalue:
  9376. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  9377. type: number
  9378. curfreezeqty:
  9379. description: 期末冻结数量
  9380. type: integer
  9381. curqty:
  9382. description: 期末数量
  9383. type: integer
  9384. isgeneral:
  9385. description: 是否通用券 - 0:否 1:是
  9386. type: integer
  9387. isunusable:
  9388. description: 是否不可用
  9389. type: boolean
  9390. limitedflag:
  9391. description: 是否指定商品 - 0:不限 1:限制
  9392. type: integer
  9393. limitedgoodsids:
  9394. description: 指定商品IDs[逗号分隔,前后加逗号]
  9395. type: string
  9396. orifreezeqty:
  9397. description: 期初冻结数量
  9398. type: integer
  9399. oriqty:
  9400. description: 期初数量
  9401. type: integer
  9402. reasontype:
  9403. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  9404. type: integer
  9405. todaydecrease:
  9406. description: 今日减少
  9407. type: integer
  9408. todayincrease:
  9409. description: 今日增加
  9410. type: integer
  9411. userid:
  9412. description: 用户ID
  9413. type: integer
  9414. userscope:
  9415. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  9416. type: string
  9417. required:
  9418. - accountid
  9419. - coupontypeid
  9420. type: object
  9421. models.MyCouponHold:
  9422. properties:
  9423. accountid:
  9424. description: 资金账户ID
  9425. type: integer
  9426. conditionvalue:
  9427. description: 条件阈值(可为0)
  9428. type: number
  9429. couponcategroy:
  9430. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  9431. type: integer
  9432. couponholdid:
  9433. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  9434. type: string
  9435. couponname:
  9436. description: 优惠券名称
  9437. type: string
  9438. coupontypeid:
  9439. description: 优惠券类型ID - SEQ_COUPONTYPE
  9440. type: string
  9441. couponvalue:
  9442. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  9443. type: number
  9444. createtime:
  9445. description: 创建时间
  9446. type: string
  9447. enddate:
  9448. description: 结束日期
  9449. type: string
  9450. giveapplyid:
  9451. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  9452. type: integer
  9453. holdstatus:
  9454. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  9455. type: integer
  9456. isgeneral:
  9457. description: 是否通用券 - 0:否 1:是
  9458. type: integer
  9459. limitedflag:
  9460. description: 是否指定商品 - 0:不限 1:限制
  9461. type: integer
  9462. limitedgoodsids:
  9463. description: 指定商品IDs[逗号分隔]
  9464. type: string
  9465. qty:
  9466. description: 数量(按1平铺)
  9467. type: integer
  9468. startdate:
  9469. description: 开始日期
  9470. type: string
  9471. userid:
  9472. description: 用户ID
  9473. type: integer
  9474. userscope:
  9475. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  9476. type: string
  9477. required:
  9478. - couponholdid
  9479. type: object
  9480. models.MyUsedCoupon:
  9481. properties:
  9482. accountid:
  9483. description: 资金账户ID(买方)
  9484. type: integer
  9485. conditionvalue:
  9486. description: 条件阈值(可为0)
  9487. type: number
  9488. couponcategroy:
  9489. description: 种类 - 1:现金券 2:折扣券
  9490. type: integer
  9491. couponname:
  9492. description: 优惠券名称
  9493. type: string
  9494. coupontypeid:
  9495. description: 优惠券类型ID(买方)
  9496. type: string
  9497. couponvalue:
  9498. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  9499. type: number
  9500. createtime:
  9501. description: 创建时间
  9502. type: string
  9503. goodsid:
  9504. description: 商品ID
  9505. type: integer
  9506. handlestatus:
  9507. description: 处理状态
  9508. type: integer
  9509. marketid:
  9510. description: 市场ID
  9511. type: integer
  9512. offamount:
  9513. description: 优惠金额
  9514. type: number
  9515. orderid:
  9516. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9517. type: string
  9518. sellaccountid:
  9519. description: 资金账户ID(卖方)
  9520. type: integer
  9521. tradeamount:
  9522. description: 成交金额
  9523. type: number
  9524. tradeid:
  9525. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9526. type: string
  9527. usedqty:
  9528. description: 使用数量
  9529. type: integer
  9530. required:
  9531. - coupontypeid
  9532. - orderid
  9533. type: object
  9534. models.OperationPrimaryMenu:
  9535. properties:
  9536. Children:
  9537. description: 二级功能菜单
  9538. items:
  9539. $ref: '#/definitions/models.OperationSecondaryMenu'
  9540. type: array
  9541. Key:
  9542. description: 菜单KEY
  9543. type: string
  9544. Label:
  9545. description: 菜单标题
  9546. type: string
  9547. type: object
  9548. models.OperationSecondaryMenu:
  9549. properties:
  9550. Key:
  9551. description: 菜单KEY
  9552. type: string
  9553. Label:
  9554. description: 菜单标题
  9555. type: string
  9556. TabList:
  9557. description: 三级功能菜单
  9558. items:
  9559. $ref: '#/definitions/models.OperationTabMenu'
  9560. type: array
  9561. type: object
  9562. models.OperationTabMenu:
  9563. properties:
  9564. Key:
  9565. description: 菜单KEY
  9566. type: string
  9567. Label:
  9568. description: 菜单标题
  9569. type: string
  9570. type: object
  9571. models.PendingAuditBizModel:
  9572. properties:
  9573. accountid:
  9574. description: 现货账户
  9575. type: string
  9576. areaname:
  9577. description: 所属部门
  9578. type: string
  9579. bizid:
  9580. description: 业务ID
  9581. type: string
  9582. bizname:
  9583. description: 业务名称
  9584. type: string
  9585. status:
  9586. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  9587. type: integer
  9588. type:
  9589. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  9590. type: integer
  9591. type: object
  9592. models.QueryErrorInfosRsp:
  9593. properties:
  9594. description:
  9595. description: 异常描述
  9596. type: string
  9597. errorcode:
  9598. description: 异常代码
  9599. type: string
  9600. errorid:
  9601. description: 异常ID
  9602. type: integer
  9603. modulecode:
  9604. description: 所属模块
  9605. type: string
  9606. operatecode:
  9607. description: 所属操作
  9608. type: string
  9609. rownumber:
  9610. description: 行号
  9611. type: string
  9612. required:
  9613. - errorid
  9614. type: object
  9615. models.QueryHedgeOrderDetailRsp:
  9616. properties:
  9617. accountid:
  9618. description: 账户ID
  9619. type: integer
  9620. buyorsell:
  9621. description: 买卖 - 0:买 1:卖
  9622. type: integer
  9623. cancellogincode:
  9624. description: 撤单人
  9625. type: string
  9626. channelbuildtype:
  9627. description: 开平标志 - 0:无 1:建仓 2:平仓
  9628. type: integer
  9629. channelinnerorderstatus:
  9630. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  9631. 9:全部成交
  9632. type: integer
  9633. channeloperatetype:
  9634. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  9635. type: integer
  9636. closetype:
  9637. description: 平仓方式 - 0:无 1:平今 2:平昨
  9638. type: integer
  9639. curexchangerate:
  9640. description: 当前汇率
  9641. type: number
  9642. exchangefullname:
  9643. description: 外部交易所全称
  9644. type: string
  9645. goodscode:
  9646. description: 商品代码(内部)
  9647. type: string
  9648. goodsid:
  9649. description: 商品ID
  9650. type: integer
  9651. goodsname:
  9652. description: 商品名称
  9653. type: string
  9654. marketid:
  9655. description: 市场ID
  9656. type: integer
  9657. openfreezemargin:
  9658. description: 冻结保证金(冻结交易金额)
  9659. type: number
  9660. orderid:
  9661. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9662. type: string
  9663. orderlogincode:
  9664. description: 委托人
  9665. type: string
  9666. orderprice:
  9667. description: 委托价格(账户)
  9668. type: number
  9669. orderqty:
  9670. description: 委托数量
  9671. type: integer
  9672. ordertime:
  9673. description: 委托时间
  9674. type: string
  9675. pricemode:
  9676. description: '取价方式 - 1:市价 2: 限价'
  9677. type: integer
  9678. tradedate:
  9679. description: 交易日(yyyyMMdd)
  9680. type: string
  9681. tradeqty:
  9682. description: 成交数量
  9683. type: integer
  9684. type: object
  9685. models.QueryHedgeTradeDetailRsp:
  9686. properties:
  9687. accountid:
  9688. description: 账号ID
  9689. type: integer
  9690. buyorsell:
  9691. description: 方向 - 0:买 1:卖
  9692. type: integer
  9693. channelbuildtype:
  9694. description: 委托单据类型 0:无 1:建仓 2:平仓
  9695. type: integer
  9696. closecharge:
  9697. description: 平仓手续费(账户)
  9698. type: number
  9699. closecharge2:
  9700. description: 平仓手续费(商品)
  9701. type: number
  9702. closepl:
  9703. description: 平仓盈亏(账户)
  9704. type: number
  9705. closepl2:
  9706. description: 平仓盈亏(商品)
  9707. type: number
  9708. closepl3:
  9709. description: 平仓盈亏(账户)(逐笔)
  9710. type: number
  9711. closepl4:
  9712. description: 平仓盈亏(商品)(逐笔)
  9713. type: number
  9714. closetype:
  9715. description: 平仓方式 - 0:无 1:平今 2:平昨
  9716. type: integer
  9717. curexchangerate:
  9718. description: 当前汇率
  9719. type: number
  9720. exchangefullname:
  9721. description: 外部交易所全称
  9722. type: string
  9723. goodscode:
  9724. description: 商品代码(内部)
  9725. type: string
  9726. goodsid:
  9727. description: 商品ID
  9728. type: integer
  9729. goodsname:
  9730. description: 商品名称
  9731. type: string
  9732. marketid:
  9733. description: 市场ID
  9734. type: integer
  9735. opencharge:
  9736. description: 建仓手续费(账户)
  9737. type: number
  9738. opencharge2:
  9739. description: 建仓手续费(商品)
  9740. type: number
  9741. orderid:
  9742. description: 委托单号
  9743. type: string
  9744. orderlogincode:
  9745. description: 委托人
  9746. type: string
  9747. tradeamount:
  9748. description: 成交金额(账户)
  9749. type: number
  9750. tradedate:
  9751. description: 交易日(yyyyMMdd)
  9752. type: string
  9753. tradeid:
  9754. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9755. type: string
  9756. tradeprice:
  9757. description: 成交价格
  9758. type: number
  9759. tradeqty:
  9760. description: 成交数量
  9761. type: integer
  9762. tradetime:
  9763. description: 成交时间
  9764. type: string
  9765. tradetype:
  9766. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  9767. type: integer
  9768. type: object
  9769. models.QuotePrimaryMenu:
  9770. properties:
  9771. Index:
  9772. description: 序号
  9773. type: integer
  9774. Key:
  9775. description: 键名
  9776. type: string
  9777. Name:
  9778. description: 菜单名称
  9779. type: string
  9780. SubMenus:
  9781. description: 子菜单
  9782. items:
  9783. $ref: '#/definitions/models.QuoteSecondaryMenu'
  9784. type: array
  9785. SubTitleType:
  9786. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  9787. type: integer
  9788. TradeModes:
  9789. description: 包含市场交易类型
  9790. type: string
  9791. type: object
  9792. models.QuoteSecondaryMenu:
  9793. properties:
  9794. ExExchangeCode:
  9795. description: 外部交易所代码
  9796. type: string
  9797. ExExchangeID:
  9798. description: 外部交易所ID
  9799. type: integer
  9800. GoodsGroupIDs:
  9801. description: 商品组ID列表
  9802. items:
  9803. type: integer
  9804. type: array
  9805. Index:
  9806. description: 序号
  9807. type: integer
  9808. MarketID:
  9809. description: 市场ID
  9810. type: integer
  9811. MenuTitle:
  9812. description: 菜单标题(市场名称或外部交易所名称)
  9813. type: string
  9814. TradeMode:
  9815. description: 交易模式
  9816. type: integer
  9817. type: object
  9818. models.RelatedGoodsEx:
  9819. properties:
  9820. goodscode:
  9821. description: 商品代码
  9822. type: string
  9823. goodsid:
  9824. description: 商品id
  9825. type: integer
  9826. goodsname:
  9827. description: 商品名称
  9828. type: string
  9829. type: object
  9830. models.SearchGoods:
  9831. properties:
  9832. goodscode:
  9833. description: 商品代码(内部)
  9834. type: string
  9835. goodsid:
  9836. description: 商品ID(自增ID SEQ_GOODS)
  9837. type: integer
  9838. goodsname:
  9839. description: 商品名称
  9840. type: string
  9841. marketid:
  9842. description: 所属市场ID
  9843. type: integer
  9844. marketname:
  9845. description: 市场名称
  9846. type: string
  9847. trademode:
  9848. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9849. 21:竞拍-大宗式 22:受托竞价
  9850. type: integer
  9851. required:
  9852. - goodscode
  9853. - goodsid
  9854. - goodsname
  9855. - marketid
  9856. - trademode
  9857. type: object
  9858. models.Systemparam:
  9859. properties:
  9860. loginid:
  9861. description: 更新用户账号,登录账号
  9862. type: string
  9863. modifyflag:
  9864. description: 修改标志0 不允许修改 1 允许修改
  9865. type: integer
  9866. paramcode:
  9867. description: 参数代码
  9868. type: string
  9869. paramname:
  9870. description: 参数名
  9871. type: string
  9872. paramtype:
  9873. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  9874. type: integer
  9875. paramvalue:
  9876. description: 参数值
  9877. type: string
  9878. paramvalue2:
  9879. description: 参数值(CLOB)
  9880. type: string
  9881. regexpress:
  9882. description: 正则表达式
  9883. type: string
  9884. remark:
  9885. description: 备注
  9886. type: string
  9887. serverip:
  9888. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  9889. type: string
  9890. showflag:
  9891. description: 是否显示0 不显示 1 显示
  9892. type: integer
  9893. updatetime:
  9894. description: 更新时间
  9895. type: string
  9896. userid:
  9897. description: 更新用户ID
  9898. type: integer
  9899. required:
  9900. - paramcode
  9901. type: object
  9902. models.Szdz3convertconfig:
  9903. properties:
  9904. canin:
  9905. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  9906. type: integer
  9907. canout:
  9908. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  9909. type: integer
  9910. converttype:
  9911. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  9912. 6:交易转花生米(不设置)
  9913. type: integer
  9914. createtime:
  9915. description: 创建时间
  9916. type: string
  9917. creatorid:
  9918. description: 创建人
  9919. type: integer
  9920. daymaxvalue:
  9921. description: 当日最大转入限制
  9922. type: number
  9923. freezedays:
  9924. description: 冻结天数 [5:花生米转交易]
  9925. type: integer
  9926. innergoodsid:
  9927. description: 内部商品ID[交易]
  9928. type: integer
  9929. inratio:
  9930. description: 目标值
  9931. type: integer
  9932. modifierid:
  9933. description: 修改人
  9934. type: integer
  9935. modifytime:
  9936. description: 修改时间
  9937. type: string
  9938. outergoodscode:
  9939. description: 外部商品代码[JD\PD]
  9940. type: string
  9941. outratio:
  9942. description: 源值
  9943. type: integer
  9944. pddecimalplace:
  9945. description: PD小数位
  9946. type: integer
  9947. timemaxvalue:
  9948. description: 单次最大转入限制
  9949. type: number
  9950. timeminvalue:
  9951. description: 单次最小转入限制
  9952. type: number
  9953. required:
  9954. - converttype
  9955. - innergoodsid
  9956. - outergoodscode
  9957. type: object
  9958. models.Szdz3searchwhitelist:
  9959. properties:
  9960. createtime:
  9961. description: 创建时间
  9962. type: string
  9963. creatorid:
  9964. description: 创建人
  9965. type: integer
  9966. modifierid:
  9967. description: 修改人
  9968. type: integer
  9969. modifytime:
  9970. description: 修改时间
  9971. type: string
  9972. userid:
  9973. description: 用户ID
  9974. type: integer
  9975. required:
  9976. - userid
  9977. type: object
  9978. models.Taaccount:
  9979. properties:
  9980. accountflag:
  9981. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  9982. type: integer
  9983. accountid:
  9984. description: 资金账户ID
  9985. type: integer
  9986. accountname:
  9987. description: 账户名称
  9988. type: string
  9989. balance:
  9990. description: 期初余额
  9991. type: number
  9992. capitalbalance:
  9993. description: 本金余额[外部子账户实际出入金余额]
  9994. type: number
  9995. changeflag:
  9996. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  9997. type: integer
  9998. changetime:
  9999. description: 账户状态变更时间
  10000. type: string
  10001. closepl:
  10002. description: 今日平仓盈亏
  10003. type: number
  10004. creditdecrease:
  10005. description: 今日授信减少
  10006. type: number
  10007. creditincrease:
  10008. description: 今日授信增加
  10009. type: number
  10010. currencyid:
  10011. description: 货币ID
  10012. type: integer
  10013. currentbalance:
  10014. description: 期末余额
  10015. type: number
  10016. freezecharge:
  10017. description: 手续费冻结
  10018. type: number
  10019. freezemargin:
  10020. description: 冻结保证金
  10021. type: number
  10022. fromaccountid:
  10023. description: 所属上级账户
  10024. type: integer
  10025. inamount:
  10026. description: 今日入金金额(包括三方入金)
  10027. type: number
  10028. ismain:
  10029. description: 是否母账号 0:不是母账户 1:是母账户
  10030. type: integer
  10031. ismarketaccount:
  10032. description: 是否机构接单账号 0:不是 1:是
  10033. type: integer
  10034. isreckonaccount:
  10035. description: 是否机构分润账号 0:不是 1:是
  10036. type: integer
  10037. mortgagecredit:
  10038. description: 授信金额
  10039. type: number
  10040. orifreezecharge:
  10041. description: 期初手续费冻结
  10042. type: number
  10043. orifreezemargin:
  10044. description: 期初冻结保证金
  10045. type: number
  10046. orimortgagecredit:
  10047. description: 期初授信金额
  10048. type: number
  10049. oriothercredit:
  10050. description: 期初其它授信金额
  10051. type: number
  10052. oriotherfreezemargin:
  10053. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  10054. type: number
  10055. orioutamountfreeze:
  10056. description: 期初出金冻结
  10057. type: number
  10058. oriusedmargin:
  10059. description: 期初占用保证金
  10060. type: number
  10061. othercredit:
  10062. description: 其它授信金额
  10063. type: number
  10064. othercreditdecrease:
  10065. description: 今日其它授信减少
  10066. type: number
  10067. othercreditincrease:
  10068. description: 今日其它授信增加
  10069. type: number
  10070. otherfreezemargin:
  10071. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  10072. type: number
  10073. otherincome:
  10074. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  10075. type: number
  10076. otherpay:
  10077. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  10078. type: number
  10079. outamount:
  10080. description: 今日出金金额(包括三方出金)
  10081. type: number
  10082. outamountfreeze:
  10083. description: 出金冻结
  10084. type: number
  10085. outthreshold:
  10086. description: 出金阈值
  10087. type: number
  10088. parentaccountid:
  10089. description: 所属根账号
  10090. type: integer
  10091. paycharge:
  10092. description: 今日手续费支出
  10093. type: number
  10094. relatedaccountstatus:
  10095. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  10096. type: integer
  10097. relateduserid:
  10098. description: 关联用户
  10099. type: integer
  10100. serivcegroup:
  10101. description: 服务分组
  10102. type: integer
  10103. signstatus:
  10104. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  10105. type: integer
  10106. sublevelpath:
  10107. description: 账号层级路径(逗号分隔,首尾加逗号)
  10108. type: string
  10109. taaccounttype:
  10110. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  10111. type: integer
  10112. thirdinamount:
  10113. description: 今日三方入金
  10114. type: number
  10115. thirdoutamount:
  10116. description: 今日三方出金
  10117. type: number
  10118. tradestatus:
  10119. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  10120. type: integer
  10121. tradestatuschangetime:
  10122. description: 激活时间
  10123. type: string
  10124. transferamount:
  10125. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  10126. type: number
  10127. usedmargin:
  10128. description: 占用保证金
  10129. type: number
  10130. userid:
  10131. description: 用户ID
  10132. type: integer
  10133. required:
  10134. - accountid
  10135. - userid
  10136. type: object
  10137. models.Tablecolumnconfig:
  10138. properties:
  10139. aligntype:
  10140. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  10141. type: integer
  10142. autoid:
  10143. description: AutoID
  10144. type: integer
  10145. columnfield:
  10146. description: 列字段
  10147. type: string
  10148. columntitle:
  10149. description: 列Title
  10150. type: string
  10151. columnwidth:
  10152. description: 列宽
  10153. type: string
  10154. formatterstring:
  10155. description: 格式化字符
  10156. type: string
  10157. formattertype:
  10158. description: 格式化类型
  10159. type: string
  10160. groupname:
  10161. description: 表头分组名称
  10162. type: string
  10163. isshow:
  10164. description: 是否显示 - 0:不显示 1:显示
  10165. type: integer
  10166. needsummary:
  10167. description: 是否需要汇总 - 0:不需要 1:需要
  10168. type: integer
  10169. orderindex:
  10170. description: 顺序
  10171. type: integer
  10172. remark:
  10173. description: 备注
  10174. type: string
  10175. summarytype:
  10176. description: 汇总类型 - 1:加总 2:最后一个
  10177. type: integer
  10178. tablekey:
  10179. description: 列表Key
  10180. type: string
  10181. required:
  10182. - autoid
  10183. type: object
  10184. models.Useraccount:
  10185. properties:
  10186. accountname:
  10187. description: 账户名称(机构名称)
  10188. type: string
  10189. accountstatus:
  10190. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  10191. type: integer
  10192. auditremark:
  10193. description: 审核备注
  10194. type: string
  10195. audittime:
  10196. description: 审核时间
  10197. type: string
  10198. audituserid:
  10199. description: 审核人
  10200. type: integer
  10201. broker:
  10202. description: 所属经纪人ID
  10203. type: integer
  10204. canceltime:
  10205. description: 销户时间
  10206. type: string
  10207. canceluserid:
  10208. description: 销户人
  10209. type: integer
  10210. createtime:
  10211. description: 创建时间
  10212. type: string
  10213. creatorid:
  10214. description: 创建人
  10215. type: integer
  10216. hasauth:
  10217. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  10218. type: integer
  10219. isanonymous:
  10220. description: 是否匿名下单 - 0:否 1:是
  10221. type: integer
  10222. maxinvestornum:
  10223. description: 最大用户数(经纪会员下投资者个数)
  10224. type: integer
  10225. memberuserid:
  10226. description: 所属会员ID
  10227. type: integer
  10228. modifierid:
  10229. description: 修改人
  10230. type: integer
  10231. modifyremark:
  10232. description: 变更备注
  10233. type: string
  10234. modifystatus:
  10235. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  10236. type: integer
  10237. modifytime:
  10238. description: 修改时间
  10239. type: string
  10240. parentuserid:
  10241. description: 所属机构ID
  10242. type: integer
  10243. reckonaccountid:
  10244. description: 默认结算资金账号ID(机构分润使用) 作废
  10245. type: integer
  10246. refercount:
  10247. description: 推荐总人数
  10248. type: integer
  10249. refereeuserid:
  10250. description: 推荐人ID
  10251. type: integer
  10252. refernum:
  10253. description: 推荐码
  10254. type: string
  10255. subarealevelpath:
  10256. description: 子机构层级路径(逗号分隔,首尾加逗号)
  10257. type: string
  10258. userid:
  10259. description: 用户ID
  10260. type: integer
  10261. usertype:
  10262. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  10263. type: integer
  10264. required:
  10265. - userid
  10266. type: object
  10267. models.Userfavoritegoods:
  10268. properties:
  10269. goodsid:
  10270. description: 商品ID
  10271. type: integer
  10272. required:
  10273. - goodsid
  10274. type: object
  10275. models.Userinfo:
  10276. properties:
  10277. address:
  10278. description: 地址
  10279. type: string
  10280. attachment1:
  10281. description: 附件1
  10282. type: string
  10283. attachment2:
  10284. description: 附件2
  10285. type: string
  10286. bankaccount:
  10287. description: 银行帐号 (加密存储)
  10288. type: string
  10289. bankaccountname:
  10290. description: 收款人名称
  10291. type: string
  10292. bankcardfrontphotourl:
  10293. description: 银行卡正面照地址
  10294. type: string
  10295. bankid:
  10296. description: 银行编码
  10297. type: string
  10298. bankname:
  10299. description: 银行名称
  10300. type: string
  10301. biznature:
  10302. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  10303. type: integer
  10304. bizscope:
  10305. description: 企业经营范围(企业)
  10306. type: string
  10307. cardbackphotourl:
  10308. description: 证件背面图片地址
  10309. type: string
  10310. cardfrontphotourl:
  10311. description: 证件正面图片地址
  10312. type: string
  10313. cardnum:
  10314. description: 证件号码(加密存储)
  10315. type: string
  10316. cardtypeid:
  10317. description: 证件类型ID
  10318. type: integer
  10319. cityid:
  10320. description: 市
  10321. type: integer
  10322. company:
  10323. description: 公司(个人)
  10324. type: string
  10325. contactname:
  10326. description: 联系人
  10327. type: string
  10328. countryid:
  10329. description: 国家
  10330. type: integer
  10331. createtime:
  10332. description: 创建时间
  10333. type: string
  10334. creatorid:
  10335. description: 创建人
  10336. type: integer
  10337. customername:
  10338. description: 客户名称(企业名称)
  10339. type: string
  10340. districtid:
  10341. description: 地区
  10342. type: integer
  10343. email:
  10344. description: 邮件(加密存储)
  10345. type: string
  10346. fax:
  10347. description: 传真(加密存储)
  10348. type: string
  10349. halfbodyphotourl:
  10350. description: 半身照地址
  10351. type: string
  10352. hasencrypt:
  10353. description: 数据是否已加密 - 0:未加密 1:已加密
  10354. type: integer
  10355. headurl:
  10356. description: 头像地址
  10357. type: string
  10358. legalcardbackphotourl:
  10359. description: 法人身份证背面照地址
  10360. type: string
  10361. legalcardfrontphotourl:
  10362. description: 法人身份证正面照地址
  10363. type: string
  10364. legalpersonname:
  10365. description: 法人姓名(企业)
  10366. type: string
  10367. mobile:
  10368. description: 手机号码(加密存储)
  10369. type: string
  10370. mobile2:
  10371. description: 手机号码[明文-尚志]
  10372. type: string
  10373. modifierid:
  10374. description: 修改人
  10375. type: integer
  10376. modifiertime:
  10377. description: 修改时间
  10378. type: string
  10379. needinvoice:
  10380. description: 是否需要发票 - 0:不需要 1:需要
  10381. type: integer
  10382. nickname:
  10383. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  10384. type: string
  10385. openmode:
  10386. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  10387. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  10388. type: integer
  10389. otherurl:
  10390. description: 其它图片地址[使用分号分隔]
  10391. type: string
  10392. postalcode:
  10393. description: 邮政编码
  10394. type: string
  10395. provinceid:
  10396. description: 省
  10397. type: integer
  10398. qq:
  10399. description: QQ(加密存储
  10400. type: string
  10401. remark:
  10402. description: 备注
  10403. type: string
  10404. sex:
  10405. description: '用户性别 0: 女 1: 男'
  10406. type: integer
  10407. signpdfurl:
  10408. description: 签约pdf文件
  10409. type: string
  10410. telphone:
  10411. description: 联系电话(加密存储)
  10412. type: string
  10413. userid:
  10414. description: 用户ID
  10415. type: integer
  10416. userinfotype:
  10417. description: 用户信息类型 - 1:个人 2:企业
  10418. type: integer
  10419. userstatus:
  10420. description: 用户状态 - 1:正常 2:注销
  10421. type: integer
  10422. usertype:
  10423. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  10424. type: integer
  10425. wechat:
  10426. description: 微信(加密存储)
  10427. type: string
  10428. wskhinfo:
  10429. description: 开户申请信息(JSON)
  10430. type: string
  10431. required:
  10432. - userid
  10433. type: object
  10434. models.WRSConverTDetail:
  10435. properties:
  10436. convertratio:
  10437. description: 套保系数
  10438. type: number
  10439. deliverygoodscode:
  10440. description: 现货商品代码
  10441. type: string
  10442. deliverygoodsid:
  10443. description: 现货品种ID
  10444. type: integer
  10445. deliverygoodsname:
  10446. description: 现货商品名称
  10447. type: string
  10448. enumdicname:
  10449. description: 单位名称
  10450. type: string
  10451. goodsunitid:
  10452. description: 套保品种单位id
  10453. type: integer
  10454. middlegoodscode:
  10455. description: 套保品种代码
  10456. type: string
  10457. middlegoodsid:
  10458. description: 套保品种ID
  10459. type: integer
  10460. middlegoodsname:
  10461. description: 套保品种名称
  10462. type: string
  10463. modifytime:
  10464. description: 修改时间
  10465. type: string
  10466. wrstandardid:
  10467. description: 品类ID
  10468. type: integer
  10469. type: object
  10470. models.WRStandardInfo:
  10471. properties:
  10472. areauserid:
  10473. description: 所属机构
  10474. type: integer
  10475. convertfactor:
  10476. description: 标仓系数
  10477. type: number
  10478. createtime:
  10479. description: 创建时间
  10480. type: string
  10481. creatorid:
  10482. description: 创建人
  10483. type: integer
  10484. deliverygoodsid:
  10485. description: 品种ID
  10486. type: integer
  10487. deliverygoodsname:
  10488. description: 交割商品名称
  10489. type: string
  10490. factoryitemjson:
  10491. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  10492. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  10493. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  10494. 逗号分隔'
  10495. type: string
  10496. isvalid:
  10497. description: 是否有效 - 0:无效 1:有效
  10498. type: integer
  10499. minivalue:
  10500. description: 最小变动值
  10501. type: integer
  10502. minivaluedp:
  10503. description: 最小变动值小数位
  10504. type: integer
  10505. realminivalue:
  10506. description: 实际最小变动值
  10507. type: integer
  10508. realminivaluedp:
  10509. description: 实际最小变动值小数位
  10510. type: integer
  10511. remark:
  10512. description: 备注
  10513. type: string
  10514. unitid:
  10515. description: 单位ID
  10516. type: integer
  10517. unitname:
  10518. description: 单位
  10519. type: string
  10520. updatetime:
  10521. description: 更新时间
  10522. type: string
  10523. updatorid:
  10524. description: 更新人
  10525. type: integer
  10526. wrsstatus:
  10527. description: 状态 - 作废 - 0:未激活 1:正常
  10528. type: integer
  10529. wrstandardcode:
  10530. description: 现货品类代码
  10531. type: string
  10532. wrstandardid:
  10533. description: 现货品类ID(SEQ_WRSTANDARD)
  10534. type: integer
  10535. wrstandardname:
  10536. description: 现货品类名称
  10537. type: string
  10538. required:
  10539. - wrstandardid
  10540. type: object
  10541. models.Warehouseinfo:
  10542. properties:
  10543. address:
  10544. description: 详细地址
  10545. type: string
  10546. areauserid:
  10547. description: 所属机构
  10548. type: integer
  10549. autoid:
  10550. description: 自增ID
  10551. type: integer
  10552. cityid:
  10553. description: 市
  10554. type: integer
  10555. contactname:
  10556. description: 联系人
  10557. type: string
  10558. contactnum:
  10559. description: 联系电话
  10560. type: string
  10561. countryid:
  10562. description: 国家
  10563. type: integer
  10564. createtime:
  10565. description: 创建时间
  10566. type: string
  10567. districtid:
  10568. description: 区
  10569. type: integer
  10570. hasvideo:
  10571. description: 是否有视频 - 0:无 1:有
  10572. type: integer
  10573. provinceid:
  10574. description: 省
  10575. type: integer
  10576. remark:
  10577. description: 审核备注
  10578. type: string
  10579. videourl:
  10580. description: 视频地址
  10581. type: string
  10582. warehousecode:
  10583. description: 仓库代码
  10584. type: string
  10585. warehousename:
  10586. description: 仓库名称
  10587. type: string
  10588. warehousestatus:
  10589. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  10590. type: integer
  10591. warehousetype:
  10592. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  10593. type: integer
  10594. required:
  10595. - autoid
  10596. - warehousecode
  10597. type: object
  10598. order.QueryHisTradeDetailRsp:
  10599. properties:
  10600. accountid:
  10601. description: 账户ID[报价币种]
  10602. type: integer
  10603. buildtype:
  10604. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  10605. type: integer
  10606. buyorsell:
  10607. description: 方向 - 0:买 1:卖
  10608. type: integer
  10609. charge:
  10610. description: 手续费
  10611. type: number
  10612. closecharge:
  10613. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  10614. type: number
  10615. closeexchagechargevalue:
  10616. description: 平仓交易所手续费设置值
  10617. type: number
  10618. closefeealgorithm:
  10619. description: 平仓手续费收取方式 1:比率 2:固定
  10620. type: integer
  10621. closememberchargevalue:
  10622. description: 平仓会员手续费设置值
  10623. type: number
  10624. closepl:
  10625. description: 平仓盈亏
  10626. type: number
  10627. closepl2:
  10628. description: 平仓盈亏[逐笔]
  10629. type: number
  10630. closeqty:
  10631. description: 平仓数量(先建后平操作 需要记录)
  10632. type: integer
  10633. creditamount:
  10634. description: 授信金额
  10635. type: number
  10636. gcaccountid:
  10637. description: 账户ID[合约币种]
  10638. type: integer
  10639. goodscode:
  10640. description: 商品代码
  10641. type: string
  10642. goodsid:
  10643. description: 商品ID
  10644. type: integer
  10645. goodsname:
  10646. description: 商品名称
  10647. type: string
  10648. histradedate:
  10649. description: 历史交易日
  10650. type: string
  10651. intclosepl:
  10652. description: 整型盈亏(用于交易结算试算平衡-收益权)
  10653. type: integer
  10654. isconfirmexercise:
  10655. description: 是否确认行权- 0:否 1:是
  10656. type: integer
  10657. ismain:
  10658. description: 是否主单 - 0:不是 1:是
  10659. type: integer
  10660. ispreexercise:
  10661. description: 是否预申报- 0:否 1:是
  10662. type: integer
  10663. isreckoned:
  10664. description: 是否结算 - 0:未结算 1:已结算
  10665. type: integer
  10666. isvaliddata:
  10667. description: 是否有效 - 0:无效 1:有效
  10668. type: integer
  10669. listingselecttype:
  10670. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  10671. type: integer
  10672. marketid:
  10673. description: 市场ID
  10674. type: integer
  10675. marketname:
  10676. description: 市场名称
  10677. type: string
  10678. matchaccountid:
  10679. description: 对手账号id
  10680. type: integer
  10681. memberuserid:
  10682. description: 会员id 个人投资者 需要填写
  10683. type: integer
  10684. opencharge:
  10685. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  10686. type: number
  10687. openexchagechargevalue:
  10688. description: 建仓交易所手续费设置值
  10689. type: number
  10690. openfeealgorithm:
  10691. description: 建仓手续费收取方式 1:比率 2:固定
  10692. type: integer
  10693. openmemberchargevalue:
  10694. description: 建仓会员手续费设置值
  10695. type: number
  10696. openqty:
  10697. description: 开仓数量(先建后平操作 需要记录)
  10698. type: integer
  10699. optiontype:
  10700. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  10701. type: integer
  10702. orderid:
  10703. description: 委托单号
  10704. type: string
  10705. performanceplanid:
  10706. description: 履约计划ID[期权]
  10707. type: integer
  10708. performancestatus:
  10709. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  10710. type: integer
  10711. preexerciseprice:
  10712. description: 预申报价格
  10713. type: number
  10714. premium:
  10715. description: 权利金 - [持仓单的权利金]
  10716. type: number
  10717. relatedouttradeid:
  10718. description: 关联外部成交单ID
  10719. type: integer
  10720. status:
  10721. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  10722. type: integer
  10723. tradeamount:
  10724. description: 成交金额[账户币种,用于所有权]
  10725. type: number
  10726. tradedate:
  10727. description: 交易日(yyyyMMdd)
  10728. type: string
  10729. tradeid:
  10730. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10731. type: string
  10732. trademode:
  10733. description: 交易模式
  10734. type: integer
  10735. tradeprice:
  10736. description: 成交价格
  10737. type: number
  10738. tradeproperty:
  10739. description: 交易属性
  10740. type: integer
  10741. tradeqty:
  10742. description: 成交数量
  10743. type: integer
  10744. tradetime:
  10745. description: 成交时间
  10746. type: string
  10747. tradetype:
  10748. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  10749. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  10750. type: integer
  10751. required:
  10752. - accountid
  10753. - buyorsell
  10754. - goodsid
  10755. - histradedate
  10756. - marketid
  10757. - memberuserid
  10758. - orderid
  10759. - tradeamount
  10760. - tradedate
  10761. - tradeid
  10762. - tradeprice
  10763. - tradeqty
  10764. - tradetime
  10765. type: object
  10766. order.QueryHisTradeOrderDetailRsp:
  10767. properties:
  10768. accountid:
  10769. description: 账户ID[报价币种]
  10770. type: integer
  10771. buildtype:
  10772. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  10773. type: integer
  10774. buyorsell:
  10775. description: 买卖 - 0:买 1:卖
  10776. type: integer
  10777. cancelorderid:
  10778. description: 撤单单号(撤单时填写)
  10779. type: string
  10780. cancelqty:
  10781. description: 撤单数量
  10782. type: integer
  10783. clientordertime:
  10784. description: 客户端委托时间
  10785. type: string
  10786. clientticket:
  10787. description: 客户端流水号
  10788. type: string
  10789. clienttype:
  10790. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  10791. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  10792. type: integer
  10793. closeexchagechargevalue:
  10794. description: 平仓交易所手续费设置值
  10795. type: number
  10796. closefeealgorithm:
  10797. description: 平仓手续费收取方式 1:比率 2:固定
  10798. type: integer
  10799. closefreezecharge:
  10800. description: 平仓冻结手续费(先建后平操作,需要记录)
  10801. type: number
  10802. closememberchargevalue:
  10803. description: 平仓会员手续费设置值
  10804. type: number
  10805. closeqty:
  10806. description: 平仓数量(先建后平操作 需要记录)
  10807. type: integer
  10808. closetradeqty:
  10809. description: 平仓成交数量(先建后平操作,需要记录)
  10810. type: integer
  10811. closeunfreezecharge:
  10812. description: 平仓解冻手续费(先建后平操作,需要记录)
  10813. type: number
  10814. delistingtype:
  10815. description: 摘牌类型 - 1:价格最优 2:点选成交
  10816. type: integer
  10817. freezecharge:
  10818. description: 冻结手续费
  10819. type: number
  10820. freezemargin:
  10821. description: 冻结保证金(冻结交易金额)
  10822. type: number
  10823. gcaccountid:
  10824. description: 账户ID[合约币种]
  10825. type: integer
  10826. goodscode:
  10827. description: 商品代码
  10828. type: string
  10829. goodsid:
  10830. description: 商品ID
  10831. type: integer
  10832. goodsname:
  10833. description: 商品名称
  10834. type: string
  10835. histradedate:
  10836. description: 历史交易日
  10837. type: string
  10838. isconfirmexercise:
  10839. description: 是否确认行权- 0:否 1:是
  10840. type: integer
  10841. ispreexercise:
  10842. description: 是否预申报- 0:否 1:是
  10843. type: integer
  10844. isvaliddata:
  10845. description: 是否有效 - 0:无效 1:有效
  10846. type: integer
  10847. listingselecttype:
  10848. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  10849. type: integer
  10850. marginalgorithm:
  10851. description: 保证金收取方式 1:比率 2:固定
  10852. type: integer
  10853. marginvalue:
  10854. description: 即市保证金设置值
  10855. type: number
  10856. marketid:
  10857. description: 市场ID
  10858. type: integer
  10859. marketmaxsub:
  10860. description: 市价最大偏移范围
  10861. type: number
  10862. marketname:
  10863. description: 市场名称
  10864. type: string
  10865. memberuserid:
  10866. description: 所属会员UserID
  10867. type: integer
  10868. openexchagechargevalue:
  10869. description: 建仓交易所手续费设置值
  10870. type: number
  10871. openfeealgorithm:
  10872. description: 建仓手续费收取方式 1:比率 2:固定
  10873. type: integer
  10874. openfreezecharge:
  10875. description: 开仓冻结手续费(先建后平操作,需要记录)
  10876. type: number
  10877. openmemberchargevalue:
  10878. description: 建仓会员手续费设置值
  10879. type: number
  10880. openqty:
  10881. description: 开仓数量(先建后平操作,需要记录)
  10882. type: integer
  10883. opentradeqty:
  10884. description: 开仓成交数量(先建后平操作,需要记录)
  10885. type: integer
  10886. openunfreezecharge:
  10887. description: 开仓解冻手续费(先建后平操作,需要记录)
  10888. type: number
  10889. operatetype:
  10890. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  10891. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  10892. 15:管理端协议转让
  10893. type: integer
  10894. operatorid:
  10895. description: 登录账号(LoginID)
  10896. type: integer
  10897. optiontype:
  10898. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  10899. type: integer
  10900. orderid:
  10901. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10902. type: string
  10903. orderprice:
  10904. description: 委托价格
  10905. type: number
  10906. orderqty:
  10907. description: 委托数量
  10908. type: integer
  10909. ordersrc:
  10910. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  10911. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  10912. type: integer
  10913. orderstatus:
  10914. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  10915. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  10916. 16:成交失败违约(荷兰式竞拍专用)
  10917. type: integer
  10918. ordertime:
  10919. description: 委托时间
  10920. type: string
  10921. preexerciseprice:
  10922. description: 预申报价格
  10923. type: number
  10924. premium:
  10925. description: 权利金
  10926. type: number
  10927. preorderid:
  10928. description: 关联预埋单号(止盈止损单时填写)
  10929. type: string
  10930. pricemode:
  10931. description: '取价方式 - 1:市价 2: 限价'
  10932. type: integer
  10933. quoteid:
  10934. description: 报价单ID
  10935. type: integer
  10936. relatedid:
  10937. description: 关联单号(交割单)
  10938. type: string
  10939. retcode:
  10940. description: 错误代码
  10941. type: integer
  10942. sessionid:
  10943. description: 会话ID
  10944. type: integer
  10945. tradedate:
  10946. description: 交易日(yyyyMMdd)
  10947. type: string
  10948. trademode:
  10949. description: 交易模式
  10950. type: integer
  10951. tradeproperty:
  10952. description: 交易属性
  10953. type: integer
  10954. tradeqty:
  10955. description: 成交数量
  10956. type: integer
  10957. unfreezecharge:
  10958. description: 解冻手续费
  10959. type: number
  10960. unfreezemargin:
  10961. description: 解冻保证金
  10962. type: number
  10963. updatetime:
  10964. description: 更新时间
  10965. type: string
  10966. uuid:
  10967. description: 发起端唯一id
  10968. type: string
  10969. validtime:
  10970. description: 有效期限
  10971. type: string
  10972. validtype:
  10973. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  10974. type: integer
  10975. volumetype:
  10976. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  10977. type: integer
  10978. required:
  10979. - accountid
  10980. - buildtype
  10981. - buyorsell
  10982. - goodsid
  10983. - histradedate
  10984. - marketid
  10985. - memberuserid
  10986. - operatetype
  10987. - orderid
  10988. - orderqty
  10989. - ordertime
  10990. - pricemode
  10991. - tradedate
  10992. - validtype
  10993. type: object
  10994. order.QueryTradeDetailRsp:
  10995. properties:
  10996. accountid:
  10997. description: 账户ID[报价币种]
  10998. type: integer
  10999. buildtype:
  11000. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  11001. type: integer
  11002. buyorsell:
  11003. description: 方向 - 0:买 1:卖
  11004. type: integer
  11005. charge:
  11006. description: 手续费
  11007. type: number
  11008. closecharge:
  11009. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  11010. type: number
  11011. closeexchagechargevalue:
  11012. description: 平仓交易所手续费设置值
  11013. type: number
  11014. closefeealgorithm:
  11015. description: 平仓手续费收取方式 1:比率 2:固定
  11016. type: integer
  11017. closememberchargevalue:
  11018. description: 平仓会员手续费设置值
  11019. type: number
  11020. closepl:
  11021. description: 平仓盈亏
  11022. type: number
  11023. closepl2:
  11024. description: 平仓盈亏[逐笔]
  11025. type: number
  11026. closeqty:
  11027. description: 平仓数量(先建后平操作 需要记录)
  11028. type: integer
  11029. creditamount:
  11030. description: 授信金额
  11031. type: number
  11032. gcaccountid:
  11033. description: 账户ID[合约币种]
  11034. type: integer
  11035. goodscode:
  11036. description: 商品代码
  11037. type: string
  11038. goodsid:
  11039. description: 商品ID
  11040. type: integer
  11041. goodsname:
  11042. description: 商品名称
  11043. type: string
  11044. intclosepl:
  11045. description: 整型盈亏(用于交易结算试算平衡-收益权)
  11046. type: integer
  11047. isconfirmexercise:
  11048. description: 是否确认行权- 0:否 1:是
  11049. type: integer
  11050. ismain:
  11051. description: 是否主单 - 0:不是 1:是
  11052. type: integer
  11053. ispreexercise:
  11054. description: 是否预申报- 0:否 1:是
  11055. type: integer
  11056. isreckoned:
  11057. description: 是否结算 - 0:未结算 1:已结算
  11058. type: integer
  11059. listingselecttype:
  11060. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  11061. type: integer
  11062. marketid:
  11063. description: 市场ID
  11064. type: integer
  11065. marketname:
  11066. description: 市场名称
  11067. type: string
  11068. matchaccountid:
  11069. description: 对手账号id
  11070. type: integer
  11071. memberuserid:
  11072. description: 会员id 个人投资者 需要填写
  11073. type: integer
  11074. opencharge:
  11075. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  11076. type: number
  11077. openexchagechargevalue:
  11078. description: 建仓交易所手续费设置值
  11079. type: number
  11080. openfeealgorithm:
  11081. description: 建仓手续费收取方式 1:比率 2:固定
  11082. type: integer
  11083. openmemberchargevalue:
  11084. description: 建仓会员手续费设置值
  11085. type: number
  11086. openqty:
  11087. description: 开仓数量(先建后平操作 需要记录)
  11088. type: integer
  11089. optiontype:
  11090. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  11091. type: integer
  11092. orderid:
  11093. description: 委托单号
  11094. type: string
  11095. performanceplanid:
  11096. description: 履约计划ID[期权]
  11097. type: integer
  11098. performancestatus:
  11099. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  11100. type: integer
  11101. preexerciseprice:
  11102. description: 预申报价格
  11103. type: number
  11104. premium:
  11105. description: 权利金 - [持仓单的权利金]
  11106. type: number
  11107. relatedouttradeid:
  11108. description: 关联外部成交单ID
  11109. type: integer
  11110. status:
  11111. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  11112. type: integer
  11113. tradeamount:
  11114. description: 成交金额[账户币种,用于所有权]
  11115. type: number
  11116. tradedate:
  11117. description: 交易日(yyyyMMdd)
  11118. type: string
  11119. tradeid:
  11120. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11121. type: string
  11122. trademode:
  11123. description: 交易模式
  11124. type: integer
  11125. tradeprice:
  11126. description: 成交价格
  11127. type: number
  11128. tradeproperty:
  11129. description: 交易属性
  11130. type: integer
  11131. tradeqty:
  11132. description: 成交数量
  11133. type: integer
  11134. tradetime:
  11135. description: 成交时间
  11136. type: string
  11137. tradetype:
  11138. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  11139. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  11140. type: integer
  11141. required:
  11142. - accountid
  11143. - buyorsell
  11144. - goodsid
  11145. - marketid
  11146. - memberuserid
  11147. - orderid
  11148. - tradeamount
  11149. - tradedate
  11150. - tradeid
  11151. - tradeprice
  11152. - tradeqty
  11153. - tradetime
  11154. type: object
  11155. order.QueryTradeOrderDetailRsp:
  11156. properties:
  11157. accountid:
  11158. description: 账户ID[报价币种]
  11159. type: integer
  11160. buildtype:
  11161. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  11162. type: integer
  11163. buyorsell:
  11164. description: 买卖 - 0:买 1:卖
  11165. type: integer
  11166. cancelorderid:
  11167. description: 撤单单号(撤单时填写)
  11168. type: string
  11169. cancelqty:
  11170. description: 撤单数量
  11171. type: integer
  11172. clienttype:
  11173. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  11174. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  11175. type: integer
  11176. closefreezecharge:
  11177. description: 平仓冻结手续费(先建后平操作,需要记录)
  11178. type: number
  11179. closeqty:
  11180. description: 平仓数量(先建后平操作 需要记录)
  11181. type: integer
  11182. closetradeqty:
  11183. description: 平仓成交数量(先建后平操作,需要记录)
  11184. type: integer
  11185. closeunfreezecharge:
  11186. description: 平仓解冻手续费(先建后平操作,需要记录)
  11187. type: number
  11188. delistingtype:
  11189. description: 摘牌类型 - 1:价格最优 2:点选成交
  11190. type: integer
  11191. enableqty:
  11192. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  11193. type: integer
  11194. freezecharge:
  11195. description: 冻结手续费
  11196. type: number
  11197. freezemargin:
  11198. description: 冻结保证金(冻结交易金额)
  11199. type: number
  11200. goodscode:
  11201. description: 商品代码
  11202. type: string
  11203. goodsid:
  11204. description: 商品ID
  11205. type: integer
  11206. goodsname:
  11207. description: 商品名称
  11208. type: string
  11209. listingselecttype:
  11210. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  11211. type: integer
  11212. marketid:
  11213. description: 市场ID
  11214. type: integer
  11215. marketname:
  11216. description: 市场名称
  11217. type: string
  11218. openfreezecharge:
  11219. description: 开仓冻结手续费(先建后平操作,需要记录)
  11220. type: number
  11221. openqty:
  11222. description: 开仓数量(先建后平操作,需要记录)
  11223. type: integer
  11224. opentradeqty:
  11225. description: 开仓成交数量(先建后平操作,需要记录)
  11226. type: integer
  11227. openunfreezecharge:
  11228. description: 开仓解冻手续费(先建后平操作,需要记录)
  11229. type: number
  11230. operatetype:
  11231. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  11232. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  11233. 15:管理端协议转让
  11234. type: integer
  11235. operatorid:
  11236. description: 登录账号(LoginID)
  11237. type: integer
  11238. orderid:
  11239. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11240. type: string
  11241. orderprice:
  11242. description: 委托价格
  11243. type: number
  11244. orderqty:
  11245. description: 委托数量
  11246. type: integer
  11247. ordersrc:
  11248. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  11249. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  11250. type: integer
  11251. orderstatus:
  11252. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  11253. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  11254. 16:成交失败违约(荷兰式竞拍专用)
  11255. type: integer
  11256. ordertime:
  11257. description: 委托时间
  11258. type: string
  11259. preorderid:
  11260. description: 关联预埋单号(止盈止损单时填写)
  11261. type: string
  11262. pricemode:
  11263. description: '取价方式 - 1:市价 2: 限价'
  11264. type: integer
  11265. relatedid:
  11266. description: 关联单号(交割单)
  11267. type: string
  11268. tradedate:
  11269. description: 交易日(yyyyMMdd)
  11270. type: string
  11271. trademode:
  11272. description: 交易模式
  11273. type: integer
  11274. tradeqty:
  11275. description: 成交数量
  11276. type: integer
  11277. unfreezecharge:
  11278. description: 解冻手续费
  11279. type: number
  11280. unfreezemargin:
  11281. description: 解冻保证金
  11282. type: number
  11283. validtime:
  11284. description: 有效期限
  11285. type: string
  11286. validtype:
  11287. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  11288. type: integer
  11289. volumetype:
  11290. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  11291. type: integer
  11292. required:
  11293. - accountid
  11294. - buildtype
  11295. - buyorsell
  11296. - goodsid
  11297. - marketid
  11298. - operatetype
  11299. - orderqty
  11300. - ordertime
  11301. - pricemode
  11302. - tradedate
  11303. - validtype
  11304. type: object
  11305. order.QueryTradePositionRsp:
  11306. properties:
  11307. accountid:
  11308. description: 资金账户
  11309. type: integer
  11310. agreeunit:
  11311. description: 合约单位
  11312. type: number
  11313. averageprice:
  11314. description: 持仓均价
  11315. type: number
  11316. buyorsell:
  11317. description: 方向 - 0:买 1:卖
  11318. type: integer
  11319. closetotalqty:
  11320. description: 平仓总数量
  11321. type: integer
  11322. curholderamount:
  11323. description: 当前持仓总金额[商品币种]
  11324. type: number
  11325. curpositionqty:
  11326. description: 当前持仓总数量
  11327. type: integer
  11328. currencyid:
  11329. description: 报价货币ID
  11330. type: integer
  11331. curtdposition:
  11332. description: 期末今日头寸
  11333. type: integer
  11334. decimalplace:
  11335. description: 报价小数位
  11336. type: integer
  11337. enableqty:
  11338. description: 可用量
  11339. type: integer
  11340. fretdposition:
  11341. description: 冻结今日头寸
  11342. type: integer
  11343. frozenqty:
  11344. description: 持仓冻结数量
  11345. type: integer
  11346. goodscode:
  11347. description: 商品代码
  11348. type: string
  11349. goodsid:
  11350. description: 商品Id
  11351. type: integer
  11352. goodsname:
  11353. description: 商品名称
  11354. type: string
  11355. goodunit:
  11356. description: 报价单位
  11357. type: string
  11358. goodunitid:
  11359. description: 报价单位ID
  11360. type: integer
  11361. holderamount:
  11362. description: 期初持仓总金额[商品币种]
  11363. type: number
  11364. marketid:
  11365. description: 所属市场ID
  11366. type: integer
  11367. openreqqty:
  11368. description: 开仓申请数量(用于比较最大持仓数量)
  11369. type: integer
  11370. opentotalqty:
  11371. description: 开仓总数量
  11372. type: integer
  11373. otherfrozenqty:
  11374. description: 持仓其他冻结数量(交割冻结)
  11375. type: integer
  11376. positionqty:
  11377. description: 期初持仓数量
  11378. type: integer
  11379. tnqty:
  11380. description: T+N冻结总量
  11381. type: integer
  11382. tnusedqty:
  11383. description: T+N使用量(可以使用T+N的冻结数量)
  11384. type: integer
  11385. trademode:
  11386. description: 交易模式
  11387. type: integer
  11388. usedmargin:
  11389. description: 占用保证金[商品币种]
  11390. type: number
  11391. required:
  11392. - goodsid
  11393. type: object
  11394. quote.HistoryData:
  11395. properties:
  11396. c:
  11397. description: 收盘价
  11398. type: number
  11399. f:
  11400. description: 是否补充数据
  11401. type: boolean
  11402. h:
  11403. description: 最高价
  11404. type: number
  11405. hv:
  11406. description: 持仓量
  11407. type: integer
  11408. l:
  11409. description: 最低价
  11410. type: number
  11411. o:
  11412. description: 开盘价
  11413. type: number
  11414. s:
  11415. description: 结算价,日线周期(包括)以上才有
  11416. type: number
  11417. ts:
  11418. description: 时间
  11419. type: string
  11420. tt:
  11421. description: 总金额
  11422. type: number
  11423. tv:
  11424. description: 总量
  11425. type: integer
  11426. type: object
  11427. quote.HistoryTikData:
  11428. properties:
  11429. AV:
  11430. description: 卖量
  11431. type: integer
  11432. Ask:
  11433. description: 卖价
  11434. type: number
  11435. BV:
  11436. description: 买量
  11437. type: integer
  11438. Bid:
  11439. description: 买价
  11440. type: number
  11441. HI:
  11442. description: 单笔持仓
  11443. type: integer
  11444. HV:
  11445. description: 持仓量
  11446. type: integer
  11447. PE:
  11448. description: 现价
  11449. type: number
  11450. TDR:
  11451. description: 交易方向,0:买 1:卖
  11452. type: integer
  11453. TK:
  11454. description: 交易类型
  11455. type: integer
  11456. TS:
  11457. description: 行情时间文本
  11458. type: string
  11459. TT:
  11460. description: 现金额
  11461. type: number
  11462. Vol:
  11463. description: 现量
  11464. type: integer
  11465. type: object
  11466. quote.QueryQuoteDayRsp:
  11467. properties:
  11468. ask:
  11469. description: 卖1
  11470. type: number
  11471. ask2:
  11472. description: 卖2
  11473. type: number
  11474. ask3:
  11475. description: 卖3
  11476. type: number
  11477. ask4:
  11478. description: 卖4
  11479. type: number
  11480. ask5:
  11481. description: 卖5
  11482. type: number
  11483. ask6:
  11484. description: 卖6
  11485. type: number
  11486. ask7:
  11487. description: 卖7
  11488. type: number
  11489. ask8:
  11490. description: 卖8
  11491. type: number
  11492. ask9:
  11493. description: 卖9
  11494. type: number
  11495. ask10:
  11496. description: 卖10
  11497. type: number
  11498. askorderid:
  11499. description: 卖单号1
  11500. type: integer
  11501. askorderid2:
  11502. description: 卖单号2
  11503. type: integer
  11504. askorderid3:
  11505. description: 卖单号3
  11506. type: integer
  11507. askorderid4:
  11508. description: 卖单号4
  11509. type: integer
  11510. askorderid5:
  11511. description: 卖单号5
  11512. type: integer
  11513. askordervolume:
  11514. description: 卖单量1
  11515. type: integer
  11516. askordervolume2:
  11517. description: 卖单量2
  11518. type: integer
  11519. askordervolume3:
  11520. description: 卖单量3
  11521. type: integer
  11522. askordervolume4:
  11523. description: 卖单量4
  11524. type: integer
  11525. askordervolume5:
  11526. description: 卖单量5
  11527. type: integer
  11528. askordervolume6:
  11529. description: 卖单量6
  11530. type: integer
  11531. askordervolume7:
  11532. description: 卖单量7
  11533. type: integer
  11534. askordervolume8:
  11535. description: 卖单量8
  11536. type: integer
  11537. askordervolume9:
  11538. description: 卖单量9
  11539. type: integer
  11540. askordervolume10:
  11541. description: 卖单量10
  11542. type: integer
  11543. askqueueinfo:
  11544. description: 大利市卖港股用
  11545. type: string
  11546. askvolume:
  11547. description: 卖量1
  11548. type: integer
  11549. askvolume2:
  11550. description: 卖量2
  11551. type: integer
  11552. askvolume3:
  11553. description: 卖量3
  11554. type: integer
  11555. askvolume4:
  11556. description: 卖量4
  11557. type: integer
  11558. askvolume5:
  11559. description: 卖量5
  11560. type: integer
  11561. askvolume6:
  11562. description: 卖量6
  11563. type: integer
  11564. askvolume7:
  11565. description: 卖量7
  11566. type: integer
  11567. askvolume8:
  11568. description: 卖量8
  11569. type: integer
  11570. askvolume9:
  11571. description: 卖量9
  11572. type: integer
  11573. askvolume10:
  11574. description: 卖量10
  11575. type: integer
  11576. averageprice:
  11577. description: 均价
  11578. type: number
  11579. bid:
  11580. description: 买1
  11581. type: number
  11582. bid2:
  11583. description: 买2
  11584. type: number
  11585. bid3:
  11586. description: 买3
  11587. type: number
  11588. bid4:
  11589. description: 买4
  11590. type: number
  11591. bid5:
  11592. description: 买5
  11593. type: number
  11594. bid6:
  11595. description: 买6
  11596. type: number
  11597. bid7:
  11598. description: 买7
  11599. type: number
  11600. bid8:
  11601. description: 买8
  11602. type: number
  11603. bid9:
  11604. description: 买9
  11605. type: number
  11606. bid10:
  11607. description: 买10
  11608. type: number
  11609. bidorderid:
  11610. description: 买单号1
  11611. type: integer
  11612. bidorderid2:
  11613. description: 买单号2
  11614. type: integer
  11615. bidorderid3:
  11616. description: 买单号3
  11617. type: integer
  11618. bidorderid4:
  11619. description: 买单号4
  11620. type: integer
  11621. bidorderid5:
  11622. description: 买单号5
  11623. type: integer
  11624. bidordervolume:
  11625. description: 买单量1
  11626. type: integer
  11627. bidordervolume2:
  11628. description: 买单量2
  11629. type: integer
  11630. bidordervolume3:
  11631. description: 买单量3
  11632. type: integer
  11633. bidordervolume4:
  11634. description: 买单量4
  11635. type: integer
  11636. bidordervolume5:
  11637. description: 买单量5
  11638. type: integer
  11639. bidordervolume6:
  11640. description: 买单量6
  11641. type: integer
  11642. bidordervolume7:
  11643. description: 买单量7
  11644. type: integer
  11645. bidordervolume8:
  11646. description: 买单量8
  11647. type: integer
  11648. bidordervolume9:
  11649. description: 买单量9
  11650. type: integer
  11651. bidordervolume10:
  11652. description: 买单量10
  11653. type: integer
  11654. bidqueueinfo:
  11655. description: 大利市买港股用
  11656. type: string
  11657. bidvolume:
  11658. description: 买量1
  11659. type: integer
  11660. bidvolume2:
  11661. description: 买量2
  11662. type: integer
  11663. bidvolume3:
  11664. description: 买量3
  11665. type: integer
  11666. bidvolume4:
  11667. description: 买量4
  11668. type: integer
  11669. bidvolume5:
  11670. description: 买量5
  11671. type: integer
  11672. bidvolume6:
  11673. description: 买量6
  11674. type: integer
  11675. bidvolume7:
  11676. description: 买量7
  11677. type: integer
  11678. bidvolume8:
  11679. description: 买量8
  11680. type: integer
  11681. bidvolume9:
  11682. description: 买量9
  11683. type: integer
  11684. bidvolume10:
  11685. description: 买量10
  11686. type: integer
  11687. calloptionpremiums:
  11688. description: 认购期权1
  11689. type: integer
  11690. calloptionpremiums2:
  11691. description: 认购期权2
  11692. type: integer
  11693. calloptionpremiums3:
  11694. description: 认购期权3
  11695. type: integer
  11696. calloptionpremiums4:
  11697. description: 认购期权4
  11698. type: integer
  11699. calloptionpremiums5:
  11700. description: 认购期权5
  11701. type: integer
  11702. cleartime:
  11703. description: 清盘时间
  11704. type: integer
  11705. exchangecode:
  11706. description: 交易所代码
  11707. type: integer
  11708. exchangedate:
  11709. description: 交易日
  11710. type: integer
  11711. goodscode:
  11712. description: 商品代码
  11713. type: string
  11714. grepmarketprice:
  11715. description: 暗盘价 港股专用
  11716. type: number
  11717. highest:
  11718. description: 最高价
  11719. type: number
  11720. holdincrement:
  11721. description: 单笔持仓
  11722. type: integer
  11723. holdvolume:
  11724. description: 持仓
  11725. type: integer
  11726. iep:
  11727. description: 平衡价 港股专用
  11728. type: number
  11729. iev:
  11730. description: 平衡量 港股专用
  11731. type: number
  11732. inventory:
  11733. description: 库存
  11734. type: integer
  11735. iscleared:
  11736. description: 是否清盘标志
  11737. type: integer
  11738. issettled:
  11739. description: 是否结算标志
  11740. type: integer
  11741. last:
  11742. description: 最新价
  11743. type: number
  11744. lastlot:
  11745. description: 最新成交手数
  11746. type: integer
  11747. lasttime:
  11748. description: 行情时间(只有现价变化行情时间才变化)
  11749. type: string
  11750. lastturnover:
  11751. description: 最新成交金额
  11752. type: number
  11753. lastvolume:
  11754. description: 最新成交量
  11755. type: integer
  11756. limitdown:
  11757. description: 跌停价
  11758. type: number
  11759. limitup:
  11760. description: 涨停价
  11761. type: number
  11762. lowest:
  11763. description: 最低价
  11764. type: number
  11765. nontotalholdervolume:
  11766. description: 非交易持仓量
  11767. type: integer
  11768. nontotallot:
  11769. description: 非交易总手数
  11770. type: integer
  11771. nontotalturnover:
  11772. description: 非交易总金额
  11773. type: integer
  11774. nontotalvolume:
  11775. description: 非交易总量
  11776. type: integer
  11777. opened:
  11778. description: 开盘价
  11779. type: number
  11780. opentime:
  11781. description: 开盘时间
  11782. type: string
  11783. orderid:
  11784. description: 序号
  11785. type: integer
  11786. preclose:
  11787. description: 昨收
  11788. type: number
  11789. preholdvolume:
  11790. description: 昨持仓
  11791. type: integer
  11792. presettle:
  11793. description: 昨结价
  11794. type: number
  11795. publictradetype:
  11796. description: 公共交易标志类型 港股专用
  11797. type: string
  11798. putoptionpremiums:
  11799. description: 认沽期权1
  11800. type: integer
  11801. putoptionpremiums2:
  11802. description: 认沽期权2
  11803. type: integer
  11804. putoptionpremiums3:
  11805. description: 认沽期权3
  11806. type: integer
  11807. putoptionpremiums4:
  11808. description: 认沽期权4
  11809. type: integer
  11810. putoptionpremiums5:
  11811. description: 认沽期权5
  11812. type: integer
  11813. settle:
  11814. description: 结算价
  11815. type: number
  11816. strikeprice:
  11817. description: 发行价
  11818. type: number
  11819. totalaskvolume:
  11820. description: 内盘
  11821. type: integer
  11822. totalbidvolume:
  11823. description: 外盘
  11824. type: integer
  11825. totallot:
  11826. description: 总手数
  11827. type: integer
  11828. totalturnover:
  11829. description: 总金额
  11830. type: number
  11831. totalvolume:
  11832. description: 总量
  11833. type: integer
  11834. utclasttime:
  11835. description: utc的行情时间
  11836. type: string
  11837. type: object
  11838. quote.QueryTSDataRsp:
  11839. properties:
  11840. Count:
  11841. description: 交易日应有数据个数
  11842. type: integer
  11843. decimalPlace:
  11844. description: 小数位
  11845. type: integer
  11846. endTime:
  11847. description: 结束时间
  11848. type: string
  11849. goodsCode:
  11850. description: 商品代码
  11851. type: string
  11852. historyDatas:
  11853. description: 历史数据
  11854. items:
  11855. $ref: '#/definitions/quote.HistoryData'
  11856. type: array
  11857. outGoodsCode:
  11858. description: 外部商品代码
  11859. type: string
  11860. preSettle:
  11861. description: 昨结价
  11862. type: number
  11863. runSteps:
  11864. description: 交易日开休市计划
  11865. items:
  11866. $ref: '#/definitions/quote.TSDataRunStep'
  11867. type: array
  11868. startTime:
  11869. description: 开始时间
  11870. type: string
  11871. tradeDate:
  11872. description: 交易日
  11873. type: string
  11874. type: object
  11875. quote.TSDataRunStep:
  11876. properties:
  11877. end:
  11878. description: 真实结束时间
  11879. type: string
  11880. endflag:
  11881. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  11882. type: integer
  11883. endtime:
  11884. description: 结束时间(HH:mm)
  11885. type: string
  11886. endweekday:
  11887. description: 结束周几
  11888. type: integer
  11889. groupid:
  11890. description: 分组ID
  11891. type: integer
  11892. runstep:
  11893. description: 运行阶段 - 2:连续交易
  11894. type: integer
  11895. sectionid:
  11896. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  11897. 结束时间=结算时间 结束周几=结算周几
  11898. type: integer
  11899. start:
  11900. description: 真实开始时间
  11901. type: string
  11902. startflag:
  11903. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  11904. type: integer
  11905. starttime:
  11906. description: 起始时间(HH:mm)
  11907. type: string
  11908. startweekday:
  11909. description: 起始周几
  11910. type: integer
  11911. tradeweekday:
  11912. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  11913. type: integer
  11914. type: object
  11915. szdz.QueryConvertLogRsp:
  11916. properties:
  11917. accountid:
  11918. description: 资金账户ID
  11919. type: integer
  11920. clientticket:
  11921. description: 客户端流水号
  11922. type: string
  11923. converttype:
  11924. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  11925. type: integer
  11926. createtime:
  11927. description: 记账时间
  11928. type: string
  11929. daymaxvalue:
  11930. description: 配置当日最大转入限制
  11931. type: number
  11932. daymaxvalue2:
  11933. description: 配置当日最大转入限制(转入)
  11934. type: number
  11935. goodscode:
  11936. description: 商品代码
  11937. type: string
  11938. goodsname:
  11939. description: 商品名称
  11940. type: string
  11941. handlestatus:
  11942. description: 处理状态
  11943. type: integer
  11944. innergoodsid:
  11945. description: 内部商品ID
  11946. type: integer
  11947. inratio:
  11948. description: 配置转入比值
  11949. type: integer
  11950. invalue:
  11951. description: 目标值
  11952. type: number
  11953. logid:
  11954. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11955. type: integer
  11956. mobile:
  11957. description: 手机号码(加密存储)
  11958. type: string
  11959. outergoodscode:
  11960. description: 外部商品代码[JD\PD]
  11961. type: string
  11962. outratio:
  11963. description: 配置转出比值
  11964. type: integer
  11965. outvalue:
  11966. description: 源值
  11967. type: number
  11968. pddecimalplace:
  11969. description: PD小数位
  11970. type: integer
  11971. qty:
  11972. description: 数量
  11973. type: string
  11974. remark:
  11975. description: 备注
  11976. type: string
  11977. sessionid:
  11978. description: 会话ID
  11979. type: integer
  11980. timemaxvalue:
  11981. description: 配置单次最大转入限制
  11982. type: number
  11983. timemaxvalue2:
  11984. description: 配置单次最大转入限制(转入)
  11985. type: number
  11986. timeminvalue:
  11987. description: 配置单次最小数量限制
  11988. type: number
  11989. timeminvalue2:
  11990. description: 配置单次最小数量限制(转入)
  11991. type: number
  11992. tradedate:
  11993. description: 交易日(yyyyMMdd)
  11994. type: string
  11995. userid:
  11996. description: 用户ID
  11997. type: integer
  11998. required:
  11999. - logid
  12000. type: object
  12001. szdz.QueryGoodsPickupRsp:
  12002. properties:
  12003. accountid:
  12004. description: 账户ID
  12005. type: integer
  12006. address:
  12007. description: 提货人详细地址
  12008. type: string
  12009. auditer:
  12010. description: 审核人
  12011. type: integer
  12012. audittime:
  12013. description: 审核时间
  12014. type: string
  12015. cardnum:
  12016. description: 提货人证件号码
  12017. type: string
  12018. cardtypeid:
  12019. description: 提货人证件类型
  12020. type: integer
  12021. checkremark:
  12022. description: 审核备注
  12023. type: string
  12024. goodscode:
  12025. description: 商品代码
  12026. type: string
  12027. goodsid:
  12028. description: 商品ID
  12029. type: integer
  12030. goodsname:
  12031. description: 商品名称
  12032. type: string
  12033. handlestatus:
  12034. description: 处理状态
  12035. type: integer
  12036. marketid:
  12037. description: 市场ID
  12038. type: integer
  12039. phonenum:
  12040. description: 提货人联系方式
  12041. type: string
  12042. qty:
  12043. description: 提货数量
  12044. type: number
  12045. recivername:
  12046. description: 提货人姓名
  12047. type: string
  12048. reqtime:
  12049. description: 更新时间
  12050. type: string
  12051. takemode:
  12052. description: 提货方式 - 2:自提 3:配送
  12053. type: integer
  12054. takeorderid:
  12055. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  12056. type: string
  12057. takeorderstatus:
  12058. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  12059. type: integer
  12060. takeremark:
  12061. description: 提货备注
  12062. type: string
  12063. tradedate:
  12064. description: 交易日(yyyyMMdd)
  12065. type: string
  12066. userid:
  12067. description: 用户ID
  12068. type: integer
  12069. required:
  12070. - takeorderid
  12071. type: object
  12072. szdz.QueryRecieptOrderRsp:
  12073. properties:
  12074. accountName:
  12075. description: 所属账号名称(已脱敏)
  12076. type: string
  12077. accountid:
  12078. description: 资金账号
  12079. type: integer
  12080. buyorsell:
  12081. description: 方向 - 0:买 1:卖
  12082. type: integer
  12083. enableqty:
  12084. description: 可摘数量
  12085. type: integer
  12086. goodscode:
  12087. description: 商品代码
  12088. type: string
  12089. goodsid:
  12090. description: 商品ID
  12091. type: integer
  12092. goodsname:
  12093. description: 商品名称
  12094. type: string
  12095. orderid:
  12096. description: 委托单号
  12097. type: string
  12098. orderprice:
  12099. description: 委托价格
  12100. type: number
  12101. ordertime:
  12102. description: 委托时间
  12103. type: string
  12104. tradedate:
  12105. description: 交易日(yyyyMMdd)
  12106. type: string
  12107. required:
  12108. - ordertime
  12109. type: object
  12110. szdz.QuerySZDZTradePositionRsp:
  12111. properties:
  12112. accountid:
  12113. description: 账号Id
  12114. type: integer
  12115. agreeunit:
  12116. description: 合约单位
  12117. type: number
  12118. averageprice:
  12119. description: 持仓均价
  12120. type: number
  12121. buyorsell:
  12122. description: 方向 - 0:买 1:卖
  12123. type: integer
  12124. closetotalqty:
  12125. description: 平仓总数量
  12126. type: integer
  12127. curholderamount:
  12128. description: 当前持仓总金额
  12129. type: number
  12130. curpositionqty:
  12131. description: 当前持仓总数量
  12132. type: integer
  12133. currencyid:
  12134. description: 报价货币ID
  12135. type: integer
  12136. curtdposition:
  12137. description: 期末今日头寸
  12138. type: integer
  12139. decimalplace:
  12140. description: 报价小数位
  12141. type: integer
  12142. enableqty:
  12143. description: 可用量
  12144. type: integer
  12145. fretdposition:
  12146. description: 冻结今日头寸
  12147. type: integer
  12148. frozenqty:
  12149. description: 持仓冻结数量
  12150. type: integer
  12151. goodscode:
  12152. description: 商品代码(内部)
  12153. type: string
  12154. goodsid:
  12155. description: 商品Id
  12156. type: integer
  12157. goodsname:
  12158. description: 商品名称
  12159. type: string
  12160. goodunit:
  12161. description: 报价单位
  12162. type: string
  12163. goodunitid:
  12164. description: 报价单位ID
  12165. type: integer
  12166. holderamount:
  12167. description: 期初持仓总金额
  12168. type: number
  12169. marketid:
  12170. description: 市场ID
  12171. type: integer
  12172. openreqqty:
  12173. description: 开仓申请数量
  12174. type: integer
  12175. opentotalqty:
  12176. description: 开仓总数量
  12177. type: integer
  12178. otherfrozenqty:
  12179. description: 持仓其他冻结数量(交割冻结)
  12180. type: integer
  12181. positionqty:
  12182. description: 期初持仓数量
  12183. type: integer
  12184. szdz3freezqty:
  12185. description: 尚志大宗转换冻结总数量
  12186. type: integer
  12187. tnqty:
  12188. description: T+N冻结总量
  12189. type: integer
  12190. tnusedqty:
  12191. description: T+N使用量
  12192. type: integer
  12193. trademode:
  12194. description: 交易模式
  12195. type: integer
  12196. usedmargin:
  12197. description: 占用保证金
  12198. type: number
  12199. type: object
  12200. taaccount.QueryAmountLogRsp:
  12201. properties:
  12202. OPERATETYPENAME:
  12203. description: 资金操作类型名称
  12204. type: string
  12205. accountid:
  12206. description: 资金账户ID
  12207. type: integer
  12208. agoodscode:
  12209. description: 竞拍商品代码
  12210. type: string
  12211. agoodsname:
  12212. description: 竞拍商品名称
  12213. type: string
  12214. amount:
  12215. description: 资金金额
  12216. type: number
  12217. amountadjusttype:
  12218. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  12219. type: integer
  12220. autoid:
  12221. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  12222. type: integer
  12223. balance:
  12224. description: 期初余额
  12225. type: number
  12226. businesscode:
  12227. description: 业务编号
  12228. type: integer
  12229. createtime:
  12230. description: 发生时间
  12231. type: string
  12232. currencyid:
  12233. description: 币种ID
  12234. type: integer
  12235. currentbalance:
  12236. description: 期末余额(变动后金额)
  12237. type: number
  12238. dgoodscode:
  12239. description: 交割商品代码
  12240. type: string
  12241. dgoodsname:
  12242. description: 交割商品名称
  12243. type: string
  12244. goodscode:
  12245. description: 商品代码
  12246. type: string
  12247. goodsid:
  12248. description: 商品ID
  12249. type: integer
  12250. goodsname:
  12251. description: 商品名称
  12252. type: string
  12253. marketid:
  12254. description: 市场ID
  12255. type: integer
  12256. marketname:
  12257. description: 市场名称
  12258. type: string
  12259. moneyticket:
  12260. description: 资金流水号:银行端流水号
  12261. type: integer
  12262. operatetype:
  12263. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  12264. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  12265. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  12266. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  12267. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  12268. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  12269. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  12270. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  12271. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  12272. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  12273. type: integer
  12274. relationorderid:
  12275. description: 关联单号
  12276. type: string
  12277. remark:
  12278. description: 备注
  12279. type: string
  12280. trademode:
  12281. description: 交易模式
  12282. type: integer
  12283. required:
  12284. - accountid
  12285. - amount
  12286. - amountadjusttype
  12287. - autoid
  12288. - balance
  12289. - createtime
  12290. - currentbalance
  12291. - operatetype
  12292. type: object
  12293. taaccount.QueryHisAmountLogRsp:
  12294. properties:
  12295. OPERATETYPENAME:
  12296. description: 资金操作类型名称
  12297. type: string
  12298. accountid:
  12299. description: 资金账户ID
  12300. type: integer
  12301. agoodscode:
  12302. description: 竞拍商品代码
  12303. type: string
  12304. agoodsname:
  12305. description: 竞拍商品名称
  12306. type: string
  12307. amount:
  12308. description: 资金金额
  12309. type: number
  12310. amountadjusttype:
  12311. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  12312. type: integer
  12313. autoid:
  12314. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  12315. type: integer
  12316. balance:
  12317. description: 期初余额
  12318. type: number
  12319. businesscode:
  12320. description: 业务编号
  12321. type: integer
  12322. createtime:
  12323. description: 发生时间
  12324. type: string
  12325. currencyid:
  12326. description: 币种ID
  12327. type: integer
  12328. currentbalance:
  12329. description: 期末余额(变动后金额)
  12330. type: number
  12331. dgoodscode:
  12332. description: 交割商品代码
  12333. type: string
  12334. dgoodsname:
  12335. description: 交割商品名称
  12336. type: string
  12337. goodscode:
  12338. description: 商品代码
  12339. type: string
  12340. goodsid:
  12341. description: 商品ID
  12342. type: integer
  12343. goodsname:
  12344. description: 商品名称
  12345. type: string
  12346. histradedate:
  12347. description: 历史交易日
  12348. type: string
  12349. isvaliddata:
  12350. description: 是否有效 - 0:无效 1:有效
  12351. type: integer
  12352. marketid:
  12353. description: 市场ID
  12354. type: integer
  12355. marketname:
  12356. description: 市场名称
  12357. type: string
  12358. moneyticket:
  12359. description: 资金流水号:银行端流水号
  12360. type: integer
  12361. operatetype:
  12362. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  12363. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  12364. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  12365. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  12366. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  12367. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  12368. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  12369. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  12370. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  12371. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  12372. type: integer
  12373. relationorderid:
  12374. description: 关联单号
  12375. type: string
  12376. remark:
  12377. description: 备注
  12378. type: string
  12379. trademode:
  12380. description: 交易模式
  12381. type: integer
  12382. required:
  12383. - accountid
  12384. - amount
  12385. - amountadjusttype
  12386. - autoid
  12387. - balance
  12388. - createtime
  12389. - currentbalance
  12390. - histradedate
  12391. - operatetype
  12392. type: object
  12393. trade.QueryRecieptOrderRsp:
  12394. properties:
  12395. accountName:
  12396. description: 所属账号名称(已脱敏)
  12397. type: string
  12398. accountid:
  12399. description: 资金账号
  12400. type: integer
  12401. buyorsell:
  12402. description: 方向 - 0:买 1:卖
  12403. type: integer
  12404. enableqty:
  12405. description: 可摘数量
  12406. type: integer
  12407. goodscode:
  12408. description: 商品代码
  12409. type: string
  12410. goodsid:
  12411. description: 商品ID
  12412. type: integer
  12413. goodsname:
  12414. description: 商品名称
  12415. type: string
  12416. orderid:
  12417. description: 委托单号
  12418. type: string
  12419. orderprice:
  12420. description: 委托价格
  12421. type: number
  12422. ordertime:
  12423. description: 委托时间
  12424. type: string
  12425. tradedate:
  12426. description: 交易日(yyyyMMdd)
  12427. type: string
  12428. required:
  12429. - ordertime
  12430. type: object
  12431. user.LoginQueryRsp:
  12432. properties:
  12433. externalExchanges:
  12434. description: 外部交易所
  12435. items:
  12436. $ref: '#/definitions/models.Externalexchange'
  12437. type: array
  12438. goodsgroups:
  12439. description: 商品组
  12440. items:
  12441. $ref: '#/definitions/models.Goodsgroup'
  12442. type: array
  12443. loginAccount:
  12444. $ref: '#/definitions/models.Loginaccount'
  12445. description: 登录账号
  12446. type: object
  12447. markets:
  12448. description: 市场
  12449. items:
  12450. $ref: '#/definitions/models.Market'
  12451. type: array
  12452. systemParams:
  12453. description: 系统参数
  12454. items:
  12455. $ref: '#/definitions/models.Systemparam'
  12456. type: array
  12457. userAccount:
  12458. $ref: '#/definitions/models.Useraccount'
  12459. description: 用户账号
  12460. type: object
  12461. userInfo:
  12462. $ref: '#/definitions/models.Userinfo'
  12463. description: 用户信息
  12464. type: object
  12465. username:
  12466. description: 用户姓名
  12467. type: string
  12468. type: object
  12469. info:
  12470. contact: {}
  12471. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  12472. license: {}
  12473. termsOfService: http://muchinfo.cn
  12474. title: MTP2.0 查询服务 API
  12475. version: "1.0"
  12476. paths:
  12477. /CPTrade/QueryCPTradeMyBidInfos:
  12478. get:
  12479. parameters:
  12480. - description: 资金账户
  12481. in: query
  12482. name: accountid
  12483. required: true
  12484. type: integer
  12485. - description: 预售市场ID
  12486. in: query
  12487. name: marketid
  12488. type: integer
  12489. - description: 预售商品ID
  12490. in: query
  12491. name: goodsid
  12492. type: integer
  12493. produces:
  12494. - application/json
  12495. responses:
  12496. "200":
  12497. description: OK
  12498. schema:
  12499. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  12500. "500":
  12501. description: Internal Server Error
  12502. schema:
  12503. $ref: '#/definitions/app.Response'
  12504. security:
  12505. - ApiKeyAuth: []
  12506. summary: 查询产能预售我的出价信息
  12507. tags:
  12508. - 产能预售
  12509. /CPTrade/QueryCPTradeOrderDetail:
  12510. get:
  12511. parameters:
  12512. - description: 预售商品ID
  12513. in: query
  12514. name: goodsid
  12515. type: integer
  12516. - description: 预售市场ID
  12517. in: query
  12518. name: marketid
  12519. type: integer
  12520. - description: 预售商品ID列表 - 格式:1,2,3
  12521. in: query
  12522. name: goodsids
  12523. type: string
  12524. produces:
  12525. - application/json
  12526. responses:
  12527. "200":
  12528. description: OK
  12529. schema:
  12530. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  12531. "500":
  12532. description: Internal Server Error
  12533. schema:
  12534. $ref: '#/definitions/app.Response'
  12535. security:
  12536. - ApiKeyAuth: []
  12537. summary: 查询产能预售委托单信息
  12538. tags:
  12539. - 产能预售
  12540. /CPTrade/QueryMyCPTradeGoods:
  12541. get:
  12542. parameters:
  12543. - description: 资金账户
  12544. in: query
  12545. name: accountid
  12546. required: true
  12547. type: integer
  12548. produces:
  12549. - application/json
  12550. responses:
  12551. "200":
  12552. description: OK
  12553. schema:
  12554. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  12555. "500":
  12556. description: Internal Server Error
  12557. schema:
  12558. $ref: '#/definitions/app.Response'
  12559. security:
  12560. - ApiKeyAuth: []
  12561. summary: 查询我的预售信息
  12562. tags:
  12563. - 产能预售
  12564. /CPTrade/QueryPositionCancel:
  12565. get:
  12566. parameters:
  12567. - description: 账户ID
  12568. in: query
  12569. name: userid
  12570. required: true
  12571. type: integer
  12572. - description: 注销ID
  12573. in: query
  12574. name: cancelid
  12575. type: integer
  12576. - description: 资金账户ID
  12577. in: query
  12578. name: accountid
  12579. type: integer
  12580. produces:
  12581. - application/json
  12582. responses:
  12583. "200":
  12584. description: OK
  12585. schema:
  12586. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  12587. "500":
  12588. description: Internal Server Error
  12589. schema:
  12590. $ref: '#/definitions/app.Response'
  12591. security:
  12592. - ApiKeyAuth: []
  12593. summary: 查询远期订单注销申请信息
  12594. tags:
  12595. - 产能预售
  12596. /CPTrade/QueryPreasleApply:
  12597. get:
  12598. parameters:
  12599. - description: 账户ID
  12600. in: query
  12601. name: userid
  12602. required: true
  12603. type: integer
  12604. - description: 申请ID
  12605. in: query
  12606. name: applyid
  12607. type: integer
  12608. - description: 资金账户ID
  12609. in: query
  12610. name: accountid
  12611. type: integer
  12612. produces:
  12613. - application/json
  12614. responses:
  12615. "200":
  12616. description: OK
  12617. schema:
  12618. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  12619. "500":
  12620. description: Internal Server Error
  12621. schema:
  12622. $ref: '#/definitions/app.Response'
  12623. security:
  12624. - ApiKeyAuth: []
  12625. summary: 查询产能预售申请信息
  12626. tags:
  12627. - 产能预售
  12628. /CPTrade/QueryPresaleGoodsEx:
  12629. get:
  12630. parameters:
  12631. - description: 预售商品ID
  12632. in: query
  12633. name: goodsid
  12634. type: integer
  12635. - description: 预售市场ID
  12636. in: query
  12637. name: marketid
  12638. type: integer
  12639. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  12640. in: query
  12641. name: presalemode
  12642. type: integer
  12643. - description: 预售商品ID列表 - 格式:1,2,3
  12644. in: query
  12645. name: goodsids
  12646. type: string
  12647. - description: 预售商品代码
  12648. in: query
  12649. name: goodscode
  12650. type: string
  12651. produces:
  12652. - application/json
  12653. responses:
  12654. "200":
  12655. description: OK
  12656. schema:
  12657. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  12658. "500":
  12659. description: Internal Server Error
  12660. schema:
  12661. $ref: '#/definitions/app.Response'
  12662. security:
  12663. - ApiKeyAuth: []
  12664. summary: 查询产能预售商品扩展信息
  12665. tags:
  12666. - 产能预售
  12667. /CPTrade/QueryUserGoodsData:
  12668. get:
  12669. parameters:
  12670. - description: 资金账户ID
  12671. in: query
  12672. name: accountid
  12673. required: true
  12674. type: integer
  12675. produces:
  12676. - application/json
  12677. responses:
  12678. "200":
  12679. description: OK
  12680. schema:
  12681. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  12682. "500":
  12683. description: Internal Server Error
  12684. schema:
  12685. $ref: '#/definitions/app.Response'
  12686. security:
  12687. - ApiKeyAuth: []
  12688. summary: 查询远期订单信息
  12689. tags:
  12690. - 产能预售
  12691. /Common/GetAllEnums:
  12692. get:
  12693. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  12694. parameters:
  12695. - description: 起始自增ID
  12696. in: query
  12697. name: autoid
  12698. type: integer
  12699. produces:
  12700. - application/json
  12701. responses:
  12702. "200":
  12703. description: OK
  12704. schema:
  12705. $ref: '#/definitions/models.Enumdicitem'
  12706. "500":
  12707. description: Internal Server Error
  12708. schema:
  12709. $ref: '#/definitions/app.Response'
  12710. summary: 获取所有枚举信息
  12711. tags:
  12712. - 通用服务
  12713. /Common/GetClientMenus:
  12714. get:
  12715. parameters:
  12716. - description: 登录账号
  12717. in: query
  12718. name: loginID
  12719. required: true
  12720. type: integer
  12721. - description: 终端类型,0:PC 1:Mobile
  12722. in: query
  12723. name: clientType
  12724. type: integer
  12725. produces:
  12726. - application/json
  12727. responses:
  12728. "200":
  12729. description: OK
  12730. schema:
  12731. items:
  12732. $ref: '#/definitions/common.ClientMenu'
  12733. type: array
  12734. "500":
  12735. description: Internal Server Error
  12736. schema:
  12737. $ref: '#/definitions/app.Response'
  12738. security:
  12739. - ApiKeyAuth: []
  12740. summary: 获取交易端菜单
  12741. tags:
  12742. - 通用服务
  12743. /Common/GetDivisions:
  12744. get:
  12745. produces:
  12746. - application/json
  12747. responses:
  12748. "200":
  12749. description: OK
  12750. schema:
  12751. $ref: '#/definitions/models.Division'
  12752. "500":
  12753. description: Internal Server Error
  12754. schema:
  12755. $ref: '#/definitions/app.Response'
  12756. summary: 查询区域信息
  12757. tags:
  12758. - 通用服务
  12759. /Common/GetServerTime:
  12760. get:
  12761. produces:
  12762. - application/json
  12763. responses:
  12764. "200":
  12765. description: OK
  12766. schema:
  12767. $ref: '#/definitions/app.Response'
  12768. "500":
  12769. description: Internal Server Error
  12770. schema:
  12771. $ref: '#/definitions/app.Response'
  12772. summary: 获取服务器时间
  12773. tags:
  12774. - 通用服务
  12775. /Common/NoticeReaded:
  12776. post:
  12777. parameters:
  12778. - description: 登录账号
  12779. in: query
  12780. name: loginID
  12781. required: true
  12782. type: integer
  12783. - description: 通知公告ID
  12784. in: query
  12785. name: noticeID
  12786. required: true
  12787. type: integer
  12788. produces:
  12789. - application/json
  12790. responses:
  12791. "200":
  12792. description: OK
  12793. schema:
  12794. $ref: '#/definitions/app.Response'
  12795. "500":
  12796. description: Internal Server Error
  12797. schema:
  12798. $ref: '#/definitions/app.Response'
  12799. security:
  12800. - ApiKeyAuth: []
  12801. summary: 通知公告设置已读请求
  12802. tags:
  12803. - 通用服务
  12804. /Common/QueryErrorInfos:
  12805. get:
  12806. description: 如果传入rowNumber,则返回此rowNumber后的数据
  12807. parameters:
  12808. - description: 起始行号前索引
  12809. in: query
  12810. name: rowNumber
  12811. type: string
  12812. produces:
  12813. - application/json
  12814. responses:
  12815. "200":
  12816. description: OK
  12817. schema:
  12818. $ref: '#/definitions/models.QueryErrorInfosRsp'
  12819. "500":
  12820. description: Internal Server Error
  12821. schema:
  12822. $ref: '#/definitions/app.Response'
  12823. summary: 获取数据库错误信息
  12824. tags:
  12825. - 通用服务
  12826. /Common/QueryImageConfigs:
  12827. get:
  12828. parameters:
  12829. - description: 类型 - 1:App首页轮播 2:我的
  12830. in: query
  12831. name: imageType
  12832. type: integer
  12833. produces:
  12834. - application/json
  12835. responses:
  12836. "200":
  12837. description: OK
  12838. schema:
  12839. $ref: '#/definitions/common.QueryImageConfigsRsp'
  12840. "500":
  12841. description: Internal Server Error
  12842. schema:
  12843. $ref: '#/definitions/app.Response'
  12844. summary: 查询轮播图配置信息
  12845. tags:
  12846. - 通用服务
  12847. /Common/QueryNotice:
  12848. get:
  12849. parameters:
  12850. - description: 页码
  12851. in: query
  12852. name: page
  12853. type: integer
  12854. - description: 每页条数
  12855. in: query
  12856. name: pagesize
  12857. type: integer
  12858. - description: 登录账号
  12859. in: query
  12860. name: loginID
  12861. required: true
  12862. type: integer
  12863. - description: 消息类型 - 1:公告通知 2:系统消息
  12864. in: query
  12865. name: msgType
  12866. type: integer
  12867. - description: 是否只获取未读信息
  12868. in: query
  12869. name: onlyUnRead
  12870. type: boolean
  12871. - description: 自增ID,传入后会返回这个ID后面的记录
  12872. in: query
  12873. name: lastID
  12874. type: integer
  12875. produces:
  12876. - application/json
  12877. responses:
  12878. "200":
  12879. description: OK
  12880. schema:
  12881. $ref: '#/definitions/common.QueryNoticeRsp'
  12882. "500":
  12883. description: Internal Server Error
  12884. schema:
  12885. $ref: '#/definitions/app.Response'
  12886. security:
  12887. - ApiKeyAuth: []
  12888. summary: 通知公告系统消息查询
  12889. tags:
  12890. - 通用服务
  12891. /Common/QueryProvincesAndCities:
  12892. get:
  12893. parameters:
  12894. - description: 省ID
  12895. in: query
  12896. name: provinceID
  12897. type: integer
  12898. produces:
  12899. - application/json
  12900. responses:
  12901. "200":
  12902. description: OK
  12903. schema:
  12904. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  12905. "500":
  12906. description: Internal Server Error
  12907. schema:
  12908. $ref: '#/definitions/app.Response'
  12909. summary: 查询省市信息(不包括区)
  12910. tags:
  12911. - 通用服务
  12912. /Common/QueryTableDefine:
  12913. get:
  12914. parameters:
  12915. - description: 表key
  12916. in: query
  12917. name: tableKey
  12918. type: string
  12919. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  12920. in: query
  12921. name: tableType
  12922. type: integer
  12923. produces:
  12924. - application/json
  12925. responses:
  12926. "200":
  12927. description: OK
  12928. schema:
  12929. $ref: '#/definitions/common.QueryTableDefineRsp'
  12930. "500":
  12931. description: Internal Server Error
  12932. schema:
  12933. $ref: '#/definitions/app.Response'
  12934. summary: 查询交易端列表头信息
  12935. tags:
  12936. - 通用服务
  12937. /Common/QueryTraderMenu:
  12938. get:
  12939. parameters:
  12940. - description: 登录账号
  12941. in: query
  12942. name: loginid
  12943. required: true
  12944. type: integer
  12945. produces:
  12946. - application/json
  12947. responses:
  12948. "200":
  12949. description: OK
  12950. schema:
  12951. $ref: '#/definitions/common.QueryTraderMenuRsp'
  12952. "500":
  12953. description: Internal Server Error
  12954. schema:
  12955. $ref: '#/definitions/app.Response'
  12956. summary: 查询交易端菜单
  12957. tags:
  12958. - 通用服务
  12959. /Delivery/QueryDeliveryRelation:
  12960. get:
  12961. parameters:
  12962. - description: 商品ID
  12963. in: query
  12964. name: goodsid
  12965. type: integer
  12966. - description: 品种ID
  12967. in: query
  12968. name: deliverygoodsid
  12969. type: integer
  12970. - description: 市场ID
  12971. in: query
  12972. name: marketid
  12973. type: integer
  12974. produces:
  12975. - application/json
  12976. responses:
  12977. "200":
  12978. description: OK
  12979. schema:
  12980. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  12981. "500":
  12982. description: Internal Server Error
  12983. schema:
  12984. $ref: '#/definitions/app.Response'
  12985. security:
  12986. - ApiKeyAuth: []
  12987. summary: 查询商品交割关系表
  12988. tags:
  12989. - 交割服务
  12990. /Ermcp/GetErmcpGoods:
  12991. get:
  12992. parameters:
  12993. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  12994. in: query
  12995. name: lastUpdateTime
  12996. type: string
  12997. produces:
  12998. - application/json
  12999. responses:
  13000. "200":
  13001. description: OK
  13002. schema:
  13003. $ref: '#/definitions/models.Goods'
  13004. "500":
  13005. description: Internal Server Error
  13006. schema:
  13007. $ref: '#/definitions/app.Response'
  13008. security:
  13009. - ApiKeyAuth: []
  13010. summary: 查询企业风管期货商品信息
  13011. tags:
  13012. - 企业风险管理(app)
  13013. /Ermcp/GetErmcpGoodsSortByPosition:
  13014. get:
  13015. parameters:
  13016. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  13017. in: query
  13018. name: sortIndex
  13019. type: string
  13020. produces:
  13021. - application/json
  13022. responses:
  13023. "200":
  13024. description: OK
  13025. schema:
  13026. $ref: '#/definitions/models.Goodssortbypreposition'
  13027. "500":
  13028. description: Internal Server Error
  13029. schema:
  13030. $ref: '#/definitions/app.Response'
  13031. security:
  13032. - ApiKeyAuth: []
  13033. summary: 查询企业风管期货主力、次主力商品信息
  13034. tags:
  13035. - 企业风险管理(app)
  13036. /Ermcp/GetErmcpOutAccountStatus:
  13037. get:
  13038. parameters:
  13039. - description: 登录账号
  13040. in: query
  13041. name: loginID
  13042. required: true
  13043. type: integer
  13044. produces:
  13045. - application/json
  13046. responses:
  13047. "200":
  13048. description: OK
  13049. schema:
  13050. $ref: '#/definitions/models.Hedgemarketopenlog'
  13051. "500":
  13052. description: Internal Server Error
  13053. schema:
  13054. $ref: '#/definitions/app.Response'
  13055. security:
  13056. - ApiKeyAuth: []
  13057. summary: 获取目标登录账号当前对冲账号在线状态
  13058. tags:
  13059. - 企业风险管理(app)
  13060. /Ermcp/GetErmcpRoleFuncMenuLists:
  13061. get:
  13062. parameters:
  13063. - description: 登录账号
  13064. in: query
  13065. name: loginID
  13066. required: true
  13067. type: integer
  13068. produces:
  13069. - application/json
  13070. responses:
  13071. "200":
  13072. description: OK
  13073. schema:
  13074. $ref: '#/definitions/models.Funcmenulist'
  13075. "500":
  13076. description: Internal Server Error
  13077. schema:
  13078. $ref: '#/definitions/app.Response'
  13079. security:
  13080. - ApiKeyAuth: []
  13081. summary: 获取企业风管终端权限
  13082. tags:
  13083. - 企业风险管理(app)
  13084. /Ermcp/QryReportAreaSpotPL:
  13085. get:
  13086. parameters:
  13087. - description: 用户ID
  13088. in: query
  13089. name: userid
  13090. required: true
  13091. type: integer
  13092. - description: 查询类型 1-日报表 2-月报表
  13093. in: query
  13094. name: querytype
  13095. required: true
  13096. type: integer
  13097. - description: 查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)
  13098. in: query
  13099. name: querydate
  13100. required: true
  13101. type: string
  13102. - description: 现货商品ID
  13103. in: query
  13104. name: wrstandardid
  13105. type: integer
  13106. - description: 品牌ID
  13107. in: query
  13108. name: spotgoodsbrandid
  13109. type: integer
  13110. - description: 型号ID
  13111. in: query
  13112. name: spotgoodsmodelid
  13113. type: integer
  13114. produces:
  13115. - application/json
  13116. responses:
  13117. "200":
  13118. description: OK
  13119. schema:
  13120. items:
  13121. $ref: '#/definitions/models.ErmcpReportAreaSpotPL'
  13122. type: array
  13123. "500":
  13124. description: Internal Server Error
  13125. schema:
  13126. $ref: '#/definitions/app.Response'
  13127. security:
  13128. - ApiKeyAuth: []
  13129. summary: 查询现货损益报表(现货损益报表)
  13130. tags:
  13131. - 企业风险管理(app)
  13132. /Ermcp/QryReportDayExposure:
  13133. get:
  13134. parameters:
  13135. - description: 用户ID
  13136. in: query
  13137. name: userid
  13138. required: true
  13139. type: integer
  13140. - description: 交易日(格式:yyyyMMdd)
  13141. in: query
  13142. name: tradedate
  13143. required: true
  13144. type: string
  13145. produces:
  13146. - application/json
  13147. responses:
  13148. "200":
  13149. description: OK
  13150. schema:
  13151. items:
  13152. $ref: '#/definitions/ermcp.QryReportExposureDayRsp'
  13153. type: array
  13154. "500":
  13155. description: Internal Server Error
  13156. schema:
  13157. $ref: '#/definitions/app.Response'
  13158. security:
  13159. - ApiKeyAuth: []
  13160. summary: 查询敞口日报表(菜单:报表查询/敞口报表/敞口日报表)
  13161. tags:
  13162. - 企业风险管理(app)
  13163. /Ermcp/QryReportDayFinance:
  13164. get:
  13165. parameters:
  13166. - description: 用户ID
  13167. in: query
  13168. name: userid
  13169. required: true
  13170. type: integer
  13171. - description: 交易日(格式:yyyyMMdd)
  13172. in: query
  13173. name: tradedate
  13174. required: true
  13175. type: string
  13176. produces:
  13177. - application/json
  13178. responses:
  13179. "200":
  13180. description: OK
  13181. schema:
  13182. items:
  13183. $ref: '#/definitions/ermcp.QryReportFinanceDayRsp'
  13184. type: array
  13185. "500":
  13186. description: Internal Server Error
  13187. schema:
  13188. $ref: '#/definitions/app.Response'
  13189. security:
  13190. - ApiKeyAuth: []
  13191. summary: 查询财务日报表(菜单:报表查询/财务报表/日报表)
  13192. tags:
  13193. - 企业风险管理(app)
  13194. /Ermcp/QryReportDayFinanceFp:
  13195. get:
  13196. parameters:
  13197. - description: 用户ID
  13198. in: query
  13199. name: userid
  13200. required: true
  13201. type: integer
  13202. - description: 交易日(格式:yyyyMMdd)
  13203. in: query
  13204. name: tradedate
  13205. required: true
  13206. type: string
  13207. produces:
  13208. - application/json
  13209. responses:
  13210. "200":
  13211. description: OK
  13212. schema:
  13213. items:
  13214. $ref: '#/definitions/ermcp.QryReportFinanceKxRsp'
  13215. type: array
  13216. "500":
  13217. description: Internal Server Error
  13218. schema:
  13219. $ref: '#/definitions/app.Response'
  13220. security:
  13221. - ApiKeyAuth: []
  13222. summary: 查询财务日报表发票(菜单:报表查询/财务报表/日报表/发票)
  13223. tags:
  13224. - 企业风险管理(app)
  13225. /Ermcp/QryReportDayFinanceKx:
  13226. get:
  13227. parameters:
  13228. - description: 用户ID
  13229. in: query
  13230. name: userid
  13231. required: true
  13232. type: integer
  13233. - description: 交易日(格式:yyyyMMdd)
  13234. in: query
  13235. name: tradedate
  13236. required: true
  13237. type: string
  13238. produces:
  13239. - application/json
  13240. responses:
  13241. "200":
  13242. description: OK
  13243. schema:
  13244. items:
  13245. $ref: '#/definitions/ermcp.QryReportFinanceKxRsp'
  13246. type: array
  13247. "500":
  13248. description: Internal Server Error
  13249. schema:
  13250. $ref: '#/definitions/app.Response'
  13251. security:
  13252. - ApiKeyAuth: []
  13253. summary: 查询财务日报表款项(菜单:报表查询/财务报表/日报表/款项)
  13254. tags:
  13255. - 企业风险管理(app)
  13256. /Ermcp/QryReportDaySpot:
  13257. get:
  13258. parameters:
  13259. - description: 用户ID
  13260. in: query
  13261. name: userid
  13262. required: true
  13263. type: integer
  13264. - description: 交易日(格式:yyyyMMdd)
  13265. in: query
  13266. name: tradedate
  13267. required: true
  13268. type: string
  13269. produces:
  13270. - application/json
  13271. responses:
  13272. "200":
  13273. description: OK
  13274. schema:
  13275. items:
  13276. $ref: '#/definitions/ermcp.QryReportSpotDayRsp'
  13277. type: array
  13278. "500":
  13279. description: Internal Server Error
  13280. schema:
  13281. $ref: '#/definitions/app.Response'
  13282. security:
  13283. - ApiKeyAuth: []
  13284. summary: 查询现货日报表(菜单:报表查询/现货报表/现货日报表)
  13285. tags:
  13286. - 企业风险管理(app)
  13287. /Ermcp/QryReportDaySpotDetail:
  13288. get:
  13289. parameters:
  13290. - description: 用户ID
  13291. in: query
  13292. name: userid
  13293. required: true
  13294. type: integer
  13295. - description: 现货商品id
  13296. in: query
  13297. name: wrstandardid
  13298. required: true
  13299. type: integer
  13300. - description: 交易日(格式:yyyyMMdd)
  13301. in: query
  13302. name: tradedate
  13303. required: true
  13304. type: string
  13305. produces:
  13306. - application/json
  13307. responses:
  13308. "200":
  13309. description: OK
  13310. schema:
  13311. items:
  13312. $ref: '#/definitions/ermcp.QryReportDaySpotDetailRsp'
  13313. type: array
  13314. "500":
  13315. description: Internal Server Error
  13316. schema:
  13317. $ref: '#/definitions/app.Response'
  13318. security:
  13319. - ApiKeyAuth: []
  13320. summary: 查询现货日报表详情(菜单:报表查询/现货报表/现货日报表详情)
  13321. tags:
  13322. - 企业风险管理(app)
  13323. /Ermcp/QryReportMonthFinance:
  13324. get:
  13325. parameters:
  13326. - description: 用户ID
  13327. in: query
  13328. name: userid
  13329. required: true
  13330. type: integer
  13331. - description: 周期时间:月(格式:yyyyMM)
  13332. in: query
  13333. name: cycletime
  13334. required: true
  13335. type: string
  13336. produces:
  13337. - application/json
  13338. responses:
  13339. "200":
  13340. description: OK
  13341. schema:
  13342. items:
  13343. $ref: '#/definitions/ermcp.QryReportFinanceMonRsp'
  13344. type: array
  13345. "500":
  13346. description: Internal Server Error
  13347. schema:
  13348. $ref: '#/definitions/app.Response'
  13349. security:
  13350. - ApiKeyAuth: []
  13351. summary: 查询财务月报表(菜单:报表查询/财务报表/月报表)
  13352. tags:
  13353. - 企业风险管理(app)
  13354. /Ermcp/QryReportMonthSpot:
  13355. get:
  13356. parameters:
  13357. - description: 用户ID
  13358. in: query
  13359. name: userid
  13360. required: true
  13361. type: integer
  13362. - description: 周期时间:月(格式:yyyyMM)
  13363. in: query
  13364. name: cycletime
  13365. required: true
  13366. type: string
  13367. produces:
  13368. - application/json
  13369. responses:
  13370. "200":
  13371. description: OK
  13372. schema:
  13373. items:
  13374. $ref: '#/definitions/ermcp.QryReportSpotMonRsp'
  13375. type: array
  13376. "500":
  13377. description: Internal Server Error
  13378. schema:
  13379. $ref: '#/definitions/app.Response'
  13380. security:
  13381. - ApiKeyAuth: []
  13382. summary: 查询现货月报表(菜单:报表查询/现货报表/现货月报表)
  13383. tags:
  13384. - 企业风险管理(app)
  13385. /Ermcp/QryReportMonthSpotDetail:
  13386. get:
  13387. parameters:
  13388. - description: 用户ID
  13389. in: query
  13390. name: userid
  13391. required: true
  13392. type: integer
  13393. - description: 现货商品id
  13394. in: query
  13395. name: wrstandardid
  13396. required: true
  13397. type: integer
  13398. - description: 周期时间:月(格式:yyyyMM)
  13399. in: query
  13400. name: cycletime
  13401. required: true
  13402. type: string
  13403. produces:
  13404. - application/json
  13405. responses:
  13406. "200":
  13407. description: OK
  13408. schema:
  13409. items:
  13410. $ref: '#/definitions/ermcp.QryReportSpotMonthDetailRsp'
  13411. type: array
  13412. "500":
  13413. description: Internal Server Error
  13414. schema:
  13415. $ref: '#/definitions/app.Response'
  13416. security:
  13417. - ApiKeyAuth: []
  13418. summary: 查询现货月报表详情(菜单:报表查询/现货月报表/现货月报表详情)
  13419. tags:
  13420. - 企业风险管理(app)
  13421. /Ermcp/QueryAccMgrBizGroupSet:
  13422. get:
  13423. parameters:
  13424. - description: 用户ID
  13425. in: query
  13426. name: userid
  13427. required: true
  13428. type: integer
  13429. - description: 现货商品id
  13430. in: query
  13431. name: deliverygoodsid
  13432. type: integer
  13433. produces:
  13434. - application/json
  13435. responses:
  13436. "200":
  13437. description: OK
  13438. schema:
  13439. items:
  13440. $ref: '#/definitions/models.ErmcpBizGroupEx'
  13441. type: array
  13442. "500":
  13443. description: Internal Server Error
  13444. schema:
  13445. $ref: '#/definitions/app.Response'
  13446. security:
  13447. - ApiKeyAuth: []
  13448. summary: 查询业务类型分组(账户管理/账户设置)
  13449. tags:
  13450. - 企业风险管理(app)
  13451. /Ermcp/QueryAccMgrLoginUser:
  13452. get:
  13453. parameters:
  13454. - description: 用户ID
  13455. in: query
  13456. name: userid
  13457. required: true
  13458. type: integer
  13459. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  13460. in: query
  13461. name: querytype
  13462. required: true
  13463. type: integer
  13464. produces:
  13465. - application/json
  13466. responses:
  13467. "200":
  13468. description: OK
  13469. schema:
  13470. items:
  13471. $ref: '#/definitions/models.ErmcpLoginUserEx'
  13472. type: array
  13473. "500":
  13474. description: Internal Server Error
  13475. schema:
  13476. $ref: '#/definitions/app.Response'
  13477. security:
  13478. - ApiKeyAuth: []
  13479. summary: 查询账户管理登录账号(账户管理/登录账号)
  13480. tags:
  13481. - 企业风险管理(app)
  13482. /Ermcp/QueryAccMgrMainAccountInfo:
  13483. get:
  13484. parameters:
  13485. - description: 用户ID
  13486. in: query
  13487. name: userid
  13488. type: integer
  13489. - description: 主账号id
  13490. in: query
  13491. name: accountid
  13492. type: integer
  13493. produces:
  13494. - application/json
  13495. responses:
  13496. "200":
  13497. description: OK
  13498. schema:
  13499. items:
  13500. $ref: '#/definitions/models.MainAccountInfo'
  13501. type: array
  13502. "500":
  13503. description: Internal Server Error
  13504. schema:
  13505. $ref: '#/definitions/app.Response'
  13506. security:
  13507. - ApiKeyAuth: []
  13508. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  13509. tags:
  13510. - 企业风险管理(app)
  13511. /Ermcp/QueryAccMgrRole:
  13512. get:
  13513. parameters:
  13514. - description: 用户ID
  13515. in: query
  13516. name: userid
  13517. required: true
  13518. type: integer
  13519. produces:
  13520. - application/json
  13521. responses:
  13522. "200":
  13523. description: OK
  13524. schema:
  13525. items:
  13526. $ref: '#/definitions/models.ErmcpRole'
  13527. type: array
  13528. "500":
  13529. description: Internal Server Error
  13530. schema:
  13531. $ref: '#/definitions/app.Response'
  13532. security:
  13533. - ApiKeyAuth: []
  13534. summary: 查询账户管理角色设置(账户管理/角色设置)
  13535. tags:
  13536. - 企业风险管理(app)
  13537. /Ermcp/QueryAccMgrRoleMenu:
  13538. get:
  13539. parameters:
  13540. - description: 用户ID
  13541. in: query
  13542. name: userid
  13543. required: true
  13544. type: integer
  13545. - description: 角色id(可多个,逗号隔开)
  13546. in: query
  13547. name: roleid
  13548. type: string
  13549. produces:
  13550. - application/json
  13551. responses:
  13552. "200":
  13553. description: OK
  13554. schema:
  13555. items:
  13556. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  13557. type: array
  13558. "500":
  13559. description: Internal Server Error
  13560. schema:
  13561. $ref: '#/definitions/app.Response'
  13562. security:
  13563. - ApiKeyAuth: []
  13564. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  13565. tags:
  13566. - 企业风险管理(app)
  13567. /Ermcp/QueryAccMgrTaAccountInfo:
  13568. get:
  13569. parameters:
  13570. - description: 用户ID
  13571. in: query
  13572. name: userid
  13573. required: true
  13574. type: integer
  13575. - description: 账号id
  13576. in: query
  13577. name: accountid
  13578. type: integer
  13579. produces:
  13580. - application/json
  13581. responses:
  13582. "200":
  13583. description: OK
  13584. schema:
  13585. items:
  13586. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  13587. type: array
  13588. "500":
  13589. description: Internal Server Error
  13590. schema:
  13591. $ref: '#/definitions/app.Response'
  13592. security:
  13593. - ApiKeyAuth: []
  13594. summary: 查询账户管理授信(账户管理/账户设置/授信)
  13595. tags:
  13596. - 企业风险管理(app)
  13597. /Ermcp/QueryAccMgrTaaccount:
  13598. get:
  13599. parameters:
  13600. - description: 用户ID
  13601. in: query
  13602. name: userid
  13603. required: true
  13604. type: integer
  13605. produces:
  13606. - application/json
  13607. responses:
  13608. "200":
  13609. description: OK
  13610. schema:
  13611. items:
  13612. $ref: '#/definitions/models.ErmcpTaAccountEx'
  13613. type: array
  13614. "500":
  13615. description: Internal Server Error
  13616. schema:
  13617. $ref: '#/definitions/app.Response'
  13618. security:
  13619. - ApiKeyAuth: []
  13620. summary: 查询账户管理期货账号(账户管理/期货账号)
  13621. tags:
  13622. - 企业风险管理(app)
  13623. /Ermcp/QueryAreaStock:
  13624. get:
  13625. parameters:
  13626. - description: 用户ID
  13627. in: query
  13628. name: userid
  13629. required: true
  13630. type: integer
  13631. produces:
  13632. - application/json
  13633. responses:
  13634. "200":
  13635. description: OK
  13636. schema:
  13637. items:
  13638. $ref: '#/definitions/models.ErmcpAreaStock'
  13639. type: array
  13640. "500":
  13641. description: Internal Server Error
  13642. schema:
  13643. $ref: '#/definitions/app.Response'
  13644. security:
  13645. - ApiKeyAuth: []
  13646. summary: 查询机构库存(库存管理/当前库存)
  13647. tags:
  13648. - 企业风险管理(app)
  13649. /Ermcp/QueryAreaStockApply:
  13650. get:
  13651. parameters:
  13652. - description: 用户ID
  13653. in: query
  13654. name: userid
  13655. required: true
  13656. type: integer
  13657. - description: 出入库类型(可多项,逗号隔开) 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  13658. in: query
  13659. name: inouttype
  13660. type: string
  13661. - description: 合同ID
  13662. in: query
  13663. name: spotcontractid
  13664. type: integer
  13665. - description: 现货商品ID
  13666. in: query
  13667. name: wrstandardid
  13668. type: integer
  13669. - description: 品牌ID
  13670. in: query
  13671. name: spotgoodsbrandid
  13672. type: integer
  13673. - description: 型号ID
  13674. in: query
  13675. name: spotgoodsmodelid
  13676. type: integer
  13677. - description: 仓库ID
  13678. in: query
  13679. name: warehouseinfoid
  13680. type: integer
  13681. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13682. in: query
  13683. name: applystatus
  13684. type: string
  13685. produces:
  13686. - application/json
  13687. responses:
  13688. "200":
  13689. description: OK
  13690. schema:
  13691. items:
  13692. $ref: '#/definitions/ermcp.QryAreaStockApplyRsp'
  13693. type: array
  13694. "500":
  13695. description: Internal Server Error
  13696. schema:
  13697. $ref: '#/definitions/app.Response'
  13698. security:
  13699. - ApiKeyAuth: []
  13700. summary: 查询库存申请(出入库记录|库存审核)
  13701. tags:
  13702. - 企业风险管理(app)
  13703. /Ermcp/QueryAreaStockApplySum:
  13704. get:
  13705. parameters:
  13706. - description: 合同ID
  13707. in: query
  13708. name: spotcontractid
  13709. type: integer
  13710. produces:
  13711. - application/json
  13712. responses:
  13713. "200":
  13714. description: OK
  13715. schema:
  13716. items:
  13717. $ref: '#/definitions/ermcp.QueryAreaStockApplySumRsp'
  13718. type: array
  13719. "500":
  13720. description: Internal Server Error
  13721. schema:
  13722. $ref: '#/definitions/app.Response'
  13723. security:
  13724. - ApiKeyAuth: []
  13725. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  13726. tags:
  13727. - 企业风险管理(app)
  13728. /Ermcp/QueryAreaStockReport:
  13729. get:
  13730. parameters:
  13731. - description: 用户ID
  13732. in: query
  13733. name: userid
  13734. required: true
  13735. type: integer
  13736. - description: 查询类型 1-日报表 2-月报表
  13737. in: query
  13738. name: querytype
  13739. required: true
  13740. type: integer
  13741. - description: 查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)
  13742. in: query
  13743. name: querydate
  13744. required: true
  13745. type: string
  13746. - description: 现货商品ID
  13747. in: query
  13748. name: wrstandardid
  13749. type: integer
  13750. - description: 品牌ID
  13751. in: query
  13752. name: spotgoodsbrandid
  13753. type: integer
  13754. - description: 型号ID
  13755. in: query
  13756. name: spotgoodsmodelid
  13757. type: integer
  13758. - description: 仓库ID
  13759. in: query
  13760. name: warehouseinfoid
  13761. type: integer
  13762. produces:
  13763. - application/json
  13764. responses:
  13765. "200":
  13766. description: OK
  13767. schema:
  13768. items:
  13769. $ref: '#/definitions/models.ErmcpAreaStockReport'
  13770. type: array
  13771. "500":
  13772. description: Internal Server Error
  13773. schema:
  13774. $ref: '#/definitions/app.Response'
  13775. security:
  13776. - ApiKeyAuth: []
  13777. summary: 查询库存报表
  13778. tags:
  13779. - 企业风险管理(app)
  13780. /Ermcp/QueryAreaStockReportDetail:
  13781. get:
  13782. parameters:
  13783. - description: 用户ID
  13784. in: query
  13785. name: userid
  13786. required: true
  13787. type: integer
  13788. - description: 查询类型 1-日报表明细 2-月报表明细
  13789. in: query
  13790. name: querytype
  13791. required: true
  13792. type: integer
  13793. - description: 明细类型 1:入库明细(采购入库+生产入库) 2:出库明细(销售出库+生产出库)
  13794. in: query
  13795. name: detailtype
  13796. required: true
  13797. type: integer
  13798. - description: 查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)
  13799. in: query
  13800. name: querydate
  13801. required: true
  13802. type: string
  13803. - description: 现货商品ID
  13804. in: query
  13805. name: wrstandardid
  13806. type: integer
  13807. - description: 品牌ID
  13808. in: query
  13809. name: spotgoodsbrandid
  13810. type: integer
  13811. - description: 型号ID
  13812. in: query
  13813. name: spotgoodsmodelid
  13814. type: integer
  13815. - description: 仓库ID
  13816. in: query
  13817. name: warehouseinfoid
  13818. type: integer
  13819. produces:
  13820. - application/json
  13821. responses:
  13822. "200":
  13823. description: OK
  13824. schema:
  13825. items:
  13826. $ref: '#/definitions/models.ErmcpAreaStockApply'
  13827. type: array
  13828. "500":
  13829. description: Internal Server Error
  13830. schema:
  13831. $ref: '#/definitions/app.Response'
  13832. security:
  13833. - ApiKeyAuth: []
  13834. summary: 查询库存报表明细
  13835. tags:
  13836. - 企业风险管理(app)
  13837. /Ermcp/QueryAvaildGoodsGroup:
  13838. get:
  13839. parameters:
  13840. - description: 所属机构ID
  13841. in: query
  13842. name: userid
  13843. required: true
  13844. type: integer
  13845. produces:
  13846. - application/json
  13847. responses:
  13848. "200":
  13849. description: OK
  13850. schema:
  13851. items:
  13852. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  13853. type: array
  13854. "500":
  13855. description: Internal Server Error
  13856. schema:
  13857. $ref: '#/definitions/app.Response'
  13858. security:
  13859. - ApiKeyAuth: []
  13860. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  13861. tags:
  13862. - 企业风险管理(app)
  13863. /Ermcp/QueryBusinessDj:
  13864. get:
  13865. parameters:
  13866. - description: 用户ID
  13867. in: query
  13868. name: UserId
  13869. required: true
  13870. type: integer
  13871. - description: 现货合同ID, 不填则查所有
  13872. in: query
  13873. name: relatedid
  13874. type: string
  13875. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13876. in: query
  13877. name: applystatus
  13878. type: string
  13879. produces:
  13880. - application/json
  13881. responses:
  13882. "200":
  13883. description: OK
  13884. schema:
  13885. items:
  13886. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  13887. type: array
  13888. "500":
  13889. description: Internal Server Error
  13890. schema:
  13891. $ref: '#/definitions/app.Response'
  13892. security:
  13893. - ApiKeyAuth: []
  13894. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  13895. tags:
  13896. - 企业风险管理(app)
  13897. /Ermcp/QueryBusinessFp:
  13898. get:
  13899. parameters:
  13900. - description: 用户ID
  13901. in: query
  13902. name: UserId
  13903. required: true
  13904. type: integer
  13905. - description: 现货合同ID, 不填则查所有
  13906. in: query
  13907. name: relatedid
  13908. type: string
  13909. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13910. in: query
  13911. name: applystatus
  13912. type: string
  13913. produces:
  13914. - application/json
  13915. responses:
  13916. "200":
  13917. description: OK
  13918. schema:
  13919. items:
  13920. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  13921. type: array
  13922. "500":
  13923. description: Internal Server Error
  13924. schema:
  13925. $ref: '#/definitions/app.Response'
  13926. security:
  13927. - ApiKeyAuth: []
  13928. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  13929. tags:
  13930. - 企业风险管理(app)
  13931. /Ermcp/QueryBusinessJs:
  13932. get:
  13933. parameters:
  13934. - description: 用户ID
  13935. in: query
  13936. name: UserId
  13937. required: true
  13938. type: integer
  13939. - description: 现货合同ID, 不填则查所有
  13940. in: query
  13941. name: relatedid
  13942. type: string
  13943. - description: 操作申请id
  13944. in: query
  13945. name: operateapplyid
  13946. type: string
  13947. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13948. in: query
  13949. name: applystatus
  13950. type: string
  13951. produces:
  13952. - application/json
  13953. responses:
  13954. "200":
  13955. description: OK
  13956. schema:
  13957. items:
  13958. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  13959. type: array
  13960. "500":
  13961. description: Internal Server Error
  13962. schema:
  13963. $ref: '#/definitions/app.Response'
  13964. security:
  13965. - ApiKeyAuth: []
  13966. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  13967. tags:
  13968. - 企业风险管理(app)
  13969. /Ermcp/QueryBusinessJsEx:
  13970. get:
  13971. parameters:
  13972. - description: 用户ID
  13973. in: query
  13974. name: UserId
  13975. required: true
  13976. type: integer
  13977. - description: 现货合同ID, 不填则查所有
  13978. in: query
  13979. name: relatedid
  13980. type: string
  13981. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13982. in: query
  13983. name: applystatus
  13984. type: string
  13985. produces:
  13986. - application/json
  13987. responses:
  13988. "200":
  13989. description: OK
  13990. schema:
  13991. items:
  13992. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  13993. type: array
  13994. "500":
  13995. description: Internal Server Error
  13996. schema:
  13997. $ref: '#/definitions/app.Response'
  13998. security:
  13999. - ApiKeyAuth: []
  14000. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  14001. tags:
  14002. - 企业风险管理(app)
  14003. /Ermcp/QueryBusinessKx:
  14004. get:
  14005. parameters:
  14006. - description: 用户ID
  14007. in: query
  14008. name: UserId
  14009. required: true
  14010. type: integer
  14011. - description: 现货合同ID, 不填则查所有
  14012. in: query
  14013. name: relatedid
  14014. type: string
  14015. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  14016. in: query
  14017. name: applystatus
  14018. type: string
  14019. produces:
  14020. - application/json
  14021. responses:
  14022. "200":
  14023. description: OK
  14024. schema:
  14025. items:
  14026. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  14027. type: array
  14028. "500":
  14029. description: Internal Server Error
  14030. schema:
  14031. $ref: '#/definitions/app.Response'
  14032. security:
  14033. - ApiKeyAuth: []
  14034. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  14035. tags:
  14036. - 企业风险管理(app)
  14037. /Ermcp/QueryChangeLog:
  14038. get:
  14039. parameters:
  14040. - description: 合同ID
  14041. in: query
  14042. name: RelatedId
  14043. required: true
  14044. type: string
  14045. produces:
  14046. - application/json
  14047. responses:
  14048. "200":
  14049. description: OK
  14050. schema:
  14051. items:
  14052. $ref: '#/definitions/ermcp.QryOPLogRsp'
  14053. type: array
  14054. "500":
  14055. description: Internal Server Error
  14056. schema:
  14057. $ref: '#/definitions/app.Response'
  14058. security:
  14059. - ApiKeyAuth: []
  14060. summary: 查询变更记录
  14061. tags:
  14062. - 企业风险管理(app)
  14063. /Ermcp/QueryContract:
  14064. get:
  14065. parameters:
  14066. - description: 用户ID
  14067. in: query
  14068. name: userId
  14069. required: true
  14070. type: integer
  14071. - description: 合同类型 1-采购, -1-销售
  14072. in: query
  14073. name: contracttype
  14074. required: true
  14075. type: integer
  14076. - description: 查询类型 1-全部 2-待点价 3-履约结算
  14077. in: query
  14078. name: querytype
  14079. required: true
  14080. type: integer
  14081. - description: 合同ID(SpotContractId)
  14082. in: query
  14083. name: contractid
  14084. type: string
  14085. produces:
  14086. - application/json
  14087. responses:
  14088. "200":
  14089. description: OK
  14090. schema:
  14091. items:
  14092. $ref: '#/definitions/ermcp.QryErmcpRsp'
  14093. type: array
  14094. "500":
  14095. description: Internal Server Error
  14096. schema:
  14097. $ref: '#/definitions/app.Response'
  14098. security:
  14099. - ApiKeyAuth: []
  14100. summary: 查询合同(采购和销售)
  14101. tags:
  14102. - 企业风险管理(app)
  14103. /Ermcp/QueryErmcpHisOrderDetails:
  14104. get:
  14105. parameters:
  14106. - description: 资金账户ID
  14107. in: query
  14108. name: accountID
  14109. required: true
  14110. type: integer
  14111. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  14112. in: query
  14113. name: startDate
  14114. type: string
  14115. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  14116. in: query
  14117. name: endDate
  14118. type: string
  14119. produces:
  14120. - application/json
  14121. responses:
  14122. "200":
  14123. description: OK
  14124. schema:
  14125. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  14126. "500":
  14127. description: Internal Server Error
  14128. schema:
  14129. $ref: '#/definitions/app.Response'
  14130. security:
  14131. - ApiKeyAuth: []
  14132. summary: 获取企业风管期货历史委托单信息
  14133. tags:
  14134. - 企业风险管理(app)
  14135. /Ermcp/QueryErmcpHisTradeDetails:
  14136. get:
  14137. parameters:
  14138. - description: 资金账户ID
  14139. in: query
  14140. name: accountID
  14141. required: true
  14142. type: integer
  14143. - description: 商品ID
  14144. in: query
  14145. name: goodsID
  14146. type: integer
  14147. - description: 买卖方向,0:买 1:卖
  14148. in: query
  14149. name: buyOrSell
  14150. type: integer
  14151. - description: 关联委托单号
  14152. in: query
  14153. name: orderID
  14154. type: integer
  14155. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  14156. in: query
  14157. name: startDate
  14158. type: string
  14159. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  14160. in: query
  14161. name: endDate
  14162. type: string
  14163. produces:
  14164. - application/json
  14165. responses:
  14166. "200":
  14167. description: OK
  14168. schema:
  14169. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  14170. "500":
  14171. description: Internal Server Error
  14172. schema:
  14173. $ref: '#/definitions/app.Response'
  14174. security:
  14175. - ApiKeyAuth: []
  14176. summary: 获取企业风管期货历史成交单信息
  14177. tags:
  14178. - 企业风险管理(app)
  14179. /Ermcp/QueryErmcpInnerHolderDetails:
  14180. get:
  14181. parameters:
  14182. - description: 资金账户ID
  14183. in: query
  14184. name: accountID
  14185. required: true
  14186. type: integer
  14187. - description: 商品ID
  14188. in: query
  14189. name: goodsID
  14190. type: integer
  14191. - description: 买卖方向,0:买 1:卖
  14192. in: query
  14193. name: buyOrSell
  14194. type: integer
  14195. produces:
  14196. - application/json
  14197. responses:
  14198. "200":
  14199. description: OK
  14200. schema:
  14201. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  14202. "500":
  14203. description: Internal Server Error
  14204. schema:
  14205. $ref: '#/definitions/app.Response'
  14206. security:
  14207. - ApiKeyAuth: []
  14208. summary: 获取企业风管期货内部持仓单信息
  14209. tags:
  14210. - 企业风险管理(app)
  14211. /Ermcp/QueryErmcpOrderDetails:
  14212. get:
  14213. parameters:
  14214. - description: 资金账户ID
  14215. in: query
  14216. name: accountID
  14217. required: true
  14218. type: integer
  14219. produces:
  14220. - application/json
  14221. responses:
  14222. "200":
  14223. description: OK
  14224. schema:
  14225. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  14226. "500":
  14227. description: Internal Server Error
  14228. schema:
  14229. $ref: '#/definitions/app.Response'
  14230. security:
  14231. - ApiKeyAuth: []
  14232. summary: 获取企业风管期货委托单信息
  14233. tags:
  14234. - 企业风险管理(app)
  14235. /Ermcp/QueryErmcpTradeDetails:
  14236. get:
  14237. parameters:
  14238. - description: 资金账户ID
  14239. in: query
  14240. name: accountID
  14241. required: true
  14242. type: integer
  14243. - description: 商品ID
  14244. in: query
  14245. name: goodsID
  14246. type: integer
  14247. - description: 买卖方向,0:买 1:卖
  14248. in: query
  14249. name: buyOrSell
  14250. type: integer
  14251. - description: 关联委托单号
  14252. in: query
  14253. name: orderID
  14254. type: integer
  14255. produces:
  14256. - application/json
  14257. responses:
  14258. "200":
  14259. description: OK
  14260. schema:
  14261. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  14262. "500":
  14263. description: Internal Server Error
  14264. schema:
  14265. $ref: '#/definitions/app.Response'
  14266. security:
  14267. - ApiKeyAuth: []
  14268. summary: 获取企业风管期货成交单信息
  14269. tags:
  14270. - 企业风险管理(app)
  14271. /Ermcp/QueryErmcpTradePosition:
  14272. get:
  14273. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  14274. parameters:
  14275. - description: 资金账户ID
  14276. in: query
  14277. name: accountID
  14278. required: true
  14279. type: integer
  14280. - description: 所属市场ID
  14281. in: query
  14282. name: marketID
  14283. type: integer
  14284. produces:
  14285. - application/json
  14286. responses:
  14287. "200":
  14288. description: OK
  14289. schema:
  14290. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  14291. "500":
  14292. description: Internal Server Error
  14293. schema:
  14294. $ref: '#/definitions/app.Response'
  14295. security:
  14296. - ApiKeyAuth: []
  14297. summary: 获取企业风管期货持仓头寸信息
  14298. tags:
  14299. - 企业风险管理(app)
  14300. /Ermcp/QueryExposureDetail:
  14301. get:
  14302. parameters:
  14303. - description: 所属机构ID
  14304. in: query
  14305. name: areaUserId
  14306. required: true
  14307. type: integer
  14308. - description: 套保商品
  14309. in: query
  14310. name: middleGoodsId
  14311. required: true
  14312. type: integer
  14313. produces:
  14314. - application/json
  14315. responses:
  14316. "200":
  14317. description: OK
  14318. schema:
  14319. items:
  14320. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  14321. type: array
  14322. "500":
  14323. description: Internal Server Error
  14324. schema:
  14325. $ref: '#/definitions/app.Response'
  14326. security:
  14327. - ApiKeyAuth: []
  14328. summary: 查询敞口现货明细
  14329. tags:
  14330. - 企业风险管理(app)
  14331. /Ermcp/QueryExposureHedgePosition:
  14332. get:
  14333. parameters:
  14334. - description: 所属机构ID
  14335. in: query
  14336. name: areaUserId
  14337. required: true
  14338. type: integer
  14339. produces:
  14340. - application/json
  14341. responses:
  14342. "200":
  14343. description: OK
  14344. schema:
  14345. items:
  14346. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  14347. type: array
  14348. "500":
  14349. description: Internal Server Error
  14350. schema:
  14351. $ref: '#/definitions/app.Response'
  14352. security:
  14353. - ApiKeyAuth: []
  14354. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  14355. tags:
  14356. - 企业风险管理(app)
  14357. /Ermcp/QueryExposureHedgePositionDetail:
  14358. get:
  14359. parameters:
  14360. - description: 所属机构ID
  14361. in: query
  14362. name: areaUserId
  14363. required: true
  14364. type: integer
  14365. - description: 商品id
  14366. in: query
  14367. name: goodsId
  14368. required: true
  14369. type: integer
  14370. produces:
  14371. - application/json
  14372. responses:
  14373. "200":
  14374. description: OK
  14375. schema:
  14376. items:
  14377. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  14378. type: array
  14379. "500":
  14380. description: Internal Server Error
  14381. schema:
  14382. $ref: '#/definitions/app.Response'
  14383. security:
  14384. - ApiKeyAuth: []
  14385. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  14386. tags:
  14387. - 企业风险管理(app)
  14388. /Ermcp/QueryExposureSpot:
  14389. get:
  14390. parameters:
  14391. - description: 所属机构ID
  14392. in: query
  14393. name: areaUserId
  14394. required: true
  14395. type: integer
  14396. produces:
  14397. - application/json
  14398. responses:
  14399. "200":
  14400. description: OK
  14401. schema:
  14402. items:
  14403. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  14404. type: array
  14405. "500":
  14406. description: Internal Server Error
  14407. schema:
  14408. $ref: '#/definitions/app.Response'
  14409. security:
  14410. - ApiKeyAuth: []
  14411. summary: 查询敞口现货头寸(敞口/现货头寸)
  14412. tags:
  14413. - 企业风险管理(app)
  14414. /Ermcp/QueryExposureSpotDetail:
  14415. get:
  14416. parameters:
  14417. - description: 所属机构ID
  14418. in: query
  14419. name: areaUserId
  14420. required: true
  14421. type: integer
  14422. - description: 现货品种ID
  14423. in: query
  14424. name: wrstandardId
  14425. required: true
  14426. type: integer
  14427. produces:
  14428. - application/json
  14429. responses:
  14430. "200":
  14431. description: OK
  14432. schema:
  14433. items:
  14434. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  14435. type: array
  14436. "500":
  14437. description: Internal Server Error
  14438. schema:
  14439. $ref: '#/definitions/app.Response'
  14440. security:
  14441. - ApiKeyAuth: []
  14442. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  14443. tags:
  14444. - 企业风险管理(app)
  14445. /Ermcp/QueryFuturesCompany:
  14446. get:
  14447. produces:
  14448. - application/json
  14449. responses:
  14450. "200":
  14451. description: OK
  14452. schema:
  14453. items:
  14454. $ref: '#/definitions/models.ErmcpFuturesCompany'
  14455. type: array
  14456. "500":
  14457. description: Internal Server Error
  14458. schema:
  14459. $ref: '#/definitions/app.Response'
  14460. security:
  14461. - ApiKeyAuth: []
  14462. summary: 查询期货公司
  14463. tags:
  14464. - 企业风险管理(app)
  14465. /Ermcp/QueryGGConvertConfig:
  14466. get:
  14467. parameters:
  14468. - description: 品种id(不填则查所有)
  14469. in: query
  14470. name: goodsgroupid
  14471. type: integer
  14472. produces:
  14473. - application/json
  14474. responses:
  14475. "200":
  14476. description: OK
  14477. schema:
  14478. items:
  14479. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  14480. type: array
  14481. "500":
  14482. description: Internal Server Error
  14483. schema:
  14484. $ref: '#/definitions/app.Response'
  14485. security:
  14486. - ApiKeyAuth: []
  14487. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  14488. tags:
  14489. - 企业风险管理(app)
  14490. /Ermcp/QueryGoodsBrand:
  14491. get:
  14492. parameters:
  14493. - description: 用户ID
  14494. in: query
  14495. name: userid
  14496. required: true
  14497. type: integer
  14498. - description: 现货商品ID
  14499. in: query
  14500. name: wrstandardid
  14501. type: integer
  14502. produces:
  14503. - application/json
  14504. responses:
  14505. "200":
  14506. description: OK
  14507. schema:
  14508. items:
  14509. $ref: '#/definitions/models.ErmcpGoodsBrand'
  14510. type: array
  14511. "500":
  14512. description: Internal Server Error
  14513. schema:
  14514. $ref: '#/definitions/app.Response'
  14515. security:
  14516. - ApiKeyAuth: []
  14517. summary: 查询商品品牌
  14518. tags:
  14519. - 企业风险管理(app)
  14520. /Ermcp/QueryGoodsModel:
  14521. get:
  14522. parameters:
  14523. - description: 用户ID
  14524. in: query
  14525. name: userid
  14526. required: true
  14527. type: integer
  14528. produces:
  14529. - application/json
  14530. responses:
  14531. "200":
  14532. description: OK
  14533. schema:
  14534. items:
  14535. $ref: '#/definitions/models.ErmcpGoodsModel'
  14536. type: array
  14537. "500":
  14538. description: Internal Server Error
  14539. schema:
  14540. $ref: '#/definitions/app.Response'
  14541. security:
  14542. - ApiKeyAuth: []
  14543. summary: 查询商品型号
  14544. tags:
  14545. - 企业风险管理(app)
  14546. /Ermcp/QueryHedgePlan:
  14547. get:
  14548. parameters:
  14549. - description: 用户ID
  14550. in: query
  14551. name: userId
  14552. required: true
  14553. type: integer
  14554. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  14555. in: query
  14556. name: HedgePlanStatus
  14557. required: true
  14558. type: string
  14559. produces:
  14560. - application/json
  14561. responses:
  14562. "200":
  14563. description: OK
  14564. schema:
  14565. items:
  14566. $ref: '#/definitions/ermcp.QryHedgePlanRsp'
  14567. type: array
  14568. "500":
  14569. description: Internal Server Error
  14570. schema:
  14571. $ref: '#/definitions/app.Response'
  14572. security:
  14573. - ApiKeyAuth: []
  14574. summary: 查询套保计划
  14575. tags:
  14576. - 企业风险管理(app)
  14577. /Ermcp/QueryHisExposure:
  14578. get:
  14579. parameters:
  14580. - description: 所属机构ID
  14581. in: query
  14582. name: areaUserId
  14583. required: true
  14584. type: integer
  14585. - description: 每个品种记录数
  14586. in: query
  14587. name: lastNum
  14588. required: true
  14589. type: integer
  14590. produces:
  14591. - application/json
  14592. responses:
  14593. "200":
  14594. description: OK
  14595. schema:
  14596. items:
  14597. $ref: '#/definitions/ermcp.HisExposureRsp'
  14598. type: array
  14599. "500":
  14600. description: Internal Server Error
  14601. schema:
  14602. $ref: '#/definitions/app.Response'
  14603. security:
  14604. - ApiKeyAuth: []
  14605. summary: 查询历史敞口(菜单:敞口/历史敞口)
  14606. tags:
  14607. - 企业风险管理(app)
  14608. /Ermcp/QueryMiddleGoods:
  14609. get:
  14610. parameters:
  14611. - description: 所属机构ID
  14612. in: query
  14613. name: userid
  14614. required: true
  14615. type: integer
  14616. - description: 状态 0-停用 1-正常
  14617. in: query
  14618. name: status
  14619. required: true
  14620. type: integer
  14621. produces:
  14622. - application/json
  14623. responses:
  14624. "200":
  14625. description: OK
  14626. schema:
  14627. items:
  14628. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  14629. type: array
  14630. "500":
  14631. description: Internal Server Error
  14632. schema:
  14633. $ref: '#/definitions/app.Response'
  14634. security:
  14635. - ApiKeyAuth: []
  14636. summary: 查询套保品种(菜单:套保品种)
  14637. tags:
  14638. - 企业风险管理(app)
  14639. /Ermcp/QueryMiddleGoodsChangeLog:
  14640. get:
  14641. parameters:
  14642. - description: 所属机构ID
  14643. in: query
  14644. name: userid
  14645. required: true
  14646. type: integer
  14647. - description: 套保品种id
  14648. in: query
  14649. name: middlegoodsid
  14650. required: true
  14651. type: integer
  14652. produces:
  14653. - application/json
  14654. responses:
  14655. "200":
  14656. description: OK
  14657. schema:
  14658. items:
  14659. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  14660. type: array
  14661. "500":
  14662. description: Internal Server Error
  14663. schema:
  14664. $ref: '#/definitions/app.Response'
  14665. security:
  14666. - ApiKeyAuth: []
  14667. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  14668. tags:
  14669. - 企业风险管理(app)
  14670. /Ermcp/QueryMiddleGoodsDetail:
  14671. get:
  14672. parameters:
  14673. - description: 所属机构ID
  14674. in: query
  14675. name: userid
  14676. required: true
  14677. type: integer
  14678. - description: 套保品种id
  14679. in: query
  14680. name: middlegoodsid
  14681. type: integer
  14682. produces:
  14683. - application/json
  14684. responses:
  14685. "200":
  14686. description: OK
  14687. schema:
  14688. items:
  14689. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  14690. type: array
  14691. "500":
  14692. description: Internal Server Error
  14693. schema:
  14694. $ref: '#/definitions/app.Response'
  14695. security:
  14696. - ApiKeyAuth: []
  14697. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  14698. tags:
  14699. - 企业风险管理(app)
  14700. /Ermcp/QueryPendingAuditInfo:
  14701. get:
  14702. parameters:
  14703. - description: 用户ID
  14704. in: query
  14705. name: UserId
  14706. required: true
  14707. type: integer
  14708. produces:
  14709. - application/json
  14710. responses:
  14711. "200":
  14712. description: OK
  14713. schema:
  14714. items:
  14715. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  14716. type: array
  14717. "500":
  14718. description: Internal Server Error
  14719. schema:
  14720. $ref: '#/definitions/app.Response'
  14721. security:
  14722. - ApiKeyAuth: []
  14723. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  14724. tags:
  14725. - 企业风险管理(app)
  14726. /Ermcp/QueryRealtimeExposure:
  14727. get:
  14728. parameters:
  14729. - description: 所属机构ID
  14730. in: query
  14731. name: AreaUserID
  14732. required: true
  14733. type: integer
  14734. produces:
  14735. - application/json
  14736. responses:
  14737. "200":
  14738. description: OK
  14739. schema:
  14740. items:
  14741. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  14742. type: array
  14743. "500":
  14744. description: Internal Server Error
  14745. schema:
  14746. $ref: '#/definitions/app.Response'
  14747. security:
  14748. - ApiKeyAuth: []
  14749. summary: 查询实时敞口
  14750. tags:
  14751. - 企业风险管理(app)
  14752. /Ermcp/QueryRealtimeExposurePosition:
  14753. get:
  14754. parameters:
  14755. - description: 所属机构ID
  14756. in: query
  14757. name: areaUserId
  14758. required: true
  14759. type: integer
  14760. - description: 套保商品ID
  14761. in: query
  14762. name: middleGoodsId
  14763. required: true
  14764. type: integer
  14765. produces:
  14766. - application/json
  14767. responses:
  14768. "200":
  14769. description: OK
  14770. schema:
  14771. items:
  14772. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  14773. type: array
  14774. "500":
  14775. description: Internal Server Error
  14776. schema:
  14777. $ref: '#/definitions/app.Response'
  14778. security:
  14779. - ApiKeyAuth: []
  14780. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  14781. tags:
  14782. - 企业风险管理(app)
  14783. /Ermcp/QuerySpotContract:
  14784. get:
  14785. parameters:
  14786. - description: 用户ID
  14787. in: query
  14788. name: userId
  14789. required: true
  14790. type: integer
  14791. - description: 查询类型 1-未提交 2-待审核 3-履约中 4-已完成
  14792. in: query
  14793. name: QueryType
  14794. required: true
  14795. type: integer
  14796. produces:
  14797. - application/json
  14798. responses:
  14799. "200":
  14800. description: OK
  14801. schema:
  14802. items:
  14803. $ref: '#/definitions/ermcp.QrySpotContractRsp'
  14804. type: array
  14805. "500":
  14806. description: Internal Server Error
  14807. schema:
  14808. $ref: '#/definitions/app.Response'
  14809. security:
  14810. - ApiKeyAuth: []
  14811. summary: 查询现货合同(对应现货合同菜单)
  14812. tags:
  14813. - 企业风险管理(app)
  14814. /Ermcp/QuerySpotGoodsPrice:
  14815. get:
  14816. parameters:
  14817. - description: 用户ID
  14818. in: query
  14819. name: userid
  14820. required: true
  14821. type: integer
  14822. produces:
  14823. - application/json
  14824. responses:
  14825. "200":
  14826. description: OK
  14827. schema:
  14828. items:
  14829. $ref: '#/definitions/models.ErmcpSpotGoodsPrice'
  14830. type: array
  14831. "500":
  14832. description: Internal Server Error
  14833. schema:
  14834. $ref: '#/definitions/app.Response'
  14835. security:
  14836. - ApiKeyAuth: []
  14837. summary: 查询现货市价(现货市价)
  14838. tags:
  14839. - 企业风险管理(app)
  14840. /Ermcp/QuerySpotGoodsPriceLog:
  14841. get:
  14842. parameters:
  14843. - description: 用户ID
  14844. in: query
  14845. name: userid
  14846. required: true
  14847. type: integer
  14848. - description: 现货商品ID
  14849. in: query
  14850. name: wrstandardid
  14851. required: true
  14852. type: integer
  14853. produces:
  14854. - application/json
  14855. responses:
  14856. "200":
  14857. description: OK
  14858. schema:
  14859. items:
  14860. $ref: '#/definitions/models.ErmcpSpotGoodsPriceLog'
  14861. type: array
  14862. "500":
  14863. description: Internal Server Error
  14864. schema:
  14865. $ref: '#/definitions/app.Response'
  14866. security:
  14867. - ApiKeyAuth: []
  14868. summary: 查询现货市价详情(现货市价/详情)
  14869. tags:
  14870. - 企业风险管理(app)
  14871. /Ermcp/QueryTradeConfigTMP:
  14872. get:
  14873. parameters:
  14874. - description: 所属机构id
  14875. in: query
  14876. name: areauserid
  14877. type: integer
  14878. produces:
  14879. - application/json
  14880. responses:
  14881. "200":
  14882. description: OK
  14883. schema:
  14884. items:
  14885. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  14886. type: array
  14887. "500":
  14888. description: Internal Server Error
  14889. schema:
  14890. $ref: '#/definitions/app.Response'
  14891. security:
  14892. - ApiKeyAuth: []
  14893. summary: 查询交易模板配置
  14894. tags:
  14895. - 企业风险管理(app)
  14896. /Ermcp/QueryUserInfo:
  14897. get:
  14898. parameters:
  14899. - description: 所属机构用户ID
  14900. in: query
  14901. name: MemberUserID
  14902. required: true
  14903. type: integer
  14904. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  14905. in: query
  14906. name: queryType
  14907. required: true
  14908. type: integer
  14909. produces:
  14910. - application/json
  14911. responses:
  14912. "200":
  14913. description: OK
  14914. schema:
  14915. items:
  14916. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  14917. type: array
  14918. "500":
  14919. description: Internal Server Error
  14920. schema:
  14921. $ref: '#/definitions/app.Response'
  14922. security:
  14923. - ApiKeyAuth: []
  14924. summary: 查询客户资料
  14925. tags:
  14926. - 企业风险管理(app)
  14927. /Ermcp/QueryWarehouseInfo:
  14928. get:
  14929. parameters:
  14930. - description: 用户ID
  14931. in: query
  14932. name: userid
  14933. required: true
  14934. type: integer
  14935. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  14936. in: query
  14937. name: status
  14938. type: string
  14939. produces:
  14940. - application/json
  14941. responses:
  14942. "200":
  14943. description: OK
  14944. schema:
  14945. items:
  14946. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  14947. type: array
  14948. "500":
  14949. description: Internal Server Error
  14950. schema:
  14951. $ref: '#/definitions/app.Response'
  14952. security:
  14953. - ApiKeyAuth: []
  14954. summary: 查询仓库信息
  14955. tags:
  14956. - 企业风险管理(app)
  14957. /Ermcp/QueryWrStandard:
  14958. get:
  14959. parameters:
  14960. - description: 所属机构ID
  14961. in: query
  14962. name: userid
  14963. required: true
  14964. type: integer
  14965. - description: 状态 0-停用 1-正常
  14966. in: query
  14967. name: status
  14968. required: true
  14969. type: integer
  14970. produces:
  14971. - application/json
  14972. responses:
  14973. "200":
  14974. description: OK
  14975. schema:
  14976. items:
  14977. $ref: '#/definitions/ermcp.QryWrStandardRsp'
  14978. type: array
  14979. "500":
  14980. description: Internal Server Error
  14981. schema:
  14982. $ref: '#/definitions/app.Response'
  14983. security:
  14984. - ApiKeyAuth: []
  14985. summary: 查询现货商品
  14986. tags:
  14987. - 企业风险管理(app)
  14988. /Ermcp/QueryWrStandardDetail:
  14989. get:
  14990. parameters:
  14991. - description: 所属机构ID
  14992. in: query
  14993. name: userid
  14994. required: true
  14995. type: integer
  14996. - description: 现货商品ID
  14997. in: query
  14998. name: wrstandardid
  14999. type: integer
  15000. - description: 可不填, 1-查询关联交易商品
  15001. in: query
  15002. name: goods
  15003. type: integer
  15004. produces:
  15005. - application/json
  15006. responses:
  15007. "200":
  15008. description: OK
  15009. schema:
  15010. items:
  15011. $ref: '#/definitions/ermcp.QryWrStandardDetailRsp'
  15012. type: array
  15013. "500":
  15014. description: Internal Server Error
  15015. schema:
  15016. $ref: '#/definitions/app.Response'
  15017. security:
  15018. - ApiKeyAuth: []
  15019. summary: 查询现货商品详情(菜单:现货品种/现货品种详情)
  15020. tags:
  15021. - 企业风险管理(app)
  15022. /Ermcp3/QryReportAreaSpotPL:
  15023. get:
  15024. parameters:
  15025. - description: 用户ID
  15026. in: query
  15027. name: userid
  15028. required: true
  15029. type: integer
  15030. - description: 查询类型 1-日报表 2-月报表
  15031. in: query
  15032. name: querytype
  15033. required: true
  15034. type: integer
  15035. - description: 查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)
  15036. in: query
  15037. name: querydate
  15038. required: true
  15039. type: string
  15040. - description: 现货商品ID
  15041. in: query
  15042. name: deliverygoodsid
  15043. type: integer
  15044. - description: 品牌ID
  15045. in: query
  15046. name: spotgoodsbrandid
  15047. type: integer
  15048. - description: 品类ID
  15049. in: query
  15050. name: wrstandardid
  15051. type: integer
  15052. produces:
  15053. - application/json
  15054. responses:
  15055. "200":
  15056. description: OK
  15057. schema:
  15058. items:
  15059. $ref: '#/definitions/models.Ermcp3ReportAreaSpotPL'
  15060. type: array
  15061. "500":
  15062. description: Internal Server Error
  15063. schema:
  15064. $ref: '#/definitions/app.Response'
  15065. security:
  15066. - ApiKeyAuth: []
  15067. summary: 查询现货损益报表(现货损益报表)
  15068. tags:
  15069. - 企业风险管理v3(app)
  15070. /Ermcp3/QryReportDayFinanceFp:
  15071. get:
  15072. parameters:
  15073. - description: 用户ID
  15074. in: query
  15075. name: userid
  15076. required: true
  15077. type: integer
  15078. - description: 交易日(格式:yyyyMMdd)
  15079. in: query
  15080. name: tradedate
  15081. required: true
  15082. type: string
  15083. produces:
  15084. - application/json
  15085. responses:
  15086. "200":
  15087. description: OK
  15088. schema:
  15089. items:
  15090. $ref: '#/definitions/models.Ermcp3ReportOPLog'
  15091. type: array
  15092. "500":
  15093. description: Internal Server Error
  15094. schema:
  15095. $ref: '#/definitions/app.Response'
  15096. security:
  15097. - ApiKeyAuth: []
  15098. summary: 查询财务日报表发票(菜单:报表查询/财务报表/日报表/发票)
  15099. tags:
  15100. - 企业风险管理v3(app)
  15101. /Ermcp3/QryReportDayFinanceKx:
  15102. get:
  15103. parameters:
  15104. - description: 用户ID
  15105. in: query
  15106. name: userid
  15107. required: true
  15108. type: integer
  15109. - description: 交易日(格式:yyyyMMdd)
  15110. in: query
  15111. name: tradedate
  15112. required: true
  15113. type: string
  15114. produces:
  15115. - application/json
  15116. responses:
  15117. "200":
  15118. description: OK
  15119. schema:
  15120. items:
  15121. $ref: '#/definitions/models.Ermcp3ReportOPLog'
  15122. type: array
  15123. "500":
  15124. description: Internal Server Error
  15125. schema:
  15126. $ref: '#/definitions/app.Response'
  15127. security:
  15128. - ApiKeyAuth: []
  15129. summary: 查询财务日报表款项(菜单:报表查询/财务报表/日报表/款项)
  15130. tags:
  15131. - 企业风险管理v3(app)
  15132. /Ermcp3/QryReportDaySpot:
  15133. get:
  15134. parameters:
  15135. - description: 所属机构id
  15136. in: query
  15137. name: areauserid
  15138. required: true
  15139. type: integer
  15140. - description: 交易日(格式:yyyyMMdd)
  15141. in: query
  15142. name: reckondate
  15143. required: true
  15144. type: string
  15145. - description: 期货账户ID
  15146. in: query
  15147. name: accountid
  15148. type: integer
  15149. - description: 现货品种ID
  15150. in: query
  15151. name: deliverygoodsid
  15152. type: integer
  15153. - description: 品类ID
  15154. in: query
  15155. name: wrstandardid
  15156. type: integer
  15157. - description: 现货品牌ID
  15158. in: query
  15159. name: spotgoodsbrandid
  15160. type: integer
  15161. produces:
  15162. - application/json
  15163. responses:
  15164. "200":
  15165. description: OK
  15166. schema:
  15167. items:
  15168. $ref: '#/definitions/models.Ermcp3ReckonAreaSpotSub'
  15169. type: array
  15170. "500":
  15171. description: Internal Server Error
  15172. schema:
  15173. $ref: '#/definitions/app.Response'
  15174. security:
  15175. - ApiKeyAuth: []
  15176. summary: 查询现货日报表(菜单:报表查询/现货报表/现货日报表)
  15177. tags:
  15178. - 企业风险管理v3(app)
  15179. /Ermcp3/QryReportDaySpotDetail:
  15180. get:
  15181. parameters:
  15182. - description: 用户ID
  15183. in: query
  15184. name: userid
  15185. required: true
  15186. type: integer
  15187. - description: 现货商品id
  15188. in: query
  15189. name: deliverygoodsid
  15190. required: true
  15191. type: integer
  15192. - description: 交易日(格式:yyyyMMdd)
  15193. in: query
  15194. name: tradedate
  15195. required: true
  15196. type: string
  15197. - description: 品类ID
  15198. in: query
  15199. name: wrstandardid
  15200. type: integer
  15201. - description: 现货品牌ID
  15202. in: query
  15203. name: spotgoodsbrandid
  15204. type: integer
  15205. produces:
  15206. - application/json
  15207. responses:
  15208. "200":
  15209. description: OK
  15210. schema:
  15211. items:
  15212. $ref: '#/definitions/models.Ermcp3ReportOPLog'
  15213. type: array
  15214. "500":
  15215. description: Internal Server Error
  15216. schema:
  15217. $ref: '#/definitions/app.Response'
  15218. security:
  15219. - ApiKeyAuth: []
  15220. summary: 查询现货日报表详情(菜单:报表查询/现货报表/现货日报表详情)
  15221. tags:
  15222. - 企业风险管理v3(app)
  15223. /Ermcp3/QryReportMonthSpot:
  15224. get:
  15225. parameters:
  15226. - description: 所属机构id
  15227. in: query
  15228. name: areauserid
  15229. required: true
  15230. type: integer
  15231. - description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  15232. in: query
  15233. name: cycletype
  15234. required: true
  15235. type: integer
  15236. - description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  15237. in: query
  15238. name: cycletime
  15239. required: true
  15240. type: string
  15241. - description: 期货账户ID
  15242. in: query
  15243. name: accountid
  15244. type: integer
  15245. - description: 现货品种ID
  15246. in: query
  15247. name: deliverygoodsid
  15248. type: integer
  15249. - description: 品类ID
  15250. in: query
  15251. name: wrstandardid
  15252. type: integer
  15253. - description: 现货品牌ID
  15254. in: query
  15255. name: spotgoodsbrandid
  15256. type: integer
  15257. produces:
  15258. - application/json
  15259. responses:
  15260. "200":
  15261. description: OK
  15262. schema:
  15263. items:
  15264. $ref: '#/definitions/models.Ermcp3ReportAreaSpotSub'
  15265. type: array
  15266. "500":
  15267. description: Internal Server Error
  15268. schema:
  15269. $ref: '#/definitions/app.Response'
  15270. security:
  15271. - ApiKeyAuth: []
  15272. summary: 查询现货月报表(菜单:报表查询/现货报表/现货月报表)
  15273. tags:
  15274. - 企业风险管理v3(app)
  15275. /Ermcp3/QryReportMonthSpotDetail:
  15276. get:
  15277. parameters:
  15278. - description: 所属机构id
  15279. in: query
  15280. name: areauserid
  15281. required: true
  15282. type: integer
  15283. - description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  15284. in: query
  15285. name: cycletype
  15286. required: true
  15287. type: integer
  15288. - description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  15289. in: query
  15290. name: cycletime
  15291. required: true
  15292. type: string
  15293. - description: 期货账户ID
  15294. in: query
  15295. name: accountid
  15296. type: integer
  15297. - description: 现货品种ID
  15298. in: query
  15299. name: deliverygoodsid
  15300. type: integer
  15301. - description: 品类ID
  15302. in: query
  15303. name: wrstandardid
  15304. type: integer
  15305. - description: 现货品牌ID
  15306. in: query
  15307. name: spotgoodsbrandid
  15308. type: integer
  15309. produces:
  15310. - application/json
  15311. responses:
  15312. "200":
  15313. description: OK
  15314. schema:
  15315. items:
  15316. $ref: '#/definitions/models.Ermcp3ReportAreaSpotSub'
  15317. type: array
  15318. "500":
  15319. description: Internal Server Error
  15320. schema:
  15321. $ref: '#/definitions/app.Response'
  15322. security:
  15323. - ApiKeyAuth: []
  15324. summary: 查询现货月报表详情(菜单:报表查询/现货月报表/现货月报表详情)
  15325. tags:
  15326. - 企业风险管理v3(app)
  15327. /Ermcp3/QueryAreaStock:
  15328. get:
  15329. parameters:
  15330. - description: 用户ID
  15331. in: query
  15332. name: userid
  15333. required: true
  15334. type: integer
  15335. produces:
  15336. - application/json
  15337. responses:
  15338. "200":
  15339. description: OK
  15340. schema:
  15341. items:
  15342. $ref: '#/definitions/models.Ermcp3AreaStock'
  15343. type: array
  15344. "500":
  15345. description: Internal Server Error
  15346. schema:
  15347. $ref: '#/definitions/app.Response'
  15348. security:
  15349. - ApiKeyAuth: []
  15350. summary: 查询机构库存(库存管理/当前库存)
  15351. tags:
  15352. - 企业风险管理v3(app)
  15353. /Ermcp3/QueryAreaStockApply:
  15354. get:
  15355. parameters:
  15356. - description: 用户ID
  15357. in: query
  15358. name: userid
  15359. required: true
  15360. type: integer
  15361. - description: 现货商品ID
  15362. in: query
  15363. name: deliverygoodsid
  15364. type: integer
  15365. - description: 出入库类型(可多项,逗号隔开) 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  15366. in: query
  15367. name: inouttype
  15368. type: string
  15369. - description: 合同ID
  15370. in: query
  15371. name: spotcontractid
  15372. type: integer
  15373. - description: 品类ID
  15374. in: query
  15375. name: wrstandardid
  15376. type: integer
  15377. - description: 品牌ID
  15378. in: query
  15379. name: spotgoodsbrandid
  15380. type: integer
  15381. - description: 仓库ID
  15382. in: query
  15383. name: warehouseinfoid
  15384. type: integer
  15385. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  15386. in: query
  15387. name: applystatus
  15388. type: string
  15389. produces:
  15390. - application/json
  15391. responses:
  15392. "200":
  15393. description: OK
  15394. schema:
  15395. items:
  15396. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  15397. type: array
  15398. "500":
  15399. description: Internal Server Error
  15400. schema:
  15401. $ref: '#/definitions/app.Response'
  15402. security:
  15403. - ApiKeyAuth: []
  15404. summary: 查询库存申请(出入库记录|库存审核)
  15405. tags:
  15406. - 企业风险管理v3(app)
  15407. /Ermcp3/QueryAreaStockApplySum:
  15408. get:
  15409. parameters:
  15410. - description: 合同ID
  15411. in: query
  15412. name: spotcontractid
  15413. type: integer
  15414. produces:
  15415. - application/json
  15416. responses:
  15417. "200":
  15418. description: OK
  15419. schema:
  15420. items:
  15421. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  15422. type: array
  15423. "500":
  15424. description: Internal Server Error
  15425. schema:
  15426. $ref: '#/definitions/app.Response'
  15427. security:
  15428. - ApiKeyAuth: []
  15429. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  15430. tags:
  15431. - 企业风险管理v3(app)
  15432. /Ermcp3/QueryAreaStockReport:
  15433. get:
  15434. parameters:
  15435. - description: 用户ID
  15436. in: query
  15437. name: userid
  15438. required: true
  15439. type: integer
  15440. - description: 查询类型 1-日报表 2-月报表
  15441. in: query
  15442. name: querytype
  15443. required: true
  15444. type: integer
  15445. - description: 查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)
  15446. in: query
  15447. name: querydate
  15448. required: true
  15449. type: string
  15450. - description: 现货商品ID
  15451. in: query
  15452. name: deliverygoodsid
  15453. type: integer
  15454. - description: 品类ID
  15455. in: query
  15456. name: wrstandardid
  15457. type: integer
  15458. - description: 品牌ID
  15459. in: query
  15460. name: spotgoodsbrandid
  15461. type: integer
  15462. - description: 仓库ID
  15463. in: query
  15464. name: warehouseinfoid
  15465. type: integer
  15466. produces:
  15467. - application/json
  15468. responses:
  15469. "200":
  15470. description: OK
  15471. schema:
  15472. items:
  15473. $ref: '#/definitions/models.Ermcp3AreaStockReport'
  15474. type: array
  15475. "500":
  15476. description: Internal Server Error
  15477. schema:
  15478. $ref: '#/definitions/app.Response'
  15479. security:
  15480. - ApiKeyAuth: []
  15481. summary: 查询库存报表
  15482. tags:
  15483. - 企业风险管理v3(app)
  15484. /Ermcp3/QueryAreaStockReportDetail:
  15485. get:
  15486. parameters:
  15487. - description: 用户ID
  15488. in: query
  15489. name: userid
  15490. required: true
  15491. type: integer
  15492. - description: 查询类型 1-日报表明细 2-月报表明细
  15493. in: query
  15494. name: querytype
  15495. required: true
  15496. type: integer
  15497. - description: 明细类型 1:入库明细(采购入库+生产入库) 2:出库明细(销售出库+生产出库)
  15498. in: query
  15499. name: detailtype
  15500. required: true
  15501. type: integer
  15502. - description: 查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)
  15503. in: query
  15504. name: querydate
  15505. required: true
  15506. type: string
  15507. - description: 现货商品ID
  15508. in: query
  15509. name: deliverygoodsid
  15510. type: integer
  15511. - description: 品类ID
  15512. in: query
  15513. name: wrstandardid
  15514. type: integer
  15515. - description: 品牌ID
  15516. in: query
  15517. name: spotgoodsbrandid
  15518. type: integer
  15519. - description: 仓库ID
  15520. in: query
  15521. name: warehouseinfoid
  15522. type: integer
  15523. produces:
  15524. - application/json
  15525. responses:
  15526. "200":
  15527. description: OK
  15528. schema:
  15529. items:
  15530. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  15531. type: array
  15532. "500":
  15533. description: Internal Server Error
  15534. schema:
  15535. $ref: '#/definitions/app.Response'
  15536. security:
  15537. - ApiKeyAuth: []
  15538. summary: 查询库存报表明细
  15539. tags:
  15540. - 企业风险管理v3(app)
  15541. /Ermcp3/QueryDGFactoryItem:
  15542. get:
  15543. parameters:
  15544. - description: 所属机构ID
  15545. in: query
  15546. name: areauserid
  15547. type: integer
  15548. - description: 选择项ID(SEQ_DGFACTORYITEM)
  15549. in: query
  15550. name: dgfactoryitemid
  15551. type: integer
  15552. - description: 现货品种ID
  15553. in: query
  15554. name: deliverygoodsid
  15555. type: integer
  15556. - description: 要素项类型
  15557. in: query
  15558. name: dgfactoryitemtypeid
  15559. type: integer
  15560. - description: 顺序
  15561. in: query
  15562. name: orderindex
  15563. type: integer
  15564. produces:
  15565. - application/json
  15566. responses:
  15567. "200":
  15568. description: OK
  15569. schema:
  15570. items:
  15571. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  15572. type: array
  15573. "500":
  15574. description: Internal Server Error
  15575. schema:
  15576. $ref: '#/definitions/app.Response'
  15577. security:
  15578. - ApiKeyAuth: []
  15579. summary: 查询品种要素定义项
  15580. tags:
  15581. - 企业风险管理v3(app)
  15582. /Ermcp3/QueryDeliveryGoods:
  15583. get:
  15584. parameters:
  15585. - description: 所属机构id
  15586. in: query
  15587. name: areauserid
  15588. required: true
  15589. type: integer
  15590. - description: 排除已配置的现货商品 1-排除
  15591. in: query
  15592. name: excludecfg
  15593. type: integer
  15594. produces:
  15595. - application/json
  15596. responses:
  15597. "200":
  15598. description: OK
  15599. schema:
  15600. items:
  15601. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  15602. type: array
  15603. "500":
  15604. description: Internal Server Error
  15605. schema:
  15606. $ref: '#/definitions/app.Response'
  15607. security:
  15608. - ApiKeyAuth: []
  15609. summary: 查询现货商品
  15610. tags:
  15611. - 企业风险管理v3(app)
  15612. /Ermcp3/QueryDeliveryGoodsDetail:
  15613. get:
  15614. parameters:
  15615. - description: 所属机构id
  15616. in: query
  15617. name: areauserid
  15618. required: true
  15619. type: integer
  15620. - description: 现货商品id
  15621. in: query
  15622. name: deliverygoodsid
  15623. type: integer
  15624. produces:
  15625. - application/json
  15626. responses:
  15627. "200":
  15628. description: OK
  15629. schema:
  15630. items:
  15631. $ref: '#/definitions/models.ErmcpDeliveryGoodsDetailEx'
  15632. type: array
  15633. "500":
  15634. description: Internal Server Error
  15635. schema:
  15636. $ref: '#/definitions/app.Response'
  15637. security:
  15638. - ApiKeyAuth: []
  15639. summary: 查询现货商品详情
  15640. tags:
  15641. - 企业风险管理v3(app)
  15642. /Ermcp3/QueryExposureDetail:
  15643. get:
  15644. parameters:
  15645. - description: 所属机构ID
  15646. in: query
  15647. name: areauserid
  15648. required: true
  15649. type: integer
  15650. - description: 套保商品
  15651. in: query
  15652. name: middlegoodsid
  15653. required: true
  15654. type: integer
  15655. produces:
  15656. - application/json
  15657. responses:
  15658. "200":
  15659. description: OK
  15660. schema:
  15661. items:
  15662. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  15663. type: array
  15664. "500":
  15665. description: Internal Server Error
  15666. schema:
  15667. $ref: '#/definitions/app.Response'
  15668. security:
  15669. - ApiKeyAuth: []
  15670. summary: 查询敞口现货明细
  15671. tags:
  15672. - 企业风险管理v3(app)
  15673. /Ermcp3/QueryExposureSpot:
  15674. get:
  15675. parameters:
  15676. - description: 所属机构ID
  15677. in: query
  15678. name: areauserid
  15679. required: true
  15680. type: integer
  15681. produces:
  15682. - application/json
  15683. responses:
  15684. "200":
  15685. description: OK
  15686. schema:
  15687. items:
  15688. $ref: '#/definitions/models.Ermcp3AreaSpot'
  15689. type: array
  15690. "500":
  15691. description: Internal Server Error
  15692. schema:
  15693. $ref: '#/definitions/app.Response'
  15694. security:
  15695. - ApiKeyAuth: []
  15696. summary: 查询敞口现货头寸(敞口/现货头寸)
  15697. tags:
  15698. - 企业风险管理v3(app)
  15699. /Ermcp3/QueryExposureSpotDetail:
  15700. get:
  15701. parameters:
  15702. - description: 所属机构ID
  15703. in: query
  15704. name: areauserid
  15705. required: true
  15706. type: integer
  15707. - description: 现货品种ID
  15708. in: query
  15709. name: deliverygoodsid
  15710. required: true
  15711. type: integer
  15712. produces:
  15713. - application/json
  15714. responses:
  15715. "200":
  15716. description: OK
  15717. schema:
  15718. items:
  15719. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  15720. type: array
  15721. "500":
  15722. description: Internal Server Error
  15723. schema:
  15724. $ref: '#/definitions/app.Response'
  15725. security:
  15726. - ApiKeyAuth: []
  15727. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  15728. tags:
  15729. - 企业风险管理v3(app)
  15730. /Ermcp3/QueryGoodsGroup:
  15731. get:
  15732. parameters:
  15733. - description: 所属机构id
  15734. in: query
  15735. name: areauserid
  15736. required: true
  15737. type: integer
  15738. - description: 排除套保品中已关联的商品组 1-排除
  15739. in: query
  15740. name: excludecfg
  15741. type: integer
  15742. produces:
  15743. - application/json
  15744. responses:
  15745. "200":
  15746. description: OK
  15747. schema:
  15748. items:
  15749. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  15750. type: array
  15751. "500":
  15752. description: Internal Server Error
  15753. schema:
  15754. $ref: '#/definitions/app.Response'
  15755. security:
  15756. - ApiKeyAuth: []
  15757. summary: 查询期货商品组
  15758. tags:
  15759. - 企业风险管理v3(app)
  15760. /Ermcp3/QueryGoodsWrstandard:
  15761. get:
  15762. parameters:
  15763. - description: 所属机构ID
  15764. in: query
  15765. name: areauserid
  15766. required: true
  15767. type: integer
  15768. - description: 现货商品id
  15769. in: query
  15770. name: deliverygoodsid
  15771. type: integer
  15772. produces:
  15773. - application/json
  15774. responses:
  15775. "200":
  15776. description: OK
  15777. schema:
  15778. items:
  15779. $ref: '#/definitions/models.Ermcp3Wrstandard'
  15780. type: array
  15781. "500":
  15782. description: Internal Server Error
  15783. schema:
  15784. $ref: '#/definitions/app.Response'
  15785. security:
  15786. - ApiKeyAuth: []
  15787. summary: 查询商品品类
  15788. tags:
  15789. - 企业风险管理v3(app)
  15790. /Ermcp3/QueryGoodsbrand:
  15791. get:
  15792. parameters:
  15793. - description: 所属机构ID
  15794. in: query
  15795. name: areauserid
  15796. required: true
  15797. type: integer
  15798. produces:
  15799. - application/json
  15800. responses:
  15801. "200":
  15802. description: OK
  15803. schema:
  15804. items:
  15805. $ref: '#/definitions/models.Ermcp3Brand'
  15806. type: array
  15807. "500":
  15808. description: Internal Server Error
  15809. schema:
  15810. $ref: '#/definitions/app.Response'
  15811. security:
  15812. - ApiKeyAuth: []
  15813. summary: 查询商品品牌
  15814. tags:
  15815. - 企业风险管理v3(app)
  15816. /Ermcp3/QueryHedgePlan:
  15817. get:
  15818. parameters:
  15819. - description: 用户ID
  15820. in: query
  15821. name: userid
  15822. required: true
  15823. type: integer
  15824. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  15825. in: query
  15826. name: hedgeplanstatus
  15827. required: true
  15828. type: string
  15829. produces:
  15830. - application/json
  15831. responses:
  15832. "200":
  15833. description: OK
  15834. schema:
  15835. items:
  15836. $ref: '#/definitions/models.Ermcp3HedgePlan'
  15837. type: array
  15838. "500":
  15839. description: Internal Server Error
  15840. schema:
  15841. $ref: '#/definitions/app.Response'
  15842. security:
  15843. - ApiKeyAuth: []
  15844. summary: 查询套保计划
  15845. tags:
  15846. - 企业风险管理v3(app)
  15847. /Ermcp3/QueryMiddleGoodsDetail:
  15848. get:
  15849. parameters:
  15850. - description: 所属机构ID
  15851. in: query
  15852. name: areauserid
  15853. required: true
  15854. type: integer
  15855. - description: 套保品种id
  15856. in: query
  15857. name: middlegoodsid
  15858. type: integer
  15859. produces:
  15860. - application/json
  15861. responses:
  15862. "200":
  15863. description: OK
  15864. schema:
  15865. items:
  15866. $ref: '#/definitions/models.Ermcp3MiddleGoodsDetailEx'
  15867. type: array
  15868. "500":
  15869. description: Internal Server Error
  15870. schema:
  15871. $ref: '#/definitions/app.Response'
  15872. security:
  15873. - ApiKeyAuth: []
  15874. summary: 查询套保品种详情(套保品种/商品详情)
  15875. tags:
  15876. - 企业风险管理v3(app)
  15877. /Ermcp3/QuerySpotContract:
  15878. get:
  15879. parameters:
  15880. - description: 所属机构ID
  15881. in: query
  15882. name: areauserid
  15883. required: true
  15884. type: integer
  15885. - description: 查询类型 1-未提交 2-待审核 3-履约中 4-已完成
  15886. in: query
  15887. name: querytype
  15888. required: true
  15889. type: integer
  15890. - description: 用户ID
  15891. in: query
  15892. name: userid
  15893. type: integer
  15894. - description: 用户类型 2-机构 7-企业成员
  15895. in: query
  15896. name: usertype
  15897. type: integer
  15898. - description: 合同ID(SpotContractId)
  15899. in: query
  15900. name: contractid
  15901. type: string
  15902. produces:
  15903. - application/json
  15904. responses:
  15905. "200":
  15906. description: OK
  15907. schema:
  15908. items:
  15909. $ref: '#/definitions/models.Ermcp3Contract'
  15910. type: array
  15911. "500":
  15912. description: Internal Server Error
  15913. schema:
  15914. $ref: '#/definitions/app.Response'
  15915. security:
  15916. - ApiKeyAuth: []
  15917. summary: 查询现货合同
  15918. tags:
  15919. - 企业风险管理v3(app)
  15920. /Ermcp3/QuerySpotContractBS:
  15921. get:
  15922. parameters:
  15923. - description: 所属机构ID
  15924. in: query
  15925. name: areauserid
  15926. required: true
  15927. type: integer
  15928. - description: 合同类型 1-采购, -1-销售
  15929. in: query
  15930. name: contracttype
  15931. required: true
  15932. type: integer
  15933. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  15934. in: query
  15935. name: querytype
  15936. required: true
  15937. type: integer
  15938. - description: 用户ID
  15939. in: query
  15940. name: userid
  15941. type: integer
  15942. - description: 用户类型 2-机构 7-企业成员
  15943. in: query
  15944. name: usertype
  15945. type: integer
  15946. - description: 合同ID(SpotContractId)
  15947. in: query
  15948. name: contractid
  15949. type: string
  15950. produces:
  15951. - application/json
  15952. responses:
  15953. "200":
  15954. description: OK
  15955. schema:
  15956. items:
  15957. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  15958. type: array
  15959. "500":
  15960. description: Internal Server Error
  15961. schema:
  15962. $ref: '#/definitions/app.Response'
  15963. security:
  15964. - ApiKeyAuth: []
  15965. summary: 查询合同(采购/销售)
  15966. tags:
  15967. - 企业风险管理v3(app)
  15968. /Ermcp3/QuerySpotGoodsPrice:
  15969. get:
  15970. parameters:
  15971. - description: 用户ID
  15972. in: query
  15973. name: userid
  15974. required: true
  15975. type: integer
  15976. produces:
  15977. - application/json
  15978. responses:
  15979. "200":
  15980. description: OK
  15981. schema:
  15982. items:
  15983. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  15984. type: array
  15985. "500":
  15986. description: Internal Server Error
  15987. schema:
  15988. $ref: '#/definitions/app.Response'
  15989. security:
  15990. - ApiKeyAuth: []
  15991. summary: 查询现货市价(现货市价)
  15992. tags:
  15993. - 企业风险管理v3(app)
  15994. /Ermcp3/QuerySpotGoodsPriceLog:
  15995. get:
  15996. parameters:
  15997. - description: 用户ID
  15998. in: query
  15999. name: userid
  16000. required: true
  16001. type: integer
  16002. - description: 现货商品ID
  16003. in: query
  16004. name: deliverygoodsid
  16005. required: true
  16006. type: integer
  16007. - description: 品牌ID
  16008. in: query
  16009. name: brandid
  16010. type: integer
  16011. - description: 品类ID
  16012. in: query
  16013. name: wrstandardid
  16014. type: integer
  16015. produces:
  16016. - application/json
  16017. responses:
  16018. "200":
  16019. description: OK
  16020. schema:
  16021. items:
  16022. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  16023. type: array
  16024. "500":
  16025. description: Internal Server Error
  16026. schema:
  16027. $ref: '#/definitions/app.Response'
  16028. security:
  16029. - ApiKeyAuth: []
  16030. summary: 查询现货市价详情(现货市价/详情)
  16031. tags:
  16032. - 企业风险管理v3(app)
  16033. /Erms2/QueryArbitrageStrategy:
  16034. get:
  16035. parameters:
  16036. - description: 账户ID
  16037. in: query
  16038. name: userid
  16039. required: true
  16040. type: integer
  16041. - description: 商品组ID(品种ID)
  16042. in: query
  16043. name: goodsgroupid
  16044. type: string
  16045. produces:
  16046. - application/json
  16047. responses:
  16048. "200":
  16049. description: OK
  16050. schema:
  16051. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  16052. "500":
  16053. description: Internal Server Error
  16054. schema:
  16055. $ref: '#/definitions/app.Response'
  16056. security:
  16057. - ApiKeyAuth: []
  16058. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  16059. tags:
  16060. - 风险管理
  16061. /Erms2/QueryInnerTradeDetail:
  16062. get:
  16063. parameters:
  16064. - description: 资金账户
  16065. in: query
  16066. name: accountid
  16067. required: true
  16068. type: integer
  16069. produces:
  16070. - application/json
  16071. responses:
  16072. "200":
  16073. description: OK
  16074. schema:
  16075. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  16076. "500":
  16077. description: Internal Server Error
  16078. schema:
  16079. $ref: '#/definitions/app.Response'
  16080. security:
  16081. - ApiKeyAuth: []
  16082. summary: 查询内部成交单信息
  16083. tags:
  16084. - 风险管理
  16085. /Erms2/QuerySpotContract:
  16086. get:
  16087. parameters:
  16088. - description: 策略申请ID
  16089. in: query
  16090. name: asapplyid
  16091. required: true
  16092. type: integer
  16093. - description: 现货合同ID
  16094. in: query
  16095. name: spotcontractid
  16096. type: integer
  16097. produces:
  16098. - application/json
  16099. responses:
  16100. "200":
  16101. description: OK
  16102. schema:
  16103. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  16104. "500":
  16105. description: Internal Server Error
  16106. schema:
  16107. $ref: '#/definitions/app.Response'
  16108. security:
  16109. - ApiKeyAuth: []
  16110. summary: 查询现货合同表信息(指定策略ID、未结束的)
  16111. tags:
  16112. - 风险管理
  16113. /Erms3/AddErms2ASApply:
  16114. post:
  16115. parameters:
  16116. - description: 申请参数
  16117. in: body
  16118. name: jsonBody
  16119. required: true
  16120. schema:
  16121. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  16122. produces:
  16123. - application/json
  16124. responses:
  16125. "200":
  16126. description: OK
  16127. schema:
  16128. $ref: '#/definitions/app.Response'
  16129. "500":
  16130. description: Internal Server Error
  16131. schema:
  16132. $ref: '#/definitions/app.Response'
  16133. security:
  16134. - ApiKeyAuth: []
  16135. summary: 新增期现套利业务申请
  16136. tags:
  16137. - 风险管理v3
  16138. /Erms3/AddErms2SpotTradeApply:
  16139. post:
  16140. parameters:
  16141. - description: 申请参数
  16142. in: body
  16143. name: jsonBody
  16144. required: true
  16145. schema:
  16146. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  16147. produces:
  16148. - application/json
  16149. responses:
  16150. "200":
  16151. description: OK
  16152. schema:
  16153. $ref: '#/definitions/app.Response'
  16154. "500":
  16155. description: Internal Server Error
  16156. schema:
  16157. $ref: '#/definitions/app.Response'
  16158. security:
  16159. - ApiKeyAuth: []
  16160. summary: 新增现货贸易业务申请
  16161. tags:
  16162. - 风险管理v3
  16163. /Erms3/AddSpotContractApply:
  16164. post:
  16165. parameters:
  16166. - description: 申请参数
  16167. in: body
  16168. name: jsonBody
  16169. required: true
  16170. schema:
  16171. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  16172. produces:
  16173. - application/json
  16174. responses:
  16175. "200":
  16176. description: OK
  16177. schema:
  16178. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  16179. "500":
  16180. description: Internal Server Error
  16181. schema:
  16182. $ref: '#/definitions/app.Response'
  16183. security:
  16184. - ApiKeyAuth: []
  16185. summary: 新增现货合同申请
  16186. tags:
  16187. - 风险管理v3
  16188. /Erms3/AddUserInfoApply:
  16189. post:
  16190. parameters:
  16191. - description: 用户信息
  16192. in: body
  16193. name: jsonBody
  16194. required: true
  16195. schema:
  16196. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  16197. produces:
  16198. - application/json
  16199. responses:
  16200. "200":
  16201. description: OK
  16202. schema:
  16203. $ref: '#/definitions/app.Response'
  16204. "500":
  16205. description: Internal Server Error
  16206. schema:
  16207. $ref: '#/definitions/app.Response'
  16208. security:
  16209. - ApiKeyAuth: []
  16210. summary: 新增客户申请
  16211. tags:
  16212. - 风险管理v3
  16213. /Erms3/DeleteUserInfoApply:
  16214. get:
  16215. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  16216. parameters:
  16217. - description: 用户ID
  16218. in: query
  16219. name: userID
  16220. required: true
  16221. type: integer
  16222. produces:
  16223. - application/json
  16224. responses:
  16225. "200":
  16226. description: OK
  16227. schema:
  16228. $ref: '#/definitions/app.Response'
  16229. "500":
  16230. description: Internal Server Error
  16231. schema:
  16232. $ref: '#/definitions/app.Response'
  16233. security:
  16234. - ApiKeyAuth: []
  16235. summary: 删除客户申请
  16236. tags:
  16237. - 风险管理v3
  16238. /Erms3/ModifyUserInfoApply:
  16239. post:
  16240. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  16241. int, "userstate": 2 }'
  16242. parameters:
  16243. - description: 用户信息
  16244. in: body
  16245. name: jsonBody
  16246. required: true
  16247. schema:
  16248. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  16249. produces:
  16250. - application/json
  16251. responses:
  16252. "200":
  16253. description: OK
  16254. schema:
  16255. $ref: '#/definitions/app.Response'
  16256. "500":
  16257. description: Internal Server Error
  16258. schema:
  16259. $ref: '#/definitions/app.Response'
  16260. security:
  16261. - ApiKeyAuth: []
  16262. summary: 修改客户申请
  16263. tags:
  16264. - 风险管理v3
  16265. /Erms3/QueryBusinessInfo:
  16266. get:
  16267. parameters:
  16268. - description: 资金账号ID列表,用逗号分隔
  16269. in: query
  16270. name: accountids
  16271. required: true
  16272. type: string
  16273. - description: 状态,0为未结束 1为已结束
  16274. in: query
  16275. name: status
  16276. required: true
  16277. type: integer
  16278. produces:
  16279. - application/json
  16280. responses:
  16281. "200":
  16282. description: OK
  16283. schema:
  16284. items:
  16285. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  16286. type: array
  16287. "500":
  16288. description: Internal Server Error
  16289. schema:
  16290. $ref: '#/definitions/app.Response'
  16291. security:
  16292. - ApiKeyAuth: []
  16293. summary: 查询业务表单数据
  16294. tags:
  16295. - 风险管理v3
  16296. /Erms3/QueryPendingAuditContract:
  16297. get:
  16298. parameters:
  16299. - description: 资金账号ID列表,逗号隔开
  16300. in: query
  16301. name: accountids
  16302. required: true
  16303. type: string
  16304. - description: 合同类型 1-采购 -1-销售
  16305. in: query
  16306. name: contracttype
  16307. required: true
  16308. type: integer
  16309. - description: 合同模式 1-普通 2-回购
  16310. in: query
  16311. name: contractmode
  16312. required: true
  16313. type: integer
  16314. produces:
  16315. - application/json
  16316. responses:
  16317. "200":
  16318. description: OK
  16319. schema:
  16320. items:
  16321. $ref: '#/definitions/erms3.QryAuditContractRsp'
  16322. type: array
  16323. "500":
  16324. description: Internal Server Error
  16325. schema:
  16326. $ref: '#/definitions/app.Response'
  16327. security:
  16328. - ApiKeyAuth: []
  16329. summary: 查询待审核合同
  16330. tags:
  16331. - 风险管理v3
  16332. /Erms3/QueryPendingBusiness:
  16333. get:
  16334. parameters:
  16335. - description: 资金账号ID列表,逗号隔开
  16336. in: query
  16337. name: accountids
  16338. required: true
  16339. type: string
  16340. produces:
  16341. - application/json
  16342. responses:
  16343. "200":
  16344. description: OK
  16345. schema:
  16346. items:
  16347. $ref: '#/definitions/erms3.QryPendingBizRsp'
  16348. type: array
  16349. "500":
  16350. description: Internal Server Error
  16351. schema:
  16352. $ref: '#/definitions/app.Response'
  16353. security:
  16354. - ApiKeyAuth: []
  16355. summary: 查询待审核基差贸易业务
  16356. tags:
  16357. - 风险管理v3
  16358. /Erms3/QuerySpotContractAppleForm:
  16359. get:
  16360. parameters:
  16361. - description: 登录账号
  16362. in: query
  16363. name: loginID
  16364. required: true
  16365. type: integer
  16366. produces:
  16367. - application/json
  16368. responses:
  16369. "200":
  16370. description: OK
  16371. schema:
  16372. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  16373. "500":
  16374. description: Internal Server Error
  16375. schema:
  16376. $ref: '#/definitions/app.Response'
  16377. security:
  16378. - ApiKeyAuth: []
  16379. summary: 查询合同申请表单数据
  16380. tags:
  16381. - 风险管理v3
  16382. /Erms3/QuerySpotContractDetail:
  16383. get:
  16384. parameters:
  16385. - description: 资金账号ID列表,用逗号分隔
  16386. in: query
  16387. name: accountids
  16388. required: true
  16389. type: string
  16390. - description: 合同类型,1为采购合同 -1为销售合同
  16391. in: query
  16392. name: contracttype
  16393. required: true
  16394. type: integer
  16395. - description: 合同模式,1为普通合同 2为回购销售合同
  16396. in: query
  16397. name: contractmode
  16398. required: true
  16399. type: integer
  16400. - description: 状态,0为履约中 1为已完成
  16401. in: query
  16402. name: status
  16403. required: true
  16404. type: integer
  16405. produces:
  16406. - application/json
  16407. responses:
  16408. "200":
  16409. description: OK
  16410. schema:
  16411. items:
  16412. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  16413. type: array
  16414. "500":
  16415. description: Internal Server Error
  16416. schema:
  16417. $ref: '#/definitions/app.Response'
  16418. security:
  16419. - ApiKeyAuth: []
  16420. summary: 查询合同详细信息
  16421. tags:
  16422. - 风险管理v3
  16423. /Erms3/QueryUserInfoApplies:
  16424. get:
  16425. parameters:
  16426. - description: 页码
  16427. in: query
  16428. name: page
  16429. type: integer
  16430. - description: 每页条数
  16431. in: query
  16432. name: pagesize
  16433. type: integer
  16434. - description: 客户名称,支持模糊查询
  16435. in: query
  16436. name: userName
  16437. type: string
  16438. produces:
  16439. - application/json
  16440. responses:
  16441. "200":
  16442. description: OK
  16443. schema:
  16444. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  16445. "500":
  16446. description: Internal Server Error
  16447. schema:
  16448. $ref: '#/definitions/app.Response'
  16449. security:
  16450. - ApiKeyAuth: []
  16451. summary: 客户申请信息查询
  16452. tags:
  16453. - 风险管理v3
  16454. /Erms3/QueryUserInfos:
  16455. get:
  16456. parameters:
  16457. - description: 页码
  16458. in: query
  16459. name: page
  16460. type: integer
  16461. - description: 每页条数
  16462. in: query
  16463. name: pagesize
  16464. type: integer
  16465. - description: 客户名称,支持模糊查询
  16466. in: query
  16467. name: userName
  16468. type: string
  16469. produces:
  16470. - application/json
  16471. responses:
  16472. "200":
  16473. description: OK
  16474. schema:
  16475. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  16476. "500":
  16477. description: Internal Server Error
  16478. schema:
  16479. $ref: '#/definitions/app.Response'
  16480. security:
  16481. - ApiKeyAuth: []
  16482. summary: 客户信息查询
  16483. tags:
  16484. - 风险管理v3
  16485. /HSBY/GetHsbyMyCount:
  16486. get:
  16487. description: 说明: 不包括已完成的数量。
  16488. parameters:
  16489. - description: 资金账户列表,格式:1,2,3
  16490. in: query
  16491. name: accountIDs
  16492. required: true
  16493. type: string
  16494. produces:
  16495. - application/json
  16496. responses:
  16497. "200":
  16498. description: OK
  16499. schema:
  16500. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  16501. "500":
  16502. description: Internal Server Error
  16503. schema:
  16504. $ref: '#/definitions/app.Response'
  16505. security:
  16506. - ApiKeyAuth: []
  16507. summary: 获取我的订单与包裹数量
  16508. tags:
  16509. - 定制【海商报业】
  16510. /HSBY/QueryClientFixedADConfigs:
  16511. get:
  16512. produces:
  16513. - application/json
  16514. responses:
  16515. "200":
  16516. description: OK
  16517. schema:
  16518. $ref: '#/definitions/models.Clientfixedadconfig'
  16519. "500":
  16520. description: Internal Server Error
  16521. schema:
  16522. $ref: '#/definitions/app.Response'
  16523. security:
  16524. - ApiKeyAuth: []
  16525. summary: 获取终端固定广告配置
  16526. tags:
  16527. - 定制【海商报业】
  16528. /HSBY/QueryHsbyBuyMyTradeDetail:
  16529. get:
  16530. parameters:
  16531. - description: 页码
  16532. in: query
  16533. name: page
  16534. type: integer
  16535. - description: 每页条数
  16536. in: query
  16537. name: pagesize
  16538. type: integer
  16539. - description: 资金账户列表,格式:1,2,3
  16540. in: query
  16541. name: accountIDs
  16542. required: true
  16543. type: string
  16544. produces:
  16545. - application/json
  16546. responses:
  16547. "200":
  16548. description: OK
  16549. schema:
  16550. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  16551. "500":
  16552. description: Internal Server Error
  16553. schema:
  16554. $ref: '#/definitions/app.Response'
  16555. security:
  16556. - ApiKeyAuth: []
  16557. summary: 查询"我的订单 - 已完成"单据信息
  16558. tags:
  16559. - 定制【海商报业】
  16560. /HSBY/QueryHsbyGoodsOrderDetails:
  16561. get:
  16562. description: 说明:查询结果已按委托价格和委托时间排序
  16563. parameters:
  16564. - description: 商品ID
  16565. in: query
  16566. name: goodsID
  16567. required: true
  16568. type: integer
  16569. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  16570. in: query
  16571. name: accountIDs
  16572. type: string
  16573. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  16574. in: query
  16575. name: buyOrSell
  16576. type: integer
  16577. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  16578. in: query
  16579. name: price
  16580. type: number
  16581. - description: 档位,不传则默认为3档
  16582. in: query
  16583. name: speed
  16584. type: integer
  16585. produces:
  16586. - application/json
  16587. responses:
  16588. "200":
  16589. description: OK
  16590. schema:
  16591. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  16592. "500":
  16593. description: Internal Server Error
  16594. schema:
  16595. $ref: '#/definitions/app.Response'
  16596. security:
  16597. - ApiKeyAuth: []
  16598. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  16599. tags:
  16600. - 定制【海商报业】
  16601. /HSBY/QueryHsbyListingGoodsDetail:
  16602. get:
  16603. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  16604. parameters:
  16605. - description: 商品ID
  16606. in: query
  16607. name: goodsID
  16608. required: true
  16609. type: integer
  16610. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  16611. in: query
  16612. name: accountID
  16613. type: integer
  16614. produces:
  16615. - application/json
  16616. responses:
  16617. "200":
  16618. description: OK
  16619. schema:
  16620. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  16621. "500":
  16622. description: Internal Server Error
  16623. schema:
  16624. $ref: '#/definitions/app.Response'
  16625. security:
  16626. - ApiKeyAuth: []
  16627. summary: 查询二级市场(挂牌点选)商品信息详情
  16628. tags:
  16629. - 定制【海商报业】
  16630. /HSBY/QueryHsbyMarketGoodsDetail:
  16631. get:
  16632. parameters:
  16633. - description: 委托单号
  16634. in: query
  16635. name: orderID
  16636. required: true
  16637. type: integer
  16638. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  16639. in: query
  16640. name: accountID
  16641. type: integer
  16642. produces:
  16643. - application/json
  16644. responses:
  16645. "200":
  16646. description: OK
  16647. schema:
  16648. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  16649. "500":
  16650. description: Internal Server Error
  16651. schema:
  16652. $ref: '#/definitions/app.Response'
  16653. security:
  16654. - ApiKeyAuth: []
  16655. summary: 查询三级市场(商城)商品信息详情
  16656. tags:
  16657. - 定制【海商报业】
  16658. /HSBY/QueryHsbyMarketGoodses:
  16659. get:
  16660. parameters:
  16661. - description: 页码
  16662. in: query
  16663. name: page
  16664. type: integer
  16665. - description: 每页条数
  16666. in: query
  16667. name: pagesize
  16668. type: integer
  16669. - description: 市场ID列表,格式:1,2,3
  16670. in: query
  16671. name: marketIDs
  16672. required: true
  16673. type: string
  16674. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  16675. in: query
  16676. name: accountID
  16677. required: true
  16678. type: integer
  16679. - description: 类别ID
  16680. in: query
  16681. name: categoryID
  16682. type: integer
  16683. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  16684. in: query
  16685. name: goodsIDs
  16686. type: string
  16687. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  16688. in: query
  16689. name: couponTypeID
  16690. type: integer
  16691. produces:
  16692. - application/json
  16693. responses:
  16694. "200":
  16695. description: OK
  16696. schema:
  16697. $ref: '#/definitions/models.HsbyMarketGoods'
  16698. "500":
  16699. description: Internal Server Error
  16700. schema:
  16701. $ref: '#/definitions/app.Response'
  16702. security:
  16703. - ApiKeyAuth: []
  16704. summary: 查询特卖商品列表(三级商城)
  16705. tags:
  16706. - 定制【海商报业】
  16707. /HSBY/QueryHsbyMarkets:
  16708. get:
  16709. produces:
  16710. - application/json
  16711. responses:
  16712. "200":
  16713. description: OK
  16714. schema:
  16715. $ref: '#/definitions/models.HsbyMarketInfo'
  16716. "500":
  16717. description: Internal Server Error
  16718. schema:
  16719. $ref: '#/definitions/app.Response'
  16720. security:
  16721. - ApiKeyAuth: []
  16722. summary: 查询海商报业相关市场信息
  16723. tags:
  16724. - 定制【海商报业】
  16725. /HSBY/QueryHsbyMyBuyOrderDetails:
  16726. get:
  16727. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  16728. parameters:
  16729. - description: 资金账户列表,格式:1,2,3
  16730. in: query
  16731. name: accountIDs
  16732. required: true
  16733. type: string
  16734. produces:
  16735. - application/json
  16736. responses:
  16737. "200":
  16738. description: OK
  16739. schema:
  16740. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  16741. "500":
  16742. description: Internal Server Error
  16743. schema:
  16744. $ref: '#/definitions/app.Response'
  16745. security:
  16746. - ApiKeyAuth: []
  16747. summary: 查询“我的订单”信息
  16748. tags:
  16749. - 定制【海商报业】
  16750. /HSBY/QueryHsbyMyGoods:
  16751. get:
  16752. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  16753. parameters:
  16754. - description: 资金账户列表,格式:1,2,3
  16755. in: query
  16756. name: accountIDs
  16757. required: true
  16758. type: string
  16759. produces:
  16760. - application/json
  16761. responses:
  16762. "200":
  16763. description: OK
  16764. schema:
  16765. $ref: '#/definitions/models.HsbyMyGoods'
  16766. "500":
  16767. description: Internal Server Error
  16768. schema:
  16769. $ref: '#/definitions/app.Response'
  16770. security:
  16771. - ApiKeyAuth: []
  16772. summary: 查询“我的商品”信息
  16773. tags:
  16774. - 定制【海商报业】
  16775. /HSBY/QueryHsbyMyPackages:
  16776. get:
  16777. parameters:
  16778. - description: 资金账户列表,格式:1,2,3
  16779. in: query
  16780. name: accountIDs
  16781. required: true
  16782. type: string
  16783. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  16784. in: query
  16785. name: takeOrderStatus
  16786. type: integer
  16787. produces:
  16788. - application/json
  16789. responses:
  16790. "200":
  16791. description: OK
  16792. schema:
  16793. $ref: '#/definitions/models.HsbyMyPackage'
  16794. "500":
  16795. description: Internal Server Error
  16796. schema:
  16797. $ref: '#/definitions/app.Response'
  16798. security:
  16799. - ApiKeyAuth: []
  16800. summary: 查询我的包裹信息
  16801. tags:
  16802. - 定制【海商报业】
  16803. /HSBY/QueryHsbyPreGoodsDetail:
  16804. get:
  16805. parameters:
  16806. - description: 商品ID
  16807. in: query
  16808. name: goodsID
  16809. required: true
  16810. type: integer
  16811. - description: 资金账户,主要用于获取预售商品购买上限
  16812. in: query
  16813. name: accountID
  16814. type: integer
  16815. produces:
  16816. - application/json
  16817. responses:
  16818. "200":
  16819. description: OK
  16820. schema:
  16821. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  16822. "500":
  16823. description: Internal Server Error
  16824. schema:
  16825. $ref: '#/definitions/app.Response'
  16826. security:
  16827. - ApiKeyAuth: []
  16828. summary: 查询一级市场(预售)商品信息详情
  16829. tags:
  16830. - 定制【海商报业】
  16831. /HSBY/QueryHsbyPreGoodses:
  16832. get:
  16833. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  16834. parameters:
  16835. - description: 页码
  16836. in: query
  16837. name: page
  16838. type: integer
  16839. - description: 每页条数
  16840. in: query
  16841. name: pagesize
  16842. type: integer
  16843. - description: 市场ID列表,格式:1,2,3
  16844. in: query
  16845. name: marketIDs
  16846. required: true
  16847. type: string
  16848. - description: 目的地(省)ID
  16849. in: query
  16850. name: descProvinceID
  16851. type: integer
  16852. - description: 目的地(市)ID
  16853. in: query
  16854. name: descCityID
  16855. type: integer
  16856. produces:
  16857. - application/json
  16858. responses:
  16859. "200":
  16860. description: OK
  16861. schema:
  16862. $ref: '#/definitions/models.HsbyPreGoods'
  16863. "500":
  16864. description: Internal Server Error
  16865. schema:
  16866. $ref: '#/definitions/app.Response'
  16867. security:
  16868. - ApiKeyAuth: []
  16869. summary: 查询新品上市商品列表(一级市场预售)
  16870. tags:
  16871. - 定制【海商报业】
  16872. /HSBY/QueryHsbySellMyDetails:
  16873. get:
  16874. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  16875. parameters:
  16876. - description: 页码
  16877. in: query
  16878. name: page
  16879. type: integer
  16880. - description: 每页条数
  16881. in: query
  16882. name: pagesize
  16883. type: integer
  16884. - description: 资金账户列表,格式:1,2,3
  16885. in: query
  16886. name: accountIDs
  16887. required: true
  16888. type: string
  16889. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  16890. in: query
  16891. name: orderType
  16892. type: integer
  16893. produces:
  16894. - application/json
  16895. responses:
  16896. "200":
  16897. description: OK
  16898. schema:
  16899. $ref: '#/definitions/models.HsbySellMyDetail'
  16900. "500":
  16901. description: Internal Server Error
  16902. schema:
  16903. $ref: '#/definitions/app.Response'
  16904. security:
  16905. - ApiKeyAuth: []
  16906. summary: 查询"我的闲置"单据信息
  16907. tags:
  16908. - 定制【海商报业】
  16909. /HSBY/QueryHsbyTopGoodses:
  16910. get:
  16911. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  16912. parameters:
  16913. - description: 页码
  16914. in: query
  16915. name: page
  16916. type: integer
  16917. - description: 每页条数
  16918. in: query
  16919. name: pagesize
  16920. type: integer
  16921. - description: 市场ID列表,格式:1,2,3
  16922. in: query
  16923. name: marketIDs
  16924. required: true
  16925. type: string
  16926. - description: 目的地(省)ID
  16927. in: query
  16928. name: descProvinceID
  16929. type: integer
  16930. - description: 目的地(市)ID
  16931. in: query
  16932. name: descCityID
  16933. type: integer
  16934. produces:
  16935. - application/json
  16936. responses:
  16937. "200":
  16938. description: OK
  16939. schema:
  16940. $ref: '#/definitions/models.HsbyTopGoods'
  16941. "500":
  16942. description: Internal Server Error
  16943. schema:
  16944. $ref: '#/definitions/app.Response'
  16945. security:
  16946. - ApiKeyAuth: []
  16947. summary: 查询热卖商品列表(二级市场挂牌点选)
  16948. tags:
  16949. - 定制【海商报业】
  16950. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  16951. get:
  16952. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  16953. parameters:
  16954. - description: 商品ID
  16955. in: query
  16956. name: goodsID
  16957. required: true
  16958. type: integer
  16959. produces:
  16960. - application/json
  16961. responses:
  16962. "200":
  16963. description: OK
  16964. schema:
  16965. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  16966. "500":
  16967. description: Internal Server Error
  16968. schema:
  16969. $ref: '#/definitions/app.Response'
  16970. security:
  16971. - ApiKeyAuth: []
  16972. summary: 查询游客三级市场(商城)商品信息详情
  16973. tags:
  16974. - 定制【海商报业】
  16975. /HSBY/QueryHsbyVisitorMarketGoodses:
  16976. get:
  16977. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  16978. parameters:
  16979. - description: 页码
  16980. in: query
  16981. name: page
  16982. type: integer
  16983. - description: 每页条数
  16984. in: query
  16985. name: pagesize
  16986. type: integer
  16987. - description: 市场ID列表,格式:1,2,3
  16988. in: query
  16989. name: marketIDs
  16990. required: true
  16991. type: string
  16992. - description: 类别ID
  16993. in: query
  16994. name: categoryID
  16995. type: integer
  16996. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  16997. in: query
  16998. name: goodsIDs
  16999. type: string
  17000. produces:
  17001. - application/json
  17002. responses:
  17003. "200":
  17004. description: OK
  17005. schema:
  17006. $ref: '#/definitions/models.HsbyMarketGoods'
  17007. "500":
  17008. description: Internal Server Error
  17009. schema:
  17010. $ref: '#/definitions/app.Response'
  17011. security:
  17012. - ApiKeyAuth: []
  17013. summary: 查询游客特卖商品列表(三级商城)
  17014. tags:
  17015. - 定制【海商报业】
  17016. /HSBY/QueryMyCollectionOrders:
  17017. get:
  17018. parameters:
  17019. - description: 页码
  17020. in: query
  17021. name: page
  17022. type: integer
  17023. - description: 每页条数
  17024. in: query
  17025. name: pagesize
  17026. type: integer
  17027. - description: 资金账户,格式:1,2,3
  17028. in: query
  17029. name: accountIDs
  17030. required: true
  17031. type: string
  17032. produces:
  17033. - application/json
  17034. responses:
  17035. "200":
  17036. description: OK
  17037. schema:
  17038. $ref: '#/definitions/models.HsbySellCollectionOrder'
  17039. "500":
  17040. description: Internal Server Error
  17041. schema:
  17042. $ref: '#/definitions/app.Response'
  17043. security:
  17044. - ApiKeyAuth: []
  17045. summary: 我的闲置中收款信息查询
  17046. tags:
  17047. - 定制【海商报业】
  17048. /HSBY/QueryMyCouponHolds:
  17049. get:
  17050. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  17051. parameters:
  17052. - description: 资金账户列表,格式:1,2,3
  17053. in: query
  17054. name: accountIDs
  17055. required: true
  17056. type: string
  17057. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  17058. in: query
  17059. name: holdStatus
  17060. type: string
  17061. produces:
  17062. - application/json
  17063. responses:
  17064. "200":
  17065. description: OK
  17066. schema:
  17067. $ref: '#/definitions/models.MyCouponHold'
  17068. "500":
  17069. description: Internal Server Error
  17070. schema:
  17071. $ref: '#/definitions/app.Response'
  17072. security:
  17073. - ApiKeyAuth: []
  17074. summary: 我的优惠卷持仓查询
  17075. tags:
  17076. - 定制【海商报业】
  17077. /HSBY/QueryMyCoupons:
  17078. get:
  17079. parameters:
  17080. - description: 资金账户列表,格式:1,2,3
  17081. in: query
  17082. name: accountIDs
  17083. required: true
  17084. type: string
  17085. - description: 商品ID, 一般与sellUserID配套传入
  17086. in: query
  17087. name: goodsID
  17088. type: integer
  17089. - description: 卖方UserID
  17090. in: query
  17091. name: sellUserID
  17092. type: integer
  17093. produces:
  17094. - application/json
  17095. responses:
  17096. "200":
  17097. description: OK
  17098. schema:
  17099. $ref: '#/definitions/models.MyCoupon'
  17100. "500":
  17101. description: Internal Server Error
  17102. schema:
  17103. $ref: '#/definitions/app.Response'
  17104. security:
  17105. - ApiKeyAuth: []
  17106. summary: 我的优惠卷查询
  17107. tags:
  17108. - 定制【海商报业】
  17109. /HSBY/QueryMyPayOrders:
  17110. get:
  17111. parameters:
  17112. - description: 页码
  17113. in: query
  17114. name: page
  17115. type: integer
  17116. - description: 每页条数
  17117. in: query
  17118. name: pagesize
  17119. type: integer
  17120. - description: 资金账户列表,格式:1,2,3
  17121. in: query
  17122. name: accountIDs
  17123. required: true
  17124. type: string
  17125. - description: 买方委托单号
  17126. in: query
  17127. name: buyOrderID
  17128. type: integer
  17129. - description: 卖方委托单号
  17130. in: query
  17131. name: sellOrderID
  17132. type: integer
  17133. produces:
  17134. - application/json
  17135. responses:
  17136. "200":
  17137. description: OK
  17138. schema:
  17139. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  17140. "500":
  17141. description: Internal Server Error
  17142. schema:
  17143. $ref: '#/definitions/app.Response'
  17144. security:
  17145. - ApiKeyAuth: []
  17146. summary: 获取我的订单中待付款信息
  17147. tags:
  17148. - 定制【海商报业】
  17149. /HSBY/QueryMyUsedCoupon:
  17150. get:
  17151. parameters:
  17152. - description: 资金账户列表,格式:1,2,3
  17153. in: query
  17154. name: accountIDs
  17155. required: true
  17156. type: string
  17157. produces:
  17158. - application/json
  17159. responses:
  17160. "200":
  17161. description: OK
  17162. schema:
  17163. $ref: '#/definitions/models.MyUsedCoupon'
  17164. "500":
  17165. description: Internal Server Error
  17166. schema:
  17167. $ref: '#/definitions/app.Response'
  17168. security:
  17169. - ApiKeyAuth: []
  17170. summary: 已使用优惠卷查询
  17171. tags:
  17172. - 定制【海商报业】
  17173. /HSBY/QueryProvincesAndCities:
  17174. get:
  17175. description: 查询结果只包括二级市场商品已关连的省市信息。
  17176. parameters:
  17177. - description: 省ID
  17178. in: query
  17179. name: provinceID
  17180. type: integer
  17181. produces:
  17182. - application/json
  17183. responses:
  17184. "200":
  17185. description: OK
  17186. schema:
  17187. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  17188. "500":
  17189. description: Internal Server Error
  17190. schema:
  17191. $ref: '#/definitions/app.Response'
  17192. security:
  17193. - ApiKeyAuth: []
  17194. summary: 查询省市信息(不包括区)
  17195. tags:
  17196. - 定制【海商报业】
  17197. /HSBY/SetHsbyMyPackagesStatus:
  17198. post:
  17199. parameters:
  17200. - description: 提货单号
  17201. in: query
  17202. name: takeOrderID
  17203. required: true
  17204. type: string
  17205. - description: 资金账号
  17206. in: query
  17207. name: accountID
  17208. required: true
  17209. type: integer
  17210. produces:
  17211. - application/json
  17212. responses:
  17213. "200":
  17214. description: OK
  17215. schema:
  17216. $ref: '#/definitions/app.Response'
  17217. "500":
  17218. description: Internal Server Error
  17219. schema:
  17220. $ref: '#/definitions/app.Response'
  17221. security:
  17222. - ApiKeyAuth: []
  17223. summary: 设置我的包裹已收货状态
  17224. tags:
  17225. - 定制【海商报业】
  17226. /Market/QueryGoodsesByLoginID:
  17227. get:
  17228. parameters:
  17229. - description: 登录账号
  17230. in: query
  17231. name: loginID
  17232. required: true
  17233. type: integer
  17234. - description: 市场ID列表,格式:1,2,3
  17235. in: query
  17236. name: marketIDs
  17237. type: string
  17238. produces:
  17239. - application/json
  17240. responses:
  17241. "200":
  17242. description: OK
  17243. schema:
  17244. $ref: '#/definitions/models.Goods'
  17245. "500":
  17246. description: Internal Server Error
  17247. schema:
  17248. $ref: '#/definitions/app.Response'
  17249. security:
  17250. - ApiKeyAuth: []
  17251. summary: 获取登录账号有权限的商品信息
  17252. tags:
  17253. - 通用市场
  17254. /Market/QueryMarketRun:
  17255. get:
  17256. parameters:
  17257. - description: 市场ID,不传返回所有
  17258. in: query
  17259. name: marketID
  17260. type: integer
  17261. produces:
  17262. - application/json
  17263. responses:
  17264. "200":
  17265. description: OK
  17266. schema:
  17267. $ref: '#/definitions/models.Marketrun'
  17268. "500":
  17269. description: Internal Server Error
  17270. schema:
  17271. $ref: '#/definitions/app.Response'
  17272. security:
  17273. - ApiKeyAuth: []
  17274. summary: 查询市场运行信息
  17275. tags:
  17276. - 通用市场
  17277. /Market/QueryMarketsByLoginID:
  17278. get:
  17279. parameters:
  17280. - description: 登录账号
  17281. in: query
  17282. name: loginID
  17283. required: true
  17284. type: integer
  17285. produces:
  17286. - application/json
  17287. responses:
  17288. "200":
  17289. description: OK
  17290. schema:
  17291. $ref: '#/definitions/models.Market'
  17292. "500":
  17293. description: Internal Server Error
  17294. schema:
  17295. $ref: '#/definitions/app.Response'
  17296. security:
  17297. - ApiKeyAuth: []
  17298. summary: 获取登录账号有权限的市场信息
  17299. tags:
  17300. - 通用市场
  17301. /Order/QueryHisTradeDetail:
  17302. get:
  17303. parameters:
  17304. - description: 资金账户 - 格式:1,2,3
  17305. in: query
  17306. name: accountID
  17307. required: true
  17308. type: string
  17309. - description: 成交单号
  17310. in: query
  17311. name: tradeID
  17312. type: integer
  17313. - description: 委托单号
  17314. in: query
  17315. name: orderID
  17316. type: integer
  17317. - description: 交易模式 - 格式:1,2,3
  17318. in: query
  17319. name: tradeMode
  17320. type: string
  17321. - description: 委托单据类型
  17322. in: query
  17323. name: buildType
  17324. type: integer
  17325. - description: 成交类别 - 格式:1,2,3
  17326. in: query
  17327. name: tradeType
  17328. type: string
  17329. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  17330. in: query
  17331. name: startDate
  17332. type: string
  17333. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  17334. in: query
  17335. name: endDate
  17336. type: string
  17337. produces:
  17338. - application/json
  17339. responses:
  17340. "200":
  17341. description: OK
  17342. schema:
  17343. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  17344. "500":
  17345. description: Internal Server Error
  17346. schema:
  17347. $ref: '#/definitions/app.Response'
  17348. security:
  17349. - ApiKeyAuth: []
  17350. summary: 历史成交单查询(合约市场)
  17351. tags:
  17352. - 通用单据
  17353. /Order/QueryHisTradeOrderDetail:
  17354. get:
  17355. parameters:
  17356. - description: 资金账户 - 格式:1,2,3
  17357. in: query
  17358. name: accountID
  17359. required: true
  17360. type: string
  17361. - description: 交易模式 - 格式:1,2,3
  17362. in: query
  17363. name: tradeMode
  17364. type: string
  17365. - description: 委托状态 - 格式:1,2,3
  17366. in: query
  17367. name: orderStatus
  17368. type: string
  17369. - description: 委托单号
  17370. in: query
  17371. name: orderID
  17372. type: integer
  17373. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  17374. in: query
  17375. name: startDate
  17376. type: string
  17377. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  17378. in: query
  17379. name: endDate
  17380. type: string
  17381. produces:
  17382. - application/json
  17383. responses:
  17384. "200":
  17385. description: OK
  17386. schema:
  17387. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  17388. "500":
  17389. description: Internal Server Error
  17390. schema:
  17391. $ref: '#/definitions/app.Response'
  17392. security:
  17393. - ApiKeyAuth: []
  17394. summary: 历史委托单查询请求(合约市场)
  17395. tags:
  17396. - 通用单据
  17397. /Order/QueryTradeDetail:
  17398. get:
  17399. parameters:
  17400. - description: 资金账户 - 格式:1,2,3
  17401. in: query
  17402. name: accountID
  17403. required: true
  17404. type: string
  17405. - description: 成交单号
  17406. in: query
  17407. name: tradeID
  17408. type: integer
  17409. - description: 委托单号
  17410. in: query
  17411. name: orderID
  17412. type: integer
  17413. - description: 交易模式 - 格式:1,2,3
  17414. in: query
  17415. name: tradeMode
  17416. type: string
  17417. - description: 委托单据类型
  17418. in: query
  17419. name: buildType
  17420. type: integer
  17421. - description: 成交类别 - 格式:1,2,3
  17422. in: query
  17423. name: tradeType
  17424. type: string
  17425. produces:
  17426. - application/json
  17427. responses:
  17428. "200":
  17429. description: OK
  17430. schema:
  17431. $ref: '#/definitions/order.QueryTradeDetailRsp'
  17432. "500":
  17433. description: Internal Server Error
  17434. schema:
  17435. $ref: '#/definitions/app.Response'
  17436. security:
  17437. - ApiKeyAuth: []
  17438. summary: 成交单查询(合约市场)
  17439. tags:
  17440. - 通用单据
  17441. /Order/QueryTradeOrderDetail:
  17442. get:
  17443. parameters:
  17444. - description: 资金账户 - 格式:1,2,3
  17445. in: query
  17446. name: accountID
  17447. required: true
  17448. type: string
  17449. - description: 交易模式 - 格式:1,2,3
  17450. in: query
  17451. name: tradeMode
  17452. type: string
  17453. - description: 委托状态 - 格式:1,2,3
  17454. in: query
  17455. name: orderStatus
  17456. type: string
  17457. - description: 委托单号
  17458. in: query
  17459. name: orderID
  17460. type: integer
  17461. produces:
  17462. - application/json
  17463. responses:
  17464. "200":
  17465. description: OK
  17466. schema:
  17467. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  17468. "500":
  17469. description: Internal Server Error
  17470. schema:
  17471. $ref: '#/definitions/app.Response'
  17472. security:
  17473. - ApiKeyAuth: []
  17474. summary: 委托单查询请求(合约市场)
  17475. tags:
  17476. - 通用单据
  17477. /Order/QueryTradePosition:
  17478. get:
  17479. parameters:
  17480. - description: 资金账户 - 格式:1,2,3
  17481. in: query
  17482. name: accountID
  17483. required: true
  17484. type: string
  17485. - description: 交易模式 - 格式:1,2,3
  17486. in: query
  17487. name: tradeMode
  17488. type: string
  17489. produces:
  17490. - application/json
  17491. responses:
  17492. "200":
  17493. description: OK
  17494. schema:
  17495. $ref: '#/definitions/order.QueryTradePositionRsp'
  17496. "500":
  17497. description: Internal Server Error
  17498. schema:
  17499. $ref: '#/definitions/app.Response'
  17500. security:
  17501. - ApiKeyAuth: []
  17502. summary: 持仓汇总查询(合约市场)
  17503. tags:
  17504. - 通用单据
  17505. /Quote/QueryHistoryDatas:
  17506. get:
  17507. parameters:
  17508. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  17509. 日线'
  17510. in: query
  17511. name: cycleType
  17512. required: true
  17513. type: integer
  17514. - description: 商品代码
  17515. in: query
  17516. name: goodsCode
  17517. required: true
  17518. type: string
  17519. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  17520. in: query
  17521. name: startTime
  17522. type: string
  17523. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  17524. in: query
  17525. name: endTime
  17526. type: string
  17527. - description: 条数
  17528. in: query
  17529. name: count
  17530. type: integer
  17531. - description: 是否按时间顺序排序(默认为时间倒序排序)
  17532. in: query
  17533. name: isAsc
  17534. type: boolean
  17535. produces:
  17536. - application/json
  17537. responses:
  17538. "200":
  17539. description: OK
  17540. schema:
  17541. $ref: '#/definitions/quote.HistoryData'
  17542. "500":
  17543. description: Internal Server Error
  17544. schema:
  17545. $ref: '#/definitions/app.Response'
  17546. security:
  17547. - ApiKeyAuth: []
  17548. summary: 查询行情历史数据
  17549. tags:
  17550. - 行情服务
  17551. /Quote/QueryHistoryTikDatas:
  17552. get:
  17553. parameters:
  17554. - description: 商品代码
  17555. in: query
  17556. name: goodsCode
  17557. required: true
  17558. type: string
  17559. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  17560. in: query
  17561. name: startTime
  17562. type: string
  17563. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  17564. in: query
  17565. name: endTime
  17566. type: string
  17567. - description: 条数
  17568. in: query
  17569. name: count
  17570. type: integer
  17571. - description: 是否按时间顺序排序(默认为时间倒序排序)
  17572. in: query
  17573. name: isAsc
  17574. type: boolean
  17575. produces:
  17576. - application/json
  17577. responses:
  17578. "200":
  17579. description: OK
  17580. schema:
  17581. $ref: '#/definitions/quote.HistoryTikData'
  17582. "500":
  17583. description: Internal Server Error
  17584. schema:
  17585. $ref: '#/definitions/app.Response'
  17586. security:
  17587. - ApiKeyAuth: []
  17588. summary: 查询行情Tik数据
  17589. tags:
  17590. - 行情服务
  17591. /Quote/QueryQuoteDay:
  17592. get:
  17593. parameters:
  17594. - description: 商品代码列表,格式:CU2102,CU2103,AL2107
  17595. in: query
  17596. name: goodsCodes
  17597. required: true
  17598. type: string
  17599. produces:
  17600. - application/json
  17601. responses:
  17602. "200":
  17603. description: OK
  17604. schema:
  17605. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  17606. "500":
  17607. description: Internal Server Error
  17608. schema:
  17609. $ref: '#/definitions/app.Response'
  17610. security:
  17611. - ApiKeyAuth: []
  17612. summary: 获取商品盘面信息
  17613. tags:
  17614. - 行情服务
  17615. /Quote/QueryTSData:
  17616. get:
  17617. parameters:
  17618. - description: 商品代码
  17619. in: query
  17620. name: goodsCode
  17621. required: true
  17622. type: string
  17623. produces:
  17624. - application/json
  17625. responses:
  17626. "200":
  17627. description: OK
  17628. schema:
  17629. $ref: '#/definitions/quote.QueryTSDataRsp'
  17630. "500":
  17631. description: Internal Server Error
  17632. schema:
  17633. $ref: '#/definitions/app.Response'
  17634. security:
  17635. - ApiKeyAuth: []
  17636. summary: 分时图数据查询
  17637. tags:
  17638. - 行情服务
  17639. /SZDZ/QueryConvertConfig:
  17640. get:
  17641. parameters:
  17642. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  17643. 6:交易转花生米(不设置)
  17644. in: query
  17645. name: convertType
  17646. type: integer
  17647. - description: 外部商品代码[JD\PD]
  17648. in: query
  17649. name: outerGoodsCode
  17650. type: string
  17651. - description: 内部商品ID列表[交易],格式:1,2,3
  17652. in: query
  17653. name: innerGoodsIDs
  17654. type: string
  17655. produces:
  17656. - application/json
  17657. responses:
  17658. "200":
  17659. description: OK
  17660. schema:
  17661. $ref: '#/definitions/models.Szdz3convertconfig'
  17662. "500":
  17663. description: Internal Server Error
  17664. schema:
  17665. $ref: '#/definitions/app.Response'
  17666. security:
  17667. - ApiKeyAuth: []
  17668. summary: 查询交易系统转换设置
  17669. tags:
  17670. - 定制【尚志大宗】
  17671. /SZDZ/QueryConvertLog:
  17672. get:
  17673. parameters:
  17674. - description: 资金账户 - 格式:1,2,3
  17675. in: query
  17676. name: accountID
  17677. required: true
  17678. type: string
  17679. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  17680. in: query
  17681. name: startDate
  17682. type: string
  17683. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  17684. in: query
  17685. name: endDate
  17686. type: string
  17687. produces:
  17688. - application/json
  17689. responses:
  17690. "200":
  17691. description: OK
  17692. schema:
  17693. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  17694. "500":
  17695. description: Internal Server Error
  17696. schema:
  17697. $ref: '#/definitions/app.Response'
  17698. security:
  17699. - ApiKeyAuth: []
  17700. summary: 交易系统转换流水查询
  17701. tags:
  17702. - 定制【尚志大宗】
  17703. /SZDZ/QueryGoodsPickup:
  17704. get:
  17705. parameters:
  17706. - description: 资金账户 - 格式:1,2,3
  17707. in: query
  17708. name: accountID
  17709. required: true
  17710. type: string
  17711. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  17712. in: query
  17713. name: takeOrderStatus
  17714. type: integer
  17715. produces:
  17716. - application/json
  17717. responses:
  17718. "200":
  17719. description: OK
  17720. schema:
  17721. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  17722. "500":
  17723. description: Internal Server Error
  17724. schema:
  17725. $ref: '#/definitions/app.Response'
  17726. security:
  17727. - ApiKeyAuth: []
  17728. summary: 商品提货单查询
  17729. tags:
  17730. - 定制【尚志大宗】
  17731. /SZDZ/QueryRecieptOrder:
  17732. get:
  17733. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  17734. parameters:
  17735. - description: 页码
  17736. in: query
  17737. name: page
  17738. type: integer
  17739. - description: 每页条数
  17740. in: query
  17741. name: pagesize
  17742. type: integer
  17743. - description: 商品ID
  17744. in: query
  17745. name: goodsID
  17746. required: true
  17747. type: integer
  17748. - description: 所属账户名称
  17749. in: query
  17750. name: accountName
  17751. type: string
  17752. - description: 市场ID
  17753. in: query
  17754. name: marketID
  17755. type: integer
  17756. - description: 方向 - 0:买 1:卖
  17757. in: query
  17758. name: buyorsell
  17759. required: true
  17760. type: integer
  17761. produces:
  17762. - application/json
  17763. responses:
  17764. "200":
  17765. description: OK
  17766. schema:
  17767. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  17768. "500":
  17769. description: Internal Server Error
  17770. schema:
  17771. $ref: '#/definitions/app.Response'
  17772. security:
  17773. - ApiKeyAuth: []
  17774. summary: 点选挂牌委托单据查询(摘牌大厅)
  17775. tags:
  17776. - 定制【尚志大宗】
  17777. /SZDZ/QuerySZDZTradePosition:
  17778. get:
  17779. parameters:
  17780. - description: 资金账户
  17781. in: query
  17782. name: accountID
  17783. required: true
  17784. type: integer
  17785. produces:
  17786. - application/json
  17787. responses:
  17788. "200":
  17789. description: OK
  17790. schema:
  17791. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  17792. "500":
  17793. description: Internal Server Error
  17794. schema:
  17795. $ref: '#/definitions/app.Response'
  17796. security:
  17797. - ApiKeyAuth: []
  17798. summary: 持仓汇总查询(尚志大宗)
  17799. tags:
  17800. - 定制【尚志大宗】
  17801. /SZDZ/SearchWhite:
  17802. get:
  17803. parameters:
  17804. - description: 用户ID
  17805. in: query
  17806. name: userID
  17807. required: true
  17808. type: integer
  17809. produces:
  17810. - application/json
  17811. responses:
  17812. "200":
  17813. description: OK
  17814. schema:
  17815. $ref: '#/definitions/models.Szdz3searchwhitelist'
  17816. "500":
  17817. description: Internal Server Error
  17818. schema:
  17819. $ref: '#/definitions/app.Response'
  17820. security:
  17821. - ApiKeyAuth: []
  17822. summary: 搜索白名单
  17823. tags:
  17824. - 定制【尚志大宗】
  17825. /Search/SearchGoodses:
  17826. get:
  17827. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  17828. parameters:
  17829. - description: 检索内容
  17830. in: query
  17831. name: content
  17832. required: true
  17833. type: string
  17834. - description: 交易模式,格式:1,2,3
  17835. in: query
  17836. name: tradeModes
  17837. type: string
  17838. produces:
  17839. - application/json
  17840. responses:
  17841. "200":
  17842. description: OK
  17843. schema:
  17844. $ref: '#/definitions/models.SearchGoods'
  17845. "500":
  17846. description: Internal Server Error
  17847. schema:
  17848. $ref: '#/definitions/app.Response'
  17849. summary: 检索商品信息
  17850. tags:
  17851. - 检索服务
  17852. /TaAccount/GetTaAccounts:
  17853. get:
  17854. parameters:
  17855. - description: 登录账户
  17856. in: query
  17857. name: loginID
  17858. required: true
  17859. type: integer
  17860. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  17861. in: query
  17862. name: taAccountType
  17863. type: integer
  17864. produces:
  17865. - application/json
  17866. responses:
  17867. "200":
  17868. description: OK
  17869. schema:
  17870. $ref: '#/definitions/models.Taaccount'
  17871. "500":
  17872. description: Internal Server Error
  17873. schema:
  17874. $ref: '#/definitions/app.Response'
  17875. security:
  17876. - ApiKeyAuth: []
  17877. summary: 获取资金账户信息
  17878. tags:
  17879. - 资金账户
  17880. /TaAccount/QueryAmountLog:
  17881. get:
  17882. parameters:
  17883. - description: 页码
  17884. in: query
  17885. name: page
  17886. type: integer
  17887. - description: 每页条数
  17888. in: query
  17889. name: pagesize
  17890. type: integer
  17891. - description: 资金账户 - 格式:1,2,3
  17892. in: query
  17893. name: accountID
  17894. required: true
  17895. type: string
  17896. - description: 资金操作类型 - 格式:1,2,3
  17897. in: query
  17898. name: OperateType
  17899. type: string
  17900. produces:
  17901. - application/json
  17902. responses:
  17903. "200":
  17904. description: OK
  17905. schema:
  17906. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  17907. "500":
  17908. description: Internal Server Error
  17909. schema:
  17910. $ref: '#/definitions/app.Response'
  17911. security:
  17912. - ApiKeyAuth: []
  17913. summary: 资金流水查询(当前)
  17914. tags:
  17915. - 资金账户
  17916. /TaAccount/QueryHisAmountLog:
  17917. get:
  17918. parameters:
  17919. - description: 页码
  17920. in: query
  17921. name: page
  17922. type: integer
  17923. - description: 每页条数
  17924. in: query
  17925. name: pagesize
  17926. type: integer
  17927. - description: 资金账户 - 格式:1,2,3
  17928. in: query
  17929. name: accountID
  17930. required: true
  17931. type: string
  17932. - description: 资金操作类型 - 格式:1,2,3
  17933. in: query
  17934. name: OperateType
  17935. type: string
  17936. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  17937. in: query
  17938. name: startDate
  17939. type: string
  17940. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  17941. in: query
  17942. name: endDate
  17943. type: string
  17944. produces:
  17945. - application/json
  17946. responses:
  17947. "200":
  17948. description: OK
  17949. schema:
  17950. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  17951. "500":
  17952. description: Internal Server Error
  17953. schema:
  17954. $ref: '#/definitions/app.Response'
  17955. security:
  17956. - ApiKeyAuth: []
  17957. summary: 资金流水查询(历史)
  17958. tags:
  17959. - 资金账户
  17960. /Trade/QueryRecieptOrder:
  17961. get:
  17962. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  17963. parameters:
  17964. - description: 页码
  17965. in: query
  17966. name: page
  17967. type: integer
  17968. - description: 每页条数
  17969. in: query
  17970. name: pagesize
  17971. type: integer
  17972. - description: 商品ID
  17973. in: query
  17974. name: goodsID
  17975. required: true
  17976. type: integer
  17977. - description: 所属账户名称
  17978. in: query
  17979. name: accountName
  17980. type: string
  17981. - description: 市场ID
  17982. in: query
  17983. name: marketID
  17984. type: integer
  17985. - description: 方向 - 0:买 1:卖
  17986. in: query
  17987. name: buyorsell
  17988. required: true
  17989. type: integer
  17990. produces:
  17991. - application/json
  17992. responses:
  17993. "200":
  17994. description: OK
  17995. schema:
  17996. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  17997. "500":
  17998. description: Internal Server Error
  17999. schema:
  18000. $ref: '#/definitions/app.Response'
  18001. security:
  18002. - ApiKeyAuth: []
  18003. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  18004. tags:
  18005. - 通用交易
  18006. /User/AddMessageBoard:
  18007. post:
  18008. parameters:
  18009. - description: 用户ID
  18010. in: query
  18011. name: userID
  18012. required: true
  18013. type: integer
  18014. - description: 留言信息
  18015. in: query
  18016. name: message
  18017. required: true
  18018. type: string
  18019. - description: 联系电话
  18020. in: query
  18021. name: contactNum
  18022. required: true
  18023. type: string
  18024. produces:
  18025. - application/json
  18026. responses:
  18027. "200":
  18028. description: OK
  18029. schema:
  18030. $ref: '#/definitions/app.Response'
  18031. "500":
  18032. description: Internal Server Error
  18033. schema:
  18034. $ref: '#/definitions/app.Response'
  18035. security:
  18036. - ApiKeyAuth: []
  18037. summary: 添加用户留言板信息
  18038. tags:
  18039. - 用户信息
  18040. /User/AddUserFavoriteGoods:
  18041. post:
  18042. parameters:
  18043. - description: 用户ID
  18044. in: query
  18045. name: userID
  18046. required: true
  18047. type: integer
  18048. - description: 商品ID
  18049. in: query
  18050. name: goodsID
  18051. required: true
  18052. type: integer
  18053. produces:
  18054. - application/json
  18055. responses:
  18056. "200":
  18057. description: OK
  18058. schema:
  18059. $ref: '#/definitions/app.Response'
  18060. "500":
  18061. description: Internal Server Error
  18062. schema:
  18063. $ref: '#/definitions/app.Response'
  18064. security:
  18065. - ApiKeyAuth: []
  18066. summary: 添加用户商品收藏信息
  18067. tags:
  18068. - 用户信息
  18069. /User/GetLoginID:
  18070. get:
  18071. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  18072. parameters:
  18073. - description: 登录代码
  18074. in: query
  18075. name: username
  18076. required: true
  18077. type: string
  18078. produces:
  18079. - application/json
  18080. responses:
  18081. "200":
  18082. description: OK
  18083. schema:
  18084. $ref: '#/definitions/app.Response'
  18085. "500":
  18086. description: Internal Server Error
  18087. schema:
  18088. $ref: '#/definitions/app.Response'
  18089. summary: 获取登录ID
  18090. tags:
  18091. - 用户信息
  18092. /User/GetUserAccount:
  18093. get:
  18094. parameters:
  18095. - description: 用户ID
  18096. in: query
  18097. name: userID
  18098. required: true
  18099. type: integer
  18100. produces:
  18101. - application/json
  18102. responses:
  18103. "200":
  18104. description: OK
  18105. schema:
  18106. $ref: '#/definitions/models.Useraccount'
  18107. "500":
  18108. description: Internal Server Error
  18109. schema:
  18110. $ref: '#/definitions/app.Response'
  18111. security:
  18112. - ApiKeyAuth: []
  18113. summary: 获取用户账号信息
  18114. tags:
  18115. - 用户信息
  18116. /User/GetUserAuthStatus:
  18117. get:
  18118. parameters:
  18119. - description: 用户ID
  18120. in: query
  18121. name: userID
  18122. required: true
  18123. type: integer
  18124. produces:
  18125. - application/json
  18126. responses:
  18127. "200":
  18128. description: OK
  18129. schema:
  18130. $ref: '#/definitions/app.Response'
  18131. "500":
  18132. description: Internal Server Error
  18133. schema:
  18134. $ref: '#/definitions/app.Response'
  18135. security:
  18136. - ApiKeyAuth: []
  18137. summary: 获取用户实名认证状态
  18138. tags:
  18139. - 用户信息
  18140. /User/LoginQuery:
  18141. get:
  18142. parameters:
  18143. - description: 登录账号
  18144. in: query
  18145. name: loginID
  18146. required: true
  18147. type: integer
  18148. produces:
  18149. - application/json
  18150. responses:
  18151. "200":
  18152. description: OK
  18153. schema:
  18154. $ref: '#/definitions/user.LoginQueryRsp'
  18155. "500":
  18156. description: Internal Server Error
  18157. schema:
  18158. $ref: '#/definitions/app.Response'
  18159. security:
  18160. - ApiKeyAuth: []
  18161. summary: 账户登录后信息查询
  18162. tags:
  18163. - 用户信息
  18164. /User/QueryMessageBoard:
  18165. get:
  18166. parameters:
  18167. - description: 用户ID
  18168. in: query
  18169. name: userID
  18170. required: true
  18171. type: integer
  18172. produces:
  18173. - application/json
  18174. responses:
  18175. "200":
  18176. description: OK
  18177. schema:
  18178. $ref: '#/definitions/models.Messageboard'
  18179. "500":
  18180. description: Internal Server Error
  18181. schema:
  18182. $ref: '#/definitions/app.Response'
  18183. security:
  18184. - ApiKeyAuth: []
  18185. summary: 获取用户留言板信息
  18186. tags:
  18187. - 用户信息
  18188. /User/QueryUserFavoriteGoodses:
  18189. get:
  18190. parameters:
  18191. - description: 用户ID
  18192. in: query
  18193. name: userID
  18194. required: true
  18195. type: integer
  18196. produces:
  18197. - application/json
  18198. responses:
  18199. "200":
  18200. description: OK
  18201. schema:
  18202. $ref: '#/definitions/models.Userfavoritegoods'
  18203. "500":
  18204. description: Internal Server Error
  18205. schema:
  18206. $ref: '#/definitions/app.Response'
  18207. security:
  18208. - ApiKeyAuth: []
  18209. summary: 获取用户商品收藏信息
  18210. tags:
  18211. - 用户信息
  18212. /User/QueryUserInfo:
  18213. get:
  18214. parameters:
  18215. - description: 用户ID
  18216. in: query
  18217. name: userID
  18218. required: true
  18219. type: integer
  18220. - description: 是否解密
  18221. in: query
  18222. name: isDecrypt
  18223. type: boolean
  18224. produces:
  18225. - application/json
  18226. responses:
  18227. "200":
  18228. description: OK
  18229. schema:
  18230. $ref: '#/definitions/models.Userinfo'
  18231. "500":
  18232. description: Internal Server Error
  18233. schema:
  18234. $ref: '#/definitions/app.Response'
  18235. security:
  18236. - ApiKeyAuth: []
  18237. summary: 获取用户信息
  18238. tags:
  18239. - 用户信息
  18240. /User/QueryUserReferNum:
  18241. get:
  18242. parameters:
  18243. - description: 用户ID
  18244. in: query
  18245. name: userID
  18246. required: true
  18247. type: integer
  18248. produces:
  18249. - application/json
  18250. responses:
  18251. "200":
  18252. description: OK
  18253. schema:
  18254. $ref: '#/definitions/app.Response'
  18255. "500":
  18256. description: Internal Server Error
  18257. schema:
  18258. $ref: '#/definitions/app.Response'
  18259. summary: 获取用户邀请码
  18260. tags:
  18261. - 用户信息
  18262. /User/RemoveUserFavoriteGoods:
  18263. post:
  18264. parameters:
  18265. - description: 用户ID
  18266. in: query
  18267. name: userID
  18268. required: true
  18269. type: integer
  18270. - description: 商品ID
  18271. in: query
  18272. name: goodsID
  18273. required: true
  18274. type: integer
  18275. produces:
  18276. - application/json
  18277. responses:
  18278. "200":
  18279. description: OK
  18280. schema:
  18281. $ref: '#/definitions/app.Response'
  18282. "500":
  18283. description: Internal Server Error
  18284. schema:
  18285. $ref: '#/definitions/app.Response'
  18286. security:
  18287. - ApiKeyAuth: []
  18288. summary: 移除用户商品收藏信息
  18289. tags:
  18290. - 用户信息
  18291. /User/UpdateUserAccountStatus:
  18292. post:
  18293. parameters:
  18294. - description: 用户ID
  18295. in: query
  18296. name: userID
  18297. required: true
  18298. type: integer
  18299. - description: 账户状态 - 4:正常 6:注销(停用)
  18300. in: query
  18301. name: accountStatus
  18302. required: true
  18303. type: integer
  18304. produces:
  18305. - application/json
  18306. responses:
  18307. "200":
  18308. description: OK
  18309. schema:
  18310. $ref: '#/definitions/app.Response'
  18311. "500":
  18312. description: Internal Server Error
  18313. schema:
  18314. $ref: '#/definitions/app.Response'
  18315. security:
  18316. - ApiKeyAuth: []
  18317. summary: 更新用户状态
  18318. tags:
  18319. - 用户信息
  18320. /WRTrade/GetAllDeliveryGoods:
  18321. get:
  18322. produces:
  18323. - application/json
  18324. - application/json
  18325. responses:
  18326. "200":
  18327. description: OK
  18328. schema:
  18329. $ref: '#/definitions/app.Response'
  18330. "500":
  18331. description: Internal Server Error
  18332. schema:
  18333. $ref: '#/definitions/app.Response'
  18334. security:
  18335. - ApiKeyAuth: []
  18336. - ApiKeyAuth: []
  18337. summary: 获取带仓单分类的种类信息
  18338. tags:
  18339. - 仓单贸易
  18340. - 仓单贸易
  18341. securityDefinitions:
  18342. ApiKeyAuth:
  18343. in: header
  18344. name: Authorization
  18345. type: apiKey
  18346. swagger: "2.0"