swagger.yaml 476 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372
  1. basePath: /api
  2. definitions:
  3. app.Response:
  4. properties:
  5. code:
  6. type: integer
  7. data:
  8. type: object
  9. msg:
  10. type: string
  11. page:
  12. description: 页码
  13. type: integer
  14. pagesize:
  15. description: 每页条数
  16. type: integer
  17. total:
  18. description: 总条数
  19. type: integer
  20. type: object
  21. common.ClientMenu:
  22. properties:
  23. children:
  24. description: 子菜单列表
  25. items:
  26. $ref: '#/definitions/common.ClientMenu'
  27. type: array
  28. code:
  29. description: ID
  30. type: string
  31. isshow:
  32. description: 是否显示
  33. type: boolean
  34. rulekey:
  35. description: 对应权限主键,对应FUNCMENULIST表RESOURCECODE
  36. type: string
  37. sort:
  38. description: 排序
  39. type: integer
  40. title:
  41. description: 标题
  42. type: string
  43. type:
  44. description: 类型,1:菜单 2:按钮
  45. type: integer
  46. type: object
  47. common.QueryImageConfigsRsp:
  48. properties:
  49. areauserid:
  50. description: 所属机构ID
  51. type: integer
  52. configid:
  53. description: 配置ID(SEQ_SZDZ2_IMAGECONFIG)
  54. type: integer
  55. createdate:
  56. description: 创建时间
  57. type: string
  58. creatorid:
  59. description: 创建人
  60. type: integer
  61. imagepath:
  62. description: 图片
  63. type: string
  64. imagetype:
  65. description: 类型 - 1:首页轮播(移动) 2:我的(移动)
  66. type: integer
  67. isshow:
  68. description: 是否展示 - 0:不展示 1:展示
  69. type: integer
  70. marketid:
  71. description: 市场ID
  72. type: integer
  73. modifierid:
  74. description: 操作人
  75. type: integer
  76. sort:
  77. description: 排序
  78. type: integer
  79. title:
  80. description: 标题
  81. type: string
  82. trademode:
  83. description: 交易模式
  84. type: integer
  85. updatedate:
  86. description: 修改时间
  87. type: string
  88. url:
  89. description: 链接(地址或商品ID)
  90. type: string
  91. urltype:
  92. description: 链接类型 - 1:直接地址 2:商品ID
  93. type: integer
  94. required:
  95. - configid
  96. type: object
  97. common.QueryNoticeRsp:
  98. properties:
  99. auditoruserid:
  100. description: 审核人
  101. type: integer
  102. auditremark:
  103. description: 审核备注
  104. type: string
  105. audittime:
  106. description: 审核日期
  107. type: string
  108. autoid:
  109. description: 自增ID
  110. type: integer
  111. content:
  112. description: 内容
  113. type: string
  114. createtime:
  115. description: 创建时间
  116. type: string
  117. creatorid:
  118. description: 建仓人
  119. type: integer
  120. endtime:
  121. description: 结束时间
  122. type: string
  123. istop:
  124. description: 是否置顶 - 0:不置顶 1:置顶
  125. type: integer
  126. msgiconurl:
  127. description: 消息图标Url
  128. type: string
  129. msgtype:
  130. description: 消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知
  131. type: integer
  132. publisher:
  133. description: 消息发布者
  134. type: string
  135. readed:
  136. description: 是否已读
  137. type: boolean
  138. scheduletime:
  139. description: 计划发送时间
  140. type: string
  141. sendtype:
  142. description: 推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)
  143. type: integer
  144. sentstatus:
  145. description: 推送状态 - 0:未推送 1:已推送 2:审核拒绝
  146. type: integer
  147. title:
  148. description: 标题
  149. type: string
  150. userid:
  151. description: 会员/投资者ID推送方式 为 个人时,填写投资者ID
  152. type: integer
  153. required:
  154. - autoid
  155. type: object
  156. common.QueryProvincesAndCitiesRsp:
  157. properties:
  158. cities:
  159. description: 市
  160. items:
  161. $ref: '#/definitions/models.Division'
  162. type: array
  163. province:
  164. $ref: '#/definitions/models.Division'
  165. description: 省
  166. type: object
  167. type: object
  168. common.QueryTableDefineRsp:
  169. properties:
  170. columns:
  171. description: 列头信息数组
  172. items:
  173. $ref: '#/definitions/models.Tablecolumnconfig'
  174. type: array
  175. remark:
  176. description: Remark
  177. type: string
  178. tabelmenu:
  179. description: 列表菜单
  180. type: string
  181. tablekey:
  182. description: 列表Key
  183. type: string
  184. tablename:
  185. description: 列表名称
  186. type: string
  187. tabletype:
  188. description: 列表类型 - 1:管理端 2:终端
  189. type: integer
  190. required:
  191. - tablekey
  192. type: object
  193. common.QueryTraderMenuRsp:
  194. properties:
  195. OperationMenu:
  196. description: 功能菜单
  197. items:
  198. $ref: '#/definitions/models.OperationPrimaryMenu'
  199. type: array
  200. QuoteMenu:
  201. description: 报价牌分类菜单
  202. items:
  203. $ref: '#/definitions/models.QuotePrimaryMenu'
  204. type: array
  205. type: object
  206. cptrade.Cptradepositioncancel:
  207. properties:
  208. accountid:
  209. description: 申请人账户ID
  210. type: integer
  211. applystatus:
  212. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  213. type: integer
  214. applytime:
  215. description: 申请时间
  216. type: string
  217. cancelid:
  218. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  219. type: integer
  220. cancelqty:
  221. description: 注销数量
  222. type: integer
  223. createtime:
  224. description: 创建时间
  225. type: string
  226. creatorid:
  227. description: 创建人ID
  228. type: integer
  229. creatorname:
  230. description: 创建人
  231. type: string
  232. goodscode:
  233. description: 订单商品代码
  234. type: string
  235. goodsid:
  236. description: 商品ID
  237. type: integer
  238. goodsname:
  239. description: 订单商品名称
  240. type: string
  241. goodunit:
  242. description: 报价单位
  243. type: string
  244. handlestatus:
  245. description: 处理状态
  246. type: integer
  247. marketid:
  248. description: 市场ID
  249. type: integer
  250. marketname:
  251. description: 市场名称
  252. type: string
  253. tradedate:
  254. description: 交易日(yyyyMMdd)
  255. type: string
  256. userid:
  257. description: 申请人ID
  258. type: integer
  259. required:
  260. - cancelid
  261. type: object
  262. cptrade.Cptradepresaleapply:
  263. properties:
  264. accountid:
  265. description: 申请人账户ID
  266. type: integer
  267. applyid:
  268. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  269. type: integer
  270. applyremark:
  271. description: 申请备注
  272. type: string
  273. applystatus:
  274. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  275. type: integer
  276. applytime:
  277. description: 申请时间
  278. type: string
  279. attachmenturl:
  280. description: 附件地址
  281. type: string
  282. endtime:
  283. description: 预售结束时间
  284. type: string
  285. goodscode:
  286. description: 商品代码
  287. type: string
  288. goodsid:
  289. description: 商品ID
  290. type: integer
  291. goodsname:
  292. description: 商品名称
  293. type: string
  294. goodunit:
  295. description: 报价单位
  296. type: string
  297. handlestatus:
  298. description: 处理状态
  299. type: integer
  300. marketid:
  301. description: 预售市场ID
  302. type: integer
  303. marketname:
  304. description: 预售市场名称
  305. type: string
  306. presaleqty:
  307. description: 预售数量
  308. type: integer
  309. relatedgoodscode:
  310. description: 关联交易合约代码
  311. type: string
  312. relatedgoodsid:
  313. description: 关联交易合约ID
  314. type: integer
  315. relatedgoodsname:
  316. description: 关联交易合约名称
  317. type: string
  318. starttime:
  319. description: 预售开始时间
  320. type: string
  321. tradedate:
  322. description: 交易日(yyyyMMdd)
  323. type: string
  324. trademode:
  325. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  326. type: integer
  327. userid:
  328. description: 申请人ID
  329. type: integer
  330. required:
  331. - applyid
  332. type: object
  333. cptrade.Cptradeusergoodsdata:
  334. properties:
  335. EnabledQty:
  336. description: 可用量
  337. type: integer
  338. GoodsCode:
  339. description: 订单商品代码
  340. type: string
  341. GoodsName:
  342. description: 订单商品名称
  343. type: string
  344. WRStandardCode:
  345. description: 仓单标准代码
  346. type: string
  347. WRStandardName:
  348. description: 仓单标准名称
  349. type: string
  350. accountid:
  351. description: 账户ID
  352. type: integer
  353. cancelqty:
  354. description: 注销量
  355. type: integer
  356. curpresaleqty:
  357. description: 当前预售量
  358. type: integer
  359. deliveryqty:
  360. description: 交割量
  361. type: integer
  362. freezeamount:
  363. description: 冻结金额
  364. type: number
  365. goodsid:
  366. description: 商品ID
  367. type: integer
  368. goodunit:
  369. description: 报价单位
  370. type: string
  371. hasspotfreeze:
  372. description: 是否有现货冻结 - 0:否 1:有
  373. type: integer
  374. inqty:
  375. description: 转入量(总数量)
  376. type: integer
  377. marketid:
  378. description: 市场ID
  379. type: integer
  380. presaledamount:
  381. description: 已预售总金额
  382. type: integer
  383. presaledqty:
  384. description: 已预售量
  385. type: integer
  386. userid:
  387. description: 用户ID
  388. type: integer
  389. wrstandardid:
  390. description: 仓单标准ID
  391. type: integer
  392. required:
  393. - accountid
  394. - goodsid
  395. type: object
  396. cptrade.QueryCPTradeMyBidRsp:
  397. properties:
  398. accountid:
  399. description: 账户ID[报价币种]
  400. type: integer
  401. goodsid:
  402. description: 商品ID
  403. type: integer
  404. goodunit:
  405. description: 报价单位
  406. type: string
  407. marketid:
  408. description: 市场ID
  409. type: integer
  410. orderid:
  411. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  412. type: integer
  413. orderprice:
  414. description: 委托价格
  415. type: number
  416. orderqty:
  417. description: 委托数量
  418. type: integer
  419. ordertime:
  420. description: 委托时间
  421. type: string
  422. ordertotalprice:
  423. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  424. type: number
  425. ordertotalweight:
  426. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  427. type: integer
  428. totaltotalprice:
  429. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  430. type: number
  431. tradeprice:
  432. description: 成交价格
  433. type: number
  434. tradeqty:
  435. description: 成交数量
  436. type: integer
  437. required:
  438. - accountid
  439. - goodsid
  440. - marketid
  441. - orderid
  442. - orderqty
  443. - ordertime
  444. - tradeprice
  445. - tradeqty
  446. type: object
  447. cptrade.QueryCPTradeOrderDetailRsq:
  448. properties:
  449. accountid:
  450. description: 账户ID[报价币种]
  451. type: integer
  452. buildtype:
  453. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  454. type: integer
  455. buyorsell:
  456. description: 买卖 - 0:买 1:卖
  457. type: integer
  458. cancelorderid:
  459. description: 撤单单号(撤单时填写)
  460. type: integer
  461. cancelqty:
  462. description: 撤单数量
  463. type: integer
  464. clientordertime:
  465. description: 客户端委托时间
  466. type: string
  467. clientticket:
  468. description: 客户端流水号
  469. type: string
  470. clienttype:
  471. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  472. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  473. type: integer
  474. closeexchagechargevalue:
  475. description: 平仓交易所手续费设置值
  476. type: number
  477. closefeealgorithm:
  478. description: 平仓手续费收取方式 1:比率 2:固定
  479. type: integer
  480. closefreezecharge:
  481. description: 平仓冻结手续费(先建后平操作,需要记录)
  482. type: number
  483. closememberchargevalue:
  484. description: 平仓会员手续费设置值
  485. type: number
  486. closeqty:
  487. description: 平仓数量(先建后平操作 需要记录)
  488. type: integer
  489. closetradeqty:
  490. description: 平仓成交数量(先建后平操作,需要记录)
  491. type: integer
  492. closeunfreezecharge:
  493. description: 平仓解冻手续费(先建后平操作,需要记录)
  494. type: number
  495. delistingtype:
  496. description: 摘牌类型 - 1:价格最优 2:点选成交
  497. type: integer
  498. freezecharge:
  499. description: 冻结手续费
  500. type: number
  501. freezemargin:
  502. description: 冻结保证金(冻结交易金额)
  503. type: number
  504. gcaccountid:
  505. description: 账户ID[合约币种]
  506. type: integer
  507. goodsid:
  508. description: 商品ID
  509. type: integer
  510. isconfirmexercise:
  511. description: 是否确认行权- 0:否 1:是
  512. type: integer
  513. ispreexercise:
  514. description: 是否预申报- 0:否 1:是
  515. type: integer
  516. listingselecttype:
  517. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  518. type: integer
  519. marginalgorithm:
  520. description: 保证金收取方式 1:比率 2:固定
  521. type: integer
  522. marginvalue:
  523. description: 即市保证金设置值
  524. type: number
  525. marketid:
  526. description: 市场ID
  527. type: integer
  528. marketmaxsub:
  529. description: 市价最大偏移范围
  530. type: number
  531. memberuserid:
  532. description: 所属会员UserID
  533. type: integer
  534. openexchagechargevalue:
  535. description: 建仓交易所手续费设置值
  536. type: number
  537. openfeealgorithm:
  538. description: 建仓手续费收取方式 1:比率 2:固定
  539. type: integer
  540. openfreezecharge:
  541. description: 开仓冻结手续费(先建后平操作,需要记录)
  542. type: number
  543. openmemberchargevalue:
  544. description: 建仓会员手续费设置值
  545. type: number
  546. openqty:
  547. description: 开仓数量(先建后平操作,需要记录)
  548. type: integer
  549. opentradeqty:
  550. description: 开仓成交数量(先建后平操作,需要记录)
  551. type: integer
  552. openunfreezecharge:
  553. description: 开仓解冻手续费(先建后平操作,需要记录)
  554. type: number
  555. operatetype:
  556. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  557. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  558. 15:管理端协议转让
  559. type: integer
  560. operatorid:
  561. description: 登录账号(LoginID)
  562. type: integer
  563. optiontype:
  564. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  565. type: integer
  566. orderprice:
  567. description: 委托价格
  568. type: number
  569. orderqty:
  570. description: 委托数量
  571. type: integer
  572. ordersrc:
  573. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  574. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  575. type: integer
  576. orderstatus:
  577. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  578. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  579. 16:成交失败违约(荷兰式竞拍专用)
  580. type: integer
  581. ordertime:
  582. description: 委托时间
  583. type: string
  584. preexerciseprice:
  585. description: 预申报价格
  586. type: number
  587. premium:
  588. description: 权利金
  589. type: number
  590. preorderid:
  591. description: 关联预埋单号(止盈止损单时填写)
  592. type: integer
  593. pricemode:
  594. description: '取价方式 - 1:市价 2: 限价'
  595. type: integer
  596. quoteid:
  597. description: 报价单ID
  598. type: integer
  599. relatedid:
  600. description: 关联单号(交割单)
  601. type: integer
  602. retcode:
  603. description: 错误代码
  604. type: integer
  605. sessionid:
  606. description: 会话ID
  607. type: integer
  608. strorderid:
  609. description: 委托单号
  610. type: string
  611. tradedate:
  612. description: 交易日(yyyyMMdd)
  613. type: string
  614. tradeproperty:
  615. description: 交易属性
  616. type: integer
  617. tradeqty:
  618. description: 成交数量
  619. type: integer
  620. unfreezecharge:
  621. description: 解冻手续费
  622. type: number
  623. unfreezemargin:
  624. description: 解冻保证金
  625. type: number
  626. updatetime:
  627. description: 更新时间
  628. type: string
  629. uuid:
  630. description: 发起端唯一id
  631. type: string
  632. validtime:
  633. description: 有效期限
  634. type: string
  635. validtype:
  636. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  637. type: integer
  638. volumetype:
  639. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  640. type: integer
  641. required:
  642. - accountid
  643. - buildtype
  644. - buyorsell
  645. - goodsid
  646. - marketid
  647. - memberuserid
  648. - operatetype
  649. - orderqty
  650. - ordertime
  651. - pricemode
  652. - strorderid
  653. - tradedate
  654. - validtype
  655. type: object
  656. cptrade.QueryMyCPTradeGoodsRsp:
  657. properties:
  658. accountid:
  659. description: 卖方账户ID
  660. type: integer
  661. agreeunit:
  662. description: 合约单位
  663. type: number
  664. applyid:
  665. description: 关联申请ID
  666. type: integer
  667. attachmenturl:
  668. description: 附件地址
  669. type: string
  670. createtime:
  671. description: 创建时间
  672. type: string
  673. currencyid:
  674. description: 报价货币ID
  675. type: integer
  676. decimalplace:
  677. description: 报价小数位
  678. type: integer
  679. endtime:
  680. description: 预售结束时间
  681. type: string
  682. floorprice:
  683. description: 底价[大宗式竞拍]
  684. type: number
  685. goodscode:
  686. description: 商品代码(预售)
  687. type: string
  688. goodsdetail:
  689. description: 详情[大宗]
  690. type: string
  691. goodsid:
  692. description: 商品ID(自增ID SEQ_GOODS)
  693. type: integer
  694. goodsname:
  695. description: 商品名称(预售)
  696. type: string
  697. goodunit:
  698. description: 报价单位
  699. type: string
  700. goodunitid:
  701. description: 报价单位ID
  702. type: integer
  703. marketid:
  704. description: 所属市场ID
  705. type: integer
  706. marketname:
  707. description: 预售市场名称
  708. type: string
  709. presaledamount:
  710. description: 已预售总金额(预售结束时更新)
  711. type: number
  712. presaledqty:
  713. description: 已预售量(预售结束时更新)
  714. type: integer
  715. presalemode:
  716. description: 预售模式 - 1:一口价 2:大宗式竞拍
  717. type: integer
  718. presaleqty:
  719. description: 预售数量
  720. type: integer
  721. refprice:
  722. description: 参考价格[一口价]
  723. type: number
  724. relatedgoodscode:
  725. description: 商品代码(订单)
  726. type: string
  727. relatedgoodsid:
  728. description: 关联交易合约ID
  729. type: integer
  730. relatedgoodsname:
  731. description: 商品名称(订单)
  732. type: string
  733. relatedmarketid:
  734. description: 关联交易合约市场ID
  735. type: integer
  736. sellstatus:
  737. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  738. type: integer
  739. startprice:
  740. description: 起拍价[大宗式竞拍]
  741. type: number
  742. starttime:
  743. description: 预售开始时间
  744. type: string
  745. tradedate:
  746. description: 交易日(yyyyMMdd)
  747. type: string
  748. tradeprice:
  749. description: 成交价[大宗]
  750. type: number
  751. userid:
  752. description: 卖方用户ID
  753. type: integer
  754. required:
  755. - goodscode
  756. - goodsid
  757. - goodsname
  758. - marketid
  759. - relatedgoodscode
  760. - relatedgoodsname
  761. type: object
  762. cptrade.QueryPresaleGoodsExRsp:
  763. properties:
  764. attachmenturl:
  765. description: 附件地址
  766. type: string
  767. createtime:
  768. description: 创建时间
  769. type: string
  770. endtime:
  771. description: 预售结束时间
  772. type: string
  773. floorprice:
  774. description: 底价[大宗式竞拍]
  775. type: number
  776. goodsdetail:
  777. description: 详情[大宗]
  778. type: string
  779. goodsid:
  780. description: 商品ID(预售)
  781. type: integer
  782. goodunit:
  783. description: 报价单位
  784. type: string
  785. marketid:
  786. description: 预售市场ID - 根据预售模式选择市场
  787. type: integer
  788. presaledamount:
  789. description: 已预售总金额(预售结束时更新)
  790. type: number
  791. presaledqty:
  792. description: 已预售量(预售结束时更新)
  793. type: integer
  794. presalemode:
  795. description: 预售模式 - 1:一口价 2:大宗式竞拍
  796. type: integer
  797. presaleqty:
  798. description: 预售数量
  799. type: integer
  800. refprice:
  801. description: 参考价格[一口价]
  802. type: number
  803. relatedgoodsid:
  804. description: 关联交易合约ID
  805. type: integer
  806. relatedmarketid:
  807. description: 关联交易合约市场ID
  808. type: integer
  809. sellstatus:
  810. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  811. type: integer
  812. startprice:
  813. description: 起拍价[大宗式竞拍]
  814. type: number
  815. starttime:
  816. description: 预售开始时间
  817. type: string
  818. tradedate:
  819. description: 交易日(yyyyMMdd)
  820. type: string
  821. tradeprice:
  822. description: 成交价[大宗]
  823. type: number
  824. required:
  825. - goodsid
  826. type: object
  827. delivery.QueryDeliveryRelationRsp:
  828. properties:
  829. begindate:
  830. description: 起始日期(yyyyMMdd)
  831. type: string
  832. buytemplateid:
  833. description: 买履约计划模板ID
  834. type: integer
  835. deliverygoodscode:
  836. description: 品种代码
  837. type: string
  838. deliverygoodsid:
  839. description: 交割商品
  840. type: integer
  841. deliverygoodsname:
  842. description: 品种名称
  843. type: string
  844. deliverymode:
  845. description: 交割方式 - 1:点选式 2:申报式
  846. type: integer
  847. deliverypricerule:
  848. description: 交割价规则- 1:行情价 2:建仓价
  849. type: integer
  850. deliverytype:
  851. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  852. type: integer
  853. enddate:
  854. description: 结束日期(yyyyMMdd)
  855. type: string
  856. goodscode:
  857. description: 商品代码
  858. type: string
  859. goodsid:
  860. description: 交易合约ID
  861. type: integer
  862. goodsname:
  863. description: 商品名称
  864. type: string
  865. marketid:
  866. description: 市场ID
  867. type: integer
  868. mindeliveryqty:
  869. description: 最小交割系数(K)
  870. type: integer
  871. p2deliveryprice:
  872. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  873. type: number
  874. p2deliveryratio:
  875. description: P2合约系数(p)
  876. type: integer
  877. p2goodsid:
  878. description: P2合约ID
  879. type: integer
  880. p2pricemode:
  881. description: P2合约价格方式 - 1:商品价 2:固定值
  882. type: integer
  883. pdeliveryprice:
  884. description: P合约价格(商品价时填写0,固定值时填写固定值)
  885. type: number
  886. pdeliveryratio:
  887. description: P合约系数(n)
  888. type: integer
  889. pgoodsid:
  890. description: P合约ID
  891. type: integer
  892. ppricemode:
  893. description: P合约价格方式 - 1:商品价 2:固定值
  894. type: integer
  895. rratio:
  896. description: 兑换系数(R)
  897. type: integer
  898. rratio1:
  899. description: 兑换系数(交易合约)(R1)
  900. type: integer
  901. rratio2:
  902. description: 兑换系数(仓单标准)(R2)
  903. type: integer
  904. selltemplateid:
  905. description: 卖履约计划模板ID
  906. type: integer
  907. wrstandardid:
  908. description: 仓单标准ID
  909. type: integer
  910. xdeliveryratio:
  911. description: 交易合约系数(m)
  912. type: integer
  913. required:
  914. - begindate
  915. - enddate
  916. - goodsid
  917. - mindeliveryqty
  918. - xdeliveryratio
  919. type: object
  920. ermcp.ExposureDetailRsp:
  921. $ref: '#/definitions/models.ErmcpExposureDetailModel'
  922. ermcp.ExposureHedgePosDetailRsp:
  923. $ref: '#/definitions/models.ErmcpHedgePositionDetail'
  924. ermcp.ExposureHedgePositionRsp:
  925. $ref: '#/definitions/models.ErmcpHedgePosition'
  926. ermcp.ExposureSpotDetailRsp:
  927. $ref: '#/definitions/models.ErmcpAreaSpotDetailModel'
  928. ermcp.ExposureSpotRsp:
  929. $ref: '#/definitions/models.AreaSpotModel'
  930. ermcp.HisExposureRsp:
  931. $ref: '#/definitions/models.ErmcpHisExposureS'
  932. ermcp.PendingAuditCntRsp:
  933. $ref: '#/definitions/models.ErmcpPendingAudit'
  934. ermcp.QryAreaStockApplyRsp:
  935. $ref: '#/definitions/models.ErmcpAreaStockApply'
  936. ermcp.QryAvalidGPRsp:
  937. $ref: '#/definitions/models.ErmcpAvalidGoodsGroupModel'
  938. ermcp.QryBusinessDjRsp:
  939. properties:
  940. amount:
  941. description: 点价金额=(点价价格+升贴水)*点价数量
  942. type: number
  943. applyid:
  944. description: 申请人
  945. type: string
  946. applyname:
  947. description: 申请人名称
  948. type: string
  949. applystatus:
  950. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  951. type: integer
  952. applytime:
  953. description: 申请时间
  954. type: string
  955. attachurl:
  956. description: 附件
  957. type: string
  958. auditid:
  959. description: 审核人ID
  960. type: string
  961. auditname:
  962. description: 审核人名称
  963. type: string
  964. audittime:
  965. description: 审核时间
  966. type: string
  967. buyusername:
  968. description: 采购方名称
  969. type: string
  970. contractno:
  971. description: 合同编号
  972. type: string
  973. contractstatus:
  974. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  975. type: integer
  976. contracttype:
  977. description: 现货合同类型 - 1:采购 -1:销售
  978. type: integer
  979. deliverygoodscode:
  980. description: 现货品种代码
  981. type: string
  982. deliverygoodsid:
  983. description: 现货商品ID
  984. type: integer
  985. deliverygoodsname:
  986. description: 现货品种名称
  987. type: string
  988. enumdicname:
  989. description: 单位名称
  990. type: string
  991. goodscode:
  992. description: 点价合约
  993. type: string
  994. goodsname:
  995. description: 商品名称
  996. type: string
  997. operateapplyid:
  998. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  999. type: string
  1000. operateapplytype:
  1001. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1002. type: integer
  1003. pricedPrice:
  1004. description: 点价价格(非必填)
  1005. type: number
  1006. pricedQty:
  1007. description: 点价数量(非必填)
  1008. type: number
  1009. pricemove:
  1010. description: 升贴水
  1011. type: number
  1012. pricetype:
  1013. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1014. type: integer
  1015. relatedid:
  1016. description: 现货合同ID
  1017. type: string
  1018. sellusername:
  1019. description: 销售方名字
  1020. type: string
  1021. userid:
  1022. description: 用户ID
  1023. type: integer
  1024. wrstandardcode:
  1025. description: 品类代码
  1026. type: string
  1027. wrstandardid:
  1028. description: 品类id
  1029. type: integer
  1030. wrstandardname:
  1031. description: 品类名称
  1032. type: string
  1033. type: object
  1034. ermcp.QryBussinessFpRsp:
  1035. properties:
  1036. applyid:
  1037. description: 申请人
  1038. type: string
  1039. applyname:
  1040. description: 申请人名称
  1041. type: string
  1042. applystatus:
  1043. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1044. type: integer
  1045. applytime:
  1046. description: 申请时间
  1047. type: string
  1048. attachurl:
  1049. description: 附件
  1050. type: string
  1051. auditid:
  1052. description: 审核人ID
  1053. type: string
  1054. auditname:
  1055. description: 审核人名称
  1056. type: string
  1057. audittime:
  1058. description: 审核时间
  1059. type: string
  1060. buyusername:
  1061. description: 采购方名称
  1062. type: string
  1063. contractno:
  1064. description: 合同编号
  1065. type: string
  1066. contractstatus:
  1067. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1068. type: integer
  1069. contracttype:
  1070. description: 现货合同类型 - 1:采购 -1:销售
  1071. type: integer
  1072. deliverygoodscode:
  1073. description: 现货品种代码
  1074. type: string
  1075. deliverygoodsid:
  1076. description: 现货商品ID
  1077. type: integer
  1078. deliverygoodsname:
  1079. description: 现货品种名称
  1080. type: string
  1081. enumdicname:
  1082. description: 单位名称
  1083. type: string
  1084. goodscode:
  1085. description: 点价合约
  1086. type: string
  1087. goodsname:
  1088. description: 商品名称
  1089. type: string
  1090. invoiceAmount:
  1091. description: 已开收票金额(销售为开票,采购为收票)
  1092. type: number
  1093. operateapplyid:
  1094. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1095. type: string
  1096. operateapplytype:
  1097. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1098. type: integer
  1099. pricemove:
  1100. description: 升贴水
  1101. type: number
  1102. pricetype:
  1103. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1104. type: integer
  1105. relatedid:
  1106. description: 现货合同ID
  1107. type: string
  1108. sellusername:
  1109. description: 销售方名字
  1110. type: string
  1111. userid:
  1112. description: 用户ID
  1113. type: integer
  1114. wrstandardcode:
  1115. description: 品类代码
  1116. type: string
  1117. wrstandardid:
  1118. description: 品类id
  1119. type: integer
  1120. wrstandardname:
  1121. description: 品类名称
  1122. type: string
  1123. type: object
  1124. ermcp.QryBussinessJsExRsp:
  1125. properties:
  1126. applyid:
  1127. description: 申请人
  1128. type: string
  1129. applyname:
  1130. description: 申请人名称
  1131. type: string
  1132. applystatus:
  1133. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1134. type: integer
  1135. applytime:
  1136. description: 申请时间
  1137. type: string
  1138. attachurl:
  1139. description: 附件
  1140. type: string
  1141. auditid:
  1142. description: 审核人ID
  1143. type: string
  1144. auditname:
  1145. description: 审核人名称
  1146. type: string
  1147. audittime:
  1148. description: 审核时间
  1149. type: string
  1150. buyusername:
  1151. description: 采购方名称
  1152. type: string
  1153. contractno:
  1154. description: 合同编号
  1155. type: string
  1156. contractstatus:
  1157. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1158. type: integer
  1159. contracttype:
  1160. description: 现货合同类型 - 1:采购 -1:销售
  1161. type: integer
  1162. deliverygoodscode:
  1163. description: 现货品种代码
  1164. type: string
  1165. deliverygoodsid:
  1166. description: 现货商品ID
  1167. type: integer
  1168. deliverygoodsname:
  1169. description: 现货品种名称
  1170. type: string
  1171. enumdicname:
  1172. description: 单位名称
  1173. type: string
  1174. goodscode:
  1175. description: 点价合约
  1176. type: string
  1177. goodsname:
  1178. description: 商品名称
  1179. type: string
  1180. operateapplyid:
  1181. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1182. type: string
  1183. operateapplytype:
  1184. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1185. type: integer
  1186. pricemove:
  1187. description: 升贴水
  1188. type: number
  1189. pricetype:
  1190. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1191. type: integer
  1192. reckontype:
  1193. description: 结算类型
  1194. type: string
  1195. reckonvalue:
  1196. description: 值
  1197. type: number
  1198. relatedid:
  1199. description: 现货合同ID
  1200. type: string
  1201. sellusername:
  1202. description: 销售方名字
  1203. type: string
  1204. userid:
  1205. description: 用户ID
  1206. type: integer
  1207. wrstandardcode:
  1208. description: 品类代码
  1209. type: string
  1210. wrstandardid:
  1211. description: 品类id
  1212. type: integer
  1213. wrstandardname:
  1214. description: 品类名称
  1215. type: string
  1216. type: object
  1217. ermcp.QryBussinessJsRsp:
  1218. properties:
  1219. addmargin:
  1220. description: 追加保证金(非必填)
  1221. type: number
  1222. applyid:
  1223. description: 申请人
  1224. type: string
  1225. applyname:
  1226. description: 申请人名称
  1227. type: string
  1228. applystatus:
  1229. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1230. type: integer
  1231. applytime:
  1232. description: 申请时间
  1233. type: string
  1234. attachurl:
  1235. description: 附件
  1236. type: string
  1237. auditid:
  1238. description: 审核人ID
  1239. type: string
  1240. auditname:
  1241. description: 审核人名称
  1242. type: string
  1243. audittime:
  1244. description: 审核时间
  1245. type: string
  1246. buyusername:
  1247. description: 采购方名称
  1248. type: string
  1249. contractno:
  1250. description: 合同编号
  1251. type: string
  1252. contractstatus:
  1253. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1254. type: integer
  1255. contracttype:
  1256. description: 现货合同类型 - 1:采购 -1:销售
  1257. type: integer
  1258. decmargin:
  1259. description: 减少保证金(非必填)
  1260. type: number
  1261. deliverygoodscode:
  1262. description: 现货品种代码
  1263. type: string
  1264. deliverygoodsid:
  1265. description: 现货商品ID
  1266. type: integer
  1267. deliverygoodsname:
  1268. description: 现货品种名称
  1269. type: string
  1270. enumdicname:
  1271. description: 单位名称
  1272. type: string
  1273. goodscode:
  1274. description: 点价合约
  1275. type: string
  1276. goodsname:
  1277. description: 商品名称
  1278. type: string
  1279. operateapplyid:
  1280. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1281. type: string
  1282. operateapplytype:
  1283. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1284. type: integer
  1285. pricemove:
  1286. description: 升贴水
  1287. type: number
  1288. pricetype:
  1289. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1290. type: integer
  1291. reckonadjustamount:
  1292. description: 结算调整金额(非必填)
  1293. type: number
  1294. reckonosamount:
  1295. description: 结算溢短金额(非必填)
  1296. type: number
  1297. reckonotheramount:
  1298. description: 结算其他费用(非必填)
  1299. type: number
  1300. reckonrealqty:
  1301. description: 结算实际数量(非必填)
  1302. type: number
  1303. relatedid:
  1304. description: 现货合同ID
  1305. type: string
  1306. sellusername:
  1307. description: 销售方名字
  1308. type: string
  1309. userid:
  1310. description: 用户ID
  1311. type: integer
  1312. wrstandardcode:
  1313. description: 品类代码
  1314. type: string
  1315. wrstandardid:
  1316. description: 品类id
  1317. type: integer
  1318. wrstandardname:
  1319. description: 品类名称
  1320. type: string
  1321. type: object
  1322. ermcp.QryBussinessKxRsp:
  1323. properties:
  1324. applyid:
  1325. description: 申请人
  1326. type: string
  1327. applyname:
  1328. description: 申请人名称
  1329. type: string
  1330. applystatus:
  1331. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1332. type: integer
  1333. applytime:
  1334. description: 申请时间
  1335. type: string
  1336. attachurl:
  1337. description: 附件
  1338. type: string
  1339. auditid:
  1340. description: 审核人ID
  1341. type: string
  1342. auditname:
  1343. description: 审核人名称
  1344. type: string
  1345. audittime:
  1346. description: 审核时间
  1347. type: string
  1348. buyusername:
  1349. description: 采购方名称
  1350. type: string
  1351. contractno:
  1352. description: 合同编号
  1353. type: string
  1354. contractstatus:
  1355. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1356. type: integer
  1357. contracttype:
  1358. description: 现货合同类型 - 1:采购 -1:销售
  1359. type: integer
  1360. deductamount:
  1361. description: 退款(非必填)
  1362. type: number
  1363. deliverygoodscode:
  1364. description: 现货品种代码
  1365. type: string
  1366. deliverygoodsid:
  1367. description: 现货商品ID
  1368. type: integer
  1369. deliverygoodsname:
  1370. description: 现货品种名称
  1371. type: string
  1372. enumdicname:
  1373. description: 单位名称
  1374. type: string
  1375. goodscode:
  1376. description: 点价合约
  1377. type: string
  1378. goodsname:
  1379. description: 商品名称
  1380. type: string
  1381. kxtype:
  1382. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1383. type: integer
  1384. operateapplyid:
  1385. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1386. type: string
  1387. operateapplytype:
  1388. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1389. type: integer
  1390. payamount:
  1391. description: 收付款(非必填)
  1392. type: number
  1393. pricemove:
  1394. description: 升贴水
  1395. type: number
  1396. pricetype:
  1397. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1398. type: integer
  1399. relatedid:
  1400. description: 现货合同ID
  1401. type: string
  1402. sellusername:
  1403. description: 销售方名字
  1404. type: string
  1405. userid:
  1406. description: 用户ID
  1407. type: integer
  1408. wrstandardcode:
  1409. description: 品类代码
  1410. type: string
  1411. wrstandardid:
  1412. description: 品类id
  1413. type: integer
  1414. wrstandardname:
  1415. description: 品类名称
  1416. type: string
  1417. type: object
  1418. ermcp.QryErmcpRsp:
  1419. $ref: '#/definitions/models.ErmcpModel'
  1420. ermcp.QryGGCovertCfgRsp:
  1421. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  1422. ermcp.QryHedgePlanRsp:
  1423. $ref: '#/definitions/models.ErmcpHedgePlan'
  1424. ermcp.QryMGChangeLogRsp:
  1425. $ref: '#/definitions/models.ErmcpMiddleGoodsChangeLog'
  1426. ermcp.QryMiddleGoodsDetailRsp:
  1427. $ref: '#/definitions/models.ErmcpMiddleGoodsDetail'
  1428. ermcp.QryMiddleGoodsRsp:
  1429. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  1430. ermcp.QryOPLogRsp:
  1431. $ref: '#/definitions/models.ErmcpOPLogModel'
  1432. ermcp.QryReportDaySpotDetailRsp:
  1433. $ref: '#/definitions/models.ErmcpReportOPLog'
  1434. ermcp.QryReportExposureDayRsp:
  1435. $ref: '#/definitions/models.ErmcpReportDayExposure'
  1436. ermcp.QryReportFinanceDayRsp:
  1437. $ref: '#/definitions/models.ErmcpReportDayFR'
  1438. ermcp.QryReportFinanceKxRsp:
  1439. $ref: '#/definitions/models.ErmcpReportOPLog'
  1440. ermcp.QryReportFinanceMonRsp:
  1441. $ref: '#/definitions/models.ErmcpReportMonthFR'
  1442. ermcp.QryReportSpotDayRsp:
  1443. $ref: '#/definitions/models.ErmcpReportDaySpot'
  1444. ermcp.QryReportSpotMonRsp:
  1445. $ref: '#/definitions/models.ErmcpReportMonSpot'
  1446. ermcp.QryReportSpotMonthDetailRsp:
  1447. $ref: '#/definitions/models.ErmcpReportDaySpot'
  1448. ermcp.QrySpotContractRsp:
  1449. $ref: '#/definitions/models.ErmcpSpotContractModel'
  1450. ermcp.QryUserInfoRsp:
  1451. $ref: '#/definitions/models.ErmcpUserModel'
  1452. ermcp.QryWarehouseRsp:
  1453. $ref: '#/definitions/models.ErmcpWareHouseInfo'
  1454. ermcp.QryWrStandardDetailRsp:
  1455. $ref: '#/definitions/models.ErmcpWrstandDetail'
  1456. ermcp.QryWrStandardRsp:
  1457. $ref: '#/definitions/models.ErmcpWrstandard'
  1458. ermcp.QueryAreaStockApplySumRsp:
  1459. $ref: '#/definitions/models.ErmcpAreaStockApplySum'
  1460. ermcp.QueryErmcpTradePositionRsp:
  1461. properties:
  1462. agreeunit:
  1463. description: 合约单位
  1464. type: number
  1465. buyorsell:
  1466. description: 方向 - 0:买 1:卖
  1467. type: integer
  1468. curpositionqty:
  1469. description: 持仓(总仓数量, 期末头寸)
  1470. type: integer
  1471. curtdposition:
  1472. description: 今仓数量(期末今日头寸)
  1473. type: integer
  1474. curtdpositionenabled:
  1475. description: 今仓可用
  1476. type: integer
  1477. decimalplace:
  1478. description: 报价小数位
  1479. type: integer
  1480. enableqty:
  1481. description: 可用(总仓可用)
  1482. type: integer
  1483. exexchangename:
  1484. description: 外部交易所名称
  1485. type: string
  1486. goodscode:
  1487. description: 商品代码(内部)
  1488. type: string
  1489. goodsid:
  1490. description: 商品ID(自增ID SEQ_GOODS)
  1491. type: integer
  1492. goodsname:
  1493. description: 商品名称
  1494. type: string
  1495. last:
  1496. description: 现价
  1497. type: number
  1498. marketid:
  1499. description: 所属市场ID
  1500. type: integer
  1501. openaverageprice:
  1502. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  1503. type: number
  1504. opencost:
  1505. description: 开仓成本
  1506. type: number
  1507. openpl:
  1508. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向
  1509. = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  1510. type: number
  1511. outgoodscode:
  1512. description: 商品代码(外部)
  1513. type: string
  1514. positionaverageprice:
  1515. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  1516. type: number
  1517. positioncost:
  1518. description: 持仓成本
  1519. type: number
  1520. positionpl:
  1521. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向
  1522. = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  1523. type: number
  1524. positionplrate:
  1525. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  1526. type: number
  1527. usedmargin:
  1528. description: 占用保证金
  1529. type: number
  1530. type: object
  1531. ermcp.RealtimeExposurePositionRsp:
  1532. $ref: '#/definitions/models.ErmcpExposurePostion'
  1533. ermcp.RealtimeExposureRsp:
  1534. $ref: '#/definitions/models.ErmcpRealExposureModel'
  1535. erms2.QueryArbitrageStrategyRsp:
  1536. properties:
  1537. applybasis:
  1538. description: 申请基差
  1539. type: number
  1540. asapplyid:
  1541. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  1542. type: string
  1543. asname:
  1544. description: 策略名称
  1545. type: string
  1546. asno:
  1547. description: 策略编号
  1548. type: string
  1549. basischangepl:
  1550. description: 基差变动损益[结算更新]
  1551. type: number
  1552. biztype:
  1553. description: 业务类型 - 1:正向套利 -1:反向套利
  1554. type: integer
  1555. closetradedate:
  1556. description: 完结交易日(yyyyMMdd)
  1557. type: string
  1558. curbasis:
  1559. description: 当前基差[结算更新]
  1560. type: number
  1561. deliverygoodsid:
  1562. description: 现货品种ID
  1563. type: integer
  1564. futureavgprice:
  1565. description: 期货建仓均价
  1566. type: number
  1567. futurecloseamount:
  1568. description: 期货平仓金额
  1569. type: number
  1570. futurecloseqty:
  1571. description: 期货平仓数量
  1572. type: number
  1573. futureopenamount:
  1574. description: 期货开仓金额
  1575. type: number
  1576. futureopenqty:
  1577. description: 期货开仓数量
  1578. type: number
  1579. futurepl:
  1580. description: 期货总盈亏[结算更新]
  1581. type: number
  1582. futureqty:
  1583. description: 期货持仓数量
  1584. type: number
  1585. futurequote:
  1586. description: 期货额度
  1587. type: number
  1588. goodsgroupid:
  1589. description: 期货品种ID
  1590. type: integer
  1591. marketid:
  1592. description: 市场ID
  1593. type: integer
  1594. netexposure:
  1595. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  1596. type: number
  1597. netexposurepl:
  1598. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  1599. type: number
  1600. netexposurerate:
  1601. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  1602. type: number
  1603. openbasis:
  1604. description: 建仓基差
  1605. type: number
  1606. pricedspotqty:
  1607. description: 已定价现货数量
  1608. type: number
  1609. pricedspotqtynotax:
  1610. description: 已定价现货不含税数量
  1611. type: number
  1612. remark:
  1613. description: 备注
  1614. type: string
  1615. spotavgprice:
  1616. description: 现货均价
  1617. type: number
  1618. spotbuyamount:
  1619. description: 现货采购金额
  1620. type: number
  1621. spotbuyqty:
  1622. description: 现货采购数量
  1623. type: number
  1624. spotpl:
  1625. description: 现货总盈亏[结算更新]
  1626. type: number
  1627. spotquota:
  1628. description: 现货额度
  1629. type: number
  1630. spotsellamount:
  1631. description: 现货销售金额
  1632. type: number
  1633. spotsellqty:
  1634. description: 现货销售数量
  1635. type: number
  1636. spotusedquota:
  1637. description: 现货占用资金
  1638. type: number
  1639. strategystatus:
  1640. description: 策略状态 - 0:未结束 1:已结束
  1641. type: integer
  1642. totalpl:
  1643. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  1644. type: number
  1645. tradedate:
  1646. description: 交易日(yyyyMMdd)
  1647. type: string
  1648. updatetime:
  1649. description: 更新时间
  1650. type: string
  1651. usedquota:
  1652. description: 已占用资金
  1653. type: number
  1654. userid:
  1655. description: 所属机构
  1656. type: integer
  1657. required:
  1658. - asapplyid
  1659. type: object
  1660. erms2.QueryInnerTradeDetailRsp:
  1661. properties:
  1662. accountid:
  1663. description: 账号ID
  1664. type: integer
  1665. agreeunit:
  1666. description: 合约单位
  1667. type: number
  1668. asapplyid:
  1669. description: 策略申请ID
  1670. type: integer
  1671. asname:
  1672. description: 策略名称
  1673. type: string
  1674. asno:
  1675. description: 策略编号
  1676. type: string
  1677. buyorsell:
  1678. description: 方向 - 0:买 1:卖
  1679. type: integer
  1680. channelbuildtype:
  1681. description: 委托单据类型 0:无 1:建仓 2:平仓
  1682. type: integer
  1683. closetype:
  1684. description: 平仓方式 - 0:无 1:平今 2:平昨
  1685. type: integer
  1686. decimalplace:
  1687. description: 报价小数位
  1688. type: integer
  1689. detailtype:
  1690. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  1691. type: integer
  1692. exexchangecode:
  1693. description: 外部交易所代码
  1694. type: string
  1695. exexchangename:
  1696. description: 外部交易所名称
  1697. type: string
  1698. goodscode:
  1699. description: 商品代码(合约)
  1700. type: string
  1701. goodsgroupid:
  1702. description: 商品组ID(品种ID)
  1703. type: integer
  1704. goodsgroupname:
  1705. description: 商品组名称(品种)
  1706. type: string
  1707. goodsid:
  1708. description: 商品ID
  1709. type: integer
  1710. goodsname:
  1711. description: 商品名称(合约)
  1712. type: string
  1713. goodunit:
  1714. description: 报价单位
  1715. type: string
  1716. marketid:
  1717. description: 市场ID
  1718. type: integer
  1719. orderid:
  1720. description: 委托单号
  1721. type: string
  1722. outgoodscode:
  1723. description: 商品代码(外部)
  1724. type: string
  1725. relatedouttradeid:
  1726. description: 关联外部成交单ID
  1727. type: string
  1728. remark:
  1729. description: 备注
  1730. type: string
  1731. spotcontractid:
  1732. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  1733. type: integer
  1734. spotcontractno:
  1735. description: 现货合同编号
  1736. type: string
  1737. tradeid:
  1738. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  1739. type: string
  1740. tradeprice:
  1741. description: 成交价格
  1742. type: number
  1743. tradeqty:
  1744. description: 成交数量
  1745. type: integer
  1746. tradetime:
  1747. description: 成交时间
  1748. type: string
  1749. updatetime:
  1750. description: 更新时间
  1751. type: string
  1752. required:
  1753. - asapplyid
  1754. - buyorsell
  1755. - goodscode
  1756. - goodsgroupid
  1757. - goodsgroupname
  1758. - goodsname
  1759. - tradeid
  1760. type: object
  1761. erms2.QuerySpotContractRsp:
  1762. properties:
  1763. accountid:
  1764. description: 资金账户ID
  1765. type: integer
  1766. areauserid:
  1767. description: 所属机构
  1768. type: integer
  1769. closedate:
  1770. description: 终止日期
  1771. type: string
  1772. closeremark:
  1773. description: 结束备注
  1774. type: string
  1775. closetradedate:
  1776. description: 完结交易日(yyyyMMdd)
  1777. type: string
  1778. closetype:
  1779. description: 终止类型 - 1:违约 2:提前终止
  1780. type: integer
  1781. contractamount:
  1782. description: 合同金额
  1783. type: number
  1784. contractattachment:
  1785. description: 合同附件
  1786. type: string
  1787. contractno:
  1788. description: 现货合同编号
  1789. type: string
  1790. contractqty:
  1791. description: 合同数量(数值) (用于计算)
  1792. type: number
  1793. contractqtychar:
  1794. description: 合同数量\已订价数量 (用于显示)
  1795. type: string
  1796. contractstatus:
  1797. description: 合同状态 - 0:未结束 1:已结束
  1798. type: integer
  1799. contracttype:
  1800. description: 现货合同类型 - 1:采购合同 -1:销售合同
  1801. type: integer
  1802. customeraccountid:
  1803. description: 客户资金账户ID
  1804. type: integer
  1805. customeruserid:
  1806. description: 客户ID
  1807. type: integer
  1808. deliverygoodsdesc:
  1809. description: 品种说明
  1810. type: string
  1811. deliverygoodsid:
  1812. description: 现货品种ID
  1813. type: integer
  1814. handlestatus:
  1815. description: 处理状态
  1816. type: integer
  1817. invoiceatt:
  1818. description: 发票附件
  1819. type: string
  1820. invoicedatetime:
  1821. description: 开收票更新时间
  1822. type: string
  1823. invoiceopentime:
  1824. description: 开票时间
  1825. type: string
  1826. invoiceremark:
  1827. description: 发票备注
  1828. type: string
  1829. invoicestatus:
  1830. description: 开收票状态 - 0:未开票 1:已开票
  1831. type: integer
  1832. lastdate:
  1833. description: 交货时间
  1834. type: string
  1835. marketid:
  1836. description: 市场ID
  1837. type: integer
  1838. paydatetime:
  1839. description: 收付款更新时间
  1840. type: string
  1841. payremark:
  1842. description: 收付款备注
  1843. type: string
  1844. paystatus:
  1845. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  1846. type: integer
  1847. positionqty:
  1848. description: 头寸数量 - 合同数量去小数部分
  1849. type: integer
  1850. producttype:
  1851. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  1852. type: integer
  1853. relatedqty:
  1854. description: 已关联数量
  1855. type: number
  1856. relatedstatus:
  1857. description: 关联完结状态 - 0:未结束 1:已结束
  1858. type: integer
  1859. remark:
  1860. description: 备注
  1861. type: string
  1862. signdate:
  1863. description: 签订日期
  1864. type: string
  1865. spotcontractid:
  1866. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  1867. type: string
  1868. spotdatetime:
  1869. description: 收发货更新时间
  1870. type: string
  1871. spotprice:
  1872. description: 价格
  1873. type: number
  1874. spotremark:
  1875. description: 收发货备注
  1876. type: string
  1877. spotstatus:
  1878. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  1879. type: integer
  1880. tradedate:
  1881. description: 交易日(yyyyMMdd)
  1882. type: string
  1883. userid:
  1884. description: 业务员用户ID
  1885. type: integer
  1886. warehouseid:
  1887. description: 仓库ID
  1888. type: integer
  1889. wrfactortypeid:
  1890. description: 仓单要素类型ID
  1891. type: integer
  1892. wrstandardid:
  1893. description: 仓单标准ID(SEQ_WRSTANDARD)
  1894. type: integer
  1895. required:
  1896. - spotcontractid
  1897. type: object
  1898. erms3.AddErms2ASApplyReq:
  1899. properties:
  1900. applybasis:
  1901. description: 申请基差
  1902. type: number
  1903. applystatus:
  1904. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  1905. type: integer
  1906. asapplyid:
  1907. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  1908. type: integer
  1909. asname:
  1910. description: 策略名称
  1911. type: string
  1912. asno:
  1913. description: 策略编号
  1914. type: string
  1915. auditid:
  1916. description: 审核人
  1917. type: integer
  1918. auditremark:
  1919. description: 审核备注
  1920. type: string
  1921. audittime:
  1922. description: 审核时间
  1923. type: string
  1924. biztype:
  1925. description: 业务类型 - 1:正向套利 2:反向套利
  1926. type: integer
  1927. createtime:
  1928. description: 创建时间
  1929. type: string
  1930. creatorid:
  1931. description: 创建人
  1932. type: integer
  1933. deliverygoodsid:
  1934. description: 现货品种ID
  1935. type: integer
  1936. futurequote:
  1937. description: 期货额度
  1938. type: number
  1939. goodsgroupid:
  1940. description: 期货品种ID
  1941. type: integer
  1942. marketid:
  1943. description: 市场ID
  1944. type: integer
  1945. remark:
  1946. description: 备注
  1947. type: string
  1948. spotquota:
  1949. description: 现货额度
  1950. type: number
  1951. tradedate:
  1952. description: 交易日(yyyyMMdd)
  1953. type: string
  1954. userid:
  1955. description: 所属机构
  1956. type: integer
  1957. required:
  1958. - asapplyid
  1959. type: object
  1960. erms3.AddErms2SpotTradeApplyReq:
  1961. properties:
  1962. applyjsondetail:
  1963. description: 申请明细(JSON)
  1964. type: string
  1965. applystatus:
  1966. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  1967. type: integer
  1968. areauserid:
  1969. description: 所属机构
  1970. type: integer
  1971. auditid:
  1972. description: 审核人
  1973. type: integer
  1974. auditremark:
  1975. description: 审核备注
  1976. type: string
  1977. audittime:
  1978. description: 审核时间
  1979. type: string
  1980. createtime:
  1981. description: 创建时间
  1982. type: string
  1983. creatorid:
  1984. description: 创建人
  1985. type: integer
  1986. deliverygoodsid:
  1987. description: 现货品种ID
  1988. type: integer
  1989. futureaccountid:
  1990. description: 期货资金账户
  1991. type: integer
  1992. goodsgroupid:
  1993. description: 期货品种
  1994. type: integer
  1995. marketid:
  1996. description: 市场ID
  1997. type: integer
  1998. remark:
  1999. description: 备注
  2000. type: string
  2001. spotaccountid:
  2002. description: 现货资金账户
  2003. type: integer
  2004. spottradeid:
  2005. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  2006. type: integer
  2007. spottradename:
  2008. description: 业务名称
  2009. type: string
  2010. spottradeno:
  2011. description: 业务编号
  2012. type: string
  2013. tradedate:
  2014. description: 交易日(yyyyMMdd)
  2015. type: string
  2016. wrstandardid:
  2017. description: 仓单标准ID
  2018. type: integer
  2019. required:
  2020. - spottradeid
  2021. type: object
  2022. erms3.AddSpotContractApplyReq:
  2023. properties:
  2024. accountid:
  2025. description: 资金账户ID
  2026. type: integer
  2027. areauserid:
  2028. description: 所属机构
  2029. type: integer
  2030. contractattachment:
  2031. description: 合同附件
  2032. type: string
  2033. contractno:
  2034. description: 现货合同编号
  2035. type: string
  2036. contracttype:
  2037. description: 现货合同类型 - 1:采购 -1:销售
  2038. type: integer
  2039. creatorid:
  2040. description: 申请人
  2041. type: integer
  2042. customeraccountid:
  2043. description: 客户资金账户ID
  2044. type: integer
  2045. customeruserid:
  2046. description: 客户ID
  2047. type: integer
  2048. details:
  2049. description: 明细
  2050. items:
  2051. $ref: '#/definitions/erms3.SoptContractDetail'
  2052. type: array
  2053. orimargin:
  2054. description: 初始保证金
  2055. type: number
  2056. remark:
  2057. description: 备注
  2058. type: string
  2059. signdate:
  2060. description: 签订日期
  2061. type: string
  2062. required:
  2063. - accountid
  2064. - areauserid
  2065. - contractno
  2066. - contracttype
  2067. - customeraccountid
  2068. - customeruserid
  2069. - details
  2070. - orimargin
  2071. - signdate
  2072. type: object
  2073. erms3.AddSpotContractApplyRsp:
  2074. properties:
  2075. contractno:
  2076. description: 现货合同编号
  2077. type: string
  2078. spotcontractid:
  2079. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  2080. type: integer
  2081. required:
  2082. - contractno
  2083. type: object
  2084. erms3.AddUserInfoApplyReq:
  2085. properties:
  2086. accountid:
  2087. description: 交易系统帐号Id (加密存储)
  2088. type: integer
  2089. areacode:
  2090. description: 机构代码
  2091. type: string
  2092. areaid:
  2093. description: 机构Id
  2094. type: integer
  2095. attachment1:
  2096. description: 附件1
  2097. type: string
  2098. attachment2:
  2099. description: 附件2
  2100. type: string
  2101. attachment3:
  2102. description: 附件3
  2103. type: string
  2104. attachment4:
  2105. description: 附件4
  2106. type: string
  2107. attachment5:
  2108. description: 附件5
  2109. type: string
  2110. auditedby:
  2111. description: 审核人
  2112. type: string
  2113. auditime:
  2114. description: 审核时间
  2115. type: string
  2116. bankaccount:
  2117. description: 银行帐号 (加密存储)
  2118. type: string
  2119. bankaccountname:
  2120. description: 收款人名称
  2121. type: string
  2122. bankcardbackphotourl:
  2123. description: 银行卡背面照地址
  2124. type: string
  2125. bankcardfrontphotourl:
  2126. description: 银行卡正面照地址
  2127. type: string
  2128. bankid:
  2129. description: 银行编码
  2130. type: string
  2131. bankname:
  2132. description: 银行名称
  2133. type: string
  2134. bankpictureurl:
  2135. description: 银行卡正面地址
  2136. type: string
  2137. biznature:
  2138. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2139. type: integer
  2140. bizscope:
  2141. description: 企业经营范围(企业)
  2142. type: string
  2143. biztype:
  2144. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2145. type: integer
  2146. brokerid:
  2147. description: 经纪人ID(加密存储)
  2148. type: string
  2149. cardaddress:
  2150. description: 证件地址 (加密存储)
  2151. type: string
  2152. cardbackphotourl:
  2153. description: 背面证件照地址
  2154. type: string
  2155. cardfrontphotourl:
  2156. description: 正面证件照地址
  2157. type: string
  2158. cardnum:
  2159. description: 证件号码 (加密存储)
  2160. type: string
  2161. cardtype:
  2162. description: 证件类型
  2163. type: integer
  2164. cityid:
  2165. description: 市
  2166. type: integer
  2167. company:
  2168. description: 公司(个人)
  2169. type: string
  2170. contactcardbackphotourl:
  2171. description: 联系人证件背面图片地址
  2172. type: string
  2173. contactcardfrontphotourl:
  2174. description: 联系人证件正面图片地址
  2175. type: string
  2176. contactname:
  2177. description: 联系人
  2178. type: string
  2179. countryid:
  2180. description: 国家
  2181. type: integer
  2182. createtime:
  2183. description: 开户申请时间
  2184. type: string
  2185. cusbankid:
  2186. description: 签约类型
  2187. type: string
  2188. cusbankname:
  2189. description: 签约类型名称
  2190. type: string
  2191. customername:
  2192. description: 客户名称(企业名称)
  2193. type: string
  2194. districtid:
  2195. description: 地区
  2196. type: integer
  2197. email:
  2198. description: Email地址(加密存储)
  2199. type: string
  2200. halfbodyphotourl:
  2201. description: 半身照地址
  2202. type: string
  2203. headurl:
  2204. description: 头像地址
  2205. type: string
  2206. ipaddress:
  2207. description: IP地址
  2208. type: string
  2209. isvalidate:
  2210. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  2211. type: string
  2212. legalcardbackphotourl:
  2213. description: 法人身份证背面照地址
  2214. type: string
  2215. legalcardfrontphotourl:
  2216. description: 法人身份证正面照地址
  2217. type: string
  2218. legalpersonname:
  2219. description: 法人姓名(企业)
  2220. type: string
  2221. logincode:
  2222. description: 登录帐号 (加密存储)
  2223. type: string
  2224. memberareaid:
  2225. description: 所属会员ID
  2226. type: integer
  2227. mobile2:
  2228. description: 手机号码[明文-尚志]
  2229. type: string
  2230. mobilephone:
  2231. description: 手机号码 (加密存储)
  2232. type: string
  2233. modifiedby:
  2234. description: 修改人帐号
  2235. type: integer
  2236. modifiedtime:
  2237. description: 修改时间
  2238. type: string
  2239. nickname:
  2240. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  2241. type: string
  2242. openmode:
  2243. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  2244. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  2245. type: integer
  2246. otherurl:
  2247. description: 其它图片地址[使用分号分隔]
  2248. type: string
  2249. postalcode:
  2250. description: 邮政编码
  2251. type: string
  2252. provinceid:
  2253. description: 省
  2254. type: integer
  2255. proxystatementurl:
  2256. description: 授权委托书
  2257. type: string
  2258. qq:
  2259. description: QQ(加密存储
  2260. type: string
  2261. referral:
  2262. description: 推荐人编码
  2263. type: string
  2264. remark:
  2265. description: 备注
  2266. type: string
  2267. removebeforestatus:
  2268. description: REMOVEBEFORESTATUS
  2269. type: integer
  2270. sex:
  2271. description: 性别 - 0:女 1:男
  2272. type: integer
  2273. signedstatus:
  2274. description: 账户一号签签约状态
  2275. type: integer
  2276. signpdfurl:
  2277. description: 签约pdf文件
  2278. type: string
  2279. subbranch:
  2280. description: 开户支行
  2281. type: string
  2282. telphone:
  2283. description: 联系电话(加密存储)
  2284. type: string
  2285. userid:
  2286. description: 用户ID(自增ID)
  2287. type: integer
  2288. userinfotype:
  2289. description: 用户信息类型 - 1:个人 2:企业
  2290. type: integer
  2291. username:
  2292. description: 用户姓名
  2293. type: string
  2294. userstate:
  2295. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2296. type: integer
  2297. usertype:
  2298. description: 用户类型 - 1:投资者 2:机构
  2299. type: integer
  2300. videourl:
  2301. description: 视频地址
  2302. type: string
  2303. wechat:
  2304. description: 微信号 (加密存储)
  2305. type: string
  2306. required:
  2307. - userid
  2308. type: object
  2309. erms3.CustomerInfo:
  2310. properties:
  2311. accountids:
  2312. description: 资金账户ID列表
  2313. items:
  2314. type: integer
  2315. type: array
  2316. customername:
  2317. description: 名称(企业名称)
  2318. type: string
  2319. mobile:
  2320. description: 手机号码
  2321. type: string
  2322. userid:
  2323. description: 用户ID
  2324. type: integer
  2325. required:
  2326. - userid
  2327. type: object
  2328. erms3.ModifyUserInfoApplyReq:
  2329. properties:
  2330. accountid:
  2331. description: 交易系统帐号Id (加密存储)
  2332. type: integer
  2333. areacode:
  2334. description: 机构代码
  2335. type: string
  2336. areaid:
  2337. description: 机构Id
  2338. type: integer
  2339. attachment1:
  2340. description: 附件1
  2341. type: string
  2342. attachment2:
  2343. description: 附件2
  2344. type: string
  2345. attachment3:
  2346. description: 附件3
  2347. type: string
  2348. attachment4:
  2349. description: 附件4
  2350. type: string
  2351. attachment5:
  2352. description: 附件5
  2353. type: string
  2354. auditedby:
  2355. description: 审核人
  2356. type: string
  2357. auditime:
  2358. description: 审核时间
  2359. type: string
  2360. bankaccount:
  2361. description: 银行帐号 (加密存储)
  2362. type: string
  2363. bankaccountname:
  2364. description: 收款人名称
  2365. type: string
  2366. bankcardbackphotourl:
  2367. description: 银行卡背面照地址
  2368. type: string
  2369. bankcardfrontphotourl:
  2370. description: 银行卡正面照地址
  2371. type: string
  2372. bankid:
  2373. description: 银行编码
  2374. type: string
  2375. bankname:
  2376. description: 银行名称
  2377. type: string
  2378. bankpictureurl:
  2379. description: 银行卡正面地址
  2380. type: string
  2381. biznature:
  2382. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2383. type: integer
  2384. bizscope:
  2385. description: 企业经营范围(企业)
  2386. type: string
  2387. biztype:
  2388. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2389. type: integer
  2390. brokerid:
  2391. description: 经纪人ID(加密存储)
  2392. type: string
  2393. cardaddress:
  2394. description: 证件地址 (加密存储)
  2395. type: string
  2396. cardbackphotourl:
  2397. description: 背面证件照地址
  2398. type: string
  2399. cardfrontphotourl:
  2400. description: 正面证件照地址
  2401. type: string
  2402. cardnum:
  2403. description: 证件号码 (加密存储)
  2404. type: string
  2405. cardtype:
  2406. description: 证件类型
  2407. type: integer
  2408. cityid:
  2409. description: 市
  2410. type: integer
  2411. company:
  2412. description: 公司(个人)
  2413. type: string
  2414. contactcardbackphotourl:
  2415. description: 联系人证件背面图片地址
  2416. type: string
  2417. contactcardfrontphotourl:
  2418. description: 联系人证件正面图片地址
  2419. type: string
  2420. contactname:
  2421. description: 联系人
  2422. type: string
  2423. countryid:
  2424. description: 国家
  2425. type: integer
  2426. createtime:
  2427. description: 开户申请时间
  2428. type: string
  2429. cusbankid:
  2430. description: 签约类型
  2431. type: string
  2432. cusbankname:
  2433. description: 签约类型名称
  2434. type: string
  2435. customername:
  2436. description: 客户名称(企业名称)
  2437. type: string
  2438. districtid:
  2439. description: 地区
  2440. type: integer
  2441. email:
  2442. description: Email地址(加密存储)
  2443. type: string
  2444. halfbodyphotourl:
  2445. description: 半身照地址
  2446. type: string
  2447. headurl:
  2448. description: 头像地址
  2449. type: string
  2450. ipaddress:
  2451. description: IP地址
  2452. type: string
  2453. isvalidate:
  2454. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  2455. type: string
  2456. legalcardbackphotourl:
  2457. description: 法人身份证背面照地址
  2458. type: string
  2459. legalcardfrontphotourl:
  2460. description: 法人身份证正面照地址
  2461. type: string
  2462. legalpersonname:
  2463. description: 法人姓名(企业)
  2464. type: string
  2465. logincode:
  2466. description: 登录帐号 (加密存储)
  2467. type: string
  2468. memberareaid:
  2469. description: 所属会员ID
  2470. type: integer
  2471. mobile2:
  2472. description: 手机号码[明文-尚志]
  2473. type: string
  2474. mobilephone:
  2475. description: 手机号码 (加密存储)
  2476. type: string
  2477. modifiedby:
  2478. description: 修改人帐号
  2479. type: integer
  2480. modifiedtime:
  2481. description: 修改时间
  2482. type: string
  2483. nickname:
  2484. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  2485. type: string
  2486. openmode:
  2487. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  2488. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  2489. type: integer
  2490. otherurl:
  2491. description: 其它图片地址[使用分号分隔]
  2492. type: string
  2493. postalcode:
  2494. description: 邮政编码
  2495. type: string
  2496. provinceid:
  2497. description: 省
  2498. type: integer
  2499. proxystatementurl:
  2500. description: 授权委托书
  2501. type: string
  2502. qq:
  2503. description: QQ(加密存储
  2504. type: string
  2505. referral:
  2506. description: 推荐人编码
  2507. type: string
  2508. remark:
  2509. description: 备注
  2510. type: string
  2511. removebeforestatus:
  2512. description: REMOVEBEFORESTATUS
  2513. type: integer
  2514. sex:
  2515. description: 性别 - 0:女 1:男
  2516. type: integer
  2517. signedstatus:
  2518. description: 账户一号签签约状态
  2519. type: integer
  2520. signpdfurl:
  2521. description: 签约pdf文件
  2522. type: string
  2523. subbranch:
  2524. description: 开户支行
  2525. type: string
  2526. telphone:
  2527. description: 联系电话(加密存储)
  2528. type: string
  2529. userid:
  2530. description: 用户ID(自增ID)
  2531. type: integer
  2532. userinfotype:
  2533. description: 用户信息类型 - 1:个人 2:企业
  2534. type: integer
  2535. username:
  2536. description: 用户姓名
  2537. type: string
  2538. userstate:
  2539. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2540. type: integer
  2541. usertype:
  2542. description: 用户类型 - 1:投资者 2:机构
  2543. type: integer
  2544. videourl:
  2545. description: 视频地址
  2546. type: string
  2547. wechat:
  2548. description: 微信号 (加密存储)
  2549. type: string
  2550. required:
  2551. - userid
  2552. type: object
  2553. erms3.QryAuditContractRsp:
  2554. properties:
  2555. accountid:
  2556. description: 交易员ID
  2557. type: string
  2558. applystatus:
  2559. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2560. type: integer
  2561. curdeliveryqty:
  2562. description: 未交收量
  2563. type: integer
  2564. customername:
  2565. description: 采购方ID
  2566. type: string
  2567. deliverygoodsid:
  2568. description: 品种ID
  2569. type: string
  2570. deliveryqty:
  2571. description: 交收量
  2572. type: integer
  2573. enumdicname:
  2574. description: 单位名称
  2575. type: string
  2576. matchaccountid:
  2577. description: 业务员ID
  2578. type: string
  2579. matchcustomername:
  2580. description: 销售方ID
  2581. type: string
  2582. pricedqty:
  2583. description: 定价量
  2584. type: number
  2585. signdate:
  2586. description: 签订日期
  2587. type: string
  2588. spotcontractid:
  2589. description: 合同ID
  2590. type: string
  2591. totaldqty:
  2592. description: 合同量
  2593. type: number
  2594. unpricedqty:
  2595. description: 未定价量
  2596. type: number
  2597. wrstandardname:
  2598. description: 商品名称
  2599. type: string
  2600. required:
  2601. - matchcustomername
  2602. - spotcontractid
  2603. type: object
  2604. erms3.QryPendingBizRsp:
  2605. $ref: '#/definitions/models.PendingAuditBizModel'
  2606. erms3.QueryBusinessInfoRsp:
  2607. properties:
  2608. businessid:
  2609. description: 业务ID.
  2610. type: integer
  2611. buyamount:
  2612. description: 采购额.
  2613. type: number
  2614. buyqty:
  2615. description: 采购量.
  2616. type: string
  2617. futurepl:
  2618. description: 期货盈亏.
  2619. type: number
  2620. futureqty:
  2621. description: 期货敞口.
  2622. type: string
  2623. goodsid:
  2624. description: 商品名称/商品代码.
  2625. type: string
  2626. hedgingqty:
  2627. description: 套保量.
  2628. type: string
  2629. sellamount:
  2630. description: 销售额.
  2631. type: number
  2632. sellqty:
  2633. description: 销售量.
  2634. type: string
  2635. spotmarketvalue:
  2636. description: 现货市值.
  2637. type: number
  2638. spotpl:
  2639. description: 浮动权益.
  2640. type: number
  2641. spotqty:
  2642. description: 现货量.
  2643. type: string
  2644. statu:
  2645. description: 状态,0-未结束 1-已结束.
  2646. type: integer
  2647. totalpl:
  2648. description: 总盈亏.
  2649. type: number
  2650. totalqty:
  2651. description: 总敞口.
  2652. type: string
  2653. type:
  2654. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  2655. type: integer
  2656. type: object
  2657. erms3.QuerySpotContractAppleFormRsp:
  2658. properties:
  2659. goodses:
  2660. description: 合约列表
  2661. items:
  2662. $ref: '#/definitions/models.GoodsIDAndName'
  2663. type: array
  2664. oppositeusers:
  2665. description: 对方账号列表
  2666. items:
  2667. $ref: '#/definitions/erms3.CustomerInfo'
  2668. type: array
  2669. ouruser:
  2670. $ref: '#/definitions/erms3.CustomerInfo'
  2671. description: 我方账号
  2672. type: object
  2673. warehouseinfos:
  2674. description: 仓库信息列表
  2675. items:
  2676. $ref: '#/definitions/models.Warehouseinfo'
  2677. type: array
  2678. wrstandards:
  2679. description: 仓单标准列表
  2680. items:
  2681. $ref: '#/definitions/models.WRStandardInfo'
  2682. type: array
  2683. type: object
  2684. erms3.QuerySpotContractInfoRsp:
  2685. properties:
  2686. accountid:
  2687. description: 表示交易员ID.
  2688. type: integer
  2689. curdeliveryqty:
  2690. description: 表示未交收量.
  2691. type: number
  2692. customername:
  2693. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  2694. type: string
  2695. deliverygoodsid:
  2696. description: 表示品种ID.
  2697. type: string
  2698. deliveryqty:
  2699. description: 表示交收量.
  2700. type: number
  2701. matchaccountid:
  2702. description: 表示业务员ID.
  2703. type: integer
  2704. matchcustomername:
  2705. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  2706. type: string
  2707. priceqty:
  2708. description: 表示定价量.
  2709. type: number
  2710. relatedbizid:
  2711. description: 表示业务ID.
  2712. type: string
  2713. signdate:
  2714. description: 表示签订日期.
  2715. type: string
  2716. spotcontractid:
  2717. description: 合同ID
  2718. type: string
  2719. status:
  2720. description: 表示状态,0-履约中 1-已完成.
  2721. type: integer
  2722. totalqty:
  2723. description: 表示合同量.
  2724. type: number
  2725. unpricedqty:
  2726. description: 表示未定价量.
  2727. type: number
  2728. wrstandardname:
  2729. description: 表示商品ID.
  2730. type: string
  2731. type: object
  2732. erms3.QueryUserInfoAppliesRsp:
  2733. properties:
  2734. biznature:
  2735. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2736. type: integer
  2737. contactname:
  2738. description: 联系人
  2739. type: string
  2740. createtime:
  2741. description: 开户申请时间
  2742. type: string
  2743. userid:
  2744. description: 用户ID(自增ID)
  2745. type: integer
  2746. userinfotype:
  2747. description: 用户信息类型 - 1:个人 2:企业
  2748. type: integer
  2749. username:
  2750. description: 用户姓名
  2751. type: string
  2752. userstate:
  2753. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2754. type: integer
  2755. required:
  2756. - userid
  2757. type: object
  2758. erms3.QueryUserInfosRsp:
  2759. properties:
  2760. biznature:
  2761. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2762. type: integer
  2763. contactname:
  2764. description: 联系人
  2765. type: string
  2766. customername:
  2767. description: 客户名称(企业名称)
  2768. type: string
  2769. userid:
  2770. description: 用户ID
  2771. type: integer
  2772. userinfotype:
  2773. description: 用户信息类型 - 1:个人 2:企业
  2774. type: integer
  2775. userstatus:
  2776. description: 用户状态 - 1:正常 2:注销
  2777. type: integer
  2778. required:
  2779. - userid
  2780. type: object
  2781. erms3.SoptContractDetail:
  2782. properties:
  2783. deliverygoodsdesc:
  2784. description: 现货品种说明
  2785. type: string
  2786. deliverygoodsid:
  2787. description: 现货品种ID
  2788. type: integer
  2789. deliverygoodsname:
  2790. description: 现货品种名称
  2791. type: string
  2792. pointdesc:
  2793. description: 点价描述
  2794. type: string
  2795. producttype:
  2796. description: 产品类型 1:标准仓单 2:等标 3:非标
  2797. type: integer
  2798. producttypename:
  2799. description: 产品类型名称
  2800. type: string
  2801. spotPointOrderVoList:
  2802. description: 点价列表
  2803. items:
  2804. $ref: '#/definitions/erms3.SpotPointOrder'
  2805. type: array
  2806. spotPriceOrderList:
  2807. description: 定价列表
  2808. items:
  2809. $ref: '#/definitions/erms3.SpotPriceOrder'
  2810. type: array
  2811. unitname:
  2812. description: 单位名称
  2813. type: string
  2814. warehouseid:
  2815. description: 仓库ID
  2816. type: integer
  2817. warehousename:
  2818. description: 仓库名称
  2819. type: string
  2820. wrstandardid:
  2821. description: 交易标的ID
  2822. type: integer
  2823. wrstandardname:
  2824. description: 交易标的名称
  2825. type: string
  2826. required:
  2827. - deliverygoodsid
  2828. - producttype
  2829. - unitname
  2830. - warehouseid
  2831. - wrstandardid
  2832. - wrstandardname
  2833. type: object
  2834. erms3.SpotPointOrder:
  2835. properties:
  2836. basic:
  2837. description: 基差
  2838. type: number
  2839. deliveryenddate:
  2840. description: 交收结束日期
  2841. type: string
  2842. deliverystartdate:
  2843. description: 交收开始日期
  2844. type: string
  2845. enddate:
  2846. description: 点价结束日期
  2847. type: string
  2848. goodsid:
  2849. description: 商品ID
  2850. type: integer
  2851. goodsname:
  2852. description: 商品名称
  2853. type: string
  2854. qty:
  2855. description: 数量
  2856. type: number
  2857. startdate:
  2858. description: 点价开始日期
  2859. type: string
  2860. required:
  2861. - basic
  2862. - goodsid
  2863. - qty
  2864. type: object
  2865. erms3.SpotPriceOrder:
  2866. properties:
  2867. amount:
  2868. description: 金额
  2869. type: number
  2870. deliveryenddate:
  2871. description: 交收结束日期
  2872. type: string
  2873. deliverystartdate:
  2874. description: 交收开始日期
  2875. type: string
  2876. price:
  2877. description: 价格
  2878. type: number
  2879. qty:
  2880. description: 数量
  2881. type: number
  2882. required:
  2883. - amount
  2884. - price
  2885. - qty
  2886. type: object
  2887. hsby.GetHsbyMyCountRsp:
  2888. properties:
  2889. myCouponCount:
  2890. description: 我的优惠卷数量
  2891. type: integer
  2892. myOrderDetailListingCount:
  2893. description: 我的订单求购中数量
  2894. type: integer
  2895. myOrderDetailPreCount:
  2896. description: 我的订单抢购中数量
  2897. type: integer
  2898. myPackageUnReceiveCount:
  2899. description: 我的包裹待收货数量
  2900. type: integer
  2901. myPackageUnSendCount:
  2902. description: 我的包裹待发货数量
  2903. type: integer
  2904. myPayOrderCount:
  2905. description: 我的订单待付款数量
  2906. type: integer
  2907. type: object
  2908. hsby.QueryProvincesAndCitiesRsp:
  2909. properties:
  2910. cities:
  2911. description: 市
  2912. items:
  2913. $ref: '#/definitions/models.Division'
  2914. type: array
  2915. province:
  2916. $ref: '#/definitions/models.Division'
  2917. description: 省
  2918. type: object
  2919. type: object
  2920. models.AreaSpotModel:
  2921. properties:
  2922. areauserid:
  2923. description: 所属机构
  2924. type: integer
  2925. decreaseqty:
  2926. description: 减少数量=-(销售已定价数量+采购计划数量)
  2927. type: number
  2928. increaseqty:
  2929. description: 增加数量=销售计划数量+采购已定价数量
  2930. type: number
  2931. oritoalspotqty:
  2932. description: 昨日数量
  2933. type: number
  2934. totalspotqty:
  2935. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  2936. type: number
  2937. updatetime:
  2938. description: 更新时间
  2939. type: string
  2940. wrstandardcode:
  2941. description: 现货品种代码
  2942. type: string
  2943. wrstandardid:
  2944. description: 现货商品ID
  2945. type: integer
  2946. wrstandardname:
  2947. description: 现货品种
  2948. type: string
  2949. type: object
  2950. models.Clientfixedadconfig:
  2951. properties:
  2952. adsort:
  2953. description: 排序
  2954. type: integer
  2955. adtype:
  2956. description: 广告位类型 - 1:新品抢购(HSBY)
  2957. type: integer
  2958. areauserid:
  2959. description: 所属机构ID
  2960. type: integer
  2961. createdate:
  2962. description: 创建时间
  2963. type: string
  2964. creatorid:
  2965. description: 创建人
  2966. type: integer
  2967. imagepath:
  2968. description: 图片
  2969. type: string
  2970. isshow:
  2971. description: 是否展示 - 0:不展示 1:展示
  2972. type: integer
  2973. modifierid:
  2974. description: 操作人
  2975. type: integer
  2976. recsize:
  2977. description: 推荐尺寸
  2978. type: string
  2979. title:
  2980. description: 标题
  2981. type: string
  2982. updatedate:
  2983. description: 更新时间
  2984. type: string
  2985. urlcontent:
  2986. description: 链接(地址或商品ID)
  2987. type: string
  2988. urltype:
  2989. description: 链接类型 - 1:直接地址 2:商品ID
  2990. type: integer
  2991. required:
  2992. - adsort
  2993. - adtype
  2994. type: object
  2995. models.Division:
  2996. properties:
  2997. autoid:
  2998. description: 自增ID
  2999. type: integer
  3000. divisioncode:
  3001. description: 行政代码
  3002. type: string
  3003. divisionlevel:
  3004. description: 行政级别
  3005. type: string
  3006. divisionname:
  3007. description: 行政名称
  3008. type: string
  3009. modifierid:
  3010. description: 修改人
  3011. type: integer
  3012. modifytime:
  3013. description: 修改时间
  3014. type: string
  3015. parentcode:
  3016. description: 上级行政代码
  3017. type: string
  3018. pathname:
  3019. description: 路径名称
  3020. type: string
  3021. postcode:
  3022. description: 邮政编码
  3023. type: string
  3024. separablename:
  3025. description: 可拆分的全称
  3026. type: string
  3027. shortcode:
  3028. description: 地区简码
  3029. type: string
  3030. required:
  3031. - autoid
  3032. - divisioncode
  3033. type: object
  3034. models.Enumdicitem:
  3035. properties:
  3036. autoid:
  3037. description: 自增ID
  3038. type: integer
  3039. bankmappedvalue:
  3040. description: 银行服务对应值
  3041. type: string
  3042. enumdiccode:
  3043. description: 所属枚举代码
  3044. type: string
  3045. enumdicid:
  3046. description: 所属枚举ID
  3047. type: integer
  3048. enumdicname:
  3049. description: 枚举项名称
  3050. type: string
  3051. enumitemname:
  3052. description: 枚举项值
  3053. type: integer
  3054. enumitemstatus:
  3055. description: 枚举项状态 - 1.启用 2.不启用
  3056. type: integer
  3057. enumitemvalue:
  3058. description: 通用值 - [币种通用简写]
  3059. type: string
  3060. param1:
  3061. description: 参数1[币种:币种小数位]
  3062. type: string
  3063. param2:
  3064. description: 参数1[币种:币种显示单位]
  3065. type: string
  3066. remark:
  3067. description: 备注
  3068. type: string
  3069. required:
  3070. - autoid
  3071. - enumdiccode
  3072. - enumdicid
  3073. - enumitemname
  3074. type: object
  3075. models.Ermcp3AreaSpot:
  3076. properties:
  3077. areauserid:
  3078. description: 所属机构
  3079. type: integer
  3080. decreaseqty:
  3081. description: 减少数量=-(销售已定价数量+采购计划数量)
  3082. type: number
  3083. deliverygoodscode:
  3084. description: 现货品种代码
  3085. type: string
  3086. deliverygoodsid:
  3087. description: 现货品种id
  3088. type: integer
  3089. deliverygoodsname:
  3090. description: 现货品种名称
  3091. type: string
  3092. increaseqty:
  3093. description: 增加数量=销售计划数量+采购已定价数量
  3094. type: number
  3095. oritoalspotqty:
  3096. description: 昨日数量
  3097. type: number
  3098. totalspotqty:
  3099. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  3100. type: number
  3101. updatetime:
  3102. description: 更新时间
  3103. type: string
  3104. type: object
  3105. models.Ermcp3AreaSpotDetail:
  3106. properties:
  3107. contracttype:
  3108. description: 合同类型 1-采购 -1-销售
  3109. type: integer
  3110. createtime:
  3111. description: 创建时间
  3112. type: string
  3113. deliverygoodscode:
  3114. description: 现货品种代码
  3115. type: string
  3116. deliverygoodsid:
  3117. description: 现货品种id
  3118. type: integer
  3119. deliverygoodsname:
  3120. description: 现货品种名称
  3121. type: string
  3122. enumdicname:
  3123. description: 现货商品单位名称
  3124. type: string
  3125. logtype:
  3126. description: 记录类型 1-套保 2-现货合同
  3127. type: integer
  3128. qty:
  3129. description: 数量
  3130. type: number
  3131. recordname:
  3132. description: 类型名称
  3133. type: string
  3134. relatedid:
  3135. description: 套保计划ID/现货合同ID
  3136. type: string
  3137. relatedno:
  3138. description: 编号
  3139. type: string
  3140. strtime:
  3141. description: 时间
  3142. type: string
  3143. type: object
  3144. models.Ermcp3AreaStockApply:
  3145. properties:
  3146. applyid:
  3147. description: 申请人
  3148. type: integer
  3149. applyname:
  3150. description: 申请人名称
  3151. type: string
  3152. applyremark:
  3153. description: 申请备注
  3154. type: string
  3155. applysrc:
  3156. description: 申请来源 - 1:管理端 2:终端
  3157. type: integer
  3158. applystatus:
  3159. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  3160. type: integer
  3161. applytime:
  3162. description: 申请时间
  3163. type: string
  3164. auditid:
  3165. description: 审核人
  3166. type: integer
  3167. auditname:
  3168. description: 审核人名称
  3169. type: string
  3170. auditremark:
  3171. description: 审核备注
  3172. type: string
  3173. auditsrc:
  3174. description: 审核来源 - 1:管理端 2:终端
  3175. type: integer
  3176. audittime:
  3177. description: 审核时间
  3178. type: string
  3179. audittradedate:
  3180. description: 审核交易日(yyyyMMdd)
  3181. type: string
  3182. brandname:
  3183. description: 品牌名称
  3184. type: string
  3185. buyuserid:
  3186. description: 采购方userid
  3187. type: integer
  3188. buyusername:
  3189. description: 采购方名称
  3190. type: string
  3191. contractno:
  3192. description: 合同编号
  3193. type: string
  3194. contractqty:
  3195. description: 合同量
  3196. type: number
  3197. contracttype:
  3198. description: 现货合同类型 - 1:采购 -1:销售
  3199. type: integer
  3200. deliverygoodscode:
  3201. description: 现货品种代码
  3202. type: string
  3203. deliverygoodsid:
  3204. description: 现货品种id
  3205. type: integer
  3206. deliverygoodsname:
  3207. description: 现货品种名称
  3208. type: string
  3209. enumdicname:
  3210. description: 现货商品单位名称
  3211. type: string
  3212. inoutapplyid:
  3213. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  3214. type: string
  3215. inouttype:
  3216. description: 出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  3217. type: integer
  3218. pricetype:
  3219. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  3220. type: integer
  3221. qty:
  3222. description: 数量
  3223. type: number
  3224. selluserid:
  3225. description: 销售方userid
  3226. type: integer
  3227. sellusername:
  3228. description: 销售方名称
  3229. type: string
  3230. spotcontractid:
  3231. description: 关联现货合同ID
  3232. type: string
  3233. spotgoodsbrandid:
  3234. description: 现货品牌ID
  3235. type: integer
  3236. unitid:
  3237. description: 单位id
  3238. type: integer
  3239. userid:
  3240. description: 机构ID
  3241. type: integer
  3242. warehousecode:
  3243. description: 仓库代码
  3244. type: string
  3245. warehouseinfoid:
  3246. description: 现货仓库ID
  3247. type: string
  3248. warehousename:
  3249. description: 仓库名称
  3250. type: string
  3251. warehousetype:
  3252. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3253. type: integer
  3254. wrstandardcode:
  3255. description: 品类代码
  3256. type: string
  3257. wrstandardid:
  3258. description: 品类ID
  3259. type: string
  3260. wrstandardname:
  3261. description: 品类名称
  3262. type: string
  3263. type: object
  3264. models.Ermcp3AreaStockApplySum:
  3265. properties:
  3266. brandname:
  3267. description: 品牌名称
  3268. type: string
  3269. inouttype:
  3270. description: 出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  3271. type: integer
  3272. spotcontractid:
  3273. description: 关联现货合同ID
  3274. type: string
  3275. spotgoodsbrandid:
  3276. description: 品牌id
  3277. type: integer
  3278. totalqty:
  3279. description: 总数量
  3280. type: number
  3281. wrstandardid:
  3282. description: 品类id
  3283. type: integer
  3284. wrstandardname:
  3285. description: 品类名称
  3286. type: string
  3287. type: object
  3288. models.Ermcp3AreaStockReport:
  3289. properties:
  3290. brandname:
  3291. description: 品牌名称
  3292. type: string
  3293. curstock:
  3294. description: 期末库存量
  3295. type: number
  3296. deliverygoodscode:
  3297. description: 现货品种代码
  3298. type: string
  3299. deliverygoodsid:
  3300. description: 现货品种id
  3301. type: integer
  3302. deliverygoodsname:
  3303. description: 现货品种名称
  3304. type: string
  3305. enumdicname:
  3306. description: 单位名称
  3307. type: string
  3308. goodsunitid:
  3309. description: 现货单位id
  3310. type: integer
  3311. oristock:
  3312. description: 期初库存量
  3313. type: number
  3314. spotgoodsbrandid:
  3315. description: 现货品牌ID
  3316. type: integer
  3317. todaybuyinqty:
  3318. description: 今日采购入库量
  3319. type: number
  3320. todayproduceinqty:
  3321. description: 今日生产入库量
  3322. type: number
  3323. todayproduceoutqty:
  3324. description: 今日生产出库量
  3325. type: number
  3326. todayselloutqty:
  3327. description: 今日销售出库量
  3328. type: number
  3329. unitid:
  3330. description: 品类单位id
  3331. type: integer
  3332. updatetime:
  3333. description: 更新时间
  3334. type: string
  3335. userid:
  3336. description: 机构ID
  3337. type: integer
  3338. username:
  3339. description: 机构名称
  3340. type: string
  3341. warehousecode:
  3342. description: 仓库代码
  3343. type: string
  3344. warehouseinfoid:
  3345. description: 仓库ID
  3346. type: string
  3347. warehousename:
  3348. description: 仓库名称
  3349. type: string
  3350. warehousetype:
  3351. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3352. type: integer
  3353. wrstandardcode:
  3354. description: 品类代码
  3355. type: string
  3356. wrstandardid:
  3357. description: 品类ID
  3358. type: string
  3359. wrstandardname:
  3360. description: 品类名称
  3361. type: string
  3362. type: object
  3363. models.Ermcp3Brand:
  3364. properties:
  3365. areauserid:
  3366. description: 用户id
  3367. type: integer
  3368. brandid:
  3369. description: 品牌id
  3370. type: integer
  3371. brandname:
  3372. description: 品牌名称
  3373. type: string
  3374. deliverygoodsid:
  3375. description: 品种ID
  3376. type: integer
  3377. type: object
  3378. models.Ermcp3Contract:
  3379. properties:
  3380. accountid:
  3381. description: 期货账户id
  3382. type: string
  3383. amount:
  3384. description: 金额 [1:一口价、3:暂定价]
  3385. type: number
  3386. attachment:
  3387. description: 附件
  3388. type: string
  3389. auditremark:
  3390. description: 审核意见
  3391. type: string
  3392. audittime:
  3393. description: 审核时间
  3394. type: string
  3395. biztype:
  3396. description: 业务类型 1-套保 2-套利
  3397. type: integer
  3398. brandname:
  3399. description: 品牌名称
  3400. type: string
  3401. buynickname:
  3402. description: 销售方昵称
  3403. type: string
  3404. buyuserid:
  3405. description: 采购方ID
  3406. type: integer
  3407. buyusername:
  3408. description: 采购方名称
  3409. type: string
  3410. contracctstatus:
  3411. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  3412. type: integer
  3413. contractmargin:
  3414. description: 合同保证金
  3415. type: number
  3416. contractno:
  3417. description: 现货合同编号
  3418. type: string
  3419. contracttype:
  3420. description: 现货合同类型 - 1:采购 -1:销售
  3421. type: integer
  3422. convertfactor:
  3423. description: 标仓系数(品类)
  3424. type: number
  3425. createtime:
  3426. description: 创建时间
  3427. type: string
  3428. deliveryenddate:
  3429. description: 交收期(结束)
  3430. type: string
  3431. deliverygoodscode:
  3432. description: 现货品种代码
  3433. type: string
  3434. deliverygoodsid:
  3435. description: 现货品种ID
  3436. type: integer
  3437. deliverygoodsname:
  3438. description: 现货品种名称
  3439. type: string
  3440. deliverystartdate:
  3441. description: 交收期(开始)
  3442. type: string
  3443. enddate:
  3444. description: 点价结束日期 [2:点价 3:暂定价]
  3445. type: string
  3446. enumdicname:
  3447. description: 单位名称
  3448. type: string
  3449. goodscode:
  3450. description: 点价合约代码
  3451. type: string
  3452. goodsid:
  3453. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  3454. type: integer
  3455. goodsname:
  3456. description: 点价商品名称
  3457. type: string
  3458. margin:
  3459. description: 当前保证金
  3460. type: number
  3461. meruserid:
  3462. description: 业务员id
  3463. type: integer
  3464. meruserlogincode:
  3465. description: 业务员登录代码
  3466. type: string
  3467. price:
  3468. description: 价格\暂定价 [1:一口价、3:暂定价]
  3469. type: number
  3470. pricemove:
  3471. description: 升贴水 [2:点价 3:暂定价]
  3472. type: number
  3473. pricetype:
  3474. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  3475. type: integer
  3476. producttype:
  3477. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  3478. type: integer
  3479. qty:
  3480. description: 数量
  3481. type: number
  3482. remark:
  3483. description: 备注
  3484. type: string
  3485. saleuserid:
  3486. description: 销售员id
  3487. type: integer
  3488. saleuserlogincode:
  3489. description: 销售员登录代码
  3490. type: string
  3491. sellnickname:
  3492. description: 采购方昵称
  3493. type: string
  3494. selluserid:
  3495. description: 销售方ID
  3496. type: integer
  3497. sellusername:
  3498. description: 销售方名称
  3499. type: string
  3500. spotcontractid:
  3501. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  3502. type: string
  3503. spotgoodsbrandid:
  3504. description: 现货品牌ID(DGFactoryItem表的ID)
  3505. type: integer
  3506. spotgoodsdesc:
  3507. description: 商品型号
  3508. type: string
  3509. startdate:
  3510. description: 点价开始日期 [2:点价 3:暂定价]
  3511. type: string
  3512. tradeuserid:
  3513. description: 交易员id
  3514. type: integer
  3515. tradeuserlogincode:
  3516. description: 交易员登录代码
  3517. type: string
  3518. unitid:
  3519. description: 单位id(取品类上的单位id)
  3520. type: integer
  3521. updatetime:
  3522. description: 更新时间
  3523. type: string
  3524. userid:
  3525. description: 所属机构ID
  3526. type: integer
  3527. wrstandardcode:
  3528. description: 品类代码
  3529. type: string
  3530. wrstandardid:
  3531. description: 品类ID
  3532. type: integer
  3533. wrstandardname:
  3534. description: 品类名称
  3535. type: string
  3536. type: object
  3537. models.Ermcp3ExposureDetail:
  3538. properties:
  3539. areauserid:
  3540. description: 机构ID
  3541. type: integer
  3542. changeQty:
  3543. description: 套保变动量
  3544. type: number
  3545. contracttype:
  3546. description: 现货合同类型 - 1:采购 -1:销售
  3547. type: integer
  3548. convertfactor:
  3549. description: 标仓系数
  3550. type: number
  3551. convertratio:
  3552. description: 套保系数
  3553. type: number
  3554. createtime:
  3555. description: 时间
  3556. type: string
  3557. deliverygoodscode:
  3558. description: 现货品种代码
  3559. type: string
  3560. deliverygoodsid:
  3561. description: 现货品种id
  3562. type: integer
  3563. deliverygoodsname:
  3564. description: 现货品种名称
  3565. type: string
  3566. enumdicname:
  3567. description: 现货商品单位名称
  3568. type: string
  3569. logtype:
  3570. description: 类型 - 1:套保计划 2:现货合同
  3571. type: integer
  3572. middlegoodsId:
  3573. description: 套保商品id
  3574. type: integer
  3575. middlegoodscode:
  3576. description: 套保商品代码
  3577. type: string
  3578. middlegoodsname:
  3579. description: 套保商品名称
  3580. type: string
  3581. qty:
  3582. description: 数量
  3583. type: number
  3584. relateNo:
  3585. description: 现货合同/套保计划编号
  3586. type: string
  3587. type: object
  3588. models.Ermcp3ReportAreaSpotPL:
  3589. properties:
  3590. actualpl:
  3591. description: 实际损益
  3592. type: number
  3593. areauserid:
  3594. description: 所属机构
  3595. type: integer
  3596. brandname:
  3597. description: 品牌名称
  3598. type: string
  3599. curamount:
  3600. description: 期末额
  3601. type: number
  3602. curaverageprice:
  3603. description: 期末均价
  3604. type: number
  3605. curbuyamount:
  3606. description: 期末采购总额(采购额)
  3607. type: number
  3608. curbuyqty:
  3609. description: 期末采购总量
  3610. type: number
  3611. curmarketvalue:
  3612. description: 参考市值
  3613. type: number
  3614. curqty:
  3615. description: 期末量
  3616. type: number
  3617. cursellamount:
  3618. description: 期末销售总额(销售额)
  3619. type: number
  3620. cursellqty:
  3621. description: 期末销售总量
  3622. type: number
  3623. curspotprice:
  3624. description: 参考市价
  3625. type: number
  3626. deliverygoodscode:
  3627. description: 现货品种代码
  3628. type: string
  3629. deliverygoodsid:
  3630. description: 现货品种id
  3631. type: integer
  3632. deliverygoodsname:
  3633. description: 现货品种名称
  3634. type: string
  3635. enumdicname:
  3636. description: 现货商品单位名称
  3637. type: string
  3638. floatpl:
  3639. description: 浮动损益
  3640. type: number
  3641. gbenumdicname:
  3642. description: 品类单位名称
  3643. type: string
  3644. gbunitid:
  3645. description: 现货单位id
  3646. type: integer
  3647. modelname:
  3648. description: 品类名称
  3649. type: string
  3650. oriamount:
  3651. description: 期初额
  3652. type: number
  3653. oriaverageprice:
  3654. description: 期初均价
  3655. type: number
  3656. oribuyamount:
  3657. description: 期初采购总额
  3658. type: number
  3659. oribuyqty:
  3660. description: 期初采购总量
  3661. type: number
  3662. oriqty:
  3663. description: 期初量
  3664. type: number
  3665. orisellamount:
  3666. description: 期初销售总额
  3667. type: number
  3668. orisellqty:
  3669. description: 期初销售总量
  3670. type: number
  3671. spotgoodsbrandid:
  3672. description: 现货品牌ID
  3673. type: integer
  3674. todaybuyamount:
  3675. description: 今日采购额
  3676. type: number
  3677. todaybuyaverageprice:
  3678. description: 今日采购均价(采购均价)
  3679. type: number
  3680. todaybuyqty:
  3681. description: 今日采购量(采购增量)
  3682. type: number
  3683. todaysellamount:
  3684. description: 今日销售额
  3685. type: number
  3686. todaysellaverageprice:
  3687. description: 今日销售均价(销售均价)
  3688. type: number
  3689. todaysellqty:
  3690. description: 今日销售量(销售增量)
  3691. type: number
  3692. unitid:
  3693. description: 品类单位id
  3694. type: integer
  3695. updatetime:
  3696. description: 更新时间
  3697. type: string
  3698. wrstandardcode:
  3699. description: 品类代码
  3700. type: string
  3701. wrstandardid:
  3702. description: 品类ID
  3703. type: integer
  3704. wrstandardname:
  3705. description: 品类名称
  3706. type: string
  3707. type: object
  3708. models.Ermcp3ReportDaySpot:
  3709. properties:
  3710. areauserid:
  3711. description: 所属机构T
  3712. type: integer
  3713. buyinqty:
  3714. description: 采购入库量
  3715. type: number
  3716. deliverygoodscode:
  3717. description: 现货品种代码
  3718. type: string
  3719. deliverygoodsid:
  3720. description: 现货品种id
  3721. type: integer
  3722. deliverygoodsname:
  3723. description: 现货品种名称
  3724. type: string
  3725. enumdicname:
  3726. description: 现货商品单位名称
  3727. type: string
  3728. reckondate:
  3729. description: 日照时期(yyyyMMdd)
  3730. type: string
  3731. selloutqty:
  3732. description: 销售出库量
  3733. type: number
  3734. todaybuyreckonqty:
  3735. description: 采购确定量
  3736. type: number
  3737. todaysellreckonqty:
  3738. description: 销售确定量
  3739. type: number
  3740. totalbuypricedqty:
  3741. description: 采购定价量 = 期末 - 期初
  3742. type: number
  3743. totalsellpricedqty:
  3744. description: 销售定价量 = 期末 - 期初
  3745. type: number
  3746. type: object
  3747. models.Ermcp3ReportMonSpot:
  3748. properties:
  3749. areauserid:
  3750. description: 所属机构id
  3751. type: integer
  3752. buyinqty:
  3753. description: 采购入库量
  3754. type: number
  3755. cycletime:
  3756. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  3757. type: string
  3758. cycletype:
  3759. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  3760. type: integer
  3761. deliverygoodscode:
  3762. description: 现货品种代码
  3763. type: string
  3764. deliverygoodsid:
  3765. description: 现货品种id
  3766. type: integer
  3767. deliverygoodsname:
  3768. description: 现货品种名称
  3769. type: string
  3770. enumdicname:
  3771. description: 现货商品单位名称
  3772. type: string
  3773. selloutqty:
  3774. description: 销售出库量
  3775. type: number
  3776. todaybuyreckonqty:
  3777. description: 采购确定量
  3778. type: number
  3779. todaysellreckonqty:
  3780. description: 销售确定量
  3781. type: number
  3782. totalbuypricedqty:
  3783. description: 采购定价量 = 期末 - 期初
  3784. type: number
  3785. totalsellpricedqty:
  3786. description: 销售定价量 = 期末 - 期初
  3787. type: number
  3788. type: object
  3789. models.Ermcp3ReportOPLog:
  3790. properties:
  3791. applyid:
  3792. description: 操作人
  3793. type: integer
  3794. applyname:
  3795. description: 操作人名称
  3796. type: string
  3797. biztype:
  3798. description: 业务类型 - 1:套保计划 2:现货合同
  3799. type: integer
  3800. brandname:
  3801. description: 品牌名称
  3802. type: string
  3803. contracttype:
  3804. description: 现货合同类型 - 1:采购 -1:销售
  3805. type: integer
  3806. deliverygoodscode:
  3807. description: 现货品种代码
  3808. type: string
  3809. deliverygoodsid:
  3810. description: 现货品种id
  3811. type: integer
  3812. deliverygoodsname:
  3813. description: 现货品种名称
  3814. type: string
  3815. enumdicName:
  3816. description: 单位名称
  3817. type: string
  3818. logdatetime:
  3819. description: 流水日期(时间)
  3820. type: string
  3821. logid:
  3822. description: 流水ID(604+Unix秒时间戳(10位)+xxxxxx)
  3823. type: string
  3824. logtypename:
  3825. description: 合同类型(名称)
  3826. type: string
  3827. logvalue:
  3828. description: 数值
  3829. type: string
  3830. operatelogtype:
  3831. description: 操作流水类型 -
  3832. type: integer
  3833. optypename:
  3834. description: 流水类型名称
  3835. type: string
  3836. relatedid:
  3837. description: 现货合同ID\套保计划
  3838. type: string
  3839. relatedno:
  3840. description: 合同编号
  3841. type: string
  3842. tradedate:
  3843. description: 交易日(yyyyMMdd)
  3844. type: string
  3845. userid:
  3846. description: 机构ID
  3847. type: integer
  3848. type: object
  3849. models.Ermcp3SellBuyContract:
  3850. properties:
  3851. accountname:
  3852. description: 账户名称
  3853. type: string
  3854. attachment:
  3855. description: 附件
  3856. type: string
  3857. audittime:
  3858. description: 审核时间
  3859. type: string
  3860. brandname:
  3861. description: 品牌名称
  3862. type: string
  3863. contracctstatus:
  3864. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  3865. type: integer
  3866. contractmargin:
  3867. description: 合同保证金
  3868. type: number
  3869. contractno:
  3870. description: 合同编号
  3871. type: string
  3872. contracttype:
  3873. description: 合同类型 1-采购, -1-销售
  3874. type: integer
  3875. convertfactor:
  3876. description: 标仓系数(品类)
  3877. type: number
  3878. createtime:
  3879. description: 创建时间
  3880. type: string
  3881. daikaiamount:
  3882. description: 应收(开)票额
  3883. type: number
  3884. deliveryenddate:
  3885. description: 交割结束日
  3886. type: string
  3887. deliverygoodscode:
  3888. description: 现货品种代码
  3889. type: string
  3890. deliverygoodsid:
  3891. description: 现货商品ID
  3892. type: integer
  3893. deliverygoodsname:
  3894. description: 现货品种名称
  3895. type: string
  3896. deliverystartdate:
  3897. description: 交割开始日
  3898. type: string
  3899. enddate:
  3900. description: 点价结束日
  3901. type: string
  3902. enumdicname:
  3903. description: 单位名称
  3904. type: string
  3905. goodscode:
  3906. description: 点价商品代码
  3907. type: string
  3908. goodsid:
  3909. description: 点价商品ID
  3910. type: integer
  3911. goodsname:
  3912. description: 点价商品名称
  3913. type: string
  3914. invoiceamount:
  3915. description: 已开票额
  3916. type: number
  3917. loanamount:
  3918. description: 贷款总额=已定价额+调整金额
  3919. type: number
  3920. margin:
  3921. description: 保证金
  3922. type: number
  3923. payamount:
  3924. description: 已收付额(收款或付款)
  3925. type: number
  3926. preinvoiceamount:
  3927. description: 预收(开)票额
  3928. type: number
  3929. prepayamount:
  3930. description: 预收付额
  3931. type: number
  3932. price:
  3933. description: 价格
  3934. type: number
  3935. pricedamount:
  3936. description: 已定价额
  3937. type: number
  3938. pricedavg:
  3939. description: 已点均价
  3940. type: number
  3941. pricedqty:
  3942. description: 已定价量
  3943. type: number
  3944. pricemove:
  3945. description: 升贴水
  3946. type: number
  3947. pricetype:
  3948. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  3949. type: integer
  3950. producttype:
  3951. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  3952. type: integer
  3953. qty:
  3954. description: 合同量
  3955. type: number
  3956. reckonadjustamount:
  3957. description: 调整金额
  3958. type: number
  3959. reckonedamount:
  3960. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  3961. type: number
  3962. reckonotheramount:
  3963. description: 其它费用
  3964. type: number
  3965. reckonrealqty:
  3966. description: 已确定量
  3967. type: number
  3968. remark:
  3969. description: 备注
  3970. type: string
  3971. spotcontractid:
  3972. description: 合同ID
  3973. type: string
  3974. spotgoodsbrandid:
  3975. description: 现货品牌ID(DGFactoryItem表的ID)
  3976. type: integer
  3977. spotgoodsdesc:
  3978. description: 商品型号(商品规格)
  3979. type: string
  3980. startdate:
  3981. description: 点价开始日
  3982. type: string
  3983. totalamount:
  3984. description: 合计总额
  3985. type: number
  3986. unpayamount:
  3987. description: 应收付款额(应支付或应收款)
  3988. type: number
  3989. unpricedqty:
  3990. description: 未定价量
  3991. type: number
  3992. unsureqty:
  3993. description: 未确定量
  3994. type: number
  3995. userid:
  3996. description: 机构ID
  3997. type: integer
  3998. wrstandardcode:
  3999. description: 品类代码
  4000. type: string
  4001. wrstandardid:
  4002. description: 品类ID
  4003. type: integer
  4004. wrstandardname:
  4005. description: 品类名称
  4006. type: string
  4007. type: object
  4008. models.Ermcp3Wrstandard:
  4009. properties:
  4010. areauserid:
  4011. description: 所属机构
  4012. type: integer
  4013. createtime:
  4014. description: 创建时间
  4015. type: string
  4016. creatorid:
  4017. description: 创建人
  4018. type: integer
  4019. deliverygoodsid:
  4020. description: 现货品种ID
  4021. type: integer
  4022. enumdicname:
  4023. description: 品类单位名称
  4024. type: string
  4025. isvalid:
  4026. description: 是否有效 0-无效(停用) 1-有效(正常)
  4027. type: integer
  4028. minivalue:
  4029. description: 最小变动值
  4030. type: integer
  4031. minivaluedp:
  4032. description: 最小变动值小数位
  4033. type: integer
  4034. realminivalue:
  4035. description: 实际最小变动值
  4036. type: integer
  4037. realminivaluedp:
  4038. description: 实际最小变动值小数位
  4039. type: integer
  4040. remark:
  4041. description: 备注
  4042. type: string
  4043. unitid:
  4044. description: 品类单位ID
  4045. type: integer
  4046. updatetime:
  4047. description: 更新时间
  4048. type: string
  4049. wrstandardcode:
  4050. description: 品类代码
  4051. type: string
  4052. wrstandardid:
  4053. description: 品类ID(SEQ_WRSTANDARD)
  4054. type: integer
  4055. wrstandardname:
  4056. description: 品类名称
  4057. type: string
  4058. type: object
  4059. models.ErmcpAreaSpotDetailModel:
  4060. properties:
  4061. contracttype:
  4062. description: 合同类型 1-采购 -1-销售
  4063. type: integer
  4064. createtime:
  4065. description: 创建时间
  4066. type: string
  4067. enumdicname:
  4068. description: 现货商品单位名称
  4069. type: string
  4070. logtype:
  4071. description: 记录类型 1-套保 2-现货合同
  4072. type: integer
  4073. qty:
  4074. description: 数量
  4075. type: number
  4076. recordname:
  4077. description: 类型名称
  4078. type: string
  4079. relatedid:
  4080. description: 套保计划ID/现货合同ID
  4081. type: string
  4082. relatedno:
  4083. description: 编号
  4084. type: string
  4085. strtime:
  4086. description: 时间
  4087. type: string
  4088. wrstandardcode:
  4089. description: 现货商品代码
  4090. type: string
  4091. wrstandardname:
  4092. description: 现货商品名称
  4093. type: string
  4094. type: object
  4095. models.ErmcpAreaStock:
  4096. properties:
  4097. brandname:
  4098. description: 品牌名称
  4099. type: string
  4100. curstock:
  4101. description: 期末库存量(今日量)
  4102. type: number
  4103. deliverygoodsid:
  4104. description: 现货品种ID
  4105. type: integer
  4106. enumdicname:
  4107. description: 单位名称
  4108. type: string
  4109. modelname:
  4110. description: 型号名称
  4111. type: string
  4112. oristock:
  4113. description: 期初库存量(昨日量)
  4114. type: number
  4115. spotgoodsbrandid:
  4116. description: 现货品牌ID
  4117. type: integer
  4118. spotgoodsmodelid:
  4119. description: 现货型号ID
  4120. type: integer
  4121. todaybuyinqty:
  4122. description: 今日采购入库量
  4123. type: number
  4124. todayproduceinqty:
  4125. description: 今日生产入库量
  4126. type: number
  4127. todayproduceoutqty:
  4128. description: 今日生产出库量
  4129. type: number
  4130. todayselloutqty:
  4131. description: 今日销售出库量
  4132. type: number
  4133. unitid:
  4134. description: 单位id
  4135. type: integer
  4136. updatetime:
  4137. description: 更新时间
  4138. type: string
  4139. userid:
  4140. description: 机构ID
  4141. type: integer
  4142. username:
  4143. description: 机构名称
  4144. type: string
  4145. warehousecode:
  4146. description: 仓库代码
  4147. type: string
  4148. warehouseinfoid:
  4149. description: 仓库ID
  4150. type: string
  4151. warehousename:
  4152. description: 仓库名称
  4153. type: string
  4154. warehousetype:
  4155. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4156. type: integer
  4157. wrstandardcode:
  4158. description: 现货商品代码
  4159. type: string
  4160. wrstandardid:
  4161. description: 现货商品ID
  4162. type: string
  4163. wrstandardname:
  4164. description: 现货商品名称
  4165. type: string
  4166. type: object
  4167. models.ErmcpAreaStockApply:
  4168. properties:
  4169. applyid:
  4170. description: 申请人
  4171. type: integer
  4172. applyname:
  4173. description: 申请人名称
  4174. type: string
  4175. applyremark:
  4176. description: 申请备注
  4177. type: string
  4178. applysrc:
  4179. description: 申请来源 - 1:管理端 2:终端
  4180. type: integer
  4181. applystatus:
  4182. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  4183. type: integer
  4184. applytime:
  4185. description: 申请时间
  4186. type: string
  4187. auditid:
  4188. description: 审核人
  4189. type: integer
  4190. auditname:
  4191. description: 审核人名称
  4192. type: string
  4193. auditremark:
  4194. description: 审核备注
  4195. type: string
  4196. auditsrc:
  4197. description: 审核来源 - 1:管理端 2:终端
  4198. type: integer
  4199. audittime:
  4200. description: 审核时间
  4201. type: string
  4202. audittradedate:
  4203. description: 审核交易日(yyyyMMdd)
  4204. type: string
  4205. brandname:
  4206. description: 品牌名称
  4207. type: string
  4208. buyuserid:
  4209. description: 采购方userid
  4210. type: integer
  4211. buyusername:
  4212. description: 采购方名称
  4213. type: string
  4214. contractno:
  4215. description: 合同编号
  4216. type: string
  4217. contractqty:
  4218. description: 合同量
  4219. type: number
  4220. contracttype:
  4221. description: 现货合同类型 - 1:采购 -1:销售
  4222. type: integer
  4223. deliverygoodsid:
  4224. description: 现货品种ID
  4225. type: integer
  4226. enumdicname:
  4227. description: 现货商品单位名称
  4228. type: string
  4229. inoutapplyid:
  4230. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  4231. type: string
  4232. inouttype:
  4233. description: 出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  4234. type: integer
  4235. modelname:
  4236. description: 型号名称
  4237. type: string
  4238. pricetype:
  4239. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4240. type: integer
  4241. qty:
  4242. description: 数量
  4243. type: number
  4244. selluserid:
  4245. description: 销售方userid
  4246. type: integer
  4247. sellusername:
  4248. description: 销售方名称
  4249. type: string
  4250. spotcontractid:
  4251. description: 关联现货合同ID
  4252. type: string
  4253. spotgoodsbrandid:
  4254. description: 现货品牌ID
  4255. type: integer
  4256. spotgoodsmodelid:
  4257. description: 现货型号ID
  4258. type: integer
  4259. unitid:
  4260. description: 单位id
  4261. type: integer
  4262. userid:
  4263. description: 机构ID
  4264. type: integer
  4265. warehousecode:
  4266. description: 仓库代码
  4267. type: string
  4268. warehouseinfoid:
  4269. description: 现货仓库ID
  4270. type: string
  4271. warehousename:
  4272. description: 仓库名称
  4273. type: string
  4274. warehousetype:
  4275. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4276. type: integer
  4277. wrstandardcode:
  4278. description: 现货商品代码
  4279. type: string
  4280. wrstandardid:
  4281. description: 现货商品ID
  4282. type: string
  4283. wrstandardname:
  4284. description: 现货商品名称
  4285. type: string
  4286. type: object
  4287. models.ErmcpAreaStockApplySum:
  4288. properties:
  4289. brandname:
  4290. description: 品牌名称
  4291. type: string
  4292. inouttype:
  4293. description: 出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  4294. type: integer
  4295. modelname:
  4296. description: 型号名称
  4297. type: string
  4298. spotcontractid:
  4299. description: 关联现货合同ID
  4300. type: string
  4301. spotgoodsbrandid:
  4302. description: 品牌id
  4303. type: integer
  4304. spotgoodsmodelid:
  4305. description: 型号id
  4306. type: integer
  4307. totalqty:
  4308. description: 总数量
  4309. type: number
  4310. type: object
  4311. models.ErmcpAreaStockReport:
  4312. properties:
  4313. brandname:
  4314. description: 品牌名称
  4315. type: string
  4316. curstock:
  4317. description: 期末库存量
  4318. type: number
  4319. deliverygoodsid:
  4320. description: 现货品种ID
  4321. type: integer
  4322. enumdicname:
  4323. description: 单位名称
  4324. type: string
  4325. modelname:
  4326. description: 型号名称
  4327. type: string
  4328. oristock:
  4329. description: 期初库存量
  4330. type: number
  4331. spotgoodsbrandid:
  4332. description: 现货品牌ID
  4333. type: integer
  4334. spotgoodsmodelid:
  4335. description: 现货型号ID
  4336. type: integer
  4337. todaybuyinqty:
  4338. description: 今日采购入库量
  4339. type: number
  4340. todayproduceinqty:
  4341. description: 今日生产入库量
  4342. type: number
  4343. todayproduceoutqty:
  4344. description: 今日生产出库量
  4345. type: number
  4346. todayselloutqty:
  4347. description: 今日销售出库量
  4348. type: number
  4349. unitid:
  4350. description: 单位id
  4351. type: integer
  4352. updatetime:
  4353. description: 更新时间
  4354. type: string
  4355. userid:
  4356. description: 机构ID
  4357. type: integer
  4358. username:
  4359. description: 机构名称
  4360. type: string
  4361. warehousecode:
  4362. description: 仓库代码
  4363. type: string
  4364. warehouseinfoid:
  4365. description: 仓库ID
  4366. type: string
  4367. warehousename:
  4368. description: 仓库名称
  4369. type: string
  4370. warehousetype:
  4371. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4372. type: integer
  4373. wrstandardcode:
  4374. description: 现货商品代码
  4375. type: string
  4376. wrstandardid:
  4377. description: 现货商品ID
  4378. type: string
  4379. wrstandardname:
  4380. description: 现货商品名称
  4381. type: string
  4382. type: object
  4383. models.ErmcpAvalidGoodsGroupModel:
  4384. properties:
  4385. goodsgroupid:
  4386. description: 期货品种id
  4387. type: integer
  4388. goodsgroupname:
  4389. description: 期货品种名称
  4390. type: string
  4391. goodunitid:
  4392. description: 品种单位id
  4393. type: integer
  4394. goodunitname:
  4395. description: 品种单位名称
  4396. type: string
  4397. outergroupcode:
  4398. description: 期货品种代码
  4399. type: string
  4400. type: object
  4401. models.ErmcpBizGroupEx:
  4402. properties:
  4403. acclist:
  4404. description: 账号列表
  4405. items:
  4406. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  4407. type: array
  4408. bizgroupid:
  4409. description: 业务分组id
  4410. type: integer
  4411. biztype:
  4412. description: 业务类型 1-套保 2-套利
  4413. type: integer
  4414. wrlist:
  4415. description: 现货商品表
  4416. items:
  4417. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  4418. type: array
  4419. type: object
  4420. models.ErmcpBizGroupSpotGoods:
  4421. properties:
  4422. areauserid:
  4423. description: 所属机构id
  4424. type: integer
  4425. bizgroupid:
  4426. description: 分组id
  4427. type: integer
  4428. biztype:
  4429. description: 业务类型 1-套保 2-套利
  4430. type: integer
  4431. deliverygoodscode:
  4432. description: 现货商品代码
  4433. type: string
  4434. deliverygoodsid:
  4435. description: 现货商品id
  4436. type: integer
  4437. deliverygoodsname:
  4438. description: 现货商品名称
  4439. type: string
  4440. unitid:
  4441. description: 现货商品单位id
  4442. type: integer
  4443. type: object
  4444. models.ErmcpBizGroupTaAccount:
  4445. properties:
  4446. accountid:
  4447. description: 账号id
  4448. type: string
  4449. accountname:
  4450. description: 账号名称
  4451. type: string
  4452. areauserid:
  4453. description: 所属机构id
  4454. type: integer
  4455. bizgroupid:
  4456. description: 业务分组id
  4457. type: integer
  4458. ismain:
  4459. description: 是否主账号 1-是 0-否
  4460. type: integer
  4461. type: object
  4462. models.ErmcpDGFactoryItem:
  4463. properties:
  4464. areauserid:
  4465. description: 用户id
  4466. type: integer
  4467. deliverygoodsid:
  4468. description: 现货品种ID
  4469. type: integer
  4470. dgfactoryitemid:
  4471. description: 选择项ID(SEQ_DGFACTORYITEM)
  4472. type: integer
  4473. dgfactoryitemtypeid:
  4474. description: 要素项类型
  4475. type: integer
  4476. dgfactoryitemvalue:
  4477. description: 要素项值(类型为仓库时填写仓库名称)
  4478. type: string
  4479. isvalid:
  4480. description: 是否有效 - 0:无效 1:有效
  4481. type: integer
  4482. orderindex:
  4483. description: 顺序
  4484. type: integer
  4485. warehouseid:
  4486. description: 仓库ID(类型为仓库时填写)
  4487. type: integer
  4488. type: object
  4489. models.ErmcpDeliveryGoods:
  4490. properties:
  4491. agreeunit:
  4492. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  4493. type: integer
  4494. areauserid:
  4495. description: 所属机构
  4496. type: integer
  4497. auditflag:
  4498. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  4499. type: integer
  4500. categoryid:
  4501. description: 类别ID(SEQ_WRCATEGORY)
  4502. type: integer
  4503. deliverygoodscode:
  4504. description: 现货品种代码
  4505. type: string
  4506. deliverygoodsid:
  4507. description: 现货品种ID(SEQ_DELIVERYGOODS)
  4508. type: integer
  4509. deliverygoodsname:
  4510. description: 现货品种名称
  4511. type: string
  4512. deliverygoodstype:
  4513. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  4514. type: integer
  4515. dgstatus:
  4516. description: 品种状态 - 作废 - 0:未激活 1:正常
  4517. type: integer
  4518. enumdicname:
  4519. description: 现货品种单位名称
  4520. type: string
  4521. goodsunitid:
  4522. description: 现货品种单位ID
  4523. type: integer
  4524. isvalid:
  4525. description: 是否有效 - 0:无效 1:有效
  4526. type: integer
  4527. qtydecimalplace:
  4528. description: 成交量小数位
  4529. type: integer
  4530. standardqty:
  4531. description: 标准数量(库位数量) [标准品特有]
  4532. type: integer
  4533. standardqtyrange:
  4534. description: 标准数量偏差范围 [标准品特有]
  4535. type: integer
  4536. type: object
  4537. models.ErmcpDeliveryGoodsDetail:
  4538. properties:
  4539. data:
  4540. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  4541. description: 现货商品基本信息(交割品种)
  4542. type: object
  4543. gblist:
  4544. description: 品牌列表
  4545. items:
  4546. $ref: '#/definitions/models.Ermcp3Brand'
  4547. type: array
  4548. gmlist:
  4549. description: 品类列表(仓单标准)
  4550. items:
  4551. $ref: '#/definitions/models.ErmcpWrstandard'
  4552. type: array
  4553. goodslist:
  4554. description: 关联交易商品列表
  4555. items:
  4556. $ref: '#/definitions/models.ErmcpRelatedGoods'
  4557. type: array
  4558. wrslist:
  4559. description: 套保信息列表
  4560. items:
  4561. $ref: '#/definitions/models.WRSConverTDetail'
  4562. type: array
  4563. type: object
  4564. models.ErmcpExposureDetailModel:
  4565. properties:
  4566. areauserid:
  4567. description: 机构ID
  4568. type: integer
  4569. changeQty:
  4570. description: 套保变动量
  4571. type: number
  4572. contracttype:
  4573. description: 现货合同类型 - 1:采购 -1:销售
  4574. type: integer
  4575. convertfactor:
  4576. description: 标仓系数
  4577. type: number
  4578. convertratio:
  4579. description: 套保系数
  4580. type: number
  4581. createtime:
  4582. description: 时间
  4583. type: string
  4584. enumdicname:
  4585. description: 现货商品单位名称
  4586. type: string
  4587. logtype:
  4588. description: 类型 - 1:套保计划 2:现货合同
  4589. type: integer
  4590. middlegoodsId:
  4591. description: 套保商品id
  4592. type: integer
  4593. middlegoodscode:
  4594. description: 套保商品代码
  4595. type: string
  4596. middlegoodsname:
  4597. description: 套保商品名称
  4598. type: string
  4599. qty:
  4600. description: 数量
  4601. type: number
  4602. relateNo:
  4603. description: 现货合同/套保计划编号
  4604. type: string
  4605. wrstandardcode:
  4606. description: 现货商品代码
  4607. type: string
  4608. wrstandardid:
  4609. description: 现货商品ID
  4610. type: integer
  4611. wrstandardname:
  4612. description: 现货商品名称
  4613. type: string
  4614. type: object
  4615. models.ErmcpExposurePostion:
  4616. properties:
  4617. agreeunit:
  4618. description: 合约单位
  4619. type: string
  4620. areauserid:
  4621. description: 所属机构id
  4622. type: integer
  4623. convertratio:
  4624. description: 期货品种系数(折算系数)
  4625. type: number
  4626. curqty:
  4627. description: 当前持仓
  4628. type: integer
  4629. diffhedgeqty:
  4630. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  4631. type: number
  4632. diffqty:
  4633. description: 持仓变动量=当前持仓-昨日持仓
  4634. type: integer
  4635. goodscode:
  4636. description: 商品代码
  4637. type: string
  4638. goodsid:
  4639. description: 商品id
  4640. type: integer
  4641. goodsname:
  4642. description: 商品名称
  4643. type: string
  4644. middlegoodsid:
  4645. description: 套保商品id
  4646. type: integer
  4647. ydqty:
  4648. description: 昨日持仓
  4649. type: integer
  4650. type: object
  4651. models.ErmcpFuturesCompany:
  4652. properties:
  4653. brokerid:
  4654. description: 经纪公司代码
  4655. type: string
  4656. channeladdress:
  4657. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  4658. type: string
  4659. channelid:
  4660. description: 对冲渠道ID
  4661. type: string
  4662. createtime:
  4663. description: 创建时间
  4664. type: string
  4665. creatorid:
  4666. description: 创建人
  4667. type: string
  4668. fcid:
  4669. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  4670. type: integer
  4671. fcname:
  4672. description: 期货公司名称
  4673. type: string
  4674. isvalid:
  4675. description: 是否有效 - 0:无效 1:有效
  4676. type: integer
  4677. mhpaddress:
  4678. description: MHP服务地址(IP:Port)
  4679. type: string
  4680. riskrulegroupid:
  4681. description: 风控规则组ID
  4682. type: string
  4683. tradefeetmpid:
  4684. description: 手续费模板ID[TradeConfigTmpType为2]
  4685. type: string
  4686. trademargintmpid:
  4687. description: 保证金模板ID [TradeConfigTmpType为1]
  4688. type: string
  4689. traderatetmpid:
  4690. description: 汇率模板ID[TradeConfigTmpType为3]
  4691. type: string
  4692. updatetime:
  4693. description: 更新时间
  4694. type: string
  4695. updatorid:
  4696. description: 更新人
  4697. type: string
  4698. type: object
  4699. models.ErmcpGGConvertCfg:
  4700. properties:
  4701. convertratio:
  4702. description: 折算系数
  4703. type: number
  4704. destgoodsgroupid:
  4705. description: 目标品种ID
  4706. type: integer
  4707. dstcode:
  4708. description: 目录品种代码
  4709. type: string
  4710. dstexchangecode:
  4711. description: 目标期货交易所
  4712. type: string
  4713. dstname:
  4714. description: 目标品种名称
  4715. type: string
  4716. dstunitid:
  4717. description: 目标品种单位ID
  4718. type: integer
  4719. dstunitidname:
  4720. description: 目标品种单位名称
  4721. type: string
  4722. modifytime:
  4723. description: 修改时间
  4724. type: string
  4725. srccode:
  4726. description: 源品种代码
  4727. type: string
  4728. srcexchangecode:
  4729. description: 源期货交易所
  4730. type: string
  4731. srcgoodsgroupid:
  4732. description: 源品种ID
  4733. type: integer
  4734. srcname:
  4735. description: 源品种名称
  4736. type: string
  4737. srcunitid:
  4738. description: 源品种单位ID
  4739. type: integer
  4740. srcunitidname:
  4741. description: 源品种单位名称
  4742. type: string
  4743. type: object
  4744. models.ErmcpGoodsBrand:
  4745. properties:
  4746. areauserid:
  4747. description: 所属机构
  4748. type: integer
  4749. brandid:
  4750. description: BrandID(SEQ_SPOTGOODSBRAND)
  4751. type: integer
  4752. brandname:
  4753. description: 品牌名称
  4754. type: string
  4755. createtime:
  4756. description: 创建时间
  4757. type: string
  4758. creatorid:
  4759. description: 创建人
  4760. type: integer
  4761. creatorsrc:
  4762. description: 创建人来源 - 1:管理端 2:终端
  4763. type: integer
  4764. deliverygoodsid:
  4765. description: 现货品种ID
  4766. type: integer
  4767. isvalid:
  4768. description: 是否有效 - 0:无效 1:有效
  4769. type: integer
  4770. updatetime:
  4771. description: 更新时间
  4772. type: string
  4773. updatorid:
  4774. description: 更新人
  4775. type: integer
  4776. updatorsrc:
  4777. description: 更新人来源 - 1:管理端 2:终端
  4778. type: integer
  4779. wrstandardid:
  4780. description: 现货商品ID
  4781. type: integer
  4782. type: object
  4783. models.ErmcpGoodsModel:
  4784. properties:
  4785. areauserid:
  4786. description: 所属机构
  4787. type: integer
  4788. convertfactor:
  4789. description: 标仓系数
  4790. type: number
  4791. createtime:
  4792. description: 创建时间
  4793. type: string
  4794. creatorid:
  4795. description: 创建人
  4796. type: integer
  4797. creatorsrc:
  4798. description: 创建人来源 - 1:管理端 2:终端
  4799. type: integer
  4800. deliverygoodsid:
  4801. description: 现货品种ID
  4802. type: integer
  4803. isvalid:
  4804. description: 是否有效 - 0:无效 1:有效
  4805. type: integer
  4806. modelid:
  4807. description: ModelID(SEQ_SPOTGOODSMODEL)
  4808. type: integer
  4809. modelname:
  4810. description: 型号名称
  4811. type: string
  4812. updatetime:
  4813. description: 更新时间
  4814. type: string
  4815. updatorid:
  4816. description: 更新人
  4817. type: integer
  4818. updatorsrc:
  4819. description: 更新人来源 - 1:管理端 2:终端
  4820. type: integer
  4821. wrstandardid:
  4822. description: 现货商品ID
  4823. type: integer
  4824. type: object
  4825. models.ErmcpHedgePlan:
  4826. properties:
  4827. areauserid:
  4828. description: 用户ID
  4829. type: integer
  4830. audittime:
  4831. description: 审核时间
  4832. type: string
  4833. contracttype:
  4834. description: 计划类型 - 1:采购 -1:销售
  4835. type: integer
  4836. convertfactor:
  4837. description: 标仓系数
  4838. type: number
  4839. createtime:
  4840. description: 创建时间
  4841. type: string
  4842. deliverygoodsid:
  4843. description: 现货品种ID
  4844. type: integer
  4845. deliverygoodsname:
  4846. description: 现货品种名称
  4847. type: string
  4848. enumdicname:
  4849. description: 单位名称
  4850. type: string
  4851. hedgeplanid:
  4852. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  4853. type: string
  4854. hedgeplanno:
  4855. description: 套保计划编号(名称)
  4856. type: string
  4857. hedgeplanstatus:
  4858. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4859. type: integer
  4860. planqty:
  4861. description: 计划数量
  4862. type: number
  4863. plantime:
  4864. description: 计划时间
  4865. type: string
  4866. producttype:
  4867. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  4868. type: integer
  4869. remark:
  4870. description: 备注
  4871. type: string
  4872. spotgoodsdesc:
  4873. description: 商品型号
  4874. type: string
  4875. unitid:
  4876. description: 单位id
  4877. type: integer
  4878. updatetime:
  4879. description: 更新时间
  4880. type: string
  4881. wrstandardid:
  4882. description: 现货商品ID
  4883. type: integer
  4884. wrstandardname:
  4885. description: 现货商品名称
  4886. type: string
  4887. type: object
  4888. models.ErmcpHedgePosition:
  4889. properties:
  4890. accountid:
  4891. description: 资金账号[外部母账户]
  4892. type: integer
  4893. curbuyposition:
  4894. description: 期末买头寸
  4895. type: integer
  4896. cursellposition:
  4897. description: 期末卖头寸
  4898. type: integer
  4899. curtdbuyposition:
  4900. description: 期末今日买头寸
  4901. type: integer
  4902. curtdsellposition:
  4903. description: 期末今日卖头寸
  4904. type: integer
  4905. curydbuyposition:
  4906. description: 期末上日买头寸
  4907. type: integer
  4908. curydsellposition:
  4909. description: 期末上日卖头寸
  4910. type: integer
  4911. decreaseqty:
  4912. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  4913. type: integer
  4914. fretdbuyposition:
  4915. description: 冻结今日买头寸
  4916. type: integer
  4917. fretdsellposition:
  4918. description: 冻结今日卖头寸
  4919. type: integer
  4920. freydbuyposition:
  4921. description: 冻结上日买头寸
  4922. type: integer
  4923. freydsellposition:
  4924. description: 冻结上日卖头寸
  4925. type: integer
  4926. goodscode:
  4927. description: 商品代码
  4928. type: string
  4929. goodsid:
  4930. description: 商品id
  4931. type: integer
  4932. goodsname:
  4933. description: 商品名称
  4934. type: string
  4935. hedgeaccountcode:
  4936. description: 对冲账号
  4937. type: string
  4938. hedgegoodsid:
  4939. description: 对冲合约ID
  4940. type: integer
  4941. increaseqty:
  4942. description: 增加数量 = 期末买头寸 - 期初买头寸
  4943. type: integer
  4944. marketid:
  4945. description: 市场ID
  4946. type: integer
  4947. relateduserid:
  4948. description: 关联用户id
  4949. type: integer
  4950. totalcurqty:
  4951. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  4952. type: integer
  4953. totalydqty:
  4954. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  4955. type: integer
  4956. tradedate:
  4957. description: 交易日(yyyyMMdd)
  4958. type: string
  4959. ydbuyposition:
  4960. description: 期初买头寸
  4961. type: integer
  4962. ydsellposition:
  4963. description: 期初卖头寸
  4964. type: integer
  4965. type: object
  4966. models.ErmcpHedgePositionDetail:
  4967. properties:
  4968. buyorsell:
  4969. description: 买卖方向 0-买 1-卖
  4970. type: integer
  4971. channelbuildtype:
  4972. description: 开平方向 1-建仓 2-平仓
  4973. type: integer
  4974. goodscode:
  4975. description: 商品代码
  4976. type: string
  4977. goodsname:
  4978. description: 商品名称
  4979. type: string
  4980. hedgegoodsid:
  4981. description: 商品id
  4982. type: integer
  4983. tradeqty:
  4984. description: 数量(成交数量)
  4985. type: integer
  4986. tradetime:
  4987. description: 时间(成交时间)
  4988. type: string
  4989. type: object
  4990. models.ErmcpHisExposure:
  4991. properties:
  4992. needhedgeexposoure:
  4993. description: 应套保敞口
  4994. type: number
  4995. reckondate:
  4996. description: 日照时期(yyyyMMdd)
  4997. type: string
  4998. totalexposure:
  4999. description: 总敞口
  5000. type: number
  5001. type: object
  5002. models.ErmcpHisExposureS:
  5003. properties:
  5004. data:
  5005. description: 历史敞口
  5006. items:
  5007. $ref: '#/definitions/models.ErmcpHisExposure'
  5008. type: array
  5009. enumdicname:
  5010. description: 单位名称
  5011. type: string
  5012. middlegoodscode:
  5013. description: 套保品种代码
  5014. type: string
  5015. middlegoodsid:
  5016. description: 套保品种ID
  5017. type: integer
  5018. middlegoodsname:
  5019. description: 套保品种名称
  5020. type: string
  5021. type: object
  5022. models.ErmcpLoginUser:
  5023. properties:
  5024. accountname:
  5025. description: 用户名称
  5026. type: string
  5027. clientroleid:
  5028. description: 角色id(usertype=2)
  5029. type: integer
  5030. createtime:
  5031. description: 创建时间
  5032. type: string
  5033. logincode:
  5034. description: 登录代码
  5035. type: string
  5036. loginid:
  5037. description: 登录id(LOGINID)
  5038. type: integer
  5039. loginstatus:
  5040. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  5041. type: integer
  5042. memberuserid:
  5043. description: 所属会员id
  5044. type: integer
  5045. modifytime:
  5046. description: 修改时间
  5047. type: string
  5048. rolename:
  5049. description: 角色名称
  5050. type: string
  5051. rolestatus:
  5052. description: 角色状态 1-启用 2-停用
  5053. type: integer
  5054. roletype:
  5055. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  5056. type: string
  5057. userid:
  5058. description: 用户id
  5059. type: integer
  5060. usertype:
  5061. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  5062. type: integer
  5063. type: object
  5064. models.ErmcpLoginUserEx:
  5065. properties:
  5066. roleid:
  5067. description: 角色id
  5068. type: integer
  5069. rolename:
  5070. description: 角色名称
  5071. type: string
  5072. userlist:
  5073. description: 用户列表
  5074. items:
  5075. $ref: '#/definitions/models.ErmcpLoginUser'
  5076. type: array
  5077. usertype:
  5078. description: 用户类型 2-机构 7-企业成员(云平台)
  5079. type: integer
  5080. type: object
  5081. models.ErmcpMiddleGoodsChangeLog:
  5082. properties:
  5083. aftervalue:
  5084. description: 变更后
  5085. type: number
  5086. applyid:
  5087. description: 操作人
  5088. type: integer
  5089. applyname:
  5090. description: 操作人名称
  5091. type: string
  5092. applysrc:
  5093. description: 操作来源 - 1:管理端 2:终端
  5094. type: integer
  5095. beforevalue:
  5096. description: 变更前
  5097. type: number
  5098. changelogtype:
  5099. description: 变更流水类型 - 1:套保比率变更
  5100. type: integer
  5101. handlestatus:
  5102. description: 处理状态
  5103. type: integer
  5104. logdatetime:
  5105. description: 流水日期
  5106. type: string
  5107. logid:
  5108. description: 流水ID
  5109. type: integer
  5110. logremark:
  5111. description: 流水备注
  5112. type: string
  5113. middlegoodsid:
  5114. description: 套保品种ID
  5115. type: integer
  5116. tradedate:
  5117. description: 交易日(yyyyMMdd)
  5118. type: string
  5119. updatetime:
  5120. description: 更新时间
  5121. type: string
  5122. type: object
  5123. models.ErmcpMiddleGoodsDetail:
  5124. properties:
  5125. cvList:
  5126. description: 期货品种折算列表
  5127. items:
  5128. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  5129. type: array
  5130. mg:
  5131. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  5132. description: 套保品种基本信息
  5133. type: object
  5134. wrcList:
  5135. description: 现货品种列表(现货商品折算配置)
  5136. items:
  5137. $ref: '#/definitions/models.WRSConverTDetail'
  5138. type: array
  5139. type: object
  5140. models.ErmcpMiddleGoodsModel:
  5141. properties:
  5142. areauserid:
  5143. description: 机构用户ID
  5144. type: integer
  5145. createtime:
  5146. description: 修改时间
  5147. type: string
  5148. enumdicname:
  5149. description: 单位名称
  5150. type: string
  5151. evaluateratio:
  5152. description: 估价系数
  5153. type: number
  5154. goodsgroupid:
  5155. description: 关联期货品种ID
  5156. type: integer
  5157. isvalid:
  5158. description: 状态 0-无效(停用) 1-有效(正常)
  5159. type: integer
  5160. middlegoodscode:
  5161. description: 套保品种代码
  5162. type: string
  5163. middlegoodsid:
  5164. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  5165. type: integer
  5166. middlegoodsname:
  5167. description: 套保品种名称
  5168. type: string
  5169. modifytime:
  5170. description: 修改时间
  5171. type: string
  5172. needhedgeratio:
  5173. description: 套保比率
  5174. type: number
  5175. qtydecimalplace:
  5176. description: 数量小数位
  5177. type: integer
  5178. relatedgoodsid:
  5179. description: 关联交易商品ID
  5180. type: integer
  5181. relatedgoodstype:
  5182. description: 关联商品类型 - 1:期货合约 2:现货品种
  5183. type: integer
  5184. remark:
  5185. description: 备注
  5186. type: string
  5187. type: object
  5188. models.ErmcpModel:
  5189. properties:
  5190. accountname:
  5191. description: 账户名称
  5192. type: string
  5193. attachment:
  5194. description: 附件
  5195. type: string
  5196. audittime:
  5197. description: 审核时间
  5198. type: string
  5199. brandname:
  5200. description: 品牌名称
  5201. type: string
  5202. contracctstatus:
  5203. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5204. type: integer
  5205. contractmargin:
  5206. description: 合同保证金
  5207. type: number
  5208. contractno:
  5209. description: 合同编号
  5210. type: string
  5211. contracttype:
  5212. description: 合同类型 1-采购, -1-销售
  5213. type: integer
  5214. convertfactor:
  5215. description: 标仓系数
  5216. type: number
  5217. createtime:
  5218. description: 创建时间
  5219. type: string
  5220. daikaiamount:
  5221. description: 应收(开)票额
  5222. type: number
  5223. deliveryenddate:
  5224. description: 交割结束日
  5225. type: string
  5226. deliverygoodscode:
  5227. description: 现货品种代码
  5228. type: string
  5229. deliverygoodsid:
  5230. description: 现货商品ID
  5231. type: integer
  5232. deliverygoodsname:
  5233. description: 现货品种名称
  5234. type: string
  5235. deliverystartdate:
  5236. description: 交割开始日
  5237. type: string
  5238. enddate:
  5239. description: 点价结束日
  5240. type: string
  5241. enumdicname:
  5242. description: 单位名称
  5243. type: string
  5244. goodscode:
  5245. description: 点价商品代码
  5246. type: string
  5247. goodsid:
  5248. description: 点价商品ID
  5249. type: integer
  5250. goodsname:
  5251. description: 点价商品名称
  5252. type: string
  5253. invoiceamount:
  5254. description: 已开票额
  5255. type: number
  5256. loanamount:
  5257. description: 贷款总额=已定价额+调整金额
  5258. type: number
  5259. margin:
  5260. description: 保证金
  5261. type: number
  5262. modelname:
  5263. description: 型号名称
  5264. type: string
  5265. payamount:
  5266. description: 已收付额(收款或付款)
  5267. type: number
  5268. preinvoiceamount:
  5269. description: 预收(开)票额
  5270. type: number
  5271. prepayamount:
  5272. description: 预收付额
  5273. type: number
  5274. price:
  5275. description: 价格
  5276. type: number
  5277. pricedamount:
  5278. description: 已定价额
  5279. type: number
  5280. pricedavg:
  5281. description: 已点均价
  5282. type: number
  5283. pricedqty:
  5284. description: 已定价量
  5285. type: number
  5286. pricemove:
  5287. description: 升贴水
  5288. type: number
  5289. pricetype:
  5290. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  5291. type: integer
  5292. producttype:
  5293. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5294. type: integer
  5295. qty:
  5296. description: 合同量
  5297. type: number
  5298. reckonadjustamount:
  5299. description: 调整金额
  5300. type: number
  5301. reckonedamount:
  5302. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  5303. type: number
  5304. reckonotheramount:
  5305. description: 其它费用
  5306. type: number
  5307. reckonrealqty:
  5308. description: 已确定量
  5309. type: number
  5310. remark:
  5311. description: 备注
  5312. type: string
  5313. spotcontractid:
  5314. description: 合同ID
  5315. type: string
  5316. spotgoodsbrandid:
  5317. description: 现货品牌ID
  5318. type: integer
  5319. spotgoodsdesc:
  5320. description: 商品型号(商品规格)
  5321. type: string
  5322. spotgoodsmodelid:
  5323. description: 现货型号ID
  5324. type: integer
  5325. startdate:
  5326. description: 点价开始日
  5327. type: string
  5328. totalamount:
  5329. description: 合计总额
  5330. type: number
  5331. unpayamount:
  5332. description: 应收付款额(应支付或应收款)
  5333. type: number
  5334. unpricedqty:
  5335. description: 未定价量
  5336. type: number
  5337. unsureqty:
  5338. description: 未确定量
  5339. type: number
  5340. userid:
  5341. description: 用户ID
  5342. type: integer
  5343. wrstandardcode:
  5344. description: 现货商品代码
  5345. type: string
  5346. wrstandardid:
  5347. description: 现货商品ID
  5348. type: integer
  5349. wrstandardname:
  5350. description: 现货商品名称
  5351. type: string
  5352. type: object
  5353. models.ErmcpOPLogModel:
  5354. properties:
  5355. aftervalue:
  5356. description: 变更后
  5357. type: number
  5358. applyid:
  5359. description: 操作人ID
  5360. type: string
  5361. applyname:
  5362. description: 操作人名称
  5363. type: string
  5364. beforevalue:
  5365. description: 变更前
  5366. type: number
  5367. biztype:
  5368. description: 业务类型 - 1:套保计划 2:现货合同
  5369. type: integer
  5370. contracttype:
  5371. description: 现货合同类型 - 1:采购 -1:销售
  5372. type: integer
  5373. logvalue:
  5374. description: 数值
  5375. type: number
  5376. operatelogtype:
  5377. description: 操作流水类型
  5378. type: integer
  5379. operatelogtypedesc:
  5380. description: 操作流水类型名称
  5381. type: string
  5382. relatedid:
  5383. description: 现货合同ID\套保计划
  5384. type: string
  5385. updatetime:
  5386. description: 更新时间
  5387. type: string
  5388. type: object
  5389. models.ErmcpPendingAudit:
  5390. properties:
  5391. areastockqty:
  5392. description: '待审核数量: 库存申请'
  5393. type: integer
  5394. businessdjqty:
  5395. description: '待审核数量: 点价'
  5396. type: integer
  5397. businessfpqty:
  5398. description: '待审核数量: 发票'
  5399. type: integer
  5400. businessjsqty:
  5401. description: '待审核数量: 结算'
  5402. type: integer
  5403. businesskxqty:
  5404. description: '待审核数量: 款项'
  5405. type: integer
  5406. hedgeplanqty:
  5407. description: '待审核数量: 套保计划'
  5408. type: integer
  5409. spotcontractqty:
  5410. description: '待审核数量: 现货合同'
  5411. type: integer
  5412. userqty:
  5413. description: '待审核数量: 用户'
  5414. type: integer
  5415. type: object
  5416. models.ErmcpRealExposureModel:
  5417. properties:
  5418. AreaUserID:
  5419. description: 所属机构
  5420. type: integer
  5421. BuyFutureQty:
  5422. description: 买入期货数量
  5423. type: number
  5424. BuyPlanQty:
  5425. description: 采购计划数量
  5426. type: number
  5427. BuyPricedQty:
  5428. description: 采购合同已定价数量
  5429. type: number
  5430. MiddleGoodsCode:
  5431. description: 套保品种代码
  5432. type: string
  5433. MiddleGoodsHedgeRatio:
  5434. description: 应套保比例
  5435. type: number
  5436. MiddleGoodsID:
  5437. description: 套保品种
  5438. type: integer
  5439. MiddleGoodsName:
  5440. description: 套保品种名称
  5441. type: string
  5442. NeedHedgeExposoure:
  5443. description: 应套保敞口
  5444. type: number
  5445. NeedHedgeRatio:
  5446. description: 应套保敞口比例
  5447. type: number
  5448. OriBuyFutureQty:
  5449. description: 期初买入期货数量
  5450. type: number
  5451. OriBuyPlanQty:
  5452. description: 期初采购计划数量
  5453. type: number
  5454. OriBuyPricedQty:
  5455. description: 期初采购合同已定价数量
  5456. type: number
  5457. OriSellFutureQty:
  5458. description: 期初卖出期货数量
  5459. type: number
  5460. OriSellPlanQty:
  5461. description: 期初销售计划数量
  5462. type: number
  5463. OriSellPricedQty:
  5464. description: 期初销售合同已定价数量
  5465. type: number
  5466. SellFutureQty:
  5467. description: 卖出期货数量
  5468. type: number
  5469. SellPlanQty:
  5470. description: 销售计划数量
  5471. type: number
  5472. SellPricedQty:
  5473. description: 销售合同已定价数量
  5474. type: number
  5475. TotalExposure:
  5476. description: 总敞口
  5477. type: number
  5478. TotalFutureQty:
  5479. description: 期货数量
  5480. type: number
  5481. TotalHedgeRatio:
  5482. description: 敞口比例
  5483. type: number
  5484. TotalNeedHedgeQty:
  5485. description: 期货应套保量
  5486. type: number
  5487. TotalSpotQty:
  5488. description: 现货数量
  5489. type: number
  5490. diffFutuQty:
  5491. description: 今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)
  5492. type: number
  5493. diffSpotQty:
  5494. description: 今日变动量(现货) = 现货数量 - 期初现货数量
  5495. type: number
  5496. enumdicname:
  5497. description: 单位名称
  5498. type: string
  5499. oriTotalFutuQty:
  5500. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  5501. type: number
  5502. oriTotalSpotQty:
  5503. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  5504. type: number
  5505. type: object
  5506. models.ErmcpRelatedGoods:
  5507. properties:
  5508. deliverygoodsid:
  5509. description: 品种ID
  5510. type: integer
  5511. goodscode:
  5512. description: 商品代码
  5513. type: string
  5514. goodsid:
  5515. description: 商品id
  5516. type: integer
  5517. goodsname:
  5518. description: 商品名称
  5519. type: string
  5520. type: object
  5521. models.ErmcpReportAreaSpotPL:
  5522. properties:
  5523. actualpl:
  5524. description: 实际损益
  5525. type: number
  5526. areauserid:
  5527. description: 所属机构
  5528. type: integer
  5529. brandname:
  5530. description: 品牌名称
  5531. type: string
  5532. curamount:
  5533. description: 期末额
  5534. type: number
  5535. curaverageprice:
  5536. description: 期末均价
  5537. type: number
  5538. curbuyamount:
  5539. description: 期末采购总额(采购额)
  5540. type: number
  5541. curbuyqty:
  5542. description: 期末采购总量
  5543. type: number
  5544. curmarketvalue:
  5545. description: 参考市值
  5546. type: number
  5547. curqty:
  5548. description: 期末量
  5549. type: number
  5550. cursellamount:
  5551. description: 期末销售总额(销售额)
  5552. type: number
  5553. cursellqty:
  5554. description: 期末销售总量
  5555. type: number
  5556. curspotprice:
  5557. description: 参考市价
  5558. type: number
  5559. enumdicname:
  5560. description: 现货商品单位名称
  5561. type: string
  5562. floatpl:
  5563. description: 浮动损益
  5564. type: number
  5565. gbenumdicname:
  5566. description: 品类单位名称
  5567. type: string
  5568. gbunitid:
  5569. description: 品类单位id
  5570. type: integer
  5571. modelname:
  5572. description: 品类名称
  5573. type: string
  5574. oriamount:
  5575. description: 期初额
  5576. type: number
  5577. oriaverageprice:
  5578. description: 期初均价
  5579. type: number
  5580. oribuyamount:
  5581. description: 期初采购总额
  5582. type: number
  5583. oribuyqty:
  5584. description: 期初采购总量
  5585. type: number
  5586. oriqty:
  5587. description: 期初量
  5588. type: number
  5589. orisellamount:
  5590. description: 期初销售总额
  5591. type: number
  5592. orisellqty:
  5593. description: 期初销售总量
  5594. type: number
  5595. spotgoodsbrandid:
  5596. description: 现货品牌ID
  5597. type: integer
  5598. spotgoodsmodelid:
  5599. description: 现货品类ID
  5600. type: integer
  5601. todaybuyamount:
  5602. description: 今日采购额
  5603. type: number
  5604. todaybuyaverageprice:
  5605. description: 今日采购均价(采购均价)
  5606. type: number
  5607. todaybuyqty:
  5608. description: 今日采购量(采购增量)
  5609. type: number
  5610. todaysellamount:
  5611. description: 今日销售额
  5612. type: number
  5613. todaysellaverageprice:
  5614. description: 今日销售均价(销售均价)
  5615. type: number
  5616. todaysellqty:
  5617. description: 今日销售量(销售增量)
  5618. type: number
  5619. unitid:
  5620. description: 现货商品单位id
  5621. type: integer
  5622. updatetime:
  5623. description: 更新时间
  5624. type: string
  5625. wrstandardcode:
  5626. description: 现货商品代码
  5627. type: string
  5628. wrstandardid:
  5629. description: 现货商品ID
  5630. type: integer
  5631. wrstandardname:
  5632. description: 现货商品名称
  5633. type: string
  5634. type: object
  5635. models.ErmcpReportDayExposure:
  5636. properties:
  5637. areauserid:
  5638. description: 所属机构
  5639. type: integer
  5640. buyfutureqty:
  5641. description: 买入期货数量
  5642. type: number
  5643. buyplanqty:
  5644. description: 采购计划数量
  5645. type: number
  5646. buypricedqty:
  5647. description: 采购合同已定价数量
  5648. type: number
  5649. diffFutuQty:
  5650. description: 今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)
  5651. type: number
  5652. diffSpotQty:
  5653. description: 今日变动量(现货) = 现货数量 - 期初现货数量
  5654. type: number
  5655. enumdicname:
  5656. description: 单位名称
  5657. type: string
  5658. middlegoodscode:
  5659. description: 套保品种代码
  5660. type: string
  5661. middlegoodshedgeratio:
  5662. description: 应套保比例
  5663. type: number
  5664. middlegoodsid:
  5665. description: 套保品种ID
  5666. type: integer
  5667. middlegoodsname:
  5668. description: 套保品种名称
  5669. type: string
  5670. needhedgeexposoure:
  5671. description: 应套保敞口
  5672. type: number
  5673. needhedgeratio:
  5674. description: 应套保敞口比例
  5675. type: number
  5676. oriTotalFutuQty:
  5677. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  5678. type: number
  5679. oriTotalSpotQty:
  5680. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  5681. type: number
  5682. oribuyfutureqty:
  5683. description: 期初买入期货数量
  5684. type: number
  5685. oribuyplanqty:
  5686. description: 期初采购计划数量
  5687. type: number
  5688. oribuypricedqty:
  5689. description: 期初采购合同已定价数量
  5690. type: number
  5691. orisellfutureqty:
  5692. description: 期初卖出期货数量
  5693. type: number
  5694. orisellplanqty:
  5695. description: 期初销售计划数量
  5696. type: number
  5697. orisellpricedqty:
  5698. description: 期初销售合同已定价数量
  5699. type: number
  5700. reckondate:
  5701. description: 日照时期(yyyyMMdd)
  5702. type: string
  5703. sellfutureqty:
  5704. description: 卖出期货数量
  5705. type: number
  5706. sellplanqty:
  5707. description: 销售计划数量
  5708. type: number
  5709. sellpricedqty:
  5710. description: 销售合同已定价数量
  5711. type: number
  5712. totalexposure:
  5713. description: 总敞口
  5714. type: number
  5715. totalfutureqty:
  5716. description: 期货数量
  5717. type: number
  5718. totalhedgeratio:
  5719. description: 敞口比例
  5720. type: number
  5721. totalneedhedgeqty:
  5722. description: 期货应套保量
  5723. type: number
  5724. totalspotqty:
  5725. description: 现货数量
  5726. type: number
  5727. type: object
  5728. models.ErmcpReportDayFR:
  5729. properties:
  5730. areauserid:
  5731. description: 所属机构
  5732. type: integer
  5733. collectinvoiceamount:
  5734. description: 今日开票金额
  5735. type: number
  5736. collectinvoicecount:
  5737. description: 今日开票笔数
  5738. type: integer
  5739. collectmoneyamount:
  5740. description: 今日收款金额
  5741. type: number
  5742. collectmoneycount:
  5743. description: 今日收款笔数
  5744. type: integer
  5745. payinvoiceamount:
  5746. description: 今日收票金额
  5747. type: number
  5748. payinvoicecount:
  5749. description: 今日收票笔数
  5750. type: integer
  5751. paymoneyamount:
  5752. description: 今日付款金额
  5753. type: number
  5754. paymoneycount:
  5755. description: 今日付款笔数
  5756. type: integer
  5757. reckondate:
  5758. description: 日照时期(yyyyMMdd)
  5759. type: string
  5760. updatetime:
  5761. description: 更新时间
  5762. type: string
  5763. type: object
  5764. models.ErmcpReportDaySpot:
  5765. properties:
  5766. areauserid:
  5767. description: 所属机构T
  5768. type: integer
  5769. buyinqty:
  5770. description: 采购入库量
  5771. type: number
  5772. enumdicname:
  5773. description: 现货商品单位名称
  5774. type: string
  5775. reckondate:
  5776. description: 日照时期(yyyyMMdd)
  5777. type: string
  5778. selloutqty:
  5779. description: 销售出库量
  5780. type: number
  5781. todaybuyreckonqty:
  5782. description: 采购确定量
  5783. type: number
  5784. todaysellreckonqty:
  5785. description: 销售确定量
  5786. type: number
  5787. totalbuypricedqty:
  5788. description: 采购定价量 = 期末 - 期初
  5789. type: number
  5790. totalsellpricedqty:
  5791. description: 销售定价量 = 期末 - 期初
  5792. type: number
  5793. wrstandardcode:
  5794. description: 现货商品代码
  5795. type: string
  5796. wrstandardid:
  5797. description: 现货商品ID
  5798. type: integer
  5799. wrstandardname:
  5800. description: 现货商品名称
  5801. type: string
  5802. type: object
  5803. models.ErmcpReportMonSpot:
  5804. properties:
  5805. areauserid:
  5806. description: 所属机构T
  5807. type: integer
  5808. buyinqty:
  5809. description: 采购入库量
  5810. type: number
  5811. cycletime:
  5812. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5813. type: string
  5814. cycletype:
  5815. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5816. type: integer
  5817. enumdicname:
  5818. description: 现货商品单位名称
  5819. type: string
  5820. selloutqty:
  5821. description: 销售出库量
  5822. type: number
  5823. todaybuyreckonqty:
  5824. description: 采购确定量
  5825. type: number
  5826. todaysellreckonqty:
  5827. description: 销售确定量
  5828. type: number
  5829. totalbuypricedqty:
  5830. description: 采购定价量 = 期末 - 期初
  5831. type: number
  5832. totalsellpricedqty:
  5833. description: 销售定价量 = 期末 - 期初
  5834. type: number
  5835. wrstandardcode:
  5836. description: 现货商品代码
  5837. type: string
  5838. wrstandardid:
  5839. description: 现货商品ID
  5840. type: integer
  5841. wrstandardname:
  5842. description: 现货商品名称
  5843. type: string
  5844. type: object
  5845. models.ErmcpReportMonthFR:
  5846. properties:
  5847. areauserid:
  5848. description: 所属机构【原值】
  5849. type: integer
  5850. collectinvoiceamount:
  5851. description: 今日开票金额【汇总】
  5852. type: number
  5853. collectinvoicecount:
  5854. description: 今日开票笔数【汇总】
  5855. type: integer
  5856. collectmoneyamount:
  5857. description: 今日收款金额【汇总】
  5858. type: number
  5859. collectmoneycount:
  5860. description: 今日收款笔数 【汇总】
  5861. type: integer
  5862. cycletime:
  5863. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5864. type: string
  5865. cycletype:
  5866. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5867. type: integer
  5868. dayFr:
  5869. description: 日报表明细
  5870. items:
  5871. $ref: '#/definitions/models.ErmcpReportDayFR'
  5872. type: array
  5873. payinvoiceamount:
  5874. description: 今日收票金额【汇总】
  5875. type: number
  5876. payinvoicecount:
  5877. description: 今日收票笔数【汇总】
  5878. type: integer
  5879. paymoneyamount:
  5880. description: 今日付款金额【汇总】
  5881. type: number
  5882. paymoneycount:
  5883. description: 今日付款笔数【汇总】
  5884. type: integer
  5885. updatetime:
  5886. description: 更新时间
  5887. type: string
  5888. type: object
  5889. models.ErmcpReportOPLog:
  5890. properties:
  5891. applyid:
  5892. description: 操作人
  5893. type: integer
  5894. applyname:
  5895. description: 操作人名称
  5896. type: string
  5897. biztype:
  5898. description: 业务类型 - 1:套保计划 2:现货合同
  5899. type: integer
  5900. brandname:
  5901. description: 品牌名称
  5902. type: string
  5903. contracttype:
  5904. description: 现货合同类型 - 1:采购 -1:销售
  5905. type: integer
  5906. enumdicName:
  5907. description: 单位名称
  5908. type: string
  5909. logdatetime:
  5910. description: 流水日期(时间)
  5911. type: string
  5912. logid:
  5913. description: 流水ID(604+Unix秒时间戳(10位)+xxxxxx)
  5914. type: string
  5915. logtypename:
  5916. description: 合同类型(名称)
  5917. type: string
  5918. logvalue:
  5919. description: 数值
  5920. type: string
  5921. modelname:
  5922. description: 型号名称
  5923. type: string
  5924. operatelogtype:
  5925. description: 操作流水类型 -
  5926. type: integer
  5927. optypename:
  5928. description: 流水类型名称
  5929. type: string
  5930. relatedid:
  5931. description: 现货合同ID\套保计划
  5932. type: string
  5933. relatedno:
  5934. description: 合同编号
  5935. type: string
  5936. tradedate:
  5937. description: 交易日(yyyyMMdd)
  5938. type: string
  5939. userid:
  5940. description: 机构ID
  5941. type: integer
  5942. wrstandardcode:
  5943. description: 现货商品代码
  5944. type: string
  5945. wrstandardid:
  5946. description: 现货商品ID
  5947. type: integer
  5948. wrstandardname:
  5949. description: 现货商品名称
  5950. type: string
  5951. type: object
  5952. models.ErmcpRole:
  5953. properties:
  5954. areauserid:
  5955. description: 所属机构
  5956. type: integer
  5957. autoid:
  5958. description: 角色ID(自增ID)
  5959. type: integer
  5960. modifierid:
  5961. description: 修改人(创建人)
  5962. type: integer
  5963. modifiername:
  5964. description: 修改人名称
  5965. type: string
  5966. modifytime:
  5967. description: 修改时间(创建时间)
  5968. type: string
  5969. rolename:
  5970. description: 角色名称
  5971. type: string
  5972. rolestatus:
  5973. description: 角色状态 - 1:启用 2:停用
  5974. type: integer
  5975. roletype:
  5976. description: 角色类型 - 1- 管理端 2- 交易端
  5977. type: integer
  5978. type: object
  5979. models.ErmcpRoleMenu:
  5980. properties:
  5981. iconame:
  5982. description: 菜单图标
  5983. type: string
  5984. menutype:
  5985. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  5986. type: integer
  5987. parentcode:
  5988. description: 上级资源代码
  5989. type: string
  5990. remark:
  5991. description: 菜单备注
  5992. type: string
  5993. resourcecode:
  5994. description: 菜单代码
  5995. type: string
  5996. resourcelevel:
  5997. description: 级别
  5998. type: integer
  5999. resourcename:
  6000. description: 菜单名称
  6001. type: string
  6002. roleid:
  6003. description: 角色id
  6004. type: integer
  6005. sort:
  6006. description: 排序
  6007. type: integer
  6008. url:
  6009. description: URL
  6010. type: string
  6011. userid:
  6012. description: 用户id
  6013. type: integer
  6014. type: object
  6015. models.ErmcpRoleMenuEx:
  6016. properties:
  6017. menu:
  6018. $ref: '#/definitions/models.ErmcpRoleMenu'
  6019. description: 父级菜单
  6020. type: object
  6021. subMenu:
  6022. description: 子级菜单
  6023. items:
  6024. $ref: '#/definitions/models.ErmcpRoleMenu'
  6025. type: array
  6026. type: object
  6027. models.ErmcpSpotContractModel:
  6028. properties:
  6029. amount:
  6030. description: 金额 [1:一口价、3:暂定价]
  6031. type: number
  6032. attachment:
  6033. description: 附件
  6034. type: string
  6035. auditremark:
  6036. description: 审核意见
  6037. type: string
  6038. audittime:
  6039. description: 审核时间
  6040. type: string
  6041. brandname:
  6042. description: 品牌名称
  6043. type: string
  6044. buyuserid:
  6045. description: 采购方ID
  6046. type: integer
  6047. buyusername:
  6048. description: 采购方名称
  6049. type: string
  6050. contracctstatus:
  6051. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  6052. type: integer
  6053. contractmargin:
  6054. description: 合同保证金
  6055. type: number
  6056. contractno:
  6057. description: 现货合同编号
  6058. type: string
  6059. contracttype:
  6060. description: 现货合同类型 - 1:采购 -1:销售
  6061. type: integer
  6062. convertfactor:
  6063. description: 标仓系数
  6064. type: number
  6065. createtime:
  6066. description: 创建时间
  6067. type: string
  6068. deliveryenddate:
  6069. description: 交收期(结束)
  6070. type: string
  6071. deliverygoodscode:
  6072. description: 现货品种代码
  6073. type: string
  6074. deliverygoodsid:
  6075. description: 现货品种ID
  6076. type: integer
  6077. deliverygoodsname:
  6078. description: 现货品种名称
  6079. type: string
  6080. deliverystartdate:
  6081. description: 交收期(开始)
  6082. type: string
  6083. enddate:
  6084. description: 点价结束日期 [2:点价 3:暂定价]
  6085. type: string
  6086. enumdicname:
  6087. description: 单位名称
  6088. type: string
  6089. goodscode:
  6090. description: 点价合约代码
  6091. type: string
  6092. goodsid:
  6093. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  6094. type: integer
  6095. goodsname:
  6096. description: 点价商品名称
  6097. type: string
  6098. margin:
  6099. description: 当前保证金
  6100. type: number
  6101. modelname:
  6102. description: 型号名称
  6103. type: string
  6104. price:
  6105. description: 价格\暂定价 [1:一口价、3:暂定价]
  6106. type: number
  6107. pricemove:
  6108. description: 升贴水 [2:点价 3:暂定价]
  6109. type: number
  6110. pricetype:
  6111. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  6112. type: integer
  6113. producttype:
  6114. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  6115. type: integer
  6116. qty:
  6117. description: 数量
  6118. type: number
  6119. remark:
  6120. description: 备注
  6121. type: string
  6122. selluserid:
  6123. description: 销售方ID
  6124. type: integer
  6125. sellusername:
  6126. description: 销售方名称
  6127. type: string
  6128. spotcontractid:
  6129. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  6130. type: string
  6131. spotgoodsbrandid:
  6132. description: 现货品牌ID
  6133. type: integer
  6134. spotgoodsdesc:
  6135. description: 商品型号
  6136. type: string
  6137. spotgoodsmodelid:
  6138. description: 现货型号ID
  6139. type: integer
  6140. startdate:
  6141. description: 点价开始日期 [2:点价 3:暂定价]
  6142. type: string
  6143. updatetime:
  6144. description: 更新时间
  6145. type: string
  6146. userid:
  6147. description: 机构ID
  6148. type: integer
  6149. wrstandardcode:
  6150. description: 现货商品代码
  6151. type: string
  6152. wrstandardid:
  6153. description: 现货商品ID
  6154. type: integer
  6155. wrstandardname:
  6156. description: 现货商品名称
  6157. type: string
  6158. type: object
  6159. models.ErmcpSpotGoodsPrice:
  6160. properties:
  6161. areauserid:
  6162. description: 所属机构id
  6163. type: integer
  6164. brandname:
  6165. description: 品牌名称
  6166. type: string
  6167. currencyid:
  6168. description: 报价货币ID
  6169. type: integer
  6170. enumdicname:
  6171. description: 现货商品单位名称
  6172. type: string
  6173. gbenumdicname:
  6174. description: 品类单位名称
  6175. type: string
  6176. gmunitid:
  6177. description: 品类单位id
  6178. type: integer
  6179. isvalid:
  6180. description: 是否有效 - 0:无效 1:有效
  6181. type: integer
  6182. modelname:
  6183. description: 品类名称
  6184. type: string
  6185. operateid:
  6186. description: 最后操作人
  6187. type: integer
  6188. operatesrc:
  6189. description: 最后操作来源 - 1:管理端 2:终端
  6190. type: integer
  6191. operatetime:
  6192. description: 最后操作时间
  6193. type: string
  6194. operatorname:
  6195. description: 操作人名称
  6196. type: string
  6197. spotgoodsbrandid:
  6198. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  6199. type: integer
  6200. spotgoodsmodelid:
  6201. description: 现货品类ID(通用则为0)
  6202. type: integer
  6203. spotgoodsprice:
  6204. description: 现货价格
  6205. type: number
  6206. tradedate:
  6207. description: 交易日(yyyyMMdd)
  6208. type: string
  6209. unitid:
  6210. description: 现货商品单位id
  6211. type: integer
  6212. wrstandardcode:
  6213. description: 现货商品代码
  6214. type: string
  6215. wrstandardid:
  6216. description: 现货商品ID
  6217. type: integer
  6218. wrstandardname:
  6219. description: 现货商品名称
  6220. type: string
  6221. type: object
  6222. models.ErmcpSpotGoodsPriceLog:
  6223. properties:
  6224. areauserid:
  6225. description: 所属机构id
  6226. type: integer
  6227. brandname:
  6228. description: 品牌名称
  6229. type: string
  6230. currencyid:
  6231. description: 报价货币ID
  6232. type: integer
  6233. enumdicname:
  6234. description: 现货商品单位名称
  6235. type: string
  6236. gbenumdicname:
  6237. description: 品类单位名称
  6238. type: string
  6239. gmunitid:
  6240. description: 品类单位id
  6241. type: integer
  6242. logid:
  6243. description: 日志id
  6244. type: integer
  6245. modelname:
  6246. description: 品类名称
  6247. type: string
  6248. operateid:
  6249. description: 最后操作人
  6250. type: integer
  6251. operatesrc:
  6252. description: 最后操作来源 - 1:管理端 2:终端
  6253. type: integer
  6254. operatetime:
  6255. description: 最后操作时间
  6256. type: string
  6257. operatorname:
  6258. description: 操作人名称
  6259. type: string
  6260. spotgoodsbrandid:
  6261. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  6262. type: integer
  6263. spotgoodsmodelid:
  6264. description: 现货品类ID(通用则为0)
  6265. type: integer
  6266. spotgoodsprice:
  6267. description: 现货价格
  6268. type: number
  6269. tradedate:
  6270. description: 交易日(yyyyMMdd)
  6271. type: string
  6272. unitid:
  6273. description: 现货商品单位id
  6274. type: integer
  6275. wrstandardcode:
  6276. description: 现货商品代码
  6277. type: string
  6278. wrstandardid:
  6279. description: 现货商品ID
  6280. type: integer
  6281. wrstandardname:
  6282. description: 现货商品名称
  6283. type: string
  6284. type: object
  6285. models.ErmcpTaAccount:
  6286. properties:
  6287. accountid:
  6288. description: 账户id
  6289. type: integer
  6290. accountname:
  6291. description: 账户名称
  6292. type: string
  6293. currencyid:
  6294. description: 币种id
  6295. type: integer
  6296. ismain:
  6297. description: 是否主账户 0-否 1-是
  6298. type: integer
  6299. parentaccountid:
  6300. description: 父账户id
  6301. type: integer
  6302. relateduserid:
  6303. description: 关联userid
  6304. type: integer
  6305. tradestatus:
  6306. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  6307. type: integer
  6308. type: object
  6309. models.ErmcpTaAccountEx:
  6310. properties:
  6311. mainAcc:
  6312. $ref: '#/definitions/models.ErmcpTaAccount'
  6313. description: 主账号
  6314. type: object
  6315. subacclist:
  6316. description: 子账号列表
  6317. items:
  6318. $ref: '#/definitions/models.ErmcpTaAccount'
  6319. type: array
  6320. type: object
  6321. models.ErmcpTaAccountInfo:
  6322. properties:
  6323. accountid:
  6324. description: 资金账户ID
  6325. type: integer
  6326. accountname:
  6327. description: 账户名称
  6328. type: string
  6329. balance:
  6330. description: 期初余额
  6331. type: number
  6332. capitalbalance:
  6333. description: 本金余额[外部子账户实际出入金余额]
  6334. type: number
  6335. closepl:
  6336. description: 今日平仓盈亏
  6337. type: number
  6338. creditdecrease:
  6339. description: 今日授信减少
  6340. type: number
  6341. creditincrease:
  6342. description: 今日授信增加
  6343. type: number
  6344. curdebt:
  6345. description: 期末欠款
  6346. type: number
  6347. currencyid:
  6348. description: 货币ID
  6349. type: integer
  6350. currentbalance:
  6351. description: 期末余额
  6352. type: number
  6353. freezecharge:
  6354. description: 手续费冻结
  6355. type: number
  6356. freezemargin:
  6357. description: 冻结保证金
  6358. type: number
  6359. fromaccountid:
  6360. description: 所属上级账户
  6361. type: integer
  6362. inamount:
  6363. description: 今日入金金额(包括三方入金)
  6364. type: number
  6365. ismain:
  6366. description: 是否母账号 0:不是母账户 1:是母账户
  6367. type: integer
  6368. mortgagecredit:
  6369. description: 授信金额
  6370. type: number
  6371. oridebt:
  6372. description: 期初欠款
  6373. type: number
  6374. orifreezecharge:
  6375. description: 期初手续费冻结
  6376. type: number
  6377. orifreezemargin:
  6378. description: 期初冻结保证金
  6379. type: number
  6380. orimortgagecredit:
  6381. description: 期初授信金额
  6382. type: number
  6383. oriothercredit:
  6384. description: 期初其它授信金额
  6385. type: number
  6386. oriotherfreezemargin:
  6387. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  6388. type: number
  6389. orioutamountfreeze:
  6390. description: 期初出金冻结
  6391. type: number
  6392. oriusedmargin:
  6393. description: 期初占用保证金
  6394. type: number
  6395. othercredit:
  6396. description: 其它授信金额
  6397. type: number
  6398. othercreditdecrease:
  6399. description: 今日其它授信减少
  6400. type: number
  6401. othercreditincrease:
  6402. description: 今日其它授信增加
  6403. type: number
  6404. otherfreezemargin:
  6405. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  6406. type: number
  6407. outamount:
  6408. description: 今日出金金额(包括三方出金)
  6409. type: number
  6410. outamountfreeze:
  6411. description: 出金冻结
  6412. type: number
  6413. outthreshold:
  6414. description: 出金阈值
  6415. type: number
  6416. parentaccountid:
  6417. description: 所属根账号
  6418. type: integer
  6419. paycharge:
  6420. description: 今日手续费支出
  6421. type: number
  6422. relateduserid:
  6423. description: 关联用户
  6424. type: integer
  6425. signstatus:
  6426. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  6427. type: integer
  6428. sublevelpath:
  6429. description: 账号层级路径(逗号分隔,首尾加逗号)
  6430. type: string
  6431. taaccounttype:
  6432. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  6433. type: integer
  6434. thirdinamount:
  6435. description: 今日三方入金
  6436. type: number
  6437. thirdoutamount:
  6438. description: 今日三方出金
  6439. type: number
  6440. tradestatus:
  6441. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  6442. type: integer
  6443. transferamount:
  6444. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  6445. type: number
  6446. usedmargin:
  6447. description: 占用保证金
  6448. type: number
  6449. userid:
  6450. description: 用户ID
  6451. type: integer
  6452. type: object
  6453. models.ErmcpTradeConfigTMP:
  6454. properties:
  6455. areauserid:
  6456. description: 所属机构
  6457. type: integer
  6458. basiccurrencyid:
  6459. description: 基本币种ID[汇率] - 目标币种
  6460. type: integer
  6461. mainaccountid:
  6462. description: 主账户ID
  6463. type: integer
  6464. modifierid:
  6465. description: 修改人
  6466. type: integer
  6467. remark:
  6468. description: 备注
  6469. type: string
  6470. tradeconfigtmpid:
  6471. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  6472. type: integer
  6473. tradeconfigtmpname:
  6474. description: 交易配置模板名称
  6475. type: string
  6476. tradeconfigtmptype:
  6477. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  6478. type: integer
  6479. updatetime:
  6480. description: 更新时间
  6481. type: string
  6482. type: object
  6483. models.ErmcpUserModel:
  6484. properties:
  6485. address:
  6486. description: 通讯地址
  6487. type: string
  6488. attachment1:
  6489. description: 附件1
  6490. type: string
  6491. audittime:
  6492. description: 审核时间
  6493. type: string
  6494. cardfrontphotourl:
  6495. description: 证件正面图片地址
  6496. type: string
  6497. cardnum:
  6498. description: 证件号码
  6499. type: string
  6500. cardtype:
  6501. description: 证件类型
  6502. type: integer
  6503. cardtypename:
  6504. description: 证件类型名称
  6505. type: string
  6506. cityid:
  6507. description: 市
  6508. type: integer
  6509. countryid:
  6510. description: 国家
  6511. type: integer
  6512. createtime:
  6513. description: 创建时间
  6514. type: string
  6515. customername:
  6516. description: 企业名称
  6517. type: string
  6518. districtid:
  6519. description: 区域
  6520. type: integer
  6521. memberuserid:
  6522. description: 所属机构ID
  6523. type: integer
  6524. mobile:
  6525. description: 手机号码
  6526. type: string
  6527. modifytime:
  6528. description: 修改时间
  6529. type: string
  6530. nickname:
  6531. description: 昵称
  6532. type: string
  6533. provinceid:
  6534. description: 省
  6535. type: integer
  6536. remark:
  6537. description: 备注
  6538. type: string
  6539. status:
  6540. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  6541. type: integer
  6542. statusdesc:
  6543. description: 账户状态中文描述
  6544. type: string
  6545. telphone:
  6546. description: 联系电话
  6547. type: string
  6548. userid:
  6549. description: 用户ID
  6550. type: integer
  6551. userinfotype:
  6552. description: 客户类型
  6553. type: string
  6554. type: object
  6555. models.ErmcpWareHouseInfo:
  6556. properties:
  6557. address:
  6558. description: 详细地址
  6559. type: string
  6560. areauserid:
  6561. description: 所属机构
  6562. type: integer
  6563. autoid:
  6564. description: 自增ID(仓库ID)
  6565. type: integer
  6566. cityid:
  6567. description: 市
  6568. type: integer
  6569. contactname:
  6570. description: 联系人
  6571. type: string
  6572. contactnum:
  6573. description: 联系电话
  6574. type: string
  6575. countryid:
  6576. description: 国家
  6577. type: integer
  6578. createtime:
  6579. description: 创建时间
  6580. type: string
  6581. districtid:
  6582. description: 区
  6583. type: integer
  6584. hasvideo:
  6585. description: 是否有视频 - 0:无 1:有
  6586. type: integer
  6587. provinceid:
  6588. description: 省
  6589. type: integer
  6590. remark:
  6591. description: 审核备注
  6592. type: string
  6593. videourl:
  6594. description: 视频地址
  6595. type: string
  6596. warehousecode:
  6597. description: 仓库代码
  6598. type: string
  6599. warehousename:
  6600. description: 仓库名称
  6601. type: string
  6602. warehousestatus:
  6603. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  6604. type: integer
  6605. warehousetype:
  6606. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  6607. type: integer
  6608. type: object
  6609. models.ErmcpWrstandDetail:
  6610. properties:
  6611. gbList:
  6612. description: 品牌列表
  6613. items:
  6614. $ref: '#/definitions/models.GoodsBrand'
  6615. type: array
  6616. goodsList:
  6617. description: 关联交易商品列表
  6618. items:
  6619. $ref: '#/definitions/models.RelatedGoodsEx'
  6620. type: array
  6621. gtList:
  6622. description: 型号列表
  6623. items:
  6624. $ref: '#/definitions/models.GoodsTypeModel'
  6625. type: array
  6626. wrd:
  6627. $ref: '#/definitions/models.ErmcpWrstandard'
  6628. description: 基本信息
  6629. type: object
  6630. wrsList:
  6631. description: 套保信息列表
  6632. items:
  6633. $ref: '#/definitions/models.WRSConverTDetail'
  6634. type: array
  6635. type: object
  6636. models.ErmcpWrstandard:
  6637. properties:
  6638. areauserid:
  6639. description: 所属机构
  6640. type: integer
  6641. createtime:
  6642. description: 创建时间
  6643. type: string
  6644. creatorid:
  6645. description: 创建人
  6646. type: integer
  6647. deliverygoodsid:
  6648. description: 品种ID
  6649. type: integer
  6650. enumdicname:
  6651. description: 单位名称
  6652. type: string
  6653. isvalid:
  6654. description: 是否有效 0-无效(停用) 1-有效(正常)
  6655. type: integer
  6656. minivalue:
  6657. description: 最小变动值
  6658. type: integer
  6659. minivaluedp:
  6660. description: 最小变动值小数位
  6661. type: integer
  6662. realminivalue:
  6663. description: 实际最小变动值
  6664. type: integer
  6665. realminivaluedp:
  6666. description: 实际最小变动值小数位
  6667. type: integer
  6668. remark:
  6669. description: 备注
  6670. type: string
  6671. unitid:
  6672. description: 单位ID
  6673. type: integer
  6674. updatetime:
  6675. description: 更新时间
  6676. type: string
  6677. wrstandardcode:
  6678. description: 现货商品代码
  6679. type: string
  6680. wrstandardid:
  6681. description: 现货商品ID(SEQ_WRSTANDARD)
  6682. type: integer
  6683. wrstandardname:
  6684. description: 现货商品名称
  6685. type: string
  6686. type: object
  6687. models.Externalexchange:
  6688. properties:
  6689. autoid:
  6690. description: AutoID - SEQ_EXTERNALEXCHANGE
  6691. type: integer
  6692. exchangefullname:
  6693. description: 外部交易所全称
  6694. type: string
  6695. exexchangecode:
  6696. description: 外部交易所代码
  6697. type: string
  6698. exexchangename:
  6699. description: 外部交易所名称(简称)
  6700. type: string
  6701. ismarketprice:
  6702. description: 是否支持市价 - 0:不支持 1:支持
  6703. type: integer
  6704. quotegear:
  6705. description: 行情档位(1-10)
  6706. type: integer
  6707. showbrokerflag:
  6708. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  6709. type: integer
  6710. updatetime:
  6711. description: 更新时间
  6712. type: string
  6713. required:
  6714. - autoid
  6715. type: object
  6716. models.Funcmenulist:
  6717. properties:
  6718. iconame:
  6719. description: 菜单图标
  6720. type: string
  6721. menutype:
  6722. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  6723. type: integer
  6724. parentcode:
  6725. description: 上级资源代码
  6726. type: string
  6727. remark:
  6728. description: 备注
  6729. type: string
  6730. resourcecode:
  6731. description: 资源代码
  6732. type: string
  6733. resourcelevel:
  6734. description: 级别 1-一级 2-二级 3-三级 4-四级
  6735. type: integer
  6736. resourcename:
  6737. description: 资源名
  6738. type: string
  6739. sort:
  6740. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  6741. type: integer
  6742. url:
  6743. description: URL
  6744. type: string
  6745. required:
  6746. - resourcecode
  6747. type: object
  6748. models.Goods:
  6749. properties:
  6750. agreeunit:
  6751. description: 合约单位
  6752. type: number
  6753. auditaccountid:
  6754. description: 审核操作员账号
  6755. type: integer
  6756. audittime:
  6757. description: 审核时间
  6758. type: string
  6759. cancelaccountid:
  6760. description: 注销操作员账号
  6761. type: integer
  6762. canceltime:
  6763. description: 注销时间
  6764. type: string
  6765. closepricemode:
  6766. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  6767. type: integer
  6768. closepriceparam:
  6769. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  6770. type: number
  6771. createtime:
  6772. description: 创建时间
  6773. type: string
  6774. creatorid:
  6775. description: 创建人
  6776. type: integer
  6777. currencyid:
  6778. description: 报价货币ID
  6779. type: integer
  6780. cutmode:
  6781. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  6782. type: integer
  6783. decimalplace:
  6784. description: 报价小数位
  6785. type: integer
  6786. delistingdate:
  6787. description: 商品退市时间(状态:退市) -- 已作废
  6788. type: string
  6789. delistingmode:
  6790. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  6791. type: integer
  6792. deliveryflag:
  6793. description: 交割标志 - 0:不可交割 1:可交割
  6794. type: integer
  6795. forceclosemode:
  6796. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  6797. type: integer
  6798. forceclosevalue:
  6799. description: 定期强平参数 [收益权]
  6800. type: integer
  6801. goodscode:
  6802. description: 商品代码(内部)
  6803. type: string
  6804. goodscurrencyid:
  6805. description: 合约货币ID
  6806. type: integer
  6807. goodsgroupid:
  6808. description: 所属商品组ID
  6809. type: integer
  6810. goodsid:
  6811. description: 商品ID(自增ID SEQ_GOODS)
  6812. type: integer
  6813. goodsname:
  6814. description: 商品名称
  6815. type: string
  6816. goodsquotetype:
  6817. description: '合约报价类型: 1-直接报价 2-间接报价'
  6818. type: integer
  6819. goodsstatus:
  6820. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  6821. type: integer
  6822. goodstradetype:
  6823. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  6824. type: integer
  6825. goodunitid:
  6826. description: 报价单位ID
  6827. type: integer
  6828. hasquoter:
  6829. description: 是否有报价商 - 0:无报价商 1:有报价商
  6830. type: integer
  6831. hqprotecttime:
  6832. description: 行情保护时间(秒)
  6833. type: integer
  6834. innerdealmode:
  6835. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  6836. type: integer
  6837. isbuylimited:
  6838. description: 是否限制建仓量 - 0:不限制 1:限制
  6839. type: integer
  6840. lasttradedate:
  6841. description: 最后交易日期(状态:待退市)
  6842. type: string
  6843. listingdate:
  6844. description: 交易开始日期
  6845. type: string
  6846. marketid:
  6847. description: 所属市场ID
  6848. type: integer
  6849. modifierid:
  6850. description: 修改人
  6851. type: integer
  6852. modifystatus:
  6853. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  6854. type: integer
  6855. modifytime:
  6856. description: 修改时间
  6857. type: string
  6858. outerdealmode:
  6859. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  6860. type: integer
  6861. outgoodscode:
  6862. description: 商品代码(外部)
  6863. type: string
  6864. qtydecimalplace:
  6865. description: 成交量小数位
  6866. type: integer
  6867. quotegear:
  6868. description: 行情档位(1-10)
  6869. type: integer
  6870. quoteminunit:
  6871. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6872. type: integer
  6873. quoteshowtype:
  6874. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  6875. type: integer
  6876. quoteshowtypeinterval:
  6877. description: 行情报价间隔时间(秒)(成交价时为0)
  6878. type: integer
  6879. remark:
  6880. description: 备注
  6881. type: string
  6882. required:
  6883. - goodscode
  6884. - goodsid
  6885. - goodsname
  6886. - marketid
  6887. type: object
  6888. models.GoodsBrand:
  6889. properties:
  6890. brandid:
  6891. description: 品牌ID
  6892. type: integer
  6893. brandname:
  6894. description: 品牌名称
  6895. type: string
  6896. isvalid:
  6897. description: 是否有效 - 0:无效 1:有效
  6898. type: integer
  6899. type: object
  6900. models.GoodsIDAndName:
  6901. properties:
  6902. goodscode:
  6903. description: 商品代码(内部)
  6904. type: string
  6905. goodsid:
  6906. description: 商品ID(自增ID SEQ_GOODS)
  6907. type: integer
  6908. goodsname:
  6909. description: 商品名称
  6910. type: string
  6911. marketid:
  6912. description: 所属市场ID
  6913. type: integer
  6914. required:
  6915. - goodscode
  6916. - goodsid
  6917. - goodsname
  6918. - marketid
  6919. type: object
  6920. models.GoodsTypeModel:
  6921. properties:
  6922. convertfactor:
  6923. description: 标仓系数
  6924. type: number
  6925. modelid:
  6926. description: 型号ID
  6927. type: integer
  6928. modelname:
  6929. description: 型号名称
  6930. type: string
  6931. updatetime:
  6932. description: 更新时间
  6933. type: string
  6934. type: object
  6935. models.Goodsgroup:
  6936. properties:
  6937. agreeunit:
  6938. description: 合约单位
  6939. type: number
  6940. canshort:
  6941. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  6942. type: integer
  6943. closepricemode:
  6944. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  6945. type: integer
  6946. closepriceparam:
  6947. description: 强平最新价浮动比例 - 方式为2时使用
  6948. type: number
  6949. createtime:
  6950. description: 创建时间
  6951. type: string
  6952. creatorid:
  6953. description: 创建人
  6954. type: integer
  6955. currencyid:
  6956. description: 报价货币ID
  6957. type: integer
  6958. decimalplace:
  6959. description: 报价小数位
  6960. type: integer
  6961. exercisetype:
  6962. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  6963. type: integer
  6964. exexchangeid:
  6965. description: 外部交易所ID[通道交易]
  6966. type: integer
  6967. goodsgroupid:
  6968. description: 商品组ID(自增ID)
  6969. type: integer
  6970. goodsgroupname:
  6971. description: 商品组名称
  6972. type: string
  6973. goodsgroupstatus:
  6974. description: 商品组状态 - 1:正常 2:注销
  6975. type: integer
  6976. goodunitid:
  6977. description: 报价单位ID
  6978. type: integer
  6979. innerdealmode:
  6980. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  6981. type: integer
  6982. isbuylimited:
  6983. description: 是否限制建仓量 - 0:不限制 1:限制
  6984. type: integer
  6985. marketid:
  6986. description: 所属市场ID
  6987. type: integer
  6988. modifierid:
  6989. description: 修改人
  6990. type: integer
  6991. modifytime:
  6992. description: 修改时间
  6993. type: string
  6994. outerdealmode:
  6995. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  6996. type: integer
  6997. outergroupcode:
  6998. description: 外部商品组代码[通道交易]
  6999. type: string
  7000. premiumdecimalplace:
  7001. description: 权利金小数位[场外期权]
  7002. type: integer
  7003. premiumspreadalgorithm:
  7004. description: 权利金点差方式[场外期权] 1:比率 2:固定
  7005. type: integer
  7006. premiumspreadvalue:
  7007. description: 权利金点差值[场外期权]
  7008. type: number
  7009. qtydecimalplace:
  7010. description: 成交量小数位
  7011. type: integer
  7012. quotegear:
  7013. description: 行情档位(1-10)
  7014. type: integer
  7015. quoteminunit:
  7016. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7017. type: integer
  7018. quoterid:
  7019. description: 报价商ID[场外期权]
  7020. type: integer
  7021. quotesourcegroupid:
  7022. description: 所属行情源分组ID[参考行情市场用\通道交易]
  7023. type: integer
  7024. syncgoodsqty:
  7025. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  7026. type: integer
  7027. required:
  7028. - goodsgroupid
  7029. - goodsgroupname
  7030. - goodsgroupstatus
  7031. - marketid
  7032. type: object
  7033. models.Goodssortbypreposition:
  7034. properties:
  7035. goodscode:
  7036. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  7037. type: string
  7038. goodsgroupcode:
  7039. description: 品种代码
  7040. type: string
  7041. prepositionqty:
  7042. description: 昨持仓量
  7043. type: integer
  7044. sortindex:
  7045. description: 排序
  7046. type: integer
  7047. tradedate:
  7048. description: 交易日
  7049. type: string
  7050. updatetime:
  7051. description: 更新时间
  7052. type: string
  7053. required:
  7054. - goodscode
  7055. - tradedate
  7056. type: object
  7057. models.Hedgeinnerholderdetail:
  7058. properties:
  7059. accountid:
  7060. description: 账号ID
  7061. type: integer
  7062. buyorsell:
  7063. description: 方向 - 0:买 1:卖
  7064. type: integer
  7065. freezeqty:
  7066. description: 冻结数量 - 按单平使用
  7067. type: integer
  7068. goodsid:
  7069. description: 商品ID
  7070. type: integer
  7071. holderamount:
  7072. description: 持仓金额 [商品币种]
  7073. type: number
  7074. holderdays:
  7075. description: 剩余冻结天数
  7076. type: integer
  7077. holderprice:
  7078. description: 持仓价格
  7079. type: number
  7080. holderqty:
  7081. description: 持仓数量
  7082. type: integer
  7083. marketid:
  7084. description: 市场ID
  7085. type: integer
  7086. openprice:
  7087. description: 建仓价格
  7088. type: number
  7089. openqty:
  7090. description: 建仓数量
  7091. type: integer
  7092. parentaccountid:
  7093. description: 所属母账户
  7094. type: integer
  7095. releaseamount:
  7096. description: 释放持仓金额[商品币种]
  7097. type: number
  7098. tradeamount:
  7099. description: 成交金额[账户]
  7100. type: number
  7101. tradedate:
  7102. description: 交易日(yyyyMMdd)
  7103. type: string
  7104. tradeid:
  7105. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7106. type: string
  7107. tradetime:
  7108. description: 交易时间
  7109. type: string
  7110. required:
  7111. - buyorsell
  7112. - tradeid
  7113. type: object
  7114. models.Hedgeoutmainconfig:
  7115. properties:
  7116. accountcurrecnygroup:
  7117. description: 资金账户币种组 [易盛]
  7118. type: string
  7119. accountcurrency:
  7120. description: 资金账户基币 [易盛]
  7121. type: string
  7122. accountid:
  7123. description: 资金账号ID(母账号)
  7124. type: integer
  7125. appid:
  7126. description: AppID
  7127. type: string
  7128. authcode:
  7129. description: 授权码[易盛]
  7130. type: string
  7131. brokerid:
  7132. description: 经纪公司代码
  7133. type: string
  7134. channeladdress:
  7135. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  7136. type: string
  7137. channelid:
  7138. description: 对冲渠道ID
  7139. type: integer
  7140. connectflag:
  7141. description: 是否联接外部交易 - 0:不连接 1:连接
  7142. type: integer
  7143. exchangeratecurrencygroup:
  7144. description: 汇率币种组 [易盛]
  7145. type: string
  7146. fcid:
  7147. description: 期货公司ID
  7148. type: integer
  7149. fcname:
  7150. description: 期货公司名称
  7151. type: string
  7152. hedgeaccountcode:
  7153. description: 对冲账号ID
  7154. type: string
  7155. hedgeaccountpwd:
  7156. description: 对冲账号密码
  7157. type: string
  7158. hedgeaccounttype:
  7159. description: 母账号类型 - 1-交易下单 2-跟单
  7160. type: integer
  7161. limitnumber:
  7162. description: 挂单笔数限额
  7163. type: integer
  7164. marketid:
  7165. description: 内部市场ID(母账号的操作
  7166. type: integer
  7167. status:
  7168. description: 渠道账号状态 1-可买入可卖出 2-可卖出不可买入
  7169. type: integer
  7170. userproductinfo:
  7171. description: 客户端产品信息
  7172. type: string
  7173. required:
  7174. - accountid
  7175. type: object
  7176. models.HsbyBuyMyPayOrder:
  7177. properties:
  7178. agreeunit:
  7179. description: 合约单位
  7180. type: number
  7181. buyaccountid:
  7182. description: 买方账号ID[报价币种]
  7183. type: integer
  7184. buyorderid:
  7185. description: 买方委托单号
  7186. type: string
  7187. createtime:
  7188. description: 创建时间
  7189. type: string
  7190. currencysign:
  7191. description: 货币符号
  7192. type: string
  7193. decimalplace:
  7194. description: 报价小数位
  7195. type: integer
  7196. goodscode:
  7197. description: 商品代码(内部)
  7198. type: string
  7199. goodsid:
  7200. description: 商品ID
  7201. type: integer
  7202. goodsname:
  7203. description: 商品名称
  7204. type: string
  7205. marketid:
  7206. description: 市场ID
  7207. type: integer
  7208. offamount:
  7209. description: 优惠金额
  7210. type: number
  7211. originalamount:
  7212. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  7213. type: number
  7214. payamount:
  7215. description: 支付金额 = TradeAmount + TradeCharge
  7216. type: number
  7217. payflag:
  7218. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  7219. type: integer
  7220. paylimitedtime:
  7221. description: 支付期限
  7222. type: string
  7223. paytime:
  7224. description: 付款时间
  7225. type: string
  7226. picurls1:
  7227. description: 预售商品介绍图片[多张用逗号分隔]
  7228. type: string
  7229. picurls2:
  7230. description: 挂牌商品介绍图片[多张用逗号分隔]
  7231. type: string
  7232. sellaccountid:
  7233. description: 卖方账号ID[报价币种]
  7234. type: integer
  7235. sellorderid:
  7236. description: 卖方委托单号
  7237. type: string
  7238. tradeamount:
  7239. description: 成交金额
  7240. type: number
  7241. tradecharge:
  7242. description: 成交手续费(买方)
  7243. type: number
  7244. tradedate:
  7245. description: 交易日(yyyyMMdd)
  7246. type: string
  7247. tradeid:
  7248. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7249. type: string
  7250. trademode:
  7251. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7252. 21:竞拍-大宗式 22:受托竞价
  7253. type: integer
  7254. tradeprice:
  7255. description: 成交价格
  7256. type: number
  7257. tradeqty:
  7258. description: 成交数量
  7259. type: integer
  7260. vendorname1:
  7261. description: 预售商品供应商名称
  7262. type: string
  7263. vendorname2:
  7264. description: 挂牌商品供应商名称
  7265. type: string
  7266. required:
  7267. - goodscode
  7268. - goodsname
  7269. - tradeid
  7270. - trademode
  7271. type: object
  7272. models.HsbyBuyMyTradeDetail:
  7273. properties:
  7274. accountid:
  7275. description: 账户ID[报价币种]
  7276. type: integer
  7277. agreeunit:
  7278. description: 合约单位
  7279. type: number
  7280. amount:
  7281. description: 金额 = 价格 * 数量 * 合约单位
  7282. type: number
  7283. buyorsell:
  7284. description: 买卖 - 0:买 1:卖
  7285. type: integer
  7286. currencysign:
  7287. description: 货币符号
  7288. type: string
  7289. decimalplace:
  7290. description: 报价小数位
  7291. type: integer
  7292. goodscode:
  7293. description: 商品代码(内部)
  7294. type: string
  7295. goodsid:
  7296. description: 商品ID
  7297. type: integer
  7298. goodsname:
  7299. description: 商品名称
  7300. type: string
  7301. marketid:
  7302. description: 市场ID
  7303. type: integer
  7304. orderamount:
  7305. description: 委托金额
  7306. type: number
  7307. orderid:
  7308. description: 单号(成交单号)
  7309. type: string
  7310. picurls1:
  7311. description: 预售商品介绍图片[多张用逗号分隔]
  7312. type: string
  7313. picurls2:
  7314. description: 挂牌商品介绍图片[多张用逗号分隔]
  7315. type: string
  7316. price:
  7317. description: 价格
  7318. type: number
  7319. qty:
  7320. description: 数量
  7321. type: integer
  7322. time:
  7323. description: 时间
  7324. type: string
  7325. trademode:
  7326. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7327. 21:竞拍-大宗式 22:受托竞价
  7328. type: integer
  7329. vendorname1:
  7330. description: 预售商品供应商名称
  7331. type: string
  7332. vendorname2:
  7333. description: 挂牌商品供应商名称
  7334. type: string
  7335. required:
  7336. - accountid
  7337. - buyorsell
  7338. - goodscode
  7339. - goodsid
  7340. - goodsname
  7341. - marketid
  7342. - orderid
  7343. - qty
  7344. - time
  7345. - trademode
  7346. type: object
  7347. models.HsbyGoodsOrderDetail:
  7348. properties:
  7349. buyorsell:
  7350. description: 买卖 - 0:买 1:卖
  7351. type: integer
  7352. currencysign:
  7353. description: 货币符号
  7354. type: string
  7355. customername:
  7356. description: 客户名称(企业名称),已脱敏
  7357. type: string
  7358. enableqty:
  7359. description: 可用数量
  7360. type: integer
  7361. goodunit:
  7362. description: 报价单位
  7363. type: string
  7364. orderid:
  7365. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7366. type: string
  7367. orderprice:
  7368. description: 委托价格
  7369. type: number
  7370. ordertime:
  7371. description: 委托时间
  7372. type: string
  7373. required:
  7374. - buyorsell
  7375. - orderid
  7376. - ordertime
  7377. type: object
  7378. models.HsbyListingGoodsDetail:
  7379. properties:
  7380. agreeunit:
  7381. description: 合约单位
  7382. type: number
  7383. buymaxqty:
  7384. description: 购买上限 [71] - 0为不限
  7385. type: integer
  7386. currency:
  7387. description: 货币
  7388. type: string
  7389. currencysign:
  7390. description: 货币符号
  7391. type: string
  7392. decimalplace:
  7393. description: 报价小数位
  7394. type: integer
  7395. desccityid:
  7396. description: 目的地(市)ID
  7397. type: integer
  7398. descprovinceid:
  7399. description: 目的地(省)ID
  7400. type: integer
  7401. goodscode:
  7402. description: 商品代码(内部)
  7403. type: string
  7404. goodsdesc:
  7405. description: 商品详情
  7406. type: string
  7407. goodsid:
  7408. description: 商品ID(自增ID SEQ_GOODS)
  7409. type: integer
  7410. goodsname:
  7411. description: 商品名称
  7412. type: string
  7413. goodsprice:
  7414. description: 商品价格
  7415. type: number
  7416. hotindex:
  7417. description: 景点热度
  7418. type: integer
  7419. last:
  7420. description: 现价
  7421. type: number
  7422. limitdown:
  7423. description: 跌停价
  7424. type: number
  7425. limitup:
  7426. description: 涨停价
  7427. type: number
  7428. lotsize:
  7429. description: 手数最小变动单位
  7430. type: integer
  7431. marketid:
  7432. description: 所属市场ID
  7433. type: integer
  7434. picurls:
  7435. description: 介绍图片[多张用逗号分隔]
  7436. type: string
  7437. quoteminunit:
  7438. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7439. type: integer
  7440. stepvalue:
  7441. description: 价格最小变动单位
  7442. type: number
  7443. trademode:
  7444. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7445. 21:竞拍-大宗式 22:受托竞价
  7446. type: integer
  7447. vendorattr:
  7448. description: 供应商附件(多张,逗号分隔)
  7449. type: string
  7450. vendorname:
  7451. description: 供应商名称
  7452. type: string
  7453. vendorphone:
  7454. description: 供应商客服电话
  7455. type: string
  7456. videourls:
  7457. description: 介绍视频[多张用逗号分隔]
  7458. type: string
  7459. required:
  7460. - goodscode
  7461. - goodsid
  7462. - goodsname
  7463. - marketid
  7464. - trademode
  7465. type: object
  7466. models.HsbyMarketGoods:
  7467. properties:
  7468. accountid:
  7469. description: 账户ID[报价币种]
  7470. type: integer
  7471. agreeunit:
  7472. description: 合约单位
  7473. type: number
  7474. buyorsell:
  7475. description: 买卖 - 0:买 1:卖
  7476. type: integer
  7477. categoryid:
  7478. description: 类别ID(WRCATEGORY)
  7479. type: integer
  7480. currency:
  7481. description: 货币
  7482. type: string
  7483. currencysign:
  7484. description: 货币符号
  7485. type: string
  7486. customername:
  7487. description: 卖家名称
  7488. type: string
  7489. decimalplace:
  7490. description: 报价小数位
  7491. type: integer
  7492. goodscode:
  7493. description: 商品代码(内部)
  7494. type: string
  7495. goodsid:
  7496. description: 商品ID
  7497. type: integer
  7498. goodsname:
  7499. description: 商品名称
  7500. type: string
  7501. goodsprice:
  7502. description: 商品价格
  7503. type: number
  7504. hascoupon:
  7505. description: 是否可用优惠卷
  7506. type: boolean
  7507. hotindex:
  7508. description: 景点热度
  7509. type: integer
  7510. marketid:
  7511. description: 市场ID
  7512. type: integer
  7513. orderid:
  7514. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7515. type: string
  7516. orderprice:
  7517. description: 委托价格
  7518. type: number
  7519. orderstatus:
  7520. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  7521. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  7522. 16:成交失败违约(荷兰式竞拍专用)
  7523. type: integer
  7524. picurls:
  7525. description: 介绍图片[多张用逗号分隔]
  7526. type: string
  7527. quoteminunit:
  7528. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7529. type: integer
  7530. sellUserID:
  7531. description: 卖方UserID
  7532. type: integer
  7533. trademode:
  7534. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7535. 21:竞拍-大宗式 22:受托竞价
  7536. type: integer
  7537. videourls:
  7538. description: 介绍视频[多张用逗号分隔]
  7539. type: string
  7540. required:
  7541. - accountid
  7542. - buyorsell
  7543. - goodscode
  7544. - goodsid
  7545. - goodsname
  7546. - marketid
  7547. - orderid
  7548. - trademode
  7549. type: object
  7550. models.HsbyMarketGoodsDetail:
  7551. properties:
  7552. accountid:
  7553. description: 账户ID[报价币种]
  7554. type: integer
  7555. agreeunit:
  7556. description: 合约单位
  7557. type: number
  7558. buymaxqty:
  7559. description: 购买上限 [71] - 0为不限
  7560. type: integer
  7561. buyorsell:
  7562. description: 买卖 - 0:买 1:卖
  7563. type: integer
  7564. cancelqty:
  7565. description: 撤单数量
  7566. type: integer
  7567. categoryid:
  7568. description: 类别ID(WRCATEGORY)
  7569. type: integer
  7570. currency:
  7571. description: 货币
  7572. type: string
  7573. currencysign:
  7574. description: 货币符号
  7575. type: string
  7576. customername:
  7577. description: 卖家名称
  7578. type: string
  7579. decimalplace:
  7580. description: 报价小数位
  7581. type: integer
  7582. goodscode:
  7583. description: 商品代码(内部)
  7584. type: string
  7585. goodsdesc:
  7586. description: 商品详情
  7587. type: string
  7588. goodsid:
  7589. description: 商品ID
  7590. type: integer
  7591. goodsname:
  7592. description: 商品名称
  7593. type: string
  7594. goodsprice:
  7595. description: 商品价格
  7596. type: number
  7597. hotindex:
  7598. description: 景点热度
  7599. type: integer
  7600. lotsize:
  7601. description: 手数最小变动单位
  7602. type: integer
  7603. marketid:
  7604. description: 市场ID
  7605. type: integer
  7606. orderid:
  7607. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7608. type: string
  7609. orderprice:
  7610. description: 委托价格
  7611. type: number
  7612. orderqty:
  7613. description: 委托数量
  7614. type: integer
  7615. orderstatus:
  7616. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  7617. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  7618. 16:成交失败违约(荷兰式竞拍专用)
  7619. type: integer
  7620. picurls:
  7621. description: 介绍图片[多张用逗号分隔]
  7622. type: string
  7623. quoteminunit:
  7624. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7625. type: integer
  7626. sellUserID:
  7627. description: 卖方UserID
  7628. type: integer
  7629. trademode:
  7630. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7631. 21:竞拍-大宗式 22:受托竞价
  7632. type: integer
  7633. tradeqty:
  7634. description: 成交数量
  7635. type: integer
  7636. vendorattr:
  7637. description: 供应商附件(多张,逗号分隔)
  7638. type: string
  7639. vendorname:
  7640. description: 供应商名称
  7641. type: string
  7642. vendorphone:
  7643. description: 供应商客服电话
  7644. type: string
  7645. videourls:
  7646. description: 介绍视频[多张用逗号分隔]
  7647. type: string
  7648. required:
  7649. - accountid
  7650. - buyorsell
  7651. - goodscode
  7652. - goodsid
  7653. - goodsname
  7654. - marketid
  7655. - orderid
  7656. - orderqty
  7657. - trademode
  7658. type: object
  7659. models.HsbyMarketInfo:
  7660. properties:
  7661. marketid:
  7662. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  7663. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  7664. type: integer
  7665. marketname:
  7666. description: 市场名称
  7667. type: string
  7668. marketstatus:
  7669. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  7670. type: integer
  7671. trademode:
  7672. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7673. 21:竞拍-大宗式 22:受托竞价
  7674. type: integer
  7675. required:
  7676. - marketid
  7677. - marketstatus
  7678. - trademode
  7679. type: object
  7680. models.HsbyMyGoods:
  7681. properties:
  7682. accountid:
  7683. description: 账号Id
  7684. type: integer
  7685. agreeunit:
  7686. description: 合约单位
  7687. type: number
  7688. buyaverageprice:
  7689. description: 持仓均价
  7690. type: number
  7691. buycurholderamount:
  7692. description: 买当前持仓总金额[商品币种]
  7693. type: number
  7694. buycurpositionqty:
  7695. description: 买当前持仓总数量
  7696. type: integer
  7697. buymaxqty:
  7698. description: 购买上限 [71] - 0为不限
  7699. type: integer
  7700. currencysign:
  7701. description: 货币符号
  7702. type: string
  7703. decimalplace:
  7704. description: 报价小数位
  7705. type: integer
  7706. enableqty:
  7707. description: 可用数量
  7708. type: integer
  7709. goodscode:
  7710. description: 商品代码(内部)
  7711. type: string
  7712. goodsid:
  7713. description: 商品Id
  7714. type: integer
  7715. goodsname:
  7716. description: 商品名称
  7717. type: string
  7718. goodsprice:
  7719. description: 商品价格
  7720. type: number
  7721. goodsstatus:
  7722. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  7723. type: integer
  7724. last:
  7725. description: 现价(仅使用于挂牌点选)
  7726. type: number
  7727. limitdown:
  7728. description: 跌停价(仅使用于挂牌点选)
  7729. type: number
  7730. limitup:
  7731. description: 涨停价(仅使用于挂牌点选)
  7732. type: number
  7733. lotsize:
  7734. description: 手数最小变动单位
  7735. type: integer
  7736. marketid:
  7737. description: 所属市场ID
  7738. type: integer
  7739. picurls:
  7740. description: 介绍图片[多张用逗号分隔]
  7741. type: string
  7742. quoteminunit:
  7743. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7744. type: integer
  7745. stepvalue:
  7746. description: 价格最小变动单位
  7747. type: number
  7748. trademode:
  7749. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7750. 21:竞拍-大宗式 22:受托竞价
  7751. type: integer
  7752. required:
  7753. - accountid
  7754. - goodscode
  7755. - goodsid
  7756. - goodsname
  7757. - marketid
  7758. - trademode
  7759. type: object
  7760. models.HsbyMyPackage:
  7761. properties:
  7762. accountid:
  7763. description: 账户ID
  7764. type: integer
  7765. address:
  7766. description: 提货人详细地址
  7767. type: string
  7768. agreeunit:
  7769. description: 合约单位
  7770. type: number
  7771. amount:
  7772. description: 提货金额
  7773. type: number
  7774. auditer:
  7775. description: 审核人
  7776. type: integer
  7777. audittime:
  7778. description: 审核时间
  7779. type: string
  7780. averageprice:
  7781. description: 均价
  7782. type: number
  7783. cardnum:
  7784. description: 提货人证件号码
  7785. type: string
  7786. cardtypeid:
  7787. description: 提货人证件类型
  7788. type: integer
  7789. checkremark:
  7790. description: 审核备注
  7791. type: string
  7792. currencysign:
  7793. description: 货币符号
  7794. type: string
  7795. decimalplace:
  7796. description: 报价小数位
  7797. type: integer
  7798. goodscode:
  7799. description: 商品代码(内部)
  7800. type: string
  7801. goodsid:
  7802. description: 商品ID
  7803. type: integer
  7804. goodsname:
  7805. description: 商品名称
  7806. type: string
  7807. handlestatus:
  7808. description: 处理状态
  7809. type: integer
  7810. marketid:
  7811. description: 市场ID
  7812. type: integer
  7813. phonenum:
  7814. description: 提货人联系方式
  7815. type: string
  7816. picurls:
  7817. description: 介绍图片[多张用逗号分隔]
  7818. type: string
  7819. qty:
  7820. description: 提货数量
  7821. type: number
  7822. recivername:
  7823. description: 提货人姓名
  7824. type: string
  7825. reqtime:
  7826. description: 更新时间
  7827. type: string
  7828. takemode:
  7829. description: 提货方式 - 2:自提 3:配送
  7830. type: integer
  7831. takeorderid:
  7832. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  7833. type: string
  7834. takeorderstatus:
  7835. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  7836. type: integer
  7837. takeremark:
  7838. description: 提货备注
  7839. type: string
  7840. tradedate:
  7841. description: 交易日(yyyyMMdd)
  7842. type: string
  7843. trademode:
  7844. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7845. 21:竞拍-大宗式 22:受托竞价
  7846. type: integer
  7847. userid:
  7848. description: 用户ID
  7849. type: integer
  7850. vendorname:
  7851. description: 供应商名称
  7852. type: string
  7853. required:
  7854. - goodscode
  7855. - goodsname
  7856. - takeorderid
  7857. - trademode
  7858. type: object
  7859. models.HsbyPreGoods:
  7860. properties:
  7861. agreeunit:
  7862. description: 合约单位
  7863. type: number
  7864. currency:
  7865. description: 货币
  7866. type: string
  7867. currencysign:
  7868. description: 货币符号
  7869. type: string
  7870. decimalplace:
  7871. description: 报价小数位
  7872. type: integer
  7873. desccityid:
  7874. description: 目的地(市)
  7875. type: integer
  7876. descprovinceid:
  7877. description: 目的地(省)
  7878. type: integer
  7879. enableqty:
  7880. description: 剩余数量
  7881. type: integer
  7882. goodscode:
  7883. description: 商品代码(内部)
  7884. type: string
  7885. goodsid:
  7886. description: 商品ID(自增ID SEQ_GOODS)
  7887. type: integer
  7888. goodsname:
  7889. description: 商品名称
  7890. type: string
  7891. goodsstatus:
  7892. description: 商品状态- 2:未上市 3:上市
  7893. type: integer
  7894. lasttradedate:
  7895. description: 最后交易日期(状态:待退市)
  7896. type: string
  7897. listingdate:
  7898. description: 交易开始日期
  7899. type: string
  7900. marketid:
  7901. description: 所属市场ID
  7902. type: integer
  7903. picurls:
  7904. description: 介绍图片[多张用逗号分隔]
  7905. type: string
  7906. presaledqty:
  7907. description: 已预售量(预售结束时更新)
  7908. type: integer
  7909. presaleqty:
  7910. description: 预售数量
  7911. type: integer
  7912. quoteminunit:
  7913. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7914. type: integer
  7915. refprice:
  7916. description: 参考价格[一口价]
  7917. type: number
  7918. relatedgoodsid:
  7919. description: 关联交易合约ID
  7920. type: integer
  7921. trademode:
  7922. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7923. 21:竞拍-大宗式 22:受托竞价
  7924. type: integer
  7925. videourls:
  7926. description: 介绍视频[多张用逗号分隔]
  7927. type: string
  7928. required:
  7929. - goodscode
  7930. - goodsid
  7931. - goodsname
  7932. - marketid
  7933. - trademode
  7934. type: object
  7935. models.HsbyPreGoodsDetail:
  7936. properties:
  7937. agreeunit:
  7938. description: 合约单位
  7939. type: number
  7940. buymaxqty:
  7941. description: 购买上限 [71] - 0为不限
  7942. type: integer
  7943. currency:
  7944. description: 货币
  7945. type: string
  7946. currencysign:
  7947. description: 货币符号
  7948. type: string
  7949. customername:
  7950. description: 发行单位
  7951. type: string
  7952. decimalplace:
  7953. description: 报价小数位
  7954. type: integer
  7955. desccityid:
  7956. description: 目的地(市)ID
  7957. type: integer
  7958. descprovinceid:
  7959. description: 目的地(省)ID
  7960. type: integer
  7961. enableqty:
  7962. description: 剩余数量
  7963. type: integer
  7964. goodscode:
  7965. description: 商品代码(内部)
  7966. type: string
  7967. goodsdesc:
  7968. description: 商品详情
  7969. type: string
  7970. goodsid:
  7971. description: 商品ID(自增ID SEQ_GOODS)
  7972. type: integer
  7973. goodsname:
  7974. description: 商品名称
  7975. type: string
  7976. goodsstatus:
  7977. description: 商品状态- 2:未上市 3:上市
  7978. type: integer
  7979. goodunit:
  7980. description: 报价单位
  7981. type: string
  7982. lasttradedate:
  7983. description: 最后交易日期(状态:待退市)
  7984. type: string
  7985. listingdate:
  7986. description: 交易开始日期
  7987. type: string
  7988. lotsize:
  7989. description: 手数最小变动单位
  7990. type: integer
  7991. marketid:
  7992. description: 所属市场ID
  7993. type: integer
  7994. picurls:
  7995. description: 介绍图片[多张用逗号分隔]
  7996. type: string
  7997. presaledqty:
  7998. description: 已预售量(预售结束时更新)
  7999. type: integer
  8000. presaleqty:
  8001. description: 预售数量
  8002. type: integer
  8003. quoteminunit:
  8004. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8005. type: integer
  8006. refprice:
  8007. description: 参考价格[一口价]
  8008. type: number
  8009. relatedgoodsid:
  8010. description: 关联交易合约ID
  8011. type: integer
  8012. stepvalue:
  8013. description: 价格最小变动单位
  8014. type: number
  8015. trademode:
  8016. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8017. 21:竞拍-大宗式 22:受托竞价
  8018. type: integer
  8019. vendorattr:
  8020. description: 供应商附件(多张,逗号分隔)
  8021. type: string
  8022. vendorname:
  8023. description: 供应商名称
  8024. type: string
  8025. vendorphone:
  8026. description: 供应商客服电话
  8027. type: string
  8028. videourls:
  8029. description: 介绍视频[多张用逗号分隔]
  8030. type: string
  8031. required:
  8032. - goodscode
  8033. - goodsid
  8034. - goodsname
  8035. - marketid
  8036. - trademode
  8037. type: object
  8038. models.HsbySellCollectionOrder:
  8039. properties:
  8040. agreeunit:
  8041. description: 合约单位
  8042. type: number
  8043. buyaccountid:
  8044. description: 买方账号ID[报价币种]
  8045. type: integer
  8046. buyorderid:
  8047. description: 买方委托单号
  8048. type: string
  8049. createtime:
  8050. description: 创建时间
  8051. type: string
  8052. currencysign:
  8053. description: 货币符号
  8054. type: string
  8055. decimalplace:
  8056. description: 报价小数位
  8057. type: integer
  8058. goodscode:
  8059. description: 商品代码(内部)
  8060. type: string
  8061. goodsid:
  8062. description: 商品ID
  8063. type: integer
  8064. goodsname:
  8065. description: 商品名称
  8066. type: string
  8067. marketid:
  8068. description: 市场ID
  8069. type: integer
  8070. offamount:
  8071. description: 优惠金额
  8072. type: number
  8073. payamount:
  8074. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  8075. type: number
  8076. payflag:
  8077. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  8078. type: integer
  8079. paylimitedtime:
  8080. description: 支付期限
  8081. type: string
  8082. paytime:
  8083. description: 付款时间
  8084. type: string
  8085. picurls:
  8086. description: 商品介绍图片[多张用逗号分隔]
  8087. type: string
  8088. sellaccountid:
  8089. description: 卖方账号ID[报价币种]
  8090. type: integer
  8091. sellorderid:
  8092. description: 卖方委托单号
  8093. type: string
  8094. tradeamount:
  8095. description: 成交金额
  8096. type: number
  8097. tradecharge:
  8098. description: 成交手续费(买方)
  8099. type: number
  8100. tradedate:
  8101. description: 交易日(yyyyMMdd)
  8102. type: string
  8103. tradeid:
  8104. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8105. type: string
  8106. trademode:
  8107. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8108. 21:竞拍-大宗式 22:受托竞价
  8109. type: integer
  8110. tradeprice:
  8111. description: 成交价格
  8112. type: number
  8113. tradeqty:
  8114. description: 成交数量
  8115. type: integer
  8116. required:
  8117. - goodscode
  8118. - goodsname
  8119. - tradeid
  8120. - trademode
  8121. type: object
  8122. models.HsbySellMyDetail:
  8123. properties:
  8124. accountid:
  8125. description: 账户ID[报价币种]
  8126. type: integer
  8127. agreeunit:
  8128. description: 合约单位
  8129. type: number
  8130. buyorsell:
  8131. description: 买卖 - 0:买 1:卖
  8132. type: integer
  8133. currencysign:
  8134. description: 货币符号
  8135. type: string
  8136. decimalplace:
  8137. description: 报价小数位
  8138. type: integer
  8139. goodscode:
  8140. description: 商品代码(内部)
  8141. type: string
  8142. goodsid:
  8143. description: 商品ID
  8144. type: integer
  8145. goodsname:
  8146. description: 商品名称
  8147. type: string
  8148. marketid:
  8149. description: 市场ID
  8150. type: integer
  8151. orderid:
  8152. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  8153. type: string
  8154. ordertype:
  8155. description: 单据类型:0 - 发布中, 1 - 已完成
  8156. type: integer
  8157. picurls:
  8158. description: 介绍图片[多张用逗号分隔]
  8159. type: string
  8160. price:
  8161. description: 价格
  8162. type: number
  8163. qty:
  8164. description: 数量
  8165. type: integer
  8166. time:
  8167. description: 时间
  8168. type: string
  8169. trademode:
  8170. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8171. 21:竞拍-大宗式 22:受托竞价
  8172. type: integer
  8173. vendorname:
  8174. description: 供应商名称
  8175. type: string
  8176. required:
  8177. - accountid
  8178. - buyorsell
  8179. - goodscode
  8180. - goodsid
  8181. - goodsname
  8182. - marketid
  8183. - orderid
  8184. - time
  8185. - trademode
  8186. type: object
  8187. models.HsbyTopGoods:
  8188. properties:
  8189. agreeunit:
  8190. description: 合约单位
  8191. type: number
  8192. currency:
  8193. description: 货币
  8194. type: string
  8195. currencysign:
  8196. description: 货币符号
  8197. type: string
  8198. decimalplace:
  8199. description: 报价小数位
  8200. type: integer
  8201. desccityid:
  8202. description: 目的地(市)
  8203. type: integer
  8204. descprovinceid:
  8205. description: 目的地(省)
  8206. type: integer
  8207. goodscode:
  8208. description: 商品代码(内部)
  8209. type: string
  8210. goodsid:
  8211. description: 商品ID(自增ID SEQ_GOODS)
  8212. type: integer
  8213. goodsname:
  8214. description: 商品名称
  8215. type: string
  8216. hotindex:
  8217. description: 景点热度
  8218. type: integer
  8219. last:
  8220. description: 现价
  8221. type: number
  8222. marketid:
  8223. description: 所属市场ID
  8224. type: integer
  8225. picurls:
  8226. description: 介绍图片[多张用逗号分隔]
  8227. type: string
  8228. quoteminunit:
  8229. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8230. type: integer
  8231. trademode:
  8232. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8233. 21:竞拍-大宗式 22:受托竞价
  8234. type: integer
  8235. videourls:
  8236. description: 介绍视频[多张用逗号分隔]
  8237. type: string
  8238. required:
  8239. - goodscode
  8240. - goodsid
  8241. - goodsname
  8242. - marketid
  8243. - trademode
  8244. type: object
  8245. models.HybsMyBuyOrderDetail:
  8246. properties:
  8247. accountid:
  8248. description: 账户ID[报价币种]
  8249. type: integer
  8250. agreeunit:
  8251. description: 合约单位
  8252. type: number
  8253. buyorsell:
  8254. description: 买卖 - 0:买 1:卖
  8255. type: integer
  8256. cancelqty:
  8257. description: 撤单数量
  8258. type: integer
  8259. currencysign:
  8260. description: 货币符号
  8261. type: string
  8262. decimalplace:
  8263. description: 报价小数位
  8264. type: integer
  8265. goodscode:
  8266. description: 商品代码(内部)
  8267. type: string
  8268. goodsid:
  8269. description: 商品ID
  8270. type: integer
  8271. goodsname:
  8272. description: 商品名称
  8273. type: string
  8274. listingselecttype:
  8275. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  8276. type: integer
  8277. marketid:
  8278. description: 市场ID
  8279. type: integer
  8280. mybuystatus:
  8281. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  8282. type: integer
  8283. orderamount:
  8284. description: 委托金额
  8285. type: number
  8286. orderid:
  8287. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8288. type: string
  8289. orderprice:
  8290. description: 委托价格
  8291. type: number
  8292. orderqty:
  8293. description: 委托数量
  8294. type: integer
  8295. orderstatus:
  8296. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8297. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8298. 16:成交失败违约(荷兰式竞拍专用)
  8299. type: integer
  8300. ordertime:
  8301. description: 委托时间
  8302. type: string
  8303. picurls1:
  8304. description: 预售商品介绍图片[多张用逗号分隔]
  8305. type: string
  8306. picurls2:
  8307. description: 挂牌商品介绍图片[多张用逗号分隔]
  8308. type: string
  8309. trademode:
  8310. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8311. 21:竞拍-大宗式 22:受托竞价
  8312. type: integer
  8313. tradeqty:
  8314. description: 成交数量
  8315. type: integer
  8316. vendorname1:
  8317. description: 预售商品供应商名称
  8318. type: string
  8319. vendorname2:
  8320. description: 挂牌商品供应商名称
  8321. type: string
  8322. required:
  8323. - accountid
  8324. - buyorsell
  8325. - goodscode
  8326. - goodsid
  8327. - goodsname
  8328. - marketid
  8329. - orderid
  8330. - orderqty
  8331. - ordertime
  8332. - trademode
  8333. type: object
  8334. models.Loginaccount:
  8335. properties:
  8336. canoutin:
  8337. description: 是否可出入金 - 0:不可 1:可
  8338. type: integer
  8339. clientroleid:
  8340. description: 终端角色ID
  8341. type: integer
  8342. haslogined:
  8343. description: 是否已登录 - 0:未登录 1:已登录
  8344. type: integer
  8345. hasupdatedpwd:
  8346. description: 是否已更改密码 - 0:未修改 1:已修改
  8347. type: integer
  8348. lastloginip:
  8349. description: 最新登录地址
  8350. type: string
  8351. lastloginmode:
  8352. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  8353. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  8354. type: integer
  8355. lastloginremark:
  8356. description: 最新登录描述
  8357. type: string
  8358. lastlogintime:
  8359. description: 最新登录时间
  8360. type: string
  8361. logincode:
  8362. description: 登录代码
  8363. type: string
  8364. loginfailnum:
  8365. description: 连续登录失败次数(登录成功时清零)
  8366. type: integer
  8367. loginid:
  8368. description: 登陆账号
  8369. type: integer
  8370. loginport:
  8371. description: 最新登录端口
  8372. type: integer
  8373. loginstatus:
  8374. description: 登录账号状态 1:正常 2:冻结 3:无效
  8375. type: integer
  8376. loginusertype:
  8377. description: 登录账号类型 - 1:投资者 2:机构交易员
  8378. type: integer
  8379. modifierid:
  8380. description: 修改人
  8381. type: integer
  8382. modifytime:
  8383. description: 修改时间
  8384. type: string
  8385. pwdwrongcount:
  8386. description: 密码错误次数
  8387. type: integer
  8388. taaccountrighttype:
  8389. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  8390. type: integer
  8391. unfreezetime:
  8392. description: 账户解冻时间
  8393. type: string
  8394. userid:
  8395. description: 用户ID
  8396. type: integer
  8397. required:
  8398. - loginid
  8399. type: object
  8400. models.MainAccountInfo:
  8401. properties:
  8402. accountid:
  8403. description: 账号id
  8404. type: string
  8405. appid:
  8406. description: AppID
  8407. type: string
  8408. authcode:
  8409. description: 授权码
  8410. type: string
  8411. brokerid:
  8412. description: 经纪商id
  8413. type: string
  8414. fcid:
  8415. description: 期货公司id
  8416. type: integer
  8417. fcname:
  8418. description: 期货公司代码
  8419. type: string
  8420. hedgeaccountcode:
  8421. description: 外部账号代码
  8422. type: string
  8423. hedgeaccountpwd:
  8424. description: 密码
  8425. type: string
  8426. ismain:
  8427. description: 是否主账号
  8428. type: integer
  8429. relateduserid:
  8430. description: 关联用户id
  8431. type: integer
  8432. type: object
  8433. models.Market:
  8434. properties:
  8435. auctionwrtype:
  8436. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  8437. type: integer
  8438. canacceptquote:
  8439. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  8440. type: integer
  8441. cangoodsexercise:
  8442. description: '[期权]是否可现货行权- 0:否 1:是'
  8443. type: integer
  8444. cangoodsexercisetype:
  8445. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  8446. type: integer
  8447. canmanualquotestrike:
  8448. description: 是否可手动报行权价- 0:否 1:是 [期权]
  8449. type: integer
  8450. canmutistage:
  8451. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  8452. type: integer
  8453. canpreexercise:
  8454. description: '[期权]是否可预申报- 0:否 1:是'
  8455. type: integer
  8456. clearinterval:
  8457. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  8458. type: integer
  8459. contracttmp:
  8460. description: 合同模板[荷兰式][竞价式][仓单贸易]
  8461. type: string
  8462. exchareaid:
  8463. description: 所属交易所,可以没有
  8464. type: integer
  8465. goodstype:
  8466. description: 商品类型 - 1:交易商品 2:仓单商品
  8467. type: integer
  8468. hasrebate:
  8469. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  8470. type: integer
  8471. hastradecredit:
  8472. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  8473. type: integer
  8474. haswr:
  8475. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  8476. type: integer
  8477. isdeductmargin:
  8478. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  8479. type: integer
  8480. isrecordsource:
  8481. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  8482. type: integer
  8483. isreleasemargin:
  8484. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  8485. type: integer
  8486. marginformula:
  8487. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  8488. type: integer
  8489. marginformula2:
  8490. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  8491. type: integer
  8492. marketid:
  8493. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  8494. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  8495. type: integer
  8496. marketname:
  8497. description: 市场名称
  8498. type: string
  8499. marketserviceid:
  8500. description: 市场服务ID
  8501. type: integer
  8502. marketstatus:
  8503. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  8504. type: integer
  8505. markettype:
  8506. description: 市场类型- 1:非交易服务 2:交易服务
  8507. type: integer
  8508. matchermode:
  8509. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  8510. type: integer
  8511. openmethod:
  8512. description: 开盘模式 - 0 自动 1手动
  8513. type: integer
  8514. otcuserid:
  8515. description: 场外期权做市商[场外期权]
  8516. type: integer
  8517. outersynctime:
  8518. description: 外部同步时间点(h24:mi:ss)[场外期权]
  8519. type: string
  8520. pendingflag:
  8521. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  8522. type: integer
  8523. pendingtime:
  8524. description: 待开市时间[通道交易-对冲](HH:mm)
  8525. type: string
  8526. performancetempid:
  8527. description: 履约计划模板ID - 作废
  8528. type: integer
  8529. premiumquotemode:
  8530. description: 权利金报价方式 - 1:自动 2:手动
  8531. type: integer
  8532. rebateratio:
  8533. description: 返利比率[竞价式]
  8534. type: number
  8535. reckonorder:
  8536. description: 结算顺序
  8537. type: integer
  8538. reckonpricealgorithm:
  8539. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  8540. 6.卖一价 7.买一卖一均价 8.外部结算价'
  8541. type: integer
  8542. reckonpriceparam:
  8543. description: 结算价参数
  8544. type: integer
  8545. reckontime:
  8546. description: 结算时间[通道交易-对冲](HH:mm)
  8547. type: string
  8548. roleprioritytype:
  8549. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  8550. type: integer
  8551. selllistingauditflag:
  8552. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  8553. type: integer
  8554. trademarkettype:
  8555. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  8556. type: integer
  8557. trademode:
  8558. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8559. 21:竞拍-大宗式 22:受托竞价
  8560. type: integer
  8561. tradeproperty:
  8562. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  8563. 8:场外期权
  8564. type: integer
  8565. tradetype:
  8566. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  8567. type: integer
  8568. required:
  8569. - marketid
  8570. - marketstatus
  8571. - openmethod
  8572. - reckonpricealgorithm
  8573. - trademode
  8574. - tradeproperty
  8575. type: object
  8576. models.Marketrun:
  8577. properties:
  8578. afternexttradedate:
  8579. description: 下下交易日
  8580. type: string
  8581. clearquoteflag:
  8582. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  8583. type: integer
  8584. lastreckondate:
  8585. description: 最新交易日(结算成功)
  8586. type: string
  8587. machinedate:
  8588. description: 机器时间
  8589. type: string
  8590. manualflag:
  8591. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  8592. type: integer
  8593. marketid:
  8594. description: 市场ID
  8595. type: integer
  8596. nexttradedate:
  8597. description: 下一交易日
  8598. type: string
  8599. pretradedate:
  8600. description: 上一交易日
  8601. type: string
  8602. reckonflag:
  8603. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  8604. type: integer
  8605. runstatus:
  8606. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  8607. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  8608. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  8609. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  8610. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  8611. 62.今日免清算
  8612. type: integer
  8613. sectionid:
  8614. description: 时间段号[多时段时用]
  8615. type: integer
  8616. tradedate:
  8617. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  8618. type: string
  8619. tradedate2:
  8620. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  8621. type: string
  8622. updatetime:
  8623. description: 更新时间
  8624. type: string
  8625. required:
  8626. - marketid
  8627. - nexttradedate
  8628. - reckonflag
  8629. - runstatus
  8630. - tradedate
  8631. - tradedate2
  8632. type: object
  8633. models.Messageboard:
  8634. properties:
  8635. contactnum:
  8636. description: 联系电话
  8637. type: string
  8638. createtime:
  8639. description: 创建时间
  8640. type: string
  8641. message:
  8642. description: 留言信息
  8643. type: string
  8644. messageboardid:
  8645. description: 留言簿ID(SEQ_MessageBoard)
  8646. type: integer
  8647. userid:
  8648. description: 用户ID
  8649. type: integer
  8650. required:
  8651. - messageboardid
  8652. type: object
  8653. models.MyCoupon:
  8654. properties:
  8655. accountid:
  8656. description: 资金账户ID
  8657. type: integer
  8658. areauserid:
  8659. description: 所属机构
  8660. type: integer
  8661. conditionvalue:
  8662. description: 条件阈值(可为0)
  8663. type: number
  8664. couponcategroy:
  8665. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  8666. type: integer
  8667. couponname:
  8668. description: 优惠券名称
  8669. type: string
  8670. coupontypeid:
  8671. description: 优惠券类型ID
  8672. type: string
  8673. couponvalue:
  8674. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  8675. type: number
  8676. curfreezeqty:
  8677. description: 期末冻结数量
  8678. type: integer
  8679. curqty:
  8680. description: 期末数量
  8681. type: integer
  8682. isgeneral:
  8683. description: 是否通用券 - 0:否 1:是
  8684. type: integer
  8685. isunusable:
  8686. description: 是否不可用
  8687. type: boolean
  8688. limitedflag:
  8689. description: 是否指定商品 - 0:不限 1:限制
  8690. type: integer
  8691. limitedgoodsids:
  8692. description: 指定商品IDs[逗号分隔,前后加逗号]
  8693. type: string
  8694. orifreezeqty:
  8695. description: 期初冻结数量
  8696. type: integer
  8697. oriqty:
  8698. description: 期初数量
  8699. type: integer
  8700. reasontype:
  8701. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  8702. type: integer
  8703. todaydecrease:
  8704. description: 今日减少
  8705. type: integer
  8706. todayincrease:
  8707. description: 今日增加
  8708. type: integer
  8709. userid:
  8710. description: 用户ID
  8711. type: integer
  8712. userscope:
  8713. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  8714. type: string
  8715. required:
  8716. - accountid
  8717. - coupontypeid
  8718. type: object
  8719. models.MyCouponHold:
  8720. properties:
  8721. accountid:
  8722. description: 资金账户ID
  8723. type: integer
  8724. conditionvalue:
  8725. description: 条件阈值(可为0)
  8726. type: number
  8727. couponcategroy:
  8728. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  8729. type: integer
  8730. couponholdid:
  8731. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  8732. type: string
  8733. couponname:
  8734. description: 优惠券名称
  8735. type: string
  8736. coupontypeid:
  8737. description: 优惠券类型ID - SEQ_COUPONTYPE
  8738. type: string
  8739. couponvalue:
  8740. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  8741. type: number
  8742. createtime:
  8743. description: 创建时间
  8744. type: string
  8745. enddate:
  8746. description: 结束日期
  8747. type: string
  8748. giveapplyid:
  8749. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  8750. type: integer
  8751. holdstatus:
  8752. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  8753. type: integer
  8754. isgeneral:
  8755. description: 是否通用券 - 0:否 1:是
  8756. type: integer
  8757. limitedflag:
  8758. description: 是否指定商品 - 0:不限 1:限制
  8759. type: integer
  8760. limitedgoodsids:
  8761. description: 指定商品IDs[逗号分隔]
  8762. type: string
  8763. qty:
  8764. description: 数量(按1平铺)
  8765. type: integer
  8766. startdate:
  8767. description: 开始日期
  8768. type: string
  8769. userid:
  8770. description: 用户ID
  8771. type: integer
  8772. userscope:
  8773. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  8774. type: string
  8775. required:
  8776. - couponholdid
  8777. type: object
  8778. models.MyUsedCoupon:
  8779. properties:
  8780. accountid:
  8781. description: 资金账户ID(买方)
  8782. type: integer
  8783. conditionvalue:
  8784. description: 条件阈值(可为0)
  8785. type: number
  8786. couponcategroy:
  8787. description: 种类 - 1:现金券 2:折扣券
  8788. type: integer
  8789. couponname:
  8790. description: 优惠券名称
  8791. type: string
  8792. coupontypeid:
  8793. description: 优惠券类型ID(买方)
  8794. type: string
  8795. couponvalue:
  8796. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  8797. type: number
  8798. createtime:
  8799. description: 创建时间
  8800. type: string
  8801. goodsid:
  8802. description: 商品ID
  8803. type: integer
  8804. handlestatus:
  8805. description: 处理状态
  8806. type: integer
  8807. marketid:
  8808. description: 市场ID
  8809. type: integer
  8810. offamount:
  8811. description: 优惠金额
  8812. type: number
  8813. orderid:
  8814. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8815. type: string
  8816. sellaccountid:
  8817. description: 资金账户ID(卖方)
  8818. type: integer
  8819. tradeamount:
  8820. description: 成交金额
  8821. type: number
  8822. tradeid:
  8823. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8824. type: string
  8825. usedqty:
  8826. description: 使用数量
  8827. type: integer
  8828. required:
  8829. - coupontypeid
  8830. - orderid
  8831. type: object
  8832. models.OperationPrimaryMenu:
  8833. properties:
  8834. Children:
  8835. description: 二级功能菜单
  8836. items:
  8837. $ref: '#/definitions/models.OperationSecondaryMenu'
  8838. type: array
  8839. Key:
  8840. description: 菜单KEY
  8841. type: string
  8842. Label:
  8843. description: 菜单标题
  8844. type: string
  8845. type: object
  8846. models.OperationSecondaryMenu:
  8847. properties:
  8848. Key:
  8849. description: 菜单KEY
  8850. type: string
  8851. Label:
  8852. description: 菜单标题
  8853. type: string
  8854. TabList:
  8855. description: 三级功能菜单
  8856. items:
  8857. $ref: '#/definitions/models.OperationTabMenu'
  8858. type: array
  8859. type: object
  8860. models.OperationTabMenu:
  8861. properties:
  8862. Key:
  8863. description: 菜单KEY
  8864. type: string
  8865. Label:
  8866. description: 菜单标题
  8867. type: string
  8868. type: object
  8869. models.PendingAuditBizModel:
  8870. properties:
  8871. accountid:
  8872. description: 现货账户
  8873. type: string
  8874. areaname:
  8875. description: 所属部门
  8876. type: string
  8877. bizid:
  8878. description: 业务ID
  8879. type: string
  8880. bizname:
  8881. description: 业务名称
  8882. type: string
  8883. status:
  8884. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  8885. type: integer
  8886. type:
  8887. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  8888. type: integer
  8889. type: object
  8890. models.QueryErrorInfosRsp:
  8891. properties:
  8892. description:
  8893. description: 异常描述
  8894. type: string
  8895. errorcode:
  8896. description: 异常代码
  8897. type: string
  8898. errorid:
  8899. description: 异常ID
  8900. type: integer
  8901. modulecode:
  8902. description: 所属模块
  8903. type: string
  8904. operatecode:
  8905. description: 所属操作
  8906. type: string
  8907. rownumber:
  8908. description: 行号
  8909. type: string
  8910. required:
  8911. - errorid
  8912. type: object
  8913. models.QueryHedgeOrderDetailRsp:
  8914. properties:
  8915. accountid:
  8916. description: 账户ID
  8917. type: integer
  8918. buyorsell:
  8919. description: 买卖 - 0:买 1:卖
  8920. type: integer
  8921. cancellogincode:
  8922. description: 撤单人
  8923. type: string
  8924. channelbuildtype:
  8925. description: 开平标志 - 0:无 1:建仓 2:平仓
  8926. type: integer
  8927. channelinnerorderstatus:
  8928. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  8929. 9:全部成交
  8930. type: integer
  8931. channeloperatetype:
  8932. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  8933. type: integer
  8934. closetype:
  8935. description: 平仓方式 - 0:无 1:平今 2:平昨
  8936. type: integer
  8937. curexchangerate:
  8938. description: 当前汇率
  8939. type: number
  8940. exchangefullname:
  8941. description: 外部交易所全称
  8942. type: string
  8943. goodscode:
  8944. description: 商品代码(内部)
  8945. type: string
  8946. goodsid:
  8947. description: 商品ID
  8948. type: integer
  8949. goodsname:
  8950. description: 商品名称
  8951. type: string
  8952. marketid:
  8953. description: 市场ID
  8954. type: integer
  8955. openfreezemargin:
  8956. description: 冻结保证金(冻结交易金额)
  8957. type: number
  8958. orderid:
  8959. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8960. type: string
  8961. orderlogincode:
  8962. description: 委托人
  8963. type: string
  8964. orderprice:
  8965. description: 委托价格(账户)
  8966. type: number
  8967. orderqty:
  8968. description: 委托数量
  8969. type: integer
  8970. ordertime:
  8971. description: 委托时间
  8972. type: string
  8973. pricemode:
  8974. description: '取价方式 - 1:市价 2: 限价'
  8975. type: integer
  8976. tradedate:
  8977. description: 交易日(yyyyMMdd)
  8978. type: string
  8979. tradeqty:
  8980. description: 成交数量
  8981. type: integer
  8982. type: object
  8983. models.QueryHedgeTradeDetailRsp:
  8984. properties:
  8985. accountid:
  8986. description: 账号ID
  8987. type: integer
  8988. buyorsell:
  8989. description: 方向 - 0:买 1:卖
  8990. type: integer
  8991. channelbuildtype:
  8992. description: 委托单据类型 0:无 1:建仓 2:平仓
  8993. type: integer
  8994. closecharge:
  8995. description: 平仓手续费(账户)
  8996. type: number
  8997. closecharge2:
  8998. description: 平仓手续费(商品)
  8999. type: number
  9000. closepl:
  9001. description: 平仓盈亏(账户)
  9002. type: number
  9003. closepl2:
  9004. description: 平仓盈亏(商品)
  9005. type: number
  9006. closepl3:
  9007. description: 平仓盈亏(账户)(逐笔)
  9008. type: number
  9009. closepl4:
  9010. description: 平仓盈亏(商品)(逐笔)
  9011. type: number
  9012. closetype:
  9013. description: 平仓方式 - 0:无 1:平今 2:平昨
  9014. type: integer
  9015. curexchangerate:
  9016. description: 当前汇率
  9017. type: number
  9018. exchangefullname:
  9019. description: 外部交易所全称
  9020. type: string
  9021. goodscode:
  9022. description: 商品代码(内部)
  9023. type: string
  9024. goodsid:
  9025. description: 商品ID
  9026. type: integer
  9027. goodsname:
  9028. description: 商品名称
  9029. type: string
  9030. marketid:
  9031. description: 市场ID
  9032. type: integer
  9033. opencharge:
  9034. description: 建仓手续费(账户)
  9035. type: number
  9036. opencharge2:
  9037. description: 建仓手续费(商品)
  9038. type: number
  9039. orderid:
  9040. description: 委托单号
  9041. type: string
  9042. orderlogincode:
  9043. description: 委托人
  9044. type: string
  9045. tradeamount:
  9046. description: 成交金额(账户)
  9047. type: number
  9048. tradedate:
  9049. description: 交易日(yyyyMMdd)
  9050. type: string
  9051. tradeid:
  9052. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9053. type: string
  9054. tradeprice:
  9055. description: 成交价格
  9056. type: number
  9057. tradeqty:
  9058. description: 成交数量
  9059. type: integer
  9060. tradetime:
  9061. description: 成交时间
  9062. type: string
  9063. tradetype:
  9064. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  9065. type: integer
  9066. type: object
  9067. models.QuotePrimaryMenu:
  9068. properties:
  9069. Index:
  9070. description: 序号
  9071. type: integer
  9072. Key:
  9073. description: 键名
  9074. type: string
  9075. Name:
  9076. description: 菜单名称
  9077. type: string
  9078. SubMenus:
  9079. description: 子菜单
  9080. items:
  9081. $ref: '#/definitions/models.QuoteSecondaryMenu'
  9082. type: array
  9083. SubTitleType:
  9084. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  9085. type: integer
  9086. TradeModes:
  9087. description: 包含市场交易类型
  9088. type: string
  9089. type: object
  9090. models.QuoteSecondaryMenu:
  9091. properties:
  9092. ExExchangeCode:
  9093. description: 外部交易所代码
  9094. type: string
  9095. ExExchangeID:
  9096. description: 外部交易所ID
  9097. type: integer
  9098. GoodsGroupIDs:
  9099. description: 商品组ID列表
  9100. items:
  9101. type: integer
  9102. type: array
  9103. Index:
  9104. description: 序号
  9105. type: integer
  9106. MarketID:
  9107. description: 市场ID
  9108. type: integer
  9109. MenuTitle:
  9110. description: 菜单标题(市场名称或外部交易所名称)
  9111. type: string
  9112. TradeMode:
  9113. description: 交易模式
  9114. type: integer
  9115. type: object
  9116. models.RelatedGoodsEx:
  9117. properties:
  9118. goodscode:
  9119. description: 商品代码
  9120. type: string
  9121. goodsid:
  9122. description: 商品id
  9123. type: integer
  9124. goodsname:
  9125. description: 商品名称
  9126. type: string
  9127. type: object
  9128. models.SearchGoods:
  9129. properties:
  9130. goodscode:
  9131. description: 商品代码(内部)
  9132. type: string
  9133. goodsid:
  9134. description: 商品ID(自增ID SEQ_GOODS)
  9135. type: integer
  9136. goodsname:
  9137. description: 商品名称
  9138. type: string
  9139. marketid:
  9140. description: 所属市场ID
  9141. type: integer
  9142. marketname:
  9143. description: 市场名称
  9144. type: string
  9145. trademode:
  9146. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9147. 21:竞拍-大宗式 22:受托竞价
  9148. type: integer
  9149. required:
  9150. - goodscode
  9151. - goodsid
  9152. - goodsname
  9153. - marketid
  9154. - trademode
  9155. type: object
  9156. models.Systemparam:
  9157. properties:
  9158. loginid:
  9159. description: 更新用户账号,登录账号
  9160. type: string
  9161. modifyflag:
  9162. description: 修改标志0 不允许修改 1 允许修改
  9163. type: integer
  9164. paramcode:
  9165. description: 参数代码
  9166. type: string
  9167. paramname:
  9168. description: 参数名
  9169. type: string
  9170. paramtype:
  9171. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  9172. type: integer
  9173. paramvalue:
  9174. description: 参数值
  9175. type: string
  9176. paramvalue2:
  9177. description: 参数值(CLOB)
  9178. type: string
  9179. regexpress:
  9180. description: 正则表达式
  9181. type: string
  9182. remark:
  9183. description: 备注
  9184. type: string
  9185. serverip:
  9186. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  9187. type: string
  9188. showflag:
  9189. description: 是否显示0 不显示 1 显示
  9190. type: integer
  9191. updatetime:
  9192. description: 更新时间
  9193. type: string
  9194. userid:
  9195. description: 更新用户ID
  9196. type: integer
  9197. required:
  9198. - paramcode
  9199. type: object
  9200. models.Szdz3convertconfig:
  9201. properties:
  9202. canin:
  9203. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  9204. type: integer
  9205. canout:
  9206. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  9207. type: integer
  9208. converttype:
  9209. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  9210. 6:交易转花生米(不设置)
  9211. type: integer
  9212. createtime:
  9213. description: 创建时间
  9214. type: string
  9215. creatorid:
  9216. description: 创建人
  9217. type: integer
  9218. daymaxvalue:
  9219. description: 当日最大转入限制
  9220. type: number
  9221. freezedays:
  9222. description: 冻结天数 [5:花生米转交易]
  9223. type: integer
  9224. innergoodsid:
  9225. description: 内部商品ID[交易]
  9226. type: integer
  9227. inratio:
  9228. description: 目标值
  9229. type: integer
  9230. modifierid:
  9231. description: 修改人
  9232. type: integer
  9233. modifytime:
  9234. description: 修改时间
  9235. type: string
  9236. outergoodscode:
  9237. description: 外部商品代码[JD\PD]
  9238. type: string
  9239. outratio:
  9240. description: 源值
  9241. type: integer
  9242. pddecimalplace:
  9243. description: PD小数位
  9244. type: integer
  9245. timemaxvalue:
  9246. description: 单次最大转入限制
  9247. type: number
  9248. timeminvalue:
  9249. description: 单次最小转入限制
  9250. type: number
  9251. required:
  9252. - converttype
  9253. - innergoodsid
  9254. - outergoodscode
  9255. type: object
  9256. models.Szdz3searchwhitelist:
  9257. properties:
  9258. createtime:
  9259. description: 创建时间
  9260. type: string
  9261. creatorid:
  9262. description: 创建人
  9263. type: integer
  9264. modifierid:
  9265. description: 修改人
  9266. type: integer
  9267. modifytime:
  9268. description: 修改时间
  9269. type: string
  9270. userid:
  9271. description: 用户ID
  9272. type: integer
  9273. required:
  9274. - userid
  9275. type: object
  9276. models.Taaccount:
  9277. properties:
  9278. accountflag:
  9279. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  9280. type: integer
  9281. accountid:
  9282. description: 资金账户ID
  9283. type: integer
  9284. accountname:
  9285. description: 账户名称
  9286. type: string
  9287. balance:
  9288. description: 期初余额
  9289. type: number
  9290. capitalbalance:
  9291. description: 本金余额[外部子账户实际出入金余额]
  9292. type: number
  9293. changeflag:
  9294. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  9295. type: integer
  9296. changetime:
  9297. description: 账户状态变更时间
  9298. type: string
  9299. closepl:
  9300. description: 今日平仓盈亏
  9301. type: number
  9302. creditdecrease:
  9303. description: 今日授信减少
  9304. type: number
  9305. creditincrease:
  9306. description: 今日授信增加
  9307. type: number
  9308. currencyid:
  9309. description: 货币ID
  9310. type: integer
  9311. currentbalance:
  9312. description: 期末余额
  9313. type: number
  9314. freezecharge:
  9315. description: 手续费冻结
  9316. type: number
  9317. freezemargin:
  9318. description: 冻结保证金
  9319. type: number
  9320. fromaccountid:
  9321. description: 所属上级账户
  9322. type: integer
  9323. inamount:
  9324. description: 今日入金金额(包括三方入金)
  9325. type: number
  9326. ismain:
  9327. description: 是否母账号 0:不是母账户 1:是母账户
  9328. type: integer
  9329. ismarketaccount:
  9330. description: 是否机构接单账号 0:不是 1:是
  9331. type: integer
  9332. isreckonaccount:
  9333. description: 是否机构分润账号 0:不是 1:是
  9334. type: integer
  9335. mortgagecredit:
  9336. description: 授信金额
  9337. type: number
  9338. orifreezecharge:
  9339. description: 期初手续费冻结
  9340. type: number
  9341. orifreezemargin:
  9342. description: 期初冻结保证金
  9343. type: number
  9344. orimortgagecredit:
  9345. description: 期初授信金额
  9346. type: number
  9347. oriothercredit:
  9348. description: 期初其它授信金额
  9349. type: number
  9350. oriotherfreezemargin:
  9351. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  9352. type: number
  9353. orioutamountfreeze:
  9354. description: 期初出金冻结
  9355. type: number
  9356. oriusedmargin:
  9357. description: 期初占用保证金
  9358. type: number
  9359. othercredit:
  9360. description: 其它授信金额
  9361. type: number
  9362. othercreditdecrease:
  9363. description: 今日其它授信减少
  9364. type: number
  9365. othercreditincrease:
  9366. description: 今日其它授信增加
  9367. type: number
  9368. otherfreezemargin:
  9369. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  9370. type: number
  9371. otherincome:
  9372. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  9373. type: number
  9374. otherpay:
  9375. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  9376. type: number
  9377. outamount:
  9378. description: 今日出金金额(包括三方出金)
  9379. type: number
  9380. outamountfreeze:
  9381. description: 出金冻结
  9382. type: number
  9383. outthreshold:
  9384. description: 出金阈值
  9385. type: number
  9386. parentaccountid:
  9387. description: 所属根账号
  9388. type: integer
  9389. paycharge:
  9390. description: 今日手续费支出
  9391. type: number
  9392. relatedaccountstatus:
  9393. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  9394. type: integer
  9395. relateduserid:
  9396. description: 关联用户
  9397. type: integer
  9398. serivcegroup:
  9399. description: 服务分组
  9400. type: integer
  9401. signstatus:
  9402. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  9403. type: integer
  9404. sublevelpath:
  9405. description: 账号层级路径(逗号分隔,首尾加逗号)
  9406. type: string
  9407. taaccounttype:
  9408. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  9409. type: integer
  9410. thirdinamount:
  9411. description: 今日三方入金
  9412. type: number
  9413. thirdoutamount:
  9414. description: 今日三方出金
  9415. type: number
  9416. tradestatus:
  9417. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9418. type: integer
  9419. tradestatuschangetime:
  9420. description: 激活时间
  9421. type: string
  9422. transferamount:
  9423. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  9424. type: number
  9425. usedmargin:
  9426. description: 占用保证金
  9427. type: number
  9428. userid:
  9429. description: 用户ID
  9430. type: integer
  9431. required:
  9432. - accountid
  9433. - userid
  9434. type: object
  9435. models.Tablecolumnconfig:
  9436. properties:
  9437. aligntype:
  9438. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  9439. type: integer
  9440. autoid:
  9441. description: AutoID
  9442. type: integer
  9443. columnfield:
  9444. description: 列字段
  9445. type: string
  9446. columntitle:
  9447. description: 列Title
  9448. type: string
  9449. columnwidth:
  9450. description: 列宽
  9451. type: string
  9452. formatterstring:
  9453. description: 格式化字符
  9454. type: string
  9455. formattertype:
  9456. description: 格式化类型
  9457. type: string
  9458. groupname:
  9459. description: 表头分组名称
  9460. type: string
  9461. isshow:
  9462. description: 是否显示 - 0:不显示 1:显示
  9463. type: integer
  9464. needsummary:
  9465. description: 是否需要汇总 - 0:不需要 1:需要
  9466. type: integer
  9467. orderindex:
  9468. description: 顺序
  9469. type: integer
  9470. remark:
  9471. description: 备注
  9472. type: string
  9473. summarytype:
  9474. description: 汇总类型 - 1:加总 2:最后一个
  9475. type: integer
  9476. tablekey:
  9477. description: 列表Key
  9478. type: string
  9479. required:
  9480. - autoid
  9481. type: object
  9482. models.Useraccount:
  9483. properties:
  9484. accountname:
  9485. description: 账户名称(机构名称)
  9486. type: string
  9487. accountstatus:
  9488. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  9489. type: integer
  9490. auditremark:
  9491. description: 审核备注
  9492. type: string
  9493. audittime:
  9494. description: 审核时间
  9495. type: string
  9496. audituserid:
  9497. description: 审核人
  9498. type: integer
  9499. broker:
  9500. description: 所属经纪人ID
  9501. type: integer
  9502. canceltime:
  9503. description: 销户时间
  9504. type: string
  9505. canceluserid:
  9506. description: 销户人
  9507. type: integer
  9508. createtime:
  9509. description: 创建时间
  9510. type: string
  9511. creatorid:
  9512. description: 创建人
  9513. type: integer
  9514. hasauth:
  9515. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  9516. type: integer
  9517. isanonymous:
  9518. description: 是否匿名下单 - 0:否 1:是
  9519. type: integer
  9520. maxinvestornum:
  9521. description: 最大用户数(经纪会员下投资者个数)
  9522. type: integer
  9523. memberuserid:
  9524. description: 所属会员ID
  9525. type: integer
  9526. modifierid:
  9527. description: 修改人
  9528. type: integer
  9529. modifyremark:
  9530. description: 变更备注
  9531. type: string
  9532. modifystatus:
  9533. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  9534. type: integer
  9535. modifytime:
  9536. description: 修改时间
  9537. type: string
  9538. parentuserid:
  9539. description: 所属机构ID
  9540. type: integer
  9541. reckonaccountid:
  9542. description: 默认结算资金账号ID(机构分润使用) 作废
  9543. type: integer
  9544. refercount:
  9545. description: 推荐总人数
  9546. type: integer
  9547. refereeuserid:
  9548. description: 推荐人ID
  9549. type: integer
  9550. refernum:
  9551. description: 推荐码
  9552. type: string
  9553. subarealevelpath:
  9554. description: 子机构层级路径(逗号分隔,首尾加逗号)
  9555. type: string
  9556. userid:
  9557. description: 用户ID
  9558. type: integer
  9559. usertype:
  9560. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  9561. type: integer
  9562. required:
  9563. - userid
  9564. type: object
  9565. models.Userfavoritegoods:
  9566. properties:
  9567. goodsid:
  9568. description: 商品ID
  9569. type: integer
  9570. required:
  9571. - goodsid
  9572. type: object
  9573. models.Userinfo:
  9574. properties:
  9575. address:
  9576. description: 地址
  9577. type: string
  9578. attachment1:
  9579. description: 附件1
  9580. type: string
  9581. attachment2:
  9582. description: 附件2
  9583. type: string
  9584. bankaccount:
  9585. description: 银行帐号 (加密存储)
  9586. type: string
  9587. bankaccountname:
  9588. description: 收款人名称
  9589. type: string
  9590. bankcardfrontphotourl:
  9591. description: 银行卡正面照地址
  9592. type: string
  9593. bankid:
  9594. description: 银行编码
  9595. type: string
  9596. bankname:
  9597. description: 银行名称
  9598. type: string
  9599. biznature:
  9600. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  9601. type: integer
  9602. bizscope:
  9603. description: 企业经营范围(企业)
  9604. type: string
  9605. cardbackphotourl:
  9606. description: 证件背面图片地址
  9607. type: string
  9608. cardfrontphotourl:
  9609. description: 证件正面图片地址
  9610. type: string
  9611. cardnum:
  9612. description: 证件号码(加密存储)
  9613. type: string
  9614. cardtypeid:
  9615. description: 证件类型ID
  9616. type: integer
  9617. cityid:
  9618. description: 市
  9619. type: integer
  9620. company:
  9621. description: 公司(个人)
  9622. type: string
  9623. contactname:
  9624. description: 联系人
  9625. type: string
  9626. countryid:
  9627. description: 国家
  9628. type: integer
  9629. createtime:
  9630. description: 创建时间
  9631. type: string
  9632. creatorid:
  9633. description: 创建人
  9634. type: integer
  9635. customername:
  9636. description: 客户名称(企业名称)
  9637. type: string
  9638. districtid:
  9639. description: 地区
  9640. type: integer
  9641. email:
  9642. description: 邮件(加密存储)
  9643. type: string
  9644. fax:
  9645. description: 传真(加密存储)
  9646. type: string
  9647. halfbodyphotourl:
  9648. description: 半身照地址
  9649. type: string
  9650. hasencrypt:
  9651. description: 数据是否已加密 - 0:未加密 1:已加密
  9652. type: integer
  9653. headurl:
  9654. description: 头像地址
  9655. type: string
  9656. legalcardbackphotourl:
  9657. description: 法人身份证背面照地址
  9658. type: string
  9659. legalcardfrontphotourl:
  9660. description: 法人身份证正面照地址
  9661. type: string
  9662. legalpersonname:
  9663. description: 法人姓名(企业)
  9664. type: string
  9665. mobile:
  9666. description: 手机号码(加密存储)
  9667. type: string
  9668. mobile2:
  9669. description: 手机号码[明文-尚志]
  9670. type: string
  9671. modifierid:
  9672. description: 修改人
  9673. type: integer
  9674. modifiertime:
  9675. description: 修改时间
  9676. type: string
  9677. needinvoice:
  9678. description: 是否需要发票 - 0:不需要 1:需要
  9679. type: integer
  9680. nickname:
  9681. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  9682. type: string
  9683. openmode:
  9684. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  9685. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  9686. type: integer
  9687. otherurl:
  9688. description: 其它图片地址[使用分号分隔]
  9689. type: string
  9690. postalcode:
  9691. description: 邮政编码
  9692. type: string
  9693. provinceid:
  9694. description: 省
  9695. type: integer
  9696. qq:
  9697. description: QQ(加密存储
  9698. type: string
  9699. remark:
  9700. description: 备注
  9701. type: string
  9702. sex:
  9703. description: '用户性别 0: 女 1: 男'
  9704. type: integer
  9705. signpdfurl:
  9706. description: 签约pdf文件
  9707. type: string
  9708. telphone:
  9709. description: 联系电话(加密存储)
  9710. type: string
  9711. userid:
  9712. description: 用户ID
  9713. type: integer
  9714. userinfotype:
  9715. description: 用户信息类型 - 1:个人 2:企业
  9716. type: integer
  9717. userstatus:
  9718. description: 用户状态 - 1:正常 2:注销
  9719. type: integer
  9720. usertype:
  9721. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  9722. type: integer
  9723. wechat:
  9724. description: 微信(加密存储)
  9725. type: string
  9726. wskhinfo:
  9727. description: 开户申请信息(JSON)
  9728. type: string
  9729. required:
  9730. - userid
  9731. type: object
  9732. models.WRSConverTDetail:
  9733. properties:
  9734. convertratio:
  9735. description: 套保系数
  9736. type: number
  9737. deliverygoodscode:
  9738. description: 现货商品代码
  9739. type: string
  9740. deliverygoodsid:
  9741. description: 现货品种ID
  9742. type: integer
  9743. deliverygoodsname:
  9744. description: 现货商品名称
  9745. type: string
  9746. enumdicname:
  9747. description: 单位名称
  9748. type: string
  9749. goodsunitid:
  9750. description: 套保品种单位id
  9751. type: integer
  9752. middlegoodscode:
  9753. description: 套保品种代码
  9754. type: string
  9755. middlegoodsid:
  9756. description: 套保品种ID
  9757. type: integer
  9758. middlegoodsname:
  9759. description: 套保品种名称
  9760. type: string
  9761. modifytime:
  9762. description: 修改时间
  9763. type: string
  9764. wrstandardid:
  9765. description: 品类ID
  9766. type: integer
  9767. type: object
  9768. models.WRStandardInfo:
  9769. properties:
  9770. areauserid:
  9771. description: 所属机构
  9772. type: integer
  9773. convertfactor:
  9774. description: 标仓系数
  9775. type: number
  9776. createtime:
  9777. description: 创建时间
  9778. type: string
  9779. creatorid:
  9780. description: 创建人
  9781. type: integer
  9782. deliverygoodsid:
  9783. description: 品种ID
  9784. type: integer
  9785. deliverygoodsname:
  9786. description: 交割商品名称
  9787. type: string
  9788. factoryitemjson:
  9789. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  9790. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  9791. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  9792. 逗号分隔'
  9793. type: string
  9794. isvalid:
  9795. description: 是否有效 - 0:无效 1:有效
  9796. type: integer
  9797. minivalue:
  9798. description: 最小变动值
  9799. type: integer
  9800. minivaluedp:
  9801. description: 最小变动值小数位
  9802. type: integer
  9803. realminivalue:
  9804. description: 实际最小变动值
  9805. type: integer
  9806. realminivaluedp:
  9807. description: 实际最小变动值小数位
  9808. type: integer
  9809. remark:
  9810. description: 备注
  9811. type: string
  9812. unitid:
  9813. description: 单位ID
  9814. type: integer
  9815. unitname:
  9816. description: 单位
  9817. type: string
  9818. updatetime:
  9819. description: 更新时间
  9820. type: string
  9821. updatorid:
  9822. description: 更新人
  9823. type: integer
  9824. wrsstatus:
  9825. description: 状态 - 作废 - 0:未激活 1:正常
  9826. type: integer
  9827. wrstandardcode:
  9828. description: 现货品类代码
  9829. type: string
  9830. wrstandardid:
  9831. description: 现货品类ID(SEQ_WRSTANDARD)
  9832. type: integer
  9833. wrstandardname:
  9834. description: 现货品类名称
  9835. type: string
  9836. required:
  9837. - wrstandardid
  9838. type: object
  9839. models.Warehouseinfo:
  9840. properties:
  9841. address:
  9842. description: 详细地址
  9843. type: string
  9844. areauserid:
  9845. description: 所属机构
  9846. type: integer
  9847. autoid:
  9848. description: 自增ID
  9849. type: integer
  9850. cityid:
  9851. description: 市
  9852. type: integer
  9853. contactname:
  9854. description: 联系人
  9855. type: string
  9856. contactnum:
  9857. description: 联系电话
  9858. type: string
  9859. countryid:
  9860. description: 国家
  9861. type: integer
  9862. createtime:
  9863. description: 创建时间
  9864. type: string
  9865. districtid:
  9866. description: 区
  9867. type: integer
  9868. hasvideo:
  9869. description: 是否有视频 - 0:无 1:有
  9870. type: integer
  9871. provinceid:
  9872. description: 省
  9873. type: integer
  9874. remark:
  9875. description: 审核备注
  9876. type: string
  9877. videourl:
  9878. description: 视频地址
  9879. type: string
  9880. warehousecode:
  9881. description: 仓库代码
  9882. type: string
  9883. warehousename:
  9884. description: 仓库名称
  9885. type: string
  9886. warehousestatus:
  9887. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  9888. type: integer
  9889. warehousetype:
  9890. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  9891. type: integer
  9892. required:
  9893. - autoid
  9894. - warehousecode
  9895. type: object
  9896. order.QueryHisTradeDetailRsp:
  9897. properties:
  9898. accountid:
  9899. description: 账户ID[报价币种]
  9900. type: integer
  9901. buildtype:
  9902. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  9903. type: integer
  9904. buyorsell:
  9905. description: 方向 - 0:买 1:卖
  9906. type: integer
  9907. charge:
  9908. description: 手续费
  9909. type: number
  9910. closecharge:
  9911. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  9912. type: number
  9913. closeexchagechargevalue:
  9914. description: 平仓交易所手续费设置值
  9915. type: number
  9916. closefeealgorithm:
  9917. description: 平仓手续费收取方式 1:比率 2:固定
  9918. type: integer
  9919. closememberchargevalue:
  9920. description: 平仓会员手续费设置值
  9921. type: number
  9922. closepl:
  9923. description: 平仓盈亏
  9924. type: number
  9925. closepl2:
  9926. description: 平仓盈亏[逐笔]
  9927. type: number
  9928. closeqty:
  9929. description: 平仓数量(先建后平操作 需要记录)
  9930. type: integer
  9931. creditamount:
  9932. description: 授信金额
  9933. type: number
  9934. gcaccountid:
  9935. description: 账户ID[合约币种]
  9936. type: integer
  9937. goodscode:
  9938. description: 商品代码
  9939. type: string
  9940. goodsid:
  9941. description: 商品ID
  9942. type: integer
  9943. goodsname:
  9944. description: 商品名称
  9945. type: string
  9946. histradedate:
  9947. description: 历史交易日
  9948. type: string
  9949. intclosepl:
  9950. description: 整型盈亏(用于交易结算试算平衡-收益权)
  9951. type: integer
  9952. isconfirmexercise:
  9953. description: 是否确认行权- 0:否 1:是
  9954. type: integer
  9955. ismain:
  9956. description: 是否主单 - 0:不是 1:是
  9957. type: integer
  9958. ispreexercise:
  9959. description: 是否预申报- 0:否 1:是
  9960. type: integer
  9961. isreckoned:
  9962. description: 是否结算 - 0:未结算 1:已结算
  9963. type: integer
  9964. isvaliddata:
  9965. description: 是否有效 - 0:无效 1:有效
  9966. type: integer
  9967. listingselecttype:
  9968. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  9969. type: integer
  9970. marketid:
  9971. description: 市场ID
  9972. type: integer
  9973. marketname:
  9974. description: 市场名称
  9975. type: string
  9976. matchaccountid:
  9977. description: 对手账号id
  9978. type: integer
  9979. memberuserid:
  9980. description: 会员id 个人投资者 需要填写
  9981. type: integer
  9982. opencharge:
  9983. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  9984. type: number
  9985. openexchagechargevalue:
  9986. description: 建仓交易所手续费设置值
  9987. type: number
  9988. openfeealgorithm:
  9989. description: 建仓手续费收取方式 1:比率 2:固定
  9990. type: integer
  9991. openmemberchargevalue:
  9992. description: 建仓会员手续费设置值
  9993. type: number
  9994. openqty:
  9995. description: 开仓数量(先建后平操作 需要记录)
  9996. type: integer
  9997. optiontype:
  9998. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  9999. type: integer
  10000. orderid:
  10001. description: 委托单号
  10002. type: string
  10003. performanceplanid:
  10004. description: 履约计划ID[期权]
  10005. type: integer
  10006. performancestatus:
  10007. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  10008. type: integer
  10009. preexerciseprice:
  10010. description: 预申报价格
  10011. type: number
  10012. premium:
  10013. description: 权利金 - [持仓单的权利金]
  10014. type: number
  10015. relatedouttradeid:
  10016. description: 关联外部成交单ID
  10017. type: integer
  10018. status:
  10019. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  10020. type: integer
  10021. tradeamount:
  10022. description: 成交金额[账户币种,用于所有权]
  10023. type: number
  10024. tradedate:
  10025. description: 交易日(yyyyMMdd)
  10026. type: string
  10027. tradeid:
  10028. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10029. type: string
  10030. trademode:
  10031. description: 交易模式
  10032. type: integer
  10033. tradeprice:
  10034. description: 成交价格
  10035. type: number
  10036. tradeproperty:
  10037. description: 交易属性
  10038. type: integer
  10039. tradeqty:
  10040. description: 成交数量
  10041. type: integer
  10042. tradetime:
  10043. description: 成交时间
  10044. type: string
  10045. tradetype:
  10046. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  10047. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  10048. type: integer
  10049. required:
  10050. - accountid
  10051. - buyorsell
  10052. - goodsid
  10053. - histradedate
  10054. - marketid
  10055. - memberuserid
  10056. - orderid
  10057. - tradeamount
  10058. - tradedate
  10059. - tradeid
  10060. - tradeprice
  10061. - tradeqty
  10062. - tradetime
  10063. type: object
  10064. order.QueryHisTradeOrderDetailRsp:
  10065. properties:
  10066. accountid:
  10067. description: 账户ID[报价币种]
  10068. type: integer
  10069. buildtype:
  10070. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  10071. type: integer
  10072. buyorsell:
  10073. description: 买卖 - 0:买 1:卖
  10074. type: integer
  10075. cancelorderid:
  10076. description: 撤单单号(撤单时填写)
  10077. type: string
  10078. cancelqty:
  10079. description: 撤单数量
  10080. type: integer
  10081. clientordertime:
  10082. description: 客户端委托时间
  10083. type: string
  10084. clientticket:
  10085. description: 客户端流水号
  10086. type: string
  10087. clienttype:
  10088. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  10089. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  10090. type: integer
  10091. closeexchagechargevalue:
  10092. description: 平仓交易所手续费设置值
  10093. type: number
  10094. closefeealgorithm:
  10095. description: 平仓手续费收取方式 1:比率 2:固定
  10096. type: integer
  10097. closefreezecharge:
  10098. description: 平仓冻结手续费(先建后平操作,需要记录)
  10099. type: number
  10100. closememberchargevalue:
  10101. description: 平仓会员手续费设置值
  10102. type: number
  10103. closeqty:
  10104. description: 平仓数量(先建后平操作 需要记录)
  10105. type: integer
  10106. closetradeqty:
  10107. description: 平仓成交数量(先建后平操作,需要记录)
  10108. type: integer
  10109. closeunfreezecharge:
  10110. description: 平仓解冻手续费(先建后平操作,需要记录)
  10111. type: number
  10112. delistingtype:
  10113. description: 摘牌类型 - 1:价格最优 2:点选成交
  10114. type: integer
  10115. freezecharge:
  10116. description: 冻结手续费
  10117. type: number
  10118. freezemargin:
  10119. description: 冻结保证金(冻结交易金额)
  10120. type: number
  10121. gcaccountid:
  10122. description: 账户ID[合约币种]
  10123. type: integer
  10124. goodscode:
  10125. description: 商品代码
  10126. type: string
  10127. goodsid:
  10128. description: 商品ID
  10129. type: integer
  10130. goodsname:
  10131. description: 商品名称
  10132. type: string
  10133. histradedate:
  10134. description: 历史交易日
  10135. type: string
  10136. isconfirmexercise:
  10137. description: 是否确认行权- 0:否 1:是
  10138. type: integer
  10139. ispreexercise:
  10140. description: 是否预申报- 0:否 1:是
  10141. type: integer
  10142. isvaliddata:
  10143. description: 是否有效 - 0:无效 1:有效
  10144. type: integer
  10145. listingselecttype:
  10146. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  10147. type: integer
  10148. marginalgorithm:
  10149. description: 保证金收取方式 1:比率 2:固定
  10150. type: integer
  10151. marginvalue:
  10152. description: 即市保证金设置值
  10153. type: number
  10154. marketid:
  10155. description: 市场ID
  10156. type: integer
  10157. marketmaxsub:
  10158. description: 市价最大偏移范围
  10159. type: number
  10160. marketname:
  10161. description: 市场名称
  10162. type: string
  10163. memberuserid:
  10164. description: 所属会员UserID
  10165. type: integer
  10166. openexchagechargevalue:
  10167. description: 建仓交易所手续费设置值
  10168. type: number
  10169. openfeealgorithm:
  10170. description: 建仓手续费收取方式 1:比率 2:固定
  10171. type: integer
  10172. openfreezecharge:
  10173. description: 开仓冻结手续费(先建后平操作,需要记录)
  10174. type: number
  10175. openmemberchargevalue:
  10176. description: 建仓会员手续费设置值
  10177. type: number
  10178. openqty:
  10179. description: 开仓数量(先建后平操作,需要记录)
  10180. type: integer
  10181. opentradeqty:
  10182. description: 开仓成交数量(先建后平操作,需要记录)
  10183. type: integer
  10184. openunfreezecharge:
  10185. description: 开仓解冻手续费(先建后平操作,需要记录)
  10186. type: number
  10187. operatetype:
  10188. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  10189. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  10190. 15:管理端协议转让
  10191. type: integer
  10192. operatorid:
  10193. description: 登录账号(LoginID)
  10194. type: integer
  10195. optiontype:
  10196. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  10197. type: integer
  10198. orderid:
  10199. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10200. type: string
  10201. orderprice:
  10202. description: 委托价格
  10203. type: number
  10204. orderqty:
  10205. description: 委托数量
  10206. type: integer
  10207. ordersrc:
  10208. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  10209. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  10210. type: integer
  10211. orderstatus:
  10212. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  10213. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  10214. 16:成交失败违约(荷兰式竞拍专用)
  10215. type: integer
  10216. ordertime:
  10217. description: 委托时间
  10218. type: string
  10219. preexerciseprice:
  10220. description: 预申报价格
  10221. type: number
  10222. premium:
  10223. description: 权利金
  10224. type: number
  10225. preorderid:
  10226. description: 关联预埋单号(止盈止损单时填写)
  10227. type: string
  10228. pricemode:
  10229. description: '取价方式 - 1:市价 2: 限价'
  10230. type: integer
  10231. quoteid:
  10232. description: 报价单ID
  10233. type: integer
  10234. relatedid:
  10235. description: 关联单号(交割单)
  10236. type: string
  10237. retcode:
  10238. description: 错误代码
  10239. type: integer
  10240. sessionid:
  10241. description: 会话ID
  10242. type: integer
  10243. tradedate:
  10244. description: 交易日(yyyyMMdd)
  10245. type: string
  10246. trademode:
  10247. description: 交易模式
  10248. type: integer
  10249. tradeproperty:
  10250. description: 交易属性
  10251. type: integer
  10252. tradeqty:
  10253. description: 成交数量
  10254. type: integer
  10255. unfreezecharge:
  10256. description: 解冻手续费
  10257. type: number
  10258. unfreezemargin:
  10259. description: 解冻保证金
  10260. type: number
  10261. updatetime:
  10262. description: 更新时间
  10263. type: string
  10264. uuid:
  10265. description: 发起端唯一id
  10266. type: string
  10267. validtime:
  10268. description: 有效期限
  10269. type: string
  10270. validtype:
  10271. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  10272. type: integer
  10273. volumetype:
  10274. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  10275. type: integer
  10276. required:
  10277. - accountid
  10278. - buildtype
  10279. - buyorsell
  10280. - goodsid
  10281. - histradedate
  10282. - marketid
  10283. - memberuserid
  10284. - operatetype
  10285. - orderid
  10286. - orderqty
  10287. - ordertime
  10288. - pricemode
  10289. - tradedate
  10290. - validtype
  10291. type: object
  10292. order.QueryTradeDetailRsp:
  10293. properties:
  10294. accountid:
  10295. description: 账户ID[报价币种]
  10296. type: integer
  10297. buildtype:
  10298. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  10299. type: integer
  10300. buyorsell:
  10301. description: 方向 - 0:买 1:卖
  10302. type: integer
  10303. charge:
  10304. description: 手续费
  10305. type: number
  10306. closecharge:
  10307. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  10308. type: number
  10309. closeexchagechargevalue:
  10310. description: 平仓交易所手续费设置值
  10311. type: number
  10312. closefeealgorithm:
  10313. description: 平仓手续费收取方式 1:比率 2:固定
  10314. type: integer
  10315. closememberchargevalue:
  10316. description: 平仓会员手续费设置值
  10317. type: number
  10318. closepl:
  10319. description: 平仓盈亏
  10320. type: number
  10321. closepl2:
  10322. description: 平仓盈亏[逐笔]
  10323. type: number
  10324. closeqty:
  10325. description: 平仓数量(先建后平操作 需要记录)
  10326. type: integer
  10327. creditamount:
  10328. description: 授信金额
  10329. type: number
  10330. gcaccountid:
  10331. description: 账户ID[合约币种]
  10332. type: integer
  10333. goodscode:
  10334. description: 商品代码
  10335. type: string
  10336. goodsid:
  10337. description: 商品ID
  10338. type: integer
  10339. goodsname:
  10340. description: 商品名称
  10341. type: string
  10342. intclosepl:
  10343. description: 整型盈亏(用于交易结算试算平衡-收益权)
  10344. type: integer
  10345. isconfirmexercise:
  10346. description: 是否确认行权- 0:否 1:是
  10347. type: integer
  10348. ismain:
  10349. description: 是否主单 - 0:不是 1:是
  10350. type: integer
  10351. ispreexercise:
  10352. description: 是否预申报- 0:否 1:是
  10353. type: integer
  10354. isreckoned:
  10355. description: 是否结算 - 0:未结算 1:已结算
  10356. type: integer
  10357. listingselecttype:
  10358. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  10359. type: integer
  10360. marketid:
  10361. description: 市场ID
  10362. type: integer
  10363. marketname:
  10364. description: 市场名称
  10365. type: string
  10366. matchaccountid:
  10367. description: 对手账号id
  10368. type: integer
  10369. memberuserid:
  10370. description: 会员id 个人投资者 需要填写
  10371. type: integer
  10372. opencharge:
  10373. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  10374. type: number
  10375. openexchagechargevalue:
  10376. description: 建仓交易所手续费设置值
  10377. type: number
  10378. openfeealgorithm:
  10379. description: 建仓手续费收取方式 1:比率 2:固定
  10380. type: integer
  10381. openmemberchargevalue:
  10382. description: 建仓会员手续费设置值
  10383. type: number
  10384. openqty:
  10385. description: 开仓数量(先建后平操作 需要记录)
  10386. type: integer
  10387. optiontype:
  10388. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  10389. type: integer
  10390. orderid:
  10391. description: 委托单号
  10392. type: string
  10393. performanceplanid:
  10394. description: 履约计划ID[期权]
  10395. type: integer
  10396. performancestatus:
  10397. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  10398. type: integer
  10399. preexerciseprice:
  10400. description: 预申报价格
  10401. type: number
  10402. premium:
  10403. description: 权利金 - [持仓单的权利金]
  10404. type: number
  10405. relatedouttradeid:
  10406. description: 关联外部成交单ID
  10407. type: integer
  10408. status:
  10409. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  10410. type: integer
  10411. tradeamount:
  10412. description: 成交金额[账户币种,用于所有权]
  10413. type: number
  10414. tradedate:
  10415. description: 交易日(yyyyMMdd)
  10416. type: string
  10417. tradeid:
  10418. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10419. type: string
  10420. trademode:
  10421. description: 交易模式
  10422. type: integer
  10423. tradeprice:
  10424. description: 成交价格
  10425. type: number
  10426. tradeproperty:
  10427. description: 交易属性
  10428. type: integer
  10429. tradeqty:
  10430. description: 成交数量
  10431. type: integer
  10432. tradetime:
  10433. description: 成交时间
  10434. type: string
  10435. tradetype:
  10436. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  10437. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  10438. type: integer
  10439. required:
  10440. - accountid
  10441. - buyorsell
  10442. - goodsid
  10443. - marketid
  10444. - memberuserid
  10445. - orderid
  10446. - tradeamount
  10447. - tradedate
  10448. - tradeid
  10449. - tradeprice
  10450. - tradeqty
  10451. - tradetime
  10452. type: object
  10453. order.QueryTradeOrderDetailRsp:
  10454. properties:
  10455. accountid:
  10456. description: 账户ID[报价币种]
  10457. type: integer
  10458. buildtype:
  10459. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  10460. type: integer
  10461. buyorsell:
  10462. description: 买卖 - 0:买 1:卖
  10463. type: integer
  10464. cancelorderid:
  10465. description: 撤单单号(撤单时填写)
  10466. type: string
  10467. cancelqty:
  10468. description: 撤单数量
  10469. type: integer
  10470. clienttype:
  10471. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  10472. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  10473. type: integer
  10474. closefreezecharge:
  10475. description: 平仓冻结手续费(先建后平操作,需要记录)
  10476. type: number
  10477. closeqty:
  10478. description: 平仓数量(先建后平操作 需要记录)
  10479. type: integer
  10480. closetradeqty:
  10481. description: 平仓成交数量(先建后平操作,需要记录)
  10482. type: integer
  10483. closeunfreezecharge:
  10484. description: 平仓解冻手续费(先建后平操作,需要记录)
  10485. type: number
  10486. delistingtype:
  10487. description: 摘牌类型 - 1:价格最优 2:点选成交
  10488. type: integer
  10489. enableqty:
  10490. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  10491. type: integer
  10492. freezecharge:
  10493. description: 冻结手续费
  10494. type: number
  10495. freezemargin:
  10496. description: 冻结保证金(冻结交易金额)
  10497. type: number
  10498. goodscode:
  10499. description: 商品代码
  10500. type: string
  10501. goodsid:
  10502. description: 商品ID
  10503. type: integer
  10504. goodsname:
  10505. description: 商品名称
  10506. type: string
  10507. listingselecttype:
  10508. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  10509. type: integer
  10510. marketid:
  10511. description: 市场ID
  10512. type: integer
  10513. marketname:
  10514. description: 市场名称
  10515. type: string
  10516. openfreezecharge:
  10517. description: 开仓冻结手续费(先建后平操作,需要记录)
  10518. type: number
  10519. openqty:
  10520. description: 开仓数量(先建后平操作,需要记录)
  10521. type: integer
  10522. opentradeqty:
  10523. description: 开仓成交数量(先建后平操作,需要记录)
  10524. type: integer
  10525. openunfreezecharge:
  10526. description: 开仓解冻手续费(先建后平操作,需要记录)
  10527. type: number
  10528. operatetype:
  10529. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  10530. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  10531. 15:管理端协议转让
  10532. type: integer
  10533. operatorid:
  10534. description: 登录账号(LoginID)
  10535. type: integer
  10536. orderid:
  10537. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10538. type: string
  10539. orderprice:
  10540. description: 委托价格
  10541. type: number
  10542. orderqty:
  10543. description: 委托数量
  10544. type: integer
  10545. ordersrc:
  10546. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  10547. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  10548. type: integer
  10549. orderstatus:
  10550. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  10551. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  10552. 16:成交失败违约(荷兰式竞拍专用)
  10553. type: integer
  10554. ordertime:
  10555. description: 委托时间
  10556. type: string
  10557. preorderid:
  10558. description: 关联预埋单号(止盈止损单时填写)
  10559. type: string
  10560. pricemode:
  10561. description: '取价方式 - 1:市价 2: 限价'
  10562. type: integer
  10563. relatedid:
  10564. description: 关联单号(交割单)
  10565. type: string
  10566. tradedate:
  10567. description: 交易日(yyyyMMdd)
  10568. type: string
  10569. trademode:
  10570. description: 交易模式
  10571. type: integer
  10572. tradeqty:
  10573. description: 成交数量
  10574. type: integer
  10575. unfreezecharge:
  10576. description: 解冻手续费
  10577. type: number
  10578. unfreezemargin:
  10579. description: 解冻保证金
  10580. type: number
  10581. validtime:
  10582. description: 有效期限
  10583. type: string
  10584. validtype:
  10585. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  10586. type: integer
  10587. volumetype:
  10588. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  10589. type: integer
  10590. required:
  10591. - accountid
  10592. - buildtype
  10593. - buyorsell
  10594. - goodsid
  10595. - marketid
  10596. - operatetype
  10597. - orderqty
  10598. - ordertime
  10599. - pricemode
  10600. - tradedate
  10601. - validtype
  10602. type: object
  10603. order.QueryTradePositionRsp:
  10604. properties:
  10605. accountid:
  10606. description: 资金账户
  10607. type: integer
  10608. agreeunit:
  10609. description: 合约单位
  10610. type: number
  10611. averageprice:
  10612. description: 持仓均价
  10613. type: number
  10614. buyorsell:
  10615. description: 方向 - 0:买 1:卖
  10616. type: integer
  10617. closetotalqty:
  10618. description: 平仓总数量
  10619. type: integer
  10620. curholderamount:
  10621. description: 当前持仓总金额[商品币种]
  10622. type: number
  10623. curpositionqty:
  10624. description: 当前持仓总数量
  10625. type: integer
  10626. currencyid:
  10627. description: 报价货币ID
  10628. type: integer
  10629. curtdposition:
  10630. description: 期末今日头寸
  10631. type: integer
  10632. decimalplace:
  10633. description: 报价小数位
  10634. type: integer
  10635. enableqty:
  10636. description: 可用量
  10637. type: integer
  10638. fretdposition:
  10639. description: 冻结今日头寸
  10640. type: integer
  10641. frozenqty:
  10642. description: 持仓冻结数量
  10643. type: integer
  10644. goodscode:
  10645. description: 商品代码
  10646. type: string
  10647. goodsid:
  10648. description: 商品Id
  10649. type: integer
  10650. goodsname:
  10651. description: 商品名称
  10652. type: string
  10653. goodunit:
  10654. description: 报价单位
  10655. type: string
  10656. goodunitid:
  10657. description: 报价单位ID
  10658. type: integer
  10659. holderamount:
  10660. description: 期初持仓总金额[商品币种]
  10661. type: number
  10662. marketid:
  10663. description: 所属市场ID
  10664. type: integer
  10665. openreqqty:
  10666. description: 开仓申请数量(用于比较最大持仓数量)
  10667. type: integer
  10668. opentotalqty:
  10669. description: 开仓总数量
  10670. type: integer
  10671. otherfrozenqty:
  10672. description: 持仓其他冻结数量(交割冻结)
  10673. type: integer
  10674. positionqty:
  10675. description: 期初持仓数量
  10676. type: integer
  10677. tnqty:
  10678. description: T+N冻结总量
  10679. type: integer
  10680. tnusedqty:
  10681. description: T+N使用量(可以使用T+N的冻结数量)
  10682. type: integer
  10683. trademode:
  10684. description: 交易模式
  10685. type: integer
  10686. usedmargin:
  10687. description: 占用保证金[商品币种]
  10688. type: number
  10689. required:
  10690. - goodsid
  10691. type: object
  10692. quote.HistoryData:
  10693. properties:
  10694. c:
  10695. description: 收盘价
  10696. type: number
  10697. f:
  10698. description: 是否补充数据
  10699. type: boolean
  10700. h:
  10701. description: 最高价
  10702. type: number
  10703. hv:
  10704. description: 持仓量
  10705. type: integer
  10706. l:
  10707. description: 最低价
  10708. type: number
  10709. o:
  10710. description: 开盘价
  10711. type: number
  10712. s:
  10713. description: 结算价,日线周期(包括)以上才有
  10714. type: number
  10715. ts:
  10716. description: 时间
  10717. type: string
  10718. tt:
  10719. description: 总金额
  10720. type: number
  10721. tv:
  10722. description: 总量
  10723. type: integer
  10724. type: object
  10725. quote.HistoryTikData:
  10726. properties:
  10727. AV:
  10728. description: 卖量
  10729. type: integer
  10730. Ask:
  10731. description: 卖价
  10732. type: number
  10733. BV:
  10734. description: 买量
  10735. type: integer
  10736. Bid:
  10737. description: 买价
  10738. type: number
  10739. HI:
  10740. description: 单笔持仓
  10741. type: integer
  10742. HV:
  10743. description: 持仓量
  10744. type: integer
  10745. PE:
  10746. description: 现价
  10747. type: number
  10748. TDR:
  10749. description: 交易方向,0:买 1:卖
  10750. type: integer
  10751. TK:
  10752. description: 交易类型
  10753. type: integer
  10754. TS:
  10755. description: 行情时间文本
  10756. type: string
  10757. TT:
  10758. description: 现金额
  10759. type: number
  10760. Vol:
  10761. description: 现量
  10762. type: integer
  10763. type: object
  10764. quote.QueryQuoteDayRsp:
  10765. properties:
  10766. ask:
  10767. description: 卖1
  10768. type: number
  10769. ask2:
  10770. description: 卖2
  10771. type: number
  10772. ask3:
  10773. description: 卖3
  10774. type: number
  10775. ask4:
  10776. description: 卖4
  10777. type: number
  10778. ask5:
  10779. description: 卖5
  10780. type: number
  10781. ask6:
  10782. description: 卖6
  10783. type: number
  10784. ask7:
  10785. description: 卖7
  10786. type: number
  10787. ask8:
  10788. description: 卖8
  10789. type: number
  10790. ask9:
  10791. description: 卖9
  10792. type: number
  10793. ask10:
  10794. description: 卖10
  10795. type: number
  10796. askorderid:
  10797. description: 卖单号1
  10798. type: integer
  10799. askorderid2:
  10800. description: 卖单号2
  10801. type: integer
  10802. askorderid3:
  10803. description: 卖单号3
  10804. type: integer
  10805. askorderid4:
  10806. description: 卖单号4
  10807. type: integer
  10808. askorderid5:
  10809. description: 卖单号5
  10810. type: integer
  10811. askordervolume:
  10812. description: 卖单量1
  10813. type: integer
  10814. askordervolume2:
  10815. description: 卖单量2
  10816. type: integer
  10817. askordervolume3:
  10818. description: 卖单量3
  10819. type: integer
  10820. askordervolume4:
  10821. description: 卖单量4
  10822. type: integer
  10823. askordervolume5:
  10824. description: 卖单量5
  10825. type: integer
  10826. askordervolume6:
  10827. description: 卖单量6
  10828. type: integer
  10829. askordervolume7:
  10830. description: 卖单量7
  10831. type: integer
  10832. askordervolume8:
  10833. description: 卖单量8
  10834. type: integer
  10835. askordervolume9:
  10836. description: 卖单量9
  10837. type: integer
  10838. askordervolume10:
  10839. description: 卖单量10
  10840. type: integer
  10841. askqueueinfo:
  10842. description: 大利市卖港股用
  10843. type: string
  10844. askvolume:
  10845. description: 卖量1
  10846. type: integer
  10847. askvolume2:
  10848. description: 卖量2
  10849. type: integer
  10850. askvolume3:
  10851. description: 卖量3
  10852. type: integer
  10853. askvolume4:
  10854. description: 卖量4
  10855. type: integer
  10856. askvolume5:
  10857. description: 卖量5
  10858. type: integer
  10859. askvolume6:
  10860. description: 卖量6
  10861. type: integer
  10862. askvolume7:
  10863. description: 卖量7
  10864. type: integer
  10865. askvolume8:
  10866. description: 卖量8
  10867. type: integer
  10868. askvolume9:
  10869. description: 卖量9
  10870. type: integer
  10871. askvolume10:
  10872. description: 卖量10
  10873. type: integer
  10874. averageprice:
  10875. description: 均价
  10876. type: number
  10877. bid:
  10878. description: 买1
  10879. type: number
  10880. bid2:
  10881. description: 买2
  10882. type: number
  10883. bid3:
  10884. description: 买3
  10885. type: number
  10886. bid4:
  10887. description: 买4
  10888. type: number
  10889. bid5:
  10890. description: 买5
  10891. type: number
  10892. bid6:
  10893. description: 买6
  10894. type: number
  10895. bid7:
  10896. description: 买7
  10897. type: number
  10898. bid8:
  10899. description: 买8
  10900. type: number
  10901. bid9:
  10902. description: 买9
  10903. type: number
  10904. bid10:
  10905. description: 买10
  10906. type: number
  10907. bidorderid:
  10908. description: 买单号1
  10909. type: integer
  10910. bidorderid2:
  10911. description: 买单号2
  10912. type: integer
  10913. bidorderid3:
  10914. description: 买单号3
  10915. type: integer
  10916. bidorderid4:
  10917. description: 买单号4
  10918. type: integer
  10919. bidorderid5:
  10920. description: 买单号5
  10921. type: integer
  10922. bidordervolume:
  10923. description: 买单量1
  10924. type: integer
  10925. bidordervolume2:
  10926. description: 买单量2
  10927. type: integer
  10928. bidordervolume3:
  10929. description: 买单量3
  10930. type: integer
  10931. bidordervolume4:
  10932. description: 买单量4
  10933. type: integer
  10934. bidordervolume5:
  10935. description: 买单量5
  10936. type: integer
  10937. bidordervolume6:
  10938. description: 买单量6
  10939. type: integer
  10940. bidordervolume7:
  10941. description: 买单量7
  10942. type: integer
  10943. bidordervolume8:
  10944. description: 买单量8
  10945. type: integer
  10946. bidordervolume9:
  10947. description: 买单量9
  10948. type: integer
  10949. bidordervolume10:
  10950. description: 买单量10
  10951. type: integer
  10952. bidqueueinfo:
  10953. description: 大利市买港股用
  10954. type: string
  10955. bidvolume:
  10956. description: 买量1
  10957. type: integer
  10958. bidvolume2:
  10959. description: 买量2
  10960. type: integer
  10961. bidvolume3:
  10962. description: 买量3
  10963. type: integer
  10964. bidvolume4:
  10965. description: 买量4
  10966. type: integer
  10967. bidvolume5:
  10968. description: 买量5
  10969. type: integer
  10970. bidvolume6:
  10971. description: 买量6
  10972. type: integer
  10973. bidvolume7:
  10974. description: 买量7
  10975. type: integer
  10976. bidvolume8:
  10977. description: 买量8
  10978. type: integer
  10979. bidvolume9:
  10980. description: 买量9
  10981. type: integer
  10982. bidvolume10:
  10983. description: 买量10
  10984. type: integer
  10985. calloptionpremiums:
  10986. description: 认购期权1
  10987. type: integer
  10988. calloptionpremiums2:
  10989. description: 认购期权2
  10990. type: integer
  10991. calloptionpremiums3:
  10992. description: 认购期权3
  10993. type: integer
  10994. calloptionpremiums4:
  10995. description: 认购期权4
  10996. type: integer
  10997. calloptionpremiums5:
  10998. description: 认购期权5
  10999. type: integer
  11000. cleartime:
  11001. description: 清盘时间
  11002. type: integer
  11003. exchangecode:
  11004. description: 交易所代码
  11005. type: integer
  11006. exchangedate:
  11007. description: 交易日
  11008. type: integer
  11009. goodscode:
  11010. description: 商品代码
  11011. type: string
  11012. grepmarketprice:
  11013. description: 暗盘价 港股专用
  11014. type: number
  11015. highest:
  11016. description: 最高价
  11017. type: number
  11018. holdincrement:
  11019. description: 单笔持仓
  11020. type: integer
  11021. holdvolume:
  11022. description: 持仓
  11023. type: integer
  11024. iep:
  11025. description: 平衡价 港股专用
  11026. type: number
  11027. iev:
  11028. description: 平衡量 港股专用
  11029. type: number
  11030. inventory:
  11031. description: 库存
  11032. type: integer
  11033. iscleared:
  11034. description: 是否清盘标志
  11035. type: integer
  11036. issettled:
  11037. description: 是否结算标志
  11038. type: integer
  11039. last:
  11040. description: 最新价
  11041. type: number
  11042. lastlot:
  11043. description: 最新成交手数
  11044. type: integer
  11045. lasttime:
  11046. description: 行情时间(只有现价变化行情时间才变化)
  11047. type: string
  11048. lastturnover:
  11049. description: 最新成交金额
  11050. type: number
  11051. lastvolume:
  11052. description: 最新成交量
  11053. type: integer
  11054. limitdown:
  11055. description: 跌停价
  11056. type: number
  11057. limitup:
  11058. description: 涨停价
  11059. type: number
  11060. lowest:
  11061. description: 最低价
  11062. type: number
  11063. nontotalholdervolume:
  11064. description: 非交易持仓量
  11065. type: integer
  11066. nontotallot:
  11067. description: 非交易总手数
  11068. type: integer
  11069. nontotalturnover:
  11070. description: 非交易总金额
  11071. type: integer
  11072. nontotalvolume:
  11073. description: 非交易总量
  11074. type: integer
  11075. opened:
  11076. description: 开盘价
  11077. type: number
  11078. opentime:
  11079. description: 开盘时间
  11080. type: string
  11081. orderid:
  11082. description: 序号
  11083. type: integer
  11084. preclose:
  11085. description: 昨收
  11086. type: number
  11087. preholdvolume:
  11088. description: 昨持仓
  11089. type: integer
  11090. presettle:
  11091. description: 昨结价
  11092. type: number
  11093. publictradetype:
  11094. description: 公共交易标志类型 港股专用
  11095. type: string
  11096. putoptionpremiums:
  11097. description: 认沽期权1
  11098. type: integer
  11099. putoptionpremiums2:
  11100. description: 认沽期权2
  11101. type: integer
  11102. putoptionpremiums3:
  11103. description: 认沽期权3
  11104. type: integer
  11105. putoptionpremiums4:
  11106. description: 认沽期权4
  11107. type: integer
  11108. putoptionpremiums5:
  11109. description: 认沽期权5
  11110. type: integer
  11111. settle:
  11112. description: 结算价
  11113. type: number
  11114. strikeprice:
  11115. description: 发行价
  11116. type: number
  11117. totalaskvolume:
  11118. description: 内盘
  11119. type: integer
  11120. totalbidvolume:
  11121. description: 外盘
  11122. type: integer
  11123. totallot:
  11124. description: 总手数
  11125. type: integer
  11126. totalturnover:
  11127. description: 总金额
  11128. type: number
  11129. totalvolume:
  11130. description: 总量
  11131. type: integer
  11132. utclasttime:
  11133. description: utc的行情时间
  11134. type: string
  11135. type: object
  11136. quote.QueryTSDataRsp:
  11137. properties:
  11138. Count:
  11139. description: 交易日应有数据个数
  11140. type: integer
  11141. decimalPlace:
  11142. description: 小数位
  11143. type: integer
  11144. endTime:
  11145. description: 结束时间
  11146. type: string
  11147. goodsCode:
  11148. description: 商品代码
  11149. type: string
  11150. historyDatas:
  11151. description: 历史数据
  11152. items:
  11153. $ref: '#/definitions/quote.HistoryData'
  11154. type: array
  11155. outGoodsCode:
  11156. description: 外部商品代码
  11157. type: string
  11158. preSettle:
  11159. description: 昨结价
  11160. type: number
  11161. runSteps:
  11162. description: 交易日开休市计划
  11163. items:
  11164. $ref: '#/definitions/quote.TSDataRunStep'
  11165. type: array
  11166. startTime:
  11167. description: 开始时间
  11168. type: string
  11169. tradeDate:
  11170. description: 交易日
  11171. type: string
  11172. type: object
  11173. quote.TSDataRunStep:
  11174. properties:
  11175. end:
  11176. description: 真实结束时间
  11177. type: string
  11178. endflag:
  11179. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  11180. type: integer
  11181. endtime:
  11182. description: 结束时间(HH:mm)
  11183. type: string
  11184. endweekday:
  11185. description: 结束周几
  11186. type: integer
  11187. groupid:
  11188. description: 分组ID
  11189. type: integer
  11190. runstep:
  11191. description: 运行阶段 - 2:连续交易
  11192. type: integer
  11193. sectionid:
  11194. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  11195. 结束时间=结算时间 结束周几=结算周几
  11196. type: integer
  11197. start:
  11198. description: 真实开始时间
  11199. type: string
  11200. startflag:
  11201. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  11202. type: integer
  11203. starttime:
  11204. description: 起始时间(HH:mm)
  11205. type: string
  11206. startweekday:
  11207. description: 起始周几
  11208. type: integer
  11209. tradeweekday:
  11210. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  11211. type: integer
  11212. type: object
  11213. szdz.QueryConvertLogRsp:
  11214. properties:
  11215. accountid:
  11216. description: 资金账户ID
  11217. type: integer
  11218. clientticket:
  11219. description: 客户端流水号
  11220. type: string
  11221. converttype:
  11222. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  11223. type: integer
  11224. createtime:
  11225. description: 记账时间
  11226. type: string
  11227. daymaxvalue:
  11228. description: 配置当日最大转入限制
  11229. type: number
  11230. daymaxvalue2:
  11231. description: 配置当日最大转入限制(转入)
  11232. type: number
  11233. goodscode:
  11234. description: 商品代码
  11235. type: string
  11236. goodsname:
  11237. description: 商品名称
  11238. type: string
  11239. handlestatus:
  11240. description: 处理状态
  11241. type: integer
  11242. innergoodsid:
  11243. description: 内部商品ID
  11244. type: integer
  11245. inratio:
  11246. description: 配置转入比值
  11247. type: integer
  11248. invalue:
  11249. description: 目标值
  11250. type: number
  11251. logid:
  11252. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11253. type: integer
  11254. mobile:
  11255. description: 手机号码(加密存储)
  11256. type: string
  11257. outergoodscode:
  11258. description: 外部商品代码[JD\PD]
  11259. type: string
  11260. outratio:
  11261. description: 配置转出比值
  11262. type: integer
  11263. outvalue:
  11264. description: 源值
  11265. type: number
  11266. pddecimalplace:
  11267. description: PD小数位
  11268. type: integer
  11269. qty:
  11270. description: 数量
  11271. type: string
  11272. remark:
  11273. description: 备注
  11274. type: string
  11275. sessionid:
  11276. description: 会话ID
  11277. type: integer
  11278. timemaxvalue:
  11279. description: 配置单次最大转入限制
  11280. type: number
  11281. timemaxvalue2:
  11282. description: 配置单次最大转入限制(转入)
  11283. type: number
  11284. timeminvalue:
  11285. description: 配置单次最小数量限制
  11286. type: number
  11287. timeminvalue2:
  11288. description: 配置单次最小数量限制(转入)
  11289. type: number
  11290. tradedate:
  11291. description: 交易日(yyyyMMdd)
  11292. type: string
  11293. userid:
  11294. description: 用户ID
  11295. type: integer
  11296. required:
  11297. - logid
  11298. type: object
  11299. szdz.QueryGoodsPickupRsp:
  11300. properties:
  11301. accountid:
  11302. description: 账户ID
  11303. type: integer
  11304. address:
  11305. description: 提货人详细地址
  11306. type: string
  11307. auditer:
  11308. description: 审核人
  11309. type: integer
  11310. audittime:
  11311. description: 审核时间
  11312. type: string
  11313. cardnum:
  11314. description: 提货人证件号码
  11315. type: string
  11316. cardtypeid:
  11317. description: 提货人证件类型
  11318. type: integer
  11319. checkremark:
  11320. description: 审核备注
  11321. type: string
  11322. goodscode:
  11323. description: 商品代码
  11324. type: string
  11325. goodsid:
  11326. description: 商品ID
  11327. type: integer
  11328. goodsname:
  11329. description: 商品名称
  11330. type: string
  11331. handlestatus:
  11332. description: 处理状态
  11333. type: integer
  11334. marketid:
  11335. description: 市场ID
  11336. type: integer
  11337. phonenum:
  11338. description: 提货人联系方式
  11339. type: string
  11340. qty:
  11341. description: 提货数量
  11342. type: number
  11343. recivername:
  11344. description: 提货人姓名
  11345. type: string
  11346. reqtime:
  11347. description: 更新时间
  11348. type: string
  11349. takemode:
  11350. description: 提货方式 - 2:自提 3:配送
  11351. type: integer
  11352. takeorderid:
  11353. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  11354. type: string
  11355. takeorderstatus:
  11356. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  11357. type: integer
  11358. takeremark:
  11359. description: 提货备注
  11360. type: string
  11361. tradedate:
  11362. description: 交易日(yyyyMMdd)
  11363. type: string
  11364. userid:
  11365. description: 用户ID
  11366. type: integer
  11367. required:
  11368. - takeorderid
  11369. type: object
  11370. szdz.QueryRecieptOrderRsp:
  11371. properties:
  11372. accountName:
  11373. description: 所属账号名称(已脱敏)
  11374. type: string
  11375. accountid:
  11376. description: 资金账号
  11377. type: integer
  11378. buyorsell:
  11379. description: 方向 - 0:买 1:卖
  11380. type: integer
  11381. enableqty:
  11382. description: 可摘数量
  11383. type: integer
  11384. goodscode:
  11385. description: 商品代码
  11386. type: string
  11387. goodsid:
  11388. description: 商品ID
  11389. type: integer
  11390. goodsname:
  11391. description: 商品名称
  11392. type: string
  11393. orderid:
  11394. description: 委托单号
  11395. type: string
  11396. orderprice:
  11397. description: 委托价格
  11398. type: number
  11399. ordertime:
  11400. description: 委托时间
  11401. type: string
  11402. tradedate:
  11403. description: 交易日(yyyyMMdd)
  11404. type: string
  11405. required:
  11406. - ordertime
  11407. type: object
  11408. szdz.QuerySZDZTradePositionRsp:
  11409. properties:
  11410. accountid:
  11411. description: 账号Id
  11412. type: integer
  11413. agreeunit:
  11414. description: 合约单位
  11415. type: number
  11416. averageprice:
  11417. description: 持仓均价
  11418. type: number
  11419. buyorsell:
  11420. description: 方向 - 0:买 1:卖
  11421. type: integer
  11422. closetotalqty:
  11423. description: 平仓总数量
  11424. type: integer
  11425. curholderamount:
  11426. description: 当前持仓总金额
  11427. type: number
  11428. curpositionqty:
  11429. description: 当前持仓总数量
  11430. type: integer
  11431. currencyid:
  11432. description: 报价货币ID
  11433. type: integer
  11434. curtdposition:
  11435. description: 期末今日头寸
  11436. type: integer
  11437. decimalplace:
  11438. description: 报价小数位
  11439. type: integer
  11440. enableqty:
  11441. description: 可用量
  11442. type: integer
  11443. fretdposition:
  11444. description: 冻结今日头寸
  11445. type: integer
  11446. frozenqty:
  11447. description: 持仓冻结数量
  11448. type: integer
  11449. goodscode:
  11450. description: 商品代码(内部)
  11451. type: string
  11452. goodsid:
  11453. description: 商品Id
  11454. type: integer
  11455. goodsname:
  11456. description: 商品名称
  11457. type: string
  11458. goodunit:
  11459. description: 报价单位
  11460. type: string
  11461. goodunitid:
  11462. description: 报价单位ID
  11463. type: integer
  11464. holderamount:
  11465. description: 期初持仓总金额
  11466. type: number
  11467. marketid:
  11468. description: 市场ID
  11469. type: integer
  11470. openreqqty:
  11471. description: 开仓申请数量
  11472. type: integer
  11473. opentotalqty:
  11474. description: 开仓总数量
  11475. type: integer
  11476. otherfrozenqty:
  11477. description: 持仓其他冻结数量(交割冻结)
  11478. type: integer
  11479. positionqty:
  11480. description: 期初持仓数量
  11481. type: integer
  11482. szdz3freezqty:
  11483. description: 尚志大宗转换冻结总数量
  11484. type: integer
  11485. tnqty:
  11486. description: T+N冻结总量
  11487. type: integer
  11488. tnusedqty:
  11489. description: T+N使用量
  11490. type: integer
  11491. trademode:
  11492. description: 交易模式
  11493. type: integer
  11494. usedmargin:
  11495. description: 占用保证金
  11496. type: number
  11497. type: object
  11498. taaccount.QueryAmountLogRsp:
  11499. properties:
  11500. OPERATETYPENAME:
  11501. description: 资金操作类型名称
  11502. type: string
  11503. accountid:
  11504. description: 资金账户ID
  11505. type: integer
  11506. agoodscode:
  11507. description: 竞拍商品代码
  11508. type: string
  11509. agoodsname:
  11510. description: 竞拍商品名称
  11511. type: string
  11512. amount:
  11513. description: 资金金额
  11514. type: number
  11515. amountadjusttype:
  11516. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  11517. type: integer
  11518. autoid:
  11519. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  11520. type: integer
  11521. balance:
  11522. description: 期初余额
  11523. type: number
  11524. businesscode:
  11525. description: 业务编号
  11526. type: integer
  11527. createtime:
  11528. description: 发生时间
  11529. type: string
  11530. currencyid:
  11531. description: 币种ID
  11532. type: integer
  11533. currentbalance:
  11534. description: 期末余额(变动后金额)
  11535. type: number
  11536. dgoodscode:
  11537. description: 交割商品代码
  11538. type: string
  11539. dgoodsname:
  11540. description: 交割商品名称
  11541. type: string
  11542. goodscode:
  11543. description: 商品代码
  11544. type: string
  11545. goodsid:
  11546. description: 商品ID
  11547. type: integer
  11548. goodsname:
  11549. description: 商品名称
  11550. type: string
  11551. marketid:
  11552. description: 市场ID
  11553. type: integer
  11554. marketname:
  11555. description: 市场名称
  11556. type: string
  11557. moneyticket:
  11558. description: 资金流水号:银行端流水号
  11559. type: integer
  11560. operatetype:
  11561. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  11562. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  11563. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  11564. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  11565. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  11566. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  11567. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  11568. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  11569. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  11570. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  11571. type: integer
  11572. relationorderid:
  11573. description: 关联单号
  11574. type: string
  11575. remark:
  11576. description: 备注
  11577. type: string
  11578. trademode:
  11579. description: 交易模式
  11580. type: integer
  11581. required:
  11582. - accountid
  11583. - amount
  11584. - amountadjusttype
  11585. - autoid
  11586. - balance
  11587. - createtime
  11588. - currentbalance
  11589. - operatetype
  11590. type: object
  11591. taaccount.QueryHisAmountLogRsp:
  11592. properties:
  11593. OPERATETYPENAME:
  11594. description: 资金操作类型名称
  11595. type: string
  11596. accountid:
  11597. description: 资金账户ID
  11598. type: integer
  11599. agoodscode:
  11600. description: 竞拍商品代码
  11601. type: string
  11602. agoodsname:
  11603. description: 竞拍商品名称
  11604. type: string
  11605. amount:
  11606. description: 资金金额
  11607. type: number
  11608. amountadjusttype:
  11609. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  11610. type: integer
  11611. autoid:
  11612. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  11613. type: integer
  11614. balance:
  11615. description: 期初余额
  11616. type: number
  11617. businesscode:
  11618. description: 业务编号
  11619. type: integer
  11620. createtime:
  11621. description: 发生时间
  11622. type: string
  11623. currencyid:
  11624. description: 币种ID
  11625. type: integer
  11626. currentbalance:
  11627. description: 期末余额(变动后金额)
  11628. type: number
  11629. dgoodscode:
  11630. description: 交割商品代码
  11631. type: string
  11632. dgoodsname:
  11633. description: 交割商品名称
  11634. type: string
  11635. goodscode:
  11636. description: 商品代码
  11637. type: string
  11638. goodsid:
  11639. description: 商品ID
  11640. type: integer
  11641. goodsname:
  11642. description: 商品名称
  11643. type: string
  11644. histradedate:
  11645. description: 历史交易日
  11646. type: string
  11647. isvaliddata:
  11648. description: 是否有效 - 0:无效 1:有效
  11649. type: integer
  11650. marketid:
  11651. description: 市场ID
  11652. type: integer
  11653. marketname:
  11654. description: 市场名称
  11655. type: string
  11656. moneyticket:
  11657. description: 资金流水号:银行端流水号
  11658. type: integer
  11659. operatetype:
  11660. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  11661. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  11662. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  11663. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  11664. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  11665. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  11666. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  11667. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  11668. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  11669. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  11670. type: integer
  11671. relationorderid:
  11672. description: 关联单号
  11673. type: string
  11674. remark:
  11675. description: 备注
  11676. type: string
  11677. trademode:
  11678. description: 交易模式
  11679. type: integer
  11680. required:
  11681. - accountid
  11682. - amount
  11683. - amountadjusttype
  11684. - autoid
  11685. - balance
  11686. - createtime
  11687. - currentbalance
  11688. - histradedate
  11689. - operatetype
  11690. type: object
  11691. trade.QueryRecieptOrderRsp:
  11692. properties:
  11693. accountName:
  11694. description: 所属账号名称(已脱敏)
  11695. type: string
  11696. accountid:
  11697. description: 资金账号
  11698. type: integer
  11699. buyorsell:
  11700. description: 方向 - 0:买 1:卖
  11701. type: integer
  11702. enableqty:
  11703. description: 可摘数量
  11704. type: integer
  11705. goodscode:
  11706. description: 商品代码
  11707. type: string
  11708. goodsid:
  11709. description: 商品ID
  11710. type: integer
  11711. goodsname:
  11712. description: 商品名称
  11713. type: string
  11714. orderid:
  11715. description: 委托单号
  11716. type: string
  11717. orderprice:
  11718. description: 委托价格
  11719. type: number
  11720. ordertime:
  11721. description: 委托时间
  11722. type: string
  11723. tradedate:
  11724. description: 交易日(yyyyMMdd)
  11725. type: string
  11726. required:
  11727. - ordertime
  11728. type: object
  11729. user.LoginQueryRsp:
  11730. properties:
  11731. externalExchanges:
  11732. description: 外部交易所
  11733. items:
  11734. $ref: '#/definitions/models.Externalexchange'
  11735. type: array
  11736. goodsgroups:
  11737. description: 商品组
  11738. items:
  11739. $ref: '#/definitions/models.Goodsgroup'
  11740. type: array
  11741. loginAccount:
  11742. $ref: '#/definitions/models.Loginaccount'
  11743. description: 登录账号
  11744. type: object
  11745. markets:
  11746. description: 市场
  11747. items:
  11748. $ref: '#/definitions/models.Market'
  11749. type: array
  11750. systemParams:
  11751. description: 系统参数
  11752. items:
  11753. $ref: '#/definitions/models.Systemparam'
  11754. type: array
  11755. userAccount:
  11756. $ref: '#/definitions/models.Useraccount'
  11757. description: 用户账号
  11758. type: object
  11759. userInfo:
  11760. $ref: '#/definitions/models.Userinfo'
  11761. description: 用户信息
  11762. type: object
  11763. username:
  11764. description: 用户姓名
  11765. type: string
  11766. type: object
  11767. info:
  11768. contact: {}
  11769. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  11770. license: {}
  11771. termsOfService: http://muchinfo.cn
  11772. title: MTP2.0 查询服务 API
  11773. version: "1.0"
  11774. paths:
  11775. /CPTrade/QueryCPTradeMyBidInfos:
  11776. get:
  11777. parameters:
  11778. - description: 资金账户
  11779. in: query
  11780. name: accountid
  11781. required: true
  11782. type: integer
  11783. - description: 预售市场ID
  11784. in: query
  11785. name: marketid
  11786. type: integer
  11787. - description: 预售商品ID
  11788. in: query
  11789. name: goodsid
  11790. type: integer
  11791. produces:
  11792. - application/json
  11793. responses:
  11794. "200":
  11795. description: OK
  11796. schema:
  11797. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  11798. "500":
  11799. description: Internal Server Error
  11800. schema:
  11801. $ref: '#/definitions/app.Response'
  11802. security:
  11803. - ApiKeyAuth: []
  11804. summary: 查询产能预售我的出价信息
  11805. tags:
  11806. - 产能预售
  11807. /CPTrade/QueryCPTradeOrderDetail:
  11808. get:
  11809. parameters:
  11810. - description: 预售商品ID
  11811. in: query
  11812. name: goodsid
  11813. type: integer
  11814. - description: 预售市场ID
  11815. in: query
  11816. name: marketid
  11817. type: integer
  11818. - description: 预售商品ID列表 - 格式:1,2,3
  11819. in: query
  11820. name: goodsids
  11821. type: string
  11822. produces:
  11823. - application/json
  11824. responses:
  11825. "200":
  11826. description: OK
  11827. schema:
  11828. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  11829. "500":
  11830. description: Internal Server Error
  11831. schema:
  11832. $ref: '#/definitions/app.Response'
  11833. security:
  11834. - ApiKeyAuth: []
  11835. summary: 查询产能预售委托单信息
  11836. tags:
  11837. - 产能预售
  11838. /CPTrade/QueryMyCPTradeGoods:
  11839. get:
  11840. parameters:
  11841. - description: 资金账户
  11842. in: query
  11843. name: accountid
  11844. required: true
  11845. type: integer
  11846. produces:
  11847. - application/json
  11848. responses:
  11849. "200":
  11850. description: OK
  11851. schema:
  11852. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  11853. "500":
  11854. description: Internal Server Error
  11855. schema:
  11856. $ref: '#/definitions/app.Response'
  11857. security:
  11858. - ApiKeyAuth: []
  11859. summary: 查询我的预售信息
  11860. tags:
  11861. - 产能预售
  11862. /CPTrade/QueryPositionCancel:
  11863. get:
  11864. parameters:
  11865. - description: 账户ID
  11866. in: query
  11867. name: userid
  11868. required: true
  11869. type: integer
  11870. - description: 注销ID
  11871. in: query
  11872. name: cancelid
  11873. type: integer
  11874. - description: 资金账户ID
  11875. in: query
  11876. name: accountid
  11877. type: integer
  11878. produces:
  11879. - application/json
  11880. responses:
  11881. "200":
  11882. description: OK
  11883. schema:
  11884. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  11885. "500":
  11886. description: Internal Server Error
  11887. schema:
  11888. $ref: '#/definitions/app.Response'
  11889. security:
  11890. - ApiKeyAuth: []
  11891. summary: 查询远期订单注销申请信息
  11892. tags:
  11893. - 产能预售
  11894. /CPTrade/QueryPreasleApply:
  11895. get:
  11896. parameters:
  11897. - description: 账户ID
  11898. in: query
  11899. name: userid
  11900. required: true
  11901. type: integer
  11902. - description: 申请ID
  11903. in: query
  11904. name: applyid
  11905. type: integer
  11906. - description: 资金账户ID
  11907. in: query
  11908. name: accountid
  11909. type: integer
  11910. produces:
  11911. - application/json
  11912. responses:
  11913. "200":
  11914. description: OK
  11915. schema:
  11916. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  11917. "500":
  11918. description: Internal Server Error
  11919. schema:
  11920. $ref: '#/definitions/app.Response'
  11921. security:
  11922. - ApiKeyAuth: []
  11923. summary: 查询产能预售申请信息
  11924. tags:
  11925. - 产能预售
  11926. /CPTrade/QueryPresaleGoodsEx:
  11927. get:
  11928. parameters:
  11929. - description: 预售商品ID
  11930. in: query
  11931. name: goodsid
  11932. type: integer
  11933. - description: 预售市场ID
  11934. in: query
  11935. name: marketid
  11936. type: integer
  11937. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  11938. in: query
  11939. name: presalemode
  11940. type: integer
  11941. - description: 预售商品ID列表 - 格式:1,2,3
  11942. in: query
  11943. name: goodsids
  11944. type: string
  11945. - description: 预售商品代码
  11946. in: query
  11947. name: goodscode
  11948. type: string
  11949. produces:
  11950. - application/json
  11951. responses:
  11952. "200":
  11953. description: OK
  11954. schema:
  11955. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  11956. "500":
  11957. description: Internal Server Error
  11958. schema:
  11959. $ref: '#/definitions/app.Response'
  11960. security:
  11961. - ApiKeyAuth: []
  11962. summary: 查询产能预售商品扩展信息
  11963. tags:
  11964. - 产能预售
  11965. /CPTrade/QueryUserGoodsData:
  11966. get:
  11967. parameters:
  11968. - description: 资金账户ID
  11969. in: query
  11970. name: accountid
  11971. required: true
  11972. type: integer
  11973. produces:
  11974. - application/json
  11975. responses:
  11976. "200":
  11977. description: OK
  11978. schema:
  11979. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  11980. "500":
  11981. description: Internal Server Error
  11982. schema:
  11983. $ref: '#/definitions/app.Response'
  11984. security:
  11985. - ApiKeyAuth: []
  11986. summary: 查询远期订单信息
  11987. tags:
  11988. - 产能预售
  11989. /Common/GetAllEnums:
  11990. get:
  11991. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  11992. parameters:
  11993. - description: 起始自增ID
  11994. in: query
  11995. name: autoid
  11996. type: integer
  11997. produces:
  11998. - application/json
  11999. responses:
  12000. "200":
  12001. description: OK
  12002. schema:
  12003. $ref: '#/definitions/models.Enumdicitem'
  12004. "500":
  12005. description: Internal Server Error
  12006. schema:
  12007. $ref: '#/definitions/app.Response'
  12008. summary: 获取所有枚举信息
  12009. tags:
  12010. - 通用服务
  12011. /Common/GetClientMenus:
  12012. get:
  12013. parameters:
  12014. - description: 登录账号
  12015. in: query
  12016. name: loginID
  12017. required: true
  12018. type: integer
  12019. - description: 终端类型,0:PC 1:Mobile
  12020. in: query
  12021. name: clientType
  12022. type: integer
  12023. produces:
  12024. - application/json
  12025. responses:
  12026. "200":
  12027. description: OK
  12028. schema:
  12029. items:
  12030. $ref: '#/definitions/common.ClientMenu'
  12031. type: array
  12032. "500":
  12033. description: Internal Server Error
  12034. schema:
  12035. $ref: '#/definitions/app.Response'
  12036. security:
  12037. - ApiKeyAuth: []
  12038. summary: 获取交易端菜单
  12039. tags:
  12040. - 通用服务
  12041. /Common/GetDivisions:
  12042. get:
  12043. produces:
  12044. - application/json
  12045. responses:
  12046. "200":
  12047. description: OK
  12048. schema:
  12049. $ref: '#/definitions/models.Division'
  12050. "500":
  12051. description: Internal Server Error
  12052. schema:
  12053. $ref: '#/definitions/app.Response'
  12054. summary: 查询区域信息
  12055. tags:
  12056. - 通用服务
  12057. /Common/GetServerTime:
  12058. get:
  12059. produces:
  12060. - application/json
  12061. responses:
  12062. "200":
  12063. description: OK
  12064. schema:
  12065. $ref: '#/definitions/app.Response'
  12066. "500":
  12067. description: Internal Server Error
  12068. schema:
  12069. $ref: '#/definitions/app.Response'
  12070. summary: 获取服务器时间
  12071. tags:
  12072. - 通用服务
  12073. /Common/NoticeReaded:
  12074. post:
  12075. parameters:
  12076. - description: 登录账号
  12077. in: query
  12078. name: loginID
  12079. required: true
  12080. type: integer
  12081. - description: 通知公告ID
  12082. in: query
  12083. name: noticeID
  12084. required: true
  12085. type: integer
  12086. produces:
  12087. - application/json
  12088. responses:
  12089. "200":
  12090. description: OK
  12091. schema:
  12092. $ref: '#/definitions/app.Response'
  12093. "500":
  12094. description: Internal Server Error
  12095. schema:
  12096. $ref: '#/definitions/app.Response'
  12097. security:
  12098. - ApiKeyAuth: []
  12099. summary: 通知公告设置已读请求
  12100. tags:
  12101. - 通用服务
  12102. /Common/QueryErrorInfos:
  12103. get:
  12104. description: 如果传入rowNumber,则返回此rowNumber后的数据
  12105. parameters:
  12106. - description: 起始行号前索引
  12107. in: query
  12108. name: rowNumber
  12109. type: string
  12110. produces:
  12111. - application/json
  12112. responses:
  12113. "200":
  12114. description: OK
  12115. schema:
  12116. $ref: '#/definitions/models.QueryErrorInfosRsp'
  12117. "500":
  12118. description: Internal Server Error
  12119. schema:
  12120. $ref: '#/definitions/app.Response'
  12121. summary: 获取数据库错误信息
  12122. tags:
  12123. - 通用服务
  12124. /Common/QueryImageConfigs:
  12125. get:
  12126. parameters:
  12127. - description: 类型 - 1:App首页轮播 2:我的
  12128. in: query
  12129. name: imageType
  12130. type: integer
  12131. produces:
  12132. - application/json
  12133. responses:
  12134. "200":
  12135. description: OK
  12136. schema:
  12137. $ref: '#/definitions/common.QueryImageConfigsRsp'
  12138. "500":
  12139. description: Internal Server Error
  12140. schema:
  12141. $ref: '#/definitions/app.Response'
  12142. summary: 查询轮播图配置信息
  12143. tags:
  12144. - 通用服务
  12145. /Common/QueryNotice:
  12146. get:
  12147. parameters:
  12148. - description: 页码
  12149. in: query
  12150. name: page
  12151. type: integer
  12152. - description: 每页条数
  12153. in: query
  12154. name: pagesize
  12155. type: integer
  12156. - description: 登录账号
  12157. in: query
  12158. name: loginID
  12159. required: true
  12160. type: integer
  12161. - description: 消息类型 - 1:公告通知 2:系统消息
  12162. in: query
  12163. name: msgType
  12164. type: integer
  12165. - description: 是否只获取未读信息
  12166. in: query
  12167. name: onlyUnRead
  12168. type: boolean
  12169. - description: 自增ID,传入后会返回这个ID后面的记录
  12170. in: query
  12171. name: lastID
  12172. type: integer
  12173. produces:
  12174. - application/json
  12175. responses:
  12176. "200":
  12177. description: OK
  12178. schema:
  12179. $ref: '#/definitions/common.QueryNoticeRsp'
  12180. "500":
  12181. description: Internal Server Error
  12182. schema:
  12183. $ref: '#/definitions/app.Response'
  12184. security:
  12185. - ApiKeyAuth: []
  12186. summary: 通知公告系统消息查询
  12187. tags:
  12188. - 通用服务
  12189. /Common/QueryProvincesAndCities:
  12190. get:
  12191. parameters:
  12192. - description: 省ID
  12193. in: query
  12194. name: provinceID
  12195. type: integer
  12196. produces:
  12197. - application/json
  12198. responses:
  12199. "200":
  12200. description: OK
  12201. schema:
  12202. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  12203. "500":
  12204. description: Internal Server Error
  12205. schema:
  12206. $ref: '#/definitions/app.Response'
  12207. summary: 查询省市信息(不包括区)
  12208. tags:
  12209. - 通用服务
  12210. /Common/QueryTableDefine:
  12211. get:
  12212. parameters:
  12213. - description: 表key
  12214. in: query
  12215. name: tableKey
  12216. type: string
  12217. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  12218. in: query
  12219. name: tableType
  12220. type: integer
  12221. produces:
  12222. - application/json
  12223. responses:
  12224. "200":
  12225. description: OK
  12226. schema:
  12227. $ref: '#/definitions/common.QueryTableDefineRsp'
  12228. "500":
  12229. description: Internal Server Error
  12230. schema:
  12231. $ref: '#/definitions/app.Response'
  12232. summary: 查询交易端列表头信息
  12233. tags:
  12234. - 通用服务
  12235. /Common/QueryTraderMenu:
  12236. get:
  12237. parameters:
  12238. - description: 登录账号
  12239. in: query
  12240. name: loginid
  12241. required: true
  12242. type: integer
  12243. produces:
  12244. - application/json
  12245. responses:
  12246. "200":
  12247. description: OK
  12248. schema:
  12249. $ref: '#/definitions/common.QueryTraderMenuRsp'
  12250. "500":
  12251. description: Internal Server Error
  12252. schema:
  12253. $ref: '#/definitions/app.Response'
  12254. summary: 查询交易端菜单
  12255. tags:
  12256. - 通用服务
  12257. /Delivery/QueryDeliveryRelation:
  12258. get:
  12259. parameters:
  12260. - description: 商品ID
  12261. in: query
  12262. name: goodsid
  12263. type: integer
  12264. - description: 品种ID
  12265. in: query
  12266. name: deliverygoodsid
  12267. type: integer
  12268. - description: 市场ID
  12269. in: query
  12270. name: marketid
  12271. type: integer
  12272. produces:
  12273. - application/json
  12274. responses:
  12275. "200":
  12276. description: OK
  12277. schema:
  12278. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  12279. "500":
  12280. description: Internal Server Error
  12281. schema:
  12282. $ref: '#/definitions/app.Response'
  12283. security:
  12284. - ApiKeyAuth: []
  12285. summary: 查询商品交割关系表
  12286. tags:
  12287. - 交割服务
  12288. /Ermcp/GetErmcpGoods:
  12289. get:
  12290. parameters:
  12291. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  12292. in: query
  12293. name: lastUpdateTime
  12294. type: string
  12295. produces:
  12296. - application/json
  12297. responses:
  12298. "200":
  12299. description: OK
  12300. schema:
  12301. $ref: '#/definitions/models.Goods'
  12302. "500":
  12303. description: Internal Server Error
  12304. schema:
  12305. $ref: '#/definitions/app.Response'
  12306. security:
  12307. - ApiKeyAuth: []
  12308. summary: 查询企业风管期货商品信息
  12309. tags:
  12310. - 企业风险管理(app)
  12311. /Ermcp/GetErmcpGoodsSortByPosition:
  12312. get:
  12313. parameters:
  12314. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  12315. in: query
  12316. name: sortIndex
  12317. type: string
  12318. produces:
  12319. - application/json
  12320. responses:
  12321. "200":
  12322. description: OK
  12323. schema:
  12324. $ref: '#/definitions/models.Goodssortbypreposition'
  12325. "500":
  12326. description: Internal Server Error
  12327. schema:
  12328. $ref: '#/definitions/app.Response'
  12329. security:
  12330. - ApiKeyAuth: []
  12331. summary: 查询企业风管期货主力、次主力商品信息
  12332. tags:
  12333. - 企业风险管理(app)
  12334. /Ermcp/GetErmcpOutAccountStatus:
  12335. get:
  12336. parameters:
  12337. - description: 登录账号
  12338. in: query
  12339. name: loginID
  12340. required: true
  12341. type: integer
  12342. produces:
  12343. - application/json
  12344. responses:
  12345. "200":
  12346. description: OK
  12347. schema:
  12348. $ref: '#/definitions/models.Hedgeoutmainconfig'
  12349. "500":
  12350. description: Internal Server Error
  12351. schema:
  12352. $ref: '#/definitions/app.Response'
  12353. security:
  12354. - ApiKeyAuth: []
  12355. summary: 获取目标登录账号当前对冲账号在线状态
  12356. tags:
  12357. - 企业风险管理(app)
  12358. /Ermcp/GetErmcpRoleFuncMenuLists:
  12359. get:
  12360. parameters:
  12361. - description: 登录账号
  12362. in: query
  12363. name: loginID
  12364. required: true
  12365. type: integer
  12366. produces:
  12367. - application/json
  12368. responses:
  12369. "200":
  12370. description: OK
  12371. schema:
  12372. $ref: '#/definitions/models.Funcmenulist'
  12373. "500":
  12374. description: Internal Server Error
  12375. schema:
  12376. $ref: '#/definitions/app.Response'
  12377. security:
  12378. - ApiKeyAuth: []
  12379. summary: 获取企业风管终端权限
  12380. tags:
  12381. - 企业风险管理(app)
  12382. /Ermcp/QryReportAreaSpotPL:
  12383. get:
  12384. parameters:
  12385. - description: 用户ID
  12386. in: query
  12387. name: userid
  12388. required: true
  12389. type: integer
  12390. - description: 查询类型 1-日报表 2-月报表
  12391. in: query
  12392. name: querytype
  12393. required: true
  12394. type: integer
  12395. - description: 查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)
  12396. in: query
  12397. name: querydate
  12398. required: true
  12399. type: string
  12400. - description: 现货商品ID
  12401. in: query
  12402. name: wrstandardid
  12403. type: integer
  12404. - description: 品牌ID
  12405. in: query
  12406. name: spotgoodsbrandid
  12407. type: integer
  12408. - description: 型号ID
  12409. in: query
  12410. name: spotgoodsmodelid
  12411. type: integer
  12412. produces:
  12413. - application/json
  12414. responses:
  12415. "200":
  12416. description: OK
  12417. schema:
  12418. items:
  12419. $ref: '#/definitions/models.ErmcpReportAreaSpotPL'
  12420. type: array
  12421. "500":
  12422. description: Internal Server Error
  12423. schema:
  12424. $ref: '#/definitions/app.Response'
  12425. security:
  12426. - ApiKeyAuth: []
  12427. summary: 查询现货损益报表(现货损益报表)
  12428. tags:
  12429. - 企业风险管理(app)
  12430. /Ermcp/QryReportDayExposure:
  12431. get:
  12432. parameters:
  12433. - description: 用户ID
  12434. in: query
  12435. name: userid
  12436. required: true
  12437. type: integer
  12438. - description: 交易日(格式:yyyyMMdd)
  12439. in: query
  12440. name: tradedate
  12441. required: true
  12442. type: string
  12443. produces:
  12444. - application/json
  12445. responses:
  12446. "200":
  12447. description: OK
  12448. schema:
  12449. items:
  12450. $ref: '#/definitions/ermcp.QryReportExposureDayRsp'
  12451. type: array
  12452. "500":
  12453. description: Internal Server Error
  12454. schema:
  12455. $ref: '#/definitions/app.Response'
  12456. security:
  12457. - ApiKeyAuth: []
  12458. summary: 查询敞口日报表(菜单:报表查询/敞口报表/敞口日报表)
  12459. tags:
  12460. - 企业风险管理(app)
  12461. /Ermcp/QryReportDayFinance:
  12462. get:
  12463. parameters:
  12464. - description: 用户ID
  12465. in: query
  12466. name: userid
  12467. required: true
  12468. type: integer
  12469. - description: 交易日(格式:yyyyMMdd)
  12470. in: query
  12471. name: tradedate
  12472. required: true
  12473. type: string
  12474. produces:
  12475. - application/json
  12476. responses:
  12477. "200":
  12478. description: OK
  12479. schema:
  12480. items:
  12481. $ref: '#/definitions/ermcp.QryReportFinanceDayRsp'
  12482. type: array
  12483. "500":
  12484. description: Internal Server Error
  12485. schema:
  12486. $ref: '#/definitions/app.Response'
  12487. security:
  12488. - ApiKeyAuth: []
  12489. summary: 查询财务日报表(菜单:报表查询/财务报表/日报表)
  12490. tags:
  12491. - 企业风险管理(app)
  12492. /Ermcp/QryReportDayFinanceFp:
  12493. get:
  12494. parameters:
  12495. - description: 用户ID
  12496. in: query
  12497. name: userid
  12498. required: true
  12499. type: integer
  12500. - description: 交易日(格式:yyyyMMdd)
  12501. in: query
  12502. name: tradedate
  12503. required: true
  12504. type: string
  12505. produces:
  12506. - application/json
  12507. responses:
  12508. "200":
  12509. description: OK
  12510. schema:
  12511. items:
  12512. $ref: '#/definitions/ermcp.QryReportFinanceKxRsp'
  12513. type: array
  12514. "500":
  12515. description: Internal Server Error
  12516. schema:
  12517. $ref: '#/definitions/app.Response'
  12518. security:
  12519. - ApiKeyAuth: []
  12520. summary: 查询财务日报表发票(菜单:报表查询/财务报表/日报表/发票)
  12521. tags:
  12522. - 企业风险管理(app)
  12523. /Ermcp/QryReportDayFinanceKx:
  12524. get:
  12525. parameters:
  12526. - description: 用户ID
  12527. in: query
  12528. name: userid
  12529. required: true
  12530. type: integer
  12531. - description: 交易日(格式:yyyyMMdd)
  12532. in: query
  12533. name: tradedate
  12534. required: true
  12535. type: string
  12536. produces:
  12537. - application/json
  12538. responses:
  12539. "200":
  12540. description: OK
  12541. schema:
  12542. items:
  12543. $ref: '#/definitions/ermcp.QryReportFinanceKxRsp'
  12544. type: array
  12545. "500":
  12546. description: Internal Server Error
  12547. schema:
  12548. $ref: '#/definitions/app.Response'
  12549. security:
  12550. - ApiKeyAuth: []
  12551. summary: 查询财务日报表款项(菜单:报表查询/财务报表/日报表/款项)
  12552. tags:
  12553. - 企业风险管理(app)
  12554. /Ermcp/QryReportDaySpot:
  12555. get:
  12556. parameters:
  12557. - description: 用户ID
  12558. in: query
  12559. name: userid
  12560. required: true
  12561. type: integer
  12562. - description: 交易日(格式:yyyyMMdd)
  12563. in: query
  12564. name: tradedate
  12565. required: true
  12566. type: string
  12567. produces:
  12568. - application/json
  12569. responses:
  12570. "200":
  12571. description: OK
  12572. schema:
  12573. items:
  12574. $ref: '#/definitions/ermcp.QryReportSpotDayRsp'
  12575. type: array
  12576. "500":
  12577. description: Internal Server Error
  12578. schema:
  12579. $ref: '#/definitions/app.Response'
  12580. security:
  12581. - ApiKeyAuth: []
  12582. summary: 查询现货日报表(菜单:报表查询/现货报表/现货日报表)
  12583. tags:
  12584. - 企业风险管理(app)
  12585. /Ermcp/QryReportDaySpotDetail:
  12586. get:
  12587. parameters:
  12588. - description: 用户ID
  12589. in: query
  12590. name: userid
  12591. required: true
  12592. type: integer
  12593. - description: 现货商品id
  12594. in: query
  12595. name: wrstandardid
  12596. required: true
  12597. type: integer
  12598. - description: 交易日(格式:yyyyMMdd)
  12599. in: query
  12600. name: tradedate
  12601. required: true
  12602. type: string
  12603. produces:
  12604. - application/json
  12605. responses:
  12606. "200":
  12607. description: OK
  12608. schema:
  12609. items:
  12610. $ref: '#/definitions/ermcp.QryReportDaySpotDetailRsp'
  12611. type: array
  12612. "500":
  12613. description: Internal Server Error
  12614. schema:
  12615. $ref: '#/definitions/app.Response'
  12616. security:
  12617. - ApiKeyAuth: []
  12618. summary: 查询现货日报表详情(菜单:报表查询/现货报表/现货日报表详情)
  12619. tags:
  12620. - 企业风险管理(app)
  12621. /Ermcp/QryReportMonthFinance:
  12622. get:
  12623. parameters:
  12624. - description: 用户ID
  12625. in: query
  12626. name: userid
  12627. required: true
  12628. type: integer
  12629. - description: 周期时间:月(格式:yyyyMM)
  12630. in: query
  12631. name: cycletime
  12632. required: true
  12633. type: string
  12634. produces:
  12635. - application/json
  12636. responses:
  12637. "200":
  12638. description: OK
  12639. schema:
  12640. items:
  12641. $ref: '#/definitions/ermcp.QryReportFinanceMonRsp'
  12642. type: array
  12643. "500":
  12644. description: Internal Server Error
  12645. schema:
  12646. $ref: '#/definitions/app.Response'
  12647. security:
  12648. - ApiKeyAuth: []
  12649. summary: 查询财务月报表(菜单:报表查询/财务报表/月报表)
  12650. tags:
  12651. - 企业风险管理(app)
  12652. /Ermcp/QryReportMonthSpot:
  12653. get:
  12654. parameters:
  12655. - description: 用户ID
  12656. in: query
  12657. name: userid
  12658. required: true
  12659. type: integer
  12660. - description: 周期时间:月(格式:yyyyMM)
  12661. in: query
  12662. name: cycletime
  12663. required: true
  12664. type: string
  12665. produces:
  12666. - application/json
  12667. responses:
  12668. "200":
  12669. description: OK
  12670. schema:
  12671. items:
  12672. $ref: '#/definitions/ermcp.QryReportSpotMonRsp'
  12673. type: array
  12674. "500":
  12675. description: Internal Server Error
  12676. schema:
  12677. $ref: '#/definitions/app.Response'
  12678. security:
  12679. - ApiKeyAuth: []
  12680. summary: 查询现货月报表(菜单:报表查询/现货报表/现货月报表)
  12681. tags:
  12682. - 企业风险管理(app)
  12683. /Ermcp/QryReportMonthSpotDetail:
  12684. get:
  12685. parameters:
  12686. - description: 用户ID
  12687. in: query
  12688. name: userid
  12689. required: true
  12690. type: integer
  12691. - description: 现货商品id
  12692. in: query
  12693. name: wrstandardid
  12694. required: true
  12695. type: integer
  12696. - description: 周期时间:月(格式:yyyyMM)
  12697. in: query
  12698. name: cycletime
  12699. required: true
  12700. type: string
  12701. produces:
  12702. - application/json
  12703. responses:
  12704. "200":
  12705. description: OK
  12706. schema:
  12707. items:
  12708. $ref: '#/definitions/ermcp.QryReportSpotMonthDetailRsp'
  12709. type: array
  12710. "500":
  12711. description: Internal Server Error
  12712. schema:
  12713. $ref: '#/definitions/app.Response'
  12714. security:
  12715. - ApiKeyAuth: []
  12716. summary: 查询现货月报表详情(菜单:报表查询/现货月报表/现货月报表详情)
  12717. tags:
  12718. - 企业风险管理(app)
  12719. /Ermcp/QueryAccMgrBizGroupSet:
  12720. get:
  12721. parameters:
  12722. - description: 用户ID
  12723. in: query
  12724. name: userid
  12725. required: true
  12726. type: integer
  12727. produces:
  12728. - application/json
  12729. responses:
  12730. "200":
  12731. description: OK
  12732. schema:
  12733. items:
  12734. $ref: '#/definitions/models.ErmcpBizGroupEx'
  12735. type: array
  12736. "500":
  12737. description: Internal Server Error
  12738. schema:
  12739. $ref: '#/definitions/app.Response'
  12740. security:
  12741. - ApiKeyAuth: []
  12742. summary: 查询业务类型分组(账户管理/账户设置)
  12743. tags:
  12744. - 企业风险管理(app)
  12745. /Ermcp/QueryAccMgrLoginUser:
  12746. get:
  12747. parameters:
  12748. - description: 用户ID
  12749. in: query
  12750. name: userid
  12751. required: true
  12752. type: integer
  12753. produces:
  12754. - application/json
  12755. responses:
  12756. "200":
  12757. description: OK
  12758. schema:
  12759. items:
  12760. $ref: '#/definitions/models.ErmcpLoginUserEx'
  12761. type: array
  12762. "500":
  12763. description: Internal Server Error
  12764. schema:
  12765. $ref: '#/definitions/app.Response'
  12766. security:
  12767. - ApiKeyAuth: []
  12768. summary: 查询账户管理登录账号(账户管理/登录账号)
  12769. tags:
  12770. - 企业风险管理(app)
  12771. /Ermcp/QueryAccMgrMainAccountInfo:
  12772. get:
  12773. parameters:
  12774. - description: 用户ID
  12775. in: query
  12776. name: userid
  12777. type: integer
  12778. - description: 主账号id
  12779. in: query
  12780. name: accountid
  12781. type: integer
  12782. produces:
  12783. - application/json
  12784. responses:
  12785. "200":
  12786. description: OK
  12787. schema:
  12788. items:
  12789. $ref: '#/definitions/models.MainAccountInfo'
  12790. type: array
  12791. "500":
  12792. description: Internal Server Error
  12793. schema:
  12794. $ref: '#/definitions/app.Response'
  12795. security:
  12796. - ApiKeyAuth: []
  12797. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  12798. tags:
  12799. - 企业风险管理(app)
  12800. /Ermcp/QueryAccMgrRole:
  12801. get:
  12802. parameters:
  12803. - description: 用户ID
  12804. in: query
  12805. name: userid
  12806. required: true
  12807. type: integer
  12808. produces:
  12809. - application/json
  12810. responses:
  12811. "200":
  12812. description: OK
  12813. schema:
  12814. items:
  12815. $ref: '#/definitions/models.ErmcpRole'
  12816. type: array
  12817. "500":
  12818. description: Internal Server Error
  12819. schema:
  12820. $ref: '#/definitions/app.Response'
  12821. security:
  12822. - ApiKeyAuth: []
  12823. summary: 查询账户管理角色设置(账户管理/角色设置)
  12824. tags:
  12825. - 企业风险管理(app)
  12826. /Ermcp/QueryAccMgrRoleMenu:
  12827. get:
  12828. parameters:
  12829. - description: 用户ID
  12830. in: query
  12831. name: userid
  12832. required: true
  12833. type: integer
  12834. - description: 角色id(可多个,逗号隔开)
  12835. in: query
  12836. name: roleid
  12837. type: string
  12838. produces:
  12839. - application/json
  12840. responses:
  12841. "200":
  12842. description: OK
  12843. schema:
  12844. items:
  12845. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  12846. type: array
  12847. "500":
  12848. description: Internal Server Error
  12849. schema:
  12850. $ref: '#/definitions/app.Response'
  12851. security:
  12852. - ApiKeyAuth: []
  12853. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  12854. tags:
  12855. - 企业风险管理(app)
  12856. /Ermcp/QueryAccMgrTaAccountInfo:
  12857. get:
  12858. parameters:
  12859. - description: 用户ID
  12860. in: query
  12861. name: userid
  12862. required: true
  12863. type: integer
  12864. - description: 账号id
  12865. in: query
  12866. name: accountid
  12867. type: integer
  12868. produces:
  12869. - application/json
  12870. responses:
  12871. "200":
  12872. description: OK
  12873. schema:
  12874. items:
  12875. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  12876. type: array
  12877. "500":
  12878. description: Internal Server Error
  12879. schema:
  12880. $ref: '#/definitions/app.Response'
  12881. security:
  12882. - ApiKeyAuth: []
  12883. summary: 查询账户管理授信(账户管理/账户设置/授信)
  12884. tags:
  12885. - 企业风险管理(app)
  12886. /Ermcp/QueryAccMgrTaaccount:
  12887. get:
  12888. parameters:
  12889. - description: 用户ID
  12890. in: query
  12891. name: userid
  12892. required: true
  12893. type: integer
  12894. produces:
  12895. - application/json
  12896. responses:
  12897. "200":
  12898. description: OK
  12899. schema:
  12900. items:
  12901. $ref: '#/definitions/models.ErmcpTaAccountEx'
  12902. type: array
  12903. "500":
  12904. description: Internal Server Error
  12905. schema:
  12906. $ref: '#/definitions/app.Response'
  12907. security:
  12908. - ApiKeyAuth: []
  12909. summary: 查询账户管理期货账号(账户管理/期货账号)
  12910. tags:
  12911. - 企业风险管理(app)
  12912. /Ermcp/QueryAreaStock:
  12913. get:
  12914. parameters:
  12915. - description: 用户ID
  12916. in: query
  12917. name: userid
  12918. required: true
  12919. type: integer
  12920. produces:
  12921. - application/json
  12922. responses:
  12923. "200":
  12924. description: OK
  12925. schema:
  12926. items:
  12927. $ref: '#/definitions/models.ErmcpAreaStock'
  12928. type: array
  12929. "500":
  12930. description: Internal Server Error
  12931. schema:
  12932. $ref: '#/definitions/app.Response'
  12933. security:
  12934. - ApiKeyAuth: []
  12935. summary: 查询机构库存(库存管理/当前库存)
  12936. tags:
  12937. - 企业风险管理(app)
  12938. /Ermcp/QueryAreaStockApply:
  12939. get:
  12940. parameters:
  12941. - description: 用户ID
  12942. in: query
  12943. name: userid
  12944. required: true
  12945. type: integer
  12946. - description: 出入库类型(可多项,逗号隔开) 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  12947. in: query
  12948. name: inouttype
  12949. type: string
  12950. - description: 合同ID
  12951. in: query
  12952. name: spotcontractid
  12953. type: integer
  12954. - description: 现货商品ID
  12955. in: query
  12956. name: wrstandardid
  12957. type: integer
  12958. - description: 品牌ID
  12959. in: query
  12960. name: spotgoodsbrandid
  12961. type: integer
  12962. - description: 型号ID
  12963. in: query
  12964. name: spotgoodsmodelid
  12965. type: integer
  12966. - description: 仓库ID
  12967. in: query
  12968. name: warehouseinfoid
  12969. type: integer
  12970. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  12971. in: query
  12972. name: applystatus
  12973. type: string
  12974. produces:
  12975. - application/json
  12976. responses:
  12977. "200":
  12978. description: OK
  12979. schema:
  12980. items:
  12981. $ref: '#/definitions/ermcp.QryAreaStockApplyRsp'
  12982. type: array
  12983. "500":
  12984. description: Internal Server Error
  12985. schema:
  12986. $ref: '#/definitions/app.Response'
  12987. security:
  12988. - ApiKeyAuth: []
  12989. summary: 查询库存申请(出入库记录|库存审核)
  12990. tags:
  12991. - 企业风险管理(app)
  12992. /Ermcp/QueryAreaStockApplySum:
  12993. get:
  12994. parameters:
  12995. - description: 合同ID
  12996. in: query
  12997. name: spotcontractid
  12998. type: integer
  12999. produces:
  13000. - application/json
  13001. responses:
  13002. "200":
  13003. description: OK
  13004. schema:
  13005. items:
  13006. $ref: '#/definitions/ermcp.QueryAreaStockApplySumRsp'
  13007. type: array
  13008. "500":
  13009. description: Internal Server Error
  13010. schema:
  13011. $ref: '#/definitions/app.Response'
  13012. security:
  13013. - ApiKeyAuth: []
  13014. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  13015. tags:
  13016. - 企业风险管理(app)
  13017. /Ermcp/QueryAreaStockReport:
  13018. get:
  13019. parameters:
  13020. - description: 用户ID
  13021. in: query
  13022. name: userid
  13023. required: true
  13024. type: integer
  13025. - description: 查询类型 1-日报表 2-月报表
  13026. in: query
  13027. name: querytype
  13028. required: true
  13029. type: integer
  13030. - description: 查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)
  13031. in: query
  13032. name: querydate
  13033. required: true
  13034. type: string
  13035. - description: 现货商品ID
  13036. in: query
  13037. name: wrstandardid
  13038. type: integer
  13039. - description: 品牌ID
  13040. in: query
  13041. name: spotgoodsbrandid
  13042. type: integer
  13043. - description: 型号ID
  13044. in: query
  13045. name: spotgoodsmodelid
  13046. type: integer
  13047. - description: 仓库ID
  13048. in: query
  13049. name: warehouseinfoid
  13050. type: integer
  13051. produces:
  13052. - application/json
  13053. responses:
  13054. "200":
  13055. description: OK
  13056. schema:
  13057. items:
  13058. $ref: '#/definitions/models.ErmcpAreaStockReport'
  13059. type: array
  13060. "500":
  13061. description: Internal Server Error
  13062. schema:
  13063. $ref: '#/definitions/app.Response'
  13064. security:
  13065. - ApiKeyAuth: []
  13066. summary: 查询库存报表
  13067. tags:
  13068. - 企业风险管理(app)
  13069. /Ermcp/QueryAreaStockReportDetail:
  13070. get:
  13071. parameters:
  13072. - description: 用户ID
  13073. in: query
  13074. name: userid
  13075. required: true
  13076. type: integer
  13077. - description: 查询类型 1-日报表明细 2-月报表明细
  13078. in: query
  13079. name: querytype
  13080. required: true
  13081. type: integer
  13082. - description: 明细类型 1:入库明细(采购入库+生产入库) 2:出库明细(销售出库+生产出库)
  13083. in: query
  13084. name: detailtype
  13085. required: true
  13086. type: integer
  13087. - description: 查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)
  13088. in: query
  13089. name: querydate
  13090. required: true
  13091. type: string
  13092. - description: 现货商品ID
  13093. in: query
  13094. name: wrstandardid
  13095. type: integer
  13096. - description: 品牌ID
  13097. in: query
  13098. name: spotgoodsbrandid
  13099. type: integer
  13100. - description: 型号ID
  13101. in: query
  13102. name: spotgoodsmodelid
  13103. type: integer
  13104. - description: 仓库ID
  13105. in: query
  13106. name: warehouseinfoid
  13107. type: integer
  13108. produces:
  13109. - application/json
  13110. responses:
  13111. "200":
  13112. description: OK
  13113. schema:
  13114. items:
  13115. $ref: '#/definitions/models.ErmcpAreaStockApply'
  13116. type: array
  13117. "500":
  13118. description: Internal Server Error
  13119. schema:
  13120. $ref: '#/definitions/app.Response'
  13121. security:
  13122. - ApiKeyAuth: []
  13123. summary: 查询库存报表明细
  13124. tags:
  13125. - 企业风险管理(app)
  13126. /Ermcp/QueryAvaildGoodsGroup:
  13127. get:
  13128. parameters:
  13129. - description: 所属机构ID
  13130. in: query
  13131. name: userid
  13132. required: true
  13133. type: integer
  13134. produces:
  13135. - application/json
  13136. responses:
  13137. "200":
  13138. description: OK
  13139. schema:
  13140. items:
  13141. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  13142. type: array
  13143. "500":
  13144. description: Internal Server Error
  13145. schema:
  13146. $ref: '#/definitions/app.Response'
  13147. security:
  13148. - ApiKeyAuth: []
  13149. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  13150. tags:
  13151. - 企业风险管理(app)
  13152. /Ermcp/QueryBusinessDj:
  13153. get:
  13154. parameters:
  13155. - description: 用户ID
  13156. in: query
  13157. name: UserId
  13158. required: true
  13159. type: integer
  13160. - description: 现货合同ID, 不填则查所有
  13161. in: query
  13162. name: relatedid
  13163. type: string
  13164. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13165. in: query
  13166. name: applystatus
  13167. type: string
  13168. produces:
  13169. - application/json
  13170. responses:
  13171. "200":
  13172. description: OK
  13173. schema:
  13174. items:
  13175. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  13176. type: array
  13177. "500":
  13178. description: Internal Server Error
  13179. schema:
  13180. $ref: '#/definitions/app.Response'
  13181. security:
  13182. - ApiKeyAuth: []
  13183. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  13184. tags:
  13185. - 企业风险管理(app)
  13186. /Ermcp/QueryBusinessFp:
  13187. get:
  13188. parameters:
  13189. - description: 用户ID
  13190. in: query
  13191. name: UserId
  13192. required: true
  13193. type: integer
  13194. - description: 现货合同ID, 不填则查所有
  13195. in: query
  13196. name: relatedid
  13197. type: string
  13198. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13199. in: query
  13200. name: applystatus
  13201. type: string
  13202. produces:
  13203. - application/json
  13204. responses:
  13205. "200":
  13206. description: OK
  13207. schema:
  13208. items:
  13209. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  13210. type: array
  13211. "500":
  13212. description: Internal Server Error
  13213. schema:
  13214. $ref: '#/definitions/app.Response'
  13215. security:
  13216. - ApiKeyAuth: []
  13217. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  13218. tags:
  13219. - 企业风险管理(app)
  13220. /Ermcp/QueryBusinessJs:
  13221. get:
  13222. parameters:
  13223. - description: 用户ID
  13224. in: query
  13225. name: UserId
  13226. required: true
  13227. type: integer
  13228. - description: 现货合同ID, 不填则查所有
  13229. in: query
  13230. name: relatedid
  13231. type: string
  13232. - description: 操作申请id
  13233. in: query
  13234. name: operateapplyid
  13235. type: string
  13236. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13237. in: query
  13238. name: applystatus
  13239. type: string
  13240. produces:
  13241. - application/json
  13242. responses:
  13243. "200":
  13244. description: OK
  13245. schema:
  13246. items:
  13247. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  13248. type: array
  13249. "500":
  13250. description: Internal Server Error
  13251. schema:
  13252. $ref: '#/definitions/app.Response'
  13253. security:
  13254. - ApiKeyAuth: []
  13255. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  13256. tags:
  13257. - 企业风险管理(app)
  13258. /Ermcp/QueryBusinessJsEx:
  13259. get:
  13260. parameters:
  13261. - description: 用户ID
  13262. in: query
  13263. name: UserId
  13264. required: true
  13265. type: integer
  13266. - description: 现货合同ID, 不填则查所有
  13267. in: query
  13268. name: relatedid
  13269. type: string
  13270. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13271. in: query
  13272. name: applystatus
  13273. type: string
  13274. produces:
  13275. - application/json
  13276. responses:
  13277. "200":
  13278. description: OK
  13279. schema:
  13280. items:
  13281. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  13282. type: array
  13283. "500":
  13284. description: Internal Server Error
  13285. schema:
  13286. $ref: '#/definitions/app.Response'
  13287. security:
  13288. - ApiKeyAuth: []
  13289. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  13290. tags:
  13291. - 企业风险管理(app)
  13292. /Ermcp/QueryBusinessKx:
  13293. get:
  13294. parameters:
  13295. - description: 用户ID
  13296. in: query
  13297. name: UserId
  13298. required: true
  13299. type: integer
  13300. - description: 现货合同ID, 不填则查所有
  13301. in: query
  13302. name: relatedid
  13303. type: string
  13304. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13305. in: query
  13306. name: applystatus
  13307. type: string
  13308. produces:
  13309. - application/json
  13310. responses:
  13311. "200":
  13312. description: OK
  13313. schema:
  13314. items:
  13315. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  13316. type: array
  13317. "500":
  13318. description: Internal Server Error
  13319. schema:
  13320. $ref: '#/definitions/app.Response'
  13321. security:
  13322. - ApiKeyAuth: []
  13323. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  13324. tags:
  13325. - 企业风险管理(app)
  13326. /Ermcp/QueryChangeLog:
  13327. get:
  13328. parameters:
  13329. - description: 合同ID
  13330. in: query
  13331. name: RelatedId
  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.QryOPLogRsp'
  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/QueryContract:
  13353. get:
  13354. parameters:
  13355. - description: 用户ID
  13356. in: query
  13357. name: userId
  13358. required: true
  13359. type: integer
  13360. - description: 合同类型 1-采购, -1-销售
  13361. in: query
  13362. name: contracttype
  13363. required: true
  13364. type: integer
  13365. - description: 查询类型 1-全部 2-待点价 3-履约结算
  13366. in: query
  13367. name: querytype
  13368. required: true
  13369. type: integer
  13370. - description: 合同ID(SpotContractId)
  13371. in: query
  13372. name: contractid
  13373. type: string
  13374. produces:
  13375. - application/json
  13376. responses:
  13377. "200":
  13378. description: OK
  13379. schema:
  13380. items:
  13381. $ref: '#/definitions/ermcp.QryErmcpRsp'
  13382. type: array
  13383. "500":
  13384. description: Internal Server Error
  13385. schema:
  13386. $ref: '#/definitions/app.Response'
  13387. security:
  13388. - ApiKeyAuth: []
  13389. summary: 查询合同(采购和销售)
  13390. tags:
  13391. - 企业风险管理(app)
  13392. /Ermcp/QueryErmcpHisOrderDetails:
  13393. get:
  13394. parameters:
  13395. - description: 资金账户ID
  13396. in: query
  13397. name: accountID
  13398. required: true
  13399. type: integer
  13400. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  13401. in: query
  13402. name: startDate
  13403. type: string
  13404. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  13405. in: query
  13406. name: endDate
  13407. type: string
  13408. produces:
  13409. - application/json
  13410. responses:
  13411. "200":
  13412. description: OK
  13413. schema:
  13414. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  13415. "500":
  13416. description: Internal Server Error
  13417. schema:
  13418. $ref: '#/definitions/app.Response'
  13419. security:
  13420. - ApiKeyAuth: []
  13421. summary: 获取企业风管期货历史委托单信息
  13422. tags:
  13423. - 企业风险管理(app)
  13424. /Ermcp/QueryErmcpHisTradeDetails:
  13425. get:
  13426. parameters:
  13427. - description: 资金账户ID
  13428. in: query
  13429. name: accountID
  13430. required: true
  13431. type: integer
  13432. - description: 商品ID
  13433. in: query
  13434. name: goodsID
  13435. type: integer
  13436. - description: 买卖方向,0:买 1:卖
  13437. in: query
  13438. name: buyOrSell
  13439. type: integer
  13440. - description: 关联委托单号
  13441. in: query
  13442. name: orderID
  13443. type: integer
  13444. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  13445. in: query
  13446. name: startDate
  13447. type: string
  13448. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  13449. in: query
  13450. name: endDate
  13451. type: string
  13452. produces:
  13453. - application/json
  13454. responses:
  13455. "200":
  13456. description: OK
  13457. schema:
  13458. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  13459. "500":
  13460. description: Internal Server Error
  13461. schema:
  13462. $ref: '#/definitions/app.Response'
  13463. security:
  13464. - ApiKeyAuth: []
  13465. summary: 获取企业风管期货历史成交单信息
  13466. tags:
  13467. - 企业风险管理(app)
  13468. /Ermcp/QueryErmcpInnerHolderDetails:
  13469. get:
  13470. parameters:
  13471. - description: 资金账户ID
  13472. in: query
  13473. name: accountID
  13474. required: true
  13475. type: integer
  13476. - description: 商品ID
  13477. in: query
  13478. name: goodsID
  13479. type: integer
  13480. - description: 买卖方向,0:买 1:卖
  13481. in: query
  13482. name: buyOrSell
  13483. type: integer
  13484. produces:
  13485. - application/json
  13486. responses:
  13487. "200":
  13488. description: OK
  13489. schema:
  13490. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  13491. "500":
  13492. description: Internal Server Error
  13493. schema:
  13494. $ref: '#/definitions/app.Response'
  13495. security:
  13496. - ApiKeyAuth: []
  13497. summary: 获取企业风管期货内部持仓单信息
  13498. tags:
  13499. - 企业风险管理(app)
  13500. /Ermcp/QueryErmcpOrderDetails:
  13501. get:
  13502. parameters:
  13503. - description: 资金账户ID
  13504. in: query
  13505. name: accountID
  13506. required: true
  13507. type: integer
  13508. produces:
  13509. - application/json
  13510. responses:
  13511. "200":
  13512. description: OK
  13513. schema:
  13514. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  13515. "500":
  13516. description: Internal Server Error
  13517. schema:
  13518. $ref: '#/definitions/app.Response'
  13519. security:
  13520. - ApiKeyAuth: []
  13521. summary: 获取企业风管期货委托单信息
  13522. tags:
  13523. - 企业风险管理(app)
  13524. /Ermcp/QueryErmcpTradeDetails:
  13525. get:
  13526. parameters:
  13527. - description: 资金账户ID
  13528. in: query
  13529. name: accountID
  13530. required: true
  13531. type: integer
  13532. - description: 商品ID
  13533. in: query
  13534. name: goodsID
  13535. type: integer
  13536. - description: 买卖方向,0:买 1:卖
  13537. in: query
  13538. name: buyOrSell
  13539. type: integer
  13540. - description: 关联委托单号
  13541. in: query
  13542. name: orderID
  13543. type: integer
  13544. produces:
  13545. - application/json
  13546. responses:
  13547. "200":
  13548. description: OK
  13549. schema:
  13550. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  13551. "500":
  13552. description: Internal Server Error
  13553. schema:
  13554. $ref: '#/definitions/app.Response'
  13555. security:
  13556. - ApiKeyAuth: []
  13557. summary: 获取企业风管期货成交单信息
  13558. tags:
  13559. - 企业风险管理(app)
  13560. /Ermcp/QueryErmcpTradePosition:
  13561. get:
  13562. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  13563. parameters:
  13564. - description: 资金账户ID
  13565. in: query
  13566. name: accountID
  13567. required: true
  13568. type: integer
  13569. - description: 所属市场ID
  13570. in: query
  13571. name: marketID
  13572. type: integer
  13573. produces:
  13574. - application/json
  13575. responses:
  13576. "200":
  13577. description: OK
  13578. schema:
  13579. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  13580. "500":
  13581. description: Internal Server Error
  13582. schema:
  13583. $ref: '#/definitions/app.Response'
  13584. security:
  13585. - ApiKeyAuth: []
  13586. summary: 获取企业风管期货持仓头寸信息
  13587. tags:
  13588. - 企业风险管理(app)
  13589. /Ermcp/QueryExposureDetail:
  13590. get:
  13591. parameters:
  13592. - description: 所属机构ID
  13593. in: query
  13594. name: areaUserId
  13595. required: true
  13596. type: integer
  13597. - description: 套保商品
  13598. in: query
  13599. name: middleGoodsId
  13600. required: true
  13601. type: integer
  13602. produces:
  13603. - application/json
  13604. responses:
  13605. "200":
  13606. description: OK
  13607. schema:
  13608. items:
  13609. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  13610. type: array
  13611. "500":
  13612. description: Internal Server Error
  13613. schema:
  13614. $ref: '#/definitions/app.Response'
  13615. security:
  13616. - ApiKeyAuth: []
  13617. summary: 查询敞口现货明细
  13618. tags:
  13619. - 企业风险管理(app)
  13620. /Ermcp/QueryExposureHedgePosition:
  13621. get:
  13622. parameters:
  13623. - description: 所属机构ID
  13624. in: query
  13625. name: areaUserId
  13626. required: true
  13627. type: integer
  13628. produces:
  13629. - application/json
  13630. responses:
  13631. "200":
  13632. description: OK
  13633. schema:
  13634. items:
  13635. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  13636. type: array
  13637. "500":
  13638. description: Internal Server Error
  13639. schema:
  13640. $ref: '#/definitions/app.Response'
  13641. security:
  13642. - ApiKeyAuth: []
  13643. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  13644. tags:
  13645. - 企业风险管理(app)
  13646. /Ermcp/QueryExposureHedgePositionDetail:
  13647. get:
  13648. parameters:
  13649. - description: 所属机构ID
  13650. in: query
  13651. name: areaUserId
  13652. required: true
  13653. type: integer
  13654. - description: 商品id
  13655. in: query
  13656. name: goodsId
  13657. required: true
  13658. type: integer
  13659. produces:
  13660. - application/json
  13661. responses:
  13662. "200":
  13663. description: OK
  13664. schema:
  13665. items:
  13666. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  13667. type: array
  13668. "500":
  13669. description: Internal Server Error
  13670. schema:
  13671. $ref: '#/definitions/app.Response'
  13672. security:
  13673. - ApiKeyAuth: []
  13674. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  13675. tags:
  13676. - 企业风险管理(app)
  13677. /Ermcp/QueryExposureSpot:
  13678. get:
  13679. parameters:
  13680. - description: 所属机构ID
  13681. in: query
  13682. name: areaUserId
  13683. required: true
  13684. type: integer
  13685. produces:
  13686. - application/json
  13687. responses:
  13688. "200":
  13689. description: OK
  13690. schema:
  13691. items:
  13692. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  13693. type: array
  13694. "500":
  13695. description: Internal Server Error
  13696. schema:
  13697. $ref: '#/definitions/app.Response'
  13698. security:
  13699. - ApiKeyAuth: []
  13700. summary: 查询敞口现货头寸(敞口/现货头寸)
  13701. tags:
  13702. - 企业风险管理(app)
  13703. /Ermcp/QueryExposureSpotDetail:
  13704. get:
  13705. parameters:
  13706. - description: 所属机构ID
  13707. in: query
  13708. name: areaUserId
  13709. required: true
  13710. type: integer
  13711. - description: 现货品种ID
  13712. in: query
  13713. name: wrstandardId
  13714. required: true
  13715. type: integer
  13716. produces:
  13717. - application/json
  13718. responses:
  13719. "200":
  13720. description: OK
  13721. schema:
  13722. items:
  13723. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  13724. type: array
  13725. "500":
  13726. description: Internal Server Error
  13727. schema:
  13728. $ref: '#/definitions/app.Response'
  13729. security:
  13730. - ApiKeyAuth: []
  13731. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  13732. tags:
  13733. - 企业风险管理(app)
  13734. /Ermcp/QueryFuturesCompany:
  13735. get:
  13736. produces:
  13737. - application/json
  13738. responses:
  13739. "200":
  13740. description: OK
  13741. schema:
  13742. items:
  13743. $ref: '#/definitions/models.ErmcpFuturesCompany'
  13744. type: array
  13745. "500":
  13746. description: Internal Server Error
  13747. schema:
  13748. $ref: '#/definitions/app.Response'
  13749. security:
  13750. - ApiKeyAuth: []
  13751. summary: 查询期货公司
  13752. tags:
  13753. - 企业风险管理(app)
  13754. /Ermcp/QueryGGConvertConfig:
  13755. get:
  13756. parameters:
  13757. - description: 品种id(不填则查所有)
  13758. in: query
  13759. name: goodsgroupid
  13760. type: integer
  13761. produces:
  13762. - application/json
  13763. responses:
  13764. "200":
  13765. description: OK
  13766. schema:
  13767. items:
  13768. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  13769. type: array
  13770. "500":
  13771. description: Internal Server Error
  13772. schema:
  13773. $ref: '#/definitions/app.Response'
  13774. security:
  13775. - ApiKeyAuth: []
  13776. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  13777. tags:
  13778. - 企业风险管理(app)
  13779. /Ermcp/QueryGoodsBrand:
  13780. get:
  13781. parameters:
  13782. - description: 用户ID
  13783. in: query
  13784. name: userid
  13785. required: true
  13786. type: integer
  13787. - description: 现货商品ID
  13788. in: query
  13789. name: wrstandardid
  13790. type: integer
  13791. produces:
  13792. - application/json
  13793. responses:
  13794. "200":
  13795. description: OK
  13796. schema:
  13797. items:
  13798. $ref: '#/definitions/models.ErmcpGoodsBrand'
  13799. type: array
  13800. "500":
  13801. description: Internal Server Error
  13802. schema:
  13803. $ref: '#/definitions/app.Response'
  13804. security:
  13805. - ApiKeyAuth: []
  13806. summary: 查询商品品牌
  13807. tags:
  13808. - 企业风险管理(app)
  13809. /Ermcp/QueryGoodsModel:
  13810. get:
  13811. parameters:
  13812. - description: 用户ID
  13813. in: query
  13814. name: userid
  13815. required: true
  13816. type: integer
  13817. produces:
  13818. - application/json
  13819. responses:
  13820. "200":
  13821. description: OK
  13822. schema:
  13823. items:
  13824. $ref: '#/definitions/models.ErmcpGoodsModel'
  13825. type: array
  13826. "500":
  13827. description: Internal Server Error
  13828. schema:
  13829. $ref: '#/definitions/app.Response'
  13830. security:
  13831. - ApiKeyAuth: []
  13832. summary: 查询商品型号
  13833. tags:
  13834. - 企业风险管理(app)
  13835. /Ermcp/QueryHedgePlan:
  13836. get:
  13837. parameters:
  13838. - description: 用户ID
  13839. in: query
  13840. name: userId
  13841. required: true
  13842. type: integer
  13843. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  13844. in: query
  13845. name: HedgePlanStatus
  13846. required: true
  13847. type: string
  13848. produces:
  13849. - application/json
  13850. responses:
  13851. "200":
  13852. description: OK
  13853. schema:
  13854. items:
  13855. $ref: '#/definitions/ermcp.QryHedgePlanRsp'
  13856. type: array
  13857. "500":
  13858. description: Internal Server Error
  13859. schema:
  13860. $ref: '#/definitions/app.Response'
  13861. security:
  13862. - ApiKeyAuth: []
  13863. summary: 查询套保计划
  13864. tags:
  13865. - 企业风险管理(app)
  13866. /Ermcp/QueryHisExposure:
  13867. get:
  13868. parameters:
  13869. - description: 所属机构ID
  13870. in: query
  13871. name: areaUserId
  13872. required: true
  13873. type: integer
  13874. - description: 每个品种记录数
  13875. in: query
  13876. name: lastNum
  13877. required: true
  13878. type: integer
  13879. produces:
  13880. - application/json
  13881. responses:
  13882. "200":
  13883. description: OK
  13884. schema:
  13885. items:
  13886. $ref: '#/definitions/ermcp.HisExposureRsp'
  13887. type: array
  13888. "500":
  13889. description: Internal Server Error
  13890. schema:
  13891. $ref: '#/definitions/app.Response'
  13892. security:
  13893. - ApiKeyAuth: []
  13894. summary: 查询历史敞口(菜单:敞口/历史敞口)
  13895. tags:
  13896. - 企业风险管理(app)
  13897. /Ermcp/QueryMiddleGoods:
  13898. get:
  13899. parameters:
  13900. - description: 所属机构ID
  13901. in: query
  13902. name: userid
  13903. required: true
  13904. type: integer
  13905. - description: 状态 0-停用 1-正常
  13906. in: query
  13907. name: status
  13908. required: true
  13909. type: integer
  13910. produces:
  13911. - application/json
  13912. responses:
  13913. "200":
  13914. description: OK
  13915. schema:
  13916. items:
  13917. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  13918. type: array
  13919. "500":
  13920. description: Internal Server Error
  13921. schema:
  13922. $ref: '#/definitions/app.Response'
  13923. security:
  13924. - ApiKeyAuth: []
  13925. summary: 查询套保品种(菜单:套保品种)
  13926. tags:
  13927. - 企业风险管理(app)
  13928. /Ermcp/QueryMiddleGoodsChangeLog:
  13929. get:
  13930. parameters:
  13931. - description: 所属机构ID
  13932. in: query
  13933. name: userid
  13934. required: true
  13935. type: integer
  13936. - description: 套保品种id
  13937. in: query
  13938. name: middlegoodsid
  13939. required: true
  13940. type: integer
  13941. produces:
  13942. - application/json
  13943. responses:
  13944. "200":
  13945. description: OK
  13946. schema:
  13947. items:
  13948. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  13949. type: array
  13950. "500":
  13951. description: Internal Server Error
  13952. schema:
  13953. $ref: '#/definitions/app.Response'
  13954. security:
  13955. - ApiKeyAuth: []
  13956. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  13957. tags:
  13958. - 企业风险管理(app)
  13959. /Ermcp/QueryMiddleGoodsDetail:
  13960. get:
  13961. parameters:
  13962. - description: 所属机构ID
  13963. in: query
  13964. name: userid
  13965. required: true
  13966. type: integer
  13967. - description: 套保品种id
  13968. in: query
  13969. name: middlegoodsid
  13970. type: integer
  13971. produces:
  13972. - application/json
  13973. responses:
  13974. "200":
  13975. description: OK
  13976. schema:
  13977. items:
  13978. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  13979. type: array
  13980. "500":
  13981. description: Internal Server Error
  13982. schema:
  13983. $ref: '#/definitions/app.Response'
  13984. security:
  13985. - ApiKeyAuth: []
  13986. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  13987. tags:
  13988. - 企业风险管理(app)
  13989. /Ermcp/QueryPendingAuditInfo:
  13990. get:
  13991. parameters:
  13992. - description: 用户ID
  13993. in: query
  13994. name: UserId
  13995. required: true
  13996. type: integer
  13997. produces:
  13998. - application/json
  13999. responses:
  14000. "200":
  14001. description: OK
  14002. schema:
  14003. items:
  14004. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  14005. type: array
  14006. "500":
  14007. description: Internal Server Error
  14008. schema:
  14009. $ref: '#/definitions/app.Response'
  14010. security:
  14011. - ApiKeyAuth: []
  14012. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  14013. tags:
  14014. - 企业风险管理(app)
  14015. /Ermcp/QueryRealtimeExposure:
  14016. get:
  14017. parameters:
  14018. - description: 所属机构ID
  14019. in: query
  14020. name: AreaUserID
  14021. required: true
  14022. type: integer
  14023. produces:
  14024. - application/json
  14025. responses:
  14026. "200":
  14027. description: OK
  14028. schema:
  14029. items:
  14030. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  14031. type: array
  14032. "500":
  14033. description: Internal Server Error
  14034. schema:
  14035. $ref: '#/definitions/app.Response'
  14036. security:
  14037. - ApiKeyAuth: []
  14038. summary: 查询实时敞口
  14039. tags:
  14040. - 企业风险管理(app)
  14041. /Ermcp/QueryRealtimeExposurePosition:
  14042. get:
  14043. parameters:
  14044. - description: 所属机构ID
  14045. in: query
  14046. name: areaUserId
  14047. required: true
  14048. type: integer
  14049. - description: 套保商品ID
  14050. in: query
  14051. name: middleGoodsId
  14052. required: true
  14053. type: integer
  14054. produces:
  14055. - application/json
  14056. responses:
  14057. "200":
  14058. description: OK
  14059. schema:
  14060. items:
  14061. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  14062. type: array
  14063. "500":
  14064. description: Internal Server Error
  14065. schema:
  14066. $ref: '#/definitions/app.Response'
  14067. security:
  14068. - ApiKeyAuth: []
  14069. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  14070. tags:
  14071. - 企业风险管理(app)
  14072. /Ermcp/QuerySpotContract:
  14073. get:
  14074. parameters:
  14075. - description: 用户ID
  14076. in: query
  14077. name: userId
  14078. required: true
  14079. type: integer
  14080. - description: 查询类型 1-未提交 2-待审核 3-履约中 4-已完成
  14081. in: query
  14082. name: QueryType
  14083. required: true
  14084. type: integer
  14085. produces:
  14086. - application/json
  14087. responses:
  14088. "200":
  14089. description: OK
  14090. schema:
  14091. items:
  14092. $ref: '#/definitions/ermcp.QrySpotContractRsp'
  14093. type: array
  14094. "500":
  14095. description: Internal Server Error
  14096. schema:
  14097. $ref: '#/definitions/app.Response'
  14098. security:
  14099. - ApiKeyAuth: []
  14100. summary: 查询现货合同(对应现货合同菜单)
  14101. tags:
  14102. - 企业风险管理(app)
  14103. /Ermcp/QuerySpotGoodsPrice:
  14104. get:
  14105. parameters:
  14106. - description: 用户ID
  14107. in: query
  14108. name: userid
  14109. required: true
  14110. type: integer
  14111. produces:
  14112. - application/json
  14113. responses:
  14114. "200":
  14115. description: OK
  14116. schema:
  14117. items:
  14118. $ref: '#/definitions/models.ErmcpSpotGoodsPrice'
  14119. type: array
  14120. "500":
  14121. description: Internal Server Error
  14122. schema:
  14123. $ref: '#/definitions/app.Response'
  14124. security:
  14125. - ApiKeyAuth: []
  14126. summary: 查询现货市价(现货市价)
  14127. tags:
  14128. - 企业风险管理(app)
  14129. /Ermcp/QuerySpotGoodsPriceLog:
  14130. get:
  14131. parameters:
  14132. - description: 用户ID
  14133. in: query
  14134. name: userid
  14135. required: true
  14136. type: integer
  14137. - description: 现货商品ID
  14138. in: query
  14139. name: wrstandardid
  14140. required: true
  14141. type: integer
  14142. produces:
  14143. - application/json
  14144. responses:
  14145. "200":
  14146. description: OK
  14147. schema:
  14148. items:
  14149. $ref: '#/definitions/models.ErmcpSpotGoodsPriceLog'
  14150. type: array
  14151. "500":
  14152. description: Internal Server Error
  14153. schema:
  14154. $ref: '#/definitions/app.Response'
  14155. security:
  14156. - ApiKeyAuth: []
  14157. summary: 查询现货市价详情(现货市价/详情)
  14158. tags:
  14159. - 企业风险管理(app)
  14160. /Ermcp/QueryTradeConfigTMP:
  14161. get:
  14162. parameters:
  14163. - description: 所属机构id
  14164. in: query
  14165. name: areauserid
  14166. required: true
  14167. type: integer
  14168. produces:
  14169. - application/json
  14170. responses:
  14171. "200":
  14172. description: OK
  14173. schema:
  14174. items:
  14175. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  14176. type: array
  14177. "500":
  14178. description: Internal Server Error
  14179. schema:
  14180. $ref: '#/definitions/app.Response'
  14181. security:
  14182. - ApiKeyAuth: []
  14183. summary: 查询交易模板配置
  14184. tags:
  14185. - 企业风险管理(app)
  14186. /Ermcp/QueryUserInfo:
  14187. get:
  14188. parameters:
  14189. - description: 所属机构用户ID
  14190. in: query
  14191. name: MemberUserID
  14192. required: true
  14193. type: integer
  14194. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  14195. in: query
  14196. name: queryType
  14197. required: true
  14198. type: integer
  14199. produces:
  14200. - application/json
  14201. responses:
  14202. "200":
  14203. description: OK
  14204. schema:
  14205. items:
  14206. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  14207. type: array
  14208. "500":
  14209. description: Internal Server Error
  14210. schema:
  14211. $ref: '#/definitions/app.Response'
  14212. security:
  14213. - ApiKeyAuth: []
  14214. summary: 查询客户资料
  14215. tags:
  14216. - 企业风险管理(app)
  14217. /Ermcp/QueryWarehouseInfo:
  14218. get:
  14219. parameters:
  14220. - description: 用户ID
  14221. in: query
  14222. name: userid
  14223. required: true
  14224. type: integer
  14225. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  14226. in: query
  14227. name: status
  14228. type: string
  14229. produces:
  14230. - application/json
  14231. responses:
  14232. "200":
  14233. description: OK
  14234. schema:
  14235. items:
  14236. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  14237. type: array
  14238. "500":
  14239. description: Internal Server Error
  14240. schema:
  14241. $ref: '#/definitions/app.Response'
  14242. security:
  14243. - ApiKeyAuth: []
  14244. summary: 查询仓库信息
  14245. tags:
  14246. - 企业风险管理(app)
  14247. /Ermcp/QueryWrStandard:
  14248. get:
  14249. parameters:
  14250. - description: 所属机构ID
  14251. in: query
  14252. name: userid
  14253. required: true
  14254. type: integer
  14255. - description: 状态 0-停用 1-正常
  14256. in: query
  14257. name: status
  14258. required: true
  14259. type: integer
  14260. produces:
  14261. - application/json
  14262. responses:
  14263. "200":
  14264. description: OK
  14265. schema:
  14266. items:
  14267. $ref: '#/definitions/ermcp.QryWrStandardRsp'
  14268. type: array
  14269. "500":
  14270. description: Internal Server Error
  14271. schema:
  14272. $ref: '#/definitions/app.Response'
  14273. security:
  14274. - ApiKeyAuth: []
  14275. summary: 查询现货商品
  14276. tags:
  14277. - 企业风险管理(app)
  14278. /Ermcp/QueryWrStandardDetail:
  14279. get:
  14280. parameters:
  14281. - description: 所属机构ID
  14282. in: query
  14283. name: userid
  14284. required: true
  14285. type: integer
  14286. - description: 现货商品ID
  14287. in: query
  14288. name: wrstandardid
  14289. type: integer
  14290. - description: 可不填, 1-查询关联交易商品
  14291. in: query
  14292. name: goods
  14293. type: integer
  14294. produces:
  14295. - application/json
  14296. responses:
  14297. "200":
  14298. description: OK
  14299. schema:
  14300. items:
  14301. $ref: '#/definitions/ermcp.QryWrStandardDetailRsp'
  14302. type: array
  14303. "500":
  14304. description: Internal Server Error
  14305. schema:
  14306. $ref: '#/definitions/app.Response'
  14307. security:
  14308. - ApiKeyAuth: []
  14309. summary: 查询现货商品详情(菜单:现货品种/现货品种详情)
  14310. tags:
  14311. - 企业风险管理(app)
  14312. /Ermcp3/QryReportAreaSpotPL:
  14313. get:
  14314. parameters:
  14315. - description: 用户ID
  14316. in: query
  14317. name: userid
  14318. required: true
  14319. type: integer
  14320. - description: 查询类型 1-日报表 2-月报表
  14321. in: query
  14322. name: querytype
  14323. required: true
  14324. type: integer
  14325. - description: 查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)
  14326. in: query
  14327. name: querydate
  14328. required: true
  14329. type: string
  14330. - description: 现货商品ID
  14331. in: query
  14332. name: deliverygoodsid
  14333. type: integer
  14334. - description: 品牌ID
  14335. in: query
  14336. name: spotgoodsbrandid
  14337. type: integer
  14338. - description: 品类ID
  14339. in: query
  14340. name: wrstandardid
  14341. type: integer
  14342. produces:
  14343. - application/json
  14344. responses:
  14345. "200":
  14346. description: OK
  14347. schema:
  14348. items:
  14349. $ref: '#/definitions/models.Ermcp3ReportAreaSpotPL'
  14350. type: array
  14351. "500":
  14352. description: Internal Server Error
  14353. schema:
  14354. $ref: '#/definitions/app.Response'
  14355. security:
  14356. - ApiKeyAuth: []
  14357. summary: 查询现货损益报表(现货损益报表)
  14358. tags:
  14359. - 企业风险管理v3(app)
  14360. /Ermcp3/QryReportDayFinanceFp:
  14361. get:
  14362. parameters:
  14363. - description: 用户ID
  14364. in: query
  14365. name: userid
  14366. required: true
  14367. type: integer
  14368. - description: 交易日(格式:yyyyMMdd)
  14369. in: query
  14370. name: tradedate
  14371. required: true
  14372. type: string
  14373. produces:
  14374. - application/json
  14375. responses:
  14376. "200":
  14377. description: OK
  14378. schema:
  14379. items:
  14380. $ref: '#/definitions/models.Ermcp3ReportOPLog'
  14381. type: array
  14382. "500":
  14383. description: Internal Server Error
  14384. schema:
  14385. $ref: '#/definitions/app.Response'
  14386. security:
  14387. - ApiKeyAuth: []
  14388. summary: 查询财务日报表发票(菜单:报表查询/财务报表/日报表/发票)
  14389. tags:
  14390. - 企业风险管理v3(app)
  14391. /Ermcp3/QryReportDayFinanceKx:
  14392. get:
  14393. parameters:
  14394. - description: 用户ID
  14395. in: query
  14396. name: userid
  14397. required: true
  14398. type: integer
  14399. - description: 交易日(格式:yyyyMMdd)
  14400. in: query
  14401. name: tradedate
  14402. required: true
  14403. type: string
  14404. produces:
  14405. - application/json
  14406. responses:
  14407. "200":
  14408. description: OK
  14409. schema:
  14410. items:
  14411. $ref: '#/definitions/models.Ermcp3ReportOPLog'
  14412. type: array
  14413. "500":
  14414. description: Internal Server Error
  14415. schema:
  14416. $ref: '#/definitions/app.Response'
  14417. security:
  14418. - ApiKeyAuth: []
  14419. summary: 查询财务日报表款项(菜单:报表查询/财务报表/日报表/款项)
  14420. tags:
  14421. - 企业风险管理v3(app)
  14422. /Ermcp3/QryReportDaySpot:
  14423. get:
  14424. parameters:
  14425. - description: 用户ID
  14426. in: query
  14427. name: userid
  14428. required: true
  14429. type: integer
  14430. - description: 交易日(格式:yyyyMMdd)
  14431. in: query
  14432. name: tradedate
  14433. required: true
  14434. type: string
  14435. produces:
  14436. - application/json
  14437. responses:
  14438. "200":
  14439. description: OK
  14440. schema:
  14441. items:
  14442. $ref: '#/definitions/models.Ermcp3ReportDaySpot'
  14443. type: array
  14444. "500":
  14445. description: Internal Server Error
  14446. schema:
  14447. $ref: '#/definitions/app.Response'
  14448. security:
  14449. - ApiKeyAuth: []
  14450. summary: 查询现货日报表(菜单:报表查询/现货报表/现货日报表)
  14451. tags:
  14452. - 企业风险管理v3(app)
  14453. /Ermcp3/QryReportDaySpotDetail:
  14454. get:
  14455. parameters:
  14456. - description: 用户ID
  14457. in: query
  14458. name: userid
  14459. required: true
  14460. type: integer
  14461. - description: 现货商品id
  14462. in: query
  14463. name: deliverygoodsid
  14464. required: true
  14465. type: integer
  14466. - description: 交易日(格式:yyyyMMdd)
  14467. in: query
  14468. name: tradedate
  14469. required: true
  14470. type: string
  14471. produces:
  14472. - application/json
  14473. responses:
  14474. "200":
  14475. description: OK
  14476. schema:
  14477. items:
  14478. $ref: '#/definitions/models.Ermcp3ReportOPLog'
  14479. type: array
  14480. "500":
  14481. description: Internal Server Error
  14482. schema:
  14483. $ref: '#/definitions/app.Response'
  14484. security:
  14485. - ApiKeyAuth: []
  14486. summary: 查询现货日报表详情(菜单:报表查询/现货报表/现货日报表详情)
  14487. tags:
  14488. - 企业风险管理v3(app)
  14489. /Ermcp3/QryReportMonthSpot:
  14490. get:
  14491. parameters:
  14492. - description: 用户ID
  14493. in: query
  14494. name: userid
  14495. required: true
  14496. type: integer
  14497. - description: 周期时间:月(格式:yyyyMM)
  14498. in: query
  14499. name: cycletime
  14500. required: true
  14501. type: string
  14502. produces:
  14503. - application/json
  14504. responses:
  14505. "200":
  14506. description: OK
  14507. schema:
  14508. items:
  14509. $ref: '#/definitions/models.Ermcp3ReportMonSpot'
  14510. type: array
  14511. "500":
  14512. description: Internal Server Error
  14513. schema:
  14514. $ref: '#/definitions/app.Response'
  14515. security:
  14516. - ApiKeyAuth: []
  14517. summary: 查询现货月报表(菜单:报表查询/现货报表/现货月报表)
  14518. tags:
  14519. - 企业风险管理v3(app)
  14520. /Ermcp3/QryReportMonthSpotDetail:
  14521. get:
  14522. parameters:
  14523. - description: 用户ID
  14524. in: query
  14525. name: userid
  14526. required: true
  14527. type: integer
  14528. - description: 现货商品id
  14529. in: query
  14530. name: deliverygoodsid
  14531. required: true
  14532. type: integer
  14533. - description: 周期时间:月(格式:yyyyMM)
  14534. in: query
  14535. name: cycletime
  14536. required: true
  14537. type: string
  14538. produces:
  14539. - application/json
  14540. responses:
  14541. "200":
  14542. description: OK
  14543. schema:
  14544. items:
  14545. $ref: '#/definitions/models.Ermcp3ReportDaySpot'
  14546. type: array
  14547. "500":
  14548. description: Internal Server Error
  14549. schema:
  14550. $ref: '#/definitions/app.Response'
  14551. security:
  14552. - ApiKeyAuth: []
  14553. summary: 查询现货月报表详情(菜单:报表查询/现货月报表/现货月报表详情)
  14554. tags:
  14555. - 企业风险管理v3(app)
  14556. /Ermcp3/QueryAreaStockApply:
  14557. get:
  14558. parameters:
  14559. - description: 用户ID
  14560. in: query
  14561. name: userid
  14562. required: true
  14563. type: integer
  14564. - description: 现货商品ID
  14565. in: query
  14566. name: deliverygoodsid
  14567. type: integer
  14568. - description: 出入库类型(可多项,逗号隔开) 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  14569. in: query
  14570. name: inouttype
  14571. type: string
  14572. - description: 合同ID
  14573. in: query
  14574. name: spotcontractid
  14575. type: integer
  14576. - description: 品类ID
  14577. in: query
  14578. name: wrstandardid
  14579. type: integer
  14580. - description: 品牌ID
  14581. in: query
  14582. name: spotgoodsbrandid
  14583. type: integer
  14584. - description: 仓库ID
  14585. in: query
  14586. name: warehouseinfoid
  14587. type: integer
  14588. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  14589. in: query
  14590. name: applystatus
  14591. type: string
  14592. produces:
  14593. - application/json
  14594. responses:
  14595. "200":
  14596. description: OK
  14597. schema:
  14598. items:
  14599. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  14600. type: array
  14601. "500":
  14602. description: Internal Server Error
  14603. schema:
  14604. $ref: '#/definitions/app.Response'
  14605. security:
  14606. - ApiKeyAuth: []
  14607. summary: 查询库存申请(出入库记录|库存审核)
  14608. tags:
  14609. - 企业风险管理v3(app)
  14610. /Ermcp3/QueryAreaStockApplySum:
  14611. get:
  14612. parameters:
  14613. - description: 合同ID
  14614. in: query
  14615. name: spotcontractid
  14616. type: integer
  14617. produces:
  14618. - application/json
  14619. responses:
  14620. "200":
  14621. description: OK
  14622. schema:
  14623. items:
  14624. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  14625. type: array
  14626. "500":
  14627. description: Internal Server Error
  14628. schema:
  14629. $ref: '#/definitions/app.Response'
  14630. security:
  14631. - ApiKeyAuth: []
  14632. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  14633. tags:
  14634. - 企业风险管理v3(app)
  14635. /Ermcp3/QueryAreaStockReport:
  14636. get:
  14637. parameters:
  14638. - description: 用户ID
  14639. in: query
  14640. name: userid
  14641. required: true
  14642. type: integer
  14643. - description: 查询类型 1-日报表 2-月报表
  14644. in: query
  14645. name: querytype
  14646. required: true
  14647. type: integer
  14648. - description: 查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)
  14649. in: query
  14650. name: querydate
  14651. required: true
  14652. type: string
  14653. - description: 现货商品ID
  14654. in: query
  14655. name: deliverygoodsid
  14656. type: integer
  14657. - description: 品类ID
  14658. in: query
  14659. name: wrstandardid
  14660. type: integer
  14661. - description: 品牌ID
  14662. in: query
  14663. name: spotgoodsbrandid
  14664. type: integer
  14665. - description: 仓库ID
  14666. in: query
  14667. name: warehouseinfoid
  14668. type: integer
  14669. produces:
  14670. - application/json
  14671. responses:
  14672. "200":
  14673. description: OK
  14674. schema:
  14675. items:
  14676. $ref: '#/definitions/models.Ermcp3AreaStockReport'
  14677. type: array
  14678. "500":
  14679. description: Internal Server Error
  14680. schema:
  14681. $ref: '#/definitions/app.Response'
  14682. security:
  14683. - ApiKeyAuth: []
  14684. summary: 查询库存报表
  14685. tags:
  14686. - 企业风险管理v3(app)
  14687. /Ermcp3/QueryAreaStockReportDetail:
  14688. get:
  14689. parameters:
  14690. - description: 用户ID
  14691. in: query
  14692. name: userid
  14693. required: true
  14694. type: integer
  14695. - description: 查询类型 1-日报表明细 2-月报表明细
  14696. in: query
  14697. name: querytype
  14698. required: true
  14699. type: integer
  14700. - description: 明细类型 1:入库明细(采购入库+生产入库) 2:出库明细(销售出库+生产出库)
  14701. in: query
  14702. name: detailtype
  14703. required: true
  14704. type: integer
  14705. - description: 查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)
  14706. in: query
  14707. name: querydate
  14708. required: true
  14709. type: string
  14710. - description: 现货商品ID
  14711. in: query
  14712. name: deliverygoodsid
  14713. type: integer
  14714. - description: 品类ID
  14715. in: query
  14716. name: wrstandardid
  14717. type: integer
  14718. - description: 品牌ID
  14719. in: query
  14720. name: spotgoodsbrandid
  14721. type: integer
  14722. - description: 仓库ID
  14723. in: query
  14724. name: warehouseinfoid
  14725. type: integer
  14726. produces:
  14727. - application/json
  14728. responses:
  14729. "200":
  14730. description: OK
  14731. schema:
  14732. items:
  14733. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  14734. type: array
  14735. "500":
  14736. description: Internal Server Error
  14737. schema:
  14738. $ref: '#/definitions/app.Response'
  14739. security:
  14740. - ApiKeyAuth: []
  14741. summary: 查询库存报表明细
  14742. tags:
  14743. - 企业风险管理v3(app)
  14744. /Ermcp3/QueryDGFactoryItem:
  14745. get:
  14746. parameters:
  14747. - description: 所属机构ID
  14748. in: query
  14749. name: areauserid
  14750. type: integer
  14751. - description: 选择项ID(SEQ_DGFACTORYITEM)
  14752. in: query
  14753. name: dgfactoryitemid
  14754. type: integer
  14755. - description: 现货品种ID
  14756. in: query
  14757. name: deliverygoodsid
  14758. type: integer
  14759. - description: 要素项类型
  14760. in: query
  14761. name: dgfactoryitemtypeid
  14762. type: integer
  14763. - description: 顺序
  14764. in: query
  14765. name: orderindex
  14766. type: integer
  14767. produces:
  14768. - application/json
  14769. responses:
  14770. "200":
  14771. description: OK
  14772. schema:
  14773. items:
  14774. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  14775. type: array
  14776. "500":
  14777. description: Internal Server Error
  14778. schema:
  14779. $ref: '#/definitions/app.Response'
  14780. security:
  14781. - ApiKeyAuth: []
  14782. summary: 查询品种要素定义项
  14783. tags:
  14784. - 企业风险管理v3(app)
  14785. /Ermcp3/QueryDeliveryGoods:
  14786. get:
  14787. parameters:
  14788. - description: 所属机构id
  14789. in: query
  14790. name: areauserid
  14791. required: true
  14792. type: integer
  14793. - description: 排除已配置的现货商品 1-排除
  14794. in: query
  14795. name: excludecfg
  14796. type: integer
  14797. produces:
  14798. - application/json
  14799. responses:
  14800. "200":
  14801. description: OK
  14802. schema:
  14803. items:
  14804. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  14805. type: array
  14806. "500":
  14807. description: Internal Server Error
  14808. schema:
  14809. $ref: '#/definitions/app.Response'
  14810. security:
  14811. - ApiKeyAuth: []
  14812. summary: 查询现货商品
  14813. tags:
  14814. - 企业风险管理v3(app)
  14815. /Ermcp3/QueryDeliveryGoodsDetail:
  14816. get:
  14817. parameters:
  14818. - description: 所属机构id
  14819. in: query
  14820. name: areauserid
  14821. required: true
  14822. type: integer
  14823. - description: 现货商品id
  14824. in: query
  14825. name: deliverygoodsid
  14826. type: integer
  14827. - description: 是否查询关联交易商品 1-查询
  14828. in: query
  14829. name: qrytradegoods
  14830. type: integer
  14831. produces:
  14832. - application/json
  14833. responses:
  14834. "200":
  14835. description: OK
  14836. schema:
  14837. items:
  14838. $ref: '#/definitions/models.ErmcpDeliveryGoodsDetail'
  14839. type: array
  14840. "500":
  14841. description: Internal Server Error
  14842. schema:
  14843. $ref: '#/definitions/app.Response'
  14844. security:
  14845. - ApiKeyAuth: []
  14846. summary: 查询现货商品详情
  14847. tags:
  14848. - 企业风险管理v3(app)
  14849. /Ermcp3/QueryExposureDetail:
  14850. get:
  14851. parameters:
  14852. - description: 所属机构ID
  14853. in: query
  14854. name: areaUserId
  14855. required: true
  14856. type: integer
  14857. - description: 套保商品
  14858. in: query
  14859. name: middleGoodsId
  14860. required: true
  14861. type: integer
  14862. produces:
  14863. - application/json
  14864. responses:
  14865. "200":
  14866. description: OK
  14867. schema:
  14868. items:
  14869. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  14870. type: array
  14871. "500":
  14872. description: Internal Server Error
  14873. schema:
  14874. $ref: '#/definitions/app.Response'
  14875. security:
  14876. - ApiKeyAuth: []
  14877. summary: 查询敞口现货明细
  14878. tags:
  14879. - 企业风险管理v3(app)
  14880. /Ermcp3/QueryExposureSpot:
  14881. get:
  14882. parameters:
  14883. - description: 所属机构ID
  14884. in: query
  14885. name: areaUserId
  14886. required: true
  14887. type: integer
  14888. produces:
  14889. - application/json
  14890. responses:
  14891. "200":
  14892. description: OK
  14893. schema:
  14894. items:
  14895. $ref: '#/definitions/models.Ermcp3AreaSpot'
  14896. type: array
  14897. "500":
  14898. description: Internal Server Error
  14899. schema:
  14900. $ref: '#/definitions/app.Response'
  14901. security:
  14902. - ApiKeyAuth: []
  14903. summary: 查询敞口现货头寸(敞口/现货头寸)
  14904. tags:
  14905. - 企业风险管理v3(app)
  14906. /Ermcp3/QueryExposureSpotDetail:
  14907. get:
  14908. parameters:
  14909. - description: 所属机构ID
  14910. in: query
  14911. name: areauserid
  14912. required: true
  14913. type: integer
  14914. - description: 现货品种ID
  14915. in: query
  14916. name: deliverygoodsid
  14917. required: true
  14918. type: integer
  14919. produces:
  14920. - application/json
  14921. responses:
  14922. "200":
  14923. description: OK
  14924. schema:
  14925. items:
  14926. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  14927. type: array
  14928. "500":
  14929. description: Internal Server Error
  14930. schema:
  14931. $ref: '#/definitions/app.Response'
  14932. security:
  14933. - ApiKeyAuth: []
  14934. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  14935. tags:
  14936. - 企业风险管理v3(app)
  14937. /Ermcp3/QueryGoodsWrstandard:
  14938. get:
  14939. parameters:
  14940. - description: 所属机构ID
  14941. in: query
  14942. name: areauserid
  14943. required: true
  14944. type: integer
  14945. - description: 现货商品id
  14946. in: query
  14947. name: deliverygoodsid
  14948. type: integer
  14949. produces:
  14950. - application/json
  14951. responses:
  14952. "200":
  14953. description: OK
  14954. schema:
  14955. items:
  14956. $ref: '#/definitions/models.Ermcp3Wrstandard'
  14957. type: array
  14958. "500":
  14959. description: Internal Server Error
  14960. schema:
  14961. $ref: '#/definitions/app.Response'
  14962. security:
  14963. - ApiKeyAuth: []
  14964. summary: 查询商品品类
  14965. tags:
  14966. - 企业风险管理v3(app)
  14967. /Ermcp3/QueryGoodsbrand:
  14968. get:
  14969. parameters:
  14970. - description: 所属机构ID
  14971. in: query
  14972. name: areauserid
  14973. required: true
  14974. type: integer
  14975. produces:
  14976. - application/json
  14977. responses:
  14978. "200":
  14979. description: OK
  14980. schema:
  14981. items:
  14982. $ref: '#/definitions/models.Ermcp3Brand'
  14983. type: array
  14984. "500":
  14985. description: Internal Server Error
  14986. schema:
  14987. $ref: '#/definitions/app.Response'
  14988. security:
  14989. - ApiKeyAuth: []
  14990. summary: 查询商品品牌
  14991. tags:
  14992. - 企业风险管理v3(app)
  14993. /Ermcp3/QuerySpotContract:
  14994. get:
  14995. parameters:
  14996. - description: 所属机构ID
  14997. in: query
  14998. name: areauserid
  14999. required: true
  15000. type: integer
  15001. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  15002. in: query
  15003. name: querytype
  15004. required: true
  15005. type: integer
  15006. - description: 用户ID
  15007. in: query
  15008. name: userid
  15009. type: integer
  15010. - description: 用户类型 2-机构 7-企业成员
  15011. in: query
  15012. name: usertype
  15013. type: integer
  15014. - description: 合同ID(SpotContractId)
  15015. in: query
  15016. name: contractid
  15017. type: string
  15018. produces:
  15019. - application/json
  15020. responses:
  15021. "200":
  15022. description: OK
  15023. schema:
  15024. items:
  15025. $ref: '#/definitions/models.Ermcp3Contract'
  15026. type: array
  15027. "500":
  15028. description: Internal Server Error
  15029. schema:
  15030. $ref: '#/definitions/app.Response'
  15031. security:
  15032. - ApiKeyAuth: []
  15033. summary: 查询现货合同
  15034. tags:
  15035. - 企业风险管理v3(app)
  15036. /Ermcp3/QuerySpotContractBS:
  15037. get:
  15038. parameters:
  15039. - description: 所属机构ID
  15040. in: query
  15041. name: areauserid
  15042. required: true
  15043. type: integer
  15044. - description: 合同类型 1-采购, -1-销售
  15045. in: query
  15046. name: contracttype
  15047. required: true
  15048. type: integer
  15049. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  15050. in: query
  15051. name: querytype
  15052. required: true
  15053. type: integer
  15054. - description: 用户ID
  15055. in: query
  15056. name: userid
  15057. type: integer
  15058. - description: 用户类型 2-机构 7-企业成员
  15059. in: query
  15060. name: usertype
  15061. type: integer
  15062. - description: 合同ID(SpotContractId)
  15063. in: query
  15064. name: contractid
  15065. type: string
  15066. produces:
  15067. - application/json
  15068. responses:
  15069. "200":
  15070. description: OK
  15071. schema:
  15072. items:
  15073. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  15074. type: array
  15075. "500":
  15076. description: Internal Server Error
  15077. schema:
  15078. $ref: '#/definitions/app.Response'
  15079. security:
  15080. - ApiKeyAuth: []
  15081. summary: 查询合同(采购/销售)
  15082. tags:
  15083. - 企业风险管理v3(app)
  15084. /Erms2/QueryArbitrageStrategy:
  15085. get:
  15086. parameters:
  15087. - description: 账户ID
  15088. in: query
  15089. name: userid
  15090. required: true
  15091. type: integer
  15092. - description: 商品组ID(品种ID)
  15093. in: query
  15094. name: goodsgroupid
  15095. type: string
  15096. produces:
  15097. - application/json
  15098. responses:
  15099. "200":
  15100. description: OK
  15101. schema:
  15102. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  15103. "500":
  15104. description: Internal Server Error
  15105. schema:
  15106. $ref: '#/definitions/app.Response'
  15107. security:
  15108. - ApiKeyAuth: []
  15109. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  15110. tags:
  15111. - 风险管理
  15112. /Erms2/QueryInnerTradeDetail:
  15113. get:
  15114. parameters:
  15115. - description: 资金账户
  15116. in: query
  15117. name: accountid
  15118. required: true
  15119. type: integer
  15120. produces:
  15121. - application/json
  15122. responses:
  15123. "200":
  15124. description: OK
  15125. schema:
  15126. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  15127. "500":
  15128. description: Internal Server Error
  15129. schema:
  15130. $ref: '#/definitions/app.Response'
  15131. security:
  15132. - ApiKeyAuth: []
  15133. summary: 查询内部成交单信息
  15134. tags:
  15135. - 风险管理
  15136. /Erms2/QuerySpotContract:
  15137. get:
  15138. parameters:
  15139. - description: 策略申请ID
  15140. in: query
  15141. name: asapplyid
  15142. required: true
  15143. type: integer
  15144. - description: 现货合同ID
  15145. in: query
  15146. name: spotcontractid
  15147. type: integer
  15148. produces:
  15149. - application/json
  15150. responses:
  15151. "200":
  15152. description: OK
  15153. schema:
  15154. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  15155. "500":
  15156. description: Internal Server Error
  15157. schema:
  15158. $ref: '#/definitions/app.Response'
  15159. security:
  15160. - ApiKeyAuth: []
  15161. summary: 查询现货合同表信息(指定策略ID、未结束的)
  15162. tags:
  15163. - 风险管理
  15164. /Erms3/AddErms2ASApply:
  15165. post:
  15166. parameters:
  15167. - description: 申请参数
  15168. in: body
  15169. name: jsonBody
  15170. required: true
  15171. schema:
  15172. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  15173. produces:
  15174. - application/json
  15175. responses:
  15176. "200":
  15177. description: OK
  15178. schema:
  15179. $ref: '#/definitions/app.Response'
  15180. "500":
  15181. description: Internal Server Error
  15182. schema:
  15183. $ref: '#/definitions/app.Response'
  15184. security:
  15185. - ApiKeyAuth: []
  15186. summary: 新增期现套利业务申请
  15187. tags:
  15188. - 风险管理v3
  15189. /Erms3/AddErms2SpotTradeApply:
  15190. post:
  15191. parameters:
  15192. - description: 申请参数
  15193. in: body
  15194. name: jsonBody
  15195. required: true
  15196. schema:
  15197. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  15198. produces:
  15199. - application/json
  15200. responses:
  15201. "200":
  15202. description: OK
  15203. schema:
  15204. $ref: '#/definitions/app.Response'
  15205. "500":
  15206. description: Internal Server Error
  15207. schema:
  15208. $ref: '#/definitions/app.Response'
  15209. security:
  15210. - ApiKeyAuth: []
  15211. summary: 新增现货贸易业务申请
  15212. tags:
  15213. - 风险管理v3
  15214. /Erms3/AddSpotContractApply:
  15215. post:
  15216. parameters:
  15217. - description: 申请参数
  15218. in: body
  15219. name: jsonBody
  15220. required: true
  15221. schema:
  15222. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  15223. produces:
  15224. - application/json
  15225. responses:
  15226. "200":
  15227. description: OK
  15228. schema:
  15229. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  15230. "500":
  15231. description: Internal Server Error
  15232. schema:
  15233. $ref: '#/definitions/app.Response'
  15234. security:
  15235. - ApiKeyAuth: []
  15236. summary: 新增现货合同申请
  15237. tags:
  15238. - 风险管理v3
  15239. /Erms3/AddUserInfoApply:
  15240. post:
  15241. parameters:
  15242. - description: 用户信息
  15243. in: body
  15244. name: jsonBody
  15245. required: true
  15246. schema:
  15247. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  15248. produces:
  15249. - application/json
  15250. responses:
  15251. "200":
  15252. description: OK
  15253. schema:
  15254. $ref: '#/definitions/app.Response'
  15255. "500":
  15256. description: Internal Server Error
  15257. schema:
  15258. $ref: '#/definitions/app.Response'
  15259. security:
  15260. - ApiKeyAuth: []
  15261. summary: 新增客户申请
  15262. tags:
  15263. - 风险管理v3
  15264. /Erms3/ModifyUserInfoApply:
  15265. post:
  15266. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  15267. int, "userstate": 2 }'
  15268. parameters:
  15269. - description: 用户信息
  15270. in: body
  15271. name: jsonBody
  15272. required: true
  15273. schema:
  15274. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  15275. produces:
  15276. - application/json
  15277. responses:
  15278. "200":
  15279. description: OK
  15280. schema:
  15281. $ref: '#/definitions/app.Response'
  15282. "500":
  15283. description: Internal Server Error
  15284. schema:
  15285. $ref: '#/definitions/app.Response'
  15286. security:
  15287. - ApiKeyAuth: []
  15288. summary: 修改客户申请
  15289. tags:
  15290. - 风险管理v3
  15291. /Erms3/QueryBusinessInfo:
  15292. get:
  15293. parameters:
  15294. - description: 资金账号ID列表,用逗号分隔
  15295. in: query
  15296. name: accountids
  15297. required: true
  15298. type: string
  15299. - description: 状态,0为未结束 1为已结束
  15300. in: query
  15301. name: status
  15302. required: true
  15303. type: integer
  15304. produces:
  15305. - application/json
  15306. responses:
  15307. "200":
  15308. description: OK
  15309. schema:
  15310. items:
  15311. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  15312. type: array
  15313. "500":
  15314. description: Internal Server Error
  15315. schema:
  15316. $ref: '#/definitions/app.Response'
  15317. security:
  15318. - ApiKeyAuth: []
  15319. summary: 查询业务表单数据
  15320. tags:
  15321. - 风险管理v3
  15322. /Erms3/QueryPendingAuditContract:
  15323. get:
  15324. parameters:
  15325. - description: 资金账号ID列表,逗号隔开
  15326. in: query
  15327. name: accountids
  15328. required: true
  15329. type: string
  15330. - description: 合同类型 1-采购 -1-销售
  15331. in: query
  15332. name: contracttype
  15333. required: true
  15334. type: integer
  15335. - description: 合同模式 1-普通 2-回购
  15336. in: query
  15337. name: contractmode
  15338. required: true
  15339. type: integer
  15340. produces:
  15341. - application/json
  15342. responses:
  15343. "200":
  15344. description: OK
  15345. schema:
  15346. items:
  15347. $ref: '#/definitions/erms3.QryAuditContractRsp'
  15348. type: array
  15349. "500":
  15350. description: Internal Server Error
  15351. schema:
  15352. $ref: '#/definitions/app.Response'
  15353. security:
  15354. - ApiKeyAuth: []
  15355. summary: 查询待审核合同
  15356. tags:
  15357. - 风险管理v3
  15358. /Erms3/QueryPendingBusiness:
  15359. get:
  15360. parameters:
  15361. - description: 资金账号ID列表,逗号隔开
  15362. in: query
  15363. name: accountids
  15364. required: true
  15365. type: string
  15366. produces:
  15367. - application/json
  15368. responses:
  15369. "200":
  15370. description: OK
  15371. schema:
  15372. items:
  15373. $ref: '#/definitions/erms3.QryPendingBizRsp'
  15374. type: array
  15375. "500":
  15376. description: Internal Server Error
  15377. schema:
  15378. $ref: '#/definitions/app.Response'
  15379. security:
  15380. - ApiKeyAuth: []
  15381. summary: 查询待审核基差贸易业务
  15382. tags:
  15383. - 风险管理v3
  15384. /Erms3/QuerySpotContractAppleForm:
  15385. get:
  15386. parameters:
  15387. - description: 登录账号
  15388. in: query
  15389. name: loginID
  15390. required: true
  15391. type: integer
  15392. produces:
  15393. - application/json
  15394. responses:
  15395. "200":
  15396. description: OK
  15397. schema:
  15398. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  15399. "500":
  15400. description: Internal Server Error
  15401. schema:
  15402. $ref: '#/definitions/app.Response'
  15403. security:
  15404. - ApiKeyAuth: []
  15405. summary: 查询合同申请表单数据
  15406. tags:
  15407. - 风险管理v3
  15408. /Erms3/QuerySpotContractDetail:
  15409. get:
  15410. parameters:
  15411. - description: 资金账号ID列表,用逗号分隔
  15412. in: query
  15413. name: accountids
  15414. required: true
  15415. type: string
  15416. - description: 合同类型,1为采购合同 -1为销售合同
  15417. in: query
  15418. name: contracttype
  15419. required: true
  15420. type: integer
  15421. - description: 合同模式,1为普通合同 2为回购销售合同
  15422. in: query
  15423. name: contractmode
  15424. required: true
  15425. type: integer
  15426. - description: 状态,0为履约中 1为已完成
  15427. in: query
  15428. name: status
  15429. required: true
  15430. type: integer
  15431. produces:
  15432. - application/json
  15433. responses:
  15434. "200":
  15435. description: OK
  15436. schema:
  15437. items:
  15438. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  15439. type: array
  15440. "500":
  15441. description: Internal Server Error
  15442. schema:
  15443. $ref: '#/definitions/app.Response'
  15444. security:
  15445. - ApiKeyAuth: []
  15446. summary: 查询合同详细信息
  15447. tags:
  15448. - 风险管理v3
  15449. /Erms3/QueryUserInfoApplies:
  15450. get:
  15451. parameters:
  15452. - description: 页码
  15453. in: query
  15454. name: page
  15455. type: integer
  15456. - description: 每页条数
  15457. in: query
  15458. name: pagesize
  15459. type: integer
  15460. - description: 客户名称,支持模糊查询
  15461. in: query
  15462. name: userName
  15463. type: string
  15464. produces:
  15465. - application/json
  15466. responses:
  15467. "200":
  15468. description: OK
  15469. schema:
  15470. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  15471. "500":
  15472. description: Internal Server Error
  15473. schema:
  15474. $ref: '#/definitions/app.Response'
  15475. security:
  15476. - ApiKeyAuth: []
  15477. summary: 客户申请信息查询
  15478. tags:
  15479. - 风险管理v3
  15480. /Erms3/QueryUserInfos:
  15481. get:
  15482. parameters:
  15483. - description: 页码
  15484. in: query
  15485. name: page
  15486. type: integer
  15487. - description: 每页条数
  15488. in: query
  15489. name: pagesize
  15490. type: integer
  15491. - description: 客户名称,支持模糊查询
  15492. in: query
  15493. name: userName
  15494. type: string
  15495. produces:
  15496. - application/json
  15497. responses:
  15498. "200":
  15499. description: OK
  15500. schema:
  15501. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  15502. "500":
  15503. description: Internal Server Error
  15504. schema:
  15505. $ref: '#/definitions/app.Response'
  15506. security:
  15507. - ApiKeyAuth: []
  15508. summary: 客户信息查询
  15509. tags:
  15510. - 风险管理v3
  15511. /HSBY/GetHsbyMyCount:
  15512. get:
  15513. description: 说明: 不包括已完成的数量。
  15514. parameters:
  15515. - description: 资金账户列表,格式:1,2,3
  15516. in: query
  15517. name: accountIDs
  15518. required: true
  15519. type: string
  15520. produces:
  15521. - application/json
  15522. responses:
  15523. "200":
  15524. description: OK
  15525. schema:
  15526. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  15527. "500":
  15528. description: Internal Server Error
  15529. schema:
  15530. $ref: '#/definitions/app.Response'
  15531. security:
  15532. - ApiKeyAuth: []
  15533. summary: 获取我的订单与包裹数量
  15534. tags:
  15535. - 定制【海商报业】
  15536. /HSBY/QueryClientFixedADConfigs:
  15537. get:
  15538. produces:
  15539. - application/json
  15540. responses:
  15541. "200":
  15542. description: OK
  15543. schema:
  15544. $ref: '#/definitions/models.Clientfixedadconfig'
  15545. "500":
  15546. description: Internal Server Error
  15547. schema:
  15548. $ref: '#/definitions/app.Response'
  15549. security:
  15550. - ApiKeyAuth: []
  15551. summary: 获取终端固定广告配置
  15552. tags:
  15553. - 定制【海商报业】
  15554. /HSBY/QueryHsbyBuyMyTradeDetail:
  15555. get:
  15556. parameters:
  15557. - description: 页码
  15558. in: query
  15559. name: page
  15560. type: integer
  15561. - description: 每页条数
  15562. in: query
  15563. name: pagesize
  15564. type: integer
  15565. - description: 资金账户列表,格式:1,2,3
  15566. in: query
  15567. name: accountIDs
  15568. required: true
  15569. type: string
  15570. produces:
  15571. - application/json
  15572. responses:
  15573. "200":
  15574. description: OK
  15575. schema:
  15576. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  15577. "500":
  15578. description: Internal Server Error
  15579. schema:
  15580. $ref: '#/definitions/app.Response'
  15581. security:
  15582. - ApiKeyAuth: []
  15583. summary: 查询"我的订单 - 已完成"单据信息
  15584. tags:
  15585. - 定制【海商报业】
  15586. /HSBY/QueryHsbyGoodsOrderDetails:
  15587. get:
  15588. description: 说明:查询结果已按委托价格和委托时间排序
  15589. parameters:
  15590. - description: 商品ID
  15591. in: query
  15592. name: goodsID
  15593. required: true
  15594. type: integer
  15595. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  15596. in: query
  15597. name: accountIDs
  15598. type: string
  15599. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  15600. in: query
  15601. name: buyOrSell
  15602. type: integer
  15603. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  15604. in: query
  15605. name: price
  15606. type: number
  15607. - description: 档位,不传则默认为3档
  15608. in: query
  15609. name: speed
  15610. type: integer
  15611. produces:
  15612. - application/json
  15613. responses:
  15614. "200":
  15615. description: OK
  15616. schema:
  15617. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  15618. "500":
  15619. description: Internal Server Error
  15620. schema:
  15621. $ref: '#/definitions/app.Response'
  15622. security:
  15623. - ApiKeyAuth: []
  15624. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  15625. tags:
  15626. - 定制【海商报业】
  15627. /HSBY/QueryHsbyListingGoodsDetail:
  15628. get:
  15629. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  15630. parameters:
  15631. - description: 商品ID
  15632. in: query
  15633. name: goodsID
  15634. required: true
  15635. type: integer
  15636. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  15637. in: query
  15638. name: accountID
  15639. type: integer
  15640. produces:
  15641. - application/json
  15642. responses:
  15643. "200":
  15644. description: OK
  15645. schema:
  15646. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  15647. "500":
  15648. description: Internal Server Error
  15649. schema:
  15650. $ref: '#/definitions/app.Response'
  15651. security:
  15652. - ApiKeyAuth: []
  15653. summary: 查询二级市场(挂牌点选)商品信息详情
  15654. tags:
  15655. - 定制【海商报业】
  15656. /HSBY/QueryHsbyMarketGoodsDetail:
  15657. get:
  15658. parameters:
  15659. - description: 委托单号
  15660. in: query
  15661. name: orderID
  15662. required: true
  15663. type: integer
  15664. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  15665. in: query
  15666. name: accountID
  15667. type: integer
  15668. produces:
  15669. - application/json
  15670. responses:
  15671. "200":
  15672. description: OK
  15673. schema:
  15674. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  15675. "500":
  15676. description: Internal Server Error
  15677. schema:
  15678. $ref: '#/definitions/app.Response'
  15679. security:
  15680. - ApiKeyAuth: []
  15681. summary: 查询三级市场(商城)商品信息详情
  15682. tags:
  15683. - 定制【海商报业】
  15684. /HSBY/QueryHsbyMarketGoodses:
  15685. get:
  15686. parameters:
  15687. - description: 页码
  15688. in: query
  15689. name: page
  15690. type: integer
  15691. - description: 每页条数
  15692. in: query
  15693. name: pagesize
  15694. type: integer
  15695. - description: 市场ID列表,格式:1,2,3
  15696. in: query
  15697. name: marketIDs
  15698. required: true
  15699. type: string
  15700. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  15701. in: query
  15702. name: accountID
  15703. required: true
  15704. type: integer
  15705. - description: 类别ID
  15706. in: query
  15707. name: categoryID
  15708. type: integer
  15709. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  15710. in: query
  15711. name: goodsIDs
  15712. type: string
  15713. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  15714. in: query
  15715. name: couponTypeID
  15716. type: integer
  15717. produces:
  15718. - application/json
  15719. responses:
  15720. "200":
  15721. description: OK
  15722. schema:
  15723. $ref: '#/definitions/models.HsbyMarketGoods'
  15724. "500":
  15725. description: Internal Server Error
  15726. schema:
  15727. $ref: '#/definitions/app.Response'
  15728. security:
  15729. - ApiKeyAuth: []
  15730. summary: 查询特卖商品列表(三级商城)
  15731. tags:
  15732. - 定制【海商报业】
  15733. /HSBY/QueryHsbyMarkets:
  15734. get:
  15735. produces:
  15736. - application/json
  15737. responses:
  15738. "200":
  15739. description: OK
  15740. schema:
  15741. $ref: '#/definitions/models.HsbyMarketInfo'
  15742. "500":
  15743. description: Internal Server Error
  15744. schema:
  15745. $ref: '#/definitions/app.Response'
  15746. security:
  15747. - ApiKeyAuth: []
  15748. summary: 查询海商报业相关市场信息
  15749. tags:
  15750. - 定制【海商报业】
  15751. /HSBY/QueryHsbyMyBuyOrderDetails:
  15752. get:
  15753. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  15754. parameters:
  15755. - description: 资金账户列表,格式:1,2,3
  15756. in: query
  15757. name: accountIDs
  15758. required: true
  15759. type: string
  15760. produces:
  15761. - application/json
  15762. responses:
  15763. "200":
  15764. description: OK
  15765. schema:
  15766. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  15767. "500":
  15768. description: Internal Server Error
  15769. schema:
  15770. $ref: '#/definitions/app.Response'
  15771. security:
  15772. - ApiKeyAuth: []
  15773. summary: 查询“我的订单”信息
  15774. tags:
  15775. - 定制【海商报业】
  15776. /HSBY/QueryHsbyMyGoods:
  15777. get:
  15778. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  15779. parameters:
  15780. - description: 资金账户列表,格式:1,2,3
  15781. in: query
  15782. name: accountIDs
  15783. required: true
  15784. type: string
  15785. produces:
  15786. - application/json
  15787. responses:
  15788. "200":
  15789. description: OK
  15790. schema:
  15791. $ref: '#/definitions/models.HsbyMyGoods'
  15792. "500":
  15793. description: Internal Server Error
  15794. schema:
  15795. $ref: '#/definitions/app.Response'
  15796. security:
  15797. - ApiKeyAuth: []
  15798. summary: 查询“我的商品”信息
  15799. tags:
  15800. - 定制【海商报业】
  15801. /HSBY/QueryHsbyMyPackages:
  15802. get:
  15803. parameters:
  15804. - description: 资金账户列表,格式:1,2,3
  15805. in: query
  15806. name: accountIDs
  15807. required: true
  15808. type: string
  15809. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  15810. in: query
  15811. name: takeOrderStatus
  15812. type: integer
  15813. produces:
  15814. - application/json
  15815. responses:
  15816. "200":
  15817. description: OK
  15818. schema:
  15819. $ref: '#/definitions/models.HsbyMyPackage'
  15820. "500":
  15821. description: Internal Server Error
  15822. schema:
  15823. $ref: '#/definitions/app.Response'
  15824. security:
  15825. - ApiKeyAuth: []
  15826. summary: 查询我的包裹信息
  15827. tags:
  15828. - 定制【海商报业】
  15829. /HSBY/QueryHsbyPreGoodsDetail:
  15830. get:
  15831. parameters:
  15832. - description: 商品ID
  15833. in: query
  15834. name: goodsID
  15835. required: true
  15836. type: integer
  15837. - description: 资金账户,主要用于获取预售商品购买上限
  15838. in: query
  15839. name: accountID
  15840. type: integer
  15841. produces:
  15842. - application/json
  15843. responses:
  15844. "200":
  15845. description: OK
  15846. schema:
  15847. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  15848. "500":
  15849. description: Internal Server Error
  15850. schema:
  15851. $ref: '#/definitions/app.Response'
  15852. security:
  15853. - ApiKeyAuth: []
  15854. summary: 查询一级市场(预售)商品信息详情
  15855. tags:
  15856. - 定制【海商报业】
  15857. /HSBY/QueryHsbyPreGoodses:
  15858. get:
  15859. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  15860. parameters:
  15861. - description: 页码
  15862. in: query
  15863. name: page
  15864. type: integer
  15865. - description: 每页条数
  15866. in: query
  15867. name: pagesize
  15868. type: integer
  15869. - description: 市场ID列表,格式:1,2,3
  15870. in: query
  15871. name: marketIDs
  15872. required: true
  15873. type: string
  15874. - description: 目的地(省)ID
  15875. in: query
  15876. name: descProvinceID
  15877. type: integer
  15878. - description: 目的地(市)ID
  15879. in: query
  15880. name: descCityID
  15881. type: integer
  15882. produces:
  15883. - application/json
  15884. responses:
  15885. "200":
  15886. description: OK
  15887. schema:
  15888. $ref: '#/definitions/models.HsbyPreGoods'
  15889. "500":
  15890. description: Internal Server Error
  15891. schema:
  15892. $ref: '#/definitions/app.Response'
  15893. security:
  15894. - ApiKeyAuth: []
  15895. summary: 查询新品上市商品列表(一级市场预售)
  15896. tags:
  15897. - 定制【海商报业】
  15898. /HSBY/QueryHsbySellMyDetails:
  15899. get:
  15900. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  15901. parameters:
  15902. - description: 页码
  15903. in: query
  15904. name: page
  15905. type: integer
  15906. - description: 每页条数
  15907. in: query
  15908. name: pagesize
  15909. type: integer
  15910. - description: 资金账户列表,格式:1,2,3
  15911. in: query
  15912. name: accountIDs
  15913. required: true
  15914. type: string
  15915. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  15916. in: query
  15917. name: orderType
  15918. type: integer
  15919. produces:
  15920. - application/json
  15921. responses:
  15922. "200":
  15923. description: OK
  15924. schema:
  15925. $ref: '#/definitions/models.HsbySellMyDetail'
  15926. "500":
  15927. description: Internal Server Error
  15928. schema:
  15929. $ref: '#/definitions/app.Response'
  15930. security:
  15931. - ApiKeyAuth: []
  15932. summary: 查询"我的闲置"单据信息
  15933. tags:
  15934. - 定制【海商报业】
  15935. /HSBY/QueryHsbyTopGoodses:
  15936. get:
  15937. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  15938. parameters:
  15939. - description: 页码
  15940. in: query
  15941. name: page
  15942. type: integer
  15943. - description: 每页条数
  15944. in: query
  15945. name: pagesize
  15946. type: integer
  15947. - description: 市场ID列表,格式:1,2,3
  15948. in: query
  15949. name: marketIDs
  15950. required: true
  15951. type: string
  15952. - description: 目的地(省)ID
  15953. in: query
  15954. name: descProvinceID
  15955. type: integer
  15956. - description: 目的地(市)ID
  15957. in: query
  15958. name: descCityID
  15959. type: integer
  15960. produces:
  15961. - application/json
  15962. responses:
  15963. "200":
  15964. description: OK
  15965. schema:
  15966. $ref: '#/definitions/models.HsbyTopGoods'
  15967. "500":
  15968. description: Internal Server Error
  15969. schema:
  15970. $ref: '#/definitions/app.Response'
  15971. security:
  15972. - ApiKeyAuth: []
  15973. summary: 查询热卖商品列表(二级市场挂牌点选)
  15974. tags:
  15975. - 定制【海商报业】
  15976. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  15977. get:
  15978. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  15979. parameters:
  15980. - description: 商品ID
  15981. in: query
  15982. name: goodsID
  15983. required: true
  15984. type: integer
  15985. produces:
  15986. - application/json
  15987. responses:
  15988. "200":
  15989. description: OK
  15990. schema:
  15991. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  15992. "500":
  15993. description: Internal Server Error
  15994. schema:
  15995. $ref: '#/definitions/app.Response'
  15996. security:
  15997. - ApiKeyAuth: []
  15998. summary: 查询游客三级市场(商城)商品信息详情
  15999. tags:
  16000. - 定制【海商报业】
  16001. /HSBY/QueryHsbyVisitorMarketGoodses:
  16002. get:
  16003. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  16004. parameters:
  16005. - description: 页码
  16006. in: query
  16007. name: page
  16008. type: integer
  16009. - description: 每页条数
  16010. in: query
  16011. name: pagesize
  16012. type: integer
  16013. - description: 市场ID列表,格式:1,2,3
  16014. in: query
  16015. name: marketIDs
  16016. required: true
  16017. type: string
  16018. - description: 类别ID
  16019. in: query
  16020. name: categoryID
  16021. type: integer
  16022. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  16023. in: query
  16024. name: goodsIDs
  16025. type: string
  16026. produces:
  16027. - application/json
  16028. responses:
  16029. "200":
  16030. description: OK
  16031. schema:
  16032. $ref: '#/definitions/models.HsbyMarketGoods'
  16033. "500":
  16034. description: Internal Server Error
  16035. schema:
  16036. $ref: '#/definitions/app.Response'
  16037. security:
  16038. - ApiKeyAuth: []
  16039. summary: 查询游客特卖商品列表(三级商城)
  16040. tags:
  16041. - 定制【海商报业】
  16042. /HSBY/QueryMyCollectionOrders:
  16043. get:
  16044. parameters:
  16045. - description: 页码
  16046. in: query
  16047. name: page
  16048. type: integer
  16049. - description: 每页条数
  16050. in: query
  16051. name: pagesize
  16052. type: integer
  16053. - description: 资金账户,格式:1,2,3
  16054. in: query
  16055. name: accountIDs
  16056. required: true
  16057. type: string
  16058. produces:
  16059. - application/json
  16060. responses:
  16061. "200":
  16062. description: OK
  16063. schema:
  16064. $ref: '#/definitions/models.HsbySellCollectionOrder'
  16065. "500":
  16066. description: Internal Server Error
  16067. schema:
  16068. $ref: '#/definitions/app.Response'
  16069. security:
  16070. - ApiKeyAuth: []
  16071. summary: 我的闲置中收款信息查询
  16072. tags:
  16073. - 定制【海商报业】
  16074. /HSBY/QueryMyCouponHolds:
  16075. get:
  16076. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  16077. parameters:
  16078. - description: 资金账户列表,格式:1,2,3
  16079. in: query
  16080. name: accountIDs
  16081. required: true
  16082. type: string
  16083. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  16084. in: query
  16085. name: holdStatus
  16086. type: string
  16087. produces:
  16088. - application/json
  16089. responses:
  16090. "200":
  16091. description: OK
  16092. schema:
  16093. $ref: '#/definitions/models.MyCouponHold'
  16094. "500":
  16095. description: Internal Server Error
  16096. schema:
  16097. $ref: '#/definitions/app.Response'
  16098. security:
  16099. - ApiKeyAuth: []
  16100. summary: 我的优惠卷持仓查询
  16101. tags:
  16102. - 定制【海商报业】
  16103. /HSBY/QueryMyCoupons:
  16104. get:
  16105. parameters:
  16106. - description: 资金账户列表,格式:1,2,3
  16107. in: query
  16108. name: accountIDs
  16109. required: true
  16110. type: string
  16111. - description: 商品ID, 一般与sellUserID配套传入
  16112. in: query
  16113. name: goodsID
  16114. type: integer
  16115. - description: 卖方UserID
  16116. in: query
  16117. name: sellUserID
  16118. type: integer
  16119. produces:
  16120. - application/json
  16121. responses:
  16122. "200":
  16123. description: OK
  16124. schema:
  16125. $ref: '#/definitions/models.MyCoupon'
  16126. "500":
  16127. description: Internal Server Error
  16128. schema:
  16129. $ref: '#/definitions/app.Response'
  16130. security:
  16131. - ApiKeyAuth: []
  16132. summary: 我的优惠卷查询
  16133. tags:
  16134. - 定制【海商报业】
  16135. /HSBY/QueryMyPayOrders:
  16136. get:
  16137. parameters:
  16138. - description: 页码
  16139. in: query
  16140. name: page
  16141. type: integer
  16142. - description: 每页条数
  16143. in: query
  16144. name: pagesize
  16145. type: integer
  16146. - description: 资金账户列表,格式:1,2,3
  16147. in: query
  16148. name: accountIDs
  16149. required: true
  16150. type: string
  16151. - description: 买方委托单号
  16152. in: query
  16153. name: buyOrderID
  16154. type: integer
  16155. - description: 卖方委托单号
  16156. in: query
  16157. name: sellOrderID
  16158. type: integer
  16159. produces:
  16160. - application/json
  16161. responses:
  16162. "200":
  16163. description: OK
  16164. schema:
  16165. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  16166. "500":
  16167. description: Internal Server Error
  16168. schema:
  16169. $ref: '#/definitions/app.Response'
  16170. security:
  16171. - ApiKeyAuth: []
  16172. summary: 获取我的订单中待付款信息
  16173. tags:
  16174. - 定制【海商报业】
  16175. /HSBY/QueryMyUsedCoupon:
  16176. get:
  16177. parameters:
  16178. - description: 资金账户列表,格式:1,2,3
  16179. in: query
  16180. name: accountIDs
  16181. required: true
  16182. type: string
  16183. produces:
  16184. - application/json
  16185. responses:
  16186. "200":
  16187. description: OK
  16188. schema:
  16189. $ref: '#/definitions/models.MyUsedCoupon'
  16190. "500":
  16191. description: Internal Server Error
  16192. schema:
  16193. $ref: '#/definitions/app.Response'
  16194. security:
  16195. - ApiKeyAuth: []
  16196. summary: 已使用优惠卷查询
  16197. tags:
  16198. - 定制【海商报业】
  16199. /HSBY/QueryProvincesAndCities:
  16200. get:
  16201. description: 查询结果只包括二级市场商品已关连的省市信息。
  16202. parameters:
  16203. - description: 省ID
  16204. in: query
  16205. name: provinceID
  16206. type: integer
  16207. produces:
  16208. - application/json
  16209. responses:
  16210. "200":
  16211. description: OK
  16212. schema:
  16213. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  16214. "500":
  16215. description: Internal Server Error
  16216. schema:
  16217. $ref: '#/definitions/app.Response'
  16218. security:
  16219. - ApiKeyAuth: []
  16220. summary: 查询省市信息(不包括区)
  16221. tags:
  16222. - 定制【海商报业】
  16223. /HSBY/SetHsbyMyPackagesStatus:
  16224. post:
  16225. parameters:
  16226. - description: 提货单号
  16227. in: query
  16228. name: takeOrderID
  16229. required: true
  16230. type: string
  16231. - description: 资金账号
  16232. in: query
  16233. name: accountID
  16234. required: true
  16235. type: integer
  16236. produces:
  16237. - application/json
  16238. responses:
  16239. "200":
  16240. description: OK
  16241. schema:
  16242. $ref: '#/definitions/app.Response'
  16243. "500":
  16244. description: Internal Server Error
  16245. schema:
  16246. $ref: '#/definitions/app.Response'
  16247. security:
  16248. - ApiKeyAuth: []
  16249. summary: 设置我的包裹已收货状态
  16250. tags:
  16251. - 定制【海商报业】
  16252. /Market/QueryGoodsesByLoginID:
  16253. get:
  16254. parameters:
  16255. - description: 登录账号
  16256. in: query
  16257. name: loginID
  16258. required: true
  16259. type: integer
  16260. - description: 市场ID列表,格式:1,2,3
  16261. in: query
  16262. name: marketIDs
  16263. type: string
  16264. produces:
  16265. - application/json
  16266. responses:
  16267. "200":
  16268. description: OK
  16269. schema:
  16270. $ref: '#/definitions/models.Goods'
  16271. "500":
  16272. description: Internal Server Error
  16273. schema:
  16274. $ref: '#/definitions/app.Response'
  16275. security:
  16276. - ApiKeyAuth: []
  16277. summary: 获取登录账号有权限的商品信息
  16278. tags:
  16279. - 通用市场
  16280. /Market/QueryMarketRun:
  16281. get:
  16282. parameters:
  16283. - description: 市场ID,不传返回所有
  16284. in: query
  16285. name: marketID
  16286. type: integer
  16287. produces:
  16288. - application/json
  16289. responses:
  16290. "200":
  16291. description: OK
  16292. schema:
  16293. $ref: '#/definitions/models.Marketrun'
  16294. "500":
  16295. description: Internal Server Error
  16296. schema:
  16297. $ref: '#/definitions/app.Response'
  16298. security:
  16299. - ApiKeyAuth: []
  16300. summary: 查询市场运行信息
  16301. tags:
  16302. - 通用市场
  16303. /Market/QueryMarketsByLoginID:
  16304. get:
  16305. parameters:
  16306. - description: 登录账号
  16307. in: query
  16308. name: loginID
  16309. required: true
  16310. type: integer
  16311. produces:
  16312. - application/json
  16313. responses:
  16314. "200":
  16315. description: OK
  16316. schema:
  16317. $ref: '#/definitions/models.Market'
  16318. "500":
  16319. description: Internal Server Error
  16320. schema:
  16321. $ref: '#/definitions/app.Response'
  16322. security:
  16323. - ApiKeyAuth: []
  16324. summary: 获取登录账号有权限的市场信息
  16325. tags:
  16326. - 通用市场
  16327. /Order/QueryHisTradeDetail:
  16328. get:
  16329. parameters:
  16330. - description: 资金账户 - 格式:1,2,3
  16331. in: query
  16332. name: accountID
  16333. required: true
  16334. type: string
  16335. - description: 成交单号
  16336. in: query
  16337. name: tradeID
  16338. type: integer
  16339. - description: 委托单号
  16340. in: query
  16341. name: orderID
  16342. type: integer
  16343. - description: 交易模式 - 格式:1,2,3
  16344. in: query
  16345. name: tradeMode
  16346. type: string
  16347. - description: 委托单据类型
  16348. in: query
  16349. name: buildType
  16350. type: integer
  16351. - description: 成交类别 - 格式:1,2,3
  16352. in: query
  16353. name: tradeType
  16354. type: string
  16355. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  16356. in: query
  16357. name: startDate
  16358. type: string
  16359. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  16360. in: query
  16361. name: endDate
  16362. type: string
  16363. produces:
  16364. - application/json
  16365. responses:
  16366. "200":
  16367. description: OK
  16368. schema:
  16369. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  16370. "500":
  16371. description: Internal Server Error
  16372. schema:
  16373. $ref: '#/definitions/app.Response'
  16374. security:
  16375. - ApiKeyAuth: []
  16376. summary: 历史成交单查询(合约市场)
  16377. tags:
  16378. - 通用单据
  16379. /Order/QueryHisTradeOrderDetail:
  16380. get:
  16381. parameters:
  16382. - description: 资金账户 - 格式:1,2,3
  16383. in: query
  16384. name: accountID
  16385. required: true
  16386. type: string
  16387. - description: 交易模式 - 格式:1,2,3
  16388. in: query
  16389. name: tradeMode
  16390. type: string
  16391. - description: 委托状态 - 格式:1,2,3
  16392. in: query
  16393. name: orderStatus
  16394. type: string
  16395. - description: 委托单号
  16396. in: query
  16397. name: orderID
  16398. type: integer
  16399. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  16400. in: query
  16401. name: startDate
  16402. type: string
  16403. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  16404. in: query
  16405. name: endDate
  16406. type: string
  16407. produces:
  16408. - application/json
  16409. responses:
  16410. "200":
  16411. description: OK
  16412. schema:
  16413. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  16414. "500":
  16415. description: Internal Server Error
  16416. schema:
  16417. $ref: '#/definitions/app.Response'
  16418. security:
  16419. - ApiKeyAuth: []
  16420. summary: 历史委托单查询请求(合约市场)
  16421. tags:
  16422. - 通用单据
  16423. /Order/QueryTradeDetail:
  16424. get:
  16425. parameters:
  16426. - description: 资金账户 - 格式:1,2,3
  16427. in: query
  16428. name: accountID
  16429. required: true
  16430. type: string
  16431. - description: 成交单号
  16432. in: query
  16433. name: tradeID
  16434. type: integer
  16435. - description: 委托单号
  16436. in: query
  16437. name: orderID
  16438. type: integer
  16439. - description: 交易模式 - 格式:1,2,3
  16440. in: query
  16441. name: tradeMode
  16442. type: string
  16443. - description: 委托单据类型
  16444. in: query
  16445. name: buildType
  16446. type: integer
  16447. - description: 成交类别 - 格式:1,2,3
  16448. in: query
  16449. name: tradeType
  16450. type: string
  16451. produces:
  16452. - application/json
  16453. responses:
  16454. "200":
  16455. description: OK
  16456. schema:
  16457. $ref: '#/definitions/order.QueryTradeDetailRsp'
  16458. "500":
  16459. description: Internal Server Error
  16460. schema:
  16461. $ref: '#/definitions/app.Response'
  16462. security:
  16463. - ApiKeyAuth: []
  16464. summary: 成交单查询(合约市场)
  16465. tags:
  16466. - 通用单据
  16467. /Order/QueryTradeOrderDetail:
  16468. get:
  16469. parameters:
  16470. - description: 资金账户 - 格式:1,2,3
  16471. in: query
  16472. name: accountID
  16473. required: true
  16474. type: string
  16475. - description: 交易模式 - 格式:1,2,3
  16476. in: query
  16477. name: tradeMode
  16478. type: string
  16479. - description: 委托状态 - 格式:1,2,3
  16480. in: query
  16481. name: orderStatus
  16482. type: string
  16483. - description: 委托单号
  16484. in: query
  16485. name: orderID
  16486. type: integer
  16487. produces:
  16488. - application/json
  16489. responses:
  16490. "200":
  16491. description: OK
  16492. schema:
  16493. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  16494. "500":
  16495. description: Internal Server Error
  16496. schema:
  16497. $ref: '#/definitions/app.Response'
  16498. security:
  16499. - ApiKeyAuth: []
  16500. summary: 委托单查询请求(合约市场)
  16501. tags:
  16502. - 通用单据
  16503. /Order/QueryTradePosition:
  16504. get:
  16505. parameters:
  16506. - description: 资金账户 - 格式:1,2,3
  16507. in: query
  16508. name: accountID
  16509. required: true
  16510. type: string
  16511. - description: 交易模式 - 格式:1,2,3
  16512. in: query
  16513. name: tradeMode
  16514. type: string
  16515. produces:
  16516. - application/json
  16517. responses:
  16518. "200":
  16519. description: OK
  16520. schema:
  16521. $ref: '#/definitions/order.QueryTradePositionRsp'
  16522. "500":
  16523. description: Internal Server Error
  16524. schema:
  16525. $ref: '#/definitions/app.Response'
  16526. security:
  16527. - ApiKeyAuth: []
  16528. summary: 持仓汇总查询(合约市场)
  16529. tags:
  16530. - 通用单据
  16531. /Quote/QueryHistoryDatas:
  16532. get:
  16533. parameters:
  16534. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  16535. 日线'
  16536. in: query
  16537. name: cycleType
  16538. required: true
  16539. type: integer
  16540. - description: 商品代码
  16541. in: query
  16542. name: goodsCode
  16543. required: true
  16544. type: string
  16545. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  16546. in: query
  16547. name: startTime
  16548. type: string
  16549. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  16550. in: query
  16551. name: endTime
  16552. type: string
  16553. - description: 条数
  16554. in: query
  16555. name: count
  16556. type: integer
  16557. - description: 是否按时间顺序排序(默认为时间倒序排序)
  16558. in: query
  16559. name: isAsc
  16560. type: boolean
  16561. produces:
  16562. - application/json
  16563. responses:
  16564. "200":
  16565. description: OK
  16566. schema:
  16567. $ref: '#/definitions/quote.HistoryData'
  16568. "500":
  16569. description: Internal Server Error
  16570. schema:
  16571. $ref: '#/definitions/app.Response'
  16572. security:
  16573. - ApiKeyAuth: []
  16574. summary: 查询行情历史数据
  16575. tags:
  16576. - 行情服务
  16577. /Quote/QueryHistoryTikDatas:
  16578. get:
  16579. parameters:
  16580. - description: 商品代码
  16581. in: query
  16582. name: goodsCode
  16583. required: true
  16584. type: string
  16585. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  16586. in: query
  16587. name: startTime
  16588. type: string
  16589. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  16590. in: query
  16591. name: endTime
  16592. type: string
  16593. - description: 条数
  16594. in: query
  16595. name: count
  16596. type: integer
  16597. - description: 是否按时间顺序排序(默认为时间倒序排序)
  16598. in: query
  16599. name: isAsc
  16600. type: boolean
  16601. produces:
  16602. - application/json
  16603. responses:
  16604. "200":
  16605. description: OK
  16606. schema:
  16607. $ref: '#/definitions/quote.HistoryTikData'
  16608. "500":
  16609. description: Internal Server Error
  16610. schema:
  16611. $ref: '#/definitions/app.Response'
  16612. security:
  16613. - ApiKeyAuth: []
  16614. summary: 查询行情Tik数据
  16615. tags:
  16616. - 行情服务
  16617. /Quote/QueryQuoteDay:
  16618. get:
  16619. parameters:
  16620. - description: 商品代码列表,格式:CU2102,CU2103,AL2107
  16621. in: query
  16622. name: goodsCodes
  16623. required: true
  16624. type: string
  16625. produces:
  16626. - application/json
  16627. responses:
  16628. "200":
  16629. description: OK
  16630. schema:
  16631. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  16632. "500":
  16633. description: Internal Server Error
  16634. schema:
  16635. $ref: '#/definitions/app.Response'
  16636. security:
  16637. - ApiKeyAuth: []
  16638. summary: 获取商品盘面信息
  16639. tags:
  16640. - 行情服务
  16641. /Quote/QueryTSData:
  16642. get:
  16643. parameters:
  16644. - description: 商品代码
  16645. in: query
  16646. name: goodsCode
  16647. required: true
  16648. type: string
  16649. produces:
  16650. - application/json
  16651. responses:
  16652. "200":
  16653. description: OK
  16654. schema:
  16655. $ref: '#/definitions/quote.QueryTSDataRsp'
  16656. "500":
  16657. description: Internal Server Error
  16658. schema:
  16659. $ref: '#/definitions/app.Response'
  16660. security:
  16661. - ApiKeyAuth: []
  16662. summary: 分时图数据查询
  16663. tags:
  16664. - 行情服务
  16665. /SZDZ/QueryConvertConfig:
  16666. get:
  16667. parameters:
  16668. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  16669. 6:交易转花生米(不设置)
  16670. in: query
  16671. name: convertType
  16672. type: integer
  16673. - description: 外部商品代码[JD\PD]
  16674. in: query
  16675. name: outerGoodsCode
  16676. type: string
  16677. - description: 内部商品ID列表[交易],格式:1,2,3
  16678. in: query
  16679. name: innerGoodsIDs
  16680. type: string
  16681. produces:
  16682. - application/json
  16683. responses:
  16684. "200":
  16685. description: OK
  16686. schema:
  16687. $ref: '#/definitions/models.Szdz3convertconfig'
  16688. "500":
  16689. description: Internal Server Error
  16690. schema:
  16691. $ref: '#/definitions/app.Response'
  16692. security:
  16693. - ApiKeyAuth: []
  16694. summary: 查询交易系统转换设置
  16695. tags:
  16696. - 定制【尚志大宗】
  16697. /SZDZ/QueryConvertLog:
  16698. get:
  16699. parameters:
  16700. - description: 资金账户 - 格式:1,2,3
  16701. in: query
  16702. name: accountID
  16703. required: true
  16704. type: string
  16705. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  16706. in: query
  16707. name: startDate
  16708. type: string
  16709. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  16710. in: query
  16711. name: endDate
  16712. type: string
  16713. produces:
  16714. - application/json
  16715. responses:
  16716. "200":
  16717. description: OK
  16718. schema:
  16719. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  16720. "500":
  16721. description: Internal Server Error
  16722. schema:
  16723. $ref: '#/definitions/app.Response'
  16724. security:
  16725. - ApiKeyAuth: []
  16726. summary: 交易系统转换流水查询
  16727. tags:
  16728. - 定制【尚志大宗】
  16729. /SZDZ/QueryGoodsPickup:
  16730. get:
  16731. parameters:
  16732. - description: 资金账户 - 格式:1,2,3
  16733. in: query
  16734. name: accountID
  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/szdz.QueryGoodsPickupRsp'
  16748. "500":
  16749. description: Internal Server Error
  16750. schema:
  16751. $ref: '#/definitions/app.Response'
  16752. security:
  16753. - ApiKeyAuth: []
  16754. summary: 商品提货单查询
  16755. tags:
  16756. - 定制【尚志大宗】
  16757. /SZDZ/QueryRecieptOrder:
  16758. get:
  16759. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  16760. parameters:
  16761. - description: 页码
  16762. in: query
  16763. name: page
  16764. type: integer
  16765. - description: 每页条数
  16766. in: query
  16767. name: pagesize
  16768. type: integer
  16769. - description: 商品ID
  16770. in: query
  16771. name: goodsID
  16772. required: true
  16773. type: integer
  16774. - description: 所属账户名称
  16775. in: query
  16776. name: accountName
  16777. type: string
  16778. - description: 市场ID
  16779. in: query
  16780. name: marketID
  16781. type: integer
  16782. - description: 方向 - 0:买 1:卖
  16783. in: query
  16784. name: buyorsell
  16785. required: true
  16786. type: integer
  16787. produces:
  16788. - application/json
  16789. responses:
  16790. "200":
  16791. description: OK
  16792. schema:
  16793. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  16794. "500":
  16795. description: Internal Server Error
  16796. schema:
  16797. $ref: '#/definitions/app.Response'
  16798. security:
  16799. - ApiKeyAuth: []
  16800. summary: 点选挂牌委托单据查询(摘牌大厅)
  16801. tags:
  16802. - 定制【尚志大宗】
  16803. /SZDZ/QuerySZDZTradePosition:
  16804. get:
  16805. parameters:
  16806. - description: 资金账户
  16807. in: query
  16808. name: accountID
  16809. required: true
  16810. type: integer
  16811. produces:
  16812. - application/json
  16813. responses:
  16814. "200":
  16815. description: OK
  16816. schema:
  16817. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  16818. "500":
  16819. description: Internal Server Error
  16820. schema:
  16821. $ref: '#/definitions/app.Response'
  16822. security:
  16823. - ApiKeyAuth: []
  16824. summary: 持仓汇总查询(尚志大宗)
  16825. tags:
  16826. - 定制【尚志大宗】
  16827. /SZDZ/SearchWhite:
  16828. get:
  16829. parameters:
  16830. - description: 用户ID
  16831. in: query
  16832. name: userID
  16833. required: true
  16834. type: integer
  16835. produces:
  16836. - application/json
  16837. responses:
  16838. "200":
  16839. description: OK
  16840. schema:
  16841. $ref: '#/definitions/models.Szdz3searchwhitelist'
  16842. "500":
  16843. description: Internal Server Error
  16844. schema:
  16845. $ref: '#/definitions/app.Response'
  16846. security:
  16847. - ApiKeyAuth: []
  16848. summary: 搜索白名单
  16849. tags:
  16850. - 定制【尚志大宗】
  16851. /Search/SearchGoodses:
  16852. get:
  16853. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  16854. parameters:
  16855. - description: 检索内容
  16856. in: query
  16857. name: content
  16858. required: true
  16859. type: string
  16860. - description: 交易模式,格式:1,2,3
  16861. in: query
  16862. name: tradeModes
  16863. type: string
  16864. produces:
  16865. - application/json
  16866. responses:
  16867. "200":
  16868. description: OK
  16869. schema:
  16870. $ref: '#/definitions/models.SearchGoods'
  16871. "500":
  16872. description: Internal Server Error
  16873. schema:
  16874. $ref: '#/definitions/app.Response'
  16875. summary: 检索商品信息
  16876. tags:
  16877. - 检索服务
  16878. /TaAccount/GetTaAccounts:
  16879. get:
  16880. parameters:
  16881. - description: 登录账户
  16882. in: query
  16883. name: loginID
  16884. required: true
  16885. type: integer
  16886. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  16887. in: query
  16888. name: taAccountType
  16889. type: integer
  16890. produces:
  16891. - application/json
  16892. responses:
  16893. "200":
  16894. description: OK
  16895. schema:
  16896. $ref: '#/definitions/models.Taaccount'
  16897. "500":
  16898. description: Internal Server Error
  16899. schema:
  16900. $ref: '#/definitions/app.Response'
  16901. security:
  16902. - ApiKeyAuth: []
  16903. summary: 获取资金账户信息
  16904. tags:
  16905. - 资金账户
  16906. /TaAccount/QueryAmountLog:
  16907. get:
  16908. parameters:
  16909. - description: 页码
  16910. in: query
  16911. name: page
  16912. type: integer
  16913. - description: 每页条数
  16914. in: query
  16915. name: pagesize
  16916. type: integer
  16917. - description: 资金账户 - 格式:1,2,3
  16918. in: query
  16919. name: accountID
  16920. required: true
  16921. type: string
  16922. - description: 资金操作类型 - 格式:1,2,3
  16923. in: query
  16924. name: OperateType
  16925. type: string
  16926. produces:
  16927. - application/json
  16928. responses:
  16929. "200":
  16930. description: OK
  16931. schema:
  16932. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  16933. "500":
  16934. description: Internal Server Error
  16935. schema:
  16936. $ref: '#/definitions/app.Response'
  16937. security:
  16938. - ApiKeyAuth: []
  16939. summary: 资金流水查询(当前)
  16940. tags:
  16941. - 资金账户
  16942. /TaAccount/QueryHisAmountLog:
  16943. get:
  16944. parameters:
  16945. - description: 页码
  16946. in: query
  16947. name: page
  16948. type: integer
  16949. - description: 每页条数
  16950. in: query
  16951. name: pagesize
  16952. type: integer
  16953. - description: 资金账户 - 格式:1,2,3
  16954. in: query
  16955. name: accountID
  16956. required: true
  16957. type: string
  16958. - description: 资金操作类型 - 格式:1,2,3
  16959. in: query
  16960. name: OperateType
  16961. type: string
  16962. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  16963. in: query
  16964. name: startDate
  16965. type: string
  16966. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  16967. in: query
  16968. name: endDate
  16969. type: string
  16970. produces:
  16971. - application/json
  16972. responses:
  16973. "200":
  16974. description: OK
  16975. schema:
  16976. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  16977. "500":
  16978. description: Internal Server Error
  16979. schema:
  16980. $ref: '#/definitions/app.Response'
  16981. security:
  16982. - ApiKeyAuth: []
  16983. summary: 资金流水查询(历史)
  16984. tags:
  16985. - 资金账户
  16986. /Trade/QueryRecieptOrder:
  16987. get:
  16988. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  16989. parameters:
  16990. - description: 页码
  16991. in: query
  16992. name: page
  16993. type: integer
  16994. - description: 每页条数
  16995. in: query
  16996. name: pagesize
  16997. type: integer
  16998. - description: 商品ID
  16999. in: query
  17000. name: goodsID
  17001. required: true
  17002. type: integer
  17003. - description: 所属账户名称
  17004. in: query
  17005. name: accountName
  17006. type: string
  17007. - description: 市场ID
  17008. in: query
  17009. name: marketID
  17010. type: integer
  17011. - description: 方向 - 0:买 1:卖
  17012. in: query
  17013. name: buyorsell
  17014. required: true
  17015. type: integer
  17016. produces:
  17017. - application/json
  17018. responses:
  17019. "200":
  17020. description: OK
  17021. schema:
  17022. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  17023. "500":
  17024. description: Internal Server Error
  17025. schema:
  17026. $ref: '#/definitions/app.Response'
  17027. security:
  17028. - ApiKeyAuth: []
  17029. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  17030. tags:
  17031. - 通用交易
  17032. /User/AddMessageBoard:
  17033. post:
  17034. parameters:
  17035. - description: 用户ID
  17036. in: query
  17037. name: userID
  17038. required: true
  17039. type: integer
  17040. - description: 留言信息
  17041. in: query
  17042. name: message
  17043. required: true
  17044. type: string
  17045. - description: 联系电话
  17046. in: query
  17047. name: contactNum
  17048. required: true
  17049. type: string
  17050. produces:
  17051. - application/json
  17052. responses:
  17053. "200":
  17054. description: OK
  17055. schema:
  17056. $ref: '#/definitions/app.Response'
  17057. "500":
  17058. description: Internal Server Error
  17059. schema:
  17060. $ref: '#/definitions/app.Response'
  17061. security:
  17062. - ApiKeyAuth: []
  17063. summary: 添加用户留言板信息
  17064. tags:
  17065. - 用户信息
  17066. /User/AddUserFavoriteGoods:
  17067. post:
  17068. parameters:
  17069. - description: 用户ID
  17070. in: query
  17071. name: userID
  17072. required: true
  17073. type: integer
  17074. - description: 商品ID
  17075. in: query
  17076. name: goodsID
  17077. required: true
  17078. type: integer
  17079. produces:
  17080. - application/json
  17081. responses:
  17082. "200":
  17083. description: OK
  17084. schema:
  17085. $ref: '#/definitions/app.Response'
  17086. "500":
  17087. description: Internal Server Error
  17088. schema:
  17089. $ref: '#/definitions/app.Response'
  17090. security:
  17091. - ApiKeyAuth: []
  17092. summary: 添加用户商品收藏信息
  17093. tags:
  17094. - 用户信息
  17095. /User/GetLoginID:
  17096. get:
  17097. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  17098. parameters:
  17099. - description: 登录代码
  17100. in: query
  17101. name: username
  17102. required: true
  17103. type: string
  17104. produces:
  17105. - application/json
  17106. responses:
  17107. "200":
  17108. description: OK
  17109. schema:
  17110. $ref: '#/definitions/app.Response'
  17111. "500":
  17112. description: Internal Server Error
  17113. schema:
  17114. $ref: '#/definitions/app.Response'
  17115. summary: 获取登录ID
  17116. tags:
  17117. - 用户信息
  17118. /User/GetUserAccount:
  17119. get:
  17120. parameters:
  17121. - description: 用户ID
  17122. in: query
  17123. name: userID
  17124. required: true
  17125. type: integer
  17126. produces:
  17127. - application/json
  17128. responses:
  17129. "200":
  17130. description: OK
  17131. schema:
  17132. $ref: '#/definitions/models.Useraccount'
  17133. "500":
  17134. description: Internal Server Error
  17135. schema:
  17136. $ref: '#/definitions/app.Response'
  17137. security:
  17138. - ApiKeyAuth: []
  17139. summary: 获取用户账号信息
  17140. tags:
  17141. - 用户信息
  17142. /User/GetUserAuthStatus:
  17143. get:
  17144. parameters:
  17145. - description: 用户ID
  17146. in: query
  17147. name: userID
  17148. required: true
  17149. type: integer
  17150. produces:
  17151. - application/json
  17152. responses:
  17153. "200":
  17154. description: OK
  17155. schema:
  17156. $ref: '#/definitions/app.Response'
  17157. "500":
  17158. description: Internal Server Error
  17159. schema:
  17160. $ref: '#/definitions/app.Response'
  17161. security:
  17162. - ApiKeyAuth: []
  17163. summary: 获取用户实名认证状态
  17164. tags:
  17165. - 用户信息
  17166. /User/LoginQuery:
  17167. get:
  17168. parameters:
  17169. - description: 登录账号
  17170. in: query
  17171. name: loginID
  17172. required: true
  17173. type: integer
  17174. produces:
  17175. - application/json
  17176. responses:
  17177. "200":
  17178. description: OK
  17179. schema:
  17180. $ref: '#/definitions/user.LoginQueryRsp'
  17181. "500":
  17182. description: Internal Server Error
  17183. schema:
  17184. $ref: '#/definitions/app.Response'
  17185. security:
  17186. - ApiKeyAuth: []
  17187. summary: 账户登录后信息查询
  17188. tags:
  17189. - 用户信息
  17190. /User/QueryMessageBoard:
  17191. get:
  17192. parameters:
  17193. - description: 用户ID
  17194. in: query
  17195. name: userID
  17196. required: true
  17197. type: integer
  17198. produces:
  17199. - application/json
  17200. responses:
  17201. "200":
  17202. description: OK
  17203. schema:
  17204. $ref: '#/definitions/models.Messageboard'
  17205. "500":
  17206. description: Internal Server Error
  17207. schema:
  17208. $ref: '#/definitions/app.Response'
  17209. security:
  17210. - ApiKeyAuth: []
  17211. summary: 获取用户留言板信息
  17212. tags:
  17213. - 用户信息
  17214. /User/QueryUserFavoriteGoodses:
  17215. get:
  17216. parameters:
  17217. - description: 用户ID
  17218. in: query
  17219. name: userID
  17220. required: true
  17221. type: integer
  17222. produces:
  17223. - application/json
  17224. responses:
  17225. "200":
  17226. description: OK
  17227. schema:
  17228. $ref: '#/definitions/models.Userfavoritegoods'
  17229. "500":
  17230. description: Internal Server Error
  17231. schema:
  17232. $ref: '#/definitions/app.Response'
  17233. security:
  17234. - ApiKeyAuth: []
  17235. summary: 获取用户商品收藏信息
  17236. tags:
  17237. - 用户信息
  17238. /User/QueryUserInfo:
  17239. get:
  17240. parameters:
  17241. - description: 用户ID
  17242. in: query
  17243. name: userID
  17244. required: true
  17245. type: integer
  17246. - description: 是否解密
  17247. in: query
  17248. name: isDecrypt
  17249. type: boolean
  17250. produces:
  17251. - application/json
  17252. responses:
  17253. "200":
  17254. description: OK
  17255. schema:
  17256. $ref: '#/definitions/models.Userinfo'
  17257. "500":
  17258. description: Internal Server Error
  17259. schema:
  17260. $ref: '#/definitions/app.Response'
  17261. security:
  17262. - ApiKeyAuth: []
  17263. summary: 获取用户信息
  17264. tags:
  17265. - 用户信息
  17266. /User/QueryUserReferNum:
  17267. get:
  17268. parameters:
  17269. - description: 用户ID
  17270. in: query
  17271. name: userID
  17272. required: true
  17273. type: integer
  17274. produces:
  17275. - application/json
  17276. responses:
  17277. "200":
  17278. description: OK
  17279. schema:
  17280. $ref: '#/definitions/app.Response'
  17281. "500":
  17282. description: Internal Server Error
  17283. schema:
  17284. $ref: '#/definitions/app.Response'
  17285. summary: 获取用户邀请码
  17286. tags:
  17287. - 用户信息
  17288. /User/RemoveUserFavoriteGoods:
  17289. post:
  17290. parameters:
  17291. - description: 用户ID
  17292. in: query
  17293. name: userID
  17294. required: true
  17295. type: integer
  17296. - description: 商品ID
  17297. in: query
  17298. name: goodsID
  17299. required: true
  17300. type: integer
  17301. produces:
  17302. - application/json
  17303. responses:
  17304. "200":
  17305. description: OK
  17306. schema:
  17307. $ref: '#/definitions/app.Response'
  17308. "500":
  17309. description: Internal Server Error
  17310. schema:
  17311. $ref: '#/definitions/app.Response'
  17312. security:
  17313. - ApiKeyAuth: []
  17314. summary: 移除用户商品收藏信息
  17315. tags:
  17316. - 用户信息
  17317. /User/UpdateUserAccountStatus:
  17318. post:
  17319. parameters:
  17320. - description: 用户ID
  17321. in: query
  17322. name: userID
  17323. required: true
  17324. type: integer
  17325. - description: 账户状态 - 4:正常 6:注销(停用)
  17326. in: query
  17327. name: accountStatus
  17328. required: true
  17329. type: integer
  17330. produces:
  17331. - application/json
  17332. responses:
  17333. "200":
  17334. description: OK
  17335. schema:
  17336. $ref: '#/definitions/app.Response'
  17337. "500":
  17338. description: Internal Server Error
  17339. schema:
  17340. $ref: '#/definitions/app.Response'
  17341. security:
  17342. - ApiKeyAuth: []
  17343. summary: 更新用户状态
  17344. tags:
  17345. - 用户信息
  17346. /WRTrade/GetAllDeliveryGoods:
  17347. get:
  17348. produces:
  17349. - application/json
  17350. - application/json
  17351. responses:
  17352. "200":
  17353. description: OK
  17354. schema:
  17355. $ref: '#/definitions/app.Response'
  17356. "500":
  17357. description: Internal Server Error
  17358. schema:
  17359. $ref: '#/definitions/app.Response'
  17360. security:
  17361. - ApiKeyAuth: []
  17362. - ApiKeyAuth: []
  17363. summary: 获取带仓单分类的种类信息
  17364. tags:
  17365. - 仓单贸易
  17366. - 仓单贸易
  17367. securityDefinitions:
  17368. ApiKeyAuth:
  17369. in: header
  17370. name: Authorization
  17371. type: apiKey
  17372. swagger: "2.0"