swagger.yaml 501 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300
  1. basePath: /api
  2. definitions:
  3. app.Response:
  4. properties:
  5. code:
  6. type: integer
  7. data:
  8. type: object
  9. msg:
  10. type: string
  11. page:
  12. description: 页码
  13. type: integer
  14. pagesize:
  15. description: 每页条数
  16. type: integer
  17. total:
  18. description: 总条数
  19. type: integer
  20. type: object
  21. common.ClientMenu:
  22. properties:
  23. children:
  24. description: 子菜单列表
  25. items:
  26. $ref: '#/definitions/common.ClientMenu'
  27. type: array
  28. code:
  29. description: ID
  30. type: string
  31. isshow:
  32. description: 是否显示
  33. type: boolean
  34. rulekey:
  35. description: 对应权限主键,对应FUNCMENULIST表RESOURCECODE
  36. type: string
  37. sort:
  38. description: 排序
  39. type: integer
  40. title:
  41. description: 标题
  42. type: string
  43. type:
  44. description: 类型,1:菜单 2:按钮
  45. type: integer
  46. type: object
  47. common.QueryImageConfigsRsp:
  48. properties:
  49. areauserid:
  50. description: 所属机构ID
  51. type: integer
  52. configid:
  53. description: 配置ID(SEQ_SZDZ2_IMAGECONFIG)
  54. type: integer
  55. createdate:
  56. description: 创建时间
  57. type: string
  58. creatorid:
  59. description: 创建人
  60. type: integer
  61. imagepath:
  62. description: 图片
  63. type: string
  64. imagetype:
  65. description: 类型 - 1:首页轮播(移动) 2:我的(移动)
  66. type: integer
  67. isshow:
  68. description: 是否展示 - 0:不展示 1:展示
  69. type: integer
  70. marketid:
  71. description: 市场ID
  72. type: integer
  73. modifierid:
  74. description: 操作人
  75. type: integer
  76. sort:
  77. description: 排序
  78. type: integer
  79. title:
  80. description: 标题
  81. type: string
  82. trademode:
  83. description: 交易模式
  84. type: integer
  85. updatedate:
  86. description: 修改时间
  87. type: string
  88. url:
  89. description: 链接(地址或商品ID)
  90. type: string
  91. urltype:
  92. description: 链接类型 - 1:直接地址 2:商品ID
  93. type: integer
  94. required:
  95. - configid
  96. type: object
  97. common.QueryNoticeRsp:
  98. properties:
  99. auditoruserid:
  100. description: 审核人
  101. type: integer
  102. auditremark:
  103. description: 审核备注
  104. type: string
  105. audittime:
  106. description: 审核日期
  107. type: string
  108. autoid:
  109. description: 自增ID
  110. type: integer
  111. content:
  112. description: 内容
  113. type: string
  114. createtime:
  115. description: 创建时间
  116. type: string
  117. creatorid:
  118. description: 建仓人
  119. type: integer
  120. endtime:
  121. description: 结束时间
  122. type: string
  123. istop:
  124. description: 是否置顶 - 0:不置顶 1:置顶
  125. type: integer
  126. msgiconurl:
  127. description: 消息图标Url
  128. type: string
  129. msgtype:
  130. description: 消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知
  131. type: integer
  132. publisher:
  133. description: 消息发布者
  134. type: string
  135. readed:
  136. description: 是否已读
  137. type: boolean
  138. scheduletime:
  139. description: 计划发送时间
  140. type: string
  141. sendtype:
  142. description: 推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)
  143. type: integer
  144. sentstatus:
  145. description: 推送状态 - 0:未推送 1:已推送 2:审核拒绝
  146. type: integer
  147. title:
  148. description: 标题
  149. type: string
  150. userid:
  151. description: 会员/投资者ID推送方式 为 个人时,填写投资者ID
  152. type: integer
  153. required:
  154. - autoid
  155. type: object
  156. common.QueryProvincesAndCitiesRsp:
  157. properties:
  158. cities:
  159. description: 市
  160. items:
  161. $ref: '#/definitions/models.Division'
  162. type: array
  163. province:
  164. $ref: '#/definitions/models.Division'
  165. description: 省
  166. type: object
  167. type: object
  168. common.QueryTableDefineRsp:
  169. properties:
  170. columns:
  171. description: 列头信息数组
  172. items:
  173. $ref: '#/definitions/models.Tablecolumnconfig'
  174. type: array
  175. remark:
  176. description: Remark
  177. type: string
  178. tabelmenu:
  179. description: 列表菜单
  180. type: string
  181. tablekey:
  182. description: 列表Key
  183. type: string
  184. tablename:
  185. description: 列表名称
  186. type: string
  187. tabletype:
  188. description: 列表类型 - 1:管理端 2:终端
  189. type: integer
  190. required:
  191. - tablekey
  192. type: object
  193. common.QueryTraderMenuRsp:
  194. properties:
  195. OperationMenu:
  196. description: 功能菜单
  197. items:
  198. $ref: '#/definitions/models.OperationPrimaryMenu'
  199. type: array
  200. QuoteMenu:
  201. description: 报价牌分类菜单
  202. items:
  203. $ref: '#/definitions/models.QuotePrimaryMenu'
  204. type: array
  205. type: object
  206. cptrade.Cptradepositioncancel:
  207. properties:
  208. accountid:
  209. description: 申请人账户ID
  210. type: integer
  211. applystatus:
  212. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  213. type: integer
  214. applytime:
  215. description: 申请时间
  216. type: string
  217. cancelid:
  218. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  219. type: integer
  220. cancelqty:
  221. description: 注销数量
  222. type: integer
  223. createtime:
  224. description: 创建时间
  225. type: string
  226. creatorid:
  227. description: 创建人ID
  228. type: integer
  229. creatorname:
  230. description: 创建人
  231. type: string
  232. goodscode:
  233. description: 订单商品代码
  234. type: string
  235. goodsid:
  236. description: 商品ID
  237. type: integer
  238. goodsname:
  239. description: 订单商品名称
  240. type: string
  241. goodunit:
  242. description: 报价单位
  243. type: string
  244. handlestatus:
  245. description: 处理状态
  246. type: integer
  247. marketid:
  248. description: 市场ID
  249. type: integer
  250. marketname:
  251. description: 市场名称
  252. type: string
  253. tradedate:
  254. description: 交易日(yyyyMMdd)
  255. type: string
  256. userid:
  257. description: 申请人ID
  258. type: integer
  259. required:
  260. - cancelid
  261. type: object
  262. cptrade.Cptradepresaleapply:
  263. properties:
  264. accountid:
  265. description: 申请人账户ID
  266. type: integer
  267. applyid:
  268. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  269. type: integer
  270. applyremark:
  271. description: 申请备注
  272. type: string
  273. applystatus:
  274. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  275. type: integer
  276. applytime:
  277. description: 申请时间
  278. type: string
  279. attachmenturl:
  280. description: 附件地址
  281. type: string
  282. endtime:
  283. description: 预售结束时间
  284. type: string
  285. goodscode:
  286. description: 商品代码
  287. type: string
  288. goodsid:
  289. description: 商品ID
  290. type: integer
  291. goodsname:
  292. description: 商品名称
  293. type: string
  294. goodunit:
  295. description: 报价单位
  296. type: string
  297. handlestatus:
  298. description: 处理状态
  299. type: integer
  300. marketid:
  301. description: 预售市场ID
  302. type: integer
  303. marketname:
  304. description: 预售市场名称
  305. type: string
  306. presaleqty:
  307. description: 预售数量
  308. type: integer
  309. relatedgoodscode:
  310. description: 关联交易合约代码
  311. type: string
  312. relatedgoodsid:
  313. description: 关联交易合约ID
  314. type: integer
  315. relatedgoodsname:
  316. description: 关联交易合约名称
  317. type: string
  318. starttime:
  319. description: 预售开始时间
  320. type: string
  321. tradedate:
  322. description: 交易日(yyyyMMdd)
  323. type: string
  324. trademode:
  325. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  326. type: integer
  327. userid:
  328. description: 申请人ID
  329. type: integer
  330. required:
  331. - applyid
  332. type: object
  333. cptrade.Cptradeusergoodsdata:
  334. properties:
  335. EnabledQty:
  336. description: 可用量
  337. type: integer
  338. GoodsCode:
  339. description: 订单商品代码
  340. type: string
  341. GoodsName:
  342. description: 订单商品名称
  343. type: string
  344. WRStandardCode:
  345. description: 仓单标准代码
  346. type: string
  347. WRStandardName:
  348. description: 仓单标准名称
  349. type: string
  350. accountid:
  351. description: 账户ID
  352. type: integer
  353. cancelqty:
  354. description: 注销量
  355. type: integer
  356. curpresaleqty:
  357. description: 当前预售量
  358. type: integer
  359. deliveryqty:
  360. description: 交割量
  361. type: integer
  362. freezeamount:
  363. description: 冻结金额
  364. type: number
  365. goodsid:
  366. description: 商品ID
  367. type: integer
  368. goodunit:
  369. description: 报价单位
  370. type: string
  371. hasspotfreeze:
  372. description: 是否有现货冻结 - 0:否 1:有
  373. type: integer
  374. inqty:
  375. description: 转入量(总数量)
  376. type: integer
  377. marketid:
  378. description: 市场ID
  379. type: integer
  380. presaledamount:
  381. description: 已预售总金额
  382. type: integer
  383. presaledqty:
  384. description: 已预售量
  385. type: integer
  386. userid:
  387. description: 用户ID
  388. type: integer
  389. wrstandardid:
  390. description: 仓单标准ID
  391. type: integer
  392. required:
  393. - accountid
  394. - goodsid
  395. type: object
  396. cptrade.QueryCPTradeMyBidRsp:
  397. properties:
  398. accountid:
  399. description: 账户ID[报价币种]
  400. type: integer
  401. goodsid:
  402. description: 商品ID
  403. type: integer
  404. goodunit:
  405. description: 报价单位
  406. type: string
  407. marketid:
  408. description: 市场ID
  409. type: integer
  410. orderid:
  411. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  412. type: integer
  413. orderprice:
  414. description: 委托价格
  415. type: number
  416. orderqty:
  417. description: 委托数量
  418. type: integer
  419. ordertime:
  420. description: 委托时间
  421. type: string
  422. ordertotalprice:
  423. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  424. type: number
  425. ordertotalweight:
  426. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  427. type: integer
  428. totaltotalprice:
  429. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  430. type: number
  431. tradeprice:
  432. description: 成交价格
  433. type: number
  434. tradeqty:
  435. description: 成交数量
  436. type: integer
  437. required:
  438. - accountid
  439. - goodsid
  440. - marketid
  441. - orderid
  442. - orderqty
  443. - ordertime
  444. - tradeprice
  445. - tradeqty
  446. type: object
  447. cptrade.QueryCPTradeOrderDetailRsq:
  448. properties:
  449. accountid:
  450. description: 账户ID[报价币种]
  451. type: integer
  452. buildtype:
  453. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  454. type: integer
  455. buyorsell:
  456. description: 买卖 - 0:买 1:卖
  457. type: integer
  458. cancelorderid:
  459. description: 撤单单号(撤单时填写)
  460. type: integer
  461. cancelqty:
  462. description: 撤单数量
  463. type: integer
  464. clientordertime:
  465. description: 客户端委托时间
  466. type: string
  467. clientticket:
  468. description: 客户端流水号
  469. type: string
  470. clienttype:
  471. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  472. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  473. type: integer
  474. closeexchagechargevalue:
  475. description: 平仓交易所手续费设置值
  476. type: number
  477. closefeealgorithm:
  478. description: 平仓手续费收取方式 1:比率 2:固定
  479. type: integer
  480. closefreezecharge:
  481. description: 平仓冻结手续费(先建后平操作,需要记录)
  482. type: number
  483. closememberchargevalue:
  484. description: 平仓会员手续费设置值
  485. type: number
  486. closeqty:
  487. description: 平仓数量(先建后平操作 需要记录)
  488. type: integer
  489. closetradeqty:
  490. description: 平仓成交数量(先建后平操作,需要记录)
  491. type: integer
  492. closeunfreezecharge:
  493. description: 平仓解冻手续费(先建后平操作,需要记录)
  494. type: number
  495. delistingtype:
  496. description: 摘牌类型 - 1:价格最优 2:点选成交
  497. type: integer
  498. freezecharge:
  499. description: 冻结手续费
  500. type: number
  501. freezemargin:
  502. description: 冻结保证金(冻结交易金额)
  503. type: number
  504. gcaccountid:
  505. description: 账户ID[合约币种]
  506. type: integer
  507. goodsid:
  508. description: 商品ID
  509. type: integer
  510. isconfirmexercise:
  511. description: 是否确认行权- 0:否 1:是
  512. type: integer
  513. ispreexercise:
  514. description: 是否预申报- 0:否 1:是
  515. type: integer
  516. listingselecttype:
  517. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  518. type: integer
  519. marginalgorithm:
  520. description: 保证金收取方式 1:比率 2:固定
  521. type: integer
  522. marginvalue:
  523. description: 即市保证金设置值
  524. type: number
  525. marketid:
  526. description: 市场ID
  527. type: integer
  528. marketmaxsub:
  529. description: 市价最大偏移范围
  530. type: number
  531. memberuserid:
  532. description: 所属会员UserID
  533. type: integer
  534. openexchagechargevalue:
  535. description: 建仓交易所手续费设置值
  536. type: number
  537. openfeealgorithm:
  538. description: 建仓手续费收取方式 1:比率 2:固定
  539. type: integer
  540. openfreezecharge:
  541. description: 开仓冻结手续费(先建后平操作,需要记录)
  542. type: number
  543. openmemberchargevalue:
  544. description: 建仓会员手续费设置值
  545. type: number
  546. openqty:
  547. description: 开仓数量(先建后平操作,需要记录)
  548. type: integer
  549. opentradeqty:
  550. description: 开仓成交数量(先建后平操作,需要记录)
  551. type: integer
  552. openunfreezecharge:
  553. description: 开仓解冻手续费(先建后平操作,需要记录)
  554. type: number
  555. operatetype:
  556. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  557. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  558. 15:管理端协议转让
  559. type: integer
  560. operatorid:
  561. description: 登录账号(LoginID)
  562. type: integer
  563. optiontype:
  564. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  565. type: integer
  566. orderprice:
  567. description: 委托价格
  568. type: number
  569. orderqty:
  570. description: 委托数量
  571. type: integer
  572. ordersrc:
  573. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  574. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  575. type: integer
  576. orderstatus:
  577. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  578. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  579. 16:成交失败违约(荷兰式竞拍专用)
  580. type: integer
  581. ordertime:
  582. description: 委托时间
  583. type: string
  584. preexerciseprice:
  585. description: 预申报价格
  586. type: number
  587. premium:
  588. description: 权利金
  589. type: number
  590. preorderid:
  591. description: 关联预埋单号(止盈止损单时填写)
  592. type: integer
  593. pricemode:
  594. description: '取价方式 - 1:市价 2: 限价'
  595. type: integer
  596. quoteid:
  597. description: 报价单ID
  598. type: integer
  599. relatedid:
  600. description: 关联单号(交割单)
  601. type: integer
  602. retcode:
  603. description: 错误代码
  604. type: integer
  605. sessionid:
  606. description: 会话ID
  607. type: integer
  608. strorderid:
  609. description: 委托单号
  610. type: string
  611. tradedate:
  612. description: 交易日(yyyyMMdd)
  613. type: string
  614. tradeproperty:
  615. description: 交易属性
  616. type: integer
  617. tradeqty:
  618. description: 成交数量
  619. type: integer
  620. unfreezecharge:
  621. description: 解冻手续费
  622. type: number
  623. unfreezemargin:
  624. description: 解冻保证金
  625. type: number
  626. updatetime:
  627. description: 更新时间
  628. type: string
  629. uuid:
  630. description: 发起端唯一id
  631. type: string
  632. validtime:
  633. description: 有效期限
  634. type: string
  635. validtype:
  636. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  637. type: integer
  638. volumetype:
  639. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  640. type: integer
  641. required:
  642. - accountid
  643. - buildtype
  644. - buyorsell
  645. - goodsid
  646. - marketid
  647. - memberuserid
  648. - operatetype
  649. - orderqty
  650. - ordertime
  651. - pricemode
  652. - strorderid
  653. - tradedate
  654. - validtype
  655. type: object
  656. cptrade.QueryMyCPTradeGoodsRsp:
  657. properties:
  658. accountid:
  659. description: 卖方账户ID
  660. type: integer
  661. agreeunit:
  662. description: 合约单位
  663. type: number
  664. applyid:
  665. description: 关联申请ID
  666. type: integer
  667. attachmenturl:
  668. description: 附件地址
  669. type: string
  670. createtime:
  671. description: 创建时间
  672. type: string
  673. currencyid:
  674. description: 报价货币ID
  675. type: integer
  676. decimalplace:
  677. description: 报价小数位
  678. type: integer
  679. endtime:
  680. description: 预售结束时间
  681. type: string
  682. floorprice:
  683. description: 底价[大宗式竞拍]
  684. type: number
  685. goodscode:
  686. description: 商品代码(预售)
  687. type: string
  688. goodsdetail:
  689. description: 详情[大宗]
  690. type: string
  691. goodsid:
  692. description: 商品ID(自增ID SEQ_GOODS)
  693. type: integer
  694. goodsname:
  695. description: 商品名称(预售)
  696. type: string
  697. goodunit:
  698. description: 报价单位
  699. type: string
  700. goodunitid:
  701. description: 报价单位ID
  702. type: integer
  703. marketid:
  704. description: 所属市场ID
  705. type: integer
  706. marketname:
  707. description: 预售市场名称
  708. type: string
  709. presaledamount:
  710. description: 已预售总金额(预售结束时更新)
  711. type: number
  712. presaledqty:
  713. description: 已预售量(预售结束时更新)
  714. type: integer
  715. presalemode:
  716. description: 预售模式 - 1:一口价 2:大宗式竞拍
  717. type: integer
  718. presaleqty:
  719. description: 预售数量
  720. type: integer
  721. refprice:
  722. description: 参考价格[一口价]
  723. type: number
  724. relatedgoodscode:
  725. description: 商品代码(订单)
  726. type: string
  727. relatedgoodsid:
  728. description: 关联交易合约ID
  729. type: integer
  730. relatedgoodsname:
  731. description: 商品名称(订单)
  732. type: string
  733. relatedmarketid:
  734. description: 关联交易合约市场ID
  735. type: integer
  736. sellstatus:
  737. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  738. type: integer
  739. startprice:
  740. description: 起拍价[大宗式竞拍]
  741. type: number
  742. starttime:
  743. description: 预售开始时间
  744. type: string
  745. tradedate:
  746. description: 交易日(yyyyMMdd)
  747. type: string
  748. tradeprice:
  749. description: 成交价[大宗]
  750. type: number
  751. userid:
  752. description: 卖方用户ID
  753. type: integer
  754. required:
  755. - goodscode
  756. - goodsid
  757. - goodsname
  758. - marketid
  759. - relatedgoodscode
  760. - relatedgoodsname
  761. type: object
  762. cptrade.QueryPresaleGoodsExRsp:
  763. properties:
  764. attachmenturl:
  765. description: 附件地址
  766. type: string
  767. createtime:
  768. description: 创建时间
  769. type: string
  770. endtime:
  771. description: 预售结束时间
  772. type: string
  773. floorprice:
  774. description: 底价[大宗式竞拍]
  775. type: number
  776. goodsdetail:
  777. description: 详情[大宗]
  778. type: string
  779. goodsid:
  780. description: 商品ID(预售)
  781. type: integer
  782. goodunit:
  783. description: 报价单位
  784. type: string
  785. marketid:
  786. description: 预售市场ID - 根据预售模式选择市场
  787. type: integer
  788. presaledamount:
  789. description: 已预售总金额(预售结束时更新)
  790. type: number
  791. presaledqty:
  792. description: 已预售量(预售结束时更新)
  793. type: integer
  794. presalemode:
  795. description: 预售模式 - 1:一口价 2:大宗式竞拍
  796. type: integer
  797. presaleqty:
  798. description: 预售数量
  799. type: integer
  800. refprice:
  801. description: 参考价格[一口价]
  802. type: number
  803. relatedgoodsid:
  804. description: 关联交易合约ID
  805. type: integer
  806. relatedmarketid:
  807. description: 关联交易合约市场ID
  808. type: integer
  809. sellstatus:
  810. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  811. type: integer
  812. startprice:
  813. description: 起拍价[大宗式竞拍]
  814. type: number
  815. starttime:
  816. description: 预售开始时间
  817. type: string
  818. tradedate:
  819. description: 交易日(yyyyMMdd)
  820. type: string
  821. tradeprice:
  822. description: 成交价[大宗]
  823. type: number
  824. required:
  825. - goodsid
  826. type: object
  827. delivery.QueryDeliveryRelationRsp:
  828. properties:
  829. begindate:
  830. description: 起始日期(yyyyMMdd)
  831. type: string
  832. buytemplateid:
  833. description: 买履约计划模板ID
  834. type: integer
  835. deliverygoodscode:
  836. description: 品种代码
  837. type: string
  838. deliverygoodsid:
  839. description: 交割商品
  840. type: integer
  841. deliverygoodsname:
  842. description: 品种名称
  843. type: string
  844. deliverymode:
  845. description: 交割方式 - 1:点选式 2:申报式
  846. type: integer
  847. deliverypricerule:
  848. description: 交割价规则- 1:行情价 2:建仓价
  849. type: integer
  850. deliverytype:
  851. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  852. type: integer
  853. enddate:
  854. description: 结束日期(yyyyMMdd)
  855. type: string
  856. goodscode:
  857. description: 商品代码
  858. type: string
  859. goodsid:
  860. description: 交易合约ID
  861. type: integer
  862. goodsname:
  863. description: 商品名称
  864. type: string
  865. marketid:
  866. description: 市场ID
  867. type: integer
  868. mindeliveryqty:
  869. description: 最小交割系数(K)
  870. type: integer
  871. p2deliveryprice:
  872. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  873. type: number
  874. p2deliveryratio:
  875. description: P2合约系数(p)
  876. type: integer
  877. p2goodsid:
  878. description: P2合约ID
  879. type: integer
  880. p2pricemode:
  881. description: P2合约价格方式 - 1:商品价 2:固定值
  882. type: integer
  883. pdeliveryprice:
  884. description: P合约价格(商品价时填写0,固定值时填写固定值)
  885. type: number
  886. pdeliveryratio:
  887. description: P合约系数(n)
  888. type: integer
  889. pgoodsid:
  890. description: P合约ID
  891. type: integer
  892. ppricemode:
  893. description: P合约价格方式 - 1:商品价 2:固定值
  894. type: integer
  895. rratio:
  896. description: 兑换系数(R)
  897. type: integer
  898. rratio1:
  899. description: 兑换系数(交易合约)(R1)
  900. type: integer
  901. rratio2:
  902. description: 兑换系数(仓单标准)(R2)
  903. type: integer
  904. selltemplateid:
  905. description: 卖履约计划模板ID
  906. type: integer
  907. wrstandardid:
  908. description: 仓单标准ID
  909. type: integer
  910. xdeliveryratio:
  911. description: 交易合约系数(m)
  912. type: integer
  913. required:
  914. - begindate
  915. - enddate
  916. - goodsid
  917. - mindeliveryqty
  918. - xdeliveryratio
  919. type: object
  920. ermcp.ExposureDetailRsp:
  921. $ref: '#/definitions/models.ErmcpExposureDetailModel'
  922. ermcp.ExposureHedgePosDetailRsp:
  923. $ref: '#/definitions/models.ErmcpHedgePositionDetail'
  924. ermcp.ExposureHedgePositionRsp:
  925. $ref: '#/definitions/models.ErmcpHedgePosition'
  926. ermcp.ExposureSpotDetailRsp:
  927. $ref: '#/definitions/models.ErmcpAreaSpotDetailModel'
  928. ermcp.ExposureSpotRsp:
  929. $ref: '#/definitions/models.AreaSpotModel'
  930. ermcp.HisExposureRsp:
  931. $ref: '#/definitions/models.ErmcpHisExposureS'
  932. ermcp.PendingAuditCntRsp:
  933. $ref: '#/definitions/models.ErmcpPendingAudit'
  934. ermcp.QryAreaStockApplyRsp:
  935. $ref: '#/definitions/models.ErmcpAreaStockApply'
  936. ermcp.QryAvalidGPRsp:
  937. $ref: '#/definitions/models.ErmcpAvalidGoodsGroupModel'
  938. ermcp.QryBusinessDjRsp:
  939. properties:
  940. amount:
  941. description: 点价金额=(点价价格+升贴水)*点价数量
  942. type: number
  943. applyid:
  944. description: 申请人
  945. type: string
  946. applyname:
  947. description: 申请人名称
  948. type: string
  949. applystatus:
  950. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  951. type: integer
  952. applytime:
  953. description: 申请时间
  954. type: string
  955. attachurl:
  956. description: 附件
  957. type: string
  958. auditid:
  959. description: 审核人ID
  960. type: string
  961. auditname:
  962. description: 审核人名称
  963. type: string
  964. audittime:
  965. description: 审核时间
  966. type: string
  967. buyusername:
  968. description: 采购方名称
  969. type: string
  970. contractno:
  971. description: 合同编号
  972. type: string
  973. contractstatus:
  974. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  975. type: integer
  976. contracttype:
  977. description: 现货合同类型 - 1:采购 -1:销售
  978. type: integer
  979. deliverygoodscode:
  980. description: 现货品种代码
  981. type: string
  982. deliverygoodsid:
  983. description: 现货商品ID
  984. type: integer
  985. deliverygoodsname:
  986. description: 现货品种名称
  987. type: string
  988. enumdicname:
  989. description: 单位名称
  990. type: string
  991. goodscode:
  992. description: 点价合约
  993. type: string
  994. goodsname:
  995. description: 商品名称
  996. type: string
  997. operateapplyid:
  998. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  999. type: string
  1000. operateapplytype:
  1001. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1002. type: integer
  1003. pricedPrice:
  1004. description: 点价价格(非必填)
  1005. type: number
  1006. pricedQty:
  1007. description: 点价数量(非必填)
  1008. type: number
  1009. pricemove:
  1010. description: 升贴水
  1011. type: number
  1012. pricetype:
  1013. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1014. type: integer
  1015. relatedid:
  1016. description: 现货合同ID
  1017. type: string
  1018. sellusername:
  1019. description: 销售方名字
  1020. type: string
  1021. userid:
  1022. description: 用户ID
  1023. type: integer
  1024. wrstandardcode:
  1025. description: 品类代码
  1026. type: string
  1027. wrstandardid:
  1028. description: 品类id
  1029. type: integer
  1030. wrstandardname:
  1031. description: 品类名称
  1032. type: string
  1033. type: object
  1034. ermcp.QryBussinessFpRsp:
  1035. properties:
  1036. applyid:
  1037. description: 申请人
  1038. type: string
  1039. applyname:
  1040. description: 申请人名称
  1041. type: string
  1042. applystatus:
  1043. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1044. type: integer
  1045. applytime:
  1046. description: 申请时间
  1047. type: string
  1048. attachurl:
  1049. description: 附件
  1050. type: string
  1051. auditid:
  1052. description: 审核人ID
  1053. type: string
  1054. auditname:
  1055. description: 审核人名称
  1056. type: string
  1057. audittime:
  1058. description: 审核时间
  1059. type: string
  1060. buyusername:
  1061. description: 采购方名称
  1062. type: string
  1063. contractno:
  1064. description: 合同编号
  1065. type: string
  1066. contractstatus:
  1067. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1068. type: integer
  1069. contracttype:
  1070. description: 现货合同类型 - 1:采购 -1:销售
  1071. type: integer
  1072. deliverygoodscode:
  1073. description: 现货品种代码
  1074. type: string
  1075. deliverygoodsid:
  1076. description: 现货商品ID
  1077. type: integer
  1078. deliverygoodsname:
  1079. description: 现货品种名称
  1080. type: string
  1081. enumdicname:
  1082. description: 单位名称
  1083. type: string
  1084. goodscode:
  1085. description: 点价合约
  1086. type: string
  1087. goodsname:
  1088. description: 商品名称
  1089. type: string
  1090. invoiceAmount:
  1091. description: 已开收票金额(销售为开票,采购为收票)
  1092. type: number
  1093. operateapplyid:
  1094. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1095. type: string
  1096. operateapplytype:
  1097. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1098. type: integer
  1099. pricemove:
  1100. description: 升贴水
  1101. type: number
  1102. pricetype:
  1103. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1104. type: integer
  1105. relatedid:
  1106. description: 现货合同ID
  1107. type: string
  1108. sellusername:
  1109. description: 销售方名字
  1110. type: string
  1111. userid:
  1112. description: 用户ID
  1113. type: integer
  1114. wrstandardcode:
  1115. description: 品类代码
  1116. type: string
  1117. wrstandardid:
  1118. description: 品类id
  1119. type: integer
  1120. wrstandardname:
  1121. description: 品类名称
  1122. type: string
  1123. type: object
  1124. ermcp.QryBussinessJsExRsp:
  1125. properties:
  1126. applyid:
  1127. description: 申请人
  1128. type: string
  1129. applyname:
  1130. description: 申请人名称
  1131. type: string
  1132. applystatus:
  1133. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1134. type: integer
  1135. applytime:
  1136. description: 申请时间
  1137. type: string
  1138. attachurl:
  1139. description: 附件
  1140. type: string
  1141. auditid:
  1142. description: 审核人ID
  1143. type: string
  1144. auditname:
  1145. description: 审核人名称
  1146. type: string
  1147. audittime:
  1148. description: 审核时间
  1149. type: string
  1150. buyusername:
  1151. description: 采购方名称
  1152. type: string
  1153. contractno:
  1154. description: 合同编号
  1155. type: string
  1156. contractstatus:
  1157. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1158. type: integer
  1159. contracttype:
  1160. description: 现货合同类型 - 1:采购 -1:销售
  1161. type: integer
  1162. deliverygoodscode:
  1163. description: 现货品种代码
  1164. type: string
  1165. deliverygoodsid:
  1166. description: 现货商品ID
  1167. type: integer
  1168. deliverygoodsname:
  1169. description: 现货品种名称
  1170. type: string
  1171. enumdicname:
  1172. description: 单位名称
  1173. type: string
  1174. goodscode:
  1175. description: 点价合约
  1176. type: string
  1177. goodsname:
  1178. description: 商品名称
  1179. type: string
  1180. operateapplyid:
  1181. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1182. type: string
  1183. operateapplytype:
  1184. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1185. type: integer
  1186. pricemove:
  1187. description: 升贴水
  1188. type: number
  1189. pricetype:
  1190. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1191. type: integer
  1192. reckontype:
  1193. description: 结算类型
  1194. type: string
  1195. reckonvalue:
  1196. description: 值
  1197. type: number
  1198. relatedid:
  1199. description: 现货合同ID
  1200. type: string
  1201. sellusername:
  1202. description: 销售方名字
  1203. type: string
  1204. userid:
  1205. description: 用户ID
  1206. type: integer
  1207. wrstandardcode:
  1208. description: 品类代码
  1209. type: string
  1210. wrstandardid:
  1211. description: 品类id
  1212. type: integer
  1213. wrstandardname:
  1214. description: 品类名称
  1215. type: string
  1216. type: object
  1217. ermcp.QryBussinessJsRsp:
  1218. properties:
  1219. addmargin:
  1220. description: 追加保证金(非必填)
  1221. type: number
  1222. applyid:
  1223. description: 申请人
  1224. type: string
  1225. applyname:
  1226. description: 申请人名称
  1227. type: string
  1228. applystatus:
  1229. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1230. type: integer
  1231. applytime:
  1232. description: 申请时间
  1233. type: string
  1234. attachurl:
  1235. description: 附件
  1236. type: string
  1237. auditid:
  1238. description: 审核人ID
  1239. type: string
  1240. auditname:
  1241. description: 审核人名称
  1242. type: string
  1243. audittime:
  1244. description: 审核时间
  1245. type: string
  1246. buyusername:
  1247. description: 采购方名称
  1248. type: string
  1249. contractno:
  1250. description: 合同编号
  1251. type: string
  1252. contractstatus:
  1253. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1254. type: integer
  1255. contracttype:
  1256. description: 现货合同类型 - 1:采购 -1:销售
  1257. type: integer
  1258. decmargin:
  1259. description: 减少保证金(非必填)
  1260. type: number
  1261. deliverygoodscode:
  1262. description: 现货品种代码
  1263. type: string
  1264. deliverygoodsid:
  1265. description: 现货商品ID
  1266. type: integer
  1267. deliverygoodsname:
  1268. description: 现货品种名称
  1269. type: string
  1270. enumdicname:
  1271. description: 单位名称
  1272. type: string
  1273. goodscode:
  1274. description: 点价合约
  1275. type: string
  1276. goodsname:
  1277. description: 商品名称
  1278. type: string
  1279. operateapplyid:
  1280. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1281. type: string
  1282. operateapplytype:
  1283. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1284. type: integer
  1285. pricemove:
  1286. description: 升贴水
  1287. type: number
  1288. pricetype:
  1289. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1290. type: integer
  1291. reckonadjustamount:
  1292. description: 结算调整金额(非必填)
  1293. type: number
  1294. reckonosamount:
  1295. description: 结算溢短金额(非必填)
  1296. type: number
  1297. reckonotheramount:
  1298. description: 结算其他费用(非必填)
  1299. type: number
  1300. reckonrealqty:
  1301. description: 结算实际数量(非必填)
  1302. type: number
  1303. relatedid:
  1304. description: 现货合同ID
  1305. type: string
  1306. sellusername:
  1307. description: 销售方名字
  1308. type: string
  1309. userid:
  1310. description: 用户ID
  1311. type: integer
  1312. wrstandardcode:
  1313. description: 品类代码
  1314. type: string
  1315. wrstandardid:
  1316. description: 品类id
  1317. type: integer
  1318. wrstandardname:
  1319. description: 品类名称
  1320. type: string
  1321. type: object
  1322. ermcp.QryBussinessKxRsp:
  1323. properties:
  1324. applyid:
  1325. description: 申请人
  1326. type: string
  1327. applyname:
  1328. description: 申请人名称
  1329. type: string
  1330. applystatus:
  1331. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1332. type: integer
  1333. applytime:
  1334. description: 申请时间
  1335. type: string
  1336. attachurl:
  1337. description: 附件
  1338. type: string
  1339. auditid:
  1340. description: 审核人ID
  1341. type: string
  1342. auditname:
  1343. description: 审核人名称
  1344. type: string
  1345. audittime:
  1346. description: 审核时间
  1347. type: string
  1348. buyusername:
  1349. description: 采购方名称
  1350. type: string
  1351. contractno:
  1352. description: 合同编号
  1353. type: string
  1354. contractstatus:
  1355. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1356. type: integer
  1357. contracttype:
  1358. description: 现货合同类型 - 1:采购 -1:销售
  1359. type: integer
  1360. deductamount:
  1361. description: 退款(非必填)
  1362. type: number
  1363. deliverygoodscode:
  1364. description: 现货品种代码
  1365. type: string
  1366. deliverygoodsid:
  1367. description: 现货商品ID
  1368. type: integer
  1369. deliverygoodsname:
  1370. description: 现货品种名称
  1371. type: string
  1372. enumdicname:
  1373. description: 单位名称
  1374. type: string
  1375. goodscode:
  1376. description: 点价合约
  1377. type: string
  1378. goodsname:
  1379. description: 商品名称
  1380. type: string
  1381. kxtype:
  1382. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1383. type: integer
  1384. operateapplyid:
  1385. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1386. type: string
  1387. operateapplytype:
  1388. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1389. type: integer
  1390. payamount:
  1391. description: 收付款(非必填)
  1392. type: number
  1393. pricemove:
  1394. description: 升贴水
  1395. type: number
  1396. pricetype:
  1397. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1398. type: integer
  1399. relatedid:
  1400. description: 现货合同ID
  1401. type: string
  1402. sellusername:
  1403. description: 销售方名字
  1404. type: string
  1405. userid:
  1406. description: 用户ID
  1407. type: integer
  1408. wrstandardcode:
  1409. description: 品类代码
  1410. type: string
  1411. wrstandardid:
  1412. description: 品类id
  1413. type: integer
  1414. wrstandardname:
  1415. description: 品类名称
  1416. type: string
  1417. type: object
  1418. ermcp.QryErmcpRsp:
  1419. $ref: '#/definitions/models.ErmcpModel'
  1420. ermcp.QryGGCovertCfgRsp:
  1421. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  1422. ermcp.QryHedgePlanRsp:
  1423. $ref: '#/definitions/models.ErmcpHedgePlan'
  1424. ermcp.QryMGChangeLogRsp:
  1425. $ref: '#/definitions/models.ErmcpMiddleGoodsChangeLog'
  1426. ermcp.QryMiddleGoodsDetailRsp:
  1427. $ref: '#/definitions/models.ErmcpMiddleGoodsDetail'
  1428. ermcp.QryMiddleGoodsRsp:
  1429. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  1430. ermcp.QryOPLogRsp:
  1431. $ref: '#/definitions/models.ErmcpOPLogModel'
  1432. ermcp.QryReportDaySpotDetailRsp:
  1433. $ref: '#/definitions/models.ErmcpReportOPLog'
  1434. ermcp.QryReportExposureDayRsp:
  1435. $ref: '#/definitions/models.ErmcpReportDayExposure'
  1436. ermcp.QryReportFinanceDayRsp:
  1437. $ref: '#/definitions/models.ErmcpReportDayFR'
  1438. ermcp.QryReportFinanceKxRsp:
  1439. $ref: '#/definitions/models.ErmcpReportOPLog'
  1440. ermcp.QryReportFinanceMonRsp:
  1441. $ref: '#/definitions/models.ErmcpReportMonthFR'
  1442. ermcp.QryReportSpotDayRsp:
  1443. $ref: '#/definitions/models.ErmcpReportDaySpot'
  1444. ermcp.QryReportSpotMonRsp:
  1445. $ref: '#/definitions/models.ErmcpReportMonSpot'
  1446. ermcp.QryReportSpotMonthDetailRsp:
  1447. $ref: '#/definitions/models.ErmcpReportDaySpot'
  1448. ermcp.QrySpotContractRsp:
  1449. $ref: '#/definitions/models.ErmcpSpotContractModel'
  1450. ermcp.QryUserInfoRsp:
  1451. $ref: '#/definitions/models.ErmcpUserModel'
  1452. ermcp.QryWarehouseRsp:
  1453. $ref: '#/definitions/models.ErmcpWareHouseInfo'
  1454. ermcp.QryWrStandardDetailRsp:
  1455. $ref: '#/definitions/models.ErmcpWrstandDetail'
  1456. ermcp.QryWrStandardRsp:
  1457. $ref: '#/definitions/models.ErmcpWrstandard'
  1458. ermcp.QueryAreaStockApplySumRsp:
  1459. $ref: '#/definitions/models.ErmcpAreaStockApplySum'
  1460. ermcp.QueryErmcpTradePositionRsp:
  1461. properties:
  1462. agreeunit:
  1463. description: 合约单位
  1464. type: number
  1465. buyorsell:
  1466. description: 方向 - 0:买 1:卖
  1467. type: integer
  1468. curpositionqty:
  1469. description: 持仓(总仓数量, 期末头寸)
  1470. type: integer
  1471. curtdposition:
  1472. description: 今仓数量(期末今日头寸)
  1473. type: integer
  1474. curtdpositionenabled:
  1475. description: 今仓可用
  1476. type: integer
  1477. decimalplace:
  1478. description: 报价小数位
  1479. type: integer
  1480. enableqty:
  1481. description: 可用(总仓可用)
  1482. type: integer
  1483. exexchangename:
  1484. description: 外部交易所名称
  1485. type: string
  1486. goodscode:
  1487. description: 商品代码(内部)
  1488. type: string
  1489. goodsid:
  1490. description: 商品ID(自增ID SEQ_GOODS)
  1491. type: integer
  1492. goodsname:
  1493. description: 商品名称
  1494. type: string
  1495. last:
  1496. description: 现价
  1497. type: number
  1498. marketid:
  1499. description: 所属市场ID
  1500. type: integer
  1501. openaverageprice:
  1502. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  1503. type: number
  1504. opencost:
  1505. description: 开仓成本
  1506. type: number
  1507. openpl:
  1508. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向
  1509. = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  1510. type: number
  1511. outgoodscode:
  1512. description: 商品代码(外部)
  1513. type: string
  1514. positionaverageprice:
  1515. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  1516. type: number
  1517. positioncost:
  1518. description: 持仓成本
  1519. type: number
  1520. positionpl:
  1521. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向
  1522. = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  1523. type: number
  1524. positionplrate:
  1525. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  1526. type: number
  1527. usedmargin:
  1528. description: 占用保证金
  1529. type: number
  1530. type: object
  1531. ermcp.RealtimeExposurePositionRsp:
  1532. $ref: '#/definitions/models.ErmcpExposurePostion'
  1533. ermcp.RealtimeExposureRsp:
  1534. $ref: '#/definitions/models.ErmcpRealExposureModel'
  1535. erms2.QueryArbitrageStrategyRsp:
  1536. properties:
  1537. applybasis:
  1538. description: 申请基差
  1539. type: number
  1540. asapplyid:
  1541. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  1542. type: string
  1543. asname:
  1544. description: 策略名称
  1545. type: string
  1546. asno:
  1547. description: 策略编号
  1548. type: string
  1549. basischangepl:
  1550. description: 基差变动损益[结算更新]
  1551. type: number
  1552. biztype:
  1553. description: 业务类型 - 1:正向套利 -1:反向套利
  1554. type: integer
  1555. closetradedate:
  1556. description: 完结交易日(yyyyMMdd)
  1557. type: string
  1558. curbasis:
  1559. description: 当前基差[结算更新]
  1560. type: number
  1561. deliverygoodsid:
  1562. description: 现货品种ID
  1563. type: integer
  1564. futureavgprice:
  1565. description: 期货建仓均价
  1566. type: number
  1567. futurecloseamount:
  1568. description: 期货平仓金额
  1569. type: number
  1570. futurecloseqty:
  1571. description: 期货平仓数量
  1572. type: number
  1573. futureopenamount:
  1574. description: 期货开仓金额
  1575. type: number
  1576. futureopenqty:
  1577. description: 期货开仓数量
  1578. type: number
  1579. futurepl:
  1580. description: 期货总盈亏[结算更新]
  1581. type: number
  1582. futureqty:
  1583. description: 期货持仓数量
  1584. type: number
  1585. futurequote:
  1586. description: 期货额度
  1587. type: number
  1588. goodsgroupid:
  1589. description: 期货品种ID
  1590. type: integer
  1591. marketid:
  1592. description: 市场ID
  1593. type: integer
  1594. netexposure:
  1595. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  1596. type: number
  1597. netexposurepl:
  1598. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  1599. type: number
  1600. netexposurerate:
  1601. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  1602. type: number
  1603. openbasis:
  1604. description: 建仓基差
  1605. type: number
  1606. pricedspotqty:
  1607. description: 已定价现货数量
  1608. type: number
  1609. pricedspotqtynotax:
  1610. description: 已定价现货不含税数量
  1611. type: number
  1612. remark:
  1613. description: 备注
  1614. type: string
  1615. spotavgprice:
  1616. description: 现货均价
  1617. type: number
  1618. spotbuyamount:
  1619. description: 现货采购金额
  1620. type: number
  1621. spotbuyqty:
  1622. description: 现货采购数量
  1623. type: number
  1624. spotpl:
  1625. description: 现货总盈亏[结算更新]
  1626. type: number
  1627. spotquota:
  1628. description: 现货额度
  1629. type: number
  1630. spotsellamount:
  1631. description: 现货销售金额
  1632. type: number
  1633. spotsellqty:
  1634. description: 现货销售数量
  1635. type: number
  1636. spotusedquota:
  1637. description: 现货占用资金
  1638. type: number
  1639. strategystatus:
  1640. description: 策略状态 - 0:未结束 1:已结束
  1641. type: integer
  1642. totalpl:
  1643. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  1644. type: number
  1645. tradedate:
  1646. description: 交易日(yyyyMMdd)
  1647. type: string
  1648. updatetime:
  1649. description: 更新时间
  1650. type: string
  1651. usedquota:
  1652. description: 已占用资金
  1653. type: number
  1654. userid:
  1655. description: 所属机构
  1656. type: integer
  1657. required:
  1658. - asapplyid
  1659. type: object
  1660. erms2.QueryInnerTradeDetailRsp:
  1661. properties:
  1662. accountid:
  1663. description: 账号ID
  1664. type: integer
  1665. agreeunit:
  1666. description: 合约单位
  1667. type: number
  1668. asapplyid:
  1669. description: 策略申请ID
  1670. type: integer
  1671. asname:
  1672. description: 策略名称
  1673. type: string
  1674. asno:
  1675. description: 策略编号
  1676. type: string
  1677. buyorsell:
  1678. description: 方向 - 0:买 1:卖
  1679. type: integer
  1680. channelbuildtype:
  1681. description: 委托单据类型 0:无 1:建仓 2:平仓
  1682. type: integer
  1683. closetype:
  1684. description: 平仓方式 - 0:无 1:平今 2:平昨
  1685. type: integer
  1686. decimalplace:
  1687. description: 报价小数位
  1688. type: integer
  1689. detailtype:
  1690. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  1691. type: integer
  1692. exexchangecode:
  1693. description: 外部交易所代码
  1694. type: string
  1695. exexchangename:
  1696. description: 外部交易所名称
  1697. type: string
  1698. goodscode:
  1699. description: 商品代码(合约)
  1700. type: string
  1701. goodsgroupid:
  1702. description: 商品组ID(品种ID)
  1703. type: integer
  1704. goodsgroupname:
  1705. description: 商品组名称(品种)
  1706. type: string
  1707. goodsid:
  1708. description: 商品ID
  1709. type: integer
  1710. goodsname:
  1711. description: 商品名称(合约)
  1712. type: string
  1713. goodunit:
  1714. description: 报价单位
  1715. type: string
  1716. marketid:
  1717. description: 市场ID
  1718. type: integer
  1719. orderid:
  1720. description: 委托单号
  1721. type: string
  1722. outgoodscode:
  1723. description: 商品代码(外部)
  1724. type: string
  1725. relatedouttradeid:
  1726. description: 关联外部成交单ID
  1727. type: string
  1728. remark:
  1729. description: 备注
  1730. type: string
  1731. spotcontractid:
  1732. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  1733. type: integer
  1734. spotcontractno:
  1735. description: 现货合同编号
  1736. type: string
  1737. tradeid:
  1738. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  1739. type: string
  1740. tradeprice:
  1741. description: 成交价格
  1742. type: number
  1743. tradeqty:
  1744. description: 成交数量
  1745. type: integer
  1746. tradetime:
  1747. description: 成交时间
  1748. type: string
  1749. updatetime:
  1750. description: 更新时间
  1751. type: string
  1752. required:
  1753. - asapplyid
  1754. - buyorsell
  1755. - goodscode
  1756. - goodsgroupid
  1757. - goodsgroupname
  1758. - goodsname
  1759. - tradeid
  1760. type: object
  1761. erms2.QuerySpotContractRsp:
  1762. properties:
  1763. accountid:
  1764. description: 资金账户ID
  1765. type: integer
  1766. areauserid:
  1767. description: 所属机构
  1768. type: integer
  1769. closedate:
  1770. description: 终止日期
  1771. type: string
  1772. closeremark:
  1773. description: 结束备注
  1774. type: string
  1775. closetradedate:
  1776. description: 完结交易日(yyyyMMdd)
  1777. type: string
  1778. closetype:
  1779. description: 终止类型 - 1:违约 2:提前终止
  1780. type: integer
  1781. contractamount:
  1782. description: 合同金额
  1783. type: number
  1784. contractattachment:
  1785. description: 合同附件
  1786. type: string
  1787. contractno:
  1788. description: 现货合同编号
  1789. type: string
  1790. contractqty:
  1791. description: 合同数量(数值) (用于计算)
  1792. type: number
  1793. contractqtychar:
  1794. description: 合同数量\已订价数量 (用于显示)
  1795. type: string
  1796. contractstatus:
  1797. description: 合同状态 - 0:未结束 1:已结束
  1798. type: integer
  1799. contracttype:
  1800. description: 现货合同类型 - 1:采购合同 -1:销售合同
  1801. type: integer
  1802. customeraccountid:
  1803. description: 客户资金账户ID
  1804. type: integer
  1805. customeruserid:
  1806. description: 客户ID
  1807. type: integer
  1808. deliverygoodsdesc:
  1809. description: 品种说明
  1810. type: string
  1811. deliverygoodsid:
  1812. description: 现货品种ID
  1813. type: integer
  1814. handlestatus:
  1815. description: 处理状态
  1816. type: integer
  1817. invoiceatt:
  1818. description: 发票附件
  1819. type: string
  1820. invoicedatetime:
  1821. description: 开收票更新时间
  1822. type: string
  1823. invoiceopentime:
  1824. description: 开票时间
  1825. type: string
  1826. invoiceremark:
  1827. description: 发票备注
  1828. type: string
  1829. invoicestatus:
  1830. description: 开收票状态 - 0:未开票 1:已开票
  1831. type: integer
  1832. lastdate:
  1833. description: 交货时间
  1834. type: string
  1835. marketid:
  1836. description: 市场ID
  1837. type: integer
  1838. paydatetime:
  1839. description: 收付款更新时间
  1840. type: string
  1841. payremark:
  1842. description: 收付款备注
  1843. type: string
  1844. paystatus:
  1845. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  1846. type: integer
  1847. positionqty:
  1848. description: 头寸数量 - 合同数量去小数部分
  1849. type: integer
  1850. producttype:
  1851. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  1852. type: integer
  1853. relatedqty:
  1854. description: 已关联数量
  1855. type: number
  1856. relatedstatus:
  1857. description: 关联完结状态 - 0:未结束 1:已结束
  1858. type: integer
  1859. remark:
  1860. description: 备注
  1861. type: string
  1862. signdate:
  1863. description: 签订日期
  1864. type: string
  1865. spotcontractid:
  1866. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  1867. type: string
  1868. spotdatetime:
  1869. description: 收发货更新时间
  1870. type: string
  1871. spotprice:
  1872. description: 价格
  1873. type: number
  1874. spotremark:
  1875. description: 收发货备注
  1876. type: string
  1877. spotstatus:
  1878. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  1879. type: integer
  1880. tradedate:
  1881. description: 交易日(yyyyMMdd)
  1882. type: string
  1883. userid:
  1884. description: 业务员用户ID
  1885. type: integer
  1886. warehouseid:
  1887. description: 仓库ID
  1888. type: integer
  1889. wrfactortypeid:
  1890. description: 仓单要素类型ID
  1891. type: integer
  1892. wrstandardid:
  1893. description: 仓单标准ID(SEQ_WRSTANDARD)
  1894. type: integer
  1895. required:
  1896. - spotcontractid
  1897. type: object
  1898. erms3.AddErms2ASApplyReq:
  1899. properties:
  1900. applybasis:
  1901. description: 申请基差
  1902. type: number
  1903. applystatus:
  1904. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  1905. type: integer
  1906. asapplyid:
  1907. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  1908. type: integer
  1909. asname:
  1910. description: 策略名称
  1911. type: string
  1912. asno:
  1913. description: 策略编号
  1914. type: string
  1915. auditid:
  1916. description: 审核人
  1917. type: integer
  1918. auditremark:
  1919. description: 审核备注
  1920. type: string
  1921. audittime:
  1922. description: 审核时间
  1923. type: string
  1924. biztype:
  1925. description: 业务类型 - 1:正向套利 2:反向套利
  1926. type: integer
  1927. createtime:
  1928. description: 创建时间
  1929. type: string
  1930. creatorid:
  1931. description: 创建人
  1932. type: integer
  1933. deliverygoodsid:
  1934. description: 现货品种ID
  1935. type: integer
  1936. futurequote:
  1937. description: 期货额度
  1938. type: number
  1939. goodsgroupid:
  1940. description: 期货品种ID
  1941. type: integer
  1942. marketid:
  1943. description: 市场ID
  1944. type: integer
  1945. remark:
  1946. description: 备注
  1947. type: string
  1948. spotquota:
  1949. description: 现货额度
  1950. type: number
  1951. tradedate:
  1952. description: 交易日(yyyyMMdd)
  1953. type: string
  1954. userid:
  1955. description: 所属机构
  1956. type: integer
  1957. required:
  1958. - asapplyid
  1959. type: object
  1960. erms3.AddErms2SpotTradeApplyReq:
  1961. properties:
  1962. applyjsondetail:
  1963. description: 申请明细(JSON)
  1964. type: string
  1965. applystatus:
  1966. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  1967. type: integer
  1968. areauserid:
  1969. description: 所属机构
  1970. type: integer
  1971. auditid:
  1972. description: 审核人
  1973. type: integer
  1974. auditremark:
  1975. description: 审核备注
  1976. type: string
  1977. audittime:
  1978. description: 审核时间
  1979. type: string
  1980. createtime:
  1981. description: 创建时间
  1982. type: string
  1983. creatorid:
  1984. description: 创建人
  1985. type: integer
  1986. deliverygoodsid:
  1987. description: 现货品种ID
  1988. type: integer
  1989. futureaccountid:
  1990. description: 期货资金账户
  1991. type: integer
  1992. goodsgroupid:
  1993. description: 期货品种
  1994. type: integer
  1995. marketid:
  1996. description: 市场ID
  1997. type: integer
  1998. remark:
  1999. description: 备注
  2000. type: string
  2001. spotaccountid:
  2002. description: 现货资金账户
  2003. type: integer
  2004. spottradeid:
  2005. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  2006. type: integer
  2007. spottradename:
  2008. description: 业务名称
  2009. type: string
  2010. spottradeno:
  2011. description: 业务编号
  2012. type: string
  2013. tradedate:
  2014. description: 交易日(yyyyMMdd)
  2015. type: string
  2016. wrstandardid:
  2017. description: 仓单标准ID
  2018. type: integer
  2019. required:
  2020. - spottradeid
  2021. type: object
  2022. erms3.AddSpotContractApplyReq:
  2023. properties:
  2024. accountid:
  2025. description: 资金账户ID
  2026. type: integer
  2027. areauserid:
  2028. description: 所属机构
  2029. type: integer
  2030. contractattachment:
  2031. description: 合同附件
  2032. type: string
  2033. contractno:
  2034. description: 现货合同编号
  2035. type: string
  2036. contracttype:
  2037. description: 现货合同类型 - 1:采购 -1:销售
  2038. type: integer
  2039. creatorid:
  2040. description: 申请人
  2041. type: integer
  2042. customeraccountid:
  2043. description: 客户资金账户ID
  2044. type: integer
  2045. customeruserid:
  2046. description: 客户ID
  2047. type: integer
  2048. details:
  2049. description: 明细
  2050. items:
  2051. $ref: '#/definitions/erms3.SoptContractDetail'
  2052. type: array
  2053. orimargin:
  2054. description: 初始保证金
  2055. type: number
  2056. remark:
  2057. description: 备注
  2058. type: string
  2059. signdate:
  2060. description: 签订日期
  2061. type: string
  2062. required:
  2063. - accountid
  2064. - areauserid
  2065. - contractno
  2066. - contracttype
  2067. - customeraccountid
  2068. - customeruserid
  2069. - details
  2070. - orimargin
  2071. - signdate
  2072. type: object
  2073. erms3.AddSpotContractApplyRsp:
  2074. properties:
  2075. contractno:
  2076. description: 现货合同编号
  2077. type: string
  2078. spotcontractid:
  2079. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  2080. type: integer
  2081. required:
  2082. - contractno
  2083. type: object
  2084. erms3.AddUserInfoApplyReq:
  2085. properties:
  2086. accountid:
  2087. description: 交易系统帐号Id (加密存储)
  2088. type: integer
  2089. areacode:
  2090. description: 机构代码
  2091. type: string
  2092. areaid:
  2093. description: 机构Id
  2094. type: integer
  2095. attachment1:
  2096. description: 附件1
  2097. type: string
  2098. attachment2:
  2099. description: 附件2
  2100. type: string
  2101. attachment3:
  2102. description: 附件3
  2103. type: string
  2104. attachment4:
  2105. description: 附件4
  2106. type: string
  2107. attachment5:
  2108. description: 附件5
  2109. type: string
  2110. auditedby:
  2111. description: 审核人
  2112. type: string
  2113. auditime:
  2114. description: 审核时间
  2115. type: string
  2116. bankaccount:
  2117. description: 银行帐号 (加密存储)
  2118. type: string
  2119. bankaccountname:
  2120. description: 收款人名称
  2121. type: string
  2122. bankcardbackphotourl:
  2123. description: 银行卡背面照地址
  2124. type: string
  2125. bankcardfrontphotourl:
  2126. description: 银行卡正面照地址
  2127. type: string
  2128. bankid:
  2129. description: 银行编码
  2130. type: string
  2131. bankname:
  2132. description: 银行名称
  2133. type: string
  2134. bankpictureurl:
  2135. description: 银行卡正面地址
  2136. type: string
  2137. biznature:
  2138. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2139. type: integer
  2140. bizscope:
  2141. description: 企业经营范围(企业)
  2142. type: string
  2143. biztype:
  2144. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2145. type: integer
  2146. brokerid:
  2147. description: 经纪人ID(加密存储)
  2148. type: string
  2149. cardaddress:
  2150. description: 证件地址 (加密存储)
  2151. type: string
  2152. cardbackphotourl:
  2153. description: 背面证件照地址
  2154. type: string
  2155. cardfrontphotourl:
  2156. description: 正面证件照地址
  2157. type: string
  2158. cardnum:
  2159. description: 证件号码 (加密存储)
  2160. type: string
  2161. cardtype:
  2162. description: 证件类型
  2163. type: integer
  2164. cityid:
  2165. description: 市
  2166. type: integer
  2167. company:
  2168. description: 公司(个人)
  2169. type: string
  2170. contactcardbackphotourl:
  2171. description: 联系人证件背面图片地址
  2172. type: string
  2173. contactcardfrontphotourl:
  2174. description: 联系人证件正面图片地址
  2175. type: string
  2176. contactname:
  2177. description: 联系人
  2178. type: string
  2179. countryid:
  2180. description: 国家
  2181. type: integer
  2182. createtime:
  2183. description: 开户申请时间
  2184. type: string
  2185. cusbankid:
  2186. description: 签约类型
  2187. type: string
  2188. cusbankname:
  2189. description: 签约类型名称
  2190. type: string
  2191. customername:
  2192. description: 客户名称(企业名称)
  2193. type: string
  2194. districtid:
  2195. description: 地区
  2196. type: integer
  2197. email:
  2198. description: Email地址(加密存储)
  2199. type: string
  2200. halfbodyphotourl:
  2201. description: 半身照地址
  2202. type: string
  2203. headurl:
  2204. description: 头像地址
  2205. type: string
  2206. ipaddress:
  2207. description: IP地址
  2208. type: string
  2209. isvalidate:
  2210. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  2211. type: string
  2212. legalcardbackphotourl:
  2213. description: 法人身份证背面照地址
  2214. type: string
  2215. legalcardfrontphotourl:
  2216. description: 法人身份证正面照地址
  2217. type: string
  2218. legalpersonname:
  2219. description: 法人姓名(企业)
  2220. type: string
  2221. logincode:
  2222. description: 登录帐号 (加密存储)
  2223. type: string
  2224. memberareaid:
  2225. description: 所属会员ID
  2226. type: integer
  2227. mobile2:
  2228. description: 手机号码[明文-尚志]
  2229. type: string
  2230. mobilephone:
  2231. description: 手机号码 (加密存储)
  2232. type: string
  2233. modifiedby:
  2234. description: 修改人帐号
  2235. type: integer
  2236. modifiedtime:
  2237. description: 修改时间
  2238. type: string
  2239. nickname:
  2240. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  2241. type: string
  2242. openmode:
  2243. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  2244. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  2245. type: integer
  2246. otherurl:
  2247. description: 其它图片地址[使用分号分隔]
  2248. type: string
  2249. postalcode:
  2250. description: 邮政编码
  2251. type: string
  2252. provinceid:
  2253. description: 省
  2254. type: integer
  2255. proxystatementurl:
  2256. description: 授权委托书
  2257. type: string
  2258. qq:
  2259. description: QQ(加密存储
  2260. type: string
  2261. referral:
  2262. description: 推荐人编码
  2263. type: string
  2264. remark:
  2265. description: 备注
  2266. type: string
  2267. removebeforestatus:
  2268. description: REMOVEBEFORESTATUS
  2269. type: integer
  2270. sex:
  2271. description: 性别 - 0:女 1:男
  2272. type: integer
  2273. signedstatus:
  2274. description: 账户一号签签约状态
  2275. type: integer
  2276. signpdfurl:
  2277. description: 签约pdf文件
  2278. type: string
  2279. subbranch:
  2280. description: 开户支行
  2281. type: string
  2282. telphone:
  2283. description: 联系电话(加密存储)
  2284. type: string
  2285. userid:
  2286. description: 用户ID(自增ID)
  2287. type: integer
  2288. userinfotype:
  2289. description: 用户信息类型 - 1:个人 2:企业
  2290. type: integer
  2291. username:
  2292. description: 用户姓名
  2293. type: string
  2294. userstate:
  2295. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2296. type: integer
  2297. usertype:
  2298. description: 用户类型 - 1:投资者 2:机构
  2299. type: integer
  2300. videourl:
  2301. description: 视频地址
  2302. type: string
  2303. wechat:
  2304. description: 微信号 (加密存储)
  2305. type: string
  2306. required:
  2307. - userid
  2308. type: object
  2309. erms3.CustomerInfo:
  2310. properties:
  2311. accountids:
  2312. description: 资金账户ID列表
  2313. items:
  2314. type: integer
  2315. type: array
  2316. customername:
  2317. description: 名称(企业名称)
  2318. type: string
  2319. mobile:
  2320. description: 手机号码
  2321. type: string
  2322. userid:
  2323. description: 用户ID
  2324. type: integer
  2325. required:
  2326. - userid
  2327. type: object
  2328. erms3.ModifyUserInfoApplyReq:
  2329. properties:
  2330. accountid:
  2331. description: 交易系统帐号Id (加密存储)
  2332. type: integer
  2333. areacode:
  2334. description: 机构代码
  2335. type: string
  2336. areaid:
  2337. description: 机构Id
  2338. type: integer
  2339. attachment1:
  2340. description: 附件1
  2341. type: string
  2342. attachment2:
  2343. description: 附件2
  2344. type: string
  2345. attachment3:
  2346. description: 附件3
  2347. type: string
  2348. attachment4:
  2349. description: 附件4
  2350. type: string
  2351. attachment5:
  2352. description: 附件5
  2353. type: string
  2354. auditedby:
  2355. description: 审核人
  2356. type: string
  2357. auditime:
  2358. description: 审核时间
  2359. type: string
  2360. bankaccount:
  2361. description: 银行帐号 (加密存储)
  2362. type: string
  2363. bankaccountname:
  2364. description: 收款人名称
  2365. type: string
  2366. bankcardbackphotourl:
  2367. description: 银行卡背面照地址
  2368. type: string
  2369. bankcardfrontphotourl:
  2370. description: 银行卡正面照地址
  2371. type: string
  2372. bankid:
  2373. description: 银行编码
  2374. type: string
  2375. bankname:
  2376. description: 银行名称
  2377. type: string
  2378. bankpictureurl:
  2379. description: 银行卡正面地址
  2380. type: string
  2381. biznature:
  2382. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2383. type: integer
  2384. bizscope:
  2385. description: 企业经营范围(企业)
  2386. type: string
  2387. biztype:
  2388. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2389. type: integer
  2390. brokerid:
  2391. description: 经纪人ID(加密存储)
  2392. type: string
  2393. cardaddress:
  2394. description: 证件地址 (加密存储)
  2395. type: string
  2396. cardbackphotourl:
  2397. description: 背面证件照地址
  2398. type: string
  2399. cardfrontphotourl:
  2400. description: 正面证件照地址
  2401. type: string
  2402. cardnum:
  2403. description: 证件号码 (加密存储)
  2404. type: string
  2405. cardtype:
  2406. description: 证件类型
  2407. type: integer
  2408. cityid:
  2409. description: 市
  2410. type: integer
  2411. company:
  2412. description: 公司(个人)
  2413. type: string
  2414. contactcardbackphotourl:
  2415. description: 联系人证件背面图片地址
  2416. type: string
  2417. contactcardfrontphotourl:
  2418. description: 联系人证件正面图片地址
  2419. type: string
  2420. contactname:
  2421. description: 联系人
  2422. type: string
  2423. countryid:
  2424. description: 国家
  2425. type: integer
  2426. createtime:
  2427. description: 开户申请时间
  2428. type: string
  2429. cusbankid:
  2430. description: 签约类型
  2431. type: string
  2432. cusbankname:
  2433. description: 签约类型名称
  2434. type: string
  2435. customername:
  2436. description: 客户名称(企业名称)
  2437. type: string
  2438. districtid:
  2439. description: 地区
  2440. type: integer
  2441. email:
  2442. description: Email地址(加密存储)
  2443. type: string
  2444. halfbodyphotourl:
  2445. description: 半身照地址
  2446. type: string
  2447. headurl:
  2448. description: 头像地址
  2449. type: string
  2450. ipaddress:
  2451. description: IP地址
  2452. type: string
  2453. isvalidate:
  2454. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  2455. type: string
  2456. legalcardbackphotourl:
  2457. description: 法人身份证背面照地址
  2458. type: string
  2459. legalcardfrontphotourl:
  2460. description: 法人身份证正面照地址
  2461. type: string
  2462. legalpersonname:
  2463. description: 法人姓名(企业)
  2464. type: string
  2465. logincode:
  2466. description: 登录帐号 (加密存储)
  2467. type: string
  2468. memberareaid:
  2469. description: 所属会员ID
  2470. type: integer
  2471. mobile2:
  2472. description: 手机号码[明文-尚志]
  2473. type: string
  2474. mobilephone:
  2475. description: 手机号码 (加密存储)
  2476. type: string
  2477. modifiedby:
  2478. description: 修改人帐号
  2479. type: integer
  2480. modifiedtime:
  2481. description: 修改时间
  2482. type: string
  2483. nickname:
  2484. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  2485. type: string
  2486. openmode:
  2487. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  2488. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  2489. type: integer
  2490. otherurl:
  2491. description: 其它图片地址[使用分号分隔]
  2492. type: string
  2493. postalcode:
  2494. description: 邮政编码
  2495. type: string
  2496. provinceid:
  2497. description: 省
  2498. type: integer
  2499. proxystatementurl:
  2500. description: 授权委托书
  2501. type: string
  2502. qq:
  2503. description: QQ(加密存储
  2504. type: string
  2505. referral:
  2506. description: 推荐人编码
  2507. type: string
  2508. remark:
  2509. description: 备注
  2510. type: string
  2511. removebeforestatus:
  2512. description: REMOVEBEFORESTATUS
  2513. type: integer
  2514. sex:
  2515. description: 性别 - 0:女 1:男
  2516. type: integer
  2517. signedstatus:
  2518. description: 账户一号签签约状态
  2519. type: integer
  2520. signpdfurl:
  2521. description: 签约pdf文件
  2522. type: string
  2523. subbranch:
  2524. description: 开户支行
  2525. type: string
  2526. telphone:
  2527. description: 联系电话(加密存储)
  2528. type: string
  2529. userid:
  2530. description: 用户ID(自增ID)
  2531. type: integer
  2532. userinfotype:
  2533. description: 用户信息类型 - 1:个人 2:企业
  2534. type: integer
  2535. username:
  2536. description: 用户姓名
  2537. type: string
  2538. userstate:
  2539. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2540. type: integer
  2541. usertype:
  2542. description: 用户类型 - 1:投资者 2:机构
  2543. type: integer
  2544. videourl:
  2545. description: 视频地址
  2546. type: string
  2547. wechat:
  2548. description: 微信号 (加密存储)
  2549. type: string
  2550. required:
  2551. - userid
  2552. type: object
  2553. erms3.QryAuditContractRsp:
  2554. properties:
  2555. accountid:
  2556. description: 交易员ID
  2557. type: string
  2558. applystatus:
  2559. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2560. type: integer
  2561. curdeliveryqty:
  2562. description: 未交收量
  2563. type: integer
  2564. customername:
  2565. description: 采购方ID
  2566. type: string
  2567. deliverygoodsid:
  2568. description: 品种ID
  2569. type: string
  2570. deliveryqty:
  2571. description: 交收量
  2572. type: integer
  2573. enumdicname:
  2574. description: 单位名称
  2575. type: string
  2576. matchaccountid:
  2577. description: 业务员ID
  2578. type: string
  2579. matchcustomername:
  2580. description: 销售方ID
  2581. type: string
  2582. pricedqty:
  2583. description: 定价量
  2584. type: number
  2585. signdate:
  2586. description: 签订日期
  2587. type: string
  2588. spotcontractid:
  2589. description: 合同ID
  2590. type: string
  2591. totaldqty:
  2592. description: 合同量
  2593. type: number
  2594. unpricedqty:
  2595. description: 未定价量
  2596. type: number
  2597. wrstandardname:
  2598. description: 商品名称
  2599. type: string
  2600. required:
  2601. - matchcustomername
  2602. - spotcontractid
  2603. type: object
  2604. erms3.QryPendingBizRsp:
  2605. $ref: '#/definitions/models.PendingAuditBizModel'
  2606. erms3.QueryBusinessInfoRsp:
  2607. properties:
  2608. businessid:
  2609. description: 业务ID.
  2610. type: integer
  2611. buyamount:
  2612. description: 采购额.
  2613. type: number
  2614. buyqty:
  2615. description: 采购量.
  2616. type: string
  2617. futurepl:
  2618. description: 期货盈亏.
  2619. type: number
  2620. futureqty:
  2621. description: 期货敞口.
  2622. type: string
  2623. goodsid:
  2624. description: 商品名称/商品代码.
  2625. type: string
  2626. hedgingqty:
  2627. description: 套保量.
  2628. type: string
  2629. sellamount:
  2630. description: 销售额.
  2631. type: number
  2632. sellqty:
  2633. description: 销售量.
  2634. type: string
  2635. spotmarketvalue:
  2636. description: 现货市值.
  2637. type: number
  2638. spotpl:
  2639. description: 浮动权益.
  2640. type: number
  2641. spotqty:
  2642. description: 现货量.
  2643. type: string
  2644. statu:
  2645. description: 状态,0-未结束 1-已结束.
  2646. type: integer
  2647. totalpl:
  2648. description: 总盈亏.
  2649. type: number
  2650. totalqty:
  2651. description: 总敞口.
  2652. type: string
  2653. type:
  2654. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  2655. type: integer
  2656. type: object
  2657. erms3.QuerySpotContractAppleFormRsp:
  2658. properties:
  2659. goodses:
  2660. description: 合约列表
  2661. items:
  2662. $ref: '#/definitions/models.GoodsIDAndName'
  2663. type: array
  2664. oppositeusers:
  2665. description: 对方账号列表
  2666. items:
  2667. $ref: '#/definitions/erms3.CustomerInfo'
  2668. type: array
  2669. ouruser:
  2670. $ref: '#/definitions/erms3.CustomerInfo'
  2671. description: 我方账号
  2672. type: object
  2673. warehouseinfos:
  2674. description: 仓库信息列表
  2675. items:
  2676. $ref: '#/definitions/models.Warehouseinfo'
  2677. type: array
  2678. wrstandards:
  2679. description: 仓单标准列表
  2680. items:
  2681. $ref: '#/definitions/models.WRStandardInfo'
  2682. type: array
  2683. type: object
  2684. erms3.QuerySpotContractInfoRsp:
  2685. properties:
  2686. accountid:
  2687. description: 表示交易员ID.
  2688. type: integer
  2689. curdeliveryqty:
  2690. description: 表示未交收量.
  2691. type: number
  2692. customername:
  2693. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  2694. type: string
  2695. deliverygoodsid:
  2696. description: 表示品种ID.
  2697. type: string
  2698. deliveryqty:
  2699. description: 表示交收量.
  2700. type: number
  2701. matchaccountid:
  2702. description: 表示业务员ID.
  2703. type: integer
  2704. matchcustomername:
  2705. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  2706. type: string
  2707. priceqty:
  2708. description: 表示定价量.
  2709. type: number
  2710. relatedbizid:
  2711. description: 表示业务ID.
  2712. type: string
  2713. signdate:
  2714. description: 表示签订日期.
  2715. type: string
  2716. spotcontractid:
  2717. description: 合同ID
  2718. type: string
  2719. status:
  2720. description: 表示状态,0-履约中 1-已完成.
  2721. type: integer
  2722. totalqty:
  2723. description: 表示合同量.
  2724. type: number
  2725. unpricedqty:
  2726. description: 表示未定价量.
  2727. type: number
  2728. wrstandardname:
  2729. description: 表示商品ID.
  2730. type: string
  2731. type: object
  2732. erms3.QueryUserInfoAppliesRsp:
  2733. properties:
  2734. biznature:
  2735. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2736. type: integer
  2737. contactname:
  2738. description: 联系人
  2739. type: string
  2740. createtime:
  2741. description: 开户申请时间
  2742. type: string
  2743. userid:
  2744. description: 用户ID(自增ID)
  2745. type: integer
  2746. userinfotype:
  2747. description: 用户信息类型 - 1:个人 2:企业
  2748. type: integer
  2749. username:
  2750. description: 用户姓名
  2751. type: string
  2752. userstate:
  2753. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2754. type: integer
  2755. required:
  2756. - userid
  2757. type: object
  2758. erms3.QueryUserInfosRsp:
  2759. properties:
  2760. biznature:
  2761. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2762. type: integer
  2763. contactname:
  2764. description: 联系人
  2765. type: string
  2766. customername:
  2767. description: 客户名称(企业名称)
  2768. type: string
  2769. userid:
  2770. description: 用户ID
  2771. type: integer
  2772. userinfotype:
  2773. description: 用户信息类型 - 1:个人 2:企业
  2774. type: integer
  2775. userstatus:
  2776. description: 用户状态 - 1:正常 2:注销
  2777. type: integer
  2778. required:
  2779. - userid
  2780. type: object
  2781. erms3.SoptContractDetail:
  2782. properties:
  2783. deliverygoodsdesc:
  2784. description: 现货品种说明
  2785. type: string
  2786. deliverygoodsid:
  2787. description: 现货品种ID
  2788. type: integer
  2789. deliverygoodsname:
  2790. description: 现货品种名称
  2791. type: string
  2792. pointdesc:
  2793. description: 点价描述
  2794. type: string
  2795. producttype:
  2796. description: 产品类型 1:标准仓单 2:等标 3:非标
  2797. type: integer
  2798. producttypename:
  2799. description: 产品类型名称
  2800. type: string
  2801. spotPointOrderVoList:
  2802. description: 点价列表
  2803. items:
  2804. $ref: '#/definitions/erms3.SpotPointOrder'
  2805. type: array
  2806. spotPriceOrderList:
  2807. description: 定价列表
  2808. items:
  2809. $ref: '#/definitions/erms3.SpotPriceOrder'
  2810. type: array
  2811. unitname:
  2812. description: 单位名称
  2813. type: string
  2814. warehouseid:
  2815. description: 仓库ID
  2816. type: integer
  2817. warehousename:
  2818. description: 仓库名称
  2819. type: string
  2820. wrstandardid:
  2821. description: 交易标的ID
  2822. type: integer
  2823. wrstandardname:
  2824. description: 交易标的名称
  2825. type: string
  2826. required:
  2827. - deliverygoodsid
  2828. - producttype
  2829. - unitname
  2830. - warehouseid
  2831. - wrstandardid
  2832. - wrstandardname
  2833. type: object
  2834. erms3.SpotPointOrder:
  2835. properties:
  2836. basic:
  2837. description: 基差
  2838. type: number
  2839. deliveryenddate:
  2840. description: 交收结束日期
  2841. type: string
  2842. deliverystartdate:
  2843. description: 交收开始日期
  2844. type: string
  2845. enddate:
  2846. description: 点价结束日期
  2847. type: string
  2848. goodsid:
  2849. description: 商品ID
  2850. type: integer
  2851. goodsname:
  2852. description: 商品名称
  2853. type: string
  2854. qty:
  2855. description: 数量
  2856. type: number
  2857. startdate:
  2858. description: 点价开始日期
  2859. type: string
  2860. required:
  2861. - basic
  2862. - goodsid
  2863. - qty
  2864. type: object
  2865. erms3.SpotPriceOrder:
  2866. properties:
  2867. amount:
  2868. description: 金额
  2869. type: number
  2870. deliveryenddate:
  2871. description: 交收结束日期
  2872. type: string
  2873. deliverystartdate:
  2874. description: 交收开始日期
  2875. type: string
  2876. price:
  2877. description: 价格
  2878. type: number
  2879. qty:
  2880. description: 数量
  2881. type: number
  2882. required:
  2883. - amount
  2884. - price
  2885. - qty
  2886. type: object
  2887. hsby.GetHsbyMyCountRsp:
  2888. properties:
  2889. myCouponCount:
  2890. description: 我的优惠卷数量
  2891. type: integer
  2892. myOrderDetailListingCount:
  2893. description: 我的订单求购中数量
  2894. type: integer
  2895. myOrderDetailPreCount:
  2896. description: 我的订单抢购中数量
  2897. type: integer
  2898. myPackageUnReceiveCount:
  2899. description: 我的包裹待收货数量
  2900. type: integer
  2901. myPackageUnSendCount:
  2902. description: 我的包裹待发货数量
  2903. type: integer
  2904. myPayOrderCount:
  2905. description: 我的订单待付款数量
  2906. type: integer
  2907. type: object
  2908. hsby.QueryProvincesAndCitiesRsp:
  2909. properties:
  2910. cities:
  2911. description: 市
  2912. items:
  2913. $ref: '#/definitions/models.Division'
  2914. type: array
  2915. province:
  2916. $ref: '#/definitions/models.Division'
  2917. description: 省
  2918. type: object
  2919. type: object
  2920. models.AreaSpotModel:
  2921. properties:
  2922. areauserid:
  2923. description: 所属机构
  2924. type: integer
  2925. decreaseqty:
  2926. description: 减少数量=-(销售已定价数量+采购计划数量)
  2927. type: number
  2928. increaseqty:
  2929. description: 增加数量=销售计划数量+采购已定价数量
  2930. type: number
  2931. oritoalspotqty:
  2932. description: 昨日数量
  2933. type: number
  2934. totalspotqty:
  2935. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  2936. type: number
  2937. updatetime:
  2938. description: 更新时间
  2939. type: string
  2940. wrstandardcode:
  2941. description: 现货品种代码
  2942. type: string
  2943. wrstandardid:
  2944. description: 现货商品ID
  2945. type: integer
  2946. wrstandardname:
  2947. description: 现货品种
  2948. type: string
  2949. type: object
  2950. models.Clientfixedadconfig:
  2951. properties:
  2952. adsort:
  2953. description: 排序
  2954. type: integer
  2955. adtype:
  2956. description: 广告位类型 - 1:新品抢购(HSBY)
  2957. type: integer
  2958. areauserid:
  2959. description: 所属机构ID
  2960. type: integer
  2961. createdate:
  2962. description: 创建时间
  2963. type: string
  2964. creatorid:
  2965. description: 创建人
  2966. type: integer
  2967. imagepath:
  2968. description: 图片
  2969. type: string
  2970. isshow:
  2971. description: 是否展示 - 0:不展示 1:展示
  2972. type: integer
  2973. modifierid:
  2974. description: 操作人
  2975. type: integer
  2976. recsize:
  2977. description: 推荐尺寸
  2978. type: string
  2979. title:
  2980. description: 标题
  2981. type: string
  2982. updatedate:
  2983. description: 更新时间
  2984. type: string
  2985. urlcontent:
  2986. description: 链接(地址或商品ID)
  2987. type: string
  2988. urltype:
  2989. description: 链接类型 - 1:直接地址 2:商品ID
  2990. type: integer
  2991. required:
  2992. - adsort
  2993. - adtype
  2994. type: object
  2995. models.Division:
  2996. properties:
  2997. autoid:
  2998. description: 自增ID
  2999. type: integer
  3000. divisioncode:
  3001. description: 行政代码
  3002. type: string
  3003. divisionlevel:
  3004. description: 行政级别
  3005. type: string
  3006. divisionname:
  3007. description: 行政名称
  3008. type: string
  3009. modifierid:
  3010. description: 修改人
  3011. type: integer
  3012. modifytime:
  3013. description: 修改时间
  3014. type: string
  3015. parentcode:
  3016. description: 上级行政代码
  3017. type: string
  3018. pathname:
  3019. description: 路径名称
  3020. type: string
  3021. postcode:
  3022. description: 邮政编码
  3023. type: string
  3024. separablename:
  3025. description: 可拆分的全称
  3026. type: string
  3027. shortcode:
  3028. description: 地区简码
  3029. type: string
  3030. required:
  3031. - autoid
  3032. - divisioncode
  3033. type: object
  3034. models.Enumdicitem:
  3035. properties:
  3036. autoid:
  3037. description: 自增ID
  3038. type: integer
  3039. bankmappedvalue:
  3040. description: 银行服务对应值
  3041. type: string
  3042. enumdiccode:
  3043. description: 所属枚举代码
  3044. type: string
  3045. enumdicid:
  3046. description: 所属枚举ID
  3047. type: integer
  3048. enumdicname:
  3049. description: 枚举项名称
  3050. type: string
  3051. enumitemname:
  3052. description: 枚举项值
  3053. type: integer
  3054. enumitemstatus:
  3055. description: 枚举项状态 - 1.启用 2.不启用
  3056. type: integer
  3057. enumitemvalue:
  3058. description: 通用值 - [币种通用简写]
  3059. type: string
  3060. param1:
  3061. description: 参数1[币种:币种小数位]
  3062. type: string
  3063. param2:
  3064. description: 参数1[币种:币种显示单位]
  3065. type: string
  3066. remark:
  3067. description: 备注
  3068. type: string
  3069. required:
  3070. - autoid
  3071. - enumdiccode
  3072. - enumdicid
  3073. - enumitemname
  3074. type: object
  3075. models.Ermcp3AreaSpot:
  3076. properties:
  3077. areauserid:
  3078. description: 所属机构
  3079. type: integer
  3080. decreaseqty:
  3081. description: 减少数量=-(销售已定价数量+采购计划数量)
  3082. type: number
  3083. deliverygoodscode:
  3084. description: 现货品种代码
  3085. type: string
  3086. deliverygoodsid:
  3087. description: 现货品种id
  3088. type: integer
  3089. deliverygoodsname:
  3090. description: 现货品种名称
  3091. type: string
  3092. enumdicname:
  3093. description: 单位名称
  3094. type: string
  3095. goodsunitid:
  3096. description: 现货品种单位id
  3097. type: integer
  3098. increaseqty:
  3099. description: 增加数量=销售计划数量+采购已定价数量
  3100. type: number
  3101. oritoalspotqty:
  3102. description: 昨日数量
  3103. type: number
  3104. totalspotqty:
  3105. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  3106. type: number
  3107. updatetime:
  3108. description: 更新时间
  3109. type: string
  3110. type: object
  3111. models.Ermcp3AreaSpotDetail:
  3112. properties:
  3113. contracttype:
  3114. description: 合同类型 1-采购 -1-销售
  3115. type: integer
  3116. createtime:
  3117. description: 创建时间
  3118. type: string
  3119. deliverygoodscode:
  3120. description: 现货品种代码
  3121. type: string
  3122. deliverygoodsid:
  3123. description: 现货品种id
  3124. type: integer
  3125. deliverygoodsname:
  3126. description: 现货品种名称
  3127. type: string
  3128. enumdicname:
  3129. description: 现货商品单位名称
  3130. type: string
  3131. logtype:
  3132. description: 记录类型 1-套保 2-现货合同
  3133. type: integer
  3134. qty:
  3135. description: 数量
  3136. type: number
  3137. recordname:
  3138. description: 类型名称
  3139. type: string
  3140. relatedid:
  3141. description: 套保计划ID/现货合同ID
  3142. type: string
  3143. relatedno:
  3144. description: 编号
  3145. type: string
  3146. strtime:
  3147. description: 时间
  3148. type: string
  3149. type: object
  3150. models.Ermcp3AreaStock:
  3151. properties:
  3152. brandname:
  3153. description: 品牌名称
  3154. type: string
  3155. curstock:
  3156. description: 期末库存量(今日量)
  3157. type: number
  3158. deliverygoodscode:
  3159. description: 现货品种代码
  3160. type: string
  3161. deliverygoodsid:
  3162. description: 现货品种id
  3163. type: integer
  3164. deliverygoodsname:
  3165. description: 现货品种名称
  3166. type: string
  3167. enumdicname:
  3168. description: 单位名称
  3169. type: string
  3170. goodsunitid:
  3171. description: 现货商品单位id
  3172. type: integer
  3173. oristock:
  3174. description: 期初库存量(昨日量)
  3175. type: number
  3176. spotgoodsbrandid:
  3177. description: 现货品牌ID
  3178. type: integer
  3179. todaybuyinqty:
  3180. description: 今日采购入库量
  3181. type: number
  3182. todayproduceinqty:
  3183. description: 今日生产入库量
  3184. type: number
  3185. todayproduceoutqty:
  3186. description: 今日生产出库量
  3187. type: number
  3188. todayselloutqty:
  3189. description: 今日销售出库量
  3190. type: number
  3191. unitid:
  3192. description: 单位id
  3193. type: integer
  3194. updatetime:
  3195. description: 更新时间
  3196. type: string
  3197. userid:
  3198. description: 机构ID
  3199. type: integer
  3200. username:
  3201. description: 机构名称
  3202. type: string
  3203. warehousecode:
  3204. description: 仓库代码
  3205. type: string
  3206. warehouseinfoid:
  3207. description: 仓库ID
  3208. type: string
  3209. warehousename:
  3210. description: 仓库名称
  3211. type: string
  3212. warehousetype:
  3213. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3214. type: integer
  3215. wrstandardcode:
  3216. description: 品类代码
  3217. type: string
  3218. wrstandardid:
  3219. description: 品类ID
  3220. type: string
  3221. wrstandardname:
  3222. description: 品类名称
  3223. type: string
  3224. required:
  3225. - userid
  3226. type: object
  3227. models.Ermcp3AreaStockApply:
  3228. properties:
  3229. applyid:
  3230. description: 申请人
  3231. type: integer
  3232. applyname:
  3233. description: 申请人名称
  3234. type: string
  3235. applyremark:
  3236. description: 申请备注
  3237. type: string
  3238. applysrc:
  3239. description: 申请来源 - 1:管理端 2:终端
  3240. type: integer
  3241. applystatus:
  3242. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  3243. type: integer
  3244. applytime:
  3245. description: 申请时间
  3246. type: string
  3247. auditid:
  3248. description: 审核人
  3249. type: integer
  3250. auditname:
  3251. description: 审核人名称
  3252. type: string
  3253. auditremark:
  3254. description: 审核备注
  3255. type: string
  3256. auditsrc:
  3257. description: 审核来源 - 1:管理端 2:终端
  3258. type: integer
  3259. audittime:
  3260. description: 审核时间
  3261. type: string
  3262. audittradedate:
  3263. description: 审核交易日(yyyyMMdd)
  3264. type: string
  3265. brandname:
  3266. description: 品牌名称
  3267. type: string
  3268. buynickname:
  3269. description: 采购方昵称
  3270. type: string
  3271. buyuserid:
  3272. description: 采购方userid
  3273. type: integer
  3274. buyusername:
  3275. description: 采购方名称
  3276. type: string
  3277. contractno:
  3278. description: 合同编号
  3279. type: string
  3280. contractqty:
  3281. description: 合同量
  3282. type: number
  3283. contracttype:
  3284. description: 现货合同类型 - 1:采购 -1:销售
  3285. type: integer
  3286. deliverygoodscode:
  3287. description: 现货品种代码
  3288. type: string
  3289. deliverygoodsid:
  3290. description: 现货品种id
  3291. type: integer
  3292. deliverygoodsname:
  3293. description: 现货品种名称
  3294. type: string
  3295. enumdicname:
  3296. description: 现货商品单位名称
  3297. type: string
  3298. inoutapplyid:
  3299. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  3300. type: string
  3301. inouttype:
  3302. description: 出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  3303. type: integer
  3304. pricetype:
  3305. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  3306. type: integer
  3307. qty:
  3308. description: 数量
  3309. type: number
  3310. sellnickname:
  3311. description: 销售方昵称
  3312. type: string
  3313. selluserid:
  3314. description: 销售方userid
  3315. type: integer
  3316. sellusername:
  3317. description: 销售方名称
  3318. type: string
  3319. spotcontractid:
  3320. description: 关联现货合同ID
  3321. type: string
  3322. spotgoodsbrandid:
  3323. description: 现货品牌ID
  3324. type: integer
  3325. unitid:
  3326. description: 单位id
  3327. type: integer
  3328. userid:
  3329. description: 机构ID
  3330. type: integer
  3331. warehousecode:
  3332. description: 仓库代码
  3333. type: string
  3334. warehouseinfoid:
  3335. description: 现货仓库ID
  3336. type: string
  3337. warehousename:
  3338. description: 仓库名称
  3339. type: string
  3340. warehousetype:
  3341. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3342. type: integer
  3343. wrstandardcode:
  3344. description: 品类代码
  3345. type: string
  3346. wrstandardid:
  3347. description: 品类ID
  3348. type: integer
  3349. wrstandardname:
  3350. description: 品类名称
  3351. type: string
  3352. type: object
  3353. models.Ermcp3AreaStockApplySum:
  3354. properties:
  3355. brandname:
  3356. description: 品牌名称
  3357. type: string
  3358. inouttype:
  3359. description: 出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  3360. type: integer
  3361. spotcontractid:
  3362. description: 关联现货合同ID
  3363. type: string
  3364. spotgoodsbrandid:
  3365. description: 品牌id
  3366. type: integer
  3367. totalqty:
  3368. description: 总数量
  3369. type: number
  3370. wrstandardid:
  3371. description: 品类id
  3372. type: integer
  3373. wrstandardname:
  3374. description: 品类名称
  3375. type: string
  3376. type: object
  3377. models.Ermcp3AreaStockReport:
  3378. properties:
  3379. brandname:
  3380. description: 品牌名称
  3381. type: string
  3382. curstock:
  3383. description: 期末库存量
  3384. type: number
  3385. deliverygoodscode:
  3386. description: 现货品种代码
  3387. type: string
  3388. deliverygoodsid:
  3389. description: 现货品种id
  3390. type: integer
  3391. deliverygoodsname:
  3392. description: 现货品种名称
  3393. type: string
  3394. enumdicname:
  3395. description: 单位名称
  3396. type: string
  3397. goodsunitid:
  3398. description: 现货单位id
  3399. type: integer
  3400. oristock:
  3401. description: 期初库存量
  3402. type: number
  3403. spotgoodsbrandid:
  3404. description: 现货品牌ID
  3405. type: integer
  3406. todaybuyinqty:
  3407. description: 今日采购入库量
  3408. type: number
  3409. todayproduceinqty:
  3410. description: 今日生产入库量
  3411. type: number
  3412. todayproduceoutqty:
  3413. description: 今日生产出库量
  3414. type: number
  3415. todayselloutqty:
  3416. description: 今日销售出库量
  3417. type: number
  3418. unitid:
  3419. description: 品类单位id
  3420. type: integer
  3421. updatetime:
  3422. description: 更新时间
  3423. type: string
  3424. userid:
  3425. description: 机构ID
  3426. type: integer
  3427. username:
  3428. description: 机构名称
  3429. type: string
  3430. warehousecode:
  3431. description: 仓库代码
  3432. type: string
  3433. warehouseinfoid:
  3434. description: 仓库ID
  3435. type: string
  3436. warehousename:
  3437. description: 仓库名称
  3438. type: string
  3439. warehousetype:
  3440. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3441. type: integer
  3442. wrstandardcode:
  3443. description: 品类代码
  3444. type: string
  3445. wrstandardid:
  3446. description: 品类ID
  3447. type: integer
  3448. wrstandardname:
  3449. description: 品类名称
  3450. type: string
  3451. type: object
  3452. models.Ermcp3Brand:
  3453. properties:
  3454. areauserid:
  3455. description: 用户id
  3456. type: integer
  3457. brandid:
  3458. description: 品牌id
  3459. type: integer
  3460. brandname:
  3461. description: 品牌名称
  3462. type: string
  3463. deliverygoodsid:
  3464. description: 品种ID
  3465. type: integer
  3466. type: object
  3467. models.Ermcp3Contract:
  3468. properties:
  3469. accountid:
  3470. description: 期货账户id
  3471. type: string
  3472. amount:
  3473. description: 金额 [1:一口价、3:暂定价]
  3474. type: number
  3475. attachment:
  3476. description: 附件
  3477. type: string
  3478. auditremark:
  3479. description: 审核意见
  3480. type: string
  3481. audittime:
  3482. description: 审核时间
  3483. type: string
  3484. biztype:
  3485. description: 业务类型 1-套保 2-套利
  3486. type: integer
  3487. brandname:
  3488. description: 品牌名称
  3489. type: string
  3490. buynickname:
  3491. description: 销售方昵称
  3492. type: string
  3493. buyuserid:
  3494. description: 采购方ID
  3495. type: integer
  3496. buyusername:
  3497. description: 采购方名称
  3498. type: string
  3499. contracctstatus:
  3500. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  3501. type: integer
  3502. contractmargin:
  3503. description: 合同保证金
  3504. type: number
  3505. contractno:
  3506. description: 现货合同编号
  3507. type: string
  3508. contracttype:
  3509. description: 现货合同类型 - 1:采购 -1:销售
  3510. type: integer
  3511. convertfactor:
  3512. description: 标仓系数(品类)
  3513. type: number
  3514. createtime:
  3515. description: 创建时间
  3516. type: string
  3517. deliveryenddate:
  3518. description: 交收期(结束)
  3519. type: string
  3520. deliverygoodscode:
  3521. description: 现货品种代码
  3522. type: string
  3523. deliverygoodsid:
  3524. description: 现货品种ID
  3525. type: integer
  3526. deliverygoodsname:
  3527. description: 现货品种名称
  3528. type: string
  3529. deliverystartdate:
  3530. description: 交收期(开始)
  3531. type: string
  3532. enddate:
  3533. description: 点价结束日期 [2:点价 3:暂定价]
  3534. type: string
  3535. enumdicname:
  3536. description: 单位名称
  3537. type: string
  3538. goodscode:
  3539. description: 点价合约代码
  3540. type: string
  3541. goodsid:
  3542. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  3543. type: integer
  3544. goodsname:
  3545. description: 点价商品名称
  3546. type: string
  3547. margin:
  3548. description: 当前保证金
  3549. type: number
  3550. meruserid:
  3551. description: 跟单员id
  3552. type: integer
  3553. meruserlogincode:
  3554. description: 跟单员登录代码
  3555. type: string
  3556. price:
  3557. description: 价格\暂定价 [1:一口价、3:暂定价]
  3558. type: number
  3559. pricemove:
  3560. description: 升贴水 [2:点价 3:暂定价]
  3561. type: number
  3562. pricetype:
  3563. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  3564. type: integer
  3565. producttype:
  3566. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  3567. type: integer
  3568. qty:
  3569. description: 数量
  3570. type: number
  3571. remark:
  3572. description: 备注
  3573. type: string
  3574. saleuserid:
  3575. description: 业务员id
  3576. type: integer
  3577. saleuserlogincode:
  3578. description: 业务员登录代码
  3579. type: string
  3580. sellnickname:
  3581. description: 采购方昵称
  3582. type: string
  3583. selluserid:
  3584. description: 销售方ID
  3585. type: integer
  3586. sellusername:
  3587. description: 销售方名称
  3588. type: string
  3589. spotcontractid:
  3590. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  3591. type: string
  3592. spotgoodsbrandid:
  3593. description: 现货品牌ID(DGFactoryItem表的ID)
  3594. type: integer
  3595. spotgoodsdesc:
  3596. description: 商品型号
  3597. type: string
  3598. startdate:
  3599. description: 点价开始日期 [2:点价 3:暂定价]
  3600. type: string
  3601. tradeuserid:
  3602. description: 交易员id
  3603. type: integer
  3604. tradeuserlogincode:
  3605. description: 交易员登录代码
  3606. type: string
  3607. unitid:
  3608. description: 单位id(取品类上的单位id)
  3609. type: integer
  3610. updatetime:
  3611. description: 更新时间
  3612. type: string
  3613. userid:
  3614. description: 所属机构ID
  3615. type: integer
  3616. wrstandardcode:
  3617. description: 品类代码
  3618. type: string
  3619. wrstandardid:
  3620. description: 品类ID
  3621. type: integer
  3622. wrstandardname:
  3623. description: 品类名称
  3624. type: string
  3625. type: object
  3626. models.Ermcp3ExposureDetail:
  3627. properties:
  3628. areauserid:
  3629. description: 机构ID
  3630. type: integer
  3631. changeQty:
  3632. description: 套保变动量
  3633. type: number
  3634. contracttype:
  3635. description: 现货合同类型 - 1:采购 -1:销售
  3636. type: integer
  3637. convertfactor:
  3638. description: 标仓系数
  3639. type: number
  3640. convertratio:
  3641. description: 套保系数
  3642. type: number
  3643. createtime:
  3644. description: 时间
  3645. type: string
  3646. deliverygoodscode:
  3647. description: 现货品种代码
  3648. type: string
  3649. deliverygoodsid:
  3650. description: 现货品种id
  3651. type: integer
  3652. deliverygoodsname:
  3653. description: 现货品种名称
  3654. type: string
  3655. enumdicname:
  3656. description: 现货商品单位名称
  3657. type: string
  3658. logtype:
  3659. description: 类型 - 1:套保计划 2:现货合同
  3660. type: integer
  3661. middlegoodsId:
  3662. description: 套保商品id
  3663. type: integer
  3664. middlegoodscode:
  3665. description: 套保商品代码
  3666. type: string
  3667. middlegoodsname:
  3668. description: 套保商品名称
  3669. type: string
  3670. qty:
  3671. description: 数量
  3672. type: number
  3673. relateNo:
  3674. description: 现货合同/套保计划编号
  3675. type: string
  3676. type: object
  3677. models.Ermcp3Goods:
  3678. properties:
  3679. agreeunit:
  3680. description: 合约单位(合约乘数)
  3681. type: number
  3682. enumdicname:
  3683. description: 单位名称
  3684. type: string
  3685. exexchangecode:
  3686. description: 交易所代码
  3687. type: string
  3688. goodscode:
  3689. description: 期货商品代码
  3690. type: string
  3691. goodsid:
  3692. description: 期货商品id
  3693. type: integer
  3694. goodsname:
  3695. description: 期货商品名称
  3696. type: string
  3697. type: object
  3698. models.Ermcp3GoodsGroup:
  3699. properties:
  3700. agreeunit:
  3701. description: 合约单位
  3702. type: number
  3703. areauserid:
  3704. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  3705. type: integer
  3706. canshort:
  3707. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  3708. type: integer
  3709. closepricemode:
  3710. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  3711. type: integer
  3712. createtime:
  3713. description: 创建时间
  3714. type: string
  3715. creatorid:
  3716. description: 创建人
  3717. type: integer
  3718. currencyid:
  3719. description: 报价货币ID
  3720. type: integer
  3721. decimalplace:
  3722. description: 报价小数位
  3723. type: integer
  3724. enumdicname:
  3725. description: 单位名称
  3726. type: string
  3727. excludecfg:
  3728. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  3729. type: integer
  3730. exexchangeid:
  3731. description: 外部交易所ID[通道交易]
  3732. type: integer
  3733. goodsgroupid:
  3734. description: 商品组ID(自增ID)
  3735. type: integer
  3736. goodsgroupname:
  3737. description: 商品组名称
  3738. type: string
  3739. goodsgroupstatus:
  3740. description: 商品组状态 - 1:正常 2:注销
  3741. type: integer
  3742. goodunitid:
  3743. description: 报价单位ID
  3744. type: integer
  3745. groupcategroyid:
  3746. description: 品种分类ID
  3747. type: integer
  3748. innerdealmode:
  3749. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  3750. type: integer
  3751. marketid:
  3752. description: 所属市场ID
  3753. type: integer
  3754. modifierid:
  3755. description: 修改人
  3756. type: integer
  3757. modifytime:
  3758. description: 修改时间
  3759. type: string
  3760. outerdealmode:
  3761. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  3762. type: integer
  3763. outergroupcode:
  3764. description: 外部商品组代码[通道交易]
  3765. type: string
  3766. quoteminunit:
  3767. description: 行情最小变动单位 [整数,报价小数位一起使用]
  3768. type: integer
  3769. quotesourcegroupid:
  3770. description: 所属行情源分组ID[参考行情市场用\通道交易]
  3771. type: integer
  3772. syncgoodsqty:
  3773. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  3774. type: integer
  3775. required:
  3776. - areauserid
  3777. type: object
  3778. models.Ermcp3GoodsGroupEx:
  3779. properties:
  3780. convertratio:
  3781. description: 折算系数(品种系数)
  3782. type: number
  3783. enumdicname:
  3784. description: 单位名称
  3785. type: string
  3786. exexchangecode:
  3787. description: 交易所代码
  3788. type: string
  3789. glist:
  3790. description: 合约列表
  3791. items:
  3792. $ref: '#/definitions/models.Ermcp3Goods'
  3793. type: array
  3794. goodsgroupid:
  3795. description: 商品组id
  3796. type: integer
  3797. goodsgroupname:
  3798. description: 商品组名称
  3799. type: string
  3800. goodsunitid:
  3801. description: 单位id
  3802. type: integer
  3803. middlegoodsid:
  3804. description: 套保商品id
  3805. type: integer
  3806. type: object
  3807. models.Ermcp3HedgePlan:
  3808. properties:
  3809. accountid:
  3810. description: 资金账号
  3811. type: integer
  3812. areauserid:
  3813. description: 用户ID
  3814. type: integer
  3815. audittime:
  3816. description: 审核时间
  3817. type: string
  3818. contracttype:
  3819. description: 计划类型 - 1:采购 -1:销售
  3820. type: integer
  3821. convertfactor:
  3822. description: 标仓系数
  3823. type: number
  3824. createtime:
  3825. description: 创建时间
  3826. type: string
  3827. deliverygoodscode:
  3828. description: 现货品种代码
  3829. type: string
  3830. deliverygoodsid:
  3831. description: 现货品种ID
  3832. type: integer
  3833. deliverygoodsname:
  3834. description: 现货品种名称
  3835. type: string
  3836. enumdicname:
  3837. description: 单位名称
  3838. type: string
  3839. hedgeplanid:
  3840. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  3841. type: string
  3842. hedgeplanno:
  3843. description: 套保计划编号(名称)
  3844. type: string
  3845. hedgeplanstatus:
  3846. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  3847. type: integer
  3848. planqty:
  3849. description: 计划数量
  3850. type: number
  3851. plantime:
  3852. description: 计划时间
  3853. type: string
  3854. producttype:
  3855. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  3856. type: integer
  3857. remark:
  3858. description: 备注
  3859. type: string
  3860. spotgoodsdesc:
  3861. description: 商品型号
  3862. type: string
  3863. taaccountname:
  3864. description: 资金账号名称
  3865. type: string
  3866. unitid:
  3867. description: 单位id
  3868. type: integer
  3869. updatetime:
  3870. description: 更新时间
  3871. type: string
  3872. wrstandardcode:
  3873. description: 品类代码
  3874. type: string
  3875. wrstandardid:
  3876. description: 品类id
  3877. type: integer
  3878. wrstandardname:
  3879. description: 品类名称
  3880. type: string
  3881. type: object
  3882. models.Ermcp3MiddleGoodsDetail2:
  3883. properties:
  3884. convertratio:
  3885. description: 套保系数(折算系数)
  3886. type: number
  3887. gplist:
  3888. description: 关联商品组列表
  3889. items:
  3890. $ref: '#/definitions/models.Ermcp3GoodsGroupEx'
  3891. type: array
  3892. mg:
  3893. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  3894. description: 套保商品信息
  3895. type: object
  3896. type: object
  3897. models.Ermcp3MiddleGoodsDetailEx:
  3898. properties:
  3899. dglist:
  3900. description: 关联的现货品种列表
  3901. items:
  3902. $ref: '#/definitions/models.ErmcpDeliveryGoodsDetail2'
  3903. type: array
  3904. gplist:
  3905. description: 关联商品组列表
  3906. items:
  3907. $ref: '#/definitions/models.Ermcp3GoodsGroupEx'
  3908. type: array
  3909. mg:
  3910. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  3911. description: 套保商品信息
  3912. type: object
  3913. type: object
  3914. models.Ermcp3ReckonAreaSpotSub:
  3915. properties:
  3916. accountid:
  3917. description: 期货账户ID
  3918. type: integer
  3919. accountname:
  3920. description: 所属机构名称
  3921. type: string
  3922. areauserid:
  3923. description: 账户所属机构
  3924. type: integer
  3925. brandname:
  3926. description: 品牌名称
  3927. type: string
  3928. buycontractinqty:
  3929. description: 采购合同入库量
  3930. type: number
  3931. buypricedamount:
  3932. description: 采购合同已定价金额
  3933. type: number
  3934. buypricedqty:
  3935. description: 采购合同已定价数量
  3936. type: number
  3937. buyreckonqty:
  3938. description: 采购合同交收量
  3939. type: number
  3940. deliverygoodscode:
  3941. description: 现货商品代码
  3942. type: string
  3943. deliverygoodsid:
  3944. description: 现货品种ID
  3945. type: integer
  3946. deliverygoodsname:
  3947. description: 现货商品名称
  3948. type: string
  3949. enumdicname:
  3950. description: 现货商品单位名称
  3951. type: string
  3952. goodsunitid:
  3953. description: 现货商品单位id
  3954. type: integer
  3955. oribuycontractinqty:
  3956. description: 期初采购合同入库量
  3957. type: number
  3958. oribuypricedamount:
  3959. description: 期初采购合同已定价金额
  3960. type: number
  3961. oribuypricedqty:
  3962. description: 期初采购合同已定价数量
  3963. type: number
  3964. oribuyreckonqty:
  3965. description: 期初采购合同交收量
  3966. type: number
  3967. oriproduceinqty:
  3968. description: 期初生产入库量
  3969. type: number
  3970. oriproduceoutqty:
  3971. description: 期初生产出库量
  3972. type: number
  3973. orisellcontractoutqty:
  3974. description: 期初销售合同出库量
  3975. type: number
  3976. orisellpricedamount:
  3977. description: 期初销售合同已定价金额
  3978. type: number
  3979. orisellpricedqty:
  3980. description: 期初销售合同已定价数量
  3981. type: number
  3982. orisellreckonqty:
  3983. description: 期初销售合同交收量
  3984. type: number
  3985. produceinqty:
  3986. description: 生产入库量
  3987. type: number
  3988. produceoutqty:
  3989. description: 生产出库量
  3990. type: number
  3991. reckondate:
  3992. description: 日照时期(yyyyMMdd)
  3993. type: string
  3994. sellcontractoutqty:
  3995. description: 销售合同出库量
  3996. type: number
  3997. sellpricedamount:
  3998. description: 销售合同已定价金额
  3999. type: number
  4000. sellpricedqty:
  4001. description: 销售合同已定价数量
  4002. type: number
  4003. sellreckonqty:
  4004. description: 销售合同交收量
  4005. type: number
  4006. spotgoodsbrandid:
  4007. description: 现货品牌ID
  4008. type: integer
  4009. todaybuyreckonqty:
  4010. description: 今日采购合同已确定数量
  4011. type: number
  4012. todaysellreckonqty:
  4013. description: 今日销售合同已确定数量
  4014. type: number
  4015. totalbuypricedqty:
  4016. description: 采购定价量 = 期末 - 期初
  4017. type: number
  4018. totalsellpricedqty:
  4019. description: 销售定价量 = 期末 - 期初
  4020. type: number
  4021. totalspotqty:
  4022. description: 现货头寸总量 = 采购合同已定价数量 - 销售合同已定价数量
  4023. type: number
  4024. updatetime:
  4025. description: 更新时间
  4026. type: string
  4027. wrfactortypeid:
  4028. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4029. type: integer
  4030. wrstandardcode:
  4031. description: 品类代码
  4032. type: string
  4033. wrstandardid:
  4034. description: 现货品类ID
  4035. type: integer
  4036. wrstandardname:
  4037. description: 品类名称
  4038. type: string
  4039. required:
  4040. - areauserid
  4041. - reckondate
  4042. type: object
  4043. models.Ermcp3ReportAreaSpotPL:
  4044. properties:
  4045. actualpl:
  4046. description: 实际损益
  4047. type: number
  4048. areauserid:
  4049. description: 所属机构
  4050. type: integer
  4051. brandname:
  4052. description: 品牌名称
  4053. type: string
  4054. curamount:
  4055. description: 期末额
  4056. type: number
  4057. curaverageprice:
  4058. description: 期末均价
  4059. type: number
  4060. curbuyamount:
  4061. description: 期末采购总额(采购额)
  4062. type: number
  4063. curbuyqty:
  4064. description: 期末采购总量
  4065. type: number
  4066. curmarketvalue:
  4067. description: 参考市值
  4068. type: number
  4069. curqty:
  4070. description: 期末量
  4071. type: number
  4072. cursellamount:
  4073. description: 期末销售总额(销售额)
  4074. type: number
  4075. cursellqty:
  4076. description: 期末销售总量
  4077. type: number
  4078. curspotprice:
  4079. description: 参考市价
  4080. type: number
  4081. deliverygoodscode:
  4082. description: 现货品种代码
  4083. type: string
  4084. deliverygoodsid:
  4085. description: 现货品种id
  4086. type: integer
  4087. deliverygoodsname:
  4088. description: 现货品种名称
  4089. type: string
  4090. enumdicname:
  4091. description: 现货商品单位名称
  4092. type: string
  4093. floatpl:
  4094. description: 浮动损益
  4095. type: number
  4096. gbenumdicname:
  4097. description: 品类单位名称
  4098. type: string
  4099. gbunitid:
  4100. description: 现货单位id
  4101. type: integer
  4102. modelname:
  4103. description: 品类名称
  4104. type: string
  4105. oriamount:
  4106. description: 期初额
  4107. type: number
  4108. oriaverageprice:
  4109. description: 期初均价
  4110. type: number
  4111. oribuyamount:
  4112. description: 期初采购总额
  4113. type: number
  4114. oribuyqty:
  4115. description: 期初采购总量
  4116. type: number
  4117. oriqty:
  4118. description: 期初量
  4119. type: number
  4120. orisellamount:
  4121. description: 期初销售总额
  4122. type: number
  4123. orisellqty:
  4124. description: 期初销售总量
  4125. type: number
  4126. spotgoodsbrandid:
  4127. description: 现货品牌ID
  4128. type: integer
  4129. todaybuyamount:
  4130. description: 今日采购额
  4131. type: number
  4132. todaybuyaverageprice:
  4133. description: 今日采购均价(采购均价)
  4134. type: number
  4135. todaybuyqty:
  4136. description: 今日采购量(采购增量)
  4137. type: number
  4138. todaysellamount:
  4139. description: 今日销售额
  4140. type: number
  4141. todaysellaverageprice:
  4142. description: 今日销售均价(销售均价)
  4143. type: number
  4144. todaysellqty:
  4145. description: 今日销售量(销售增量)
  4146. type: number
  4147. unitid:
  4148. description: 品类单位id
  4149. type: integer
  4150. updatetime:
  4151. description: 更新时间
  4152. type: string
  4153. wrstandardcode:
  4154. description: 品类代码
  4155. type: string
  4156. wrstandardid:
  4157. description: 品类ID
  4158. type: integer
  4159. wrstandardname:
  4160. description: 品类名称
  4161. type: string
  4162. type: object
  4163. models.Ermcp3ReportAreaSpotSub:
  4164. properties:
  4165. accountid:
  4166. description: 期货账户ID
  4167. type: integer
  4168. accountname:
  4169. description: 所属机构名称
  4170. type: string
  4171. areauserid:
  4172. description: 账户所属机构
  4173. type: integer
  4174. brandname:
  4175. description: 品牌名称
  4176. type: string
  4177. buycontractinqty:
  4178. description: 采购合同入库量【期末】
  4179. type: number
  4180. buypricedamount:
  4181. description: 采购合同已定价金额【期末】
  4182. type: number
  4183. buypricedqty:
  4184. description: 采购合同已定价数量【期末】
  4185. type: number
  4186. buyreckonqty:
  4187. description: 采购合同交收量【期末】
  4188. type: number
  4189. cycletime:
  4190. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4191. type: string
  4192. cycletype:
  4193. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4194. type: integer
  4195. deliverygoodscode:
  4196. description: 现货商品代码
  4197. type: string
  4198. deliverygoodsid:
  4199. description: 现货品种ID
  4200. type: integer
  4201. deliverygoodsname:
  4202. description: 现货商品名称
  4203. type: string
  4204. enumdicname:
  4205. description: 现货商品单位名称
  4206. type: string
  4207. goodsunitid:
  4208. description: 现货商品单位id
  4209. type: integer
  4210. oribuycontractinqty:
  4211. description: 期初采购合同入库量【期初】
  4212. type: number
  4213. oribuypricedamount:
  4214. description: 期初采购合同已定价金额【期初】
  4215. type: number
  4216. oribuypricedqty:
  4217. description: 期初采购合同已定价数量【期初】
  4218. type: number
  4219. oribuyreckonqty:
  4220. description: 期初采购合同交收量【期初】
  4221. type: number
  4222. oriproduceinqty:
  4223. description: 期初生产入库量【期初】
  4224. type: number
  4225. oriproduceoutqty:
  4226. description: 期初生产出库量【期初】
  4227. type: number
  4228. orisellcontractoutqty:
  4229. description: 期初销售合同出库量【期初】
  4230. type: number
  4231. orisellpricedamount:
  4232. description: 期初销售合同已定价金额【期初】
  4233. type: number
  4234. orisellpricedqty:
  4235. description: 期初销售合同已定价数量【期初】
  4236. type: number
  4237. orisellreckonqty:
  4238. description: 期初销售合同交收量【期初】
  4239. type: number
  4240. produceinqty:
  4241. description: 生产入库量【期末】
  4242. type: number
  4243. produceoutqty:
  4244. description: 生产出库量【期末】
  4245. type: number
  4246. sellcontractoutqty:
  4247. description: 销售合同出库量【期末】
  4248. type: number
  4249. sellpricedamount:
  4250. description: 销售合同已定价金额【期末】
  4251. type: number
  4252. sellpricedqty:
  4253. description: 销售合同已定价数量【期末】
  4254. type: number
  4255. sellreckonqty:
  4256. description: 销售合同交收量【期末】
  4257. type: number
  4258. spotgoodsbrandid:
  4259. description: 现货品牌ID
  4260. type: integer
  4261. todaybuyreckonqty:
  4262. description: 今日采购合同已确定数量【汇总】
  4263. type: number
  4264. todaysellreckonqty:
  4265. description: 今日销售合同已确定数量【汇总】
  4266. type: number
  4267. totalbuypricedqty:
  4268. description: 采购定价量 = 期末 - 期初
  4269. type: number
  4270. totalsellpricedqty:
  4271. description: 销售定价量 = 期末 - 期初
  4272. type: number
  4273. totalspotqty:
  4274. description: 现货头寸总量 = 采购合同已定价数量 - 销售合同已定价数量【期末】
  4275. type: number
  4276. updatetime:
  4277. description: 更新时间
  4278. type: string
  4279. wrfactortypeid:
  4280. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4281. type: integer
  4282. wrstandardcode:
  4283. description: 品类代码
  4284. type: string
  4285. wrstandardid:
  4286. description: 品类ID
  4287. type: integer
  4288. wrstandardname:
  4289. description: 品类名称
  4290. type: string
  4291. required:
  4292. - areauserid
  4293. type: object
  4294. models.Ermcp3ReportOPLog:
  4295. properties:
  4296. applyid:
  4297. description: 操作人
  4298. type: integer
  4299. applyname:
  4300. description: 操作人名称
  4301. type: string
  4302. biztype:
  4303. description: 业务类型 - 1:套保计划 2:现货合同
  4304. type: integer
  4305. brandname:
  4306. description: 品牌名称
  4307. type: string
  4308. contracttype:
  4309. description: 现货合同类型 - 1:采购 -1:销售
  4310. type: integer
  4311. deliverygoodscode:
  4312. description: 现货品种代码
  4313. type: string
  4314. deliverygoodsid:
  4315. description: 现货品种id
  4316. type: integer
  4317. deliverygoodsname:
  4318. description: 现货品种名称
  4319. type: string
  4320. enumdicName:
  4321. description: 单位名称
  4322. type: string
  4323. logdatetime:
  4324. description: 流水日期(时间)
  4325. type: string
  4326. logid:
  4327. description: 流水ID(604+Unix秒时间戳(10位)+xxxxxx)
  4328. type: string
  4329. logtypename:
  4330. description: 合同类型(名称)
  4331. type: string
  4332. logvalue:
  4333. description: 数值
  4334. type: string
  4335. operatelogtype:
  4336. description: 操作流水类型 -
  4337. type: integer
  4338. optypename:
  4339. description: 流水类型名称
  4340. type: string
  4341. relatedid:
  4342. description: 现货合同ID\套保计划
  4343. type: string
  4344. relatedno:
  4345. description: 合同编号
  4346. type: string
  4347. spotgoodsbrandid:
  4348. description: 品牌id
  4349. type: integer
  4350. tradedate:
  4351. description: 交易日(yyyyMMdd)
  4352. type: string
  4353. userid:
  4354. description: 机构ID
  4355. type: integer
  4356. wrstandardcode:
  4357. description: 品类代码
  4358. type: string
  4359. wrstandardid:
  4360. description: 品类id
  4361. type: integer
  4362. wrstandardname:
  4363. description: 品类名称
  4364. type: string
  4365. type: object
  4366. models.Ermcp3SellBuyContract:
  4367. properties:
  4368. accountname:
  4369. description: 账户名称
  4370. type: string
  4371. attachment:
  4372. description: 附件
  4373. type: string
  4374. audittime:
  4375. description: 审核时间
  4376. type: string
  4377. brandname:
  4378. description: 品牌名称
  4379. type: string
  4380. contracctstatus:
  4381. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4382. type: integer
  4383. contractmargin:
  4384. description: 合同保证金
  4385. type: number
  4386. contractno:
  4387. description: 合同编号
  4388. type: string
  4389. contracttype:
  4390. description: 合同类型 1-采购, -1-销售
  4391. type: integer
  4392. convertfactor:
  4393. description: 标仓系数(品类)
  4394. type: number
  4395. createtime:
  4396. description: 创建时间
  4397. type: string
  4398. daikaiamount:
  4399. description: 应收(开)票额
  4400. type: number
  4401. deliveryenddate:
  4402. description: 交割结束日
  4403. type: string
  4404. deliverygoodscode:
  4405. description: 现货品种代码
  4406. type: string
  4407. deliverygoodsid:
  4408. description: 现货商品ID
  4409. type: integer
  4410. deliverygoodsname:
  4411. description: 现货品种名称
  4412. type: string
  4413. deliverystartdate:
  4414. description: 交割开始日
  4415. type: string
  4416. enddate:
  4417. description: 点价结束日
  4418. type: string
  4419. enumdicname:
  4420. description: 单位名称
  4421. type: string
  4422. goodscode:
  4423. description: 点价商品代码
  4424. type: string
  4425. goodsid:
  4426. description: 点价商品ID
  4427. type: integer
  4428. goodsname:
  4429. description: 点价商品名称
  4430. type: string
  4431. invoiceamount:
  4432. description: 已开票额
  4433. type: number
  4434. loanamount:
  4435. description: 贷款总额=已定价额+调整金额
  4436. type: number
  4437. margin:
  4438. description: 保证金
  4439. type: number
  4440. nickname:
  4441. description: 账户昵称
  4442. type: string
  4443. payamount:
  4444. description: 已收付额(收款或付款)
  4445. type: number
  4446. preinvoiceamount:
  4447. description: 预收(开)票额
  4448. type: number
  4449. prepayamount:
  4450. description: 预收付额
  4451. type: number
  4452. price:
  4453. description: 价格
  4454. type: number
  4455. pricedamount:
  4456. description: 已定价额
  4457. type: number
  4458. pricedavg:
  4459. description: 已点均价
  4460. type: number
  4461. pricedqty:
  4462. description: 已定价量
  4463. type: number
  4464. pricemove:
  4465. description: 升贴水
  4466. type: number
  4467. pricetype:
  4468. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4469. type: integer
  4470. producttype:
  4471. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  4472. type: integer
  4473. qty:
  4474. description: 合同量
  4475. type: number
  4476. reckonadjustamount:
  4477. description: 调整金额
  4478. type: number
  4479. reckonedamount:
  4480. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  4481. type: number
  4482. reckonotheramount:
  4483. description: 其它费用
  4484. type: number
  4485. reckonrealqty:
  4486. description: 已确定量
  4487. type: number
  4488. remark:
  4489. description: 备注
  4490. type: string
  4491. spotcontractid:
  4492. description: 合同ID
  4493. type: string
  4494. spotgoodsbrandid:
  4495. description: 现货品牌ID(DGFactoryItem表的ID)
  4496. type: integer
  4497. spotgoodsdesc:
  4498. description: 商品型号(商品规格)
  4499. type: string
  4500. startdate:
  4501. description: 点价开始日
  4502. type: string
  4503. totalamount:
  4504. description: 合计总额
  4505. type: number
  4506. unpayamount:
  4507. description: 应收付款额(应支付或应收款)
  4508. type: number
  4509. unpricedqty:
  4510. description: 未定价量
  4511. type: number
  4512. unsureqty:
  4513. description: 未确定量
  4514. type: number
  4515. userid:
  4516. description: 机构ID
  4517. type: integer
  4518. wrstandardcode:
  4519. description: 品类代码
  4520. type: string
  4521. wrstandardid:
  4522. description: 品类ID
  4523. type: integer
  4524. wrstandardname:
  4525. description: 品类名称
  4526. type: string
  4527. type: object
  4528. models.Ermcp3SpotGoodsPrice:
  4529. properties:
  4530. areauserid:
  4531. description: 所属机构id
  4532. type: integer
  4533. brandname:
  4534. description: 品牌名称
  4535. type: string
  4536. currencyid:
  4537. description: 报价货币ID
  4538. type: integer
  4539. deliverygoodscode:
  4540. description: 现货商品代码
  4541. type: string
  4542. deliverygoodsid:
  4543. description: 现货商品id
  4544. type: integer
  4545. deliverygoodsname:
  4546. description: 现货商品名称
  4547. type: string
  4548. enumdicname:
  4549. description: 现货商品单位名称
  4550. type: string
  4551. gbenumdicname:
  4552. description: 品类单位名称
  4553. type: string
  4554. gmunitid:
  4555. description: 品类单位id
  4556. type: integer
  4557. isvalid:
  4558. description: 是否有效 - 0:无效 1:有效
  4559. type: integer
  4560. operateid:
  4561. description: 最后操作人
  4562. type: integer
  4563. operatesrc:
  4564. description: 最后操作来源 - 1:管理端 2:终端
  4565. type: integer
  4566. operatetime:
  4567. description: 最后操作时间
  4568. type: string
  4569. operatorname:
  4570. description: 操作人名称
  4571. type: string
  4572. spotgoodsbrandid:
  4573. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  4574. type: integer
  4575. spotgoodsprice:
  4576. description: 现货价格
  4577. type: number
  4578. tradedate:
  4579. description: 交易日(yyyyMMdd)
  4580. type: string
  4581. unitid:
  4582. description: 现货商品单位id
  4583. type: integer
  4584. wrstandardcode:
  4585. description: 品类代码
  4586. type: string
  4587. wrstandardid:
  4588. description: 现货品类ID(通用则为0)
  4589. type: integer
  4590. wrstandardname:
  4591. description: 品类名称
  4592. type: string
  4593. type: object
  4594. models.Ermcp3SpotGoodsPriceLog:
  4595. properties:
  4596. areauserid:
  4597. description: 所属机构id
  4598. type: integer
  4599. brandname:
  4600. description: 品牌名称
  4601. type: string
  4602. currencyid:
  4603. description: 报价货币ID
  4604. type: integer
  4605. deliverygoodscode:
  4606. description: 现货商品代码
  4607. type: string
  4608. deliverygoodsid:
  4609. description: 现货商品id
  4610. type: integer
  4611. deliverygoodsname:
  4612. description: 现货商品名称
  4613. type: string
  4614. enumdicname:
  4615. description: 现货商品单位名称
  4616. type: string
  4617. gbenumdicname:
  4618. description: 品类单位名称
  4619. type: string
  4620. gmunitid:
  4621. description: 品类单位id
  4622. type: integer
  4623. logid:
  4624. description: 日志id
  4625. type: integer
  4626. operateid:
  4627. description: 最后操作人
  4628. type: integer
  4629. operatesrc:
  4630. description: 最后操作来源 - 1:管理端 2:终端
  4631. type: integer
  4632. operatetime:
  4633. description: 最后操作时间
  4634. type: string
  4635. operatorname:
  4636. description: 操作人名称
  4637. type: string
  4638. spotgoodsbrandid:
  4639. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  4640. type: integer
  4641. spotgoodsprice:
  4642. description: 现货价格
  4643. type: number
  4644. tradedate:
  4645. description: 交易日(yyyyMMdd)
  4646. type: string
  4647. unitid:
  4648. description: 现货商品单位id
  4649. type: integer
  4650. wrstandardcode:
  4651. description: 品类代码
  4652. type: string
  4653. wrstandardid:
  4654. description: 现货品类ID(通用则为0)
  4655. type: integer
  4656. wrstandardname:
  4657. description: 品类名称
  4658. type: string
  4659. type: object
  4660. models.Ermcp3Wrstandard:
  4661. properties:
  4662. areauserid:
  4663. description: 所属机构
  4664. type: integer
  4665. convertfactor:
  4666. description: 标仓系数
  4667. type: number
  4668. createtime:
  4669. description: 创建时间
  4670. type: string
  4671. creatorid:
  4672. description: 创建人
  4673. type: integer
  4674. deliverygoodsid:
  4675. description: 现货品种ID
  4676. type: integer
  4677. enumdicname:
  4678. description: 品类单位名称
  4679. type: string
  4680. isvalid:
  4681. description: 是否有效 0-无效(停用) 1-有效(正常)
  4682. type: integer
  4683. minivalue:
  4684. description: 最小变动值
  4685. type: integer
  4686. minivaluedp:
  4687. description: 最小变动值小数位
  4688. type: integer
  4689. realminivalue:
  4690. description: 实际最小变动值
  4691. type: integer
  4692. realminivaluedp:
  4693. description: 实际最小变动值小数位
  4694. type: integer
  4695. remark:
  4696. description: 备注
  4697. type: string
  4698. unitid:
  4699. description: 品类单位ID
  4700. type: integer
  4701. updatetime:
  4702. description: 更新时间
  4703. type: string
  4704. wrstandardcode:
  4705. description: 品类代码
  4706. type: string
  4707. wrstandardid:
  4708. description: 品类ID(SEQ_WRSTANDARD)
  4709. type: integer
  4710. wrstandardname:
  4711. description: 品类名称
  4712. type: string
  4713. type: object
  4714. models.ErmcpAreaSpotDetailModel:
  4715. properties:
  4716. contracttype:
  4717. description: 合同类型 1-采购 -1-销售
  4718. type: integer
  4719. createtime:
  4720. description: 创建时间
  4721. type: string
  4722. enumdicname:
  4723. description: 现货商品单位名称
  4724. type: string
  4725. logtype:
  4726. description: 记录类型 1-套保 2-现货合同
  4727. type: integer
  4728. qty:
  4729. description: 数量
  4730. type: number
  4731. recordname:
  4732. description: 类型名称
  4733. type: string
  4734. relatedid:
  4735. description: 套保计划ID/现货合同ID
  4736. type: string
  4737. relatedno:
  4738. description: 编号
  4739. type: string
  4740. strtime:
  4741. description: 时间
  4742. type: string
  4743. wrstandardcode:
  4744. description: 现货商品代码
  4745. type: string
  4746. wrstandardname:
  4747. description: 现货商品名称
  4748. type: string
  4749. type: object
  4750. models.ErmcpAreaStock:
  4751. properties:
  4752. brandname:
  4753. description: 品牌名称
  4754. type: string
  4755. curstock:
  4756. description: 期末库存量(今日量)
  4757. type: number
  4758. deliverygoodsid:
  4759. description: 现货品种ID
  4760. type: integer
  4761. enumdicname:
  4762. description: 单位名称
  4763. type: string
  4764. modelname:
  4765. description: 型号名称
  4766. type: string
  4767. oristock:
  4768. description: 期初库存量(昨日量)
  4769. type: number
  4770. spotgoodsbrandid:
  4771. description: 现货品牌ID
  4772. type: integer
  4773. spotgoodsmodelid:
  4774. description: 现货型号ID
  4775. type: integer
  4776. todaybuyinqty:
  4777. description: 今日采购入库量
  4778. type: number
  4779. todayproduceinqty:
  4780. description: 今日生产入库量
  4781. type: number
  4782. todayproduceoutqty:
  4783. description: 今日生产出库量
  4784. type: number
  4785. todayselloutqty:
  4786. description: 今日销售出库量
  4787. type: number
  4788. unitid:
  4789. description: 单位id
  4790. type: integer
  4791. updatetime:
  4792. description: 更新时间
  4793. type: string
  4794. userid:
  4795. description: 机构ID
  4796. type: integer
  4797. username:
  4798. description: 机构名称
  4799. type: string
  4800. warehousecode:
  4801. description: 仓库代码
  4802. type: string
  4803. warehouseinfoid:
  4804. description: 仓库ID
  4805. type: string
  4806. warehousename:
  4807. description: 仓库名称
  4808. type: string
  4809. warehousetype:
  4810. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4811. type: integer
  4812. wrstandardcode:
  4813. description: 现货商品代码
  4814. type: string
  4815. wrstandardid:
  4816. description: 现货商品ID
  4817. type: string
  4818. wrstandardname:
  4819. description: 现货商品名称
  4820. type: string
  4821. type: object
  4822. models.ErmcpAreaStockApply:
  4823. properties:
  4824. applyid:
  4825. description: 申请人
  4826. type: integer
  4827. applyname:
  4828. description: 申请人名称
  4829. type: string
  4830. applyremark:
  4831. description: 申请备注
  4832. type: string
  4833. applysrc:
  4834. description: 申请来源 - 1:管理端 2:终端
  4835. type: integer
  4836. applystatus:
  4837. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  4838. type: integer
  4839. applytime:
  4840. description: 申请时间
  4841. type: string
  4842. auditid:
  4843. description: 审核人
  4844. type: integer
  4845. auditname:
  4846. description: 审核人名称
  4847. type: string
  4848. auditremark:
  4849. description: 审核备注
  4850. type: string
  4851. auditsrc:
  4852. description: 审核来源 - 1:管理端 2:终端
  4853. type: integer
  4854. audittime:
  4855. description: 审核时间
  4856. type: string
  4857. audittradedate:
  4858. description: 审核交易日(yyyyMMdd)
  4859. type: string
  4860. brandname:
  4861. description: 品牌名称
  4862. type: string
  4863. buyuserid:
  4864. description: 采购方userid
  4865. type: integer
  4866. buyusername:
  4867. description: 采购方名称
  4868. type: string
  4869. contractno:
  4870. description: 合同编号
  4871. type: string
  4872. contractqty:
  4873. description: 合同量
  4874. type: number
  4875. contracttype:
  4876. description: 现货合同类型 - 1:采购 -1:销售
  4877. type: integer
  4878. deliverygoodsid:
  4879. description: 现货品种ID
  4880. type: integer
  4881. enumdicname:
  4882. description: 现货商品单位名称
  4883. type: string
  4884. inoutapplyid:
  4885. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  4886. type: string
  4887. inouttype:
  4888. description: 出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  4889. type: integer
  4890. modelname:
  4891. description: 型号名称
  4892. type: string
  4893. pricetype:
  4894. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4895. type: integer
  4896. qty:
  4897. description: 数量
  4898. type: number
  4899. selluserid:
  4900. description: 销售方userid
  4901. type: integer
  4902. sellusername:
  4903. description: 销售方名称
  4904. type: string
  4905. spotcontractid:
  4906. description: 关联现货合同ID
  4907. type: string
  4908. spotgoodsbrandid:
  4909. description: 现货品牌ID
  4910. type: integer
  4911. spotgoodsmodelid:
  4912. description: 现货型号ID
  4913. type: integer
  4914. unitid:
  4915. description: 单位id
  4916. type: integer
  4917. userid:
  4918. description: 机构ID
  4919. type: integer
  4920. warehousecode:
  4921. description: 仓库代码
  4922. type: string
  4923. warehouseinfoid:
  4924. description: 现货仓库ID
  4925. type: string
  4926. warehousename:
  4927. description: 仓库名称
  4928. type: string
  4929. warehousetype:
  4930. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4931. type: integer
  4932. wrstandardcode:
  4933. description: 现货商品代码
  4934. type: string
  4935. wrstandardid:
  4936. description: 现货商品ID
  4937. type: string
  4938. wrstandardname:
  4939. description: 现货商品名称
  4940. type: string
  4941. type: object
  4942. models.ErmcpAreaStockApplySum:
  4943. properties:
  4944. brandname:
  4945. description: 品牌名称
  4946. type: string
  4947. inouttype:
  4948. description: 出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  4949. type: integer
  4950. modelname:
  4951. description: 型号名称
  4952. type: string
  4953. spotcontractid:
  4954. description: 关联现货合同ID
  4955. type: string
  4956. spotgoodsbrandid:
  4957. description: 品牌id
  4958. type: integer
  4959. spotgoodsmodelid:
  4960. description: 型号id
  4961. type: integer
  4962. totalqty:
  4963. description: 总数量
  4964. type: number
  4965. type: object
  4966. models.ErmcpAreaStockReport:
  4967. properties:
  4968. brandname:
  4969. description: 品牌名称
  4970. type: string
  4971. curstock:
  4972. description: 期末库存量
  4973. type: number
  4974. deliverygoodsid:
  4975. description: 现货品种ID
  4976. type: integer
  4977. enumdicname:
  4978. description: 单位名称
  4979. type: string
  4980. modelname:
  4981. description: 型号名称
  4982. type: string
  4983. oristock:
  4984. description: 期初库存量
  4985. type: number
  4986. spotgoodsbrandid:
  4987. description: 现货品牌ID
  4988. type: integer
  4989. spotgoodsmodelid:
  4990. description: 现货型号ID
  4991. type: integer
  4992. todaybuyinqty:
  4993. description: 今日采购入库量
  4994. type: number
  4995. todayproduceinqty:
  4996. description: 今日生产入库量
  4997. type: number
  4998. todayproduceoutqty:
  4999. description: 今日生产出库量
  5000. type: number
  5001. todayselloutqty:
  5002. description: 今日销售出库量
  5003. type: number
  5004. unitid:
  5005. description: 单位id
  5006. type: integer
  5007. updatetime:
  5008. description: 更新时间
  5009. type: string
  5010. userid:
  5011. description: 机构ID
  5012. type: integer
  5013. username:
  5014. description: 机构名称
  5015. type: string
  5016. warehousecode:
  5017. description: 仓库代码
  5018. type: string
  5019. warehouseinfoid:
  5020. description: 仓库ID
  5021. type: string
  5022. warehousename:
  5023. description: 仓库名称
  5024. type: string
  5025. warehousetype:
  5026. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  5027. type: integer
  5028. wrstandardcode:
  5029. description: 现货商品代码
  5030. type: string
  5031. wrstandardid:
  5032. description: 现货商品ID
  5033. type: string
  5034. wrstandardname:
  5035. description: 现货商品名称
  5036. type: string
  5037. type: object
  5038. models.ErmcpAvalidGoodsGroupModel:
  5039. properties:
  5040. goodsgroupid:
  5041. description: 期货品种id
  5042. type: integer
  5043. goodsgroupname:
  5044. description: 期货品种名称
  5045. type: string
  5046. goodunitid:
  5047. description: 品种单位id
  5048. type: integer
  5049. goodunitname:
  5050. description: 品种单位名称
  5051. type: string
  5052. outergroupcode:
  5053. description: 期货品种代码
  5054. type: string
  5055. type: object
  5056. models.ErmcpBizGroupEx:
  5057. properties:
  5058. acclist:
  5059. description: 账号列表
  5060. items:
  5061. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  5062. type: array
  5063. bizgroupid:
  5064. description: 业务分组id
  5065. type: integer
  5066. biztype:
  5067. description: 业务类型 1-套保 2-套利
  5068. type: integer
  5069. wrlist:
  5070. description: 现货商品表
  5071. items:
  5072. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  5073. type: array
  5074. type: object
  5075. models.ErmcpBizGroupSpotGoods:
  5076. properties:
  5077. areauserid:
  5078. description: 所属机构id
  5079. type: integer
  5080. bizgroupid:
  5081. description: 分组id
  5082. type: integer
  5083. biztype:
  5084. description: 业务类型 1-套保 2-套利
  5085. type: integer
  5086. deliverygoodscode:
  5087. description: 现货商品代码
  5088. type: string
  5089. deliverygoodsid:
  5090. description: 现货商品id
  5091. type: integer
  5092. deliverygoodsname:
  5093. description: 现货商品名称
  5094. type: string
  5095. unitid:
  5096. description: 现货商品单位id
  5097. type: integer
  5098. type: object
  5099. models.ErmcpBizGroupTaAccount:
  5100. properties:
  5101. accountid:
  5102. description: 账号id
  5103. type: integer
  5104. accountname:
  5105. description: 账号名称
  5106. type: string
  5107. areauserid:
  5108. description: 所属机构id
  5109. type: integer
  5110. bizgroupid:
  5111. description: 业务分组id
  5112. type: integer
  5113. ismain:
  5114. description: 是否主账号 1-是 0-否
  5115. type: integer
  5116. type: object
  5117. models.ErmcpDGFactoryItem:
  5118. properties:
  5119. areauserid:
  5120. description: 用户id
  5121. type: integer
  5122. deliverygoodsid:
  5123. description: 现货品种ID
  5124. type: integer
  5125. dgfactoryitemid:
  5126. description: 选择项ID(SEQ_DGFACTORYITEM)
  5127. type: integer
  5128. dgfactoryitemtypeid:
  5129. description: 要素项类型
  5130. type: integer
  5131. dgfactoryitemvalue:
  5132. description: 要素项值(类型为仓库时填写仓库名称)
  5133. type: string
  5134. isvalid:
  5135. description: 是否有效 - 0:无效 1:有效
  5136. type: integer
  5137. orderindex:
  5138. description: 顺序
  5139. type: integer
  5140. warehouseid:
  5141. description: 仓库ID(类型为仓库时填写)
  5142. type: integer
  5143. type: object
  5144. models.ErmcpDeliveryGoods:
  5145. properties:
  5146. agreeunit:
  5147. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  5148. type: integer
  5149. areauserid:
  5150. description: 所属机构
  5151. type: integer
  5152. auditflag:
  5153. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  5154. type: integer
  5155. categoryid:
  5156. description: 类别ID(SEQ_WRCATEGORY)
  5157. type: integer
  5158. deliverygoodscode:
  5159. description: 现货品种代码
  5160. type: string
  5161. deliverygoodsid:
  5162. description: 现货品种ID(SEQ_DELIVERYGOODS)
  5163. type: integer
  5164. deliverygoodsname:
  5165. description: 现货品种名称
  5166. type: string
  5167. deliverygoodstype:
  5168. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  5169. type: integer
  5170. dgstatus:
  5171. description: 品种状态 - 作废 - 0:未激活 1:正常
  5172. type: integer
  5173. enumdicname:
  5174. description: 现货品种单位名称
  5175. type: string
  5176. goodsunitid:
  5177. description: 现货品种单位ID
  5178. type: integer
  5179. isvalid:
  5180. description: 是否有效 - 0:无效 1:有效
  5181. type: integer
  5182. qtydecimalplace:
  5183. description: 成交量小数位
  5184. type: integer
  5185. remark:
  5186. description: 备注
  5187. type: string
  5188. standardqty:
  5189. description: 标准数量(库位数量) [标准品特有]
  5190. type: integer
  5191. standardqtyrange:
  5192. description: 标准数量偏差范围 [标准品特有]
  5193. type: integer
  5194. type: object
  5195. models.ErmcpDeliveryGoodsDetail2:
  5196. properties:
  5197. convertratio:
  5198. description: 套保系数(折算系数)
  5199. type: number
  5200. data:
  5201. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  5202. description: 现货商品基本信息(交割品种)
  5203. type: object
  5204. gblist:
  5205. description: 品牌列表
  5206. items:
  5207. $ref: '#/definitions/models.Ermcp3Brand'
  5208. type: array
  5209. gmlist:
  5210. description: 品类列表(仓单标准)
  5211. items:
  5212. $ref: '#/definitions/models.Ermcp3Wrstandard'
  5213. type: array
  5214. type: object
  5215. models.ErmcpDeliveryGoodsDetailEx:
  5216. properties:
  5217. data:
  5218. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  5219. description: 现货商品基本信息(交割品种)
  5220. type: object
  5221. gblist:
  5222. description: 品牌列表
  5223. items:
  5224. $ref: '#/definitions/models.Ermcp3Brand'
  5225. type: array
  5226. gmlist:
  5227. description: 品类列表(仓单标准)
  5228. items:
  5229. $ref: '#/definitions/models.Ermcp3Wrstandard'
  5230. type: array
  5231. mgList:
  5232. description: 套保列表
  5233. items:
  5234. $ref: '#/definitions/models.Ermcp3MiddleGoodsDetail2'
  5235. type: array
  5236. type: object
  5237. models.ErmcpExposureDetailModel:
  5238. properties:
  5239. areauserid:
  5240. description: 机构ID
  5241. type: integer
  5242. changeQty:
  5243. description: 套保变动量
  5244. type: number
  5245. contracttype:
  5246. description: 现货合同类型 - 1:采购 -1:销售
  5247. type: integer
  5248. convertfactor:
  5249. description: 标仓系数
  5250. type: number
  5251. convertratio:
  5252. description: 套保系数
  5253. type: number
  5254. createtime:
  5255. description: 时间
  5256. type: string
  5257. enumdicname:
  5258. description: 现货商品单位名称
  5259. type: string
  5260. logtype:
  5261. description: 类型 - 1:套保计划 2:现货合同
  5262. type: integer
  5263. middlegoodsId:
  5264. description: 套保商品id
  5265. type: integer
  5266. middlegoodscode:
  5267. description: 套保商品代码
  5268. type: string
  5269. middlegoodsname:
  5270. description: 套保商品名称
  5271. type: string
  5272. qty:
  5273. description: 数量
  5274. type: number
  5275. relateNo:
  5276. description: 现货合同/套保计划编号
  5277. type: string
  5278. wrstandardcode:
  5279. description: 现货商品代码
  5280. type: string
  5281. wrstandardid:
  5282. description: 现货商品ID
  5283. type: integer
  5284. wrstandardname:
  5285. description: 现货商品名称
  5286. type: string
  5287. type: object
  5288. models.ErmcpExposurePostion:
  5289. properties:
  5290. agreeunit:
  5291. description: 合约单位
  5292. type: string
  5293. areauserid:
  5294. description: 所属机构id
  5295. type: integer
  5296. convertratio:
  5297. description: 期货品种系数(折算系数)
  5298. type: number
  5299. curqty:
  5300. description: 当前持仓
  5301. type: integer
  5302. diffhedgeqty:
  5303. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  5304. type: number
  5305. diffqty:
  5306. description: 持仓变动量=当前持仓-昨日持仓
  5307. type: integer
  5308. goodscode:
  5309. description: 商品代码
  5310. type: string
  5311. goodsid:
  5312. description: 商品id
  5313. type: integer
  5314. goodsname:
  5315. description: 商品名称
  5316. type: string
  5317. middlegoodsid:
  5318. description: 套保商品id
  5319. type: integer
  5320. ydqty:
  5321. description: 昨日持仓
  5322. type: integer
  5323. type: object
  5324. models.ErmcpFuturesCompany:
  5325. properties:
  5326. brokerid:
  5327. description: 经纪公司代码
  5328. type: string
  5329. channeladdress:
  5330. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  5331. type: string
  5332. channelid:
  5333. description: 对冲渠道ID
  5334. type: string
  5335. createtime:
  5336. description: 创建时间
  5337. type: string
  5338. creatorid:
  5339. description: 创建人
  5340. type: string
  5341. fcid:
  5342. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  5343. type: integer
  5344. fcname:
  5345. description: 期货公司名称
  5346. type: string
  5347. isvalid:
  5348. description: 是否有效 - 0:无效 1:有效
  5349. type: integer
  5350. mhpaddress:
  5351. description: MHP服务地址(IP:Port)
  5352. type: string
  5353. riskrulegroupid:
  5354. description: 风控规则组ID
  5355. type: string
  5356. tradefeetmpid:
  5357. description: 手续费模板ID[TradeConfigTmpType为2]
  5358. type: string
  5359. trademargintmpid:
  5360. description: 保证金模板ID [TradeConfigTmpType为1]
  5361. type: string
  5362. traderatetmpid:
  5363. description: 汇率模板ID[TradeConfigTmpType为3]
  5364. type: string
  5365. updatetime:
  5366. description: 更新时间
  5367. type: string
  5368. updatorid:
  5369. description: 更新人
  5370. type: string
  5371. type: object
  5372. models.ErmcpGGConvertCfg:
  5373. properties:
  5374. convertratio:
  5375. description: 折算系数
  5376. type: number
  5377. destgoodsgroupid:
  5378. description: 目标品种ID
  5379. type: integer
  5380. dstcode:
  5381. description: 目录品种代码
  5382. type: string
  5383. dstexchangecode:
  5384. description: 目标期货交易所
  5385. type: string
  5386. dstname:
  5387. description: 目标品种名称
  5388. type: string
  5389. dstunitid:
  5390. description: 目标品种单位ID
  5391. type: integer
  5392. dstunitidname:
  5393. description: 目标品种单位名称
  5394. type: string
  5395. modifytime:
  5396. description: 修改时间
  5397. type: string
  5398. srccode:
  5399. description: 源品种代码
  5400. type: string
  5401. srcexchangecode:
  5402. description: 源期货交易所
  5403. type: string
  5404. srcgoodsgroupid:
  5405. description: 源品种ID
  5406. type: integer
  5407. srcname:
  5408. description: 源品种名称
  5409. type: string
  5410. srcunitid:
  5411. description: 源品种单位ID
  5412. type: integer
  5413. srcunitidname:
  5414. description: 源品种单位名称
  5415. type: string
  5416. type: object
  5417. models.ErmcpGoodsBrand:
  5418. properties:
  5419. areauserid:
  5420. description: 所属机构
  5421. type: integer
  5422. brandid:
  5423. description: BrandID(SEQ_SPOTGOODSBRAND)
  5424. type: integer
  5425. brandname:
  5426. description: 品牌名称
  5427. type: string
  5428. createtime:
  5429. description: 创建时间
  5430. type: string
  5431. creatorid:
  5432. description: 创建人
  5433. type: integer
  5434. creatorsrc:
  5435. description: 创建人来源 - 1:管理端 2:终端
  5436. type: integer
  5437. deliverygoodsid:
  5438. description: 现货品种ID
  5439. type: integer
  5440. isvalid:
  5441. description: 是否有效 - 0:无效 1:有效
  5442. type: integer
  5443. updatetime:
  5444. description: 更新时间
  5445. type: string
  5446. updatorid:
  5447. description: 更新人
  5448. type: integer
  5449. updatorsrc:
  5450. description: 更新人来源 - 1:管理端 2:终端
  5451. type: integer
  5452. wrstandardid:
  5453. description: 现货商品ID
  5454. type: integer
  5455. type: object
  5456. models.ErmcpGoodsModel:
  5457. properties:
  5458. areauserid:
  5459. description: 所属机构
  5460. type: integer
  5461. convertfactor:
  5462. description: 标仓系数
  5463. type: number
  5464. createtime:
  5465. description: 创建时间
  5466. type: string
  5467. creatorid:
  5468. description: 创建人
  5469. type: integer
  5470. creatorsrc:
  5471. description: 创建人来源 - 1:管理端 2:终端
  5472. type: integer
  5473. deliverygoodsid:
  5474. description: 现货品种ID
  5475. type: integer
  5476. isvalid:
  5477. description: 是否有效 - 0:无效 1:有效
  5478. type: integer
  5479. modelid:
  5480. description: ModelID(SEQ_SPOTGOODSMODEL)
  5481. type: integer
  5482. modelname:
  5483. description: 型号名称
  5484. type: string
  5485. updatetime:
  5486. description: 更新时间
  5487. type: string
  5488. updatorid:
  5489. description: 更新人
  5490. type: integer
  5491. updatorsrc:
  5492. description: 更新人来源 - 1:管理端 2:终端
  5493. type: integer
  5494. wrstandardid:
  5495. description: 现货商品ID
  5496. type: integer
  5497. type: object
  5498. models.ErmcpHedgePlan:
  5499. properties:
  5500. areauserid:
  5501. description: 用户ID
  5502. type: integer
  5503. audittime:
  5504. description: 审核时间
  5505. type: string
  5506. contracttype:
  5507. description: 计划类型 - 1:采购 -1:销售
  5508. type: integer
  5509. convertfactor:
  5510. description: 标仓系数
  5511. type: number
  5512. createtime:
  5513. description: 创建时间
  5514. type: string
  5515. deliverygoodsid:
  5516. description: 现货品种ID
  5517. type: integer
  5518. deliverygoodsname:
  5519. description: 现货品种名称
  5520. type: string
  5521. enumdicname:
  5522. description: 单位名称
  5523. type: string
  5524. hedgeplanid:
  5525. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  5526. type: string
  5527. hedgeplanno:
  5528. description: 套保计划编号(名称)
  5529. type: string
  5530. hedgeplanstatus:
  5531. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5532. type: integer
  5533. planqty:
  5534. description: 计划数量
  5535. type: number
  5536. plantime:
  5537. description: 计划时间
  5538. type: string
  5539. producttype:
  5540. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5541. type: integer
  5542. remark:
  5543. description: 备注
  5544. type: string
  5545. spotgoodsdesc:
  5546. description: 商品型号
  5547. type: string
  5548. unitid:
  5549. description: 单位id
  5550. type: integer
  5551. updatetime:
  5552. description: 更新时间
  5553. type: string
  5554. wrstandardid:
  5555. description: 现货商品ID
  5556. type: integer
  5557. wrstandardname:
  5558. description: 现货商品名称
  5559. type: string
  5560. type: object
  5561. models.ErmcpHedgePosition:
  5562. properties:
  5563. accountid:
  5564. description: 资金账号[外部母账户]
  5565. type: integer
  5566. curbuyposition:
  5567. description: 期末买头寸
  5568. type: integer
  5569. cursellposition:
  5570. description: 期末卖头寸
  5571. type: integer
  5572. curtdbuyposition:
  5573. description: 期末今日买头寸
  5574. type: integer
  5575. curtdsellposition:
  5576. description: 期末今日卖头寸
  5577. type: integer
  5578. curydbuyposition:
  5579. description: 期末上日买头寸
  5580. type: integer
  5581. curydsellposition:
  5582. description: 期末上日卖头寸
  5583. type: integer
  5584. decreaseqty:
  5585. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  5586. type: integer
  5587. fretdbuyposition:
  5588. description: 冻结今日买头寸
  5589. type: integer
  5590. fretdsellposition:
  5591. description: 冻结今日卖头寸
  5592. type: integer
  5593. freydbuyposition:
  5594. description: 冻结上日买头寸
  5595. type: integer
  5596. freydsellposition:
  5597. description: 冻结上日卖头寸
  5598. type: integer
  5599. goodscode:
  5600. description: 商品代码
  5601. type: string
  5602. goodsid:
  5603. description: 商品id
  5604. type: integer
  5605. goodsname:
  5606. description: 商品名称
  5607. type: string
  5608. hedgeaccountcode:
  5609. description: 对冲账号
  5610. type: string
  5611. hedgegoodsid:
  5612. description: 对冲合约ID
  5613. type: integer
  5614. increaseqty:
  5615. description: 增加数量 = 期末买头寸 - 期初买头寸
  5616. type: integer
  5617. marketid:
  5618. description: 市场ID
  5619. type: integer
  5620. relateduserid:
  5621. description: 关联用户id
  5622. type: integer
  5623. totalcurqty:
  5624. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  5625. type: integer
  5626. totalydqty:
  5627. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  5628. type: integer
  5629. tradedate:
  5630. description: 交易日(yyyyMMdd)
  5631. type: string
  5632. ydbuyposition:
  5633. description: 期初买头寸
  5634. type: integer
  5635. ydsellposition:
  5636. description: 期初卖头寸
  5637. type: integer
  5638. type: object
  5639. models.ErmcpHedgePositionDetail:
  5640. properties:
  5641. buyorsell:
  5642. description: 买卖方向 0-买 1-卖
  5643. type: integer
  5644. channelbuildtype:
  5645. description: 开平方向 1-建仓 2-平仓
  5646. type: integer
  5647. goodscode:
  5648. description: 商品代码
  5649. type: string
  5650. goodsname:
  5651. description: 商品名称
  5652. type: string
  5653. hedgegoodsid:
  5654. description: 商品id
  5655. type: integer
  5656. tradeqty:
  5657. description: 数量(成交数量)
  5658. type: integer
  5659. tradetime:
  5660. description: 时间(成交时间)
  5661. type: string
  5662. type: object
  5663. models.ErmcpHisExposure:
  5664. properties:
  5665. needhedgeexposoure:
  5666. description: 应套保敞口
  5667. type: number
  5668. reckondate:
  5669. description: 日照时期(yyyyMMdd)
  5670. type: string
  5671. totalexposure:
  5672. description: 总敞口
  5673. type: number
  5674. type: object
  5675. models.ErmcpHisExposureS:
  5676. properties:
  5677. data:
  5678. description: 历史敞口
  5679. items:
  5680. $ref: '#/definitions/models.ErmcpHisExposure'
  5681. type: array
  5682. enumdicname:
  5683. description: 单位名称
  5684. type: string
  5685. middlegoodscode:
  5686. description: 套保品种代码
  5687. type: string
  5688. middlegoodsid:
  5689. description: 套保品种ID
  5690. type: integer
  5691. middlegoodsname:
  5692. description: 套保品种名称
  5693. type: string
  5694. type: object
  5695. models.ErmcpLoginTaAccount:
  5696. properties:
  5697. accountid:
  5698. description: 账号id
  5699. type: integer
  5700. accountname:
  5701. description: 账号名称
  5702. type: string
  5703. type: object
  5704. models.ErmcpLoginUser:
  5705. properties:
  5706. acclist:
  5707. description: 关联资金账号
  5708. items:
  5709. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  5710. type: array
  5711. accountname:
  5712. description: 用户名称
  5713. type: string
  5714. clientroleid:
  5715. description: 角色id(usertype=2)
  5716. type: integer
  5717. createtime:
  5718. description: 创建时间
  5719. type: string
  5720. logincode:
  5721. description: 登录代码
  5722. type: string
  5723. loginid:
  5724. description: 登录id(LOGINID)
  5725. type: integer
  5726. loginstatus:
  5727. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  5728. type: integer
  5729. memberuserid:
  5730. description: 所属会员id
  5731. type: integer
  5732. mobile:
  5733. description: 手机号
  5734. type: string
  5735. modifytime:
  5736. description: 修改时间
  5737. type: string
  5738. password:
  5739. description: 密码(不可解密)
  5740. type: string
  5741. rolename:
  5742. description: 角色名称
  5743. type: string
  5744. rolestatus:
  5745. description: 角色状态 1-启用 2-停用
  5746. type: integer
  5747. roletype:
  5748. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  5749. type: string
  5750. userid:
  5751. description: 用户id
  5752. type: integer
  5753. usertype:
  5754. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  5755. type: integer
  5756. type: object
  5757. models.ErmcpLoginUserEx:
  5758. properties:
  5759. roleid:
  5760. description: 角色id
  5761. type: integer
  5762. rolename:
  5763. description: 角色名称
  5764. type: string
  5765. userlist:
  5766. description: 用户列表
  5767. items:
  5768. $ref: '#/definitions/models.ErmcpLoginUser'
  5769. type: array
  5770. usertype:
  5771. description: 用户类型 2-机构 7-企业成员(云平台)
  5772. type: integer
  5773. type: object
  5774. models.ErmcpMiddleGoodsChangeLog:
  5775. properties:
  5776. aftervalue:
  5777. description: 变更后
  5778. type: number
  5779. applyid:
  5780. description: 操作人
  5781. type: integer
  5782. applyname:
  5783. description: 操作人名称
  5784. type: string
  5785. applysrc:
  5786. description: 操作来源 - 1:管理端 2:终端
  5787. type: integer
  5788. beforevalue:
  5789. description: 变更前
  5790. type: number
  5791. changelogtype:
  5792. description: 变更流水类型 - 1:套保比率变更
  5793. type: integer
  5794. handlestatus:
  5795. description: 处理状态
  5796. type: integer
  5797. logdatetime:
  5798. description: 流水日期
  5799. type: string
  5800. logid:
  5801. description: 流水ID
  5802. type: integer
  5803. logremark:
  5804. description: 流水备注
  5805. type: string
  5806. middlegoodsid:
  5807. description: 套保品种ID
  5808. type: integer
  5809. tradedate:
  5810. description: 交易日(yyyyMMdd)
  5811. type: string
  5812. updatetime:
  5813. description: 更新时间
  5814. type: string
  5815. type: object
  5816. models.ErmcpMiddleGoodsDetail:
  5817. properties:
  5818. cvList:
  5819. description: 期货品种折算列表
  5820. items:
  5821. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  5822. type: array
  5823. mg:
  5824. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  5825. description: 套保品种基本信息
  5826. type: object
  5827. wrcList:
  5828. description: 现货品种列表(现货商品折算配置)
  5829. items:
  5830. $ref: '#/definitions/models.WRSConverTDetail'
  5831. type: array
  5832. type: object
  5833. models.ErmcpMiddleGoodsModel:
  5834. properties:
  5835. areauserid:
  5836. description: 机构用户ID
  5837. type: integer
  5838. createtime:
  5839. description: 修改时间
  5840. type: string
  5841. enumdicname:
  5842. description: 单位名称
  5843. type: string
  5844. evaluateratio:
  5845. description: 估价系数
  5846. type: number
  5847. goodsgroupid:
  5848. description: 关联期货品种ID
  5849. type: integer
  5850. goodsunitid:
  5851. description: 单位ID
  5852. type: integer
  5853. isvalid:
  5854. description: 状态 0-无效(停用) 1-有效(正常)
  5855. type: integer
  5856. middlegoodscode:
  5857. description: 套保品种代码
  5858. type: string
  5859. middlegoodsid:
  5860. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  5861. type: integer
  5862. middlegoodsname:
  5863. description: 套保品种名称
  5864. type: string
  5865. modifytime:
  5866. description: 修改时间
  5867. type: string
  5868. needhedgeratio:
  5869. description: 套保比率
  5870. type: number
  5871. qtydecimalplace:
  5872. description: 数量小数位
  5873. type: integer
  5874. relatedgoodsid:
  5875. description: 关联交易商品ID
  5876. type: integer
  5877. relatedgoodstype:
  5878. description: 关联商品类型 - 1:期货合约 2:现货品种
  5879. type: integer
  5880. remark:
  5881. description: 备注
  5882. type: string
  5883. type: object
  5884. models.ErmcpModel:
  5885. properties:
  5886. accountname:
  5887. description: 账户名称
  5888. type: string
  5889. attachment:
  5890. description: 附件
  5891. type: string
  5892. audittime:
  5893. description: 审核时间
  5894. type: string
  5895. brandname:
  5896. description: 品牌名称
  5897. type: string
  5898. contracctstatus:
  5899. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5900. type: integer
  5901. contractmargin:
  5902. description: 合同保证金
  5903. type: number
  5904. contractno:
  5905. description: 合同编号
  5906. type: string
  5907. contracttype:
  5908. description: 合同类型 1-采购, -1-销售
  5909. type: integer
  5910. convertfactor:
  5911. description: 标仓系数
  5912. type: number
  5913. createtime:
  5914. description: 创建时间
  5915. type: string
  5916. daikaiamount:
  5917. description: 应收(开)票额
  5918. type: number
  5919. deliveryenddate:
  5920. description: 交割结束日
  5921. type: string
  5922. deliverygoodscode:
  5923. description: 现货品种代码
  5924. type: string
  5925. deliverygoodsid:
  5926. description: 现货商品ID
  5927. type: integer
  5928. deliverygoodsname:
  5929. description: 现货品种名称
  5930. type: string
  5931. deliverystartdate:
  5932. description: 交割开始日
  5933. type: string
  5934. enddate:
  5935. description: 点价结束日
  5936. type: string
  5937. enumdicname:
  5938. description: 单位名称
  5939. type: string
  5940. goodscode:
  5941. description: 点价商品代码
  5942. type: string
  5943. goodsid:
  5944. description: 点价商品ID
  5945. type: integer
  5946. goodsname:
  5947. description: 点价商品名称
  5948. type: string
  5949. invoiceamount:
  5950. description: 已开票额
  5951. type: number
  5952. loanamount:
  5953. description: 贷款总额=已定价额+调整金额
  5954. type: number
  5955. margin:
  5956. description: 保证金
  5957. type: number
  5958. modelname:
  5959. description: 型号名称
  5960. type: string
  5961. payamount:
  5962. description: 已收付额(收款或付款)
  5963. type: number
  5964. preinvoiceamount:
  5965. description: 预收(开)票额
  5966. type: number
  5967. prepayamount:
  5968. description: 预收付额
  5969. type: number
  5970. price:
  5971. description: 价格
  5972. type: number
  5973. pricedamount:
  5974. description: 已定价额
  5975. type: number
  5976. pricedavg:
  5977. description: 已点均价
  5978. type: number
  5979. pricedqty:
  5980. description: 已定价量
  5981. type: number
  5982. pricemove:
  5983. description: 升贴水
  5984. type: number
  5985. pricetype:
  5986. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  5987. type: integer
  5988. producttype:
  5989. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5990. type: integer
  5991. qty:
  5992. description: 合同量
  5993. type: number
  5994. reckonadjustamount:
  5995. description: 调整金额
  5996. type: number
  5997. reckonedamount:
  5998. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  5999. type: number
  6000. reckonotheramount:
  6001. description: 其它费用
  6002. type: number
  6003. reckonrealqty:
  6004. description: 已确定量
  6005. type: number
  6006. remark:
  6007. description: 备注
  6008. type: string
  6009. spotcontractid:
  6010. description: 合同ID
  6011. type: string
  6012. spotgoodsbrandid:
  6013. description: 现货品牌ID
  6014. type: integer
  6015. spotgoodsdesc:
  6016. description: 商品型号(商品规格)
  6017. type: string
  6018. spotgoodsmodelid:
  6019. description: 现货型号ID
  6020. type: integer
  6021. startdate:
  6022. description: 点价开始日
  6023. type: string
  6024. totalamount:
  6025. description: 合计总额
  6026. type: number
  6027. unpayamount:
  6028. description: 应收付款额(应支付或应收款)
  6029. type: number
  6030. unpricedqty:
  6031. description: 未定价量
  6032. type: number
  6033. unsureqty:
  6034. description: 未确定量
  6035. type: number
  6036. userid:
  6037. description: 用户ID
  6038. type: integer
  6039. wrstandardcode:
  6040. description: 现货商品代码
  6041. type: string
  6042. wrstandardid:
  6043. description: 现货商品ID
  6044. type: integer
  6045. wrstandardname:
  6046. description: 现货商品名称
  6047. type: string
  6048. type: object
  6049. models.ErmcpOPLogModel:
  6050. properties:
  6051. aftervalue:
  6052. description: 变更后
  6053. type: number
  6054. applyid:
  6055. description: 操作人ID
  6056. type: string
  6057. applyname:
  6058. description: 操作人名称
  6059. type: string
  6060. beforevalue:
  6061. description: 变更前
  6062. type: number
  6063. biztype:
  6064. description: 业务类型 - 1:套保计划 2:现货合同
  6065. type: integer
  6066. contracttype:
  6067. description: 现货合同类型 - 1:采购 -1:销售
  6068. type: integer
  6069. logvalue:
  6070. description: 数值
  6071. type: number
  6072. operatelogtype:
  6073. description: 操作流水类型
  6074. type: integer
  6075. operatelogtypedesc:
  6076. description: 操作流水类型名称
  6077. type: string
  6078. relatedid:
  6079. description: 现货合同ID\套保计划
  6080. type: string
  6081. updatetime:
  6082. description: 更新时间
  6083. type: string
  6084. type: object
  6085. models.ErmcpPendingAudit:
  6086. properties:
  6087. areastockqty:
  6088. description: '待审核数量: 库存申请'
  6089. type: integer
  6090. businessdjqty:
  6091. description: '待审核数量: 点价'
  6092. type: integer
  6093. businessfpqty:
  6094. description: '待审核数量: 发票'
  6095. type: integer
  6096. businessjsqty:
  6097. description: '待审核数量: 结算'
  6098. type: integer
  6099. businesskxqty:
  6100. description: '待审核数量: 款项'
  6101. type: integer
  6102. hedgeplanqty:
  6103. description: '待审核数量: 套保计划'
  6104. type: integer
  6105. spotcontractqty:
  6106. description: '待审核数量: 现货合同'
  6107. type: integer
  6108. userqty:
  6109. description: '待审核数量: 用户'
  6110. type: integer
  6111. type: object
  6112. models.ErmcpRealExposureModel:
  6113. properties:
  6114. AreaUserID:
  6115. description: 所属机构
  6116. type: integer
  6117. BuyFutureQty:
  6118. description: 买入期货数量
  6119. type: number
  6120. BuyPlanQty:
  6121. description: 采购计划数量
  6122. type: number
  6123. BuyPricedQty:
  6124. description: 采购合同已定价数量
  6125. type: number
  6126. MiddleGoodsCode:
  6127. description: 套保品种代码
  6128. type: string
  6129. MiddleGoodsHedgeRatio:
  6130. description: 应套保比例
  6131. type: number
  6132. MiddleGoodsID:
  6133. description: 套保品种
  6134. type: integer
  6135. MiddleGoodsName:
  6136. description: 套保品种名称
  6137. type: string
  6138. NeedHedgeExposoure:
  6139. description: 应套保敞口
  6140. type: number
  6141. NeedHedgeRatio:
  6142. description: 应套保敞口比例
  6143. type: number
  6144. OriBuyFutureQty:
  6145. description: 期初买入期货数量
  6146. type: number
  6147. OriBuyPlanQty:
  6148. description: 期初采购计划数量
  6149. type: number
  6150. OriBuyPricedQty:
  6151. description: 期初采购合同已定价数量
  6152. type: number
  6153. OriSellFutureQty:
  6154. description: 期初卖出期货数量
  6155. type: number
  6156. OriSellPlanQty:
  6157. description: 期初销售计划数量
  6158. type: number
  6159. OriSellPricedQty:
  6160. description: 期初销售合同已定价数量
  6161. type: number
  6162. SellFutureQty:
  6163. description: 卖出期货数量
  6164. type: number
  6165. SellPlanQty:
  6166. description: 销售计划数量
  6167. type: number
  6168. SellPricedQty:
  6169. description: 销售合同已定价数量
  6170. type: number
  6171. TotalExposure:
  6172. description: 总敞口
  6173. type: number
  6174. TotalFutureQty:
  6175. description: 期货数量
  6176. type: number
  6177. TotalHedgeRatio:
  6178. description: 敞口比例
  6179. type: number
  6180. TotalNeedHedgeQty:
  6181. description: 期货应套保量
  6182. type: number
  6183. TotalSpotQty:
  6184. description: 现货数量
  6185. type: number
  6186. diffFutuQty:
  6187. description: 今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)
  6188. type: number
  6189. diffSpotQty:
  6190. description: 今日变动量(现货) = 现货数量 - 期初现货数量
  6191. type: number
  6192. enumdicname:
  6193. description: 单位名称
  6194. type: string
  6195. oriTotalFutuQty:
  6196. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  6197. type: number
  6198. oriTotalSpotQty:
  6199. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  6200. type: number
  6201. type: object
  6202. models.ErmcpReportAreaSpotPL:
  6203. properties:
  6204. actualpl:
  6205. description: 实际损益
  6206. type: number
  6207. areauserid:
  6208. description: 所属机构
  6209. type: integer
  6210. brandname:
  6211. description: 品牌名称
  6212. type: string
  6213. curamount:
  6214. description: 期末额
  6215. type: number
  6216. curaverageprice:
  6217. description: 期末均价
  6218. type: number
  6219. curbuyamount:
  6220. description: 期末采购总额(采购额)
  6221. type: number
  6222. curbuyqty:
  6223. description: 期末采购总量
  6224. type: number
  6225. curmarketvalue:
  6226. description: 参考市值
  6227. type: number
  6228. curqty:
  6229. description: 期末量
  6230. type: number
  6231. cursellamount:
  6232. description: 期末销售总额(销售额)
  6233. type: number
  6234. cursellqty:
  6235. description: 期末销售总量
  6236. type: number
  6237. curspotprice:
  6238. description: 参考市价
  6239. type: number
  6240. enumdicname:
  6241. description: 现货商品单位名称
  6242. type: string
  6243. floatpl:
  6244. description: 浮动损益
  6245. type: number
  6246. gbenumdicname:
  6247. description: 品类单位名称
  6248. type: string
  6249. gbunitid:
  6250. description: 品类单位id
  6251. type: integer
  6252. modelname:
  6253. description: 品类名称
  6254. type: string
  6255. oriamount:
  6256. description: 期初额
  6257. type: number
  6258. oriaverageprice:
  6259. description: 期初均价
  6260. type: number
  6261. oribuyamount:
  6262. description: 期初采购总额
  6263. type: number
  6264. oribuyqty:
  6265. description: 期初采购总量
  6266. type: number
  6267. oriqty:
  6268. description: 期初量
  6269. type: number
  6270. orisellamount:
  6271. description: 期初销售总额
  6272. type: number
  6273. orisellqty:
  6274. description: 期初销售总量
  6275. type: number
  6276. spotgoodsbrandid:
  6277. description: 现货品牌ID
  6278. type: integer
  6279. spotgoodsmodelid:
  6280. description: 现货品类ID
  6281. type: integer
  6282. todaybuyamount:
  6283. description: 今日采购额
  6284. type: number
  6285. todaybuyaverageprice:
  6286. description: 今日采购均价(采购均价)
  6287. type: number
  6288. todaybuyqty:
  6289. description: 今日采购量(采购增量)
  6290. type: number
  6291. todaysellamount:
  6292. description: 今日销售额
  6293. type: number
  6294. todaysellaverageprice:
  6295. description: 今日销售均价(销售均价)
  6296. type: number
  6297. todaysellqty:
  6298. description: 今日销售量(销售增量)
  6299. type: number
  6300. unitid:
  6301. description: 现货商品单位id
  6302. type: integer
  6303. updatetime:
  6304. description: 更新时间
  6305. type: string
  6306. wrstandardcode:
  6307. description: 现货商品代码
  6308. type: string
  6309. wrstandardid:
  6310. description: 现货商品ID
  6311. type: integer
  6312. wrstandardname:
  6313. description: 现货商品名称
  6314. type: string
  6315. type: object
  6316. models.ErmcpReportDayExposure:
  6317. properties:
  6318. areauserid:
  6319. description: 所属机构
  6320. type: integer
  6321. buyfutureqty:
  6322. description: 买入期货数量
  6323. type: number
  6324. buyplanqty:
  6325. description: 采购计划数量
  6326. type: number
  6327. buypricedqty:
  6328. description: 采购合同已定价数量
  6329. type: number
  6330. diffFutuQty:
  6331. description: 今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)
  6332. type: number
  6333. diffSpotQty:
  6334. description: 今日变动量(现货) = 现货数量 - 期初现货数量
  6335. type: number
  6336. enumdicname:
  6337. description: 单位名称
  6338. type: string
  6339. middlegoodscode:
  6340. description: 套保品种代码
  6341. type: string
  6342. middlegoodshedgeratio:
  6343. description: 应套保比例
  6344. type: number
  6345. middlegoodsid:
  6346. description: 套保品种ID
  6347. type: integer
  6348. middlegoodsname:
  6349. description: 套保品种名称
  6350. type: string
  6351. needhedgeexposoure:
  6352. description: 应套保敞口
  6353. type: number
  6354. needhedgeratio:
  6355. description: 应套保敞口比例
  6356. type: number
  6357. oriTotalFutuQty:
  6358. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  6359. type: number
  6360. oriTotalSpotQty:
  6361. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  6362. type: number
  6363. oribuyfutureqty:
  6364. description: 期初买入期货数量
  6365. type: number
  6366. oribuyplanqty:
  6367. description: 期初采购计划数量
  6368. type: number
  6369. oribuypricedqty:
  6370. description: 期初采购合同已定价数量
  6371. type: number
  6372. orisellfutureqty:
  6373. description: 期初卖出期货数量
  6374. type: number
  6375. orisellplanqty:
  6376. description: 期初销售计划数量
  6377. type: number
  6378. orisellpricedqty:
  6379. description: 期初销售合同已定价数量
  6380. type: number
  6381. reckondate:
  6382. description: 日照时期(yyyyMMdd)
  6383. type: string
  6384. sellfutureqty:
  6385. description: 卖出期货数量
  6386. type: number
  6387. sellplanqty:
  6388. description: 销售计划数量
  6389. type: number
  6390. sellpricedqty:
  6391. description: 销售合同已定价数量
  6392. type: number
  6393. totalexposure:
  6394. description: 总敞口
  6395. type: number
  6396. totalfutureqty:
  6397. description: 期货数量
  6398. type: number
  6399. totalhedgeratio:
  6400. description: 敞口比例
  6401. type: number
  6402. totalneedhedgeqty:
  6403. description: 期货应套保量
  6404. type: number
  6405. totalspotqty:
  6406. description: 现货数量
  6407. type: number
  6408. type: object
  6409. models.ErmcpReportDayFR:
  6410. properties:
  6411. areauserid:
  6412. description: 所属机构
  6413. type: integer
  6414. collectinvoiceamount:
  6415. description: 今日开票金额
  6416. type: number
  6417. collectinvoicecount:
  6418. description: 今日开票笔数
  6419. type: integer
  6420. collectmoneyamount:
  6421. description: 今日收款金额
  6422. type: number
  6423. collectmoneycount:
  6424. description: 今日收款笔数
  6425. type: integer
  6426. payinvoiceamount:
  6427. description: 今日收票金额
  6428. type: number
  6429. payinvoicecount:
  6430. description: 今日收票笔数
  6431. type: integer
  6432. paymoneyamount:
  6433. description: 今日付款金额
  6434. type: number
  6435. paymoneycount:
  6436. description: 今日付款笔数
  6437. type: integer
  6438. reckondate:
  6439. description: 日照时期(yyyyMMdd)
  6440. type: string
  6441. updatetime:
  6442. description: 更新时间
  6443. type: string
  6444. type: object
  6445. models.ErmcpReportDaySpot:
  6446. properties:
  6447. areauserid:
  6448. description: 所属机构T
  6449. type: integer
  6450. buyinqty:
  6451. description: 采购入库量
  6452. type: number
  6453. enumdicname:
  6454. description: 现货商品单位名称
  6455. type: string
  6456. reckondate:
  6457. description: 日照时期(yyyyMMdd)
  6458. type: string
  6459. selloutqty:
  6460. description: 销售出库量
  6461. type: number
  6462. todaybuyreckonqty:
  6463. description: 采购确定量
  6464. type: number
  6465. todaysellreckonqty:
  6466. description: 销售确定量
  6467. type: number
  6468. totalbuypricedqty:
  6469. description: 采购定价量 = 期末 - 期初
  6470. type: number
  6471. totalsellpricedqty:
  6472. description: 销售定价量 = 期末 - 期初
  6473. type: number
  6474. wrstandardcode:
  6475. description: 现货商品代码
  6476. type: string
  6477. wrstandardid:
  6478. description: 现货商品ID
  6479. type: integer
  6480. wrstandardname:
  6481. description: 现货商品名称
  6482. type: string
  6483. type: object
  6484. models.ErmcpReportMonSpot:
  6485. properties:
  6486. areauserid:
  6487. description: 所属机构T
  6488. type: integer
  6489. buyinqty:
  6490. description: 采购入库量
  6491. type: number
  6492. cycletime:
  6493. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6494. type: string
  6495. cycletype:
  6496. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6497. type: integer
  6498. enumdicname:
  6499. description: 现货商品单位名称
  6500. type: string
  6501. selloutqty:
  6502. description: 销售出库量
  6503. type: number
  6504. todaybuyreckonqty:
  6505. description: 采购确定量
  6506. type: number
  6507. todaysellreckonqty:
  6508. description: 销售确定量
  6509. type: number
  6510. totalbuypricedqty:
  6511. description: 采购定价量 = 期末 - 期初
  6512. type: number
  6513. totalsellpricedqty:
  6514. description: 销售定价量 = 期末 - 期初
  6515. type: number
  6516. wrstandardcode:
  6517. description: 现货商品代码
  6518. type: string
  6519. wrstandardid:
  6520. description: 现货商品ID
  6521. type: integer
  6522. wrstandardname:
  6523. description: 现货商品名称
  6524. type: string
  6525. type: object
  6526. models.ErmcpReportMonthFR:
  6527. properties:
  6528. areauserid:
  6529. description: 所属机构【原值】
  6530. type: integer
  6531. collectinvoiceamount:
  6532. description: 今日开票金额【汇总】
  6533. type: number
  6534. collectinvoicecount:
  6535. description: 今日开票笔数【汇总】
  6536. type: integer
  6537. collectmoneyamount:
  6538. description: 今日收款金额【汇总】
  6539. type: number
  6540. collectmoneycount:
  6541. description: 今日收款笔数 【汇总】
  6542. type: integer
  6543. cycletime:
  6544. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6545. type: string
  6546. cycletype:
  6547. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6548. type: integer
  6549. dayFr:
  6550. description: 日报表明细
  6551. items:
  6552. $ref: '#/definitions/models.ErmcpReportDayFR'
  6553. type: array
  6554. payinvoiceamount:
  6555. description: 今日收票金额【汇总】
  6556. type: number
  6557. payinvoicecount:
  6558. description: 今日收票笔数【汇总】
  6559. type: integer
  6560. paymoneyamount:
  6561. description: 今日付款金额【汇总】
  6562. type: number
  6563. paymoneycount:
  6564. description: 今日付款笔数【汇总】
  6565. type: integer
  6566. updatetime:
  6567. description: 更新时间
  6568. type: string
  6569. type: object
  6570. models.ErmcpReportOPLog:
  6571. properties:
  6572. applyid:
  6573. description: 操作人
  6574. type: integer
  6575. applyname:
  6576. description: 操作人名称
  6577. type: string
  6578. biztype:
  6579. description: 业务类型 - 1:套保计划 2:现货合同
  6580. type: integer
  6581. brandname:
  6582. description: 品牌名称
  6583. type: string
  6584. contracttype:
  6585. description: 现货合同类型 - 1:采购 -1:销售
  6586. type: integer
  6587. enumdicName:
  6588. description: 单位名称
  6589. type: string
  6590. logdatetime:
  6591. description: 流水日期(时间)
  6592. type: string
  6593. logid:
  6594. description: 流水ID(604+Unix秒时间戳(10位)+xxxxxx)
  6595. type: string
  6596. logtypename:
  6597. description: 合同类型(名称)
  6598. type: string
  6599. logvalue:
  6600. description: 数值
  6601. type: string
  6602. modelname:
  6603. description: 型号名称
  6604. type: string
  6605. operatelogtype:
  6606. description: 操作流水类型 -
  6607. type: integer
  6608. optypename:
  6609. description: 流水类型名称
  6610. type: string
  6611. relatedid:
  6612. description: 现货合同ID\套保计划
  6613. type: string
  6614. relatedno:
  6615. description: 合同编号
  6616. type: string
  6617. tradedate:
  6618. description: 交易日(yyyyMMdd)
  6619. type: string
  6620. userid:
  6621. description: 机构ID
  6622. type: integer
  6623. wrstandardcode:
  6624. description: 现货商品代码
  6625. type: string
  6626. wrstandardid:
  6627. description: 现货商品ID
  6628. type: integer
  6629. wrstandardname:
  6630. description: 现货商品名称
  6631. type: string
  6632. type: object
  6633. models.ErmcpRole:
  6634. properties:
  6635. areauserid:
  6636. description: 所属机构
  6637. type: integer
  6638. autoid:
  6639. description: 角色ID(自增ID)
  6640. type: integer
  6641. modifierid:
  6642. description: 修改人(创建人)
  6643. type: integer
  6644. modifiername:
  6645. description: 修改人名称
  6646. type: string
  6647. modifytime:
  6648. description: 修改时间(创建时间)
  6649. type: string
  6650. rolename:
  6651. description: 角色名称
  6652. type: string
  6653. rolestatus:
  6654. description: 角色状态 - 1:启用 2:停用
  6655. type: integer
  6656. roletype:
  6657. description: 角色类型 - 1- 管理端 2- 交易端
  6658. type: integer
  6659. type: object
  6660. models.ErmcpRoleMenu:
  6661. properties:
  6662. iconame:
  6663. description: 菜单图标
  6664. type: string
  6665. menutype:
  6666. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  6667. type: integer
  6668. parentcode:
  6669. description: 上级资源代码
  6670. type: string
  6671. remark:
  6672. description: 菜单备注
  6673. type: string
  6674. resourcecode:
  6675. description: 菜单代码
  6676. type: string
  6677. resourcelevel:
  6678. description: 级别
  6679. type: integer
  6680. resourcename:
  6681. description: 菜单名称
  6682. type: string
  6683. roleid:
  6684. description: 角色id
  6685. type: integer
  6686. sort:
  6687. description: 排序
  6688. type: integer
  6689. url:
  6690. description: URL
  6691. type: string
  6692. userid:
  6693. description: 用户id
  6694. type: integer
  6695. type: object
  6696. models.ErmcpRoleMenuEx:
  6697. properties:
  6698. menu:
  6699. $ref: '#/definitions/models.ErmcpRoleMenu'
  6700. description: 父级菜单
  6701. type: object
  6702. subMenu:
  6703. description: 子级菜单
  6704. items:
  6705. $ref: '#/definitions/models.ErmcpRoleMenu'
  6706. type: array
  6707. type: object
  6708. models.ErmcpSpotContractModel:
  6709. properties:
  6710. amount:
  6711. description: 金额 [1:一口价、3:暂定价]
  6712. type: number
  6713. attachment:
  6714. description: 附件
  6715. type: string
  6716. auditremark:
  6717. description: 审核意见
  6718. type: string
  6719. audittime:
  6720. description: 审核时间
  6721. type: string
  6722. brandname:
  6723. description: 品牌名称
  6724. type: string
  6725. buyuserid:
  6726. description: 采购方ID
  6727. type: integer
  6728. buyusername:
  6729. description: 采购方名称
  6730. type: string
  6731. contracctstatus:
  6732. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  6733. type: integer
  6734. contractmargin:
  6735. description: 合同保证金
  6736. type: number
  6737. contractno:
  6738. description: 现货合同编号
  6739. type: string
  6740. contracttype:
  6741. description: 现货合同类型 - 1:采购 -1:销售
  6742. type: integer
  6743. convertfactor:
  6744. description: 标仓系数
  6745. type: number
  6746. createtime:
  6747. description: 创建时间
  6748. type: string
  6749. deliveryenddate:
  6750. description: 交收期(结束)
  6751. type: string
  6752. deliverygoodscode:
  6753. description: 现货品种代码
  6754. type: string
  6755. deliverygoodsid:
  6756. description: 现货品种ID
  6757. type: integer
  6758. deliverygoodsname:
  6759. description: 现货品种名称
  6760. type: string
  6761. deliverystartdate:
  6762. description: 交收期(开始)
  6763. type: string
  6764. enddate:
  6765. description: 点价结束日期 [2:点价 3:暂定价]
  6766. type: string
  6767. enumdicname:
  6768. description: 单位名称
  6769. type: string
  6770. goodscode:
  6771. description: 点价合约代码
  6772. type: string
  6773. goodsid:
  6774. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  6775. type: integer
  6776. goodsname:
  6777. description: 点价商品名称
  6778. type: string
  6779. margin:
  6780. description: 当前保证金
  6781. type: number
  6782. modelname:
  6783. description: 型号名称
  6784. type: string
  6785. price:
  6786. description: 价格\暂定价 [1:一口价、3:暂定价]
  6787. type: number
  6788. pricemove:
  6789. description: 升贴水 [2:点价 3:暂定价]
  6790. type: number
  6791. pricetype:
  6792. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  6793. type: integer
  6794. producttype:
  6795. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  6796. type: integer
  6797. qty:
  6798. description: 数量
  6799. type: number
  6800. remark:
  6801. description: 备注
  6802. type: string
  6803. selluserid:
  6804. description: 销售方ID
  6805. type: integer
  6806. sellusername:
  6807. description: 销售方名称
  6808. type: string
  6809. spotcontractid:
  6810. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  6811. type: string
  6812. spotgoodsbrandid:
  6813. description: 现货品牌ID
  6814. type: integer
  6815. spotgoodsdesc:
  6816. description: 商品型号
  6817. type: string
  6818. spotgoodsmodelid:
  6819. description: 现货型号ID
  6820. type: integer
  6821. startdate:
  6822. description: 点价开始日期 [2:点价 3:暂定价]
  6823. type: string
  6824. updatetime:
  6825. description: 更新时间
  6826. type: string
  6827. userid:
  6828. description: 机构ID
  6829. type: integer
  6830. wrstandardcode:
  6831. description: 现货商品代码
  6832. type: string
  6833. wrstandardid:
  6834. description: 现货商品ID
  6835. type: integer
  6836. wrstandardname:
  6837. description: 现货商品名称
  6838. type: string
  6839. type: object
  6840. models.ErmcpSpotGoodsPrice:
  6841. properties:
  6842. areauserid:
  6843. description: 所属机构id
  6844. type: integer
  6845. brandname:
  6846. description: 品牌名称
  6847. type: string
  6848. currencyid:
  6849. description: 报价货币ID
  6850. type: integer
  6851. enumdicname:
  6852. description: 现货商品单位名称
  6853. type: string
  6854. gbenumdicname:
  6855. description: 品类单位名称
  6856. type: string
  6857. gmunitid:
  6858. description: 品类单位id
  6859. type: integer
  6860. isvalid:
  6861. description: 是否有效 - 0:无效 1:有效
  6862. type: integer
  6863. modelname:
  6864. description: 品类名称
  6865. type: string
  6866. operateid:
  6867. description: 最后操作人
  6868. type: integer
  6869. operatesrc:
  6870. description: 最后操作来源 - 1:管理端 2:终端
  6871. type: integer
  6872. operatetime:
  6873. description: 最后操作时间
  6874. type: string
  6875. operatorname:
  6876. description: 操作人名称
  6877. type: string
  6878. spotgoodsbrandid:
  6879. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  6880. type: integer
  6881. spotgoodsmodelid:
  6882. description: 现货品类ID(通用则为0)
  6883. type: integer
  6884. spotgoodsprice:
  6885. description: 现货价格
  6886. type: number
  6887. tradedate:
  6888. description: 交易日(yyyyMMdd)
  6889. type: string
  6890. unitid:
  6891. description: 现货商品单位id
  6892. type: integer
  6893. wrstandardcode:
  6894. description: 现货商品代码
  6895. type: string
  6896. wrstandardid:
  6897. description: 现货商品ID
  6898. type: integer
  6899. wrstandardname:
  6900. description: 现货商品名称
  6901. type: string
  6902. type: object
  6903. models.ErmcpSpotGoodsPriceLog:
  6904. properties:
  6905. areauserid:
  6906. description: 所属机构id
  6907. type: integer
  6908. brandname:
  6909. description: 品牌名称
  6910. type: string
  6911. currencyid:
  6912. description: 报价货币ID
  6913. type: integer
  6914. enumdicname:
  6915. description: 现货商品单位名称
  6916. type: string
  6917. gbenumdicname:
  6918. description: 品类单位名称
  6919. type: string
  6920. gmunitid:
  6921. description: 品类单位id
  6922. type: integer
  6923. logid:
  6924. description: 日志id
  6925. type: integer
  6926. modelname:
  6927. description: 品类名称
  6928. type: string
  6929. operateid:
  6930. description: 最后操作人
  6931. type: integer
  6932. operatesrc:
  6933. description: 最后操作来源 - 1:管理端 2:终端
  6934. type: integer
  6935. operatetime:
  6936. description: 最后操作时间
  6937. type: string
  6938. operatorname:
  6939. description: 操作人名称
  6940. type: string
  6941. spotgoodsbrandid:
  6942. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  6943. type: integer
  6944. spotgoodsmodelid:
  6945. description: 现货品类ID(通用则为0)
  6946. type: integer
  6947. spotgoodsprice:
  6948. description: 现货价格
  6949. type: number
  6950. tradedate:
  6951. description: 交易日(yyyyMMdd)
  6952. type: string
  6953. unitid:
  6954. description: 现货商品单位id
  6955. type: integer
  6956. wrstandardcode:
  6957. description: 现货商品代码
  6958. type: string
  6959. wrstandardid:
  6960. description: 现货商品ID
  6961. type: integer
  6962. wrstandardname:
  6963. description: 现货商品名称
  6964. type: string
  6965. type: object
  6966. models.ErmcpTaAccount:
  6967. properties:
  6968. accountid:
  6969. description: 账户id
  6970. type: integer
  6971. accountname:
  6972. description: 账户名称
  6973. type: string
  6974. currencyid:
  6975. description: 币种id
  6976. type: integer
  6977. hedgeaccountcode:
  6978. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  6979. type: string
  6980. ismain:
  6981. description: 是否主账户 0-否 1-是
  6982. type: integer
  6983. parentaccountid:
  6984. description: 父账户id
  6985. type: integer
  6986. relateduserid:
  6987. description: 关联userid
  6988. type: integer
  6989. tradestatus:
  6990. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  6991. type: integer
  6992. userid:
  6993. description: 用户id
  6994. type: integer
  6995. type: object
  6996. models.ErmcpTaAccountEx:
  6997. properties:
  6998. mainAcc:
  6999. $ref: '#/definitions/models.ErmcpTaAccount'
  7000. description: 主账号
  7001. type: object
  7002. subacclist:
  7003. description: 子账号列表
  7004. items:
  7005. $ref: '#/definitions/models.ErmcpTaAccount'
  7006. type: array
  7007. type: object
  7008. models.ErmcpTaAccountInfo:
  7009. properties:
  7010. accountid:
  7011. description: 资金账户ID
  7012. type: integer
  7013. accountname:
  7014. description: 账户名称
  7015. type: string
  7016. balance:
  7017. description: 期初余额
  7018. type: number
  7019. capitalbalance:
  7020. description: 本金余额[外部子账户实际出入金余额]
  7021. type: number
  7022. closepl:
  7023. description: 今日平仓盈亏
  7024. type: number
  7025. creditdecrease:
  7026. description: 今日授信减少
  7027. type: number
  7028. creditincrease:
  7029. description: 今日授信增加
  7030. type: number
  7031. curdebt:
  7032. description: 期末欠款
  7033. type: number
  7034. currencyid:
  7035. description: 货币ID
  7036. type: integer
  7037. currentbalance:
  7038. description: 期末余额
  7039. type: number
  7040. freezecharge:
  7041. description: 手续费冻结
  7042. type: number
  7043. freezemargin:
  7044. description: 冻结保证金
  7045. type: number
  7046. fromaccountid:
  7047. description: 所属上级账户
  7048. type: integer
  7049. inamount:
  7050. description: 今日入金金额(包括三方入金)
  7051. type: number
  7052. ismain:
  7053. description: 是否母账号 0:不是母账户 1:是母账户
  7054. type: integer
  7055. mortgagecredit:
  7056. description: 授信金额
  7057. type: number
  7058. oridebt:
  7059. description: 期初欠款
  7060. type: number
  7061. orifreezecharge:
  7062. description: 期初手续费冻结
  7063. type: number
  7064. orifreezemargin:
  7065. description: 期初冻结保证金
  7066. type: number
  7067. orimortgagecredit:
  7068. description: 期初授信金额
  7069. type: number
  7070. oriothercredit:
  7071. description: 期初其它授信金额
  7072. type: number
  7073. oriotherfreezemargin:
  7074. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  7075. type: number
  7076. orioutamountfreeze:
  7077. description: 期初出金冻结
  7078. type: number
  7079. oriusedmargin:
  7080. description: 期初占用保证金
  7081. type: number
  7082. othercredit:
  7083. description: 其它授信金额
  7084. type: number
  7085. othercreditdecrease:
  7086. description: 今日其它授信减少
  7087. type: number
  7088. othercreditincrease:
  7089. description: 今日其它授信增加
  7090. type: number
  7091. otherfreezemargin:
  7092. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  7093. type: number
  7094. outamount:
  7095. description: 今日出金金额(包括三方出金)
  7096. type: number
  7097. outamountfreeze:
  7098. description: 出金冻结
  7099. type: number
  7100. outthreshold:
  7101. description: 出金阈值
  7102. type: number
  7103. parentaccountid:
  7104. description: 所属根账号
  7105. type: integer
  7106. paycharge:
  7107. description: 今日手续费支出
  7108. type: number
  7109. relateduserid:
  7110. description: 关联用户
  7111. type: integer
  7112. signstatus:
  7113. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  7114. type: integer
  7115. sublevelpath:
  7116. description: 账号层级路径(逗号分隔,首尾加逗号)
  7117. type: string
  7118. taaccounttype:
  7119. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  7120. type: integer
  7121. thirdinamount:
  7122. description: 今日三方入金
  7123. type: number
  7124. thirdoutamount:
  7125. description: 今日三方出金
  7126. type: number
  7127. tradestatus:
  7128. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7129. type: integer
  7130. transferamount:
  7131. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  7132. type: number
  7133. usedmargin:
  7134. description: 占用保证金
  7135. type: number
  7136. userid:
  7137. description: 用户ID
  7138. type: integer
  7139. type: object
  7140. models.ErmcpTradeConfigTMP:
  7141. properties:
  7142. areauserid:
  7143. description: 所属机构
  7144. type: integer
  7145. basiccurrencyid:
  7146. description: 基本币种ID[汇率] - 目标币种
  7147. type: integer
  7148. mainaccountid:
  7149. description: 主账户ID
  7150. type: integer
  7151. modifierid:
  7152. description: 修改人
  7153. type: integer
  7154. remark:
  7155. description: 备注
  7156. type: string
  7157. tradeconfigtmpid:
  7158. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  7159. type: integer
  7160. tradeconfigtmpname:
  7161. description: 交易配置模板名称
  7162. type: string
  7163. tradeconfigtmptype:
  7164. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  7165. type: integer
  7166. updatetime:
  7167. description: 更新时间
  7168. type: string
  7169. type: object
  7170. models.ErmcpUserModel:
  7171. properties:
  7172. address:
  7173. description: 通讯地址
  7174. type: string
  7175. attachment1:
  7176. description: 附件1
  7177. type: string
  7178. audittime:
  7179. description: 审核时间
  7180. type: string
  7181. cardbackphotourl:
  7182. description: 证件反面图片地址
  7183. type: string
  7184. cardfrontphotourl:
  7185. description: 证件正面图片地址
  7186. type: string
  7187. cardnum:
  7188. description: 证件号码
  7189. type: string
  7190. cardtype:
  7191. description: 证件类型
  7192. type: integer
  7193. cardtypename:
  7194. description: 证件类型名称
  7195. type: string
  7196. cityid:
  7197. description: 市
  7198. type: integer
  7199. contactname:
  7200. description: 联系人
  7201. type: string
  7202. countryid:
  7203. description: 国家
  7204. type: integer
  7205. createtime:
  7206. description: 创建时间
  7207. type: string
  7208. customername:
  7209. description: 企业名称
  7210. type: string
  7211. districtid:
  7212. description: 区域
  7213. type: integer
  7214. email:
  7215. description: 邮件
  7216. type: string
  7217. legalpersonname:
  7218. description: 法人姓名(企业)
  7219. type: string
  7220. memberuserid:
  7221. description: 所属机构ID
  7222. type: integer
  7223. mobile:
  7224. description: 手机号码
  7225. type: string
  7226. modifytime:
  7227. description: 修改时间
  7228. type: string
  7229. nickname:
  7230. description: 昵称
  7231. type: string
  7232. provinceid:
  7233. description: 省
  7234. type: integer
  7235. remark:
  7236. description: 备注
  7237. type: string
  7238. status:
  7239. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  7240. type: integer
  7241. statusdesc:
  7242. description: 账户状态中文描述
  7243. type: string
  7244. taxpayernum:
  7245. description: 纳税人识别号
  7246. type: string
  7247. telphone:
  7248. description: 联系电话
  7249. type: string
  7250. userid:
  7251. description: 用户ID
  7252. type: integer
  7253. userinfotype:
  7254. description: 客户类型
  7255. type: string
  7256. type: object
  7257. models.ErmcpWareHouseInfo:
  7258. properties:
  7259. address:
  7260. description: 详细地址
  7261. type: string
  7262. areauserid:
  7263. description: 所属机构
  7264. type: integer
  7265. autoid:
  7266. description: 自增ID(仓库ID)
  7267. type: integer
  7268. cityid:
  7269. description: 市
  7270. type: integer
  7271. contactname:
  7272. description: 联系人
  7273. type: string
  7274. contactnum:
  7275. description: 联系电话
  7276. type: string
  7277. countryid:
  7278. description: 国家
  7279. type: integer
  7280. createtime:
  7281. description: 创建时间
  7282. type: string
  7283. districtid:
  7284. description: 区
  7285. type: integer
  7286. hasvideo:
  7287. description: 是否有视频 - 0:无 1:有
  7288. type: integer
  7289. provinceid:
  7290. description: 省
  7291. type: integer
  7292. remark:
  7293. description: 审核备注
  7294. type: string
  7295. videourl:
  7296. description: 视频地址
  7297. type: string
  7298. warehousecode:
  7299. description: 仓库代码
  7300. type: string
  7301. warehousename:
  7302. description: 仓库名称
  7303. type: string
  7304. warehousestatus:
  7305. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  7306. type: integer
  7307. warehousetype:
  7308. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  7309. type: integer
  7310. type: object
  7311. models.ErmcpWrstandDetail:
  7312. properties:
  7313. gbList:
  7314. description: 品牌列表
  7315. items:
  7316. $ref: '#/definitions/models.GoodsBrand'
  7317. type: array
  7318. goodsList:
  7319. description: 关联交易商品列表
  7320. items:
  7321. $ref: '#/definitions/models.RelatedGoodsEx'
  7322. type: array
  7323. gtList:
  7324. description: 型号列表
  7325. items:
  7326. $ref: '#/definitions/models.GoodsTypeModel'
  7327. type: array
  7328. wrd:
  7329. $ref: '#/definitions/models.ErmcpWrstandard'
  7330. description: 基本信息
  7331. type: object
  7332. wrsList:
  7333. description: 套保信息列表
  7334. items:
  7335. $ref: '#/definitions/models.WRSConverTDetail'
  7336. type: array
  7337. type: object
  7338. models.ErmcpWrstandard:
  7339. properties:
  7340. areauserid:
  7341. description: 所属机构
  7342. type: integer
  7343. createtime:
  7344. description: 创建时间
  7345. type: string
  7346. creatorid:
  7347. description: 创建人
  7348. type: integer
  7349. deliverygoodsid:
  7350. description: 品种ID
  7351. type: integer
  7352. enumdicname:
  7353. description: 单位名称
  7354. type: string
  7355. isvalid:
  7356. description: 是否有效 0-无效(停用) 1-有效(正常)
  7357. type: integer
  7358. minivalue:
  7359. description: 最小变动值
  7360. type: integer
  7361. minivaluedp:
  7362. description: 最小变动值小数位
  7363. type: integer
  7364. realminivalue:
  7365. description: 实际最小变动值
  7366. type: integer
  7367. realminivaluedp:
  7368. description: 实际最小变动值小数位
  7369. type: integer
  7370. remark:
  7371. description: 备注
  7372. type: string
  7373. unitid:
  7374. description: 单位ID
  7375. type: integer
  7376. updatetime:
  7377. description: 更新时间
  7378. type: string
  7379. wrstandardcode:
  7380. description: 现货商品代码
  7381. type: string
  7382. wrstandardid:
  7383. description: 现货商品ID(SEQ_WRSTANDARD)
  7384. type: integer
  7385. wrstandardname:
  7386. description: 现货商品名称
  7387. type: string
  7388. type: object
  7389. models.Externalexchange:
  7390. properties:
  7391. autoid:
  7392. description: AutoID - SEQ_EXTERNALEXCHANGE
  7393. type: integer
  7394. exchangefullname:
  7395. description: 外部交易所全称
  7396. type: string
  7397. exexchangecode:
  7398. description: 外部交易所代码
  7399. type: string
  7400. exexchangename:
  7401. description: 外部交易所名称(简称)
  7402. type: string
  7403. ismarketprice:
  7404. description: 是否支持市价 - 0:不支持 1:支持
  7405. type: integer
  7406. quotegear:
  7407. description: 行情档位(1-10)
  7408. type: integer
  7409. showbrokerflag:
  7410. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  7411. type: integer
  7412. updatetime:
  7413. description: 更新时间
  7414. type: string
  7415. required:
  7416. - autoid
  7417. type: object
  7418. models.Funcmenulist:
  7419. properties:
  7420. iconame:
  7421. description: 菜单图标
  7422. type: string
  7423. menutype:
  7424. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  7425. type: integer
  7426. parentcode:
  7427. description: 上级资源代码
  7428. type: string
  7429. remark:
  7430. description: 备注
  7431. type: string
  7432. resourcecode:
  7433. description: 资源代码
  7434. type: string
  7435. resourcelevel:
  7436. description: 级别 1-一级 2-二级 3-三级 4-四级
  7437. type: integer
  7438. resourcename:
  7439. description: 资源名
  7440. type: string
  7441. sort:
  7442. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  7443. type: integer
  7444. url:
  7445. description: URL
  7446. type: string
  7447. required:
  7448. - resourcecode
  7449. type: object
  7450. models.Goods:
  7451. properties:
  7452. agreeunit:
  7453. description: 合约单位
  7454. type: number
  7455. auditaccountid:
  7456. description: 审核操作员账号
  7457. type: integer
  7458. audittime:
  7459. description: 审核时间
  7460. type: string
  7461. cancelaccountid:
  7462. description: 注销操作员账号
  7463. type: integer
  7464. canceltime:
  7465. description: 注销时间
  7466. type: string
  7467. closepricemode:
  7468. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7469. type: integer
  7470. closepriceparam:
  7471. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  7472. type: number
  7473. createtime:
  7474. description: 创建时间
  7475. type: string
  7476. creatorid:
  7477. description: 创建人
  7478. type: integer
  7479. currencyid:
  7480. description: 报价货币ID
  7481. type: integer
  7482. cutmode:
  7483. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  7484. type: integer
  7485. decimalplace:
  7486. description: 报价小数位
  7487. type: integer
  7488. delistingdate:
  7489. description: 商品退市时间(状态:退市) -- 已作废
  7490. type: string
  7491. delistingmode:
  7492. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  7493. type: integer
  7494. deliveryflag:
  7495. description: 交割标志 - 0:不可交割 1:可交割
  7496. type: integer
  7497. forceclosemode:
  7498. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  7499. type: integer
  7500. forceclosevalue:
  7501. description: 定期强平参数 [收益权]
  7502. type: integer
  7503. goodscode:
  7504. description: 商品代码(内部)
  7505. type: string
  7506. goodscurrencyid:
  7507. description: 合约货币ID
  7508. type: integer
  7509. goodsgroupid:
  7510. description: 所属商品组ID
  7511. type: integer
  7512. goodsid:
  7513. description: 商品ID(自增ID SEQ_GOODS)
  7514. type: integer
  7515. goodsname:
  7516. description: 商品名称
  7517. type: string
  7518. goodsquotetype:
  7519. description: '合约报价类型: 1-直接报价 2-间接报价'
  7520. type: integer
  7521. goodsstatus:
  7522. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  7523. type: integer
  7524. goodstradetype:
  7525. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  7526. type: integer
  7527. goodunitid:
  7528. description: 报价单位ID
  7529. type: integer
  7530. hasquoter:
  7531. description: 是否有报价商 - 0:无报价商 1:有报价商
  7532. type: integer
  7533. hqprotecttime:
  7534. description: 行情保护时间(秒)
  7535. type: integer
  7536. innerdealmode:
  7537. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7538. type: integer
  7539. isbuylimited:
  7540. description: 是否限制建仓量 - 0:不限制 1:限制
  7541. type: integer
  7542. lasttradedate:
  7543. description: 最后交易日期(状态:待退市)
  7544. type: string
  7545. listingdate:
  7546. description: 交易开始日期
  7547. type: string
  7548. marketid:
  7549. description: 所属市场ID
  7550. type: integer
  7551. modifierid:
  7552. description: 修改人
  7553. type: integer
  7554. modifystatus:
  7555. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  7556. type: integer
  7557. modifytime:
  7558. description: 修改时间
  7559. type: string
  7560. outerdealmode:
  7561. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7562. type: integer
  7563. outgoodscode:
  7564. description: 商品代码(外部)
  7565. type: string
  7566. qtydecimalplace:
  7567. description: 成交量小数位
  7568. type: integer
  7569. quotegear:
  7570. description: 行情档位(1-10)
  7571. type: integer
  7572. quoteminunit:
  7573. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7574. type: integer
  7575. quoteshowtype:
  7576. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  7577. type: integer
  7578. quoteshowtypeinterval:
  7579. description: 行情报价间隔时间(秒)(成交价时为0)
  7580. type: integer
  7581. remark:
  7582. description: 备注
  7583. type: string
  7584. required:
  7585. - goodscode
  7586. - goodsid
  7587. - goodsname
  7588. - marketid
  7589. type: object
  7590. models.GoodsBrand:
  7591. properties:
  7592. brandid:
  7593. description: 品牌ID
  7594. type: integer
  7595. brandname:
  7596. description: 品牌名称
  7597. type: string
  7598. isvalid:
  7599. description: 是否有效 - 0:无效 1:有效
  7600. type: integer
  7601. type: object
  7602. models.GoodsIDAndName:
  7603. properties:
  7604. goodscode:
  7605. description: 商品代码(内部)
  7606. type: string
  7607. goodsid:
  7608. description: 商品ID(自增ID SEQ_GOODS)
  7609. type: integer
  7610. goodsname:
  7611. description: 商品名称
  7612. type: string
  7613. marketid:
  7614. description: 所属市场ID
  7615. type: integer
  7616. required:
  7617. - goodscode
  7618. - goodsid
  7619. - goodsname
  7620. - marketid
  7621. type: object
  7622. models.GoodsTypeModel:
  7623. properties:
  7624. convertfactor:
  7625. description: 标仓系数
  7626. type: number
  7627. modelid:
  7628. description: 型号ID
  7629. type: integer
  7630. modelname:
  7631. description: 型号名称
  7632. type: string
  7633. updatetime:
  7634. description: 更新时间
  7635. type: string
  7636. type: object
  7637. models.Goodsgroup:
  7638. properties:
  7639. agreeunit:
  7640. description: 合约单位
  7641. type: number
  7642. canshort:
  7643. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  7644. type: integer
  7645. closepricemode:
  7646. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7647. type: integer
  7648. closepriceparam:
  7649. description: 强平最新价浮动比例 - 方式为2时使用
  7650. type: number
  7651. createtime:
  7652. description: 创建时间
  7653. type: string
  7654. creatorid:
  7655. description: 创建人
  7656. type: integer
  7657. currencyid:
  7658. description: 报价货币ID
  7659. type: integer
  7660. decimalplace:
  7661. description: 报价小数位
  7662. type: integer
  7663. exercisetype:
  7664. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  7665. type: integer
  7666. exexchangeid:
  7667. description: 外部交易所ID[通道交易]
  7668. type: integer
  7669. goodsgroupid:
  7670. description: 商品组ID(自增ID)
  7671. type: integer
  7672. goodsgroupname:
  7673. description: 商品组名称
  7674. type: string
  7675. goodsgroupstatus:
  7676. description: 商品组状态 - 1:正常 2:注销
  7677. type: integer
  7678. goodunitid:
  7679. description: 报价单位ID
  7680. type: integer
  7681. innerdealmode:
  7682. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7683. type: integer
  7684. isbuylimited:
  7685. description: 是否限制建仓量 - 0:不限制 1:限制
  7686. type: integer
  7687. marketid:
  7688. description: 所属市场ID
  7689. type: integer
  7690. modifierid:
  7691. description: 修改人
  7692. type: integer
  7693. modifytime:
  7694. description: 修改时间
  7695. type: string
  7696. outerdealmode:
  7697. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7698. type: integer
  7699. outergroupcode:
  7700. description: 外部商品组代码[通道交易]
  7701. type: string
  7702. premiumdecimalplace:
  7703. description: 权利金小数位[场外期权]
  7704. type: integer
  7705. premiumspreadalgorithm:
  7706. description: 权利金点差方式[场外期权] 1:比率 2:固定
  7707. type: integer
  7708. premiumspreadvalue:
  7709. description: 权利金点差值[场外期权]
  7710. type: number
  7711. qtydecimalplace:
  7712. description: 成交量小数位
  7713. type: integer
  7714. quotegear:
  7715. description: 行情档位(1-10)
  7716. type: integer
  7717. quoteminunit:
  7718. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7719. type: integer
  7720. quoterid:
  7721. description: 报价商ID[场外期权]
  7722. type: integer
  7723. quotesourcegroupid:
  7724. description: 所属行情源分组ID[参考行情市场用\通道交易]
  7725. type: integer
  7726. syncgoodsqty:
  7727. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  7728. type: integer
  7729. required:
  7730. - goodsgroupid
  7731. - goodsgroupname
  7732. - goodsgroupstatus
  7733. - marketid
  7734. type: object
  7735. models.Goodssortbypreposition:
  7736. properties:
  7737. goodscode:
  7738. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  7739. type: string
  7740. goodsgroupcode:
  7741. description: 品种代码
  7742. type: string
  7743. prepositionqty:
  7744. description: 昨持仓量
  7745. type: integer
  7746. sortindex:
  7747. description: 排序
  7748. type: integer
  7749. tradedate:
  7750. description: 交易日
  7751. type: string
  7752. updatetime:
  7753. description: 更新时间
  7754. type: string
  7755. required:
  7756. - goodscode
  7757. - tradedate
  7758. type: object
  7759. models.Hedgeinnerholderdetail:
  7760. properties:
  7761. accountid:
  7762. description: 账号ID
  7763. type: integer
  7764. buyorsell:
  7765. description: 方向 - 0:买 1:卖
  7766. type: integer
  7767. freezeqty:
  7768. description: 冻结数量 - 按单平使用
  7769. type: integer
  7770. goodsid:
  7771. description: 商品ID
  7772. type: integer
  7773. holderamount:
  7774. description: 持仓金额 [商品币种]
  7775. type: number
  7776. holderdays:
  7777. description: 剩余冻结天数
  7778. type: integer
  7779. holderprice:
  7780. description: 持仓价格
  7781. type: number
  7782. holderqty:
  7783. description: 持仓数量
  7784. type: integer
  7785. marketid:
  7786. description: 市场ID
  7787. type: integer
  7788. openprice:
  7789. description: 建仓价格
  7790. type: number
  7791. openqty:
  7792. description: 建仓数量
  7793. type: integer
  7794. parentaccountid:
  7795. description: 所属母账户
  7796. type: integer
  7797. releaseamount:
  7798. description: 释放持仓金额[商品币种]
  7799. type: number
  7800. tradeamount:
  7801. description: 成交金额[账户]
  7802. type: number
  7803. tradedate:
  7804. description: 交易日(yyyyMMdd)
  7805. type: string
  7806. tradeid:
  7807. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7808. type: string
  7809. tradetime:
  7810. description: 交易时间
  7811. type: string
  7812. required:
  7813. - buyorsell
  7814. - tradeid
  7815. type: object
  7816. models.Hedgemarketopenlog:
  7817. properties:
  7818. accountid:
  7819. description: 资金账号[外部母账户]
  7820. type: integer
  7821. fcname:
  7822. description: 期货公司名称
  7823. type: string
  7824. handlestatus:
  7825. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  7826. type: integer
  7827. marketid:
  7828. description: 市场ID
  7829. type: integer
  7830. status:
  7831. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  7832. type: integer
  7833. tradedate:
  7834. description: 交易日(yyyyMMdd)
  7835. type: string
  7836. updatetime:
  7837. description: 更新时间
  7838. type: string
  7839. required:
  7840. - accountid
  7841. type: object
  7842. models.HsbyBuyMyPayOrder:
  7843. properties:
  7844. agreeunit:
  7845. description: 合约单位
  7846. type: number
  7847. buyaccountid:
  7848. description: 买方账号ID[报价币种]
  7849. type: integer
  7850. buyorderid:
  7851. description: 买方委托单号
  7852. type: string
  7853. createtime:
  7854. description: 创建时间
  7855. type: string
  7856. currencysign:
  7857. description: 货币符号
  7858. type: string
  7859. decimalplace:
  7860. description: 报价小数位
  7861. type: integer
  7862. goodscode:
  7863. description: 商品代码(内部)
  7864. type: string
  7865. goodsid:
  7866. description: 商品ID
  7867. type: integer
  7868. goodsname:
  7869. description: 商品名称
  7870. type: string
  7871. marketid:
  7872. description: 市场ID
  7873. type: integer
  7874. offamount:
  7875. description: 优惠金额
  7876. type: number
  7877. originalamount:
  7878. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  7879. type: number
  7880. payamount:
  7881. description: 支付金额 = TradeAmount + TradeCharge
  7882. type: number
  7883. payflag:
  7884. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  7885. type: integer
  7886. paylimitedtime:
  7887. description: 支付期限
  7888. type: string
  7889. paytime:
  7890. description: 付款时间
  7891. type: string
  7892. picurls1:
  7893. description: 预售商品介绍图片[多张用逗号分隔]
  7894. type: string
  7895. picurls2:
  7896. description: 挂牌商品介绍图片[多张用逗号分隔]
  7897. type: string
  7898. sellaccountid:
  7899. description: 卖方账号ID[报价币种]
  7900. type: integer
  7901. sellorderid:
  7902. description: 卖方委托单号
  7903. type: string
  7904. tradeamount:
  7905. description: 成交金额
  7906. type: number
  7907. tradecharge:
  7908. description: 成交手续费(买方)
  7909. type: number
  7910. tradedate:
  7911. description: 交易日(yyyyMMdd)
  7912. type: string
  7913. tradeid:
  7914. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7915. type: string
  7916. trademode:
  7917. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7918. 21:竞拍-大宗式 22:受托竞价
  7919. type: integer
  7920. tradeprice:
  7921. description: 成交价格
  7922. type: number
  7923. tradeqty:
  7924. description: 成交数量
  7925. type: integer
  7926. vendorname1:
  7927. description: 预售商品供应商名称
  7928. type: string
  7929. vendorname2:
  7930. description: 挂牌商品供应商名称
  7931. type: string
  7932. required:
  7933. - goodscode
  7934. - goodsname
  7935. - tradeid
  7936. - trademode
  7937. type: object
  7938. models.HsbyBuyMyTradeDetail:
  7939. properties:
  7940. accountid:
  7941. description: 账户ID[报价币种]
  7942. type: integer
  7943. agreeunit:
  7944. description: 合约单位
  7945. type: number
  7946. amount:
  7947. description: 金额 = 价格 * 数量 * 合约单位
  7948. type: number
  7949. buyorsell:
  7950. description: 买卖 - 0:买 1:卖
  7951. type: integer
  7952. currencysign:
  7953. description: 货币符号
  7954. type: string
  7955. decimalplace:
  7956. description: 报价小数位
  7957. type: integer
  7958. goodscode:
  7959. description: 商品代码(内部)
  7960. type: string
  7961. goodsid:
  7962. description: 商品ID
  7963. type: integer
  7964. goodsname:
  7965. description: 商品名称
  7966. type: string
  7967. marketid:
  7968. description: 市场ID
  7969. type: integer
  7970. orderamount:
  7971. description: 委托金额
  7972. type: number
  7973. orderid:
  7974. description: 单号(成交单号)
  7975. type: string
  7976. picurls1:
  7977. description: 预售商品介绍图片[多张用逗号分隔]
  7978. type: string
  7979. picurls2:
  7980. description: 挂牌商品介绍图片[多张用逗号分隔]
  7981. type: string
  7982. price:
  7983. description: 价格
  7984. type: number
  7985. qty:
  7986. description: 数量
  7987. type: integer
  7988. time:
  7989. description: 时间
  7990. type: string
  7991. trademode:
  7992. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7993. 21:竞拍-大宗式 22:受托竞价
  7994. type: integer
  7995. vendorname1:
  7996. description: 预售商品供应商名称
  7997. type: string
  7998. vendorname2:
  7999. description: 挂牌商品供应商名称
  8000. type: string
  8001. required:
  8002. - accountid
  8003. - buyorsell
  8004. - goodscode
  8005. - goodsid
  8006. - goodsname
  8007. - marketid
  8008. - orderid
  8009. - qty
  8010. - time
  8011. - trademode
  8012. type: object
  8013. models.HsbyGoodsOrderDetail:
  8014. properties:
  8015. buyorsell:
  8016. description: 买卖 - 0:买 1:卖
  8017. type: integer
  8018. currencysign:
  8019. description: 货币符号
  8020. type: string
  8021. customername:
  8022. description: 客户名称(企业名称),已脱敏
  8023. type: string
  8024. enableqty:
  8025. description: 可用数量
  8026. type: integer
  8027. goodunit:
  8028. description: 报价单位
  8029. type: string
  8030. orderid:
  8031. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8032. type: string
  8033. orderprice:
  8034. description: 委托价格
  8035. type: number
  8036. ordertime:
  8037. description: 委托时间
  8038. type: string
  8039. required:
  8040. - buyorsell
  8041. - orderid
  8042. - ordertime
  8043. type: object
  8044. models.HsbyListingGoodsDetail:
  8045. properties:
  8046. agreeunit:
  8047. description: 合约单位
  8048. type: number
  8049. buymaxqty:
  8050. description: 购买上限 [71] - 0为不限
  8051. type: integer
  8052. currency:
  8053. description: 货币
  8054. type: string
  8055. currencysign:
  8056. description: 货币符号
  8057. type: string
  8058. decimalplace:
  8059. description: 报价小数位
  8060. type: integer
  8061. desccityid:
  8062. description: 目的地(市)ID
  8063. type: integer
  8064. descprovinceid:
  8065. description: 目的地(省)ID
  8066. type: integer
  8067. goodscode:
  8068. description: 商品代码(内部)
  8069. type: string
  8070. goodsdesc:
  8071. description: 商品详情
  8072. type: string
  8073. goodsid:
  8074. description: 商品ID(自增ID SEQ_GOODS)
  8075. type: integer
  8076. goodsname:
  8077. description: 商品名称
  8078. type: string
  8079. goodsprice:
  8080. description: 商品价格
  8081. type: number
  8082. hotindex:
  8083. description: 景点热度
  8084. type: integer
  8085. last:
  8086. description: 现价
  8087. type: number
  8088. limitdown:
  8089. description: 跌停价
  8090. type: number
  8091. limitup:
  8092. description: 涨停价
  8093. type: number
  8094. lotsize:
  8095. description: 手数最小变动单位
  8096. type: integer
  8097. marketid:
  8098. description: 所属市场ID
  8099. type: integer
  8100. picurls:
  8101. description: 介绍图片[多张用逗号分隔]
  8102. type: string
  8103. quoteminunit:
  8104. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8105. type: integer
  8106. stepvalue:
  8107. description: 价格最小变动单位
  8108. type: number
  8109. trademode:
  8110. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8111. 21:竞拍-大宗式 22:受托竞价
  8112. type: integer
  8113. vendorattr:
  8114. description: 供应商附件(多张,逗号分隔)
  8115. type: string
  8116. vendorname:
  8117. description: 供应商名称
  8118. type: string
  8119. vendorphone:
  8120. description: 供应商客服电话
  8121. type: string
  8122. videourls:
  8123. description: 介绍视频[多张用逗号分隔]
  8124. type: string
  8125. required:
  8126. - goodscode
  8127. - goodsid
  8128. - goodsname
  8129. - marketid
  8130. - trademode
  8131. type: object
  8132. models.HsbyMarketGoods:
  8133. properties:
  8134. accountid:
  8135. description: 账户ID[报价币种]
  8136. type: integer
  8137. agreeunit:
  8138. description: 合约单位
  8139. type: number
  8140. buyorsell:
  8141. description: 买卖 - 0:买 1:卖
  8142. type: integer
  8143. categoryid:
  8144. description: 类别ID(WRCATEGORY)
  8145. type: integer
  8146. currency:
  8147. description: 货币
  8148. type: string
  8149. currencysign:
  8150. description: 货币符号
  8151. type: string
  8152. customername:
  8153. description: 卖家名称
  8154. type: string
  8155. decimalplace:
  8156. description: 报价小数位
  8157. type: integer
  8158. goodscode:
  8159. description: 商品代码(内部)
  8160. type: string
  8161. goodsid:
  8162. description: 商品ID
  8163. type: integer
  8164. goodsname:
  8165. description: 商品名称
  8166. type: string
  8167. goodsprice:
  8168. description: 商品价格
  8169. type: number
  8170. hascoupon:
  8171. description: 是否可用优惠卷
  8172. type: boolean
  8173. hotindex:
  8174. description: 景点热度
  8175. type: integer
  8176. marketid:
  8177. description: 市场ID
  8178. type: integer
  8179. orderid:
  8180. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8181. type: string
  8182. orderprice:
  8183. description: 委托价格
  8184. type: number
  8185. orderstatus:
  8186. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8187. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8188. 16:成交失败违约(荷兰式竞拍专用)
  8189. type: integer
  8190. picurls:
  8191. description: 介绍图片[多张用逗号分隔]
  8192. type: string
  8193. quoteminunit:
  8194. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8195. type: integer
  8196. sellUserID:
  8197. description: 卖方UserID
  8198. type: integer
  8199. trademode:
  8200. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8201. 21:竞拍-大宗式 22:受托竞价
  8202. type: integer
  8203. videourls:
  8204. description: 介绍视频[多张用逗号分隔]
  8205. type: string
  8206. required:
  8207. - accountid
  8208. - buyorsell
  8209. - goodscode
  8210. - goodsid
  8211. - goodsname
  8212. - marketid
  8213. - orderid
  8214. - trademode
  8215. type: object
  8216. models.HsbyMarketGoodsDetail:
  8217. properties:
  8218. accountid:
  8219. description: 账户ID[报价币种]
  8220. type: integer
  8221. agreeunit:
  8222. description: 合约单位
  8223. type: number
  8224. buymaxqty:
  8225. description: 购买上限 [71] - 0为不限
  8226. type: integer
  8227. buyorsell:
  8228. description: 买卖 - 0:买 1:卖
  8229. type: integer
  8230. cancelqty:
  8231. description: 撤单数量
  8232. type: integer
  8233. categoryid:
  8234. description: 类别ID(WRCATEGORY)
  8235. type: integer
  8236. currency:
  8237. description: 货币
  8238. type: string
  8239. currencysign:
  8240. description: 货币符号
  8241. type: string
  8242. customername:
  8243. description: 卖家名称
  8244. type: string
  8245. decimalplace:
  8246. description: 报价小数位
  8247. type: integer
  8248. goodscode:
  8249. description: 商品代码(内部)
  8250. type: string
  8251. goodsdesc:
  8252. description: 商品详情
  8253. type: string
  8254. goodsid:
  8255. description: 商品ID
  8256. type: integer
  8257. goodsname:
  8258. description: 商品名称
  8259. type: string
  8260. goodsprice:
  8261. description: 商品价格
  8262. type: number
  8263. hotindex:
  8264. description: 景点热度
  8265. type: integer
  8266. lotsize:
  8267. description: 手数最小变动单位
  8268. type: integer
  8269. marketid:
  8270. description: 市场ID
  8271. type: integer
  8272. orderid:
  8273. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8274. type: string
  8275. orderprice:
  8276. description: 委托价格
  8277. type: number
  8278. orderqty:
  8279. description: 委托数量
  8280. type: integer
  8281. orderstatus:
  8282. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8283. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8284. 16:成交失败违约(荷兰式竞拍专用)
  8285. type: integer
  8286. picurls:
  8287. description: 介绍图片[多张用逗号分隔]
  8288. type: string
  8289. quoteminunit:
  8290. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8291. type: integer
  8292. sellUserID:
  8293. description: 卖方UserID
  8294. type: integer
  8295. trademode:
  8296. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8297. 21:竞拍-大宗式 22:受托竞价
  8298. type: integer
  8299. tradeqty:
  8300. description: 成交数量
  8301. type: integer
  8302. vendorattr:
  8303. description: 供应商附件(多张,逗号分隔)
  8304. type: string
  8305. vendorname:
  8306. description: 供应商名称
  8307. type: string
  8308. vendorphone:
  8309. description: 供应商客服电话
  8310. type: string
  8311. videourls:
  8312. description: 介绍视频[多张用逗号分隔]
  8313. type: string
  8314. required:
  8315. - accountid
  8316. - buyorsell
  8317. - goodscode
  8318. - goodsid
  8319. - goodsname
  8320. - marketid
  8321. - orderid
  8322. - orderqty
  8323. - trademode
  8324. type: object
  8325. models.HsbyMarketInfo:
  8326. properties:
  8327. marketid:
  8328. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  8329. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  8330. type: integer
  8331. marketname:
  8332. description: 市场名称
  8333. type: string
  8334. marketstatus:
  8335. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  8336. type: integer
  8337. trademode:
  8338. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8339. 21:竞拍-大宗式 22:受托竞价
  8340. type: integer
  8341. required:
  8342. - marketid
  8343. - marketstatus
  8344. - trademode
  8345. type: object
  8346. models.HsbyMyGoods:
  8347. properties:
  8348. accountid:
  8349. description: 账号Id
  8350. type: integer
  8351. agreeunit:
  8352. description: 合约单位
  8353. type: number
  8354. buyaverageprice:
  8355. description: 持仓均价
  8356. type: number
  8357. buycurholderamount:
  8358. description: 买当前持仓总金额[商品币种]
  8359. type: number
  8360. buycurpositionqty:
  8361. description: 买当前持仓总数量
  8362. type: integer
  8363. buymaxqty:
  8364. description: 购买上限 [71] - 0为不限
  8365. type: integer
  8366. currencysign:
  8367. description: 货币符号
  8368. type: string
  8369. decimalplace:
  8370. description: 报价小数位
  8371. type: integer
  8372. enableqty:
  8373. description: 可用数量
  8374. type: integer
  8375. goodscode:
  8376. description: 商品代码(内部)
  8377. type: string
  8378. goodsid:
  8379. description: 商品Id
  8380. type: integer
  8381. goodsname:
  8382. description: 商品名称
  8383. type: string
  8384. goodsprice:
  8385. description: 商品价格
  8386. type: number
  8387. goodsstatus:
  8388. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8389. type: integer
  8390. last:
  8391. description: 现价(仅使用于挂牌点选)
  8392. type: number
  8393. limitdown:
  8394. description: 跌停价(仅使用于挂牌点选)
  8395. type: number
  8396. limitup:
  8397. description: 涨停价(仅使用于挂牌点选)
  8398. type: number
  8399. lotsize:
  8400. description: 手数最小变动单位
  8401. type: integer
  8402. marketid:
  8403. description: 所属市场ID
  8404. type: integer
  8405. picurls:
  8406. description: 介绍图片[多张用逗号分隔]
  8407. type: string
  8408. quoteminunit:
  8409. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8410. type: integer
  8411. stepvalue:
  8412. description: 价格最小变动单位
  8413. type: number
  8414. trademode:
  8415. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8416. 21:竞拍-大宗式 22:受托竞价
  8417. type: integer
  8418. required:
  8419. - accountid
  8420. - goodscode
  8421. - goodsid
  8422. - goodsname
  8423. - marketid
  8424. - trademode
  8425. type: object
  8426. models.HsbyMyPackage:
  8427. properties:
  8428. accountid:
  8429. description: 账户ID
  8430. type: integer
  8431. address:
  8432. description: 提货人详细地址
  8433. type: string
  8434. agreeunit:
  8435. description: 合约单位
  8436. type: number
  8437. amount:
  8438. description: 提货金额
  8439. type: number
  8440. auditer:
  8441. description: 审核人
  8442. type: integer
  8443. audittime:
  8444. description: 审核时间
  8445. type: string
  8446. averageprice:
  8447. description: 均价
  8448. type: number
  8449. cardnum:
  8450. description: 提货人证件号码
  8451. type: string
  8452. cardtypeid:
  8453. description: 提货人证件类型
  8454. type: integer
  8455. checkremark:
  8456. description: 审核备注
  8457. type: string
  8458. currencysign:
  8459. description: 货币符号
  8460. type: string
  8461. decimalplace:
  8462. description: 报价小数位
  8463. type: integer
  8464. goodscode:
  8465. description: 商品代码(内部)
  8466. type: string
  8467. goodsid:
  8468. description: 商品ID
  8469. type: integer
  8470. goodsname:
  8471. description: 商品名称
  8472. type: string
  8473. handlestatus:
  8474. description: 处理状态
  8475. type: integer
  8476. marketid:
  8477. description: 市场ID
  8478. type: integer
  8479. phonenum:
  8480. description: 提货人联系方式
  8481. type: string
  8482. picurls:
  8483. description: 介绍图片[多张用逗号分隔]
  8484. type: string
  8485. qty:
  8486. description: 提货数量
  8487. type: number
  8488. recivername:
  8489. description: 提货人姓名
  8490. type: string
  8491. reqtime:
  8492. description: 更新时间
  8493. type: string
  8494. takemode:
  8495. description: 提货方式 - 2:自提 3:配送
  8496. type: integer
  8497. takeorderid:
  8498. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  8499. type: string
  8500. takeorderstatus:
  8501. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  8502. type: integer
  8503. takeremark:
  8504. description: 提货备注
  8505. type: string
  8506. tradedate:
  8507. description: 交易日(yyyyMMdd)
  8508. type: string
  8509. trademode:
  8510. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8511. 21:竞拍-大宗式 22:受托竞价
  8512. type: integer
  8513. userid:
  8514. description: 用户ID
  8515. type: integer
  8516. vendorname:
  8517. description: 供应商名称
  8518. type: string
  8519. required:
  8520. - goodscode
  8521. - goodsname
  8522. - takeorderid
  8523. - trademode
  8524. type: object
  8525. models.HsbyPreGoods:
  8526. properties:
  8527. agreeunit:
  8528. description: 合约单位
  8529. type: number
  8530. currency:
  8531. description: 货币
  8532. type: string
  8533. currencysign:
  8534. description: 货币符号
  8535. type: string
  8536. decimalplace:
  8537. description: 报价小数位
  8538. type: integer
  8539. desccityid:
  8540. description: 目的地(市)
  8541. type: integer
  8542. descprovinceid:
  8543. description: 目的地(省)
  8544. type: integer
  8545. enableqty:
  8546. description: 剩余数量
  8547. type: integer
  8548. goodscode:
  8549. description: 商品代码(内部)
  8550. type: string
  8551. goodsid:
  8552. description: 商品ID(自增ID SEQ_GOODS)
  8553. type: integer
  8554. goodsname:
  8555. description: 商品名称
  8556. type: string
  8557. goodsstatus:
  8558. description: 商品状态- 2:未上市 3:上市
  8559. type: integer
  8560. lasttradedate:
  8561. description: 最后交易日期(状态:待退市)
  8562. type: string
  8563. listingdate:
  8564. description: 交易开始日期
  8565. type: string
  8566. marketid:
  8567. description: 所属市场ID
  8568. type: integer
  8569. picurls:
  8570. description: 介绍图片[多张用逗号分隔]
  8571. type: string
  8572. presaledqty:
  8573. description: 已预售量(预售结束时更新)
  8574. type: integer
  8575. presaleqty:
  8576. description: 预售数量
  8577. type: integer
  8578. quoteminunit:
  8579. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8580. type: integer
  8581. refprice:
  8582. description: 参考价格[一口价]
  8583. type: number
  8584. relatedgoodsid:
  8585. description: 关联交易合约ID
  8586. type: integer
  8587. trademode:
  8588. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8589. 21:竞拍-大宗式 22:受托竞价
  8590. type: integer
  8591. videourls:
  8592. description: 介绍视频[多张用逗号分隔]
  8593. type: string
  8594. required:
  8595. - goodscode
  8596. - goodsid
  8597. - goodsname
  8598. - marketid
  8599. - trademode
  8600. type: object
  8601. models.HsbyPreGoodsDetail:
  8602. properties:
  8603. agreeunit:
  8604. description: 合约单位
  8605. type: number
  8606. buymaxqty:
  8607. description: 购买上限 [71] - 0为不限
  8608. type: integer
  8609. currency:
  8610. description: 货币
  8611. type: string
  8612. currencysign:
  8613. description: 货币符号
  8614. type: string
  8615. customername:
  8616. description: 发行单位
  8617. type: string
  8618. decimalplace:
  8619. description: 报价小数位
  8620. type: integer
  8621. desccityid:
  8622. description: 目的地(市)ID
  8623. type: integer
  8624. descprovinceid:
  8625. description: 目的地(省)ID
  8626. type: integer
  8627. enableqty:
  8628. description: 剩余数量
  8629. type: integer
  8630. goodscode:
  8631. description: 商品代码(内部)
  8632. type: string
  8633. goodsdesc:
  8634. description: 商品详情
  8635. type: string
  8636. goodsid:
  8637. description: 商品ID(自增ID SEQ_GOODS)
  8638. type: integer
  8639. goodsname:
  8640. description: 商品名称
  8641. type: string
  8642. goodsstatus:
  8643. description: 商品状态- 2:未上市 3:上市
  8644. type: integer
  8645. goodunit:
  8646. description: 报价单位
  8647. type: string
  8648. lasttradedate:
  8649. description: 最后交易日期(状态:待退市)
  8650. type: string
  8651. listingdate:
  8652. description: 交易开始日期
  8653. type: string
  8654. lotsize:
  8655. description: 手数最小变动单位
  8656. type: integer
  8657. marketid:
  8658. description: 所属市场ID
  8659. type: integer
  8660. picurls:
  8661. description: 介绍图片[多张用逗号分隔]
  8662. type: string
  8663. presaledqty:
  8664. description: 已预售量(预售结束时更新)
  8665. type: integer
  8666. presaleqty:
  8667. description: 预售数量
  8668. type: integer
  8669. quoteminunit:
  8670. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8671. type: integer
  8672. refprice:
  8673. description: 参考价格[一口价]
  8674. type: number
  8675. relatedgoodsid:
  8676. description: 关联交易合约ID
  8677. type: integer
  8678. stepvalue:
  8679. description: 价格最小变动单位
  8680. type: number
  8681. trademode:
  8682. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8683. 21:竞拍-大宗式 22:受托竞价
  8684. type: integer
  8685. vendorattr:
  8686. description: 供应商附件(多张,逗号分隔)
  8687. type: string
  8688. vendorname:
  8689. description: 供应商名称
  8690. type: string
  8691. vendorphone:
  8692. description: 供应商客服电话
  8693. type: string
  8694. videourls:
  8695. description: 介绍视频[多张用逗号分隔]
  8696. type: string
  8697. required:
  8698. - goodscode
  8699. - goodsid
  8700. - goodsname
  8701. - marketid
  8702. - trademode
  8703. type: object
  8704. models.HsbySellCollectionOrder:
  8705. properties:
  8706. agreeunit:
  8707. description: 合约单位
  8708. type: number
  8709. buyaccountid:
  8710. description: 买方账号ID[报价币种]
  8711. type: integer
  8712. buyorderid:
  8713. description: 买方委托单号
  8714. type: string
  8715. createtime:
  8716. description: 创建时间
  8717. type: string
  8718. currencysign:
  8719. description: 货币符号
  8720. type: string
  8721. decimalplace:
  8722. description: 报价小数位
  8723. type: integer
  8724. goodscode:
  8725. description: 商品代码(内部)
  8726. type: string
  8727. goodsid:
  8728. description: 商品ID
  8729. type: integer
  8730. goodsname:
  8731. description: 商品名称
  8732. type: string
  8733. marketid:
  8734. description: 市场ID
  8735. type: integer
  8736. offamount:
  8737. description: 优惠金额
  8738. type: number
  8739. payamount:
  8740. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  8741. type: number
  8742. payflag:
  8743. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  8744. type: integer
  8745. paylimitedtime:
  8746. description: 支付期限
  8747. type: string
  8748. paytime:
  8749. description: 付款时间
  8750. type: string
  8751. picurls:
  8752. description: 商品介绍图片[多张用逗号分隔]
  8753. type: string
  8754. sellaccountid:
  8755. description: 卖方账号ID[报价币种]
  8756. type: integer
  8757. sellorderid:
  8758. description: 卖方委托单号
  8759. type: string
  8760. tradeamount:
  8761. description: 成交金额
  8762. type: number
  8763. tradecharge:
  8764. description: 成交手续费(买方)
  8765. type: number
  8766. tradedate:
  8767. description: 交易日(yyyyMMdd)
  8768. type: string
  8769. tradeid:
  8770. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8771. type: string
  8772. trademode:
  8773. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8774. 21:竞拍-大宗式 22:受托竞价
  8775. type: integer
  8776. tradeprice:
  8777. description: 成交价格
  8778. type: number
  8779. tradeqty:
  8780. description: 成交数量
  8781. type: integer
  8782. required:
  8783. - goodscode
  8784. - goodsname
  8785. - tradeid
  8786. - trademode
  8787. type: object
  8788. models.HsbySellMyDetail:
  8789. properties:
  8790. accountid:
  8791. description: 账户ID[报价币种]
  8792. type: integer
  8793. agreeunit:
  8794. description: 合约单位
  8795. type: number
  8796. buyorsell:
  8797. description: 买卖 - 0:买 1:卖
  8798. type: integer
  8799. currencysign:
  8800. description: 货币符号
  8801. type: string
  8802. decimalplace:
  8803. description: 报价小数位
  8804. type: integer
  8805. goodscode:
  8806. description: 商品代码(内部)
  8807. type: string
  8808. goodsid:
  8809. description: 商品ID
  8810. type: integer
  8811. goodsname:
  8812. description: 商品名称
  8813. type: string
  8814. marketid:
  8815. description: 市场ID
  8816. type: integer
  8817. orderid:
  8818. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  8819. type: string
  8820. ordertype:
  8821. description: 单据类型:0 - 发布中, 1 - 已完成
  8822. type: integer
  8823. picurls:
  8824. description: 介绍图片[多张用逗号分隔]
  8825. type: string
  8826. price:
  8827. description: 价格
  8828. type: number
  8829. qty:
  8830. description: 数量
  8831. type: integer
  8832. time:
  8833. description: 时间
  8834. type: string
  8835. trademode:
  8836. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8837. 21:竞拍-大宗式 22:受托竞价
  8838. type: integer
  8839. vendorname:
  8840. description: 供应商名称
  8841. type: string
  8842. required:
  8843. - accountid
  8844. - buyorsell
  8845. - goodscode
  8846. - goodsid
  8847. - goodsname
  8848. - marketid
  8849. - orderid
  8850. - time
  8851. - trademode
  8852. type: object
  8853. models.HsbyTopGoods:
  8854. properties:
  8855. agreeunit:
  8856. description: 合约单位
  8857. type: number
  8858. currency:
  8859. description: 货币
  8860. type: string
  8861. currencysign:
  8862. description: 货币符号
  8863. type: string
  8864. decimalplace:
  8865. description: 报价小数位
  8866. type: integer
  8867. desccityid:
  8868. description: 目的地(市)
  8869. type: integer
  8870. descprovinceid:
  8871. description: 目的地(省)
  8872. type: integer
  8873. goodscode:
  8874. description: 商品代码(内部)
  8875. type: string
  8876. goodsid:
  8877. description: 商品ID(自增ID SEQ_GOODS)
  8878. type: integer
  8879. goodsname:
  8880. description: 商品名称
  8881. type: string
  8882. hotindex:
  8883. description: 景点热度
  8884. type: integer
  8885. last:
  8886. description: 现价
  8887. type: number
  8888. marketid:
  8889. description: 所属市场ID
  8890. type: integer
  8891. picurls:
  8892. description: 介绍图片[多张用逗号分隔]
  8893. type: string
  8894. quoteminunit:
  8895. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8896. type: integer
  8897. trademode:
  8898. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8899. 21:竞拍-大宗式 22:受托竞价
  8900. type: integer
  8901. videourls:
  8902. description: 介绍视频[多张用逗号分隔]
  8903. type: string
  8904. required:
  8905. - goodscode
  8906. - goodsid
  8907. - goodsname
  8908. - marketid
  8909. - trademode
  8910. type: object
  8911. models.HybsMyBuyOrderDetail:
  8912. properties:
  8913. accountid:
  8914. description: 账户ID[报价币种]
  8915. type: integer
  8916. agreeunit:
  8917. description: 合约单位
  8918. type: number
  8919. buyorsell:
  8920. description: 买卖 - 0:买 1:卖
  8921. type: integer
  8922. cancelqty:
  8923. description: 撤单数量
  8924. type: integer
  8925. currencysign:
  8926. description: 货币符号
  8927. type: string
  8928. decimalplace:
  8929. description: 报价小数位
  8930. type: integer
  8931. goodscode:
  8932. description: 商品代码(内部)
  8933. type: string
  8934. goodsid:
  8935. description: 商品ID
  8936. type: integer
  8937. goodsname:
  8938. description: 商品名称
  8939. type: string
  8940. listingselecttype:
  8941. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  8942. type: integer
  8943. marketid:
  8944. description: 市场ID
  8945. type: integer
  8946. mybuystatus:
  8947. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  8948. type: integer
  8949. orderamount:
  8950. description: 委托金额
  8951. type: number
  8952. orderid:
  8953. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8954. type: string
  8955. orderprice:
  8956. description: 委托价格
  8957. type: number
  8958. orderqty:
  8959. description: 委托数量
  8960. type: integer
  8961. orderstatus:
  8962. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8963. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8964. 16:成交失败违约(荷兰式竞拍专用)
  8965. type: integer
  8966. ordertime:
  8967. description: 委托时间
  8968. type: string
  8969. picurls1:
  8970. description: 预售商品介绍图片[多张用逗号分隔]
  8971. type: string
  8972. picurls2:
  8973. description: 挂牌商品介绍图片[多张用逗号分隔]
  8974. type: string
  8975. trademode:
  8976. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8977. 21:竞拍-大宗式 22:受托竞价
  8978. type: integer
  8979. tradeqty:
  8980. description: 成交数量
  8981. type: integer
  8982. vendorname1:
  8983. description: 预售商品供应商名称
  8984. type: string
  8985. vendorname2:
  8986. description: 挂牌商品供应商名称
  8987. type: string
  8988. required:
  8989. - accountid
  8990. - buyorsell
  8991. - goodscode
  8992. - goodsid
  8993. - goodsname
  8994. - marketid
  8995. - orderid
  8996. - orderqty
  8997. - ordertime
  8998. - trademode
  8999. type: object
  9000. models.Loginaccount:
  9001. properties:
  9002. canoutin:
  9003. description: 是否可出入金 - 0:不可 1:可
  9004. type: integer
  9005. clientroleid:
  9006. description: 终端角色ID
  9007. type: integer
  9008. haslogined:
  9009. description: 是否已登录 - 0:未登录 1:已登录
  9010. type: integer
  9011. hasupdatedpwd:
  9012. description: 是否已更改密码 - 0:未修改 1:已修改
  9013. type: integer
  9014. lastloginip:
  9015. description: 最新登录地址
  9016. type: string
  9017. lastloginmode:
  9018. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  9019. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  9020. type: integer
  9021. lastloginremark:
  9022. description: 最新登录描述
  9023. type: string
  9024. lastlogintime:
  9025. description: 最新登录时间
  9026. type: string
  9027. logincode:
  9028. description: 登录代码
  9029. type: string
  9030. loginfailnum:
  9031. description: 连续登录失败次数(登录成功时清零)
  9032. type: integer
  9033. loginid:
  9034. description: 登陆账号
  9035. type: integer
  9036. loginport:
  9037. description: 最新登录端口
  9038. type: integer
  9039. loginstatus:
  9040. description: 登录账号状态 1:正常 2:冻结 3:无效
  9041. type: integer
  9042. loginusertype:
  9043. description: 登录账号类型 - 1:投资者 2:机构交易员
  9044. type: integer
  9045. modifierid:
  9046. description: 修改人
  9047. type: integer
  9048. modifytime:
  9049. description: 修改时间
  9050. type: string
  9051. pwdwrongcount:
  9052. description: 密码错误次数
  9053. type: integer
  9054. taaccountrighttype:
  9055. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  9056. type: integer
  9057. unfreezetime:
  9058. description: 账户解冻时间
  9059. type: string
  9060. userid:
  9061. description: 用户ID
  9062. type: integer
  9063. required:
  9064. - loginid
  9065. type: object
  9066. models.MainAccountInfo:
  9067. properties:
  9068. accountid:
  9069. description: 账号id
  9070. type: string
  9071. accountname:
  9072. description: 账号名称(taaccount表中的名称)
  9073. type: string
  9074. appid:
  9075. description: AppID
  9076. type: string
  9077. authcode:
  9078. description: 授权码
  9079. type: string
  9080. brokerid:
  9081. description: 经纪商id
  9082. type: string
  9083. fcid:
  9084. description: 期货公司id
  9085. type: integer
  9086. fcname:
  9087. description: 期货公司代码
  9088. type: string
  9089. hedgeaccountcode:
  9090. description: 外部账号代码(主账号登录代码)
  9091. type: string
  9092. hedgeaccountpwd:
  9093. description: 密码
  9094. type: string
  9095. ismain:
  9096. description: 是否主账号
  9097. type: integer
  9098. relateduserid:
  9099. description: 关联用户id
  9100. type: integer
  9101. type: object
  9102. models.Market:
  9103. properties:
  9104. auctionwrtype:
  9105. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  9106. type: integer
  9107. canacceptquote:
  9108. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  9109. type: integer
  9110. cangoodsexercise:
  9111. description: '[期权]是否可现货行权- 0:否 1:是'
  9112. type: integer
  9113. cangoodsexercisetype:
  9114. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  9115. type: integer
  9116. canmanualquotestrike:
  9117. description: 是否可手动报行权价- 0:否 1:是 [期权]
  9118. type: integer
  9119. canmutistage:
  9120. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  9121. type: integer
  9122. canpreexercise:
  9123. description: '[期权]是否可预申报- 0:否 1:是'
  9124. type: integer
  9125. clearinterval:
  9126. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  9127. type: integer
  9128. contracttmp:
  9129. description: 合同模板[荷兰式][竞价式][仓单贸易]
  9130. type: string
  9131. exchareaid:
  9132. description: 所属交易所,可以没有
  9133. type: integer
  9134. goodstype:
  9135. description: 商品类型 - 1:交易商品 2:仓单商品
  9136. type: integer
  9137. hasrebate:
  9138. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  9139. type: integer
  9140. hastradecredit:
  9141. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  9142. type: integer
  9143. haswr:
  9144. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  9145. type: integer
  9146. isdeductmargin:
  9147. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  9148. type: integer
  9149. isrecordsource:
  9150. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  9151. type: integer
  9152. isreleasemargin:
  9153. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  9154. type: integer
  9155. marginformula:
  9156. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  9157. type: integer
  9158. marginformula2:
  9159. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  9160. type: integer
  9161. marketid:
  9162. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  9163. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  9164. type: integer
  9165. marketname:
  9166. description: 市场名称
  9167. type: string
  9168. marketserviceid:
  9169. description: 市场服务ID
  9170. type: integer
  9171. marketstatus:
  9172. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  9173. type: integer
  9174. markettype:
  9175. description: 市场类型- 1:非交易服务 2:交易服务
  9176. type: integer
  9177. matchermode:
  9178. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  9179. type: integer
  9180. openmethod:
  9181. description: 开盘模式 - 0 自动 1手动
  9182. type: integer
  9183. otcuserid:
  9184. description: 场外期权做市商[场外期权]
  9185. type: integer
  9186. outersynctime:
  9187. description: 外部同步时间点(h24:mi:ss)[场外期权]
  9188. type: string
  9189. pendingflag:
  9190. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  9191. type: integer
  9192. pendingtime:
  9193. description: 待开市时间[通道交易-对冲](HH:mm)
  9194. type: string
  9195. performancetempid:
  9196. description: 履约计划模板ID - 作废
  9197. type: integer
  9198. premiumquotemode:
  9199. description: 权利金报价方式 - 1:自动 2:手动
  9200. type: integer
  9201. rebateratio:
  9202. description: 返利比率[竞价式]
  9203. type: number
  9204. reckonorder:
  9205. description: 结算顺序
  9206. type: integer
  9207. reckonpricealgorithm:
  9208. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  9209. 6.卖一价 7.买一卖一均价 8.外部结算价'
  9210. type: integer
  9211. reckonpriceparam:
  9212. description: 结算价参数
  9213. type: integer
  9214. reckontime:
  9215. description: 结算时间[通道交易-对冲](HH:mm)
  9216. type: string
  9217. roleprioritytype:
  9218. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  9219. type: integer
  9220. selllistingauditflag:
  9221. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  9222. type: integer
  9223. trademarkettype:
  9224. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  9225. type: integer
  9226. trademode:
  9227. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9228. 21:竞拍-大宗式 22:受托竞价
  9229. type: integer
  9230. tradeproperty:
  9231. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  9232. 8:场外期权
  9233. type: integer
  9234. tradetype:
  9235. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  9236. type: integer
  9237. required:
  9238. - marketid
  9239. - marketstatus
  9240. - openmethod
  9241. - reckonpricealgorithm
  9242. - trademode
  9243. - tradeproperty
  9244. type: object
  9245. models.Marketrun:
  9246. properties:
  9247. afternexttradedate:
  9248. description: 下下交易日
  9249. type: string
  9250. clearquoteflag:
  9251. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  9252. type: integer
  9253. lastreckondate:
  9254. description: 最新交易日(结算成功)
  9255. type: string
  9256. machinedate:
  9257. description: 机器时间
  9258. type: string
  9259. manualflag:
  9260. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  9261. type: integer
  9262. marketid:
  9263. description: 市场ID
  9264. type: integer
  9265. nexttradedate:
  9266. description: 下一交易日
  9267. type: string
  9268. pretradedate:
  9269. description: 上一交易日
  9270. type: string
  9271. reckonflag:
  9272. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  9273. type: integer
  9274. runstatus:
  9275. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  9276. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  9277. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  9278. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  9279. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  9280. 62.今日免清算
  9281. type: integer
  9282. sectionid:
  9283. description: 时间段号[多时段时用]
  9284. type: integer
  9285. tradedate:
  9286. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  9287. type: string
  9288. tradedate2:
  9289. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  9290. type: string
  9291. updatetime:
  9292. description: 更新时间
  9293. type: string
  9294. required:
  9295. - marketid
  9296. - nexttradedate
  9297. - reckonflag
  9298. - runstatus
  9299. - tradedate
  9300. - tradedate2
  9301. type: object
  9302. models.Messageboard:
  9303. properties:
  9304. contactnum:
  9305. description: 联系电话
  9306. type: string
  9307. createtime:
  9308. description: 创建时间
  9309. type: string
  9310. message:
  9311. description: 留言信息
  9312. type: string
  9313. messageboardid:
  9314. description: 留言簿ID(SEQ_MessageBoard)
  9315. type: integer
  9316. userid:
  9317. description: 用户ID
  9318. type: integer
  9319. required:
  9320. - messageboardid
  9321. type: object
  9322. models.MyCoupon:
  9323. properties:
  9324. accountid:
  9325. description: 资金账户ID
  9326. type: integer
  9327. areauserid:
  9328. description: 所属机构
  9329. type: integer
  9330. conditionvalue:
  9331. description: 条件阈值(可为0)
  9332. type: number
  9333. couponcategroy:
  9334. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  9335. type: integer
  9336. couponname:
  9337. description: 优惠券名称
  9338. type: string
  9339. coupontypeid:
  9340. description: 优惠券类型ID
  9341. type: string
  9342. couponvalue:
  9343. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  9344. type: number
  9345. curfreezeqty:
  9346. description: 期末冻结数量
  9347. type: integer
  9348. curqty:
  9349. description: 期末数量
  9350. type: integer
  9351. isgeneral:
  9352. description: 是否通用券 - 0:否 1:是
  9353. type: integer
  9354. isunusable:
  9355. description: 是否不可用
  9356. type: boolean
  9357. limitedflag:
  9358. description: 是否指定商品 - 0:不限 1:限制
  9359. type: integer
  9360. limitedgoodsids:
  9361. description: 指定商品IDs[逗号分隔,前后加逗号]
  9362. type: string
  9363. orifreezeqty:
  9364. description: 期初冻结数量
  9365. type: integer
  9366. oriqty:
  9367. description: 期初数量
  9368. type: integer
  9369. reasontype:
  9370. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  9371. type: integer
  9372. todaydecrease:
  9373. description: 今日减少
  9374. type: integer
  9375. todayincrease:
  9376. description: 今日增加
  9377. type: integer
  9378. userid:
  9379. description: 用户ID
  9380. type: integer
  9381. userscope:
  9382. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  9383. type: string
  9384. required:
  9385. - accountid
  9386. - coupontypeid
  9387. type: object
  9388. models.MyCouponHold:
  9389. properties:
  9390. accountid:
  9391. description: 资金账户ID
  9392. type: integer
  9393. conditionvalue:
  9394. description: 条件阈值(可为0)
  9395. type: number
  9396. couponcategroy:
  9397. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  9398. type: integer
  9399. couponholdid:
  9400. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  9401. type: string
  9402. couponname:
  9403. description: 优惠券名称
  9404. type: string
  9405. coupontypeid:
  9406. description: 优惠券类型ID - SEQ_COUPONTYPE
  9407. type: string
  9408. couponvalue:
  9409. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  9410. type: number
  9411. createtime:
  9412. description: 创建时间
  9413. type: string
  9414. enddate:
  9415. description: 结束日期
  9416. type: string
  9417. giveapplyid:
  9418. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  9419. type: integer
  9420. holdstatus:
  9421. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  9422. type: integer
  9423. isgeneral:
  9424. description: 是否通用券 - 0:否 1:是
  9425. type: integer
  9426. limitedflag:
  9427. description: 是否指定商品 - 0:不限 1:限制
  9428. type: integer
  9429. limitedgoodsids:
  9430. description: 指定商品IDs[逗号分隔]
  9431. type: string
  9432. qty:
  9433. description: 数量(按1平铺)
  9434. type: integer
  9435. startdate:
  9436. description: 开始日期
  9437. type: string
  9438. userid:
  9439. description: 用户ID
  9440. type: integer
  9441. userscope:
  9442. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  9443. type: string
  9444. required:
  9445. - couponholdid
  9446. type: object
  9447. models.MyUsedCoupon:
  9448. properties:
  9449. accountid:
  9450. description: 资金账户ID(买方)
  9451. type: integer
  9452. conditionvalue:
  9453. description: 条件阈值(可为0)
  9454. type: number
  9455. couponcategroy:
  9456. description: 种类 - 1:现金券 2:折扣券
  9457. type: integer
  9458. couponname:
  9459. description: 优惠券名称
  9460. type: string
  9461. coupontypeid:
  9462. description: 优惠券类型ID(买方)
  9463. type: string
  9464. couponvalue:
  9465. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  9466. type: number
  9467. createtime:
  9468. description: 创建时间
  9469. type: string
  9470. goodsid:
  9471. description: 商品ID
  9472. type: integer
  9473. handlestatus:
  9474. description: 处理状态
  9475. type: integer
  9476. marketid:
  9477. description: 市场ID
  9478. type: integer
  9479. offamount:
  9480. description: 优惠金额
  9481. type: number
  9482. orderid:
  9483. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9484. type: string
  9485. sellaccountid:
  9486. description: 资金账户ID(卖方)
  9487. type: integer
  9488. tradeamount:
  9489. description: 成交金额
  9490. type: number
  9491. tradeid:
  9492. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9493. type: string
  9494. usedqty:
  9495. description: 使用数量
  9496. type: integer
  9497. required:
  9498. - coupontypeid
  9499. - orderid
  9500. type: object
  9501. models.OperationPrimaryMenu:
  9502. properties:
  9503. Children:
  9504. description: 二级功能菜单
  9505. items:
  9506. $ref: '#/definitions/models.OperationSecondaryMenu'
  9507. type: array
  9508. Key:
  9509. description: 菜单KEY
  9510. type: string
  9511. Label:
  9512. description: 菜单标题
  9513. type: string
  9514. type: object
  9515. models.OperationSecondaryMenu:
  9516. properties:
  9517. Key:
  9518. description: 菜单KEY
  9519. type: string
  9520. Label:
  9521. description: 菜单标题
  9522. type: string
  9523. TabList:
  9524. description: 三级功能菜单
  9525. items:
  9526. $ref: '#/definitions/models.OperationTabMenu'
  9527. type: array
  9528. type: object
  9529. models.OperationTabMenu:
  9530. properties:
  9531. Key:
  9532. description: 菜单KEY
  9533. type: string
  9534. Label:
  9535. description: 菜单标题
  9536. type: string
  9537. type: object
  9538. models.PendingAuditBizModel:
  9539. properties:
  9540. accountid:
  9541. description: 现货账户
  9542. type: string
  9543. areaname:
  9544. description: 所属部门
  9545. type: string
  9546. bizid:
  9547. description: 业务ID
  9548. type: string
  9549. bizname:
  9550. description: 业务名称
  9551. type: string
  9552. status:
  9553. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  9554. type: integer
  9555. type:
  9556. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  9557. type: integer
  9558. type: object
  9559. models.QueryErrorInfosRsp:
  9560. properties:
  9561. description:
  9562. description: 异常描述
  9563. type: string
  9564. errorcode:
  9565. description: 异常代码
  9566. type: string
  9567. errorid:
  9568. description: 异常ID
  9569. type: integer
  9570. modulecode:
  9571. description: 所属模块
  9572. type: string
  9573. operatecode:
  9574. description: 所属操作
  9575. type: string
  9576. rownumber:
  9577. description: 行号
  9578. type: string
  9579. required:
  9580. - errorid
  9581. type: object
  9582. models.QueryHedgeOrderDetailRsp:
  9583. properties:
  9584. accountid:
  9585. description: 账户ID
  9586. type: integer
  9587. buyorsell:
  9588. description: 买卖 - 0:买 1:卖
  9589. type: integer
  9590. cancellogincode:
  9591. description: 撤单人
  9592. type: string
  9593. channelbuildtype:
  9594. description: 开平标志 - 0:无 1:建仓 2:平仓
  9595. type: integer
  9596. channelinnerorderstatus:
  9597. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  9598. 9:全部成交
  9599. type: integer
  9600. channeloperatetype:
  9601. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  9602. type: integer
  9603. closetype:
  9604. description: 平仓方式 - 0:无 1:平今 2:平昨
  9605. type: integer
  9606. curexchangerate:
  9607. description: 当前汇率
  9608. type: number
  9609. exchangefullname:
  9610. description: 外部交易所全称
  9611. type: string
  9612. goodscode:
  9613. description: 商品代码(内部)
  9614. type: string
  9615. goodsid:
  9616. description: 商品ID
  9617. type: integer
  9618. goodsname:
  9619. description: 商品名称
  9620. type: string
  9621. marketid:
  9622. description: 市场ID
  9623. type: integer
  9624. openfreezemargin:
  9625. description: 冻结保证金(冻结交易金额)
  9626. type: number
  9627. orderid:
  9628. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9629. type: string
  9630. orderlogincode:
  9631. description: 委托人
  9632. type: string
  9633. orderprice:
  9634. description: 委托价格(账户)
  9635. type: number
  9636. orderqty:
  9637. description: 委托数量
  9638. type: integer
  9639. ordertime:
  9640. description: 委托时间
  9641. type: string
  9642. pricemode:
  9643. description: '取价方式 - 1:市价 2: 限价'
  9644. type: integer
  9645. tradedate:
  9646. description: 交易日(yyyyMMdd)
  9647. type: string
  9648. tradeqty:
  9649. description: 成交数量
  9650. type: integer
  9651. type: object
  9652. models.QueryHedgeTradeDetailRsp:
  9653. properties:
  9654. accountid:
  9655. description: 账号ID
  9656. type: integer
  9657. buyorsell:
  9658. description: 方向 - 0:买 1:卖
  9659. type: integer
  9660. channelbuildtype:
  9661. description: 委托单据类型 0:无 1:建仓 2:平仓
  9662. type: integer
  9663. closecharge:
  9664. description: 平仓手续费(账户)
  9665. type: number
  9666. closecharge2:
  9667. description: 平仓手续费(商品)
  9668. type: number
  9669. closepl:
  9670. description: 平仓盈亏(账户)
  9671. type: number
  9672. closepl2:
  9673. description: 平仓盈亏(商品)
  9674. type: number
  9675. closepl3:
  9676. description: 平仓盈亏(账户)(逐笔)
  9677. type: number
  9678. closepl4:
  9679. description: 平仓盈亏(商品)(逐笔)
  9680. type: number
  9681. closetype:
  9682. description: 平仓方式 - 0:无 1:平今 2:平昨
  9683. type: integer
  9684. curexchangerate:
  9685. description: 当前汇率
  9686. type: number
  9687. exchangefullname:
  9688. description: 外部交易所全称
  9689. type: string
  9690. goodscode:
  9691. description: 商品代码(内部)
  9692. type: string
  9693. goodsid:
  9694. description: 商品ID
  9695. type: integer
  9696. goodsname:
  9697. description: 商品名称
  9698. type: string
  9699. marketid:
  9700. description: 市场ID
  9701. type: integer
  9702. opencharge:
  9703. description: 建仓手续费(账户)
  9704. type: number
  9705. opencharge2:
  9706. description: 建仓手续费(商品)
  9707. type: number
  9708. orderid:
  9709. description: 委托单号
  9710. type: string
  9711. orderlogincode:
  9712. description: 委托人
  9713. type: string
  9714. tradeamount:
  9715. description: 成交金额(账户)
  9716. type: number
  9717. tradedate:
  9718. description: 交易日(yyyyMMdd)
  9719. type: string
  9720. tradeid:
  9721. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9722. type: string
  9723. tradeprice:
  9724. description: 成交价格
  9725. type: number
  9726. tradeqty:
  9727. description: 成交数量
  9728. type: integer
  9729. tradetime:
  9730. description: 成交时间
  9731. type: string
  9732. tradetype:
  9733. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  9734. type: integer
  9735. type: object
  9736. models.QuotePrimaryMenu:
  9737. properties:
  9738. Index:
  9739. description: 序号
  9740. type: integer
  9741. Key:
  9742. description: 键名
  9743. type: string
  9744. Name:
  9745. description: 菜单名称
  9746. type: string
  9747. SubMenus:
  9748. description: 子菜单
  9749. items:
  9750. $ref: '#/definitions/models.QuoteSecondaryMenu'
  9751. type: array
  9752. SubTitleType:
  9753. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  9754. type: integer
  9755. TradeModes:
  9756. description: 包含市场交易类型
  9757. type: string
  9758. type: object
  9759. models.QuoteSecondaryMenu:
  9760. properties:
  9761. ExExchangeCode:
  9762. description: 外部交易所代码
  9763. type: string
  9764. ExExchangeID:
  9765. description: 外部交易所ID
  9766. type: integer
  9767. GoodsGroupIDs:
  9768. description: 商品组ID列表
  9769. items:
  9770. type: integer
  9771. type: array
  9772. Index:
  9773. description: 序号
  9774. type: integer
  9775. MarketID:
  9776. description: 市场ID
  9777. type: integer
  9778. MenuTitle:
  9779. description: 菜单标题(市场名称或外部交易所名称)
  9780. type: string
  9781. TradeMode:
  9782. description: 交易模式
  9783. type: integer
  9784. type: object
  9785. models.RelatedGoodsEx:
  9786. properties:
  9787. goodscode:
  9788. description: 商品代码
  9789. type: string
  9790. goodsid:
  9791. description: 商品id
  9792. type: integer
  9793. goodsname:
  9794. description: 商品名称
  9795. type: string
  9796. type: object
  9797. models.SearchGoods:
  9798. properties:
  9799. goodscode:
  9800. description: 商品代码(内部)
  9801. type: string
  9802. goodsid:
  9803. description: 商品ID(自增ID SEQ_GOODS)
  9804. type: integer
  9805. goodsname:
  9806. description: 商品名称
  9807. type: string
  9808. marketid:
  9809. description: 所属市场ID
  9810. type: integer
  9811. marketname:
  9812. description: 市场名称
  9813. type: string
  9814. trademode:
  9815. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9816. 21:竞拍-大宗式 22:受托竞价
  9817. type: integer
  9818. required:
  9819. - goodscode
  9820. - goodsid
  9821. - goodsname
  9822. - marketid
  9823. - trademode
  9824. type: object
  9825. models.Systemparam:
  9826. properties:
  9827. loginid:
  9828. description: 更新用户账号,登录账号
  9829. type: string
  9830. modifyflag:
  9831. description: 修改标志0 不允许修改 1 允许修改
  9832. type: integer
  9833. paramcode:
  9834. description: 参数代码
  9835. type: string
  9836. paramname:
  9837. description: 参数名
  9838. type: string
  9839. paramtype:
  9840. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  9841. type: integer
  9842. paramvalue:
  9843. description: 参数值
  9844. type: string
  9845. paramvalue2:
  9846. description: 参数值(CLOB)
  9847. type: string
  9848. regexpress:
  9849. description: 正则表达式
  9850. type: string
  9851. remark:
  9852. description: 备注
  9853. type: string
  9854. serverip:
  9855. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  9856. type: string
  9857. showflag:
  9858. description: 是否显示0 不显示 1 显示
  9859. type: integer
  9860. updatetime:
  9861. description: 更新时间
  9862. type: string
  9863. userid:
  9864. description: 更新用户ID
  9865. type: integer
  9866. required:
  9867. - paramcode
  9868. type: object
  9869. models.Szdz3convertconfig:
  9870. properties:
  9871. canin:
  9872. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  9873. type: integer
  9874. canout:
  9875. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  9876. type: integer
  9877. converttype:
  9878. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  9879. 6:交易转花生米(不设置)
  9880. type: integer
  9881. createtime:
  9882. description: 创建时间
  9883. type: string
  9884. creatorid:
  9885. description: 创建人
  9886. type: integer
  9887. daymaxvalue:
  9888. description: 当日最大转入限制
  9889. type: number
  9890. freezedays:
  9891. description: 冻结天数 [5:花生米转交易]
  9892. type: integer
  9893. innergoodsid:
  9894. description: 内部商品ID[交易]
  9895. type: integer
  9896. inratio:
  9897. description: 目标值
  9898. type: integer
  9899. modifierid:
  9900. description: 修改人
  9901. type: integer
  9902. modifytime:
  9903. description: 修改时间
  9904. type: string
  9905. outergoodscode:
  9906. description: 外部商品代码[JD\PD]
  9907. type: string
  9908. outratio:
  9909. description: 源值
  9910. type: integer
  9911. pddecimalplace:
  9912. description: PD小数位
  9913. type: integer
  9914. timemaxvalue:
  9915. description: 单次最大转入限制
  9916. type: number
  9917. timeminvalue:
  9918. description: 单次最小转入限制
  9919. type: number
  9920. required:
  9921. - converttype
  9922. - innergoodsid
  9923. - outergoodscode
  9924. type: object
  9925. models.Szdz3searchwhitelist:
  9926. properties:
  9927. createtime:
  9928. description: 创建时间
  9929. type: string
  9930. creatorid:
  9931. description: 创建人
  9932. type: integer
  9933. modifierid:
  9934. description: 修改人
  9935. type: integer
  9936. modifytime:
  9937. description: 修改时间
  9938. type: string
  9939. userid:
  9940. description: 用户ID
  9941. type: integer
  9942. required:
  9943. - userid
  9944. type: object
  9945. models.Taaccount:
  9946. properties:
  9947. accountflag:
  9948. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  9949. type: integer
  9950. accountid:
  9951. description: 资金账户ID
  9952. type: integer
  9953. accountname:
  9954. description: 账户名称
  9955. type: string
  9956. balance:
  9957. description: 期初余额
  9958. type: number
  9959. capitalbalance:
  9960. description: 本金余额[外部子账户实际出入金余额]
  9961. type: number
  9962. changeflag:
  9963. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  9964. type: integer
  9965. changetime:
  9966. description: 账户状态变更时间
  9967. type: string
  9968. closepl:
  9969. description: 今日平仓盈亏
  9970. type: number
  9971. creditdecrease:
  9972. description: 今日授信减少
  9973. type: number
  9974. creditincrease:
  9975. description: 今日授信增加
  9976. type: number
  9977. currencyid:
  9978. description: 货币ID
  9979. type: integer
  9980. currentbalance:
  9981. description: 期末余额
  9982. type: number
  9983. freezecharge:
  9984. description: 手续费冻结
  9985. type: number
  9986. freezemargin:
  9987. description: 冻结保证金
  9988. type: number
  9989. fromaccountid:
  9990. description: 所属上级账户
  9991. type: integer
  9992. inamount:
  9993. description: 今日入金金额(包括三方入金)
  9994. type: number
  9995. ismain:
  9996. description: 是否母账号 0:不是母账户 1:是母账户
  9997. type: integer
  9998. ismarketaccount:
  9999. description: 是否机构接单账号 0:不是 1:是
  10000. type: integer
  10001. isreckonaccount:
  10002. description: 是否机构分润账号 0:不是 1:是
  10003. type: integer
  10004. mortgagecredit:
  10005. description: 授信金额
  10006. type: number
  10007. orifreezecharge:
  10008. description: 期初手续费冻结
  10009. type: number
  10010. orifreezemargin:
  10011. description: 期初冻结保证金
  10012. type: number
  10013. orimortgagecredit:
  10014. description: 期初授信金额
  10015. type: number
  10016. oriothercredit:
  10017. description: 期初其它授信金额
  10018. type: number
  10019. oriotherfreezemargin:
  10020. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  10021. type: number
  10022. orioutamountfreeze:
  10023. description: 期初出金冻结
  10024. type: number
  10025. oriusedmargin:
  10026. description: 期初占用保证金
  10027. type: number
  10028. othercredit:
  10029. description: 其它授信金额
  10030. type: number
  10031. othercreditdecrease:
  10032. description: 今日其它授信减少
  10033. type: number
  10034. othercreditincrease:
  10035. description: 今日其它授信增加
  10036. type: number
  10037. otherfreezemargin:
  10038. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  10039. type: number
  10040. otherincome:
  10041. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  10042. type: number
  10043. otherpay:
  10044. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  10045. type: number
  10046. outamount:
  10047. description: 今日出金金额(包括三方出金)
  10048. type: number
  10049. outamountfreeze:
  10050. description: 出金冻结
  10051. type: number
  10052. outthreshold:
  10053. description: 出金阈值
  10054. type: number
  10055. parentaccountid:
  10056. description: 所属根账号
  10057. type: integer
  10058. paycharge:
  10059. description: 今日手续费支出
  10060. type: number
  10061. relatedaccountstatus:
  10062. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  10063. type: integer
  10064. relateduserid:
  10065. description: 关联用户
  10066. type: integer
  10067. serivcegroup:
  10068. description: 服务分组
  10069. type: integer
  10070. signstatus:
  10071. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  10072. type: integer
  10073. sublevelpath:
  10074. description: 账号层级路径(逗号分隔,首尾加逗号)
  10075. type: string
  10076. taaccounttype:
  10077. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  10078. type: integer
  10079. thirdinamount:
  10080. description: 今日三方入金
  10081. type: number
  10082. thirdoutamount:
  10083. description: 今日三方出金
  10084. type: number
  10085. tradestatus:
  10086. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  10087. type: integer
  10088. tradestatuschangetime:
  10089. description: 激活时间
  10090. type: string
  10091. transferamount:
  10092. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  10093. type: number
  10094. usedmargin:
  10095. description: 占用保证金
  10096. type: number
  10097. userid:
  10098. description: 用户ID
  10099. type: integer
  10100. required:
  10101. - accountid
  10102. - userid
  10103. type: object
  10104. models.Tablecolumnconfig:
  10105. properties:
  10106. aligntype:
  10107. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  10108. type: integer
  10109. autoid:
  10110. description: AutoID
  10111. type: integer
  10112. columnfield:
  10113. description: 列字段
  10114. type: string
  10115. columntitle:
  10116. description: 列Title
  10117. type: string
  10118. columnwidth:
  10119. description: 列宽
  10120. type: string
  10121. formatterstring:
  10122. description: 格式化字符
  10123. type: string
  10124. formattertype:
  10125. description: 格式化类型
  10126. type: string
  10127. groupname:
  10128. description: 表头分组名称
  10129. type: string
  10130. isshow:
  10131. description: 是否显示 - 0:不显示 1:显示
  10132. type: integer
  10133. needsummary:
  10134. description: 是否需要汇总 - 0:不需要 1:需要
  10135. type: integer
  10136. orderindex:
  10137. description: 顺序
  10138. type: integer
  10139. remark:
  10140. description: 备注
  10141. type: string
  10142. summarytype:
  10143. description: 汇总类型 - 1:加总 2:最后一个
  10144. type: integer
  10145. tablekey:
  10146. description: 列表Key
  10147. type: string
  10148. required:
  10149. - autoid
  10150. type: object
  10151. models.Useraccount:
  10152. properties:
  10153. accountname:
  10154. description: 账户名称(机构名称)
  10155. type: string
  10156. accountstatus:
  10157. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  10158. type: integer
  10159. auditremark:
  10160. description: 审核备注
  10161. type: string
  10162. audittime:
  10163. description: 审核时间
  10164. type: string
  10165. audituserid:
  10166. description: 审核人
  10167. type: integer
  10168. broker:
  10169. description: 所属经纪人ID
  10170. type: integer
  10171. canceltime:
  10172. description: 销户时间
  10173. type: string
  10174. canceluserid:
  10175. description: 销户人
  10176. type: integer
  10177. createtime:
  10178. description: 创建时间
  10179. type: string
  10180. creatorid:
  10181. description: 创建人
  10182. type: integer
  10183. hasauth:
  10184. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  10185. type: integer
  10186. isanonymous:
  10187. description: 是否匿名下单 - 0:否 1:是
  10188. type: integer
  10189. maxinvestornum:
  10190. description: 最大用户数(经纪会员下投资者个数)
  10191. type: integer
  10192. memberuserid:
  10193. description: 所属会员ID
  10194. type: integer
  10195. modifierid:
  10196. description: 修改人
  10197. type: integer
  10198. modifyremark:
  10199. description: 变更备注
  10200. type: string
  10201. modifystatus:
  10202. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  10203. type: integer
  10204. modifytime:
  10205. description: 修改时间
  10206. type: string
  10207. parentuserid:
  10208. description: 所属机构ID
  10209. type: integer
  10210. reckonaccountid:
  10211. description: 默认结算资金账号ID(机构分润使用) 作废
  10212. type: integer
  10213. refercount:
  10214. description: 推荐总人数
  10215. type: integer
  10216. refereeuserid:
  10217. description: 推荐人ID
  10218. type: integer
  10219. refernum:
  10220. description: 推荐码
  10221. type: string
  10222. subarealevelpath:
  10223. description: 子机构层级路径(逗号分隔,首尾加逗号)
  10224. type: string
  10225. userid:
  10226. description: 用户ID
  10227. type: integer
  10228. usertype:
  10229. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  10230. type: integer
  10231. required:
  10232. - userid
  10233. type: object
  10234. models.Userfavoritegoods:
  10235. properties:
  10236. goodsid:
  10237. description: 商品ID
  10238. type: integer
  10239. required:
  10240. - goodsid
  10241. type: object
  10242. models.Userinfo:
  10243. properties:
  10244. address:
  10245. description: 地址
  10246. type: string
  10247. attachment1:
  10248. description: 附件1
  10249. type: string
  10250. attachment2:
  10251. description: 附件2
  10252. type: string
  10253. bankaccount:
  10254. description: 银行帐号 (加密存储)
  10255. type: string
  10256. bankaccountname:
  10257. description: 收款人名称
  10258. type: string
  10259. bankcardfrontphotourl:
  10260. description: 银行卡正面照地址
  10261. type: string
  10262. bankid:
  10263. description: 银行编码
  10264. type: string
  10265. bankname:
  10266. description: 银行名称
  10267. type: string
  10268. biznature:
  10269. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  10270. type: integer
  10271. bizscope:
  10272. description: 企业经营范围(企业)
  10273. type: string
  10274. cardbackphotourl:
  10275. description: 证件背面图片地址
  10276. type: string
  10277. cardfrontphotourl:
  10278. description: 证件正面图片地址
  10279. type: string
  10280. cardnum:
  10281. description: 证件号码(加密存储)
  10282. type: string
  10283. cardtypeid:
  10284. description: 证件类型ID
  10285. type: integer
  10286. cityid:
  10287. description: 市
  10288. type: integer
  10289. company:
  10290. description: 公司(个人)
  10291. type: string
  10292. contactname:
  10293. description: 联系人
  10294. type: string
  10295. countryid:
  10296. description: 国家
  10297. type: integer
  10298. createtime:
  10299. description: 创建时间
  10300. type: string
  10301. creatorid:
  10302. description: 创建人
  10303. type: integer
  10304. customername:
  10305. description: 客户名称(企业名称)
  10306. type: string
  10307. districtid:
  10308. description: 地区
  10309. type: integer
  10310. email:
  10311. description: 邮件(加密存储)
  10312. type: string
  10313. fax:
  10314. description: 传真(加密存储)
  10315. type: string
  10316. halfbodyphotourl:
  10317. description: 半身照地址
  10318. type: string
  10319. hasencrypt:
  10320. description: 数据是否已加密 - 0:未加密 1:已加密
  10321. type: integer
  10322. headurl:
  10323. description: 头像地址
  10324. type: string
  10325. legalcardbackphotourl:
  10326. description: 法人身份证背面照地址
  10327. type: string
  10328. legalcardfrontphotourl:
  10329. description: 法人身份证正面照地址
  10330. type: string
  10331. legalpersonname:
  10332. description: 法人姓名(企业)
  10333. type: string
  10334. mobile:
  10335. description: 手机号码(加密存储)
  10336. type: string
  10337. mobile2:
  10338. description: 手机号码[明文-尚志]
  10339. type: string
  10340. modifierid:
  10341. description: 修改人
  10342. type: integer
  10343. modifiertime:
  10344. description: 修改时间
  10345. type: string
  10346. needinvoice:
  10347. description: 是否需要发票 - 0:不需要 1:需要
  10348. type: integer
  10349. nickname:
  10350. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  10351. type: string
  10352. openmode:
  10353. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  10354. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  10355. type: integer
  10356. otherurl:
  10357. description: 其它图片地址[使用分号分隔]
  10358. type: string
  10359. postalcode:
  10360. description: 邮政编码
  10361. type: string
  10362. provinceid:
  10363. description: 省
  10364. type: integer
  10365. qq:
  10366. description: QQ(加密存储
  10367. type: string
  10368. remark:
  10369. description: 备注
  10370. type: string
  10371. sex:
  10372. description: '用户性别 0: 女 1: 男'
  10373. type: integer
  10374. signpdfurl:
  10375. description: 签约pdf文件
  10376. type: string
  10377. telphone:
  10378. description: 联系电话(加密存储)
  10379. type: string
  10380. userid:
  10381. description: 用户ID
  10382. type: integer
  10383. userinfotype:
  10384. description: 用户信息类型 - 1:个人 2:企业
  10385. type: integer
  10386. userstatus:
  10387. description: 用户状态 - 1:正常 2:注销
  10388. type: integer
  10389. usertype:
  10390. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  10391. type: integer
  10392. wechat:
  10393. description: 微信(加密存储)
  10394. type: string
  10395. wskhinfo:
  10396. description: 开户申请信息(JSON)
  10397. type: string
  10398. required:
  10399. - userid
  10400. type: object
  10401. models.WRSConverTDetail:
  10402. properties:
  10403. convertratio:
  10404. description: 套保系数
  10405. type: number
  10406. deliverygoodscode:
  10407. description: 现货商品代码
  10408. type: string
  10409. deliverygoodsid:
  10410. description: 现货品种ID
  10411. type: integer
  10412. deliverygoodsname:
  10413. description: 现货商品名称
  10414. type: string
  10415. enumdicname:
  10416. description: 单位名称
  10417. type: string
  10418. goodsunitid:
  10419. description: 套保品种单位id
  10420. type: integer
  10421. middlegoodscode:
  10422. description: 套保品种代码
  10423. type: string
  10424. middlegoodsid:
  10425. description: 套保品种ID
  10426. type: integer
  10427. middlegoodsname:
  10428. description: 套保品种名称
  10429. type: string
  10430. modifytime:
  10431. description: 修改时间
  10432. type: string
  10433. wrstandardid:
  10434. description: 品类ID
  10435. type: integer
  10436. type: object
  10437. models.WRStandardInfo:
  10438. properties:
  10439. areauserid:
  10440. description: 所属机构
  10441. type: integer
  10442. convertfactor:
  10443. description: 标仓系数
  10444. type: number
  10445. createtime:
  10446. description: 创建时间
  10447. type: string
  10448. creatorid:
  10449. description: 创建人
  10450. type: integer
  10451. deliverygoodsid:
  10452. description: 品种ID
  10453. type: integer
  10454. deliverygoodsname:
  10455. description: 交割商品名称
  10456. type: string
  10457. factoryitemjson:
  10458. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  10459. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  10460. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  10461. 逗号分隔'
  10462. type: string
  10463. isvalid:
  10464. description: 是否有效 - 0:无效 1:有效
  10465. type: integer
  10466. minivalue:
  10467. description: 最小变动值
  10468. type: integer
  10469. minivaluedp:
  10470. description: 最小变动值小数位
  10471. type: integer
  10472. realminivalue:
  10473. description: 实际最小变动值
  10474. type: integer
  10475. realminivaluedp:
  10476. description: 实际最小变动值小数位
  10477. type: integer
  10478. remark:
  10479. description: 备注
  10480. type: string
  10481. unitid:
  10482. description: 单位ID
  10483. type: integer
  10484. unitname:
  10485. description: 单位
  10486. type: string
  10487. updatetime:
  10488. description: 更新时间
  10489. type: string
  10490. updatorid:
  10491. description: 更新人
  10492. type: integer
  10493. wrsstatus:
  10494. description: 状态 - 作废 - 0:未激活 1:正常
  10495. type: integer
  10496. wrstandardcode:
  10497. description: 现货品类代码
  10498. type: string
  10499. wrstandardid:
  10500. description: 现货品类ID(SEQ_WRSTANDARD)
  10501. type: integer
  10502. wrstandardname:
  10503. description: 现货品类名称
  10504. type: string
  10505. required:
  10506. - wrstandardid
  10507. type: object
  10508. models.Warehouseinfo:
  10509. properties:
  10510. address:
  10511. description: 详细地址
  10512. type: string
  10513. areauserid:
  10514. description: 所属机构
  10515. type: integer
  10516. autoid:
  10517. description: 自增ID
  10518. type: integer
  10519. cityid:
  10520. description: 市
  10521. type: integer
  10522. contactname:
  10523. description: 联系人
  10524. type: string
  10525. contactnum:
  10526. description: 联系电话
  10527. type: string
  10528. countryid:
  10529. description: 国家
  10530. type: integer
  10531. createtime:
  10532. description: 创建时间
  10533. type: string
  10534. districtid:
  10535. description: 区
  10536. type: integer
  10537. hasvideo:
  10538. description: 是否有视频 - 0:无 1:有
  10539. type: integer
  10540. provinceid:
  10541. description: 省
  10542. type: integer
  10543. remark:
  10544. description: 审核备注
  10545. type: string
  10546. videourl:
  10547. description: 视频地址
  10548. type: string
  10549. warehousecode:
  10550. description: 仓库代码
  10551. type: string
  10552. warehousename:
  10553. description: 仓库名称
  10554. type: string
  10555. warehousestatus:
  10556. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  10557. type: integer
  10558. warehousetype:
  10559. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  10560. type: integer
  10561. required:
  10562. - autoid
  10563. - warehousecode
  10564. type: object
  10565. order.QueryHisTradeDetailRsp:
  10566. properties:
  10567. accountid:
  10568. description: 账户ID[报价币种]
  10569. type: integer
  10570. buildtype:
  10571. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  10572. type: integer
  10573. buyorsell:
  10574. description: 方向 - 0:买 1:卖
  10575. type: integer
  10576. charge:
  10577. description: 手续费
  10578. type: number
  10579. closecharge:
  10580. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  10581. type: number
  10582. closeexchagechargevalue:
  10583. description: 平仓交易所手续费设置值
  10584. type: number
  10585. closefeealgorithm:
  10586. description: 平仓手续费收取方式 1:比率 2:固定
  10587. type: integer
  10588. closememberchargevalue:
  10589. description: 平仓会员手续费设置值
  10590. type: number
  10591. closepl:
  10592. description: 平仓盈亏
  10593. type: number
  10594. closepl2:
  10595. description: 平仓盈亏[逐笔]
  10596. type: number
  10597. closeqty:
  10598. description: 平仓数量(先建后平操作 需要记录)
  10599. type: integer
  10600. creditamount:
  10601. description: 授信金额
  10602. type: number
  10603. gcaccountid:
  10604. description: 账户ID[合约币种]
  10605. type: integer
  10606. goodscode:
  10607. description: 商品代码
  10608. type: string
  10609. goodsid:
  10610. description: 商品ID
  10611. type: integer
  10612. goodsname:
  10613. description: 商品名称
  10614. type: string
  10615. histradedate:
  10616. description: 历史交易日
  10617. type: string
  10618. intclosepl:
  10619. description: 整型盈亏(用于交易结算试算平衡-收益权)
  10620. type: integer
  10621. isconfirmexercise:
  10622. description: 是否确认行权- 0:否 1:是
  10623. type: integer
  10624. ismain:
  10625. description: 是否主单 - 0:不是 1:是
  10626. type: integer
  10627. ispreexercise:
  10628. description: 是否预申报- 0:否 1:是
  10629. type: integer
  10630. isreckoned:
  10631. description: 是否结算 - 0:未结算 1:已结算
  10632. type: integer
  10633. isvaliddata:
  10634. description: 是否有效 - 0:无效 1:有效
  10635. type: integer
  10636. listingselecttype:
  10637. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  10638. type: integer
  10639. marketid:
  10640. description: 市场ID
  10641. type: integer
  10642. marketname:
  10643. description: 市场名称
  10644. type: string
  10645. matchaccountid:
  10646. description: 对手账号id
  10647. type: integer
  10648. memberuserid:
  10649. description: 会员id 个人投资者 需要填写
  10650. type: integer
  10651. opencharge:
  10652. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  10653. type: number
  10654. openexchagechargevalue:
  10655. description: 建仓交易所手续费设置值
  10656. type: number
  10657. openfeealgorithm:
  10658. description: 建仓手续费收取方式 1:比率 2:固定
  10659. type: integer
  10660. openmemberchargevalue:
  10661. description: 建仓会员手续费设置值
  10662. type: number
  10663. openqty:
  10664. description: 开仓数量(先建后平操作 需要记录)
  10665. type: integer
  10666. optiontype:
  10667. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  10668. type: integer
  10669. orderid:
  10670. description: 委托单号
  10671. type: string
  10672. performanceplanid:
  10673. description: 履约计划ID[期权]
  10674. type: integer
  10675. performancestatus:
  10676. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  10677. type: integer
  10678. preexerciseprice:
  10679. description: 预申报价格
  10680. type: number
  10681. premium:
  10682. description: 权利金 - [持仓单的权利金]
  10683. type: number
  10684. relatedouttradeid:
  10685. description: 关联外部成交单ID
  10686. type: integer
  10687. status:
  10688. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  10689. type: integer
  10690. tradeamount:
  10691. description: 成交金额[账户币种,用于所有权]
  10692. type: number
  10693. tradedate:
  10694. description: 交易日(yyyyMMdd)
  10695. type: string
  10696. tradeid:
  10697. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10698. type: string
  10699. trademode:
  10700. description: 交易模式
  10701. type: integer
  10702. tradeprice:
  10703. description: 成交价格
  10704. type: number
  10705. tradeproperty:
  10706. description: 交易属性
  10707. type: integer
  10708. tradeqty:
  10709. description: 成交数量
  10710. type: integer
  10711. tradetime:
  10712. description: 成交时间
  10713. type: string
  10714. tradetype:
  10715. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  10716. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  10717. type: integer
  10718. required:
  10719. - accountid
  10720. - buyorsell
  10721. - goodsid
  10722. - histradedate
  10723. - marketid
  10724. - memberuserid
  10725. - orderid
  10726. - tradeamount
  10727. - tradedate
  10728. - tradeid
  10729. - tradeprice
  10730. - tradeqty
  10731. - tradetime
  10732. type: object
  10733. order.QueryHisTradeOrderDetailRsp:
  10734. properties:
  10735. accountid:
  10736. description: 账户ID[报价币种]
  10737. type: integer
  10738. buildtype:
  10739. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  10740. type: integer
  10741. buyorsell:
  10742. description: 买卖 - 0:买 1:卖
  10743. type: integer
  10744. cancelorderid:
  10745. description: 撤单单号(撤单时填写)
  10746. type: string
  10747. cancelqty:
  10748. description: 撤单数量
  10749. type: integer
  10750. clientordertime:
  10751. description: 客户端委托时间
  10752. type: string
  10753. clientticket:
  10754. description: 客户端流水号
  10755. type: string
  10756. clienttype:
  10757. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  10758. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  10759. type: integer
  10760. closeexchagechargevalue:
  10761. description: 平仓交易所手续费设置值
  10762. type: number
  10763. closefeealgorithm:
  10764. description: 平仓手续费收取方式 1:比率 2:固定
  10765. type: integer
  10766. closefreezecharge:
  10767. description: 平仓冻结手续费(先建后平操作,需要记录)
  10768. type: number
  10769. closememberchargevalue:
  10770. description: 平仓会员手续费设置值
  10771. type: number
  10772. closeqty:
  10773. description: 平仓数量(先建后平操作 需要记录)
  10774. type: integer
  10775. closetradeqty:
  10776. description: 平仓成交数量(先建后平操作,需要记录)
  10777. type: integer
  10778. closeunfreezecharge:
  10779. description: 平仓解冻手续费(先建后平操作,需要记录)
  10780. type: number
  10781. delistingtype:
  10782. description: 摘牌类型 - 1:价格最优 2:点选成交
  10783. type: integer
  10784. freezecharge:
  10785. description: 冻结手续费
  10786. type: number
  10787. freezemargin:
  10788. description: 冻结保证金(冻结交易金额)
  10789. type: number
  10790. gcaccountid:
  10791. description: 账户ID[合约币种]
  10792. type: integer
  10793. goodscode:
  10794. description: 商品代码
  10795. type: string
  10796. goodsid:
  10797. description: 商品ID
  10798. type: integer
  10799. goodsname:
  10800. description: 商品名称
  10801. type: string
  10802. histradedate:
  10803. description: 历史交易日
  10804. type: string
  10805. isconfirmexercise:
  10806. description: 是否确认行权- 0:否 1:是
  10807. type: integer
  10808. ispreexercise:
  10809. description: 是否预申报- 0:否 1:是
  10810. type: integer
  10811. isvaliddata:
  10812. description: 是否有效 - 0:无效 1:有效
  10813. type: integer
  10814. listingselecttype:
  10815. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  10816. type: integer
  10817. marginalgorithm:
  10818. description: 保证金收取方式 1:比率 2:固定
  10819. type: integer
  10820. marginvalue:
  10821. description: 即市保证金设置值
  10822. type: number
  10823. marketid:
  10824. description: 市场ID
  10825. type: integer
  10826. marketmaxsub:
  10827. description: 市价最大偏移范围
  10828. type: number
  10829. marketname:
  10830. description: 市场名称
  10831. type: string
  10832. memberuserid:
  10833. description: 所属会员UserID
  10834. type: integer
  10835. openexchagechargevalue:
  10836. description: 建仓交易所手续费设置值
  10837. type: number
  10838. openfeealgorithm:
  10839. description: 建仓手续费收取方式 1:比率 2:固定
  10840. type: integer
  10841. openfreezecharge:
  10842. description: 开仓冻结手续费(先建后平操作,需要记录)
  10843. type: number
  10844. openmemberchargevalue:
  10845. description: 建仓会员手续费设置值
  10846. type: number
  10847. openqty:
  10848. description: 开仓数量(先建后平操作,需要记录)
  10849. type: integer
  10850. opentradeqty:
  10851. description: 开仓成交数量(先建后平操作,需要记录)
  10852. type: integer
  10853. openunfreezecharge:
  10854. description: 开仓解冻手续费(先建后平操作,需要记录)
  10855. type: number
  10856. operatetype:
  10857. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  10858. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  10859. 15:管理端协议转让
  10860. type: integer
  10861. operatorid:
  10862. description: 登录账号(LoginID)
  10863. type: integer
  10864. optiontype:
  10865. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  10866. type: integer
  10867. orderid:
  10868. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10869. type: string
  10870. orderprice:
  10871. description: 委托价格
  10872. type: number
  10873. orderqty:
  10874. description: 委托数量
  10875. type: integer
  10876. ordersrc:
  10877. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  10878. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  10879. type: integer
  10880. orderstatus:
  10881. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  10882. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  10883. 16:成交失败违约(荷兰式竞拍专用)
  10884. type: integer
  10885. ordertime:
  10886. description: 委托时间
  10887. type: string
  10888. preexerciseprice:
  10889. description: 预申报价格
  10890. type: number
  10891. premium:
  10892. description: 权利金
  10893. type: number
  10894. preorderid:
  10895. description: 关联预埋单号(止盈止损单时填写)
  10896. type: string
  10897. pricemode:
  10898. description: '取价方式 - 1:市价 2: 限价'
  10899. type: integer
  10900. quoteid:
  10901. description: 报价单ID
  10902. type: integer
  10903. relatedid:
  10904. description: 关联单号(交割单)
  10905. type: string
  10906. retcode:
  10907. description: 错误代码
  10908. type: integer
  10909. sessionid:
  10910. description: 会话ID
  10911. type: integer
  10912. tradedate:
  10913. description: 交易日(yyyyMMdd)
  10914. type: string
  10915. trademode:
  10916. description: 交易模式
  10917. type: integer
  10918. tradeproperty:
  10919. description: 交易属性
  10920. type: integer
  10921. tradeqty:
  10922. description: 成交数量
  10923. type: integer
  10924. unfreezecharge:
  10925. description: 解冻手续费
  10926. type: number
  10927. unfreezemargin:
  10928. description: 解冻保证金
  10929. type: number
  10930. updatetime:
  10931. description: 更新时间
  10932. type: string
  10933. uuid:
  10934. description: 发起端唯一id
  10935. type: string
  10936. validtime:
  10937. description: 有效期限
  10938. type: string
  10939. validtype:
  10940. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  10941. type: integer
  10942. volumetype:
  10943. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  10944. type: integer
  10945. required:
  10946. - accountid
  10947. - buildtype
  10948. - buyorsell
  10949. - goodsid
  10950. - histradedate
  10951. - marketid
  10952. - memberuserid
  10953. - operatetype
  10954. - orderid
  10955. - orderqty
  10956. - ordertime
  10957. - pricemode
  10958. - tradedate
  10959. - validtype
  10960. type: object
  10961. order.QueryTradeDetailRsp:
  10962. properties:
  10963. accountid:
  10964. description: 账户ID[报价币种]
  10965. type: integer
  10966. buildtype:
  10967. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  10968. type: integer
  10969. buyorsell:
  10970. description: 方向 - 0:买 1:卖
  10971. type: integer
  10972. charge:
  10973. description: 手续费
  10974. type: number
  10975. closecharge:
  10976. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  10977. type: number
  10978. closeexchagechargevalue:
  10979. description: 平仓交易所手续费设置值
  10980. type: number
  10981. closefeealgorithm:
  10982. description: 平仓手续费收取方式 1:比率 2:固定
  10983. type: integer
  10984. closememberchargevalue:
  10985. description: 平仓会员手续费设置值
  10986. type: number
  10987. closepl:
  10988. description: 平仓盈亏
  10989. type: number
  10990. closepl2:
  10991. description: 平仓盈亏[逐笔]
  10992. type: number
  10993. closeqty:
  10994. description: 平仓数量(先建后平操作 需要记录)
  10995. type: integer
  10996. creditamount:
  10997. description: 授信金额
  10998. type: number
  10999. gcaccountid:
  11000. description: 账户ID[合约币种]
  11001. type: integer
  11002. goodscode:
  11003. description: 商品代码
  11004. type: string
  11005. goodsid:
  11006. description: 商品ID
  11007. type: integer
  11008. goodsname:
  11009. description: 商品名称
  11010. type: string
  11011. intclosepl:
  11012. description: 整型盈亏(用于交易结算试算平衡-收益权)
  11013. type: integer
  11014. isconfirmexercise:
  11015. description: 是否确认行权- 0:否 1:是
  11016. type: integer
  11017. ismain:
  11018. description: 是否主单 - 0:不是 1:是
  11019. type: integer
  11020. ispreexercise:
  11021. description: 是否预申报- 0:否 1:是
  11022. type: integer
  11023. isreckoned:
  11024. description: 是否结算 - 0:未结算 1:已结算
  11025. type: integer
  11026. listingselecttype:
  11027. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  11028. type: integer
  11029. marketid:
  11030. description: 市场ID
  11031. type: integer
  11032. marketname:
  11033. description: 市场名称
  11034. type: string
  11035. matchaccountid:
  11036. description: 对手账号id
  11037. type: integer
  11038. memberuserid:
  11039. description: 会员id 个人投资者 需要填写
  11040. type: integer
  11041. opencharge:
  11042. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  11043. type: number
  11044. openexchagechargevalue:
  11045. description: 建仓交易所手续费设置值
  11046. type: number
  11047. openfeealgorithm:
  11048. description: 建仓手续费收取方式 1:比率 2:固定
  11049. type: integer
  11050. openmemberchargevalue:
  11051. description: 建仓会员手续费设置值
  11052. type: number
  11053. openqty:
  11054. description: 开仓数量(先建后平操作 需要记录)
  11055. type: integer
  11056. optiontype:
  11057. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  11058. type: integer
  11059. orderid:
  11060. description: 委托单号
  11061. type: string
  11062. performanceplanid:
  11063. description: 履约计划ID[期权]
  11064. type: integer
  11065. performancestatus:
  11066. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  11067. type: integer
  11068. preexerciseprice:
  11069. description: 预申报价格
  11070. type: number
  11071. premium:
  11072. description: 权利金 - [持仓单的权利金]
  11073. type: number
  11074. relatedouttradeid:
  11075. description: 关联外部成交单ID
  11076. type: integer
  11077. status:
  11078. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  11079. type: integer
  11080. tradeamount:
  11081. description: 成交金额[账户币种,用于所有权]
  11082. type: number
  11083. tradedate:
  11084. description: 交易日(yyyyMMdd)
  11085. type: string
  11086. tradeid:
  11087. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11088. type: string
  11089. trademode:
  11090. description: 交易模式
  11091. type: integer
  11092. tradeprice:
  11093. description: 成交价格
  11094. type: number
  11095. tradeproperty:
  11096. description: 交易属性
  11097. type: integer
  11098. tradeqty:
  11099. description: 成交数量
  11100. type: integer
  11101. tradetime:
  11102. description: 成交时间
  11103. type: string
  11104. tradetype:
  11105. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  11106. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  11107. type: integer
  11108. required:
  11109. - accountid
  11110. - buyorsell
  11111. - goodsid
  11112. - marketid
  11113. - memberuserid
  11114. - orderid
  11115. - tradeamount
  11116. - tradedate
  11117. - tradeid
  11118. - tradeprice
  11119. - tradeqty
  11120. - tradetime
  11121. type: object
  11122. order.QueryTradeOrderDetailRsp:
  11123. properties:
  11124. accountid:
  11125. description: 账户ID[报价币种]
  11126. type: integer
  11127. buildtype:
  11128. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  11129. type: integer
  11130. buyorsell:
  11131. description: 买卖 - 0:买 1:卖
  11132. type: integer
  11133. cancelorderid:
  11134. description: 撤单单号(撤单时填写)
  11135. type: string
  11136. cancelqty:
  11137. description: 撤单数量
  11138. type: integer
  11139. clienttype:
  11140. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  11141. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  11142. type: integer
  11143. closefreezecharge:
  11144. description: 平仓冻结手续费(先建后平操作,需要记录)
  11145. type: number
  11146. closeqty:
  11147. description: 平仓数量(先建后平操作 需要记录)
  11148. type: integer
  11149. closetradeqty:
  11150. description: 平仓成交数量(先建后平操作,需要记录)
  11151. type: integer
  11152. closeunfreezecharge:
  11153. description: 平仓解冻手续费(先建后平操作,需要记录)
  11154. type: number
  11155. delistingtype:
  11156. description: 摘牌类型 - 1:价格最优 2:点选成交
  11157. type: integer
  11158. enableqty:
  11159. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  11160. type: integer
  11161. freezecharge:
  11162. description: 冻结手续费
  11163. type: number
  11164. freezemargin:
  11165. description: 冻结保证金(冻结交易金额)
  11166. type: number
  11167. goodscode:
  11168. description: 商品代码
  11169. type: string
  11170. goodsid:
  11171. description: 商品ID
  11172. type: integer
  11173. goodsname:
  11174. description: 商品名称
  11175. type: string
  11176. listingselecttype:
  11177. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  11178. type: integer
  11179. marketid:
  11180. description: 市场ID
  11181. type: integer
  11182. marketname:
  11183. description: 市场名称
  11184. type: string
  11185. openfreezecharge:
  11186. description: 开仓冻结手续费(先建后平操作,需要记录)
  11187. type: number
  11188. openqty:
  11189. description: 开仓数量(先建后平操作,需要记录)
  11190. type: integer
  11191. opentradeqty:
  11192. description: 开仓成交数量(先建后平操作,需要记录)
  11193. type: integer
  11194. openunfreezecharge:
  11195. description: 开仓解冻手续费(先建后平操作,需要记录)
  11196. type: number
  11197. operatetype:
  11198. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  11199. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  11200. 15:管理端协议转让
  11201. type: integer
  11202. operatorid:
  11203. description: 登录账号(LoginID)
  11204. type: integer
  11205. orderid:
  11206. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11207. type: string
  11208. orderprice:
  11209. description: 委托价格
  11210. type: number
  11211. orderqty:
  11212. description: 委托数量
  11213. type: integer
  11214. ordersrc:
  11215. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  11216. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  11217. type: integer
  11218. orderstatus:
  11219. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  11220. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  11221. 16:成交失败违约(荷兰式竞拍专用)
  11222. type: integer
  11223. ordertime:
  11224. description: 委托时间
  11225. type: string
  11226. preorderid:
  11227. description: 关联预埋单号(止盈止损单时填写)
  11228. type: string
  11229. pricemode:
  11230. description: '取价方式 - 1:市价 2: 限价'
  11231. type: integer
  11232. relatedid:
  11233. description: 关联单号(交割单)
  11234. type: string
  11235. tradedate:
  11236. description: 交易日(yyyyMMdd)
  11237. type: string
  11238. trademode:
  11239. description: 交易模式
  11240. type: integer
  11241. tradeqty:
  11242. description: 成交数量
  11243. type: integer
  11244. unfreezecharge:
  11245. description: 解冻手续费
  11246. type: number
  11247. unfreezemargin:
  11248. description: 解冻保证金
  11249. type: number
  11250. validtime:
  11251. description: 有效期限
  11252. type: string
  11253. validtype:
  11254. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  11255. type: integer
  11256. volumetype:
  11257. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  11258. type: integer
  11259. required:
  11260. - accountid
  11261. - buildtype
  11262. - buyorsell
  11263. - goodsid
  11264. - marketid
  11265. - operatetype
  11266. - orderqty
  11267. - ordertime
  11268. - pricemode
  11269. - tradedate
  11270. - validtype
  11271. type: object
  11272. order.QueryTradePositionRsp:
  11273. properties:
  11274. accountid:
  11275. description: 资金账户
  11276. type: integer
  11277. agreeunit:
  11278. description: 合约单位
  11279. type: number
  11280. averageprice:
  11281. description: 持仓均价
  11282. type: number
  11283. buyorsell:
  11284. description: 方向 - 0:买 1:卖
  11285. type: integer
  11286. closetotalqty:
  11287. description: 平仓总数量
  11288. type: integer
  11289. curholderamount:
  11290. description: 当前持仓总金额[商品币种]
  11291. type: number
  11292. curpositionqty:
  11293. description: 当前持仓总数量
  11294. type: integer
  11295. currencyid:
  11296. description: 报价货币ID
  11297. type: integer
  11298. curtdposition:
  11299. description: 期末今日头寸
  11300. type: integer
  11301. decimalplace:
  11302. description: 报价小数位
  11303. type: integer
  11304. enableqty:
  11305. description: 可用量
  11306. type: integer
  11307. fretdposition:
  11308. description: 冻结今日头寸
  11309. type: integer
  11310. frozenqty:
  11311. description: 持仓冻结数量
  11312. type: integer
  11313. goodscode:
  11314. description: 商品代码
  11315. type: string
  11316. goodsid:
  11317. description: 商品Id
  11318. type: integer
  11319. goodsname:
  11320. description: 商品名称
  11321. type: string
  11322. goodunit:
  11323. description: 报价单位
  11324. type: string
  11325. goodunitid:
  11326. description: 报价单位ID
  11327. type: integer
  11328. holderamount:
  11329. description: 期初持仓总金额[商品币种]
  11330. type: number
  11331. marketid:
  11332. description: 所属市场ID
  11333. type: integer
  11334. openreqqty:
  11335. description: 开仓申请数量(用于比较最大持仓数量)
  11336. type: integer
  11337. opentotalqty:
  11338. description: 开仓总数量
  11339. type: integer
  11340. otherfrozenqty:
  11341. description: 持仓其他冻结数量(交割冻结)
  11342. type: integer
  11343. positionqty:
  11344. description: 期初持仓数量
  11345. type: integer
  11346. tnqty:
  11347. description: T+N冻结总量
  11348. type: integer
  11349. tnusedqty:
  11350. description: T+N使用量(可以使用T+N的冻结数量)
  11351. type: integer
  11352. trademode:
  11353. description: 交易模式
  11354. type: integer
  11355. usedmargin:
  11356. description: 占用保证金[商品币种]
  11357. type: number
  11358. required:
  11359. - goodsid
  11360. type: object
  11361. quote.HistoryData:
  11362. properties:
  11363. c:
  11364. description: 收盘价
  11365. type: number
  11366. f:
  11367. description: 是否补充数据
  11368. type: boolean
  11369. h:
  11370. description: 最高价
  11371. type: number
  11372. hv:
  11373. description: 持仓量
  11374. type: integer
  11375. l:
  11376. description: 最低价
  11377. type: number
  11378. o:
  11379. description: 开盘价
  11380. type: number
  11381. s:
  11382. description: 结算价,日线周期(包括)以上才有
  11383. type: number
  11384. ts:
  11385. description: 时间
  11386. type: string
  11387. tt:
  11388. description: 总金额
  11389. type: number
  11390. tv:
  11391. description: 总量
  11392. type: integer
  11393. type: object
  11394. quote.HistoryTikData:
  11395. properties:
  11396. AV:
  11397. description: 卖量
  11398. type: integer
  11399. Ask:
  11400. description: 卖价
  11401. type: number
  11402. BV:
  11403. description: 买量
  11404. type: integer
  11405. Bid:
  11406. description: 买价
  11407. type: number
  11408. HI:
  11409. description: 单笔持仓
  11410. type: integer
  11411. HV:
  11412. description: 持仓量
  11413. type: integer
  11414. PE:
  11415. description: 现价
  11416. type: number
  11417. TDR:
  11418. description: 交易方向,0:买 1:卖
  11419. type: integer
  11420. TK:
  11421. description: 交易类型
  11422. type: integer
  11423. TS:
  11424. description: 行情时间文本
  11425. type: string
  11426. TT:
  11427. description: 现金额
  11428. type: number
  11429. Vol:
  11430. description: 现量
  11431. type: integer
  11432. type: object
  11433. quote.QueryQuoteDayRsp:
  11434. properties:
  11435. ask:
  11436. description: 卖1
  11437. type: number
  11438. ask2:
  11439. description: 卖2
  11440. type: number
  11441. ask3:
  11442. description: 卖3
  11443. type: number
  11444. ask4:
  11445. description: 卖4
  11446. type: number
  11447. ask5:
  11448. description: 卖5
  11449. type: number
  11450. ask6:
  11451. description: 卖6
  11452. type: number
  11453. ask7:
  11454. description: 卖7
  11455. type: number
  11456. ask8:
  11457. description: 卖8
  11458. type: number
  11459. ask9:
  11460. description: 卖9
  11461. type: number
  11462. ask10:
  11463. description: 卖10
  11464. type: number
  11465. askorderid:
  11466. description: 卖单号1
  11467. type: integer
  11468. askorderid2:
  11469. description: 卖单号2
  11470. type: integer
  11471. askorderid3:
  11472. description: 卖单号3
  11473. type: integer
  11474. askorderid4:
  11475. description: 卖单号4
  11476. type: integer
  11477. askorderid5:
  11478. description: 卖单号5
  11479. type: integer
  11480. askordervolume:
  11481. description: 卖单量1
  11482. type: integer
  11483. askordervolume2:
  11484. description: 卖单量2
  11485. type: integer
  11486. askordervolume3:
  11487. description: 卖单量3
  11488. type: integer
  11489. askordervolume4:
  11490. description: 卖单量4
  11491. type: integer
  11492. askordervolume5:
  11493. description: 卖单量5
  11494. type: integer
  11495. askordervolume6:
  11496. description: 卖单量6
  11497. type: integer
  11498. askordervolume7:
  11499. description: 卖单量7
  11500. type: integer
  11501. askordervolume8:
  11502. description: 卖单量8
  11503. type: integer
  11504. askordervolume9:
  11505. description: 卖单量9
  11506. type: integer
  11507. askordervolume10:
  11508. description: 卖单量10
  11509. type: integer
  11510. askqueueinfo:
  11511. description: 大利市卖港股用
  11512. type: string
  11513. askvolume:
  11514. description: 卖量1
  11515. type: integer
  11516. askvolume2:
  11517. description: 卖量2
  11518. type: integer
  11519. askvolume3:
  11520. description: 卖量3
  11521. type: integer
  11522. askvolume4:
  11523. description: 卖量4
  11524. type: integer
  11525. askvolume5:
  11526. description: 卖量5
  11527. type: integer
  11528. askvolume6:
  11529. description: 卖量6
  11530. type: integer
  11531. askvolume7:
  11532. description: 卖量7
  11533. type: integer
  11534. askvolume8:
  11535. description: 卖量8
  11536. type: integer
  11537. askvolume9:
  11538. description: 卖量9
  11539. type: integer
  11540. askvolume10:
  11541. description: 卖量10
  11542. type: integer
  11543. averageprice:
  11544. description: 均价
  11545. type: number
  11546. bid:
  11547. description: 买1
  11548. type: number
  11549. bid2:
  11550. description: 买2
  11551. type: number
  11552. bid3:
  11553. description: 买3
  11554. type: number
  11555. bid4:
  11556. description: 买4
  11557. type: number
  11558. bid5:
  11559. description: 买5
  11560. type: number
  11561. bid6:
  11562. description: 买6
  11563. type: number
  11564. bid7:
  11565. description: 买7
  11566. type: number
  11567. bid8:
  11568. description: 买8
  11569. type: number
  11570. bid9:
  11571. description: 买9
  11572. type: number
  11573. bid10:
  11574. description: 买10
  11575. type: number
  11576. bidorderid:
  11577. description: 买单号1
  11578. type: integer
  11579. bidorderid2:
  11580. description: 买单号2
  11581. type: integer
  11582. bidorderid3:
  11583. description: 买单号3
  11584. type: integer
  11585. bidorderid4:
  11586. description: 买单号4
  11587. type: integer
  11588. bidorderid5:
  11589. description: 买单号5
  11590. type: integer
  11591. bidordervolume:
  11592. description: 买单量1
  11593. type: integer
  11594. bidordervolume2:
  11595. description: 买单量2
  11596. type: integer
  11597. bidordervolume3:
  11598. description: 买单量3
  11599. type: integer
  11600. bidordervolume4:
  11601. description: 买单量4
  11602. type: integer
  11603. bidordervolume5:
  11604. description: 买单量5
  11605. type: integer
  11606. bidordervolume6:
  11607. description: 买单量6
  11608. type: integer
  11609. bidordervolume7:
  11610. description: 买单量7
  11611. type: integer
  11612. bidordervolume8:
  11613. description: 买单量8
  11614. type: integer
  11615. bidordervolume9:
  11616. description: 买单量9
  11617. type: integer
  11618. bidordervolume10:
  11619. description: 买单量10
  11620. type: integer
  11621. bidqueueinfo:
  11622. description: 大利市买港股用
  11623. type: string
  11624. bidvolume:
  11625. description: 买量1
  11626. type: integer
  11627. bidvolume2:
  11628. description: 买量2
  11629. type: integer
  11630. bidvolume3:
  11631. description: 买量3
  11632. type: integer
  11633. bidvolume4:
  11634. description: 买量4
  11635. type: integer
  11636. bidvolume5:
  11637. description: 买量5
  11638. type: integer
  11639. bidvolume6:
  11640. description: 买量6
  11641. type: integer
  11642. bidvolume7:
  11643. description: 买量7
  11644. type: integer
  11645. bidvolume8:
  11646. description: 买量8
  11647. type: integer
  11648. bidvolume9:
  11649. description: 买量9
  11650. type: integer
  11651. bidvolume10:
  11652. description: 买量10
  11653. type: integer
  11654. calloptionpremiums:
  11655. description: 认购期权1
  11656. type: integer
  11657. calloptionpremiums2:
  11658. description: 认购期权2
  11659. type: integer
  11660. calloptionpremiums3:
  11661. description: 认购期权3
  11662. type: integer
  11663. calloptionpremiums4:
  11664. description: 认购期权4
  11665. type: integer
  11666. calloptionpremiums5:
  11667. description: 认购期权5
  11668. type: integer
  11669. cleartime:
  11670. description: 清盘时间
  11671. type: integer
  11672. exchangecode:
  11673. description: 交易所代码
  11674. type: integer
  11675. exchangedate:
  11676. description: 交易日
  11677. type: integer
  11678. goodscode:
  11679. description: 商品代码
  11680. type: string
  11681. grepmarketprice:
  11682. description: 暗盘价 港股专用
  11683. type: number
  11684. highest:
  11685. description: 最高价
  11686. type: number
  11687. holdincrement:
  11688. description: 单笔持仓
  11689. type: integer
  11690. holdvolume:
  11691. description: 持仓
  11692. type: integer
  11693. iep:
  11694. description: 平衡价 港股专用
  11695. type: number
  11696. iev:
  11697. description: 平衡量 港股专用
  11698. type: number
  11699. inventory:
  11700. description: 库存
  11701. type: integer
  11702. iscleared:
  11703. description: 是否清盘标志
  11704. type: integer
  11705. issettled:
  11706. description: 是否结算标志
  11707. type: integer
  11708. last:
  11709. description: 最新价
  11710. type: number
  11711. lastlot:
  11712. description: 最新成交手数
  11713. type: integer
  11714. lasttime:
  11715. description: 行情时间(只有现价变化行情时间才变化)
  11716. type: string
  11717. lastturnover:
  11718. description: 最新成交金额
  11719. type: number
  11720. lastvolume:
  11721. description: 最新成交量
  11722. type: integer
  11723. limitdown:
  11724. description: 跌停价
  11725. type: number
  11726. limitup:
  11727. description: 涨停价
  11728. type: number
  11729. lowest:
  11730. description: 最低价
  11731. type: number
  11732. nontotalholdervolume:
  11733. description: 非交易持仓量
  11734. type: integer
  11735. nontotallot:
  11736. description: 非交易总手数
  11737. type: integer
  11738. nontotalturnover:
  11739. description: 非交易总金额
  11740. type: integer
  11741. nontotalvolume:
  11742. description: 非交易总量
  11743. type: integer
  11744. opened:
  11745. description: 开盘价
  11746. type: number
  11747. opentime:
  11748. description: 开盘时间
  11749. type: string
  11750. orderid:
  11751. description: 序号
  11752. type: integer
  11753. preclose:
  11754. description: 昨收
  11755. type: number
  11756. preholdvolume:
  11757. description: 昨持仓
  11758. type: integer
  11759. presettle:
  11760. description: 昨结价
  11761. type: number
  11762. publictradetype:
  11763. description: 公共交易标志类型 港股专用
  11764. type: string
  11765. putoptionpremiums:
  11766. description: 认沽期权1
  11767. type: integer
  11768. putoptionpremiums2:
  11769. description: 认沽期权2
  11770. type: integer
  11771. putoptionpremiums3:
  11772. description: 认沽期权3
  11773. type: integer
  11774. putoptionpremiums4:
  11775. description: 认沽期权4
  11776. type: integer
  11777. putoptionpremiums5:
  11778. description: 认沽期权5
  11779. type: integer
  11780. settle:
  11781. description: 结算价
  11782. type: number
  11783. strikeprice:
  11784. description: 发行价
  11785. type: number
  11786. totalaskvolume:
  11787. description: 内盘
  11788. type: integer
  11789. totalbidvolume:
  11790. description: 外盘
  11791. type: integer
  11792. totallot:
  11793. description: 总手数
  11794. type: integer
  11795. totalturnover:
  11796. description: 总金额
  11797. type: number
  11798. totalvolume:
  11799. description: 总量
  11800. type: integer
  11801. utclasttime:
  11802. description: utc的行情时间
  11803. type: string
  11804. type: object
  11805. quote.QueryTSDataRsp:
  11806. properties:
  11807. Count:
  11808. description: 交易日应有数据个数
  11809. type: integer
  11810. decimalPlace:
  11811. description: 小数位
  11812. type: integer
  11813. endTime:
  11814. description: 结束时间
  11815. type: string
  11816. goodsCode:
  11817. description: 商品代码
  11818. type: string
  11819. historyDatas:
  11820. description: 历史数据
  11821. items:
  11822. $ref: '#/definitions/quote.HistoryData'
  11823. type: array
  11824. outGoodsCode:
  11825. description: 外部商品代码
  11826. type: string
  11827. preSettle:
  11828. description: 昨结价
  11829. type: number
  11830. runSteps:
  11831. description: 交易日开休市计划
  11832. items:
  11833. $ref: '#/definitions/quote.TSDataRunStep'
  11834. type: array
  11835. startTime:
  11836. description: 开始时间
  11837. type: string
  11838. tradeDate:
  11839. description: 交易日
  11840. type: string
  11841. type: object
  11842. quote.TSDataRunStep:
  11843. properties:
  11844. end:
  11845. description: 真实结束时间
  11846. type: string
  11847. endflag:
  11848. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  11849. type: integer
  11850. endtime:
  11851. description: 结束时间(HH:mm)
  11852. type: string
  11853. endweekday:
  11854. description: 结束周几
  11855. type: integer
  11856. groupid:
  11857. description: 分组ID
  11858. type: integer
  11859. runstep:
  11860. description: 运行阶段 - 2:连续交易
  11861. type: integer
  11862. sectionid:
  11863. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  11864. 结束时间=结算时间 结束周几=结算周几
  11865. type: integer
  11866. start:
  11867. description: 真实开始时间
  11868. type: string
  11869. startflag:
  11870. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  11871. type: integer
  11872. starttime:
  11873. description: 起始时间(HH:mm)
  11874. type: string
  11875. startweekday:
  11876. description: 起始周几
  11877. type: integer
  11878. tradeweekday:
  11879. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  11880. type: integer
  11881. type: object
  11882. szdz.QueryConvertLogRsp:
  11883. properties:
  11884. accountid:
  11885. description: 资金账户ID
  11886. type: integer
  11887. clientticket:
  11888. description: 客户端流水号
  11889. type: string
  11890. converttype:
  11891. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  11892. type: integer
  11893. createtime:
  11894. description: 记账时间
  11895. type: string
  11896. daymaxvalue:
  11897. description: 配置当日最大转入限制
  11898. type: number
  11899. daymaxvalue2:
  11900. description: 配置当日最大转入限制(转入)
  11901. type: number
  11902. goodscode:
  11903. description: 商品代码
  11904. type: string
  11905. goodsname:
  11906. description: 商品名称
  11907. type: string
  11908. handlestatus:
  11909. description: 处理状态
  11910. type: integer
  11911. innergoodsid:
  11912. description: 内部商品ID
  11913. type: integer
  11914. inratio:
  11915. description: 配置转入比值
  11916. type: integer
  11917. invalue:
  11918. description: 目标值
  11919. type: number
  11920. logid:
  11921. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11922. type: integer
  11923. mobile:
  11924. description: 手机号码(加密存储)
  11925. type: string
  11926. outergoodscode:
  11927. description: 外部商品代码[JD\PD]
  11928. type: string
  11929. outratio:
  11930. description: 配置转出比值
  11931. type: integer
  11932. outvalue:
  11933. description: 源值
  11934. type: number
  11935. pddecimalplace:
  11936. description: PD小数位
  11937. type: integer
  11938. qty:
  11939. description: 数量
  11940. type: string
  11941. remark:
  11942. description: 备注
  11943. type: string
  11944. sessionid:
  11945. description: 会话ID
  11946. type: integer
  11947. timemaxvalue:
  11948. description: 配置单次最大转入限制
  11949. type: number
  11950. timemaxvalue2:
  11951. description: 配置单次最大转入限制(转入)
  11952. type: number
  11953. timeminvalue:
  11954. description: 配置单次最小数量限制
  11955. type: number
  11956. timeminvalue2:
  11957. description: 配置单次最小数量限制(转入)
  11958. type: number
  11959. tradedate:
  11960. description: 交易日(yyyyMMdd)
  11961. type: string
  11962. userid:
  11963. description: 用户ID
  11964. type: integer
  11965. required:
  11966. - logid
  11967. type: object
  11968. szdz.QueryGoodsPickupRsp:
  11969. properties:
  11970. accountid:
  11971. description: 账户ID
  11972. type: integer
  11973. address:
  11974. description: 提货人详细地址
  11975. type: string
  11976. auditer:
  11977. description: 审核人
  11978. type: integer
  11979. audittime:
  11980. description: 审核时间
  11981. type: string
  11982. cardnum:
  11983. description: 提货人证件号码
  11984. type: string
  11985. cardtypeid:
  11986. description: 提货人证件类型
  11987. type: integer
  11988. checkremark:
  11989. description: 审核备注
  11990. type: string
  11991. goodscode:
  11992. description: 商品代码
  11993. type: string
  11994. goodsid:
  11995. description: 商品ID
  11996. type: integer
  11997. goodsname:
  11998. description: 商品名称
  11999. type: string
  12000. handlestatus:
  12001. description: 处理状态
  12002. type: integer
  12003. marketid:
  12004. description: 市场ID
  12005. type: integer
  12006. phonenum:
  12007. description: 提货人联系方式
  12008. type: string
  12009. qty:
  12010. description: 提货数量
  12011. type: number
  12012. recivername:
  12013. description: 提货人姓名
  12014. type: string
  12015. reqtime:
  12016. description: 更新时间
  12017. type: string
  12018. takemode:
  12019. description: 提货方式 - 2:自提 3:配送
  12020. type: integer
  12021. takeorderid:
  12022. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  12023. type: string
  12024. takeorderstatus:
  12025. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  12026. type: integer
  12027. takeremark:
  12028. description: 提货备注
  12029. type: string
  12030. tradedate:
  12031. description: 交易日(yyyyMMdd)
  12032. type: string
  12033. userid:
  12034. description: 用户ID
  12035. type: integer
  12036. required:
  12037. - takeorderid
  12038. type: object
  12039. szdz.QueryRecieptOrderRsp:
  12040. properties:
  12041. accountName:
  12042. description: 所属账号名称(已脱敏)
  12043. type: string
  12044. accountid:
  12045. description: 资金账号
  12046. type: integer
  12047. buyorsell:
  12048. description: 方向 - 0:买 1:卖
  12049. type: integer
  12050. enableqty:
  12051. description: 可摘数量
  12052. type: integer
  12053. goodscode:
  12054. description: 商品代码
  12055. type: string
  12056. goodsid:
  12057. description: 商品ID
  12058. type: integer
  12059. goodsname:
  12060. description: 商品名称
  12061. type: string
  12062. orderid:
  12063. description: 委托单号
  12064. type: string
  12065. orderprice:
  12066. description: 委托价格
  12067. type: number
  12068. ordertime:
  12069. description: 委托时间
  12070. type: string
  12071. tradedate:
  12072. description: 交易日(yyyyMMdd)
  12073. type: string
  12074. required:
  12075. - ordertime
  12076. type: object
  12077. szdz.QuerySZDZTradePositionRsp:
  12078. properties:
  12079. accountid:
  12080. description: 账号Id
  12081. type: integer
  12082. agreeunit:
  12083. description: 合约单位
  12084. type: number
  12085. averageprice:
  12086. description: 持仓均价
  12087. type: number
  12088. buyorsell:
  12089. description: 方向 - 0:买 1:卖
  12090. type: integer
  12091. closetotalqty:
  12092. description: 平仓总数量
  12093. type: integer
  12094. curholderamount:
  12095. description: 当前持仓总金额
  12096. type: number
  12097. curpositionqty:
  12098. description: 当前持仓总数量
  12099. type: integer
  12100. currencyid:
  12101. description: 报价货币ID
  12102. type: integer
  12103. curtdposition:
  12104. description: 期末今日头寸
  12105. type: integer
  12106. decimalplace:
  12107. description: 报价小数位
  12108. type: integer
  12109. enableqty:
  12110. description: 可用量
  12111. type: integer
  12112. fretdposition:
  12113. description: 冻结今日头寸
  12114. type: integer
  12115. frozenqty:
  12116. description: 持仓冻结数量
  12117. type: integer
  12118. goodscode:
  12119. description: 商品代码(内部)
  12120. type: string
  12121. goodsid:
  12122. description: 商品Id
  12123. type: integer
  12124. goodsname:
  12125. description: 商品名称
  12126. type: string
  12127. goodunit:
  12128. description: 报价单位
  12129. type: string
  12130. goodunitid:
  12131. description: 报价单位ID
  12132. type: integer
  12133. holderamount:
  12134. description: 期初持仓总金额
  12135. type: number
  12136. marketid:
  12137. description: 市场ID
  12138. type: integer
  12139. openreqqty:
  12140. description: 开仓申请数量
  12141. type: integer
  12142. opentotalqty:
  12143. description: 开仓总数量
  12144. type: integer
  12145. otherfrozenqty:
  12146. description: 持仓其他冻结数量(交割冻结)
  12147. type: integer
  12148. positionqty:
  12149. description: 期初持仓数量
  12150. type: integer
  12151. szdz3freezqty:
  12152. description: 尚志大宗转换冻结总数量
  12153. type: integer
  12154. tnqty:
  12155. description: T+N冻结总量
  12156. type: integer
  12157. tnusedqty:
  12158. description: T+N使用量
  12159. type: integer
  12160. trademode:
  12161. description: 交易模式
  12162. type: integer
  12163. usedmargin:
  12164. description: 占用保证金
  12165. type: number
  12166. type: object
  12167. taaccount.QueryAmountLogRsp:
  12168. properties:
  12169. OPERATETYPENAME:
  12170. description: 资金操作类型名称
  12171. type: string
  12172. accountid:
  12173. description: 资金账户ID
  12174. type: integer
  12175. agoodscode:
  12176. description: 竞拍商品代码
  12177. type: string
  12178. agoodsname:
  12179. description: 竞拍商品名称
  12180. type: string
  12181. amount:
  12182. description: 资金金额
  12183. type: number
  12184. amountadjusttype:
  12185. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  12186. type: integer
  12187. autoid:
  12188. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  12189. type: integer
  12190. balance:
  12191. description: 期初余额
  12192. type: number
  12193. businesscode:
  12194. description: 业务编号
  12195. type: integer
  12196. createtime:
  12197. description: 发生时间
  12198. type: string
  12199. currencyid:
  12200. description: 币种ID
  12201. type: integer
  12202. currentbalance:
  12203. description: 期末余额(变动后金额)
  12204. type: number
  12205. dgoodscode:
  12206. description: 交割商品代码
  12207. type: string
  12208. dgoodsname:
  12209. description: 交割商品名称
  12210. type: string
  12211. goodscode:
  12212. description: 商品代码
  12213. type: string
  12214. goodsid:
  12215. description: 商品ID
  12216. type: integer
  12217. goodsname:
  12218. description: 商品名称
  12219. type: string
  12220. marketid:
  12221. description: 市场ID
  12222. type: integer
  12223. marketname:
  12224. description: 市场名称
  12225. type: string
  12226. moneyticket:
  12227. description: 资金流水号:银行端流水号
  12228. type: integer
  12229. operatetype:
  12230. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  12231. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  12232. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  12233. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  12234. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  12235. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  12236. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  12237. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  12238. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  12239. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  12240. type: integer
  12241. relationorderid:
  12242. description: 关联单号
  12243. type: string
  12244. remark:
  12245. description: 备注
  12246. type: string
  12247. trademode:
  12248. description: 交易模式
  12249. type: integer
  12250. required:
  12251. - accountid
  12252. - amount
  12253. - amountadjusttype
  12254. - autoid
  12255. - balance
  12256. - createtime
  12257. - currentbalance
  12258. - operatetype
  12259. type: object
  12260. taaccount.QueryHisAmountLogRsp:
  12261. properties:
  12262. OPERATETYPENAME:
  12263. description: 资金操作类型名称
  12264. type: string
  12265. accountid:
  12266. description: 资金账户ID
  12267. type: integer
  12268. agoodscode:
  12269. description: 竞拍商品代码
  12270. type: string
  12271. agoodsname:
  12272. description: 竞拍商品名称
  12273. type: string
  12274. amount:
  12275. description: 资金金额
  12276. type: number
  12277. amountadjusttype:
  12278. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  12279. type: integer
  12280. autoid:
  12281. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  12282. type: integer
  12283. balance:
  12284. description: 期初余额
  12285. type: number
  12286. businesscode:
  12287. description: 业务编号
  12288. type: integer
  12289. createtime:
  12290. description: 发生时间
  12291. type: string
  12292. currencyid:
  12293. description: 币种ID
  12294. type: integer
  12295. currentbalance:
  12296. description: 期末余额(变动后金额)
  12297. type: number
  12298. dgoodscode:
  12299. description: 交割商品代码
  12300. type: string
  12301. dgoodsname:
  12302. description: 交割商品名称
  12303. type: string
  12304. goodscode:
  12305. description: 商品代码
  12306. type: string
  12307. goodsid:
  12308. description: 商品ID
  12309. type: integer
  12310. goodsname:
  12311. description: 商品名称
  12312. type: string
  12313. histradedate:
  12314. description: 历史交易日
  12315. type: string
  12316. isvaliddata:
  12317. description: 是否有效 - 0:无效 1:有效
  12318. type: integer
  12319. marketid:
  12320. description: 市场ID
  12321. type: integer
  12322. marketname:
  12323. description: 市场名称
  12324. type: string
  12325. moneyticket:
  12326. description: 资金流水号:银行端流水号
  12327. type: integer
  12328. operatetype:
  12329. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  12330. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  12331. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  12332. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  12333. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  12334. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  12335. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  12336. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  12337. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  12338. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  12339. type: integer
  12340. relationorderid:
  12341. description: 关联单号
  12342. type: string
  12343. remark:
  12344. description: 备注
  12345. type: string
  12346. trademode:
  12347. description: 交易模式
  12348. type: integer
  12349. required:
  12350. - accountid
  12351. - amount
  12352. - amountadjusttype
  12353. - autoid
  12354. - balance
  12355. - createtime
  12356. - currentbalance
  12357. - histradedate
  12358. - operatetype
  12359. type: object
  12360. trade.QueryRecieptOrderRsp:
  12361. properties:
  12362. accountName:
  12363. description: 所属账号名称(已脱敏)
  12364. type: string
  12365. accountid:
  12366. description: 资金账号
  12367. type: integer
  12368. buyorsell:
  12369. description: 方向 - 0:买 1:卖
  12370. type: integer
  12371. enableqty:
  12372. description: 可摘数量
  12373. type: integer
  12374. goodscode:
  12375. description: 商品代码
  12376. type: string
  12377. goodsid:
  12378. description: 商品ID
  12379. type: integer
  12380. goodsname:
  12381. description: 商品名称
  12382. type: string
  12383. orderid:
  12384. description: 委托单号
  12385. type: string
  12386. orderprice:
  12387. description: 委托价格
  12388. type: number
  12389. ordertime:
  12390. description: 委托时间
  12391. type: string
  12392. tradedate:
  12393. description: 交易日(yyyyMMdd)
  12394. type: string
  12395. required:
  12396. - ordertime
  12397. type: object
  12398. user.LoginQueryRsp:
  12399. properties:
  12400. externalExchanges:
  12401. description: 外部交易所
  12402. items:
  12403. $ref: '#/definitions/models.Externalexchange'
  12404. type: array
  12405. goodsgroups:
  12406. description: 商品组
  12407. items:
  12408. $ref: '#/definitions/models.Goodsgroup'
  12409. type: array
  12410. loginAccount:
  12411. $ref: '#/definitions/models.Loginaccount'
  12412. description: 登录账号
  12413. type: object
  12414. markets:
  12415. description: 市场
  12416. items:
  12417. $ref: '#/definitions/models.Market'
  12418. type: array
  12419. systemParams:
  12420. description: 系统参数
  12421. items:
  12422. $ref: '#/definitions/models.Systemparam'
  12423. type: array
  12424. userAccount:
  12425. $ref: '#/definitions/models.Useraccount'
  12426. description: 用户账号
  12427. type: object
  12428. userInfo:
  12429. $ref: '#/definitions/models.Userinfo'
  12430. description: 用户信息
  12431. type: object
  12432. username:
  12433. description: 用户姓名
  12434. type: string
  12435. type: object
  12436. info:
  12437. contact: {}
  12438. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  12439. license: {}
  12440. termsOfService: http://muchinfo.cn
  12441. title: MTP2.0 查询服务 API
  12442. version: "1.0"
  12443. paths:
  12444. /CPTrade/QueryCPTradeMyBidInfos:
  12445. get:
  12446. parameters:
  12447. - description: 资金账户
  12448. in: query
  12449. name: accountid
  12450. required: true
  12451. type: integer
  12452. - description: 预售市场ID
  12453. in: query
  12454. name: marketid
  12455. type: integer
  12456. - description: 预售商品ID
  12457. in: query
  12458. name: goodsid
  12459. type: integer
  12460. produces:
  12461. - application/json
  12462. responses:
  12463. "200":
  12464. description: OK
  12465. schema:
  12466. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  12467. "500":
  12468. description: Internal Server Error
  12469. schema:
  12470. $ref: '#/definitions/app.Response'
  12471. security:
  12472. - ApiKeyAuth: []
  12473. summary: 查询产能预售我的出价信息
  12474. tags:
  12475. - 产能预售
  12476. /CPTrade/QueryCPTradeOrderDetail:
  12477. get:
  12478. parameters:
  12479. - description: 预售商品ID
  12480. in: query
  12481. name: goodsid
  12482. type: integer
  12483. - description: 预售市场ID
  12484. in: query
  12485. name: marketid
  12486. type: integer
  12487. - description: 预售商品ID列表 - 格式:1,2,3
  12488. in: query
  12489. name: goodsids
  12490. type: string
  12491. produces:
  12492. - application/json
  12493. responses:
  12494. "200":
  12495. description: OK
  12496. schema:
  12497. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  12498. "500":
  12499. description: Internal Server Error
  12500. schema:
  12501. $ref: '#/definitions/app.Response'
  12502. security:
  12503. - ApiKeyAuth: []
  12504. summary: 查询产能预售委托单信息
  12505. tags:
  12506. - 产能预售
  12507. /CPTrade/QueryMyCPTradeGoods:
  12508. get:
  12509. parameters:
  12510. - description: 资金账户
  12511. in: query
  12512. name: accountid
  12513. required: true
  12514. type: integer
  12515. produces:
  12516. - application/json
  12517. responses:
  12518. "200":
  12519. description: OK
  12520. schema:
  12521. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  12522. "500":
  12523. description: Internal Server Error
  12524. schema:
  12525. $ref: '#/definitions/app.Response'
  12526. security:
  12527. - ApiKeyAuth: []
  12528. summary: 查询我的预售信息
  12529. tags:
  12530. - 产能预售
  12531. /CPTrade/QueryPositionCancel:
  12532. get:
  12533. parameters:
  12534. - description: 账户ID
  12535. in: query
  12536. name: userid
  12537. required: true
  12538. type: integer
  12539. - description: 注销ID
  12540. in: query
  12541. name: cancelid
  12542. type: integer
  12543. - description: 资金账户ID
  12544. in: query
  12545. name: accountid
  12546. type: integer
  12547. produces:
  12548. - application/json
  12549. responses:
  12550. "200":
  12551. description: OK
  12552. schema:
  12553. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  12554. "500":
  12555. description: Internal Server Error
  12556. schema:
  12557. $ref: '#/definitions/app.Response'
  12558. security:
  12559. - ApiKeyAuth: []
  12560. summary: 查询远期订单注销申请信息
  12561. tags:
  12562. - 产能预售
  12563. /CPTrade/QueryPreasleApply:
  12564. get:
  12565. parameters:
  12566. - description: 账户ID
  12567. in: query
  12568. name: userid
  12569. required: true
  12570. type: integer
  12571. - description: 申请ID
  12572. in: query
  12573. name: applyid
  12574. type: integer
  12575. - description: 资金账户ID
  12576. in: query
  12577. name: accountid
  12578. type: integer
  12579. produces:
  12580. - application/json
  12581. responses:
  12582. "200":
  12583. description: OK
  12584. schema:
  12585. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  12586. "500":
  12587. description: Internal Server Error
  12588. schema:
  12589. $ref: '#/definitions/app.Response'
  12590. security:
  12591. - ApiKeyAuth: []
  12592. summary: 查询产能预售申请信息
  12593. tags:
  12594. - 产能预售
  12595. /CPTrade/QueryPresaleGoodsEx:
  12596. get:
  12597. parameters:
  12598. - description: 预售商品ID
  12599. in: query
  12600. name: goodsid
  12601. type: integer
  12602. - description: 预售市场ID
  12603. in: query
  12604. name: marketid
  12605. type: integer
  12606. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  12607. in: query
  12608. name: presalemode
  12609. type: integer
  12610. - description: 预售商品ID列表 - 格式:1,2,3
  12611. in: query
  12612. name: goodsids
  12613. type: string
  12614. - description: 预售商品代码
  12615. in: query
  12616. name: goodscode
  12617. type: string
  12618. produces:
  12619. - application/json
  12620. responses:
  12621. "200":
  12622. description: OK
  12623. schema:
  12624. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  12625. "500":
  12626. description: Internal Server Error
  12627. schema:
  12628. $ref: '#/definitions/app.Response'
  12629. security:
  12630. - ApiKeyAuth: []
  12631. summary: 查询产能预售商品扩展信息
  12632. tags:
  12633. - 产能预售
  12634. /CPTrade/QueryUserGoodsData:
  12635. get:
  12636. parameters:
  12637. - description: 资金账户ID
  12638. in: query
  12639. name: accountid
  12640. required: true
  12641. type: integer
  12642. produces:
  12643. - application/json
  12644. responses:
  12645. "200":
  12646. description: OK
  12647. schema:
  12648. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  12649. "500":
  12650. description: Internal Server Error
  12651. schema:
  12652. $ref: '#/definitions/app.Response'
  12653. security:
  12654. - ApiKeyAuth: []
  12655. summary: 查询远期订单信息
  12656. tags:
  12657. - 产能预售
  12658. /Common/GetAllEnums:
  12659. get:
  12660. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  12661. parameters:
  12662. - description: 起始自增ID
  12663. in: query
  12664. name: autoid
  12665. type: integer
  12666. produces:
  12667. - application/json
  12668. responses:
  12669. "200":
  12670. description: OK
  12671. schema:
  12672. $ref: '#/definitions/models.Enumdicitem'
  12673. "500":
  12674. description: Internal Server Error
  12675. schema:
  12676. $ref: '#/definitions/app.Response'
  12677. summary: 获取所有枚举信息
  12678. tags:
  12679. - 通用服务
  12680. /Common/GetClientMenus:
  12681. get:
  12682. parameters:
  12683. - description: 登录账号
  12684. in: query
  12685. name: loginID
  12686. required: true
  12687. type: integer
  12688. - description: 终端类型,0:PC 1:Mobile
  12689. in: query
  12690. name: clientType
  12691. type: integer
  12692. produces:
  12693. - application/json
  12694. responses:
  12695. "200":
  12696. description: OK
  12697. schema:
  12698. items:
  12699. $ref: '#/definitions/common.ClientMenu'
  12700. type: array
  12701. "500":
  12702. description: Internal Server Error
  12703. schema:
  12704. $ref: '#/definitions/app.Response'
  12705. security:
  12706. - ApiKeyAuth: []
  12707. summary: 获取交易端菜单
  12708. tags:
  12709. - 通用服务
  12710. /Common/GetDivisions:
  12711. get:
  12712. produces:
  12713. - application/json
  12714. responses:
  12715. "200":
  12716. description: OK
  12717. schema:
  12718. $ref: '#/definitions/models.Division'
  12719. "500":
  12720. description: Internal Server Error
  12721. schema:
  12722. $ref: '#/definitions/app.Response'
  12723. summary: 查询区域信息
  12724. tags:
  12725. - 通用服务
  12726. /Common/GetServerTime:
  12727. get:
  12728. produces:
  12729. - application/json
  12730. responses:
  12731. "200":
  12732. description: OK
  12733. schema:
  12734. $ref: '#/definitions/app.Response'
  12735. "500":
  12736. description: Internal Server Error
  12737. schema:
  12738. $ref: '#/definitions/app.Response'
  12739. summary: 获取服务器时间
  12740. tags:
  12741. - 通用服务
  12742. /Common/NoticeReaded:
  12743. post:
  12744. parameters:
  12745. - description: 登录账号
  12746. in: query
  12747. name: loginID
  12748. required: true
  12749. type: integer
  12750. - description: 通知公告ID
  12751. in: query
  12752. name: noticeID
  12753. required: true
  12754. type: integer
  12755. produces:
  12756. - application/json
  12757. responses:
  12758. "200":
  12759. description: OK
  12760. schema:
  12761. $ref: '#/definitions/app.Response'
  12762. "500":
  12763. description: Internal Server Error
  12764. schema:
  12765. $ref: '#/definitions/app.Response'
  12766. security:
  12767. - ApiKeyAuth: []
  12768. summary: 通知公告设置已读请求
  12769. tags:
  12770. - 通用服务
  12771. /Common/QueryErrorInfos:
  12772. get:
  12773. description: 如果传入rowNumber,则返回此rowNumber后的数据
  12774. parameters:
  12775. - description: 起始行号前索引
  12776. in: query
  12777. name: rowNumber
  12778. type: string
  12779. produces:
  12780. - application/json
  12781. responses:
  12782. "200":
  12783. description: OK
  12784. schema:
  12785. $ref: '#/definitions/models.QueryErrorInfosRsp'
  12786. "500":
  12787. description: Internal Server Error
  12788. schema:
  12789. $ref: '#/definitions/app.Response'
  12790. summary: 获取数据库错误信息
  12791. tags:
  12792. - 通用服务
  12793. /Common/QueryImageConfigs:
  12794. get:
  12795. parameters:
  12796. - description: 类型 - 1:App首页轮播 2:我的
  12797. in: query
  12798. name: imageType
  12799. type: integer
  12800. produces:
  12801. - application/json
  12802. responses:
  12803. "200":
  12804. description: OK
  12805. schema:
  12806. $ref: '#/definitions/common.QueryImageConfigsRsp'
  12807. "500":
  12808. description: Internal Server Error
  12809. schema:
  12810. $ref: '#/definitions/app.Response'
  12811. summary: 查询轮播图配置信息
  12812. tags:
  12813. - 通用服务
  12814. /Common/QueryNotice:
  12815. get:
  12816. parameters:
  12817. - description: 页码
  12818. in: query
  12819. name: page
  12820. type: integer
  12821. - description: 每页条数
  12822. in: query
  12823. name: pagesize
  12824. type: integer
  12825. - description: 登录账号
  12826. in: query
  12827. name: loginID
  12828. required: true
  12829. type: integer
  12830. - description: 消息类型 - 1:公告通知 2:系统消息
  12831. in: query
  12832. name: msgType
  12833. type: integer
  12834. - description: 是否只获取未读信息
  12835. in: query
  12836. name: onlyUnRead
  12837. type: boolean
  12838. - description: 自增ID,传入后会返回这个ID后面的记录
  12839. in: query
  12840. name: lastID
  12841. type: integer
  12842. produces:
  12843. - application/json
  12844. responses:
  12845. "200":
  12846. description: OK
  12847. schema:
  12848. $ref: '#/definitions/common.QueryNoticeRsp'
  12849. "500":
  12850. description: Internal Server Error
  12851. schema:
  12852. $ref: '#/definitions/app.Response'
  12853. security:
  12854. - ApiKeyAuth: []
  12855. summary: 通知公告系统消息查询
  12856. tags:
  12857. - 通用服务
  12858. /Common/QueryProvincesAndCities:
  12859. get:
  12860. parameters:
  12861. - description: 省ID
  12862. in: query
  12863. name: provinceID
  12864. type: integer
  12865. produces:
  12866. - application/json
  12867. responses:
  12868. "200":
  12869. description: OK
  12870. schema:
  12871. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  12872. "500":
  12873. description: Internal Server Error
  12874. schema:
  12875. $ref: '#/definitions/app.Response'
  12876. summary: 查询省市信息(不包括区)
  12877. tags:
  12878. - 通用服务
  12879. /Common/QueryTableDefine:
  12880. get:
  12881. parameters:
  12882. - description: 表key
  12883. in: query
  12884. name: tableKey
  12885. type: string
  12886. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  12887. in: query
  12888. name: tableType
  12889. type: integer
  12890. produces:
  12891. - application/json
  12892. responses:
  12893. "200":
  12894. description: OK
  12895. schema:
  12896. $ref: '#/definitions/common.QueryTableDefineRsp'
  12897. "500":
  12898. description: Internal Server Error
  12899. schema:
  12900. $ref: '#/definitions/app.Response'
  12901. summary: 查询交易端列表头信息
  12902. tags:
  12903. - 通用服务
  12904. /Common/QueryTraderMenu:
  12905. get:
  12906. parameters:
  12907. - description: 登录账号
  12908. in: query
  12909. name: loginid
  12910. required: true
  12911. type: integer
  12912. produces:
  12913. - application/json
  12914. responses:
  12915. "200":
  12916. description: OK
  12917. schema:
  12918. $ref: '#/definitions/common.QueryTraderMenuRsp'
  12919. "500":
  12920. description: Internal Server Error
  12921. schema:
  12922. $ref: '#/definitions/app.Response'
  12923. summary: 查询交易端菜单
  12924. tags:
  12925. - 通用服务
  12926. /Delivery/QueryDeliveryRelation:
  12927. get:
  12928. parameters:
  12929. - description: 商品ID
  12930. in: query
  12931. name: goodsid
  12932. type: integer
  12933. - description: 品种ID
  12934. in: query
  12935. name: deliverygoodsid
  12936. type: integer
  12937. - description: 市场ID
  12938. in: query
  12939. name: marketid
  12940. type: integer
  12941. produces:
  12942. - application/json
  12943. responses:
  12944. "200":
  12945. description: OK
  12946. schema:
  12947. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  12948. "500":
  12949. description: Internal Server Error
  12950. schema:
  12951. $ref: '#/definitions/app.Response'
  12952. security:
  12953. - ApiKeyAuth: []
  12954. summary: 查询商品交割关系表
  12955. tags:
  12956. - 交割服务
  12957. /Ermcp/GetErmcpGoods:
  12958. get:
  12959. parameters:
  12960. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  12961. in: query
  12962. name: lastUpdateTime
  12963. type: string
  12964. produces:
  12965. - application/json
  12966. responses:
  12967. "200":
  12968. description: OK
  12969. schema:
  12970. $ref: '#/definitions/models.Goods'
  12971. "500":
  12972. description: Internal Server Error
  12973. schema:
  12974. $ref: '#/definitions/app.Response'
  12975. security:
  12976. - ApiKeyAuth: []
  12977. summary: 查询企业风管期货商品信息
  12978. tags:
  12979. - 企业风险管理(app)
  12980. /Ermcp/GetErmcpGoodsSortByPosition:
  12981. get:
  12982. parameters:
  12983. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  12984. in: query
  12985. name: sortIndex
  12986. type: string
  12987. produces:
  12988. - application/json
  12989. responses:
  12990. "200":
  12991. description: OK
  12992. schema:
  12993. $ref: '#/definitions/models.Goodssortbypreposition'
  12994. "500":
  12995. description: Internal Server Error
  12996. schema:
  12997. $ref: '#/definitions/app.Response'
  12998. security:
  12999. - ApiKeyAuth: []
  13000. summary: 查询企业风管期货主力、次主力商品信息
  13001. tags:
  13002. - 企业风险管理(app)
  13003. /Ermcp/GetErmcpOutAccountStatus:
  13004. get:
  13005. parameters:
  13006. - description: 登录账号
  13007. in: query
  13008. name: loginID
  13009. required: true
  13010. type: integer
  13011. produces:
  13012. - application/json
  13013. responses:
  13014. "200":
  13015. description: OK
  13016. schema:
  13017. $ref: '#/definitions/models.Hedgemarketopenlog'
  13018. "500":
  13019. description: Internal Server Error
  13020. schema:
  13021. $ref: '#/definitions/app.Response'
  13022. security:
  13023. - ApiKeyAuth: []
  13024. summary: 获取目标登录账号当前对冲账号在线状态
  13025. tags:
  13026. - 企业风险管理(app)
  13027. /Ermcp/GetErmcpRoleFuncMenuLists:
  13028. get:
  13029. parameters:
  13030. - description: 登录账号
  13031. in: query
  13032. name: loginID
  13033. required: true
  13034. type: integer
  13035. produces:
  13036. - application/json
  13037. responses:
  13038. "200":
  13039. description: OK
  13040. schema:
  13041. $ref: '#/definitions/models.Funcmenulist'
  13042. "500":
  13043. description: Internal Server Error
  13044. schema:
  13045. $ref: '#/definitions/app.Response'
  13046. security:
  13047. - ApiKeyAuth: []
  13048. summary: 获取企业风管终端权限
  13049. tags:
  13050. - 企业风险管理(app)
  13051. /Ermcp/QryReportAreaSpotPL:
  13052. get:
  13053. parameters:
  13054. - description: 用户ID
  13055. in: query
  13056. name: userid
  13057. required: true
  13058. type: integer
  13059. - description: 查询类型 1-日报表 2-月报表
  13060. in: query
  13061. name: querytype
  13062. required: true
  13063. type: integer
  13064. - description: 查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)
  13065. in: query
  13066. name: querydate
  13067. required: true
  13068. type: string
  13069. - description: 现货商品ID
  13070. in: query
  13071. name: wrstandardid
  13072. type: integer
  13073. - description: 品牌ID
  13074. in: query
  13075. name: spotgoodsbrandid
  13076. type: integer
  13077. - description: 型号ID
  13078. in: query
  13079. name: spotgoodsmodelid
  13080. type: integer
  13081. produces:
  13082. - application/json
  13083. responses:
  13084. "200":
  13085. description: OK
  13086. schema:
  13087. items:
  13088. $ref: '#/definitions/models.ErmcpReportAreaSpotPL'
  13089. type: array
  13090. "500":
  13091. description: Internal Server Error
  13092. schema:
  13093. $ref: '#/definitions/app.Response'
  13094. security:
  13095. - ApiKeyAuth: []
  13096. summary: 查询现货损益报表(现货损益报表)
  13097. tags:
  13098. - 企业风险管理(app)
  13099. /Ermcp/QryReportDayExposure:
  13100. get:
  13101. parameters:
  13102. - description: 用户ID
  13103. in: query
  13104. name: userid
  13105. required: true
  13106. type: integer
  13107. - description: 交易日(格式:yyyyMMdd)
  13108. in: query
  13109. name: tradedate
  13110. required: true
  13111. type: string
  13112. produces:
  13113. - application/json
  13114. responses:
  13115. "200":
  13116. description: OK
  13117. schema:
  13118. items:
  13119. $ref: '#/definitions/ermcp.QryReportExposureDayRsp'
  13120. type: array
  13121. "500":
  13122. description: Internal Server Error
  13123. schema:
  13124. $ref: '#/definitions/app.Response'
  13125. security:
  13126. - ApiKeyAuth: []
  13127. summary: 查询敞口日报表(菜单:报表查询/敞口报表/敞口日报表)
  13128. tags:
  13129. - 企业风险管理(app)
  13130. /Ermcp/QryReportDayFinance:
  13131. get:
  13132. parameters:
  13133. - description: 用户ID
  13134. in: query
  13135. name: userid
  13136. required: true
  13137. type: integer
  13138. - description: 交易日(格式:yyyyMMdd)
  13139. in: query
  13140. name: tradedate
  13141. required: true
  13142. type: string
  13143. produces:
  13144. - application/json
  13145. responses:
  13146. "200":
  13147. description: OK
  13148. schema:
  13149. items:
  13150. $ref: '#/definitions/ermcp.QryReportFinanceDayRsp'
  13151. type: array
  13152. "500":
  13153. description: Internal Server Error
  13154. schema:
  13155. $ref: '#/definitions/app.Response'
  13156. security:
  13157. - ApiKeyAuth: []
  13158. summary: 查询财务日报表(菜单:报表查询/财务报表/日报表)
  13159. tags:
  13160. - 企业风险管理(app)
  13161. /Ermcp/QryReportDayFinanceFp:
  13162. get:
  13163. parameters:
  13164. - description: 用户ID
  13165. in: query
  13166. name: userid
  13167. required: true
  13168. type: integer
  13169. - description: 交易日(格式:yyyyMMdd)
  13170. in: query
  13171. name: tradedate
  13172. required: true
  13173. type: string
  13174. produces:
  13175. - application/json
  13176. responses:
  13177. "200":
  13178. description: OK
  13179. schema:
  13180. items:
  13181. $ref: '#/definitions/ermcp.QryReportFinanceKxRsp'
  13182. type: array
  13183. "500":
  13184. description: Internal Server Error
  13185. schema:
  13186. $ref: '#/definitions/app.Response'
  13187. security:
  13188. - ApiKeyAuth: []
  13189. summary: 查询财务日报表发票(菜单:报表查询/财务报表/日报表/发票)
  13190. tags:
  13191. - 企业风险管理(app)
  13192. /Ermcp/QryReportDayFinanceKx:
  13193. get:
  13194. parameters:
  13195. - description: 用户ID
  13196. in: query
  13197. name: userid
  13198. required: true
  13199. type: integer
  13200. - description: 交易日(格式:yyyyMMdd)
  13201. in: query
  13202. name: tradedate
  13203. required: true
  13204. type: string
  13205. produces:
  13206. - application/json
  13207. responses:
  13208. "200":
  13209. description: OK
  13210. schema:
  13211. items:
  13212. $ref: '#/definitions/ermcp.QryReportFinanceKxRsp'
  13213. type: array
  13214. "500":
  13215. description: Internal Server Error
  13216. schema:
  13217. $ref: '#/definitions/app.Response'
  13218. security:
  13219. - ApiKeyAuth: []
  13220. summary: 查询财务日报表款项(菜单:报表查询/财务报表/日报表/款项)
  13221. tags:
  13222. - 企业风险管理(app)
  13223. /Ermcp/QryReportDaySpot:
  13224. get:
  13225. parameters:
  13226. - description: 用户ID
  13227. in: query
  13228. name: userid
  13229. required: true
  13230. type: integer
  13231. - description: 交易日(格式:yyyyMMdd)
  13232. in: query
  13233. name: tradedate
  13234. required: true
  13235. type: string
  13236. produces:
  13237. - application/json
  13238. responses:
  13239. "200":
  13240. description: OK
  13241. schema:
  13242. items:
  13243. $ref: '#/definitions/ermcp.QryReportSpotDayRsp'
  13244. type: array
  13245. "500":
  13246. description: Internal Server Error
  13247. schema:
  13248. $ref: '#/definitions/app.Response'
  13249. security:
  13250. - ApiKeyAuth: []
  13251. summary: 查询现货日报表(菜单:报表查询/现货报表/现货日报表)
  13252. tags:
  13253. - 企业风险管理(app)
  13254. /Ermcp/QryReportDaySpotDetail:
  13255. get:
  13256. parameters:
  13257. - description: 用户ID
  13258. in: query
  13259. name: userid
  13260. required: true
  13261. type: integer
  13262. - description: 现货商品id
  13263. in: query
  13264. name: wrstandardid
  13265. required: true
  13266. type: integer
  13267. - description: 交易日(格式:yyyyMMdd)
  13268. in: query
  13269. name: tradedate
  13270. required: true
  13271. type: string
  13272. produces:
  13273. - application/json
  13274. responses:
  13275. "200":
  13276. description: OK
  13277. schema:
  13278. items:
  13279. $ref: '#/definitions/ermcp.QryReportDaySpotDetailRsp'
  13280. type: array
  13281. "500":
  13282. description: Internal Server Error
  13283. schema:
  13284. $ref: '#/definitions/app.Response'
  13285. security:
  13286. - ApiKeyAuth: []
  13287. summary: 查询现货日报表详情(菜单:报表查询/现货报表/现货日报表详情)
  13288. tags:
  13289. - 企业风险管理(app)
  13290. /Ermcp/QryReportMonthFinance:
  13291. get:
  13292. parameters:
  13293. - description: 用户ID
  13294. in: query
  13295. name: userid
  13296. required: true
  13297. type: integer
  13298. - description: 周期时间:月(格式:yyyyMM)
  13299. in: query
  13300. name: cycletime
  13301. required: true
  13302. type: string
  13303. produces:
  13304. - application/json
  13305. responses:
  13306. "200":
  13307. description: OK
  13308. schema:
  13309. items:
  13310. $ref: '#/definitions/ermcp.QryReportFinanceMonRsp'
  13311. type: array
  13312. "500":
  13313. description: Internal Server Error
  13314. schema:
  13315. $ref: '#/definitions/app.Response'
  13316. security:
  13317. - ApiKeyAuth: []
  13318. summary: 查询财务月报表(菜单:报表查询/财务报表/月报表)
  13319. tags:
  13320. - 企业风险管理(app)
  13321. /Ermcp/QryReportMonthSpot:
  13322. get:
  13323. parameters:
  13324. - description: 用户ID
  13325. in: query
  13326. name: userid
  13327. required: true
  13328. type: integer
  13329. - description: 周期时间:月(格式:yyyyMM)
  13330. in: query
  13331. name: cycletime
  13332. required: true
  13333. type: string
  13334. produces:
  13335. - application/json
  13336. responses:
  13337. "200":
  13338. description: OK
  13339. schema:
  13340. items:
  13341. $ref: '#/definitions/ermcp.QryReportSpotMonRsp'
  13342. type: array
  13343. "500":
  13344. description: Internal Server Error
  13345. schema:
  13346. $ref: '#/definitions/app.Response'
  13347. security:
  13348. - ApiKeyAuth: []
  13349. summary: 查询现货月报表(菜单:报表查询/现货报表/现货月报表)
  13350. tags:
  13351. - 企业风险管理(app)
  13352. /Ermcp/QryReportMonthSpotDetail:
  13353. get:
  13354. parameters:
  13355. - description: 用户ID
  13356. in: query
  13357. name: userid
  13358. required: true
  13359. type: integer
  13360. - description: 现货商品id
  13361. in: query
  13362. name: wrstandardid
  13363. required: true
  13364. type: integer
  13365. - description: 周期时间:月(格式:yyyyMM)
  13366. in: query
  13367. name: cycletime
  13368. required: true
  13369. type: string
  13370. produces:
  13371. - application/json
  13372. responses:
  13373. "200":
  13374. description: OK
  13375. schema:
  13376. items:
  13377. $ref: '#/definitions/ermcp.QryReportSpotMonthDetailRsp'
  13378. type: array
  13379. "500":
  13380. description: Internal Server Error
  13381. schema:
  13382. $ref: '#/definitions/app.Response'
  13383. security:
  13384. - ApiKeyAuth: []
  13385. summary: 查询现货月报表详情(菜单:报表查询/现货月报表/现货月报表详情)
  13386. tags:
  13387. - 企业风险管理(app)
  13388. /Ermcp/QueryAccMgrBizGroupSet:
  13389. get:
  13390. parameters:
  13391. - description: 用户ID
  13392. in: query
  13393. name: userid
  13394. required: true
  13395. type: integer
  13396. - description: 现货商品id
  13397. in: query
  13398. name: deliverygoodsid
  13399. type: integer
  13400. produces:
  13401. - application/json
  13402. responses:
  13403. "200":
  13404. description: OK
  13405. schema:
  13406. items:
  13407. $ref: '#/definitions/models.ErmcpBizGroupEx'
  13408. type: array
  13409. "500":
  13410. description: Internal Server Error
  13411. schema:
  13412. $ref: '#/definitions/app.Response'
  13413. security:
  13414. - ApiKeyAuth: []
  13415. summary: 查询业务类型分组(账户管理/账户设置)
  13416. tags:
  13417. - 企业风险管理(app)
  13418. /Ermcp/QueryAccMgrLoginUser:
  13419. get:
  13420. parameters:
  13421. - description: 用户ID
  13422. in: query
  13423. name: userid
  13424. required: true
  13425. type: integer
  13426. produces:
  13427. - application/json
  13428. responses:
  13429. "200":
  13430. description: OK
  13431. schema:
  13432. items:
  13433. $ref: '#/definitions/models.ErmcpLoginUserEx'
  13434. type: array
  13435. "500":
  13436. description: Internal Server Error
  13437. schema:
  13438. $ref: '#/definitions/app.Response'
  13439. security:
  13440. - ApiKeyAuth: []
  13441. summary: 查询账户管理登录账号(账户管理/登录账号)
  13442. tags:
  13443. - 企业风险管理(app)
  13444. /Ermcp/QueryAccMgrMainAccountInfo:
  13445. get:
  13446. parameters:
  13447. - description: 用户ID
  13448. in: query
  13449. name: userid
  13450. type: integer
  13451. - description: 主账号id
  13452. in: query
  13453. name: accountid
  13454. type: integer
  13455. produces:
  13456. - application/json
  13457. responses:
  13458. "200":
  13459. description: OK
  13460. schema:
  13461. items:
  13462. $ref: '#/definitions/models.MainAccountInfo'
  13463. type: array
  13464. "500":
  13465. description: Internal Server Error
  13466. schema:
  13467. $ref: '#/definitions/app.Response'
  13468. security:
  13469. - ApiKeyAuth: []
  13470. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  13471. tags:
  13472. - 企业风险管理(app)
  13473. /Ermcp/QueryAccMgrRole:
  13474. get:
  13475. parameters:
  13476. - description: 用户ID
  13477. in: query
  13478. name: userid
  13479. required: true
  13480. type: integer
  13481. produces:
  13482. - application/json
  13483. responses:
  13484. "200":
  13485. description: OK
  13486. schema:
  13487. items:
  13488. $ref: '#/definitions/models.ErmcpRole'
  13489. type: array
  13490. "500":
  13491. description: Internal Server Error
  13492. schema:
  13493. $ref: '#/definitions/app.Response'
  13494. security:
  13495. - ApiKeyAuth: []
  13496. summary: 查询账户管理角色设置(账户管理/角色设置)
  13497. tags:
  13498. - 企业风险管理(app)
  13499. /Ermcp/QueryAccMgrRoleMenu:
  13500. get:
  13501. parameters:
  13502. - description: 用户ID
  13503. in: query
  13504. name: userid
  13505. required: true
  13506. type: integer
  13507. - description: 角色id(可多个,逗号隔开)
  13508. in: query
  13509. name: roleid
  13510. type: string
  13511. produces:
  13512. - application/json
  13513. responses:
  13514. "200":
  13515. description: OK
  13516. schema:
  13517. items:
  13518. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  13519. type: array
  13520. "500":
  13521. description: Internal Server Error
  13522. schema:
  13523. $ref: '#/definitions/app.Response'
  13524. security:
  13525. - ApiKeyAuth: []
  13526. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  13527. tags:
  13528. - 企业风险管理(app)
  13529. /Ermcp/QueryAccMgrTaAccountInfo:
  13530. get:
  13531. parameters:
  13532. - description: 用户ID
  13533. in: query
  13534. name: userid
  13535. required: true
  13536. type: integer
  13537. - description: 账号id
  13538. in: query
  13539. name: accountid
  13540. type: integer
  13541. produces:
  13542. - application/json
  13543. responses:
  13544. "200":
  13545. description: OK
  13546. schema:
  13547. items:
  13548. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  13549. type: array
  13550. "500":
  13551. description: Internal Server Error
  13552. schema:
  13553. $ref: '#/definitions/app.Response'
  13554. security:
  13555. - ApiKeyAuth: []
  13556. summary: 查询账户管理授信(账户管理/账户设置/授信)
  13557. tags:
  13558. - 企业风险管理(app)
  13559. /Ermcp/QueryAccMgrTaaccount:
  13560. get:
  13561. parameters:
  13562. - description: 用户ID
  13563. in: query
  13564. name: userid
  13565. required: true
  13566. type: integer
  13567. produces:
  13568. - application/json
  13569. responses:
  13570. "200":
  13571. description: OK
  13572. schema:
  13573. items:
  13574. $ref: '#/definitions/models.ErmcpTaAccountEx'
  13575. type: array
  13576. "500":
  13577. description: Internal Server Error
  13578. schema:
  13579. $ref: '#/definitions/app.Response'
  13580. security:
  13581. - ApiKeyAuth: []
  13582. summary: 查询账户管理期货账号(账户管理/期货账号)
  13583. tags:
  13584. - 企业风险管理(app)
  13585. /Ermcp/QueryAreaStock:
  13586. get:
  13587. parameters:
  13588. - description: 用户ID
  13589. in: query
  13590. name: userid
  13591. required: true
  13592. type: integer
  13593. produces:
  13594. - application/json
  13595. responses:
  13596. "200":
  13597. description: OK
  13598. schema:
  13599. items:
  13600. $ref: '#/definitions/models.ErmcpAreaStock'
  13601. type: array
  13602. "500":
  13603. description: Internal Server Error
  13604. schema:
  13605. $ref: '#/definitions/app.Response'
  13606. security:
  13607. - ApiKeyAuth: []
  13608. summary: 查询机构库存(库存管理/当前库存)
  13609. tags:
  13610. - 企业风险管理(app)
  13611. /Ermcp/QueryAreaStockApply:
  13612. get:
  13613. parameters:
  13614. - description: 用户ID
  13615. in: query
  13616. name: userid
  13617. required: true
  13618. type: integer
  13619. - description: 出入库类型(可多项,逗号隔开) 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  13620. in: query
  13621. name: inouttype
  13622. type: string
  13623. - description: 合同ID
  13624. in: query
  13625. name: spotcontractid
  13626. type: integer
  13627. - description: 现货商品ID
  13628. in: query
  13629. name: wrstandardid
  13630. type: integer
  13631. - description: 品牌ID
  13632. in: query
  13633. name: spotgoodsbrandid
  13634. type: integer
  13635. - description: 型号ID
  13636. in: query
  13637. name: spotgoodsmodelid
  13638. type: integer
  13639. - description: 仓库ID
  13640. in: query
  13641. name: warehouseinfoid
  13642. type: integer
  13643. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13644. in: query
  13645. name: applystatus
  13646. type: string
  13647. produces:
  13648. - application/json
  13649. responses:
  13650. "200":
  13651. description: OK
  13652. schema:
  13653. items:
  13654. $ref: '#/definitions/ermcp.QryAreaStockApplyRsp'
  13655. type: array
  13656. "500":
  13657. description: Internal Server Error
  13658. schema:
  13659. $ref: '#/definitions/app.Response'
  13660. security:
  13661. - ApiKeyAuth: []
  13662. summary: 查询库存申请(出入库记录|库存审核)
  13663. tags:
  13664. - 企业风险管理(app)
  13665. /Ermcp/QueryAreaStockApplySum:
  13666. get:
  13667. parameters:
  13668. - description: 合同ID
  13669. in: query
  13670. name: spotcontractid
  13671. type: integer
  13672. produces:
  13673. - application/json
  13674. responses:
  13675. "200":
  13676. description: OK
  13677. schema:
  13678. items:
  13679. $ref: '#/definitions/ermcp.QueryAreaStockApplySumRsp'
  13680. type: array
  13681. "500":
  13682. description: Internal Server Error
  13683. schema:
  13684. $ref: '#/definitions/app.Response'
  13685. security:
  13686. - ApiKeyAuth: []
  13687. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  13688. tags:
  13689. - 企业风险管理(app)
  13690. /Ermcp/QueryAreaStockReport:
  13691. get:
  13692. parameters:
  13693. - description: 用户ID
  13694. in: query
  13695. name: userid
  13696. required: true
  13697. type: integer
  13698. - description: 查询类型 1-日报表 2-月报表
  13699. in: query
  13700. name: querytype
  13701. required: true
  13702. type: integer
  13703. - description: 查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)
  13704. in: query
  13705. name: querydate
  13706. required: true
  13707. type: string
  13708. - description: 现货商品ID
  13709. in: query
  13710. name: wrstandardid
  13711. type: integer
  13712. - description: 品牌ID
  13713. in: query
  13714. name: spotgoodsbrandid
  13715. type: integer
  13716. - description: 型号ID
  13717. in: query
  13718. name: spotgoodsmodelid
  13719. type: integer
  13720. - description: 仓库ID
  13721. in: query
  13722. name: warehouseinfoid
  13723. type: integer
  13724. produces:
  13725. - application/json
  13726. responses:
  13727. "200":
  13728. description: OK
  13729. schema:
  13730. items:
  13731. $ref: '#/definitions/models.ErmcpAreaStockReport'
  13732. type: array
  13733. "500":
  13734. description: Internal Server Error
  13735. schema:
  13736. $ref: '#/definitions/app.Response'
  13737. security:
  13738. - ApiKeyAuth: []
  13739. summary: 查询库存报表
  13740. tags:
  13741. - 企业风险管理(app)
  13742. /Ermcp/QueryAreaStockReportDetail:
  13743. get:
  13744. parameters:
  13745. - description: 用户ID
  13746. in: query
  13747. name: userid
  13748. required: true
  13749. type: integer
  13750. - description: 查询类型 1-日报表明细 2-月报表明细
  13751. in: query
  13752. name: querytype
  13753. required: true
  13754. type: integer
  13755. - description: 明细类型 1:入库明细(采购入库+生产入库) 2:出库明细(销售出库+生产出库)
  13756. in: query
  13757. name: detailtype
  13758. required: true
  13759. type: integer
  13760. - description: 查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)
  13761. in: query
  13762. name: querydate
  13763. required: true
  13764. type: string
  13765. - description: 现货商品ID
  13766. in: query
  13767. name: wrstandardid
  13768. type: integer
  13769. - description: 品牌ID
  13770. in: query
  13771. name: spotgoodsbrandid
  13772. type: integer
  13773. - description: 型号ID
  13774. in: query
  13775. name: spotgoodsmodelid
  13776. type: integer
  13777. - description: 仓库ID
  13778. in: query
  13779. name: warehouseinfoid
  13780. type: integer
  13781. produces:
  13782. - application/json
  13783. responses:
  13784. "200":
  13785. description: OK
  13786. schema:
  13787. items:
  13788. $ref: '#/definitions/models.ErmcpAreaStockApply'
  13789. type: array
  13790. "500":
  13791. description: Internal Server Error
  13792. schema:
  13793. $ref: '#/definitions/app.Response'
  13794. security:
  13795. - ApiKeyAuth: []
  13796. summary: 查询库存报表明细
  13797. tags:
  13798. - 企业风险管理(app)
  13799. /Ermcp/QueryAvaildGoodsGroup:
  13800. get:
  13801. parameters:
  13802. - description: 所属机构ID
  13803. in: query
  13804. name: userid
  13805. required: true
  13806. type: integer
  13807. produces:
  13808. - application/json
  13809. responses:
  13810. "200":
  13811. description: OK
  13812. schema:
  13813. items:
  13814. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  13815. type: array
  13816. "500":
  13817. description: Internal Server Error
  13818. schema:
  13819. $ref: '#/definitions/app.Response'
  13820. security:
  13821. - ApiKeyAuth: []
  13822. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  13823. tags:
  13824. - 企业风险管理(app)
  13825. /Ermcp/QueryBusinessDj:
  13826. get:
  13827. parameters:
  13828. - description: 用户ID
  13829. in: query
  13830. name: UserId
  13831. required: true
  13832. type: integer
  13833. - description: 现货合同ID, 不填则查所有
  13834. in: query
  13835. name: relatedid
  13836. type: string
  13837. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13838. in: query
  13839. name: applystatus
  13840. type: string
  13841. produces:
  13842. - application/json
  13843. responses:
  13844. "200":
  13845. description: OK
  13846. schema:
  13847. items:
  13848. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  13849. type: array
  13850. "500":
  13851. description: Internal Server Error
  13852. schema:
  13853. $ref: '#/definitions/app.Response'
  13854. security:
  13855. - ApiKeyAuth: []
  13856. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  13857. tags:
  13858. - 企业风险管理(app)
  13859. /Ermcp/QueryBusinessFp:
  13860. get:
  13861. parameters:
  13862. - description: 用户ID
  13863. in: query
  13864. name: UserId
  13865. required: true
  13866. type: integer
  13867. - description: 现货合同ID, 不填则查所有
  13868. in: query
  13869. name: relatedid
  13870. type: string
  13871. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13872. in: query
  13873. name: applystatus
  13874. type: string
  13875. produces:
  13876. - application/json
  13877. responses:
  13878. "200":
  13879. description: OK
  13880. schema:
  13881. items:
  13882. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  13883. type: array
  13884. "500":
  13885. description: Internal Server Error
  13886. schema:
  13887. $ref: '#/definitions/app.Response'
  13888. security:
  13889. - ApiKeyAuth: []
  13890. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  13891. tags:
  13892. - 企业风险管理(app)
  13893. /Ermcp/QueryBusinessJs:
  13894. get:
  13895. parameters:
  13896. - description: 用户ID
  13897. in: query
  13898. name: UserId
  13899. required: true
  13900. type: integer
  13901. - description: 现货合同ID, 不填则查所有
  13902. in: query
  13903. name: relatedid
  13904. type: string
  13905. - description: 操作申请id
  13906. in: query
  13907. name: operateapplyid
  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.QryBussinessJsRsp'
  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/QueryBusinessJsEx:
  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: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13944. in: query
  13945. name: applystatus
  13946. type: string
  13947. produces:
  13948. - application/json
  13949. responses:
  13950. "200":
  13951. description: OK
  13952. schema:
  13953. items:
  13954. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  13955. type: array
  13956. "500":
  13957. description: Internal Server Error
  13958. schema:
  13959. $ref: '#/definitions/app.Response'
  13960. security:
  13961. - ApiKeyAuth: []
  13962. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  13963. tags:
  13964. - 企业风险管理(app)
  13965. /Ermcp/QueryBusinessKx:
  13966. get:
  13967. parameters:
  13968. - description: 用户ID
  13969. in: query
  13970. name: UserId
  13971. required: true
  13972. type: integer
  13973. - description: 现货合同ID, 不填则查所有
  13974. in: query
  13975. name: relatedid
  13976. type: string
  13977. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13978. in: query
  13979. name: applystatus
  13980. type: string
  13981. produces:
  13982. - application/json
  13983. responses:
  13984. "200":
  13985. description: OK
  13986. schema:
  13987. items:
  13988. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  13989. type: array
  13990. "500":
  13991. description: Internal Server Error
  13992. schema:
  13993. $ref: '#/definitions/app.Response'
  13994. security:
  13995. - ApiKeyAuth: []
  13996. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  13997. tags:
  13998. - 企业风险管理(app)
  13999. /Ermcp/QueryChangeLog:
  14000. get:
  14001. parameters:
  14002. - description: 合同ID
  14003. in: query
  14004. name: RelatedId
  14005. required: true
  14006. type: string
  14007. produces:
  14008. - application/json
  14009. responses:
  14010. "200":
  14011. description: OK
  14012. schema:
  14013. items:
  14014. $ref: '#/definitions/ermcp.QryOPLogRsp'
  14015. type: array
  14016. "500":
  14017. description: Internal Server Error
  14018. schema:
  14019. $ref: '#/definitions/app.Response'
  14020. security:
  14021. - ApiKeyAuth: []
  14022. summary: 查询变更记录
  14023. tags:
  14024. - 企业风险管理(app)
  14025. /Ermcp/QueryContract:
  14026. get:
  14027. parameters:
  14028. - description: 用户ID
  14029. in: query
  14030. name: userId
  14031. required: true
  14032. type: integer
  14033. - description: 合同类型 1-采购, -1-销售
  14034. in: query
  14035. name: contracttype
  14036. required: true
  14037. type: integer
  14038. - description: 查询类型 1-全部 2-待点价 3-履约结算
  14039. in: query
  14040. name: querytype
  14041. required: true
  14042. type: integer
  14043. - description: 合同ID(SpotContractId)
  14044. in: query
  14045. name: contractid
  14046. type: string
  14047. produces:
  14048. - application/json
  14049. responses:
  14050. "200":
  14051. description: OK
  14052. schema:
  14053. items:
  14054. $ref: '#/definitions/ermcp.QryErmcpRsp'
  14055. type: array
  14056. "500":
  14057. description: Internal Server Error
  14058. schema:
  14059. $ref: '#/definitions/app.Response'
  14060. security:
  14061. - ApiKeyAuth: []
  14062. summary: 查询合同(采购和销售)
  14063. tags:
  14064. - 企业风险管理(app)
  14065. /Ermcp/QueryErmcpHisOrderDetails:
  14066. get:
  14067. parameters:
  14068. - description: 资金账户ID
  14069. in: query
  14070. name: accountID
  14071. required: true
  14072. type: integer
  14073. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  14074. in: query
  14075. name: startDate
  14076. type: string
  14077. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  14078. in: query
  14079. name: endDate
  14080. type: string
  14081. produces:
  14082. - application/json
  14083. responses:
  14084. "200":
  14085. description: OK
  14086. schema:
  14087. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  14088. "500":
  14089. description: Internal Server Error
  14090. schema:
  14091. $ref: '#/definitions/app.Response'
  14092. security:
  14093. - ApiKeyAuth: []
  14094. summary: 获取企业风管期货历史委托单信息
  14095. tags:
  14096. - 企业风险管理(app)
  14097. /Ermcp/QueryErmcpHisTradeDetails:
  14098. get:
  14099. parameters:
  14100. - description: 资金账户ID
  14101. in: query
  14102. name: accountID
  14103. required: true
  14104. type: integer
  14105. - description: 商品ID
  14106. in: query
  14107. name: goodsID
  14108. type: integer
  14109. - description: 买卖方向,0:买 1:卖
  14110. in: query
  14111. name: buyOrSell
  14112. type: integer
  14113. - description: 关联委托单号
  14114. in: query
  14115. name: orderID
  14116. type: integer
  14117. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  14118. in: query
  14119. name: startDate
  14120. type: string
  14121. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  14122. in: query
  14123. name: endDate
  14124. type: string
  14125. produces:
  14126. - application/json
  14127. responses:
  14128. "200":
  14129. description: OK
  14130. schema:
  14131. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  14132. "500":
  14133. description: Internal Server Error
  14134. schema:
  14135. $ref: '#/definitions/app.Response'
  14136. security:
  14137. - ApiKeyAuth: []
  14138. summary: 获取企业风管期货历史成交单信息
  14139. tags:
  14140. - 企业风险管理(app)
  14141. /Ermcp/QueryErmcpInnerHolderDetails:
  14142. get:
  14143. parameters:
  14144. - description: 资金账户ID
  14145. in: query
  14146. name: accountID
  14147. required: true
  14148. type: integer
  14149. - description: 商品ID
  14150. in: query
  14151. name: goodsID
  14152. type: integer
  14153. - description: 买卖方向,0:买 1:卖
  14154. in: query
  14155. name: buyOrSell
  14156. type: integer
  14157. produces:
  14158. - application/json
  14159. responses:
  14160. "200":
  14161. description: OK
  14162. schema:
  14163. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  14164. "500":
  14165. description: Internal Server Error
  14166. schema:
  14167. $ref: '#/definitions/app.Response'
  14168. security:
  14169. - ApiKeyAuth: []
  14170. summary: 获取企业风管期货内部持仓单信息
  14171. tags:
  14172. - 企业风险管理(app)
  14173. /Ermcp/QueryErmcpOrderDetails:
  14174. get:
  14175. parameters:
  14176. - description: 资金账户ID
  14177. in: query
  14178. name: accountID
  14179. required: true
  14180. type: integer
  14181. produces:
  14182. - application/json
  14183. responses:
  14184. "200":
  14185. description: OK
  14186. schema:
  14187. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  14188. "500":
  14189. description: Internal Server Error
  14190. schema:
  14191. $ref: '#/definitions/app.Response'
  14192. security:
  14193. - ApiKeyAuth: []
  14194. summary: 获取企业风管期货委托单信息
  14195. tags:
  14196. - 企业风险管理(app)
  14197. /Ermcp/QueryErmcpTradeDetails:
  14198. get:
  14199. parameters:
  14200. - description: 资金账户ID
  14201. in: query
  14202. name: accountID
  14203. required: true
  14204. type: integer
  14205. - description: 商品ID
  14206. in: query
  14207. name: goodsID
  14208. type: integer
  14209. - description: 买卖方向,0:买 1:卖
  14210. in: query
  14211. name: buyOrSell
  14212. type: integer
  14213. - description: 关联委托单号
  14214. in: query
  14215. name: orderID
  14216. type: integer
  14217. produces:
  14218. - application/json
  14219. responses:
  14220. "200":
  14221. description: OK
  14222. schema:
  14223. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  14224. "500":
  14225. description: Internal Server Error
  14226. schema:
  14227. $ref: '#/definitions/app.Response'
  14228. security:
  14229. - ApiKeyAuth: []
  14230. summary: 获取企业风管期货成交单信息
  14231. tags:
  14232. - 企业风险管理(app)
  14233. /Ermcp/QueryErmcpTradePosition:
  14234. get:
  14235. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  14236. parameters:
  14237. - description: 资金账户ID
  14238. in: query
  14239. name: accountID
  14240. required: true
  14241. type: integer
  14242. - description: 所属市场ID
  14243. in: query
  14244. name: marketID
  14245. type: integer
  14246. produces:
  14247. - application/json
  14248. responses:
  14249. "200":
  14250. description: OK
  14251. schema:
  14252. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  14253. "500":
  14254. description: Internal Server Error
  14255. schema:
  14256. $ref: '#/definitions/app.Response'
  14257. security:
  14258. - ApiKeyAuth: []
  14259. summary: 获取企业风管期货持仓头寸信息
  14260. tags:
  14261. - 企业风险管理(app)
  14262. /Ermcp/QueryExposureDetail:
  14263. get:
  14264. parameters:
  14265. - description: 所属机构ID
  14266. in: query
  14267. name: areaUserId
  14268. required: true
  14269. type: integer
  14270. - description: 套保商品
  14271. in: query
  14272. name: middleGoodsId
  14273. required: true
  14274. type: integer
  14275. produces:
  14276. - application/json
  14277. responses:
  14278. "200":
  14279. description: OK
  14280. schema:
  14281. items:
  14282. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  14283. type: array
  14284. "500":
  14285. description: Internal Server Error
  14286. schema:
  14287. $ref: '#/definitions/app.Response'
  14288. security:
  14289. - ApiKeyAuth: []
  14290. summary: 查询敞口现货明细
  14291. tags:
  14292. - 企业风险管理(app)
  14293. /Ermcp/QueryExposureHedgePosition:
  14294. get:
  14295. parameters:
  14296. - description: 所属机构ID
  14297. in: query
  14298. name: areaUserId
  14299. required: true
  14300. type: integer
  14301. produces:
  14302. - application/json
  14303. responses:
  14304. "200":
  14305. description: OK
  14306. schema:
  14307. items:
  14308. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  14309. type: array
  14310. "500":
  14311. description: Internal Server Error
  14312. schema:
  14313. $ref: '#/definitions/app.Response'
  14314. security:
  14315. - ApiKeyAuth: []
  14316. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  14317. tags:
  14318. - 企业风险管理(app)
  14319. /Ermcp/QueryExposureHedgePositionDetail:
  14320. get:
  14321. parameters:
  14322. - description: 所属机构ID
  14323. in: query
  14324. name: areaUserId
  14325. required: true
  14326. type: integer
  14327. - description: 商品id
  14328. in: query
  14329. name: goodsId
  14330. required: true
  14331. type: integer
  14332. produces:
  14333. - application/json
  14334. responses:
  14335. "200":
  14336. description: OK
  14337. schema:
  14338. items:
  14339. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  14340. type: array
  14341. "500":
  14342. description: Internal Server Error
  14343. schema:
  14344. $ref: '#/definitions/app.Response'
  14345. security:
  14346. - ApiKeyAuth: []
  14347. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  14348. tags:
  14349. - 企业风险管理(app)
  14350. /Ermcp/QueryExposureSpot:
  14351. get:
  14352. parameters:
  14353. - description: 所属机构ID
  14354. in: query
  14355. name: areaUserId
  14356. required: true
  14357. type: integer
  14358. produces:
  14359. - application/json
  14360. responses:
  14361. "200":
  14362. description: OK
  14363. schema:
  14364. items:
  14365. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  14366. type: array
  14367. "500":
  14368. description: Internal Server Error
  14369. schema:
  14370. $ref: '#/definitions/app.Response'
  14371. security:
  14372. - ApiKeyAuth: []
  14373. summary: 查询敞口现货头寸(敞口/现货头寸)
  14374. tags:
  14375. - 企业风险管理(app)
  14376. /Ermcp/QueryExposureSpotDetail:
  14377. get:
  14378. parameters:
  14379. - description: 所属机构ID
  14380. in: query
  14381. name: areaUserId
  14382. required: true
  14383. type: integer
  14384. - description: 现货品种ID
  14385. in: query
  14386. name: wrstandardId
  14387. required: true
  14388. type: integer
  14389. produces:
  14390. - application/json
  14391. responses:
  14392. "200":
  14393. description: OK
  14394. schema:
  14395. items:
  14396. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  14397. type: array
  14398. "500":
  14399. description: Internal Server Error
  14400. schema:
  14401. $ref: '#/definitions/app.Response'
  14402. security:
  14403. - ApiKeyAuth: []
  14404. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  14405. tags:
  14406. - 企业风险管理(app)
  14407. /Ermcp/QueryFuturesCompany:
  14408. get:
  14409. produces:
  14410. - application/json
  14411. responses:
  14412. "200":
  14413. description: OK
  14414. schema:
  14415. items:
  14416. $ref: '#/definitions/models.ErmcpFuturesCompany'
  14417. type: array
  14418. "500":
  14419. description: Internal Server Error
  14420. schema:
  14421. $ref: '#/definitions/app.Response'
  14422. security:
  14423. - ApiKeyAuth: []
  14424. summary: 查询期货公司
  14425. tags:
  14426. - 企业风险管理(app)
  14427. /Ermcp/QueryGGConvertConfig:
  14428. get:
  14429. parameters:
  14430. - description: 品种id(不填则查所有)
  14431. in: query
  14432. name: goodsgroupid
  14433. type: integer
  14434. produces:
  14435. - application/json
  14436. responses:
  14437. "200":
  14438. description: OK
  14439. schema:
  14440. items:
  14441. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  14442. type: array
  14443. "500":
  14444. description: Internal Server Error
  14445. schema:
  14446. $ref: '#/definitions/app.Response'
  14447. security:
  14448. - ApiKeyAuth: []
  14449. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  14450. tags:
  14451. - 企业风险管理(app)
  14452. /Ermcp/QueryGoodsBrand:
  14453. get:
  14454. parameters:
  14455. - description: 用户ID
  14456. in: query
  14457. name: userid
  14458. required: true
  14459. type: integer
  14460. - description: 现货商品ID
  14461. in: query
  14462. name: wrstandardid
  14463. type: integer
  14464. produces:
  14465. - application/json
  14466. responses:
  14467. "200":
  14468. description: OK
  14469. schema:
  14470. items:
  14471. $ref: '#/definitions/models.ErmcpGoodsBrand'
  14472. type: array
  14473. "500":
  14474. description: Internal Server Error
  14475. schema:
  14476. $ref: '#/definitions/app.Response'
  14477. security:
  14478. - ApiKeyAuth: []
  14479. summary: 查询商品品牌
  14480. tags:
  14481. - 企业风险管理(app)
  14482. /Ermcp/QueryGoodsModel:
  14483. get:
  14484. parameters:
  14485. - description: 用户ID
  14486. in: query
  14487. name: userid
  14488. required: true
  14489. type: integer
  14490. produces:
  14491. - application/json
  14492. responses:
  14493. "200":
  14494. description: OK
  14495. schema:
  14496. items:
  14497. $ref: '#/definitions/models.ErmcpGoodsModel'
  14498. type: array
  14499. "500":
  14500. description: Internal Server Error
  14501. schema:
  14502. $ref: '#/definitions/app.Response'
  14503. security:
  14504. - ApiKeyAuth: []
  14505. summary: 查询商品型号
  14506. tags:
  14507. - 企业风险管理(app)
  14508. /Ermcp/QueryHedgePlan:
  14509. get:
  14510. parameters:
  14511. - description: 用户ID
  14512. in: query
  14513. name: userId
  14514. required: true
  14515. type: integer
  14516. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  14517. in: query
  14518. name: HedgePlanStatus
  14519. required: true
  14520. type: string
  14521. produces:
  14522. - application/json
  14523. responses:
  14524. "200":
  14525. description: OK
  14526. schema:
  14527. items:
  14528. $ref: '#/definitions/ermcp.QryHedgePlanRsp'
  14529. type: array
  14530. "500":
  14531. description: Internal Server Error
  14532. schema:
  14533. $ref: '#/definitions/app.Response'
  14534. security:
  14535. - ApiKeyAuth: []
  14536. summary: 查询套保计划
  14537. tags:
  14538. - 企业风险管理(app)
  14539. /Ermcp/QueryHisExposure:
  14540. get:
  14541. parameters:
  14542. - description: 所属机构ID
  14543. in: query
  14544. name: areaUserId
  14545. required: true
  14546. type: integer
  14547. - description: 每个品种记录数
  14548. in: query
  14549. name: lastNum
  14550. required: true
  14551. type: integer
  14552. produces:
  14553. - application/json
  14554. responses:
  14555. "200":
  14556. description: OK
  14557. schema:
  14558. items:
  14559. $ref: '#/definitions/ermcp.HisExposureRsp'
  14560. type: array
  14561. "500":
  14562. description: Internal Server Error
  14563. schema:
  14564. $ref: '#/definitions/app.Response'
  14565. security:
  14566. - ApiKeyAuth: []
  14567. summary: 查询历史敞口(菜单:敞口/历史敞口)
  14568. tags:
  14569. - 企业风险管理(app)
  14570. /Ermcp/QueryMiddleGoods:
  14571. get:
  14572. parameters:
  14573. - description: 所属机构ID
  14574. in: query
  14575. name: userid
  14576. required: true
  14577. type: integer
  14578. - description: 状态 0-停用 1-正常
  14579. in: query
  14580. name: status
  14581. required: true
  14582. type: integer
  14583. produces:
  14584. - application/json
  14585. responses:
  14586. "200":
  14587. description: OK
  14588. schema:
  14589. items:
  14590. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  14591. type: array
  14592. "500":
  14593. description: Internal Server Error
  14594. schema:
  14595. $ref: '#/definitions/app.Response'
  14596. security:
  14597. - ApiKeyAuth: []
  14598. summary: 查询套保品种(菜单:套保品种)
  14599. tags:
  14600. - 企业风险管理(app)
  14601. /Ermcp/QueryMiddleGoodsChangeLog:
  14602. get:
  14603. parameters:
  14604. - description: 所属机构ID
  14605. in: query
  14606. name: userid
  14607. required: true
  14608. type: integer
  14609. - description: 套保品种id
  14610. in: query
  14611. name: middlegoodsid
  14612. required: true
  14613. type: integer
  14614. produces:
  14615. - application/json
  14616. responses:
  14617. "200":
  14618. description: OK
  14619. schema:
  14620. items:
  14621. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  14622. type: array
  14623. "500":
  14624. description: Internal Server Error
  14625. schema:
  14626. $ref: '#/definitions/app.Response'
  14627. security:
  14628. - ApiKeyAuth: []
  14629. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  14630. tags:
  14631. - 企业风险管理(app)
  14632. /Ermcp/QueryMiddleGoodsDetail:
  14633. get:
  14634. parameters:
  14635. - description: 所属机构ID
  14636. in: query
  14637. name: userid
  14638. required: true
  14639. type: integer
  14640. - description: 套保品种id
  14641. in: query
  14642. name: middlegoodsid
  14643. type: integer
  14644. produces:
  14645. - application/json
  14646. responses:
  14647. "200":
  14648. description: OK
  14649. schema:
  14650. items:
  14651. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  14652. type: array
  14653. "500":
  14654. description: Internal Server Error
  14655. schema:
  14656. $ref: '#/definitions/app.Response'
  14657. security:
  14658. - ApiKeyAuth: []
  14659. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  14660. tags:
  14661. - 企业风险管理(app)
  14662. /Ermcp/QueryPendingAuditInfo:
  14663. get:
  14664. parameters:
  14665. - description: 用户ID
  14666. in: query
  14667. name: UserId
  14668. required: true
  14669. type: integer
  14670. produces:
  14671. - application/json
  14672. responses:
  14673. "200":
  14674. description: OK
  14675. schema:
  14676. items:
  14677. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  14678. type: array
  14679. "500":
  14680. description: Internal Server Error
  14681. schema:
  14682. $ref: '#/definitions/app.Response'
  14683. security:
  14684. - ApiKeyAuth: []
  14685. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  14686. tags:
  14687. - 企业风险管理(app)
  14688. /Ermcp/QueryRealtimeExposure:
  14689. get:
  14690. parameters:
  14691. - description: 所属机构ID
  14692. in: query
  14693. name: AreaUserID
  14694. required: true
  14695. type: integer
  14696. produces:
  14697. - application/json
  14698. responses:
  14699. "200":
  14700. description: OK
  14701. schema:
  14702. items:
  14703. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  14704. type: array
  14705. "500":
  14706. description: Internal Server Error
  14707. schema:
  14708. $ref: '#/definitions/app.Response'
  14709. security:
  14710. - ApiKeyAuth: []
  14711. summary: 查询实时敞口
  14712. tags:
  14713. - 企业风险管理(app)
  14714. /Ermcp/QueryRealtimeExposurePosition:
  14715. get:
  14716. parameters:
  14717. - description: 所属机构ID
  14718. in: query
  14719. name: areaUserId
  14720. required: true
  14721. type: integer
  14722. - description: 套保商品ID
  14723. in: query
  14724. name: middleGoodsId
  14725. required: true
  14726. type: integer
  14727. produces:
  14728. - application/json
  14729. responses:
  14730. "200":
  14731. description: OK
  14732. schema:
  14733. items:
  14734. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  14735. type: array
  14736. "500":
  14737. description: Internal Server Error
  14738. schema:
  14739. $ref: '#/definitions/app.Response'
  14740. security:
  14741. - ApiKeyAuth: []
  14742. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  14743. tags:
  14744. - 企业风险管理(app)
  14745. /Ermcp/QuerySpotContract:
  14746. get:
  14747. parameters:
  14748. - description: 用户ID
  14749. in: query
  14750. name: userId
  14751. required: true
  14752. type: integer
  14753. - description: 查询类型 1-未提交 2-待审核 3-履约中 4-已完成
  14754. in: query
  14755. name: QueryType
  14756. required: true
  14757. type: integer
  14758. produces:
  14759. - application/json
  14760. responses:
  14761. "200":
  14762. description: OK
  14763. schema:
  14764. items:
  14765. $ref: '#/definitions/ermcp.QrySpotContractRsp'
  14766. type: array
  14767. "500":
  14768. description: Internal Server Error
  14769. schema:
  14770. $ref: '#/definitions/app.Response'
  14771. security:
  14772. - ApiKeyAuth: []
  14773. summary: 查询现货合同(对应现货合同菜单)
  14774. tags:
  14775. - 企业风险管理(app)
  14776. /Ermcp/QuerySpotGoodsPrice:
  14777. get:
  14778. parameters:
  14779. - description: 用户ID
  14780. in: query
  14781. name: userid
  14782. required: true
  14783. type: integer
  14784. produces:
  14785. - application/json
  14786. responses:
  14787. "200":
  14788. description: OK
  14789. schema:
  14790. items:
  14791. $ref: '#/definitions/models.ErmcpSpotGoodsPrice'
  14792. type: array
  14793. "500":
  14794. description: Internal Server Error
  14795. schema:
  14796. $ref: '#/definitions/app.Response'
  14797. security:
  14798. - ApiKeyAuth: []
  14799. summary: 查询现货市价(现货市价)
  14800. tags:
  14801. - 企业风险管理(app)
  14802. /Ermcp/QuerySpotGoodsPriceLog:
  14803. get:
  14804. parameters:
  14805. - description: 用户ID
  14806. in: query
  14807. name: userid
  14808. required: true
  14809. type: integer
  14810. - description: 现货商品ID
  14811. in: query
  14812. name: wrstandardid
  14813. required: true
  14814. type: integer
  14815. produces:
  14816. - application/json
  14817. responses:
  14818. "200":
  14819. description: OK
  14820. schema:
  14821. items:
  14822. $ref: '#/definitions/models.ErmcpSpotGoodsPriceLog'
  14823. type: array
  14824. "500":
  14825. description: Internal Server Error
  14826. schema:
  14827. $ref: '#/definitions/app.Response'
  14828. security:
  14829. - ApiKeyAuth: []
  14830. summary: 查询现货市价详情(现货市价/详情)
  14831. tags:
  14832. - 企业风险管理(app)
  14833. /Ermcp/QueryTradeConfigTMP:
  14834. get:
  14835. parameters:
  14836. - description: 所属机构id
  14837. in: query
  14838. name: areauserid
  14839. type: integer
  14840. produces:
  14841. - application/json
  14842. responses:
  14843. "200":
  14844. description: OK
  14845. schema:
  14846. items:
  14847. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  14848. type: array
  14849. "500":
  14850. description: Internal Server Error
  14851. schema:
  14852. $ref: '#/definitions/app.Response'
  14853. security:
  14854. - ApiKeyAuth: []
  14855. summary: 查询交易模板配置
  14856. tags:
  14857. - 企业风险管理(app)
  14858. /Ermcp/QueryUserInfo:
  14859. get:
  14860. parameters:
  14861. - description: 所属机构用户ID
  14862. in: query
  14863. name: MemberUserID
  14864. required: true
  14865. type: integer
  14866. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  14867. in: query
  14868. name: queryType
  14869. required: true
  14870. type: integer
  14871. produces:
  14872. - application/json
  14873. responses:
  14874. "200":
  14875. description: OK
  14876. schema:
  14877. items:
  14878. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  14879. type: array
  14880. "500":
  14881. description: Internal Server Error
  14882. schema:
  14883. $ref: '#/definitions/app.Response'
  14884. security:
  14885. - ApiKeyAuth: []
  14886. summary: 查询客户资料
  14887. tags:
  14888. - 企业风险管理(app)
  14889. /Ermcp/QueryWarehouseInfo:
  14890. get:
  14891. parameters:
  14892. - description: 用户ID
  14893. in: query
  14894. name: userid
  14895. required: true
  14896. type: integer
  14897. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  14898. in: query
  14899. name: status
  14900. type: string
  14901. produces:
  14902. - application/json
  14903. responses:
  14904. "200":
  14905. description: OK
  14906. schema:
  14907. items:
  14908. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  14909. type: array
  14910. "500":
  14911. description: Internal Server Error
  14912. schema:
  14913. $ref: '#/definitions/app.Response'
  14914. security:
  14915. - ApiKeyAuth: []
  14916. summary: 查询仓库信息
  14917. tags:
  14918. - 企业风险管理(app)
  14919. /Ermcp/QueryWrStandard:
  14920. get:
  14921. parameters:
  14922. - description: 所属机构ID
  14923. in: query
  14924. name: userid
  14925. required: true
  14926. type: integer
  14927. - description: 状态 0-停用 1-正常
  14928. in: query
  14929. name: status
  14930. required: true
  14931. type: integer
  14932. produces:
  14933. - application/json
  14934. responses:
  14935. "200":
  14936. description: OK
  14937. schema:
  14938. items:
  14939. $ref: '#/definitions/ermcp.QryWrStandardRsp'
  14940. type: array
  14941. "500":
  14942. description: Internal Server Error
  14943. schema:
  14944. $ref: '#/definitions/app.Response'
  14945. security:
  14946. - ApiKeyAuth: []
  14947. summary: 查询现货商品
  14948. tags:
  14949. - 企业风险管理(app)
  14950. /Ermcp/QueryWrStandardDetail:
  14951. get:
  14952. parameters:
  14953. - description: 所属机构ID
  14954. in: query
  14955. name: userid
  14956. required: true
  14957. type: integer
  14958. - description: 现货商品ID
  14959. in: query
  14960. name: wrstandardid
  14961. type: integer
  14962. - description: 可不填, 1-查询关联交易商品
  14963. in: query
  14964. name: goods
  14965. type: integer
  14966. produces:
  14967. - application/json
  14968. responses:
  14969. "200":
  14970. description: OK
  14971. schema:
  14972. items:
  14973. $ref: '#/definitions/ermcp.QryWrStandardDetailRsp'
  14974. type: array
  14975. "500":
  14976. description: Internal Server Error
  14977. schema:
  14978. $ref: '#/definitions/app.Response'
  14979. security:
  14980. - ApiKeyAuth: []
  14981. summary: 查询现货商品详情(菜单:现货品种/现货品种详情)
  14982. tags:
  14983. - 企业风险管理(app)
  14984. /Ermcp3/QryReportAreaSpotPL:
  14985. get:
  14986. parameters:
  14987. - description: 用户ID
  14988. in: query
  14989. name: userid
  14990. required: true
  14991. type: integer
  14992. - description: 查询类型 1-日报表 2-月报表
  14993. in: query
  14994. name: querytype
  14995. required: true
  14996. type: integer
  14997. - description: 查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)
  14998. in: query
  14999. name: querydate
  15000. required: true
  15001. type: string
  15002. - description: 现货商品ID
  15003. in: query
  15004. name: deliverygoodsid
  15005. type: integer
  15006. - description: 品牌ID
  15007. in: query
  15008. name: spotgoodsbrandid
  15009. type: integer
  15010. - description: 品类ID
  15011. in: query
  15012. name: wrstandardid
  15013. type: integer
  15014. produces:
  15015. - application/json
  15016. responses:
  15017. "200":
  15018. description: OK
  15019. schema:
  15020. items:
  15021. $ref: '#/definitions/models.Ermcp3ReportAreaSpotPL'
  15022. type: array
  15023. "500":
  15024. description: Internal Server Error
  15025. schema:
  15026. $ref: '#/definitions/app.Response'
  15027. security:
  15028. - ApiKeyAuth: []
  15029. summary: 查询现货损益报表(现货损益报表)
  15030. tags:
  15031. - 企业风险管理v3(app)
  15032. /Ermcp3/QryReportDayFinanceFp:
  15033. get:
  15034. parameters:
  15035. - description: 用户ID
  15036. in: query
  15037. name: userid
  15038. required: true
  15039. type: integer
  15040. - description: 交易日(格式:yyyyMMdd)
  15041. in: query
  15042. name: tradedate
  15043. required: true
  15044. type: string
  15045. produces:
  15046. - application/json
  15047. responses:
  15048. "200":
  15049. description: OK
  15050. schema:
  15051. items:
  15052. $ref: '#/definitions/models.Ermcp3ReportOPLog'
  15053. type: array
  15054. "500":
  15055. description: Internal Server Error
  15056. schema:
  15057. $ref: '#/definitions/app.Response'
  15058. security:
  15059. - ApiKeyAuth: []
  15060. summary: 查询财务日报表发票(菜单:报表查询/财务报表/日报表/发票)
  15061. tags:
  15062. - 企业风险管理v3(app)
  15063. /Ermcp3/QryReportDayFinanceKx:
  15064. get:
  15065. parameters:
  15066. - description: 用户ID
  15067. in: query
  15068. name: userid
  15069. required: true
  15070. type: integer
  15071. - description: 交易日(格式:yyyyMMdd)
  15072. in: query
  15073. name: tradedate
  15074. required: true
  15075. type: string
  15076. produces:
  15077. - application/json
  15078. responses:
  15079. "200":
  15080. description: OK
  15081. schema:
  15082. items:
  15083. $ref: '#/definitions/models.Ermcp3ReportOPLog'
  15084. type: array
  15085. "500":
  15086. description: Internal Server Error
  15087. schema:
  15088. $ref: '#/definitions/app.Response'
  15089. security:
  15090. - ApiKeyAuth: []
  15091. summary: 查询财务日报表款项(菜单:报表查询/财务报表/日报表/款项)
  15092. tags:
  15093. - 企业风险管理v3(app)
  15094. /Ermcp3/QryReportDaySpot:
  15095. get:
  15096. parameters:
  15097. - description: 所属机构id
  15098. in: query
  15099. name: areauserid
  15100. required: true
  15101. type: integer
  15102. - description: 交易日(格式:yyyyMMdd)
  15103. in: query
  15104. name: reckondate
  15105. required: true
  15106. type: string
  15107. - description: 期货账户ID
  15108. in: query
  15109. name: accountid
  15110. type: integer
  15111. - description: 现货品种ID
  15112. in: query
  15113. name: deliverygoodsid
  15114. type: integer
  15115. - description: 品类ID
  15116. in: query
  15117. name: wrstandardid
  15118. type: integer
  15119. - description: 现货品牌ID
  15120. in: query
  15121. name: spotgoodsbrandid
  15122. type: integer
  15123. produces:
  15124. - application/json
  15125. responses:
  15126. "200":
  15127. description: OK
  15128. schema:
  15129. items:
  15130. $ref: '#/definitions/models.Ermcp3ReckonAreaSpotSub'
  15131. type: array
  15132. "500":
  15133. description: Internal Server Error
  15134. schema:
  15135. $ref: '#/definitions/app.Response'
  15136. security:
  15137. - ApiKeyAuth: []
  15138. summary: 查询现货日报表(菜单:报表查询/现货报表/现货日报表)
  15139. tags:
  15140. - 企业风险管理v3(app)
  15141. /Ermcp3/QryReportDaySpotDetail:
  15142. get:
  15143. parameters:
  15144. - description: 用户ID
  15145. in: query
  15146. name: userid
  15147. required: true
  15148. type: integer
  15149. - description: 现货商品id
  15150. in: query
  15151. name: deliverygoodsid
  15152. required: true
  15153. type: integer
  15154. - description: 交易日(格式:yyyyMMdd)
  15155. in: query
  15156. name: tradedate
  15157. required: true
  15158. type: string
  15159. - description: 品类ID
  15160. in: query
  15161. name: wrstandardid
  15162. type: integer
  15163. - description: 现货品牌ID
  15164. in: query
  15165. name: spotgoodsbrandid
  15166. type: integer
  15167. produces:
  15168. - application/json
  15169. responses:
  15170. "200":
  15171. description: OK
  15172. schema:
  15173. items:
  15174. $ref: '#/definitions/models.Ermcp3ReportOPLog'
  15175. type: array
  15176. "500":
  15177. description: Internal Server Error
  15178. schema:
  15179. $ref: '#/definitions/app.Response'
  15180. security:
  15181. - ApiKeyAuth: []
  15182. summary: 查询现货日报表详情(菜单:报表查询/现货报表/现货日报表详情)
  15183. tags:
  15184. - 企业风险管理v3(app)
  15185. /Ermcp3/QryReportMonthSpot:
  15186. get:
  15187. parameters:
  15188. - description: 所属机构id
  15189. in: query
  15190. name: areauserid
  15191. required: true
  15192. type: integer
  15193. - description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  15194. in: query
  15195. name: cycletype
  15196. required: true
  15197. type: integer
  15198. - description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  15199. in: query
  15200. name: cycletime
  15201. required: true
  15202. type: string
  15203. - description: 期货账户ID
  15204. in: query
  15205. name: accountid
  15206. type: integer
  15207. - description: 现货品种ID
  15208. in: query
  15209. name: deliverygoodsid
  15210. type: integer
  15211. - description: 品类ID
  15212. in: query
  15213. name: wrstandardid
  15214. type: integer
  15215. - description: 现货品牌ID
  15216. in: query
  15217. name: spotgoodsbrandid
  15218. type: integer
  15219. produces:
  15220. - application/json
  15221. responses:
  15222. "200":
  15223. description: OK
  15224. schema:
  15225. items:
  15226. $ref: '#/definitions/models.Ermcp3ReportAreaSpotSub'
  15227. type: array
  15228. "500":
  15229. description: Internal Server Error
  15230. schema:
  15231. $ref: '#/definitions/app.Response'
  15232. security:
  15233. - ApiKeyAuth: []
  15234. summary: 查询现货月报表(菜单:报表查询/现货报表/现货月报表)
  15235. tags:
  15236. - 企业风险管理v3(app)
  15237. /Ermcp3/QryReportMonthSpotDetail:
  15238. get:
  15239. parameters:
  15240. - description: 所属机构id
  15241. in: query
  15242. name: areauserid
  15243. required: true
  15244. type: integer
  15245. - description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  15246. in: query
  15247. name: cycletype
  15248. required: true
  15249. type: integer
  15250. - description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  15251. in: query
  15252. name: cycletime
  15253. required: true
  15254. type: string
  15255. - description: 期货账户ID
  15256. in: query
  15257. name: accountid
  15258. type: integer
  15259. - description: 现货品种ID
  15260. in: query
  15261. name: deliverygoodsid
  15262. type: integer
  15263. - description: 品类ID
  15264. in: query
  15265. name: wrstandardid
  15266. type: integer
  15267. - description: 现货品牌ID
  15268. in: query
  15269. name: spotgoodsbrandid
  15270. type: integer
  15271. produces:
  15272. - application/json
  15273. responses:
  15274. "200":
  15275. description: OK
  15276. schema:
  15277. items:
  15278. $ref: '#/definitions/models.Ermcp3ReportAreaSpotSub'
  15279. type: array
  15280. "500":
  15281. description: Internal Server Error
  15282. schema:
  15283. $ref: '#/definitions/app.Response'
  15284. security:
  15285. - ApiKeyAuth: []
  15286. summary: 查询现货月报表详情(菜单:报表查询/现货月报表/现货月报表详情)
  15287. tags:
  15288. - 企业风险管理v3(app)
  15289. /Ermcp3/QueryAreaStock:
  15290. get:
  15291. parameters:
  15292. - description: 用户ID
  15293. in: query
  15294. name: userid
  15295. required: true
  15296. type: integer
  15297. produces:
  15298. - application/json
  15299. responses:
  15300. "200":
  15301. description: OK
  15302. schema:
  15303. items:
  15304. $ref: '#/definitions/models.Ermcp3AreaStock'
  15305. type: array
  15306. "500":
  15307. description: Internal Server Error
  15308. schema:
  15309. $ref: '#/definitions/app.Response'
  15310. security:
  15311. - ApiKeyAuth: []
  15312. summary: 查询机构库存(库存管理/当前库存)
  15313. tags:
  15314. - 企业风险管理v3(app)
  15315. /Ermcp3/QueryAreaStockApply:
  15316. get:
  15317. parameters:
  15318. - description: 用户ID
  15319. in: query
  15320. name: userid
  15321. required: true
  15322. type: integer
  15323. - description: 现货商品ID
  15324. in: query
  15325. name: deliverygoodsid
  15326. type: integer
  15327. - description: 出入库类型(可多项,逗号隔开) 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  15328. in: query
  15329. name: inouttype
  15330. type: string
  15331. - description: 合同ID
  15332. in: query
  15333. name: spotcontractid
  15334. type: integer
  15335. - description: 品类ID
  15336. in: query
  15337. name: wrstandardid
  15338. type: integer
  15339. - description: 品牌ID
  15340. in: query
  15341. name: spotgoodsbrandid
  15342. type: integer
  15343. - description: 仓库ID
  15344. in: query
  15345. name: warehouseinfoid
  15346. type: integer
  15347. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  15348. in: query
  15349. name: applystatus
  15350. type: string
  15351. produces:
  15352. - application/json
  15353. responses:
  15354. "200":
  15355. description: OK
  15356. schema:
  15357. items:
  15358. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  15359. type: array
  15360. "500":
  15361. description: Internal Server Error
  15362. schema:
  15363. $ref: '#/definitions/app.Response'
  15364. security:
  15365. - ApiKeyAuth: []
  15366. summary: 查询库存申请(出入库记录|库存审核)
  15367. tags:
  15368. - 企业风险管理v3(app)
  15369. /Ermcp3/QueryAreaStockApplySum:
  15370. get:
  15371. parameters:
  15372. - description: 合同ID
  15373. in: query
  15374. name: spotcontractid
  15375. type: integer
  15376. produces:
  15377. - application/json
  15378. responses:
  15379. "200":
  15380. description: OK
  15381. schema:
  15382. items:
  15383. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  15384. type: array
  15385. "500":
  15386. description: Internal Server Error
  15387. schema:
  15388. $ref: '#/definitions/app.Response'
  15389. security:
  15390. - ApiKeyAuth: []
  15391. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  15392. tags:
  15393. - 企业风险管理v3(app)
  15394. /Ermcp3/QueryAreaStockReport:
  15395. get:
  15396. parameters:
  15397. - description: 用户ID
  15398. in: query
  15399. name: userid
  15400. required: true
  15401. type: integer
  15402. - description: 查询类型 1-日报表 2-月报表
  15403. in: query
  15404. name: querytype
  15405. required: true
  15406. type: integer
  15407. - description: 查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)
  15408. in: query
  15409. name: querydate
  15410. required: true
  15411. type: string
  15412. - description: 现货商品ID
  15413. in: query
  15414. name: deliverygoodsid
  15415. type: integer
  15416. - description: 品类ID
  15417. in: query
  15418. name: wrstandardid
  15419. type: integer
  15420. - description: 品牌ID
  15421. in: query
  15422. name: spotgoodsbrandid
  15423. type: integer
  15424. - description: 仓库ID
  15425. in: query
  15426. name: warehouseinfoid
  15427. type: integer
  15428. produces:
  15429. - application/json
  15430. responses:
  15431. "200":
  15432. description: OK
  15433. schema:
  15434. items:
  15435. $ref: '#/definitions/models.Ermcp3AreaStockReport'
  15436. type: array
  15437. "500":
  15438. description: Internal Server Error
  15439. schema:
  15440. $ref: '#/definitions/app.Response'
  15441. security:
  15442. - ApiKeyAuth: []
  15443. summary: 查询库存报表
  15444. tags:
  15445. - 企业风险管理v3(app)
  15446. /Ermcp3/QueryAreaStockReportDetail:
  15447. get:
  15448. parameters:
  15449. - description: 用户ID
  15450. in: query
  15451. name: userid
  15452. required: true
  15453. type: integer
  15454. - description: 查询类型 1-日报表明细 2-月报表明细
  15455. in: query
  15456. name: querytype
  15457. required: true
  15458. type: integer
  15459. - description: 明细类型 1:入库明细(采购入库+生产入库) 2:出库明细(销售出库+生产出库)
  15460. in: query
  15461. name: detailtype
  15462. required: true
  15463. type: integer
  15464. - description: 查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)
  15465. in: query
  15466. name: querydate
  15467. required: true
  15468. type: string
  15469. - description: 现货商品ID
  15470. in: query
  15471. name: deliverygoodsid
  15472. type: integer
  15473. - description: 品类ID
  15474. in: query
  15475. name: wrstandardid
  15476. type: integer
  15477. - description: 品牌ID
  15478. in: query
  15479. name: spotgoodsbrandid
  15480. type: integer
  15481. - description: 仓库ID
  15482. in: query
  15483. name: warehouseinfoid
  15484. type: integer
  15485. produces:
  15486. - application/json
  15487. responses:
  15488. "200":
  15489. description: OK
  15490. schema:
  15491. items:
  15492. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  15493. type: array
  15494. "500":
  15495. description: Internal Server Error
  15496. schema:
  15497. $ref: '#/definitions/app.Response'
  15498. security:
  15499. - ApiKeyAuth: []
  15500. summary: 查询库存报表明细
  15501. tags:
  15502. - 企业风险管理v3(app)
  15503. /Ermcp3/QueryDGFactoryItem:
  15504. get:
  15505. parameters:
  15506. - description: 所属机构ID
  15507. in: query
  15508. name: areauserid
  15509. type: integer
  15510. - description: 选择项ID(SEQ_DGFACTORYITEM)
  15511. in: query
  15512. name: dgfactoryitemid
  15513. type: integer
  15514. - description: 现货品种ID
  15515. in: query
  15516. name: deliverygoodsid
  15517. type: integer
  15518. - description: 要素项类型
  15519. in: query
  15520. name: dgfactoryitemtypeid
  15521. type: integer
  15522. - description: 顺序
  15523. in: query
  15524. name: orderindex
  15525. type: integer
  15526. produces:
  15527. - application/json
  15528. responses:
  15529. "200":
  15530. description: OK
  15531. schema:
  15532. items:
  15533. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  15534. type: array
  15535. "500":
  15536. description: Internal Server Error
  15537. schema:
  15538. $ref: '#/definitions/app.Response'
  15539. security:
  15540. - ApiKeyAuth: []
  15541. summary: 查询品种要素定义项
  15542. tags:
  15543. - 企业风险管理v3(app)
  15544. /Ermcp3/QueryDeliveryGoods:
  15545. get:
  15546. parameters:
  15547. - description: 所属机构id
  15548. in: query
  15549. name: areauserid
  15550. required: true
  15551. type: integer
  15552. - description: 排除已配置的现货商品 1-排除
  15553. in: query
  15554. name: excludecfg
  15555. type: integer
  15556. produces:
  15557. - application/json
  15558. responses:
  15559. "200":
  15560. description: OK
  15561. schema:
  15562. items:
  15563. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  15564. type: array
  15565. "500":
  15566. description: Internal Server Error
  15567. schema:
  15568. $ref: '#/definitions/app.Response'
  15569. security:
  15570. - ApiKeyAuth: []
  15571. summary: 查询现货商品
  15572. tags:
  15573. - 企业风险管理v3(app)
  15574. /Ermcp3/QueryDeliveryGoodsDetail:
  15575. get:
  15576. parameters:
  15577. - description: 所属机构id
  15578. in: query
  15579. name: areauserid
  15580. required: true
  15581. type: integer
  15582. - description: 现货商品id
  15583. in: query
  15584. name: deliverygoodsid
  15585. type: integer
  15586. produces:
  15587. - application/json
  15588. responses:
  15589. "200":
  15590. description: OK
  15591. schema:
  15592. items:
  15593. $ref: '#/definitions/models.ErmcpDeliveryGoodsDetailEx'
  15594. type: array
  15595. "500":
  15596. description: Internal Server Error
  15597. schema:
  15598. $ref: '#/definitions/app.Response'
  15599. security:
  15600. - ApiKeyAuth: []
  15601. summary: 查询现货商品详情
  15602. tags:
  15603. - 企业风险管理v3(app)
  15604. /Ermcp3/QueryExposureDetail:
  15605. get:
  15606. parameters:
  15607. - description: 所属机构ID
  15608. in: query
  15609. name: areauserid
  15610. required: true
  15611. type: integer
  15612. - description: 套保商品
  15613. in: query
  15614. name: middlegoodsid
  15615. required: true
  15616. type: integer
  15617. produces:
  15618. - application/json
  15619. responses:
  15620. "200":
  15621. description: OK
  15622. schema:
  15623. items:
  15624. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  15625. type: array
  15626. "500":
  15627. description: Internal Server Error
  15628. schema:
  15629. $ref: '#/definitions/app.Response'
  15630. security:
  15631. - ApiKeyAuth: []
  15632. summary: 查询敞口现货明细
  15633. tags:
  15634. - 企业风险管理v3(app)
  15635. /Ermcp3/QueryExposureSpot:
  15636. get:
  15637. parameters:
  15638. - description: 所属机构ID
  15639. in: query
  15640. name: areauserid
  15641. required: true
  15642. type: integer
  15643. produces:
  15644. - application/json
  15645. responses:
  15646. "200":
  15647. description: OK
  15648. schema:
  15649. items:
  15650. $ref: '#/definitions/models.Ermcp3AreaSpot'
  15651. type: array
  15652. "500":
  15653. description: Internal Server Error
  15654. schema:
  15655. $ref: '#/definitions/app.Response'
  15656. security:
  15657. - ApiKeyAuth: []
  15658. summary: 查询敞口现货头寸(敞口/现货头寸)
  15659. tags:
  15660. - 企业风险管理v3(app)
  15661. /Ermcp3/QueryExposureSpotDetail:
  15662. get:
  15663. parameters:
  15664. - description: 所属机构ID
  15665. in: query
  15666. name: areauserid
  15667. required: true
  15668. type: integer
  15669. - description: 现货品种ID
  15670. in: query
  15671. name: deliverygoodsid
  15672. required: true
  15673. type: integer
  15674. produces:
  15675. - application/json
  15676. responses:
  15677. "200":
  15678. description: OK
  15679. schema:
  15680. items:
  15681. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  15682. type: array
  15683. "500":
  15684. description: Internal Server Error
  15685. schema:
  15686. $ref: '#/definitions/app.Response'
  15687. security:
  15688. - ApiKeyAuth: []
  15689. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  15690. tags:
  15691. - 企业风险管理v3(app)
  15692. /Ermcp3/QueryGoodsGroup:
  15693. get:
  15694. parameters:
  15695. - description: 所属机构id
  15696. in: query
  15697. name: areauserid
  15698. required: true
  15699. type: integer
  15700. - description: 排除套保品中已关联的商品组 1-排除
  15701. in: query
  15702. name: excludecfg
  15703. type: integer
  15704. produces:
  15705. - application/json
  15706. responses:
  15707. "200":
  15708. description: OK
  15709. schema:
  15710. items:
  15711. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  15712. type: array
  15713. "500":
  15714. description: Internal Server Error
  15715. schema:
  15716. $ref: '#/definitions/app.Response'
  15717. security:
  15718. - ApiKeyAuth: []
  15719. summary: 查询期货商品组
  15720. tags:
  15721. - 企业风险管理v3(app)
  15722. /Ermcp3/QueryGoodsWrstandard:
  15723. get:
  15724. parameters:
  15725. - description: 所属机构ID
  15726. in: query
  15727. name: areauserid
  15728. required: true
  15729. type: integer
  15730. - description: 现货商品id
  15731. in: query
  15732. name: deliverygoodsid
  15733. type: integer
  15734. produces:
  15735. - application/json
  15736. responses:
  15737. "200":
  15738. description: OK
  15739. schema:
  15740. items:
  15741. $ref: '#/definitions/models.Ermcp3Wrstandard'
  15742. type: array
  15743. "500":
  15744. description: Internal Server Error
  15745. schema:
  15746. $ref: '#/definitions/app.Response'
  15747. security:
  15748. - ApiKeyAuth: []
  15749. summary: 查询商品品类
  15750. tags:
  15751. - 企业风险管理v3(app)
  15752. /Ermcp3/QueryGoodsbrand:
  15753. get:
  15754. parameters:
  15755. - description: 所属机构ID
  15756. in: query
  15757. name: areauserid
  15758. required: true
  15759. type: integer
  15760. produces:
  15761. - application/json
  15762. responses:
  15763. "200":
  15764. description: OK
  15765. schema:
  15766. items:
  15767. $ref: '#/definitions/models.Ermcp3Brand'
  15768. type: array
  15769. "500":
  15770. description: Internal Server Error
  15771. schema:
  15772. $ref: '#/definitions/app.Response'
  15773. security:
  15774. - ApiKeyAuth: []
  15775. summary: 查询商品品牌
  15776. tags:
  15777. - 企业风险管理v3(app)
  15778. /Ermcp3/QueryHedgePlan:
  15779. get:
  15780. parameters:
  15781. - description: 用户ID
  15782. in: query
  15783. name: userid
  15784. required: true
  15785. type: integer
  15786. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  15787. in: query
  15788. name: hedgeplanstatus
  15789. required: true
  15790. type: string
  15791. produces:
  15792. - application/json
  15793. responses:
  15794. "200":
  15795. description: OK
  15796. schema:
  15797. items:
  15798. $ref: '#/definitions/models.Ermcp3HedgePlan'
  15799. type: array
  15800. "500":
  15801. description: Internal Server Error
  15802. schema:
  15803. $ref: '#/definitions/app.Response'
  15804. security:
  15805. - ApiKeyAuth: []
  15806. summary: 查询套保计划
  15807. tags:
  15808. - 企业风险管理v3(app)
  15809. /Ermcp3/QueryMiddleGoodsDetail:
  15810. get:
  15811. parameters:
  15812. - description: 所属机构ID
  15813. in: query
  15814. name: areauserid
  15815. required: true
  15816. type: integer
  15817. - description: 套保品种id
  15818. in: query
  15819. name: middlegoodsid
  15820. type: integer
  15821. produces:
  15822. - application/json
  15823. responses:
  15824. "200":
  15825. description: OK
  15826. schema:
  15827. items:
  15828. $ref: '#/definitions/models.Ermcp3MiddleGoodsDetailEx'
  15829. type: array
  15830. "500":
  15831. description: Internal Server Error
  15832. schema:
  15833. $ref: '#/definitions/app.Response'
  15834. security:
  15835. - ApiKeyAuth: []
  15836. summary: 查询套保品种详情(套保品种/商品详情)
  15837. tags:
  15838. - 企业风险管理v3(app)
  15839. /Ermcp3/QuerySpotContract:
  15840. get:
  15841. parameters:
  15842. - description: 所属机构ID
  15843. in: query
  15844. name: areauserid
  15845. required: true
  15846. type: integer
  15847. - description: 查询类型 1-未提交 2-待审核 3-履约中 4-已完成
  15848. in: query
  15849. name: querytype
  15850. required: true
  15851. type: integer
  15852. - description: 用户ID
  15853. in: query
  15854. name: userid
  15855. type: integer
  15856. - description: 用户类型 2-机构 7-企业成员
  15857. in: query
  15858. name: usertype
  15859. type: integer
  15860. - description: 合同ID(SpotContractId)
  15861. in: query
  15862. name: contractid
  15863. type: string
  15864. produces:
  15865. - application/json
  15866. responses:
  15867. "200":
  15868. description: OK
  15869. schema:
  15870. items:
  15871. $ref: '#/definitions/models.Ermcp3Contract'
  15872. type: array
  15873. "500":
  15874. description: Internal Server Error
  15875. schema:
  15876. $ref: '#/definitions/app.Response'
  15877. security:
  15878. - ApiKeyAuth: []
  15879. summary: 查询现货合同
  15880. tags:
  15881. - 企业风险管理v3(app)
  15882. /Ermcp3/QuerySpotContractBS:
  15883. get:
  15884. parameters:
  15885. - description: 所属机构ID
  15886. in: query
  15887. name: areauserid
  15888. required: true
  15889. type: integer
  15890. - description: 合同类型 1-采购, -1-销售
  15891. in: query
  15892. name: contracttype
  15893. required: true
  15894. type: integer
  15895. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  15896. in: query
  15897. name: querytype
  15898. required: true
  15899. type: integer
  15900. - description: 用户ID
  15901. in: query
  15902. name: userid
  15903. type: integer
  15904. - description: 用户类型 2-机构 7-企业成员
  15905. in: query
  15906. name: usertype
  15907. type: integer
  15908. - description: 合同ID(SpotContractId)
  15909. in: query
  15910. name: contractid
  15911. type: string
  15912. produces:
  15913. - application/json
  15914. responses:
  15915. "200":
  15916. description: OK
  15917. schema:
  15918. items:
  15919. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  15920. type: array
  15921. "500":
  15922. description: Internal Server Error
  15923. schema:
  15924. $ref: '#/definitions/app.Response'
  15925. security:
  15926. - ApiKeyAuth: []
  15927. summary: 查询合同(采购/销售)
  15928. tags:
  15929. - 企业风险管理v3(app)
  15930. /Ermcp3/QuerySpotGoodsPrice:
  15931. get:
  15932. parameters:
  15933. - description: 用户ID
  15934. in: query
  15935. name: userid
  15936. required: true
  15937. type: integer
  15938. produces:
  15939. - application/json
  15940. responses:
  15941. "200":
  15942. description: OK
  15943. schema:
  15944. items:
  15945. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  15946. type: array
  15947. "500":
  15948. description: Internal Server Error
  15949. schema:
  15950. $ref: '#/definitions/app.Response'
  15951. security:
  15952. - ApiKeyAuth: []
  15953. summary: 查询现货市价(现货市价)
  15954. tags:
  15955. - 企业风险管理v3(app)
  15956. /Ermcp3/QuerySpotGoodsPriceLog:
  15957. get:
  15958. parameters:
  15959. - description: 用户ID
  15960. in: query
  15961. name: userid
  15962. required: true
  15963. type: integer
  15964. - description: 现货商品ID
  15965. in: query
  15966. name: deliverygoodsid
  15967. required: true
  15968. type: integer
  15969. produces:
  15970. - application/json
  15971. responses:
  15972. "200":
  15973. description: OK
  15974. schema:
  15975. items:
  15976. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  15977. type: array
  15978. "500":
  15979. description: Internal Server Error
  15980. schema:
  15981. $ref: '#/definitions/app.Response'
  15982. security:
  15983. - ApiKeyAuth: []
  15984. summary: 查询现货市价详情(现货市价/详情)
  15985. tags:
  15986. - 企业风险管理v3(app)
  15987. /Erms2/QueryArbitrageStrategy:
  15988. get:
  15989. parameters:
  15990. - description: 账户ID
  15991. in: query
  15992. name: userid
  15993. required: true
  15994. type: integer
  15995. - description: 商品组ID(品种ID)
  15996. in: query
  15997. name: goodsgroupid
  15998. type: string
  15999. produces:
  16000. - application/json
  16001. responses:
  16002. "200":
  16003. description: OK
  16004. schema:
  16005. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  16006. "500":
  16007. description: Internal Server Error
  16008. schema:
  16009. $ref: '#/definitions/app.Response'
  16010. security:
  16011. - ApiKeyAuth: []
  16012. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  16013. tags:
  16014. - 风险管理
  16015. /Erms2/QueryInnerTradeDetail:
  16016. get:
  16017. parameters:
  16018. - description: 资金账户
  16019. in: query
  16020. name: accountid
  16021. required: true
  16022. type: integer
  16023. produces:
  16024. - application/json
  16025. responses:
  16026. "200":
  16027. description: OK
  16028. schema:
  16029. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  16030. "500":
  16031. description: Internal Server Error
  16032. schema:
  16033. $ref: '#/definitions/app.Response'
  16034. security:
  16035. - ApiKeyAuth: []
  16036. summary: 查询内部成交单信息
  16037. tags:
  16038. - 风险管理
  16039. /Erms2/QuerySpotContract:
  16040. get:
  16041. parameters:
  16042. - description: 策略申请ID
  16043. in: query
  16044. name: asapplyid
  16045. required: true
  16046. type: integer
  16047. - description: 现货合同ID
  16048. in: query
  16049. name: spotcontractid
  16050. type: integer
  16051. produces:
  16052. - application/json
  16053. responses:
  16054. "200":
  16055. description: OK
  16056. schema:
  16057. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  16058. "500":
  16059. description: Internal Server Error
  16060. schema:
  16061. $ref: '#/definitions/app.Response'
  16062. security:
  16063. - ApiKeyAuth: []
  16064. summary: 查询现货合同表信息(指定策略ID、未结束的)
  16065. tags:
  16066. - 风险管理
  16067. /Erms3/AddErms2ASApply:
  16068. post:
  16069. parameters:
  16070. - description: 申请参数
  16071. in: body
  16072. name: jsonBody
  16073. required: true
  16074. schema:
  16075. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  16076. produces:
  16077. - application/json
  16078. responses:
  16079. "200":
  16080. description: OK
  16081. schema:
  16082. $ref: '#/definitions/app.Response'
  16083. "500":
  16084. description: Internal Server Error
  16085. schema:
  16086. $ref: '#/definitions/app.Response'
  16087. security:
  16088. - ApiKeyAuth: []
  16089. summary: 新增期现套利业务申请
  16090. tags:
  16091. - 风险管理v3
  16092. /Erms3/AddErms2SpotTradeApply:
  16093. post:
  16094. parameters:
  16095. - description: 申请参数
  16096. in: body
  16097. name: jsonBody
  16098. required: true
  16099. schema:
  16100. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  16101. produces:
  16102. - application/json
  16103. responses:
  16104. "200":
  16105. description: OK
  16106. schema:
  16107. $ref: '#/definitions/app.Response'
  16108. "500":
  16109. description: Internal Server Error
  16110. schema:
  16111. $ref: '#/definitions/app.Response'
  16112. security:
  16113. - ApiKeyAuth: []
  16114. summary: 新增现货贸易业务申请
  16115. tags:
  16116. - 风险管理v3
  16117. /Erms3/AddSpotContractApply:
  16118. post:
  16119. parameters:
  16120. - description: 申请参数
  16121. in: body
  16122. name: jsonBody
  16123. required: true
  16124. schema:
  16125. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  16126. produces:
  16127. - application/json
  16128. responses:
  16129. "200":
  16130. description: OK
  16131. schema:
  16132. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  16133. "500":
  16134. description: Internal Server Error
  16135. schema:
  16136. $ref: '#/definitions/app.Response'
  16137. security:
  16138. - ApiKeyAuth: []
  16139. summary: 新增现货合同申请
  16140. tags:
  16141. - 风险管理v3
  16142. /Erms3/AddUserInfoApply:
  16143. post:
  16144. parameters:
  16145. - description: 用户信息
  16146. in: body
  16147. name: jsonBody
  16148. required: true
  16149. schema:
  16150. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  16151. produces:
  16152. - application/json
  16153. responses:
  16154. "200":
  16155. description: OK
  16156. schema:
  16157. $ref: '#/definitions/app.Response'
  16158. "500":
  16159. description: Internal Server Error
  16160. schema:
  16161. $ref: '#/definitions/app.Response'
  16162. security:
  16163. - ApiKeyAuth: []
  16164. summary: 新增客户申请
  16165. tags:
  16166. - 风险管理v3
  16167. /Erms3/DeleteUserInfoApply:
  16168. get:
  16169. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  16170. parameters:
  16171. - description: 用户ID
  16172. in: query
  16173. name: userID
  16174. required: true
  16175. type: integer
  16176. produces:
  16177. - application/json
  16178. responses:
  16179. "200":
  16180. description: OK
  16181. schema:
  16182. $ref: '#/definitions/app.Response'
  16183. "500":
  16184. description: Internal Server Error
  16185. schema:
  16186. $ref: '#/definitions/app.Response'
  16187. security:
  16188. - ApiKeyAuth: []
  16189. summary: 删除客户申请
  16190. tags:
  16191. - 风险管理v3
  16192. /Erms3/ModifyUserInfoApply:
  16193. post:
  16194. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  16195. int, "userstate": 2 }'
  16196. parameters:
  16197. - description: 用户信息
  16198. in: body
  16199. name: jsonBody
  16200. required: true
  16201. schema:
  16202. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  16203. produces:
  16204. - application/json
  16205. responses:
  16206. "200":
  16207. description: OK
  16208. schema:
  16209. $ref: '#/definitions/app.Response'
  16210. "500":
  16211. description: Internal Server Error
  16212. schema:
  16213. $ref: '#/definitions/app.Response'
  16214. security:
  16215. - ApiKeyAuth: []
  16216. summary: 修改客户申请
  16217. tags:
  16218. - 风险管理v3
  16219. /Erms3/QueryBusinessInfo:
  16220. get:
  16221. parameters:
  16222. - description: 资金账号ID列表,用逗号分隔
  16223. in: query
  16224. name: accountids
  16225. required: true
  16226. type: string
  16227. - description: 状态,0为未结束 1为已结束
  16228. in: query
  16229. name: status
  16230. required: true
  16231. type: integer
  16232. produces:
  16233. - application/json
  16234. responses:
  16235. "200":
  16236. description: OK
  16237. schema:
  16238. items:
  16239. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  16240. type: array
  16241. "500":
  16242. description: Internal Server Error
  16243. schema:
  16244. $ref: '#/definitions/app.Response'
  16245. security:
  16246. - ApiKeyAuth: []
  16247. summary: 查询业务表单数据
  16248. tags:
  16249. - 风险管理v3
  16250. /Erms3/QueryPendingAuditContract:
  16251. get:
  16252. parameters:
  16253. - description: 资金账号ID列表,逗号隔开
  16254. in: query
  16255. name: accountids
  16256. required: true
  16257. type: string
  16258. - description: 合同类型 1-采购 -1-销售
  16259. in: query
  16260. name: contracttype
  16261. required: true
  16262. type: integer
  16263. - description: 合同模式 1-普通 2-回购
  16264. in: query
  16265. name: contractmode
  16266. required: true
  16267. type: integer
  16268. produces:
  16269. - application/json
  16270. responses:
  16271. "200":
  16272. description: OK
  16273. schema:
  16274. items:
  16275. $ref: '#/definitions/erms3.QryAuditContractRsp'
  16276. type: array
  16277. "500":
  16278. description: Internal Server Error
  16279. schema:
  16280. $ref: '#/definitions/app.Response'
  16281. security:
  16282. - ApiKeyAuth: []
  16283. summary: 查询待审核合同
  16284. tags:
  16285. - 风险管理v3
  16286. /Erms3/QueryPendingBusiness:
  16287. get:
  16288. parameters:
  16289. - description: 资金账号ID列表,逗号隔开
  16290. in: query
  16291. name: accountids
  16292. required: true
  16293. type: string
  16294. produces:
  16295. - application/json
  16296. responses:
  16297. "200":
  16298. description: OK
  16299. schema:
  16300. items:
  16301. $ref: '#/definitions/erms3.QryPendingBizRsp'
  16302. type: array
  16303. "500":
  16304. description: Internal Server Error
  16305. schema:
  16306. $ref: '#/definitions/app.Response'
  16307. security:
  16308. - ApiKeyAuth: []
  16309. summary: 查询待审核基差贸易业务
  16310. tags:
  16311. - 风险管理v3
  16312. /Erms3/QuerySpotContractAppleForm:
  16313. get:
  16314. parameters:
  16315. - description: 登录账号
  16316. in: query
  16317. name: loginID
  16318. required: true
  16319. type: integer
  16320. produces:
  16321. - application/json
  16322. responses:
  16323. "200":
  16324. description: OK
  16325. schema:
  16326. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  16327. "500":
  16328. description: Internal Server Error
  16329. schema:
  16330. $ref: '#/definitions/app.Response'
  16331. security:
  16332. - ApiKeyAuth: []
  16333. summary: 查询合同申请表单数据
  16334. tags:
  16335. - 风险管理v3
  16336. /Erms3/QuerySpotContractDetail:
  16337. get:
  16338. parameters:
  16339. - description: 资金账号ID列表,用逗号分隔
  16340. in: query
  16341. name: accountids
  16342. required: true
  16343. type: string
  16344. - description: 合同类型,1为采购合同 -1为销售合同
  16345. in: query
  16346. name: contracttype
  16347. required: true
  16348. type: integer
  16349. - description: 合同模式,1为普通合同 2为回购销售合同
  16350. in: query
  16351. name: contractmode
  16352. required: true
  16353. type: integer
  16354. - description: 状态,0为履约中 1为已完成
  16355. in: query
  16356. name: status
  16357. required: true
  16358. type: integer
  16359. produces:
  16360. - application/json
  16361. responses:
  16362. "200":
  16363. description: OK
  16364. schema:
  16365. items:
  16366. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  16367. type: array
  16368. "500":
  16369. description: Internal Server Error
  16370. schema:
  16371. $ref: '#/definitions/app.Response'
  16372. security:
  16373. - ApiKeyAuth: []
  16374. summary: 查询合同详细信息
  16375. tags:
  16376. - 风险管理v3
  16377. /Erms3/QueryUserInfoApplies:
  16378. get:
  16379. parameters:
  16380. - description: 页码
  16381. in: query
  16382. name: page
  16383. type: integer
  16384. - description: 每页条数
  16385. in: query
  16386. name: pagesize
  16387. type: integer
  16388. - description: 客户名称,支持模糊查询
  16389. in: query
  16390. name: userName
  16391. type: string
  16392. produces:
  16393. - application/json
  16394. responses:
  16395. "200":
  16396. description: OK
  16397. schema:
  16398. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  16399. "500":
  16400. description: Internal Server Error
  16401. schema:
  16402. $ref: '#/definitions/app.Response'
  16403. security:
  16404. - ApiKeyAuth: []
  16405. summary: 客户申请信息查询
  16406. tags:
  16407. - 风险管理v3
  16408. /Erms3/QueryUserInfos:
  16409. get:
  16410. parameters:
  16411. - description: 页码
  16412. in: query
  16413. name: page
  16414. type: integer
  16415. - description: 每页条数
  16416. in: query
  16417. name: pagesize
  16418. type: integer
  16419. - description: 客户名称,支持模糊查询
  16420. in: query
  16421. name: userName
  16422. type: string
  16423. produces:
  16424. - application/json
  16425. responses:
  16426. "200":
  16427. description: OK
  16428. schema:
  16429. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  16430. "500":
  16431. description: Internal Server Error
  16432. schema:
  16433. $ref: '#/definitions/app.Response'
  16434. security:
  16435. - ApiKeyAuth: []
  16436. summary: 客户信息查询
  16437. tags:
  16438. - 风险管理v3
  16439. /HSBY/GetHsbyMyCount:
  16440. get:
  16441. description: 说明: 不包括已完成的数量。
  16442. parameters:
  16443. - description: 资金账户列表,格式:1,2,3
  16444. in: query
  16445. name: accountIDs
  16446. required: true
  16447. type: string
  16448. produces:
  16449. - application/json
  16450. responses:
  16451. "200":
  16452. description: OK
  16453. schema:
  16454. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  16455. "500":
  16456. description: Internal Server Error
  16457. schema:
  16458. $ref: '#/definitions/app.Response'
  16459. security:
  16460. - ApiKeyAuth: []
  16461. summary: 获取我的订单与包裹数量
  16462. tags:
  16463. - 定制【海商报业】
  16464. /HSBY/QueryClientFixedADConfigs:
  16465. get:
  16466. produces:
  16467. - application/json
  16468. responses:
  16469. "200":
  16470. description: OK
  16471. schema:
  16472. $ref: '#/definitions/models.Clientfixedadconfig'
  16473. "500":
  16474. description: Internal Server Error
  16475. schema:
  16476. $ref: '#/definitions/app.Response'
  16477. security:
  16478. - ApiKeyAuth: []
  16479. summary: 获取终端固定广告配置
  16480. tags:
  16481. - 定制【海商报业】
  16482. /HSBY/QueryHsbyBuyMyTradeDetail:
  16483. get:
  16484. parameters:
  16485. - description: 页码
  16486. in: query
  16487. name: page
  16488. type: integer
  16489. - description: 每页条数
  16490. in: query
  16491. name: pagesize
  16492. type: integer
  16493. - description: 资金账户列表,格式:1,2,3
  16494. in: query
  16495. name: accountIDs
  16496. required: true
  16497. type: string
  16498. produces:
  16499. - application/json
  16500. responses:
  16501. "200":
  16502. description: OK
  16503. schema:
  16504. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  16505. "500":
  16506. description: Internal Server Error
  16507. schema:
  16508. $ref: '#/definitions/app.Response'
  16509. security:
  16510. - ApiKeyAuth: []
  16511. summary: 查询"我的订单 - 已完成"单据信息
  16512. tags:
  16513. - 定制【海商报业】
  16514. /HSBY/QueryHsbyGoodsOrderDetails:
  16515. get:
  16516. description: 说明:查询结果已按委托价格和委托时间排序
  16517. parameters:
  16518. - description: 商品ID
  16519. in: query
  16520. name: goodsID
  16521. required: true
  16522. type: integer
  16523. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  16524. in: query
  16525. name: accountIDs
  16526. type: string
  16527. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  16528. in: query
  16529. name: buyOrSell
  16530. type: integer
  16531. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  16532. in: query
  16533. name: price
  16534. type: number
  16535. - description: 档位,不传则默认为3档
  16536. in: query
  16537. name: speed
  16538. type: integer
  16539. produces:
  16540. - application/json
  16541. responses:
  16542. "200":
  16543. description: OK
  16544. schema:
  16545. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  16546. "500":
  16547. description: Internal Server Error
  16548. schema:
  16549. $ref: '#/definitions/app.Response'
  16550. security:
  16551. - ApiKeyAuth: []
  16552. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  16553. tags:
  16554. - 定制【海商报业】
  16555. /HSBY/QueryHsbyListingGoodsDetail:
  16556. get:
  16557. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  16558. parameters:
  16559. - description: 商品ID
  16560. in: query
  16561. name: goodsID
  16562. required: true
  16563. type: integer
  16564. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  16565. in: query
  16566. name: accountID
  16567. type: integer
  16568. produces:
  16569. - application/json
  16570. responses:
  16571. "200":
  16572. description: OK
  16573. schema:
  16574. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  16575. "500":
  16576. description: Internal Server Error
  16577. schema:
  16578. $ref: '#/definitions/app.Response'
  16579. security:
  16580. - ApiKeyAuth: []
  16581. summary: 查询二级市场(挂牌点选)商品信息详情
  16582. tags:
  16583. - 定制【海商报业】
  16584. /HSBY/QueryHsbyMarketGoodsDetail:
  16585. get:
  16586. parameters:
  16587. - description: 委托单号
  16588. in: query
  16589. name: orderID
  16590. required: true
  16591. type: integer
  16592. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  16593. in: query
  16594. name: accountID
  16595. type: integer
  16596. produces:
  16597. - application/json
  16598. responses:
  16599. "200":
  16600. description: OK
  16601. schema:
  16602. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  16603. "500":
  16604. description: Internal Server Error
  16605. schema:
  16606. $ref: '#/definitions/app.Response'
  16607. security:
  16608. - ApiKeyAuth: []
  16609. summary: 查询三级市场(商城)商品信息详情
  16610. tags:
  16611. - 定制【海商报业】
  16612. /HSBY/QueryHsbyMarketGoodses:
  16613. get:
  16614. parameters:
  16615. - description: 页码
  16616. in: query
  16617. name: page
  16618. type: integer
  16619. - description: 每页条数
  16620. in: query
  16621. name: pagesize
  16622. type: integer
  16623. - description: 市场ID列表,格式:1,2,3
  16624. in: query
  16625. name: marketIDs
  16626. required: true
  16627. type: string
  16628. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  16629. in: query
  16630. name: accountID
  16631. required: true
  16632. type: integer
  16633. - description: 类别ID
  16634. in: query
  16635. name: categoryID
  16636. type: integer
  16637. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  16638. in: query
  16639. name: goodsIDs
  16640. type: string
  16641. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  16642. in: query
  16643. name: couponTypeID
  16644. type: integer
  16645. produces:
  16646. - application/json
  16647. responses:
  16648. "200":
  16649. description: OK
  16650. schema:
  16651. $ref: '#/definitions/models.HsbyMarketGoods'
  16652. "500":
  16653. description: Internal Server Error
  16654. schema:
  16655. $ref: '#/definitions/app.Response'
  16656. security:
  16657. - ApiKeyAuth: []
  16658. summary: 查询特卖商品列表(三级商城)
  16659. tags:
  16660. - 定制【海商报业】
  16661. /HSBY/QueryHsbyMarkets:
  16662. get:
  16663. produces:
  16664. - application/json
  16665. responses:
  16666. "200":
  16667. description: OK
  16668. schema:
  16669. $ref: '#/definitions/models.HsbyMarketInfo'
  16670. "500":
  16671. description: Internal Server Error
  16672. schema:
  16673. $ref: '#/definitions/app.Response'
  16674. security:
  16675. - ApiKeyAuth: []
  16676. summary: 查询海商报业相关市场信息
  16677. tags:
  16678. - 定制【海商报业】
  16679. /HSBY/QueryHsbyMyBuyOrderDetails:
  16680. get:
  16681. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  16682. parameters:
  16683. - description: 资金账户列表,格式:1,2,3
  16684. in: query
  16685. name: accountIDs
  16686. required: true
  16687. type: string
  16688. produces:
  16689. - application/json
  16690. responses:
  16691. "200":
  16692. description: OK
  16693. schema:
  16694. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  16695. "500":
  16696. description: Internal Server Error
  16697. schema:
  16698. $ref: '#/definitions/app.Response'
  16699. security:
  16700. - ApiKeyAuth: []
  16701. summary: 查询“我的订单”信息
  16702. tags:
  16703. - 定制【海商报业】
  16704. /HSBY/QueryHsbyMyGoods:
  16705. get:
  16706. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  16707. parameters:
  16708. - description: 资金账户列表,格式:1,2,3
  16709. in: query
  16710. name: accountIDs
  16711. required: true
  16712. type: string
  16713. produces:
  16714. - application/json
  16715. responses:
  16716. "200":
  16717. description: OK
  16718. schema:
  16719. $ref: '#/definitions/models.HsbyMyGoods'
  16720. "500":
  16721. description: Internal Server Error
  16722. schema:
  16723. $ref: '#/definitions/app.Response'
  16724. security:
  16725. - ApiKeyAuth: []
  16726. summary: 查询“我的商品”信息
  16727. tags:
  16728. - 定制【海商报业】
  16729. /HSBY/QueryHsbyMyPackages:
  16730. get:
  16731. parameters:
  16732. - description: 资金账户列表,格式:1,2,3
  16733. in: query
  16734. name: accountIDs
  16735. required: true
  16736. type: string
  16737. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  16738. in: query
  16739. name: takeOrderStatus
  16740. type: integer
  16741. produces:
  16742. - application/json
  16743. responses:
  16744. "200":
  16745. description: OK
  16746. schema:
  16747. $ref: '#/definitions/models.HsbyMyPackage'
  16748. "500":
  16749. description: Internal Server Error
  16750. schema:
  16751. $ref: '#/definitions/app.Response'
  16752. security:
  16753. - ApiKeyAuth: []
  16754. summary: 查询我的包裹信息
  16755. tags:
  16756. - 定制【海商报业】
  16757. /HSBY/QueryHsbyPreGoodsDetail:
  16758. get:
  16759. parameters:
  16760. - description: 商品ID
  16761. in: query
  16762. name: goodsID
  16763. required: true
  16764. type: integer
  16765. - description: 资金账户,主要用于获取预售商品购买上限
  16766. in: query
  16767. name: accountID
  16768. type: integer
  16769. produces:
  16770. - application/json
  16771. responses:
  16772. "200":
  16773. description: OK
  16774. schema:
  16775. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  16776. "500":
  16777. description: Internal Server Error
  16778. schema:
  16779. $ref: '#/definitions/app.Response'
  16780. security:
  16781. - ApiKeyAuth: []
  16782. summary: 查询一级市场(预售)商品信息详情
  16783. tags:
  16784. - 定制【海商报业】
  16785. /HSBY/QueryHsbyPreGoodses:
  16786. get:
  16787. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  16788. parameters:
  16789. - description: 页码
  16790. in: query
  16791. name: page
  16792. type: integer
  16793. - description: 每页条数
  16794. in: query
  16795. name: pagesize
  16796. type: integer
  16797. - description: 市场ID列表,格式:1,2,3
  16798. in: query
  16799. name: marketIDs
  16800. required: true
  16801. type: string
  16802. - description: 目的地(省)ID
  16803. in: query
  16804. name: descProvinceID
  16805. type: integer
  16806. - description: 目的地(市)ID
  16807. in: query
  16808. name: descCityID
  16809. type: integer
  16810. produces:
  16811. - application/json
  16812. responses:
  16813. "200":
  16814. description: OK
  16815. schema:
  16816. $ref: '#/definitions/models.HsbyPreGoods'
  16817. "500":
  16818. description: Internal Server Error
  16819. schema:
  16820. $ref: '#/definitions/app.Response'
  16821. security:
  16822. - ApiKeyAuth: []
  16823. summary: 查询新品上市商品列表(一级市场预售)
  16824. tags:
  16825. - 定制【海商报业】
  16826. /HSBY/QueryHsbySellMyDetails:
  16827. get:
  16828. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  16829. parameters:
  16830. - description: 页码
  16831. in: query
  16832. name: page
  16833. type: integer
  16834. - description: 每页条数
  16835. in: query
  16836. name: pagesize
  16837. type: integer
  16838. - description: 资金账户列表,格式:1,2,3
  16839. in: query
  16840. name: accountIDs
  16841. required: true
  16842. type: string
  16843. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  16844. in: query
  16845. name: orderType
  16846. type: integer
  16847. produces:
  16848. - application/json
  16849. responses:
  16850. "200":
  16851. description: OK
  16852. schema:
  16853. $ref: '#/definitions/models.HsbySellMyDetail'
  16854. "500":
  16855. description: Internal Server Error
  16856. schema:
  16857. $ref: '#/definitions/app.Response'
  16858. security:
  16859. - ApiKeyAuth: []
  16860. summary: 查询"我的闲置"单据信息
  16861. tags:
  16862. - 定制【海商报业】
  16863. /HSBY/QueryHsbyTopGoodses:
  16864. get:
  16865. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  16866. parameters:
  16867. - description: 页码
  16868. in: query
  16869. name: page
  16870. type: integer
  16871. - description: 每页条数
  16872. in: query
  16873. name: pagesize
  16874. type: integer
  16875. - description: 市场ID列表,格式:1,2,3
  16876. in: query
  16877. name: marketIDs
  16878. required: true
  16879. type: string
  16880. - description: 目的地(省)ID
  16881. in: query
  16882. name: descProvinceID
  16883. type: integer
  16884. - description: 目的地(市)ID
  16885. in: query
  16886. name: descCityID
  16887. type: integer
  16888. produces:
  16889. - application/json
  16890. responses:
  16891. "200":
  16892. description: OK
  16893. schema:
  16894. $ref: '#/definitions/models.HsbyTopGoods'
  16895. "500":
  16896. description: Internal Server Error
  16897. schema:
  16898. $ref: '#/definitions/app.Response'
  16899. security:
  16900. - ApiKeyAuth: []
  16901. summary: 查询热卖商品列表(二级市场挂牌点选)
  16902. tags:
  16903. - 定制【海商报业】
  16904. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  16905. get:
  16906. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  16907. parameters:
  16908. - description: 商品ID
  16909. in: query
  16910. name: goodsID
  16911. required: true
  16912. type: integer
  16913. produces:
  16914. - application/json
  16915. responses:
  16916. "200":
  16917. description: OK
  16918. schema:
  16919. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  16920. "500":
  16921. description: Internal Server Error
  16922. schema:
  16923. $ref: '#/definitions/app.Response'
  16924. security:
  16925. - ApiKeyAuth: []
  16926. summary: 查询游客三级市场(商城)商品信息详情
  16927. tags:
  16928. - 定制【海商报业】
  16929. /HSBY/QueryHsbyVisitorMarketGoodses:
  16930. get:
  16931. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  16932. parameters:
  16933. - description: 页码
  16934. in: query
  16935. name: page
  16936. type: integer
  16937. - description: 每页条数
  16938. in: query
  16939. name: pagesize
  16940. type: integer
  16941. - description: 市场ID列表,格式:1,2,3
  16942. in: query
  16943. name: marketIDs
  16944. required: true
  16945. type: string
  16946. - description: 类别ID
  16947. in: query
  16948. name: categoryID
  16949. type: integer
  16950. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  16951. in: query
  16952. name: goodsIDs
  16953. type: string
  16954. produces:
  16955. - application/json
  16956. responses:
  16957. "200":
  16958. description: OK
  16959. schema:
  16960. $ref: '#/definitions/models.HsbyMarketGoods'
  16961. "500":
  16962. description: Internal Server Error
  16963. schema:
  16964. $ref: '#/definitions/app.Response'
  16965. security:
  16966. - ApiKeyAuth: []
  16967. summary: 查询游客特卖商品列表(三级商城)
  16968. tags:
  16969. - 定制【海商报业】
  16970. /HSBY/QueryMyCollectionOrders:
  16971. get:
  16972. parameters:
  16973. - description: 页码
  16974. in: query
  16975. name: page
  16976. type: integer
  16977. - description: 每页条数
  16978. in: query
  16979. name: pagesize
  16980. type: integer
  16981. - description: 资金账户,格式:1,2,3
  16982. in: query
  16983. name: accountIDs
  16984. required: true
  16985. type: string
  16986. produces:
  16987. - application/json
  16988. responses:
  16989. "200":
  16990. description: OK
  16991. schema:
  16992. $ref: '#/definitions/models.HsbySellCollectionOrder'
  16993. "500":
  16994. description: Internal Server Error
  16995. schema:
  16996. $ref: '#/definitions/app.Response'
  16997. security:
  16998. - ApiKeyAuth: []
  16999. summary: 我的闲置中收款信息查询
  17000. tags:
  17001. - 定制【海商报业】
  17002. /HSBY/QueryMyCouponHolds:
  17003. get:
  17004. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  17005. parameters:
  17006. - description: 资金账户列表,格式:1,2,3
  17007. in: query
  17008. name: accountIDs
  17009. required: true
  17010. type: string
  17011. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  17012. in: query
  17013. name: holdStatus
  17014. type: string
  17015. produces:
  17016. - application/json
  17017. responses:
  17018. "200":
  17019. description: OK
  17020. schema:
  17021. $ref: '#/definitions/models.MyCouponHold'
  17022. "500":
  17023. description: Internal Server Error
  17024. schema:
  17025. $ref: '#/definitions/app.Response'
  17026. security:
  17027. - ApiKeyAuth: []
  17028. summary: 我的优惠卷持仓查询
  17029. tags:
  17030. - 定制【海商报业】
  17031. /HSBY/QueryMyCoupons:
  17032. get:
  17033. parameters:
  17034. - description: 资金账户列表,格式:1,2,3
  17035. in: query
  17036. name: accountIDs
  17037. required: true
  17038. type: string
  17039. - description: 商品ID, 一般与sellUserID配套传入
  17040. in: query
  17041. name: goodsID
  17042. type: integer
  17043. - description: 卖方UserID
  17044. in: query
  17045. name: sellUserID
  17046. type: integer
  17047. produces:
  17048. - application/json
  17049. responses:
  17050. "200":
  17051. description: OK
  17052. schema:
  17053. $ref: '#/definitions/models.MyCoupon'
  17054. "500":
  17055. description: Internal Server Error
  17056. schema:
  17057. $ref: '#/definitions/app.Response'
  17058. security:
  17059. - ApiKeyAuth: []
  17060. summary: 我的优惠卷查询
  17061. tags:
  17062. - 定制【海商报业】
  17063. /HSBY/QueryMyPayOrders:
  17064. get:
  17065. parameters:
  17066. - description: 页码
  17067. in: query
  17068. name: page
  17069. type: integer
  17070. - description: 每页条数
  17071. in: query
  17072. name: pagesize
  17073. type: integer
  17074. - description: 资金账户列表,格式:1,2,3
  17075. in: query
  17076. name: accountIDs
  17077. required: true
  17078. type: string
  17079. - description: 买方委托单号
  17080. in: query
  17081. name: buyOrderID
  17082. type: integer
  17083. - description: 卖方委托单号
  17084. in: query
  17085. name: sellOrderID
  17086. type: integer
  17087. produces:
  17088. - application/json
  17089. responses:
  17090. "200":
  17091. description: OK
  17092. schema:
  17093. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  17094. "500":
  17095. description: Internal Server Error
  17096. schema:
  17097. $ref: '#/definitions/app.Response'
  17098. security:
  17099. - ApiKeyAuth: []
  17100. summary: 获取我的订单中待付款信息
  17101. tags:
  17102. - 定制【海商报业】
  17103. /HSBY/QueryMyUsedCoupon:
  17104. get:
  17105. parameters:
  17106. - description: 资金账户列表,格式:1,2,3
  17107. in: query
  17108. name: accountIDs
  17109. required: true
  17110. type: string
  17111. produces:
  17112. - application/json
  17113. responses:
  17114. "200":
  17115. description: OK
  17116. schema:
  17117. $ref: '#/definitions/models.MyUsedCoupon'
  17118. "500":
  17119. description: Internal Server Error
  17120. schema:
  17121. $ref: '#/definitions/app.Response'
  17122. security:
  17123. - ApiKeyAuth: []
  17124. summary: 已使用优惠卷查询
  17125. tags:
  17126. - 定制【海商报业】
  17127. /HSBY/QueryProvincesAndCities:
  17128. get:
  17129. description: 查询结果只包括二级市场商品已关连的省市信息。
  17130. parameters:
  17131. - description: 省ID
  17132. in: query
  17133. name: provinceID
  17134. type: integer
  17135. produces:
  17136. - application/json
  17137. responses:
  17138. "200":
  17139. description: OK
  17140. schema:
  17141. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  17142. "500":
  17143. description: Internal Server Error
  17144. schema:
  17145. $ref: '#/definitions/app.Response'
  17146. security:
  17147. - ApiKeyAuth: []
  17148. summary: 查询省市信息(不包括区)
  17149. tags:
  17150. - 定制【海商报业】
  17151. /HSBY/SetHsbyMyPackagesStatus:
  17152. post:
  17153. parameters:
  17154. - description: 提货单号
  17155. in: query
  17156. name: takeOrderID
  17157. required: true
  17158. type: string
  17159. - description: 资金账号
  17160. in: query
  17161. name: accountID
  17162. required: true
  17163. type: integer
  17164. produces:
  17165. - application/json
  17166. responses:
  17167. "200":
  17168. description: OK
  17169. schema:
  17170. $ref: '#/definitions/app.Response'
  17171. "500":
  17172. description: Internal Server Error
  17173. schema:
  17174. $ref: '#/definitions/app.Response'
  17175. security:
  17176. - ApiKeyAuth: []
  17177. summary: 设置我的包裹已收货状态
  17178. tags:
  17179. - 定制【海商报业】
  17180. /Market/QueryGoodsesByLoginID:
  17181. get:
  17182. parameters:
  17183. - description: 登录账号
  17184. in: query
  17185. name: loginID
  17186. required: true
  17187. type: integer
  17188. - description: 市场ID列表,格式:1,2,3
  17189. in: query
  17190. name: marketIDs
  17191. type: string
  17192. produces:
  17193. - application/json
  17194. responses:
  17195. "200":
  17196. description: OK
  17197. schema:
  17198. $ref: '#/definitions/models.Goods'
  17199. "500":
  17200. description: Internal Server Error
  17201. schema:
  17202. $ref: '#/definitions/app.Response'
  17203. security:
  17204. - ApiKeyAuth: []
  17205. summary: 获取登录账号有权限的商品信息
  17206. tags:
  17207. - 通用市场
  17208. /Market/QueryMarketRun:
  17209. get:
  17210. parameters:
  17211. - description: 市场ID,不传返回所有
  17212. in: query
  17213. name: marketID
  17214. type: integer
  17215. produces:
  17216. - application/json
  17217. responses:
  17218. "200":
  17219. description: OK
  17220. schema:
  17221. $ref: '#/definitions/models.Marketrun'
  17222. "500":
  17223. description: Internal Server Error
  17224. schema:
  17225. $ref: '#/definitions/app.Response'
  17226. security:
  17227. - ApiKeyAuth: []
  17228. summary: 查询市场运行信息
  17229. tags:
  17230. - 通用市场
  17231. /Market/QueryMarketsByLoginID:
  17232. get:
  17233. parameters:
  17234. - description: 登录账号
  17235. in: query
  17236. name: loginID
  17237. required: true
  17238. type: integer
  17239. produces:
  17240. - application/json
  17241. responses:
  17242. "200":
  17243. description: OK
  17244. schema:
  17245. $ref: '#/definitions/models.Market'
  17246. "500":
  17247. description: Internal Server Error
  17248. schema:
  17249. $ref: '#/definitions/app.Response'
  17250. security:
  17251. - ApiKeyAuth: []
  17252. summary: 获取登录账号有权限的市场信息
  17253. tags:
  17254. - 通用市场
  17255. /Order/QueryHisTradeDetail:
  17256. get:
  17257. parameters:
  17258. - description: 资金账户 - 格式:1,2,3
  17259. in: query
  17260. name: accountID
  17261. required: true
  17262. type: string
  17263. - description: 成交单号
  17264. in: query
  17265. name: tradeID
  17266. type: integer
  17267. - description: 委托单号
  17268. in: query
  17269. name: orderID
  17270. type: integer
  17271. - description: 交易模式 - 格式:1,2,3
  17272. in: query
  17273. name: tradeMode
  17274. type: string
  17275. - description: 委托单据类型
  17276. in: query
  17277. name: buildType
  17278. type: integer
  17279. - description: 成交类别 - 格式:1,2,3
  17280. in: query
  17281. name: tradeType
  17282. type: string
  17283. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  17284. in: query
  17285. name: startDate
  17286. type: string
  17287. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  17288. in: query
  17289. name: endDate
  17290. type: string
  17291. produces:
  17292. - application/json
  17293. responses:
  17294. "200":
  17295. description: OK
  17296. schema:
  17297. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  17298. "500":
  17299. description: Internal Server Error
  17300. schema:
  17301. $ref: '#/definitions/app.Response'
  17302. security:
  17303. - ApiKeyAuth: []
  17304. summary: 历史成交单查询(合约市场)
  17305. tags:
  17306. - 通用单据
  17307. /Order/QueryHisTradeOrderDetail:
  17308. get:
  17309. parameters:
  17310. - description: 资金账户 - 格式:1,2,3
  17311. in: query
  17312. name: accountID
  17313. required: true
  17314. type: string
  17315. - description: 交易模式 - 格式:1,2,3
  17316. in: query
  17317. name: tradeMode
  17318. type: string
  17319. - description: 委托状态 - 格式:1,2,3
  17320. in: query
  17321. name: orderStatus
  17322. type: string
  17323. - description: 委托单号
  17324. in: query
  17325. name: orderID
  17326. type: integer
  17327. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  17328. in: query
  17329. name: startDate
  17330. type: string
  17331. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  17332. in: query
  17333. name: endDate
  17334. type: string
  17335. produces:
  17336. - application/json
  17337. responses:
  17338. "200":
  17339. description: OK
  17340. schema:
  17341. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  17342. "500":
  17343. description: Internal Server Error
  17344. schema:
  17345. $ref: '#/definitions/app.Response'
  17346. security:
  17347. - ApiKeyAuth: []
  17348. summary: 历史委托单查询请求(合约市场)
  17349. tags:
  17350. - 通用单据
  17351. /Order/QueryTradeDetail:
  17352. get:
  17353. parameters:
  17354. - description: 资金账户 - 格式:1,2,3
  17355. in: query
  17356. name: accountID
  17357. required: true
  17358. type: string
  17359. - description: 成交单号
  17360. in: query
  17361. name: tradeID
  17362. type: integer
  17363. - description: 委托单号
  17364. in: query
  17365. name: orderID
  17366. type: integer
  17367. - description: 交易模式 - 格式:1,2,3
  17368. in: query
  17369. name: tradeMode
  17370. type: string
  17371. - description: 委托单据类型
  17372. in: query
  17373. name: buildType
  17374. type: integer
  17375. - description: 成交类别 - 格式:1,2,3
  17376. in: query
  17377. name: tradeType
  17378. type: string
  17379. produces:
  17380. - application/json
  17381. responses:
  17382. "200":
  17383. description: OK
  17384. schema:
  17385. $ref: '#/definitions/order.QueryTradeDetailRsp'
  17386. "500":
  17387. description: Internal Server Error
  17388. schema:
  17389. $ref: '#/definitions/app.Response'
  17390. security:
  17391. - ApiKeyAuth: []
  17392. summary: 成交单查询(合约市场)
  17393. tags:
  17394. - 通用单据
  17395. /Order/QueryTradeOrderDetail:
  17396. get:
  17397. parameters:
  17398. - description: 资金账户 - 格式:1,2,3
  17399. in: query
  17400. name: accountID
  17401. required: true
  17402. type: string
  17403. - description: 交易模式 - 格式:1,2,3
  17404. in: query
  17405. name: tradeMode
  17406. type: string
  17407. - description: 委托状态 - 格式:1,2,3
  17408. in: query
  17409. name: orderStatus
  17410. type: string
  17411. - description: 委托单号
  17412. in: query
  17413. name: orderID
  17414. type: integer
  17415. produces:
  17416. - application/json
  17417. responses:
  17418. "200":
  17419. description: OK
  17420. schema:
  17421. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  17422. "500":
  17423. description: Internal Server Error
  17424. schema:
  17425. $ref: '#/definitions/app.Response'
  17426. security:
  17427. - ApiKeyAuth: []
  17428. summary: 委托单查询请求(合约市场)
  17429. tags:
  17430. - 通用单据
  17431. /Order/QueryTradePosition:
  17432. get:
  17433. parameters:
  17434. - description: 资金账户 - 格式:1,2,3
  17435. in: query
  17436. name: accountID
  17437. required: true
  17438. type: string
  17439. - description: 交易模式 - 格式:1,2,3
  17440. in: query
  17441. name: tradeMode
  17442. type: string
  17443. produces:
  17444. - application/json
  17445. responses:
  17446. "200":
  17447. description: OK
  17448. schema:
  17449. $ref: '#/definitions/order.QueryTradePositionRsp'
  17450. "500":
  17451. description: Internal Server Error
  17452. schema:
  17453. $ref: '#/definitions/app.Response'
  17454. security:
  17455. - ApiKeyAuth: []
  17456. summary: 持仓汇总查询(合约市场)
  17457. tags:
  17458. - 通用单据
  17459. /Quote/QueryHistoryDatas:
  17460. get:
  17461. parameters:
  17462. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  17463. 日线'
  17464. in: query
  17465. name: cycleType
  17466. required: true
  17467. type: integer
  17468. - description: 商品代码
  17469. in: query
  17470. name: goodsCode
  17471. required: true
  17472. type: string
  17473. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  17474. in: query
  17475. name: startTime
  17476. type: string
  17477. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  17478. in: query
  17479. name: endTime
  17480. type: string
  17481. - description: 条数
  17482. in: query
  17483. name: count
  17484. type: integer
  17485. - description: 是否按时间顺序排序(默认为时间倒序排序)
  17486. in: query
  17487. name: isAsc
  17488. type: boolean
  17489. produces:
  17490. - application/json
  17491. responses:
  17492. "200":
  17493. description: OK
  17494. schema:
  17495. $ref: '#/definitions/quote.HistoryData'
  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/QueryHistoryTikDatas:
  17506. get:
  17507. parameters:
  17508. - description: 商品代码
  17509. in: query
  17510. name: goodsCode
  17511. required: true
  17512. type: string
  17513. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  17514. in: query
  17515. name: startTime
  17516. type: string
  17517. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  17518. in: query
  17519. name: endTime
  17520. type: string
  17521. - description: 条数
  17522. in: query
  17523. name: count
  17524. type: integer
  17525. - description: 是否按时间顺序排序(默认为时间倒序排序)
  17526. in: query
  17527. name: isAsc
  17528. type: boolean
  17529. produces:
  17530. - application/json
  17531. responses:
  17532. "200":
  17533. description: OK
  17534. schema:
  17535. $ref: '#/definitions/quote.HistoryTikData'
  17536. "500":
  17537. description: Internal Server Error
  17538. schema:
  17539. $ref: '#/definitions/app.Response'
  17540. security:
  17541. - ApiKeyAuth: []
  17542. summary: 查询行情Tik数据
  17543. tags:
  17544. - 行情服务
  17545. /Quote/QueryQuoteDay:
  17546. get:
  17547. parameters:
  17548. - description: 商品代码列表,格式:CU2102,CU2103,AL2107
  17549. in: query
  17550. name: goodsCodes
  17551. required: true
  17552. type: string
  17553. produces:
  17554. - application/json
  17555. responses:
  17556. "200":
  17557. description: OK
  17558. schema:
  17559. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  17560. "500":
  17561. description: Internal Server Error
  17562. schema:
  17563. $ref: '#/definitions/app.Response'
  17564. security:
  17565. - ApiKeyAuth: []
  17566. summary: 获取商品盘面信息
  17567. tags:
  17568. - 行情服务
  17569. /Quote/QueryTSData:
  17570. get:
  17571. parameters:
  17572. - description: 商品代码
  17573. in: query
  17574. name: goodsCode
  17575. required: true
  17576. type: string
  17577. produces:
  17578. - application/json
  17579. responses:
  17580. "200":
  17581. description: OK
  17582. schema:
  17583. $ref: '#/definitions/quote.QueryTSDataRsp'
  17584. "500":
  17585. description: Internal Server Error
  17586. schema:
  17587. $ref: '#/definitions/app.Response'
  17588. security:
  17589. - ApiKeyAuth: []
  17590. summary: 分时图数据查询
  17591. tags:
  17592. - 行情服务
  17593. /SZDZ/QueryConvertConfig:
  17594. get:
  17595. parameters:
  17596. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  17597. 6:交易转花生米(不设置)
  17598. in: query
  17599. name: convertType
  17600. type: integer
  17601. - description: 外部商品代码[JD\PD]
  17602. in: query
  17603. name: outerGoodsCode
  17604. type: string
  17605. - description: 内部商品ID列表[交易],格式:1,2,3
  17606. in: query
  17607. name: innerGoodsIDs
  17608. type: string
  17609. produces:
  17610. - application/json
  17611. responses:
  17612. "200":
  17613. description: OK
  17614. schema:
  17615. $ref: '#/definitions/models.Szdz3convertconfig'
  17616. "500":
  17617. description: Internal Server Error
  17618. schema:
  17619. $ref: '#/definitions/app.Response'
  17620. security:
  17621. - ApiKeyAuth: []
  17622. summary: 查询交易系统转换设置
  17623. tags:
  17624. - 定制【尚志大宗】
  17625. /SZDZ/QueryConvertLog:
  17626. get:
  17627. parameters:
  17628. - description: 资金账户 - 格式:1,2,3
  17629. in: query
  17630. name: accountID
  17631. required: true
  17632. type: string
  17633. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  17634. in: query
  17635. name: startDate
  17636. type: string
  17637. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  17638. in: query
  17639. name: endDate
  17640. type: string
  17641. produces:
  17642. - application/json
  17643. responses:
  17644. "200":
  17645. description: OK
  17646. schema:
  17647. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  17648. "500":
  17649. description: Internal Server Error
  17650. schema:
  17651. $ref: '#/definitions/app.Response'
  17652. security:
  17653. - ApiKeyAuth: []
  17654. summary: 交易系统转换流水查询
  17655. tags:
  17656. - 定制【尚志大宗】
  17657. /SZDZ/QueryGoodsPickup:
  17658. get:
  17659. parameters:
  17660. - description: 资金账户 - 格式:1,2,3
  17661. in: query
  17662. name: accountID
  17663. required: true
  17664. type: string
  17665. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  17666. in: query
  17667. name: takeOrderStatus
  17668. type: integer
  17669. produces:
  17670. - application/json
  17671. responses:
  17672. "200":
  17673. description: OK
  17674. schema:
  17675. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  17676. "500":
  17677. description: Internal Server Error
  17678. schema:
  17679. $ref: '#/definitions/app.Response'
  17680. security:
  17681. - ApiKeyAuth: []
  17682. summary: 商品提货单查询
  17683. tags:
  17684. - 定制【尚志大宗】
  17685. /SZDZ/QueryRecieptOrder:
  17686. get:
  17687. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  17688. parameters:
  17689. - description: 页码
  17690. in: query
  17691. name: page
  17692. type: integer
  17693. - description: 每页条数
  17694. in: query
  17695. name: pagesize
  17696. type: integer
  17697. - description: 商品ID
  17698. in: query
  17699. name: goodsID
  17700. required: true
  17701. type: integer
  17702. - description: 所属账户名称
  17703. in: query
  17704. name: accountName
  17705. type: string
  17706. - description: 市场ID
  17707. in: query
  17708. name: marketID
  17709. type: integer
  17710. - description: 方向 - 0:买 1:卖
  17711. in: query
  17712. name: buyorsell
  17713. required: true
  17714. type: integer
  17715. produces:
  17716. - application/json
  17717. responses:
  17718. "200":
  17719. description: OK
  17720. schema:
  17721. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  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/QuerySZDZTradePosition:
  17732. get:
  17733. parameters:
  17734. - description: 资金账户
  17735. in: query
  17736. name: accountID
  17737. required: true
  17738. type: integer
  17739. produces:
  17740. - application/json
  17741. responses:
  17742. "200":
  17743. description: OK
  17744. schema:
  17745. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  17746. "500":
  17747. description: Internal Server Error
  17748. schema:
  17749. $ref: '#/definitions/app.Response'
  17750. security:
  17751. - ApiKeyAuth: []
  17752. summary: 持仓汇总查询(尚志大宗)
  17753. tags:
  17754. - 定制【尚志大宗】
  17755. /SZDZ/SearchWhite:
  17756. get:
  17757. parameters:
  17758. - description: 用户ID
  17759. in: query
  17760. name: userID
  17761. required: true
  17762. type: integer
  17763. produces:
  17764. - application/json
  17765. responses:
  17766. "200":
  17767. description: OK
  17768. schema:
  17769. $ref: '#/definitions/models.Szdz3searchwhitelist'
  17770. "500":
  17771. description: Internal Server Error
  17772. schema:
  17773. $ref: '#/definitions/app.Response'
  17774. security:
  17775. - ApiKeyAuth: []
  17776. summary: 搜索白名单
  17777. tags:
  17778. - 定制【尚志大宗】
  17779. /Search/SearchGoodses:
  17780. get:
  17781. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  17782. parameters:
  17783. - description: 检索内容
  17784. in: query
  17785. name: content
  17786. required: true
  17787. type: string
  17788. - description: 交易模式,格式:1,2,3
  17789. in: query
  17790. name: tradeModes
  17791. type: string
  17792. produces:
  17793. - application/json
  17794. responses:
  17795. "200":
  17796. description: OK
  17797. schema:
  17798. $ref: '#/definitions/models.SearchGoods'
  17799. "500":
  17800. description: Internal Server Error
  17801. schema:
  17802. $ref: '#/definitions/app.Response'
  17803. summary: 检索商品信息
  17804. tags:
  17805. - 检索服务
  17806. /TaAccount/GetTaAccounts:
  17807. get:
  17808. parameters:
  17809. - description: 登录账户
  17810. in: query
  17811. name: loginID
  17812. required: true
  17813. type: integer
  17814. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  17815. in: query
  17816. name: taAccountType
  17817. type: integer
  17818. produces:
  17819. - application/json
  17820. responses:
  17821. "200":
  17822. description: OK
  17823. schema:
  17824. $ref: '#/definitions/models.Taaccount'
  17825. "500":
  17826. description: Internal Server Error
  17827. schema:
  17828. $ref: '#/definitions/app.Response'
  17829. security:
  17830. - ApiKeyAuth: []
  17831. summary: 获取资金账户信息
  17832. tags:
  17833. - 资金账户
  17834. /TaAccount/QueryAmountLog:
  17835. get:
  17836. parameters:
  17837. - description: 页码
  17838. in: query
  17839. name: page
  17840. type: integer
  17841. - description: 每页条数
  17842. in: query
  17843. name: pagesize
  17844. type: integer
  17845. - description: 资金账户 - 格式:1,2,3
  17846. in: query
  17847. name: accountID
  17848. required: true
  17849. type: string
  17850. - description: 资金操作类型 - 格式:1,2,3
  17851. in: query
  17852. name: OperateType
  17853. type: string
  17854. produces:
  17855. - application/json
  17856. responses:
  17857. "200":
  17858. description: OK
  17859. schema:
  17860. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  17861. "500":
  17862. description: Internal Server Error
  17863. schema:
  17864. $ref: '#/definitions/app.Response'
  17865. security:
  17866. - ApiKeyAuth: []
  17867. summary: 资金流水查询(当前)
  17868. tags:
  17869. - 资金账户
  17870. /TaAccount/QueryHisAmountLog:
  17871. get:
  17872. parameters:
  17873. - description: 页码
  17874. in: query
  17875. name: page
  17876. type: integer
  17877. - description: 每页条数
  17878. in: query
  17879. name: pagesize
  17880. type: integer
  17881. - description: 资金账户 - 格式:1,2,3
  17882. in: query
  17883. name: accountID
  17884. required: true
  17885. type: string
  17886. - description: 资金操作类型 - 格式:1,2,3
  17887. in: query
  17888. name: OperateType
  17889. type: string
  17890. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  17891. in: query
  17892. name: startDate
  17893. type: string
  17894. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  17895. in: query
  17896. name: endDate
  17897. type: string
  17898. produces:
  17899. - application/json
  17900. responses:
  17901. "200":
  17902. description: OK
  17903. schema:
  17904. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  17905. "500":
  17906. description: Internal Server Error
  17907. schema:
  17908. $ref: '#/definitions/app.Response'
  17909. security:
  17910. - ApiKeyAuth: []
  17911. summary: 资金流水查询(历史)
  17912. tags:
  17913. - 资金账户
  17914. /Trade/QueryRecieptOrder:
  17915. get:
  17916. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  17917. parameters:
  17918. - description: 页码
  17919. in: query
  17920. name: page
  17921. type: integer
  17922. - description: 每页条数
  17923. in: query
  17924. name: pagesize
  17925. type: integer
  17926. - description: 商品ID
  17927. in: query
  17928. name: goodsID
  17929. required: true
  17930. type: integer
  17931. - description: 所属账户名称
  17932. in: query
  17933. name: accountName
  17934. type: string
  17935. - description: 市场ID
  17936. in: query
  17937. name: marketID
  17938. type: integer
  17939. - description: 方向 - 0:买 1:卖
  17940. in: query
  17941. name: buyorsell
  17942. required: true
  17943. type: integer
  17944. produces:
  17945. - application/json
  17946. responses:
  17947. "200":
  17948. description: OK
  17949. schema:
  17950. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  17951. "500":
  17952. description: Internal Server Error
  17953. schema:
  17954. $ref: '#/definitions/app.Response'
  17955. security:
  17956. - ApiKeyAuth: []
  17957. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  17958. tags:
  17959. - 通用交易
  17960. /User/AddMessageBoard:
  17961. post:
  17962. parameters:
  17963. - description: 用户ID
  17964. in: query
  17965. name: userID
  17966. required: true
  17967. type: integer
  17968. - description: 留言信息
  17969. in: query
  17970. name: message
  17971. required: true
  17972. type: string
  17973. - description: 联系电话
  17974. in: query
  17975. name: contactNum
  17976. required: true
  17977. type: string
  17978. produces:
  17979. - application/json
  17980. responses:
  17981. "200":
  17982. description: OK
  17983. schema:
  17984. $ref: '#/definitions/app.Response'
  17985. "500":
  17986. description: Internal Server Error
  17987. schema:
  17988. $ref: '#/definitions/app.Response'
  17989. security:
  17990. - ApiKeyAuth: []
  17991. summary: 添加用户留言板信息
  17992. tags:
  17993. - 用户信息
  17994. /User/AddUserFavoriteGoods:
  17995. post:
  17996. parameters:
  17997. - description: 用户ID
  17998. in: query
  17999. name: userID
  18000. required: true
  18001. type: integer
  18002. - description: 商品ID
  18003. in: query
  18004. name: goodsID
  18005. required: true
  18006. type: integer
  18007. produces:
  18008. - application/json
  18009. responses:
  18010. "200":
  18011. description: OK
  18012. schema:
  18013. $ref: '#/definitions/app.Response'
  18014. "500":
  18015. description: Internal Server Error
  18016. schema:
  18017. $ref: '#/definitions/app.Response'
  18018. security:
  18019. - ApiKeyAuth: []
  18020. summary: 添加用户商品收藏信息
  18021. tags:
  18022. - 用户信息
  18023. /User/GetLoginID:
  18024. get:
  18025. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  18026. parameters:
  18027. - description: 登录代码
  18028. in: query
  18029. name: username
  18030. required: true
  18031. type: string
  18032. produces:
  18033. - application/json
  18034. responses:
  18035. "200":
  18036. description: OK
  18037. schema:
  18038. $ref: '#/definitions/app.Response'
  18039. "500":
  18040. description: Internal Server Error
  18041. schema:
  18042. $ref: '#/definitions/app.Response'
  18043. summary: 获取登录ID
  18044. tags:
  18045. - 用户信息
  18046. /User/GetUserAccount:
  18047. get:
  18048. parameters:
  18049. - description: 用户ID
  18050. in: query
  18051. name: userID
  18052. required: true
  18053. type: integer
  18054. produces:
  18055. - application/json
  18056. responses:
  18057. "200":
  18058. description: OK
  18059. schema:
  18060. $ref: '#/definitions/models.Useraccount'
  18061. "500":
  18062. description: Internal Server Error
  18063. schema:
  18064. $ref: '#/definitions/app.Response'
  18065. security:
  18066. - ApiKeyAuth: []
  18067. summary: 获取用户账号信息
  18068. tags:
  18069. - 用户信息
  18070. /User/GetUserAuthStatus:
  18071. get:
  18072. parameters:
  18073. - description: 用户ID
  18074. in: query
  18075. name: userID
  18076. required: true
  18077. type: integer
  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. security:
  18090. - ApiKeyAuth: []
  18091. summary: 获取用户实名认证状态
  18092. tags:
  18093. - 用户信息
  18094. /User/LoginQuery:
  18095. get:
  18096. parameters:
  18097. - description: 登录账号
  18098. in: query
  18099. name: loginID
  18100. required: true
  18101. type: integer
  18102. produces:
  18103. - application/json
  18104. responses:
  18105. "200":
  18106. description: OK
  18107. schema:
  18108. $ref: '#/definitions/user.LoginQueryRsp'
  18109. "500":
  18110. description: Internal Server Error
  18111. schema:
  18112. $ref: '#/definitions/app.Response'
  18113. security:
  18114. - ApiKeyAuth: []
  18115. summary: 账户登录后信息查询
  18116. tags:
  18117. - 用户信息
  18118. /User/QueryMessageBoard:
  18119. get:
  18120. parameters:
  18121. - description: 用户ID
  18122. in: query
  18123. name: userID
  18124. required: true
  18125. type: integer
  18126. produces:
  18127. - application/json
  18128. responses:
  18129. "200":
  18130. description: OK
  18131. schema:
  18132. $ref: '#/definitions/models.Messageboard'
  18133. "500":
  18134. description: Internal Server Error
  18135. schema:
  18136. $ref: '#/definitions/app.Response'
  18137. security:
  18138. - ApiKeyAuth: []
  18139. summary: 获取用户留言板信息
  18140. tags:
  18141. - 用户信息
  18142. /User/QueryUserFavoriteGoodses:
  18143. get:
  18144. parameters:
  18145. - description: 用户ID
  18146. in: query
  18147. name: userID
  18148. required: true
  18149. type: integer
  18150. produces:
  18151. - application/json
  18152. responses:
  18153. "200":
  18154. description: OK
  18155. schema:
  18156. $ref: '#/definitions/models.Userfavoritegoods'
  18157. "500":
  18158. description: Internal Server Error
  18159. schema:
  18160. $ref: '#/definitions/app.Response'
  18161. security:
  18162. - ApiKeyAuth: []
  18163. summary: 获取用户商品收藏信息
  18164. tags:
  18165. - 用户信息
  18166. /User/QueryUserInfo:
  18167. get:
  18168. parameters:
  18169. - description: 用户ID
  18170. in: query
  18171. name: userID
  18172. required: true
  18173. type: integer
  18174. - description: 是否解密
  18175. in: query
  18176. name: isDecrypt
  18177. type: boolean
  18178. produces:
  18179. - application/json
  18180. responses:
  18181. "200":
  18182. description: OK
  18183. schema:
  18184. $ref: '#/definitions/models.Userinfo'
  18185. "500":
  18186. description: Internal Server Error
  18187. schema:
  18188. $ref: '#/definitions/app.Response'
  18189. security:
  18190. - ApiKeyAuth: []
  18191. summary: 获取用户信息
  18192. tags:
  18193. - 用户信息
  18194. /User/QueryUserReferNum:
  18195. get:
  18196. parameters:
  18197. - description: 用户ID
  18198. in: query
  18199. name: userID
  18200. required: true
  18201. type: integer
  18202. produces:
  18203. - application/json
  18204. responses:
  18205. "200":
  18206. description: OK
  18207. schema:
  18208. $ref: '#/definitions/app.Response'
  18209. "500":
  18210. description: Internal Server Error
  18211. schema:
  18212. $ref: '#/definitions/app.Response'
  18213. summary: 获取用户邀请码
  18214. tags:
  18215. - 用户信息
  18216. /User/RemoveUserFavoriteGoods:
  18217. post:
  18218. parameters:
  18219. - description: 用户ID
  18220. in: query
  18221. name: userID
  18222. required: true
  18223. type: integer
  18224. - description: 商品ID
  18225. in: query
  18226. name: goodsID
  18227. required: true
  18228. type: integer
  18229. produces:
  18230. - application/json
  18231. responses:
  18232. "200":
  18233. description: OK
  18234. schema:
  18235. $ref: '#/definitions/app.Response'
  18236. "500":
  18237. description: Internal Server Error
  18238. schema:
  18239. $ref: '#/definitions/app.Response'
  18240. security:
  18241. - ApiKeyAuth: []
  18242. summary: 移除用户商品收藏信息
  18243. tags:
  18244. - 用户信息
  18245. /User/UpdateUserAccountStatus:
  18246. post:
  18247. parameters:
  18248. - description: 用户ID
  18249. in: query
  18250. name: userID
  18251. required: true
  18252. type: integer
  18253. - description: 账户状态 - 4:正常 6:注销(停用)
  18254. in: query
  18255. name: accountStatus
  18256. required: true
  18257. type: integer
  18258. produces:
  18259. - application/json
  18260. responses:
  18261. "200":
  18262. description: OK
  18263. schema:
  18264. $ref: '#/definitions/app.Response'
  18265. "500":
  18266. description: Internal Server Error
  18267. schema:
  18268. $ref: '#/definitions/app.Response'
  18269. security:
  18270. - ApiKeyAuth: []
  18271. summary: 更新用户状态
  18272. tags:
  18273. - 用户信息
  18274. /WRTrade/GetAllDeliveryGoods:
  18275. get:
  18276. produces:
  18277. - application/json
  18278. - application/json
  18279. responses:
  18280. "200":
  18281. description: OK
  18282. schema:
  18283. $ref: '#/definitions/app.Response'
  18284. "500":
  18285. description: Internal Server Error
  18286. schema:
  18287. $ref: '#/definitions/app.Response'
  18288. security:
  18289. - ApiKeyAuth: []
  18290. - ApiKeyAuth: []
  18291. summary: 获取带仓单分类的种类信息
  18292. tags:
  18293. - 仓单贸易
  18294. - 仓单贸易
  18295. securityDefinitions:
  18296. ApiKeyAuth:
  18297. in: header
  18298. name: Authorization
  18299. type: apiKey
  18300. swagger: "2.0"