swagger.yaml 491 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969
  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. common.QueryTableDefineRsp:
  168. properties:
  169. columns:
  170. description: 列头信息数组
  171. items:
  172. $ref: '#/definitions/models.Tablecolumnconfig'
  173. type: array
  174. remark:
  175. description: Remark
  176. type: string
  177. tabelmenu:
  178. description: 列表菜单
  179. type: string
  180. tablekey:
  181. description: 列表Key
  182. type: string
  183. tablename:
  184. description: 列表名称
  185. type: string
  186. tabletype:
  187. description: 列表类型 - 1:管理端 2:终端
  188. type: integer
  189. required:
  190. - tablekey
  191. type: object
  192. common.QueryTraderMenuRsp:
  193. properties:
  194. OperationMenu:
  195. description: 功能菜单
  196. items:
  197. $ref: '#/definitions/models.OperationPrimaryMenu'
  198. type: array
  199. QuoteMenu:
  200. description: 报价牌分类菜单
  201. items:
  202. $ref: '#/definitions/models.QuotePrimaryMenu'
  203. type: array
  204. type: object
  205. cptrade.Cptradepositioncancel:
  206. properties:
  207. accountid:
  208. description: 申请人账户ID
  209. type: integer
  210. applystatus:
  211. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  212. type: integer
  213. applytime:
  214. description: 申请时间
  215. type: string
  216. cancelid:
  217. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  218. type: integer
  219. cancelqty:
  220. description: 注销数量
  221. type: integer
  222. createtime:
  223. description: 创建时间
  224. type: string
  225. creatorid:
  226. description: 创建人ID
  227. type: integer
  228. creatorname:
  229. description: 创建人
  230. type: string
  231. goodscode:
  232. description: 订单商品代码
  233. type: string
  234. goodsid:
  235. description: 商品ID
  236. type: integer
  237. goodsname:
  238. description: 订单商品名称
  239. type: string
  240. goodunit:
  241. description: 报价单位
  242. type: string
  243. handlestatus:
  244. description: 处理状态
  245. type: integer
  246. marketid:
  247. description: 市场ID
  248. type: integer
  249. marketname:
  250. description: 市场名称
  251. type: string
  252. tradedate:
  253. description: 交易日(yyyyMMdd)
  254. type: string
  255. userid:
  256. description: 申请人ID
  257. type: integer
  258. required:
  259. - cancelid
  260. type: object
  261. cptrade.Cptradepresaleapply:
  262. properties:
  263. accountid:
  264. description: 申请人账户ID
  265. type: integer
  266. applyid:
  267. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  268. type: integer
  269. applyremark:
  270. description: 申请备注
  271. type: string
  272. applystatus:
  273. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  274. type: integer
  275. applytime:
  276. description: 申请时间
  277. type: string
  278. attachmenturl:
  279. description: 附件地址
  280. type: string
  281. endtime:
  282. description: 预售结束时间
  283. type: string
  284. goodscode:
  285. description: 商品代码
  286. type: string
  287. goodsid:
  288. description: 商品ID
  289. type: integer
  290. goodsname:
  291. description: 商品名称
  292. type: string
  293. goodunit:
  294. description: 报价单位
  295. type: string
  296. handlestatus:
  297. description: 处理状态
  298. type: integer
  299. marketid:
  300. description: 预售市场ID
  301. type: integer
  302. marketname:
  303. description: 预售市场名称
  304. type: string
  305. presaleqty:
  306. description: 预售数量
  307. type: integer
  308. relatedgoodscode:
  309. description: 关联交易合约代码
  310. type: string
  311. relatedgoodsid:
  312. description: 关联交易合约ID
  313. type: integer
  314. relatedgoodsname:
  315. description: 关联交易合约名称
  316. type: string
  317. starttime:
  318. description: 预售开始时间
  319. type: string
  320. tradedate:
  321. description: 交易日(yyyyMMdd)
  322. type: string
  323. trademode:
  324. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  325. type: integer
  326. userid:
  327. description: 申请人ID
  328. type: integer
  329. required:
  330. - applyid
  331. type: object
  332. cptrade.Cptradeusergoodsdata:
  333. properties:
  334. EnabledQty:
  335. description: 可用量
  336. type: integer
  337. GoodsCode:
  338. description: 订单商品代码
  339. type: string
  340. GoodsName:
  341. description: 订单商品名称
  342. type: string
  343. WRStandardCode:
  344. description: 仓单标准代码
  345. type: string
  346. WRStandardName:
  347. description: 仓单标准名称
  348. type: string
  349. accountid:
  350. description: 账户ID
  351. type: integer
  352. cancelqty:
  353. description: 注销量
  354. type: integer
  355. curpresaleqty:
  356. description: 当前预售量
  357. type: integer
  358. deliveryqty:
  359. description: 交割量
  360. type: integer
  361. freezeamount:
  362. description: 冻结金额
  363. type: number
  364. goodsid:
  365. description: 商品ID
  366. type: integer
  367. goodunit:
  368. description: 报价单位
  369. type: string
  370. hasspotfreeze:
  371. description: 是否有现货冻结 - 0:否 1:有
  372. type: integer
  373. inqty:
  374. description: 转入量(总数量)
  375. type: integer
  376. marketid:
  377. description: 市场ID
  378. type: integer
  379. presaledamount:
  380. description: 已预售总金额
  381. type: integer
  382. presaledqty:
  383. description: 已预售量
  384. type: integer
  385. userid:
  386. description: 用户ID
  387. type: integer
  388. wrstandardid:
  389. description: 仓单标准ID
  390. type: integer
  391. required:
  392. - accountid
  393. - goodsid
  394. type: object
  395. cptrade.QueryCPTradeMyBidRsp:
  396. properties:
  397. accountid:
  398. description: 账户ID[报价币种]
  399. type: integer
  400. goodsid:
  401. description: 商品ID
  402. type: integer
  403. goodunit:
  404. description: 报价单位
  405. type: string
  406. marketid:
  407. description: 市场ID
  408. type: integer
  409. orderid:
  410. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  411. type: integer
  412. orderprice:
  413. description: 委托价格
  414. type: number
  415. orderqty:
  416. description: 委托数量
  417. type: integer
  418. ordertime:
  419. description: 委托时间
  420. type: string
  421. ordertotalprice:
  422. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  423. type: number
  424. ordertotalweight:
  425. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  426. type: integer
  427. totaltotalprice:
  428. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  429. type: number
  430. tradeprice:
  431. description: 成交价格
  432. type: number
  433. tradeqty:
  434. description: 成交数量
  435. type: integer
  436. required:
  437. - accountid
  438. - goodsid
  439. - marketid
  440. - orderid
  441. - orderqty
  442. - ordertime
  443. - tradeprice
  444. - tradeqty
  445. type: object
  446. cptrade.QueryCPTradeOrderDetailRsq:
  447. properties:
  448. accountid:
  449. description: 账户ID[报价币种]
  450. type: integer
  451. buildtype:
  452. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  453. type: integer
  454. buyorsell:
  455. description: 买卖 - 0:买 1:卖
  456. type: integer
  457. cancelorderid:
  458. description: 撤单单号(撤单时填写)
  459. type: integer
  460. cancelqty:
  461. description: 撤单数量
  462. type: integer
  463. clientordertime:
  464. description: 客户端委托时间
  465. type: string
  466. clientticket:
  467. description: 客户端流水号
  468. type: string
  469. clienttype:
  470. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  471. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  472. type: integer
  473. closeexchagechargevalue:
  474. description: 平仓交易所手续费设置值
  475. type: number
  476. closefeealgorithm:
  477. description: 平仓手续费收取方式 1:比率 2:固定
  478. type: integer
  479. closefreezecharge:
  480. description: 平仓冻结手续费(先建后平操作,需要记录)
  481. type: number
  482. closememberchargevalue:
  483. description: 平仓会员手续费设置值
  484. type: number
  485. closeqty:
  486. description: 平仓数量(先建后平操作 需要记录)
  487. type: integer
  488. closetradeqty:
  489. description: 平仓成交数量(先建后平操作,需要记录)
  490. type: integer
  491. closeunfreezecharge:
  492. description: 平仓解冻手续费(先建后平操作,需要记录)
  493. type: number
  494. delistingtype:
  495. description: 摘牌类型 - 1:价格最优 2:点选成交
  496. type: integer
  497. freezecharge:
  498. description: 冻结手续费
  499. type: number
  500. freezemargin:
  501. description: 冻结保证金(冻结交易金额)
  502. type: number
  503. gcaccountid:
  504. description: 账户ID[合约币种]
  505. type: integer
  506. goodsid:
  507. description: 商品ID
  508. type: integer
  509. isconfirmexercise:
  510. description: 是否确认行权- 0:否 1:是
  511. type: integer
  512. ispreexercise:
  513. description: 是否预申报- 0:否 1:是
  514. type: integer
  515. listingselecttype:
  516. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  517. type: integer
  518. marginalgorithm:
  519. description: 保证金收取方式 1:比率 2:固定
  520. type: integer
  521. marginvalue:
  522. description: 即市保证金设置值
  523. type: number
  524. marketid:
  525. description: 市场ID
  526. type: integer
  527. marketmaxsub:
  528. description: 市价最大偏移范围
  529. type: number
  530. memberuserid:
  531. description: 所属会员UserID
  532. type: integer
  533. openexchagechargevalue:
  534. description: 建仓交易所手续费设置值
  535. type: number
  536. openfeealgorithm:
  537. description: 建仓手续费收取方式 1:比率 2:固定
  538. type: integer
  539. openfreezecharge:
  540. description: 开仓冻结手续费(先建后平操作,需要记录)
  541. type: number
  542. openmemberchargevalue:
  543. description: 建仓会员手续费设置值
  544. type: number
  545. openqty:
  546. description: 开仓数量(先建后平操作,需要记录)
  547. type: integer
  548. opentradeqty:
  549. description: 开仓成交数量(先建后平操作,需要记录)
  550. type: integer
  551. openunfreezecharge:
  552. description: 开仓解冻手续费(先建后平操作,需要记录)
  553. type: number
  554. operatetype:
  555. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  556. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  557. 15:管理端协议转让
  558. type: integer
  559. operatorid:
  560. description: 登录账号(LoginID)
  561. type: integer
  562. optiontype:
  563. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  564. type: integer
  565. orderprice:
  566. description: 委托价格
  567. type: number
  568. orderqty:
  569. description: 委托数量
  570. type: integer
  571. ordersrc:
  572. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  573. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  574. type: integer
  575. orderstatus:
  576. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  577. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  578. 16:成交失败违约(荷兰式竞拍专用)
  579. type: integer
  580. ordertime:
  581. description: 委托时间
  582. type: string
  583. preexerciseprice:
  584. description: 预申报价格
  585. type: number
  586. premium:
  587. description: 权利金
  588. type: number
  589. preorderid:
  590. description: 关联预埋单号(止盈止损单时填写)
  591. type: integer
  592. pricemode:
  593. description: '取价方式 - 1:市价 2: 限价'
  594. type: integer
  595. quoteid:
  596. description: 报价单ID
  597. type: integer
  598. relatedid:
  599. description: 关联单号(交割单)
  600. type: integer
  601. retcode:
  602. description: 错误代码
  603. type: integer
  604. sessionid:
  605. description: 会话ID
  606. type: integer
  607. strorderid:
  608. description: 委托单号
  609. type: string
  610. tradedate:
  611. description: 交易日(yyyyMMdd)
  612. type: string
  613. tradeproperty:
  614. description: 交易属性
  615. type: integer
  616. tradeqty:
  617. description: 成交数量
  618. type: integer
  619. unfreezecharge:
  620. description: 解冻手续费
  621. type: number
  622. unfreezemargin:
  623. description: 解冻保证金
  624. type: number
  625. updatetime:
  626. description: 更新时间
  627. type: string
  628. uuid:
  629. description: 发起端唯一id
  630. type: string
  631. validtime:
  632. description: 有效期限
  633. type: string
  634. validtype:
  635. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  636. type: integer
  637. volumetype:
  638. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  639. type: integer
  640. required:
  641. - accountid
  642. - buildtype
  643. - buyorsell
  644. - goodsid
  645. - marketid
  646. - memberuserid
  647. - operatetype
  648. - orderqty
  649. - ordertime
  650. - pricemode
  651. - strorderid
  652. - tradedate
  653. - validtype
  654. type: object
  655. cptrade.QueryMyCPTradeGoodsRsp:
  656. properties:
  657. accountid:
  658. description: 卖方账户ID
  659. type: integer
  660. agreeunit:
  661. description: 合约单位
  662. type: number
  663. applyid:
  664. description: 关联申请ID
  665. type: integer
  666. attachmenturl:
  667. description: 附件地址
  668. type: string
  669. createtime:
  670. description: 创建时间
  671. type: string
  672. currencyid:
  673. description: 报价货币ID
  674. type: integer
  675. decimalplace:
  676. description: 报价小数位
  677. type: integer
  678. endtime:
  679. description: 预售结束时间
  680. type: string
  681. floorprice:
  682. description: 底价[大宗式竞拍]
  683. type: number
  684. goodscode:
  685. description: 商品代码(预售)
  686. type: string
  687. goodsdetail:
  688. description: 详情[大宗]
  689. type: string
  690. goodsid:
  691. description: 商品ID(自增ID SEQ_GOODS)
  692. type: integer
  693. goodsname:
  694. description: 商品名称(预售)
  695. type: string
  696. goodunit:
  697. description: 报价单位
  698. type: string
  699. goodunitid:
  700. description: 报价单位ID
  701. type: integer
  702. marketid:
  703. description: 所属市场ID
  704. type: integer
  705. marketname:
  706. description: 预售市场名称
  707. type: string
  708. presaledamount:
  709. description: 已预售总金额(预售结束时更新)
  710. type: number
  711. presaledqty:
  712. description: 已预售量(预售结束时更新)
  713. type: integer
  714. presalemode:
  715. description: 预售模式 - 1:一口价 2:大宗式竞拍
  716. type: integer
  717. presaleqty:
  718. description: 预售数量
  719. type: integer
  720. refprice:
  721. description: 参考价格[一口价]
  722. type: number
  723. relatedgoodscode:
  724. description: 商品代码(订单)
  725. type: string
  726. relatedgoodsid:
  727. description: 关联交易合约ID
  728. type: integer
  729. relatedgoodsname:
  730. description: 商品名称(订单)
  731. type: string
  732. relatedmarketid:
  733. description: 关联交易合约市场ID
  734. type: integer
  735. sellstatus:
  736. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  737. type: integer
  738. startprice:
  739. description: 起拍价[大宗式竞拍]
  740. type: number
  741. starttime:
  742. description: 预售开始时间
  743. type: string
  744. tradedate:
  745. description: 交易日(yyyyMMdd)
  746. type: string
  747. tradeprice:
  748. description: 成交价[大宗]
  749. type: number
  750. userid:
  751. description: 卖方用户ID
  752. type: integer
  753. required:
  754. - goodscode
  755. - goodsid
  756. - goodsname
  757. - marketid
  758. - relatedgoodscode
  759. - relatedgoodsname
  760. type: object
  761. cptrade.QueryPresaleGoodsExRsp:
  762. properties:
  763. attachmenturl:
  764. description: 附件地址
  765. type: string
  766. createtime:
  767. description: 创建时间
  768. type: string
  769. endtime:
  770. description: 预售结束时间
  771. type: string
  772. floorprice:
  773. description: 底价[大宗式竞拍]
  774. type: number
  775. goodsdetail:
  776. description: 详情[大宗]
  777. type: string
  778. goodsid:
  779. description: 商品ID(预售)
  780. type: integer
  781. goodunit:
  782. description: 报价单位
  783. type: string
  784. marketid:
  785. description: 预售市场ID - 根据预售模式选择市场
  786. type: integer
  787. presaledamount:
  788. description: 已预售总金额(预售结束时更新)
  789. type: number
  790. presaledqty:
  791. description: 已预售量(预售结束时更新)
  792. type: integer
  793. presalemode:
  794. description: 预售模式 - 1:一口价 2:大宗式竞拍
  795. type: integer
  796. presaleqty:
  797. description: 预售数量
  798. type: integer
  799. refprice:
  800. description: 参考价格[一口价]
  801. type: number
  802. relatedgoodsid:
  803. description: 关联交易合约ID
  804. type: integer
  805. relatedmarketid:
  806. description: 关联交易合约市场ID
  807. type: integer
  808. sellstatus:
  809. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  810. type: integer
  811. startprice:
  812. description: 起拍价[大宗式竞拍]
  813. type: number
  814. starttime:
  815. description: 预售开始时间
  816. type: string
  817. tradedate:
  818. description: 交易日(yyyyMMdd)
  819. type: string
  820. tradeprice:
  821. description: 成交价[大宗]
  822. type: number
  823. required:
  824. - goodsid
  825. type: object
  826. delivery.QueryDeliveryRelationRsp:
  827. properties:
  828. begindate:
  829. description: 起始日期(yyyyMMdd)
  830. type: string
  831. buytemplateid:
  832. description: 买履约计划模板ID
  833. type: integer
  834. deliverygoodscode:
  835. description: 品种代码
  836. type: string
  837. deliverygoodsid:
  838. description: 交割商品
  839. type: integer
  840. deliverygoodsname:
  841. description: 品种名称
  842. type: string
  843. deliverymode:
  844. description: 交割方式 - 1:点选式 2:申报式
  845. type: integer
  846. deliverypricerule:
  847. description: 交割价规则- 1:行情价 2:建仓价
  848. type: integer
  849. deliverytype:
  850. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  851. type: integer
  852. enddate:
  853. description: 结束日期(yyyyMMdd)
  854. type: string
  855. goodscode:
  856. description: 商品代码
  857. type: string
  858. goodsid:
  859. description: 交易合约ID
  860. type: integer
  861. goodsname:
  862. description: 商品名称
  863. type: string
  864. marketid:
  865. description: 市场ID
  866. type: integer
  867. mindeliveryqty:
  868. description: 最小交割系数(K)
  869. type: integer
  870. p2deliveryprice:
  871. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  872. type: number
  873. p2deliveryratio:
  874. description: P2合约系数(p)
  875. type: integer
  876. p2goodsid:
  877. description: P2合约ID
  878. type: integer
  879. p2pricemode:
  880. description: P2合约价格方式 - 1:商品价 2:固定值
  881. type: integer
  882. pdeliveryprice:
  883. description: P合约价格(商品价时填写0,固定值时填写固定值)
  884. type: number
  885. pdeliveryratio:
  886. description: P合约系数(n)
  887. type: integer
  888. pgoodsid:
  889. description: P合约ID
  890. type: integer
  891. ppricemode:
  892. description: P合约价格方式 - 1:商品价 2:固定值
  893. type: integer
  894. rratio:
  895. description: 兑换系数(R)
  896. type: integer
  897. rratio1:
  898. description: 兑换系数(交易合约)(R1)
  899. type: integer
  900. rratio2:
  901. description: 兑换系数(仓单标准)(R2)
  902. type: integer
  903. selltemplateid:
  904. description: 卖履约计划模板ID
  905. type: integer
  906. wrstandardid:
  907. description: 仓单标准ID
  908. type: integer
  909. xdeliveryratio:
  910. description: 交易合约系数(m)
  911. type: integer
  912. required:
  913. - begindate
  914. - enddate
  915. - goodsid
  916. - mindeliveryqty
  917. - xdeliveryratio
  918. type: object
  919. ermcp.ExposureDetailRsp:
  920. properties:
  921. areauserid:
  922. description: 机构ID
  923. type: integer
  924. changeQty:
  925. description: 套保变动量
  926. type: number
  927. contracttype:
  928. description: 现货合同类型 - 1:采购 -1:销售
  929. type: integer
  930. convertfactor:
  931. description: 标仓系数
  932. type: number
  933. convertratio:
  934. description: 套保系数
  935. type: number
  936. createtime:
  937. description: 时间
  938. type: string
  939. enumdicname:
  940. description: 现货商品单位名称
  941. type: string
  942. logtype:
  943. description: 类型 - 1:套保计划 2:现货合同
  944. type: integer
  945. middlegoodsId:
  946. description: 套保商品id
  947. type: integer
  948. middlegoodscode:
  949. description: 套保商品代码
  950. type: string
  951. middlegoodsname:
  952. description: 套保商品名称
  953. type: string
  954. qty:
  955. description: 数量
  956. type: number
  957. relateNo:
  958. description: 现货合同/套保计划编号
  959. type: string
  960. wrstandardcode:
  961. description: 现货商品代码
  962. type: string
  963. wrstandardid:
  964. description: 现货商品ID
  965. type: integer
  966. wrstandardname:
  967. description: 现货商品名称
  968. type: string
  969. type: object
  970. ermcp.ExposureHedgePosDetailRsp:
  971. properties:
  972. buyorsell:
  973. description: 买卖方向 0-买 1-卖
  974. type: integer
  975. channelbuildtype:
  976. description: 开平方向 1-建仓 2-平仓
  977. type: integer
  978. goodscode:
  979. description: 商品代码
  980. type: string
  981. goodsname:
  982. description: 商品名称
  983. type: string
  984. hedgegoodsid:
  985. description: 商品id
  986. type: integer
  987. tradeqty:
  988. description: 数量(成交数量)
  989. type: integer
  990. tradetime:
  991. description: 时间(成交时间)
  992. type: string
  993. type: object
  994. ermcp.ExposureHedgePositionRsp:
  995. properties:
  996. accountid:
  997. description: 资金账号[外部母账户]
  998. type: integer
  999. curbuyposition:
  1000. description: 期末买头寸
  1001. type: integer
  1002. cursellposition:
  1003. description: 期末卖头寸
  1004. type: integer
  1005. curtdbuyposition:
  1006. description: 期末今日买头寸
  1007. type: integer
  1008. curtdsellposition:
  1009. description: 期末今日卖头寸
  1010. type: integer
  1011. curydbuyposition:
  1012. description: 期末上日买头寸
  1013. type: integer
  1014. curydsellposition:
  1015. description: 期末上日卖头寸
  1016. type: integer
  1017. decreaseqty:
  1018. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  1019. type: integer
  1020. fretdbuyposition:
  1021. description: 冻结今日买头寸
  1022. type: integer
  1023. fretdsellposition:
  1024. description: 冻结今日卖头寸
  1025. type: integer
  1026. freydbuyposition:
  1027. description: 冻结上日买头寸
  1028. type: integer
  1029. freydsellposition:
  1030. description: 冻结上日卖头寸
  1031. type: integer
  1032. goodscode:
  1033. description: 商品代码
  1034. type: string
  1035. goodsid:
  1036. description: 商品id
  1037. type: integer
  1038. goodsname:
  1039. description: 商品名称
  1040. type: string
  1041. hedgeaccountcode:
  1042. description: 对冲账号
  1043. type: string
  1044. hedgegoodsid:
  1045. description: 对冲合约ID
  1046. type: integer
  1047. increaseqty:
  1048. description: 增加数量 = 期末买头寸 - 期初买头寸
  1049. type: integer
  1050. marketid:
  1051. description: 市场ID
  1052. type: integer
  1053. relateduserid:
  1054. description: 关联用户id
  1055. type: integer
  1056. totalcurqty:
  1057. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  1058. type: integer
  1059. totalydqty:
  1060. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  1061. type: integer
  1062. tradedate:
  1063. description: 交易日(yyyyMMdd)
  1064. type: string
  1065. ydbuyposition:
  1066. description: 期初买头寸
  1067. type: integer
  1068. ydsellposition:
  1069. description: 期初卖头寸
  1070. type: integer
  1071. type: object
  1072. ermcp.ExposureSpotDetailRsp:
  1073. properties:
  1074. contracttype:
  1075. description: 合同类型 1-采购 -1-销售
  1076. type: integer
  1077. createtime:
  1078. description: 创建时间
  1079. type: string
  1080. enumdicname:
  1081. description: 现货商品单位名称
  1082. type: string
  1083. logtype:
  1084. description: 记录类型 1-套保 2-现货合同
  1085. type: integer
  1086. qty:
  1087. description: 数量
  1088. type: number
  1089. recordname:
  1090. description: 类型名称
  1091. type: string
  1092. relatedid:
  1093. description: 套保计划ID/现货合同ID
  1094. type: string
  1095. relatedno:
  1096. description: 编号
  1097. type: string
  1098. strtime:
  1099. description: 时间
  1100. type: string
  1101. wrstandardcode:
  1102. description: 现货商品代码
  1103. type: string
  1104. wrstandardname:
  1105. description: 现货商品名称
  1106. type: string
  1107. type: object
  1108. ermcp.ExposureSpotRsp:
  1109. properties:
  1110. areauserid:
  1111. description: 所属机构
  1112. type: integer
  1113. decreaseqty:
  1114. description: 减少数量=-(销售已定价数量+采购计划数量)
  1115. type: number
  1116. increaseqty:
  1117. description: 增加数量=销售计划数量+采购已定价数量
  1118. type: number
  1119. oritoalspotqty:
  1120. description: 昨日数量
  1121. type: number
  1122. totalspotqty:
  1123. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  1124. type: number
  1125. updatetime:
  1126. description: 更新时间
  1127. type: string
  1128. wrstandardcode:
  1129. description: 现货品种代码
  1130. type: string
  1131. wrstandardid:
  1132. description: 现货商品ID
  1133. type: integer
  1134. wrstandardname:
  1135. description: 现货品种
  1136. type: string
  1137. type: object
  1138. ermcp.HisExposureRsp:
  1139. properties:
  1140. data:
  1141. description: 历史敞口
  1142. items:
  1143. $ref: '#/definitions/models.ErmcpHisExposure'
  1144. type: array
  1145. enumdicname:
  1146. description: 单位名称
  1147. type: string
  1148. middlegoodscode:
  1149. description: 套保品种代码
  1150. type: string
  1151. middlegoodsid:
  1152. description: 套保品种ID
  1153. type: integer
  1154. middlegoodsname:
  1155. description: 套保品种名称
  1156. type: string
  1157. type: object
  1158. ermcp.PendingAuditCntRsp:
  1159. properties:
  1160. areastockqty:
  1161. description: '待审核数量: 库存申请'
  1162. type: integer
  1163. businessdjqty:
  1164. description: '待审核数量: 点价'
  1165. type: integer
  1166. businessfpqty:
  1167. description: '待审核数量: 发票'
  1168. type: integer
  1169. businessjsqty:
  1170. description: '待审核数量: 结算'
  1171. type: integer
  1172. businesskxqty:
  1173. description: '待审核数量: 款项'
  1174. type: integer
  1175. hedgeplanqty:
  1176. description: '待审核数量: 套保计划'
  1177. type: integer
  1178. spotcontractqty:
  1179. description: '待审核数量: 现货合同'
  1180. type: integer
  1181. userqty:
  1182. description: '待审核数量: 用户'
  1183. type: integer
  1184. type: object
  1185. ermcp.QryAreaStockApplyRsp:
  1186. properties:
  1187. applyid:
  1188. description: 申请人
  1189. type: integer
  1190. applyname:
  1191. description: 申请人名称
  1192. type: string
  1193. applyremark:
  1194. description: 申请备注
  1195. type: string
  1196. applysrc:
  1197. description: 申请来源 - 1:管理端 2:终端
  1198. type: integer
  1199. applystatus:
  1200. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1201. type: integer
  1202. applytime:
  1203. description: 申请时间
  1204. type: string
  1205. auditid:
  1206. description: 审核人
  1207. type: integer
  1208. auditname:
  1209. description: 审核人名称
  1210. type: string
  1211. auditremark:
  1212. description: 审核备注
  1213. type: string
  1214. auditsrc:
  1215. description: 审核来源 - 1:管理端 2:终端
  1216. type: integer
  1217. audittime:
  1218. description: 审核时间
  1219. type: string
  1220. audittradedate:
  1221. description: 审核交易日(yyyyMMdd)
  1222. type: string
  1223. brandname:
  1224. description: 品牌名称
  1225. type: string
  1226. buyuserid:
  1227. description: 采购方userid
  1228. type: integer
  1229. buyusername:
  1230. description: 采购方名称
  1231. type: string
  1232. contractno:
  1233. description: 合同编号
  1234. type: string
  1235. contractqty:
  1236. description: 合同量
  1237. type: number
  1238. contracttype:
  1239. description: 现货合同类型 - 1:采购 -1:销售
  1240. type: integer
  1241. deliverygoodsid:
  1242. description: 现货品种ID
  1243. type: integer
  1244. enumdicname:
  1245. description: 现货商品单位名称
  1246. type: string
  1247. inoutapplyid:
  1248. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  1249. type: string
  1250. inouttype:
  1251. description: 出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  1252. type: integer
  1253. modelname:
  1254. description: 型号名称
  1255. type: string
  1256. pricetype:
  1257. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1258. type: integer
  1259. qty:
  1260. description: 数量
  1261. type: number
  1262. selluserid:
  1263. description: 销售方userid
  1264. type: integer
  1265. sellusername:
  1266. description: 销售方名称
  1267. type: string
  1268. spotcontractid:
  1269. description: 关联现货合同ID
  1270. type: string
  1271. spotgoodsbrandid:
  1272. description: 现货品牌ID
  1273. type: integer
  1274. spotgoodsmodelid:
  1275. description: 现货型号ID
  1276. type: integer
  1277. unitid:
  1278. description: 单位id
  1279. type: integer
  1280. userid:
  1281. description: 机构ID
  1282. type: integer
  1283. warehousecode:
  1284. description: 仓库代码
  1285. type: string
  1286. warehouseinfoid:
  1287. description: 现货仓库ID
  1288. type: string
  1289. warehousename:
  1290. description: 仓库名称
  1291. type: string
  1292. warehousetype:
  1293. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  1294. type: integer
  1295. wrstandardcode:
  1296. description: 现货商品代码
  1297. type: string
  1298. wrstandardid:
  1299. description: 现货商品ID
  1300. type: string
  1301. wrstandardname:
  1302. description: 现货商品名称
  1303. type: string
  1304. type: object
  1305. ermcp.QryAvalidGPRsp:
  1306. properties:
  1307. goodsgroupid:
  1308. description: 期货品种id
  1309. type: integer
  1310. goodsgroupname:
  1311. description: 期货品种名称
  1312. type: string
  1313. goodunitid:
  1314. description: 品种单位id
  1315. type: integer
  1316. goodunitname:
  1317. description: 品种单位名称
  1318. type: string
  1319. outergroupcode:
  1320. description: 期货品种代码
  1321. type: string
  1322. type: object
  1323. ermcp.QryBusinessDjRsp:
  1324. properties:
  1325. amount:
  1326. description: 点价金额=(点价价格+升贴水)*点价数量
  1327. type: number
  1328. applyid:
  1329. description: 申请人
  1330. type: string
  1331. applyname:
  1332. description: 申请人名称
  1333. type: string
  1334. applystatus:
  1335. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1336. type: integer
  1337. applytime:
  1338. description: 申请时间
  1339. type: string
  1340. attachurl:
  1341. description: 附件
  1342. type: string
  1343. auditid:
  1344. description: 审核人ID
  1345. type: string
  1346. auditname:
  1347. description: 审核人名称
  1348. type: string
  1349. audittime:
  1350. description: 审核时间
  1351. type: string
  1352. buyusername:
  1353. description: 采购方名称
  1354. type: string
  1355. contractno:
  1356. description: 合同编号
  1357. type: string
  1358. contractstatus:
  1359. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1360. type: integer
  1361. contracttype:
  1362. description: 现货合同类型 - 1:采购 -1:销售
  1363. type: integer
  1364. deliverygoodscode:
  1365. description: 现货品种代码
  1366. type: string
  1367. deliverygoodsid:
  1368. description: 现货商品ID
  1369. type: integer
  1370. deliverygoodsname:
  1371. description: 现货品种名称
  1372. type: string
  1373. enumdicname:
  1374. description: 单位名称
  1375. type: string
  1376. goodscode:
  1377. description: 点价合约
  1378. type: string
  1379. goodsname:
  1380. description: 商品名称
  1381. type: string
  1382. operateapplyid:
  1383. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1384. type: string
  1385. operateapplytype:
  1386. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1387. type: integer
  1388. pricedPrice:
  1389. description: 点价价格(非必填)
  1390. type: number
  1391. pricedQty:
  1392. description: 点价数量(非必填)
  1393. type: number
  1394. pricemove:
  1395. description: 升贴水
  1396. type: number
  1397. pricetype:
  1398. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1399. type: integer
  1400. relatedid:
  1401. description: 现货合同ID
  1402. type: string
  1403. sellusername:
  1404. description: 销售方名字
  1405. type: string
  1406. userid:
  1407. description: 用户ID
  1408. type: integer
  1409. wrstandardcode:
  1410. description: 品类代码
  1411. type: string
  1412. wrstandardid:
  1413. description: 品类id
  1414. type: integer
  1415. wrstandardname:
  1416. description: 品类名称
  1417. type: string
  1418. type: object
  1419. ermcp.QryBussinessFpRsp:
  1420. properties:
  1421. applyid:
  1422. description: 申请人
  1423. type: string
  1424. applyname:
  1425. description: 申请人名称
  1426. type: string
  1427. applystatus:
  1428. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1429. type: integer
  1430. applytime:
  1431. description: 申请时间
  1432. type: string
  1433. attachurl:
  1434. description: 附件
  1435. type: string
  1436. auditid:
  1437. description: 审核人ID
  1438. type: string
  1439. auditname:
  1440. description: 审核人名称
  1441. type: string
  1442. audittime:
  1443. description: 审核时间
  1444. type: string
  1445. buyusername:
  1446. description: 采购方名称
  1447. type: string
  1448. contractno:
  1449. description: 合同编号
  1450. type: string
  1451. contractstatus:
  1452. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1453. type: integer
  1454. contracttype:
  1455. description: 现货合同类型 - 1:采购 -1:销售
  1456. type: integer
  1457. deliverygoodscode:
  1458. description: 现货品种代码
  1459. type: string
  1460. deliverygoodsid:
  1461. description: 现货商品ID
  1462. type: integer
  1463. deliverygoodsname:
  1464. description: 现货品种名称
  1465. type: string
  1466. enumdicname:
  1467. description: 单位名称
  1468. type: string
  1469. goodscode:
  1470. description: 点价合约
  1471. type: string
  1472. goodsname:
  1473. description: 商品名称
  1474. type: string
  1475. invoiceAmount:
  1476. description: 已开收票金额(销售为开票,采购为收票)
  1477. type: number
  1478. operateapplyid:
  1479. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1480. type: string
  1481. operateapplytype:
  1482. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1483. type: integer
  1484. pricemove:
  1485. description: 升贴水
  1486. type: number
  1487. pricetype:
  1488. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1489. type: integer
  1490. relatedid:
  1491. description: 现货合同ID
  1492. type: string
  1493. sellusername:
  1494. description: 销售方名字
  1495. type: string
  1496. userid:
  1497. description: 用户ID
  1498. type: integer
  1499. wrstandardcode:
  1500. description: 品类代码
  1501. type: string
  1502. wrstandardid:
  1503. description: 品类id
  1504. type: integer
  1505. wrstandardname:
  1506. description: 品类名称
  1507. type: string
  1508. type: object
  1509. ermcp.QryBussinessJsExRsp:
  1510. properties:
  1511. applyid:
  1512. description: 申请人
  1513. type: string
  1514. applyname:
  1515. description: 申请人名称
  1516. type: string
  1517. applystatus:
  1518. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1519. type: integer
  1520. applytime:
  1521. description: 申请时间
  1522. type: string
  1523. attachurl:
  1524. description: 附件
  1525. type: string
  1526. auditid:
  1527. description: 审核人ID
  1528. type: string
  1529. auditname:
  1530. description: 审核人名称
  1531. type: string
  1532. audittime:
  1533. description: 审核时间
  1534. type: string
  1535. buyusername:
  1536. description: 采购方名称
  1537. type: string
  1538. contractno:
  1539. description: 合同编号
  1540. type: string
  1541. contractstatus:
  1542. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1543. type: integer
  1544. contracttype:
  1545. description: 现货合同类型 - 1:采购 -1:销售
  1546. type: integer
  1547. deliverygoodscode:
  1548. description: 现货品种代码
  1549. type: string
  1550. deliverygoodsid:
  1551. description: 现货商品ID
  1552. type: integer
  1553. deliverygoodsname:
  1554. description: 现货品种名称
  1555. type: string
  1556. enumdicname:
  1557. description: 单位名称
  1558. type: string
  1559. goodscode:
  1560. description: 点价合约
  1561. type: string
  1562. goodsname:
  1563. description: 商品名称
  1564. type: string
  1565. operateapplyid:
  1566. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1567. type: string
  1568. operateapplytype:
  1569. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1570. type: integer
  1571. pricemove:
  1572. description: 升贴水
  1573. type: number
  1574. pricetype:
  1575. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1576. type: integer
  1577. reckontype:
  1578. description: 结算类型
  1579. type: string
  1580. reckonvalue:
  1581. description: 值
  1582. type: number
  1583. relatedid:
  1584. description: 现货合同ID
  1585. type: string
  1586. sellusername:
  1587. description: 销售方名字
  1588. type: string
  1589. userid:
  1590. description: 用户ID
  1591. type: integer
  1592. wrstandardcode:
  1593. description: 品类代码
  1594. type: string
  1595. wrstandardid:
  1596. description: 品类id
  1597. type: integer
  1598. wrstandardname:
  1599. description: 品类名称
  1600. type: string
  1601. type: object
  1602. ermcp.QryBussinessJsRsp:
  1603. properties:
  1604. addmargin:
  1605. description: 追加保证金(非必填)
  1606. type: number
  1607. applyid:
  1608. description: 申请人
  1609. type: string
  1610. applyname:
  1611. description: 申请人名称
  1612. type: string
  1613. applystatus:
  1614. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1615. type: integer
  1616. applytime:
  1617. description: 申请时间
  1618. type: string
  1619. attachurl:
  1620. description: 附件
  1621. type: string
  1622. auditid:
  1623. description: 审核人ID
  1624. type: string
  1625. auditname:
  1626. description: 审核人名称
  1627. type: string
  1628. audittime:
  1629. description: 审核时间
  1630. type: string
  1631. buyusername:
  1632. description: 采购方名称
  1633. type: string
  1634. contractno:
  1635. description: 合同编号
  1636. type: string
  1637. contractstatus:
  1638. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1639. type: integer
  1640. contracttype:
  1641. description: 现货合同类型 - 1:采购 -1:销售
  1642. type: integer
  1643. decmargin:
  1644. description: 减少保证金(非必填)
  1645. type: number
  1646. deliverygoodscode:
  1647. description: 现货品种代码
  1648. type: string
  1649. deliverygoodsid:
  1650. description: 现货商品ID
  1651. type: integer
  1652. deliverygoodsname:
  1653. description: 现货品种名称
  1654. type: string
  1655. enumdicname:
  1656. description: 单位名称
  1657. type: string
  1658. goodscode:
  1659. description: 点价合约
  1660. type: string
  1661. goodsname:
  1662. description: 商品名称
  1663. type: string
  1664. operateapplyid:
  1665. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1666. type: string
  1667. operateapplytype:
  1668. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1669. type: integer
  1670. pricemove:
  1671. description: 升贴水
  1672. type: number
  1673. pricetype:
  1674. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1675. type: integer
  1676. reckonadjustamount:
  1677. description: 结算调整金额(非必填)
  1678. type: number
  1679. reckonosamount:
  1680. description: 结算溢短金额(非必填)
  1681. type: number
  1682. reckonotheramount:
  1683. description: 结算其他费用(非必填)
  1684. type: number
  1685. reckonrealqty:
  1686. description: 结算实际数量(非必填)
  1687. type: number
  1688. relatedid:
  1689. description: 现货合同ID
  1690. type: string
  1691. sellusername:
  1692. description: 销售方名字
  1693. type: string
  1694. userid:
  1695. description: 用户ID
  1696. type: integer
  1697. wrstandardcode:
  1698. description: 品类代码
  1699. type: string
  1700. wrstandardid:
  1701. description: 品类id
  1702. type: integer
  1703. wrstandardname:
  1704. description: 品类名称
  1705. type: string
  1706. type: object
  1707. ermcp.QryBussinessKxRsp:
  1708. properties:
  1709. applyid:
  1710. description: 申请人
  1711. type: string
  1712. applyname:
  1713. description: 申请人名称
  1714. type: string
  1715. applystatus:
  1716. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1717. type: integer
  1718. applytime:
  1719. description: 申请时间
  1720. type: string
  1721. attachurl:
  1722. description: 附件
  1723. type: string
  1724. auditid:
  1725. description: 审核人ID
  1726. type: string
  1727. auditname:
  1728. description: 审核人名称
  1729. type: string
  1730. audittime:
  1731. description: 审核时间
  1732. type: string
  1733. buyusername:
  1734. description: 采购方名称
  1735. type: string
  1736. contractno:
  1737. description: 合同编号
  1738. type: string
  1739. contractstatus:
  1740. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1741. type: integer
  1742. contracttype:
  1743. description: 现货合同类型 - 1:采购 -1:销售
  1744. type: integer
  1745. deductamount:
  1746. description: 退款(非必填)
  1747. type: number
  1748. deliverygoodscode:
  1749. description: 现货品种代码
  1750. type: string
  1751. deliverygoodsid:
  1752. description: 现货商品ID
  1753. type: integer
  1754. deliverygoodsname:
  1755. description: 现货品种名称
  1756. type: string
  1757. enumdicname:
  1758. description: 单位名称
  1759. type: string
  1760. goodscode:
  1761. description: 点价合约
  1762. type: string
  1763. goodsname:
  1764. description: 商品名称
  1765. type: string
  1766. kxtype:
  1767. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1768. type: integer
  1769. operateapplyid:
  1770. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1771. type: string
  1772. operateapplytype:
  1773. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1774. type: integer
  1775. payamount:
  1776. description: 收付款(非必填)
  1777. type: number
  1778. pricemove:
  1779. description: 升贴水
  1780. type: number
  1781. pricetype:
  1782. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1783. type: integer
  1784. relatedid:
  1785. description: 现货合同ID
  1786. type: string
  1787. sellusername:
  1788. description: 销售方名字
  1789. type: string
  1790. userid:
  1791. description: 用户ID
  1792. type: integer
  1793. wrstandardcode:
  1794. description: 品类代码
  1795. type: string
  1796. wrstandardid:
  1797. description: 品类id
  1798. type: integer
  1799. wrstandardname:
  1800. description: 品类名称
  1801. type: string
  1802. type: object
  1803. ermcp.QryErmcpRsp:
  1804. properties:
  1805. accountname:
  1806. description: 账户名称
  1807. type: string
  1808. attachment:
  1809. description: 附件
  1810. type: string
  1811. audittime:
  1812. description: 审核时间
  1813. type: string
  1814. brandname:
  1815. description: 品牌名称
  1816. type: string
  1817. contracctstatus:
  1818. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1819. type: integer
  1820. contractmargin:
  1821. description: 合同保证金
  1822. type: number
  1823. contractno:
  1824. description: 合同编号
  1825. type: string
  1826. contracttype:
  1827. description: 合同类型 1-采购, -1-销售
  1828. type: integer
  1829. convertfactor:
  1830. description: 标仓系数
  1831. type: number
  1832. createtime:
  1833. description: 创建时间
  1834. type: string
  1835. daikaiamount:
  1836. description: 应收(开)票额
  1837. type: number
  1838. deliveryenddate:
  1839. description: 交割结束日
  1840. type: string
  1841. deliverygoodscode:
  1842. description: 现货品种代码
  1843. type: string
  1844. deliverygoodsid:
  1845. description: 现货商品ID
  1846. type: integer
  1847. deliverygoodsname:
  1848. description: 现货品种名称
  1849. type: string
  1850. deliverystartdate:
  1851. description: 交割开始日
  1852. type: string
  1853. enddate:
  1854. description: 点价结束日
  1855. type: string
  1856. enumdicname:
  1857. description: 单位名称
  1858. type: string
  1859. goodscode:
  1860. description: 点价商品代码
  1861. type: string
  1862. goodsid:
  1863. description: 点价商品ID
  1864. type: integer
  1865. goodsname:
  1866. description: 点价商品名称
  1867. type: string
  1868. invoiceamount:
  1869. description: 已开票额
  1870. type: number
  1871. loanamount:
  1872. description: 贷款总额=已定价额+调整金额
  1873. type: number
  1874. margin:
  1875. description: 保证金
  1876. type: number
  1877. modelname:
  1878. description: 型号名称
  1879. type: string
  1880. payamount:
  1881. description: 已收付额(收款或付款)
  1882. type: number
  1883. preinvoiceamount:
  1884. description: 预收(开)票额
  1885. type: number
  1886. prepayamount:
  1887. description: 预收付额
  1888. type: number
  1889. price:
  1890. description: 价格
  1891. type: number
  1892. pricedamount:
  1893. description: 已定价额
  1894. type: number
  1895. pricedavg:
  1896. description: 已点均价
  1897. type: number
  1898. pricedqty:
  1899. description: 已定价量
  1900. type: number
  1901. pricemove:
  1902. description: 升贴水
  1903. type: number
  1904. pricetype:
  1905. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1906. type: integer
  1907. producttype:
  1908. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  1909. type: integer
  1910. qty:
  1911. description: 合同量
  1912. type: number
  1913. reckonadjustamount:
  1914. description: 调整金额
  1915. type: number
  1916. reckonedamount:
  1917. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  1918. type: number
  1919. reckonotheramount:
  1920. description: 其它费用
  1921. type: number
  1922. reckonrealqty:
  1923. description: 已确定量
  1924. type: number
  1925. remark:
  1926. description: 备注
  1927. type: string
  1928. spotcontractid:
  1929. description: 合同ID
  1930. type: string
  1931. spotgoodsbrandid:
  1932. description: 现货品牌ID
  1933. type: integer
  1934. spotgoodsdesc:
  1935. description: 商品型号(商品规格)
  1936. type: string
  1937. spotgoodsmodelid:
  1938. description: 现货型号ID
  1939. type: integer
  1940. startdate:
  1941. description: 点价开始日
  1942. type: string
  1943. totalamount:
  1944. description: 合计总额
  1945. type: number
  1946. unpayamount:
  1947. description: 应收付款额(应支付或应收款)
  1948. type: number
  1949. unpricedqty:
  1950. description: 未定价量
  1951. type: number
  1952. unsureqty:
  1953. description: 未确定量
  1954. type: number
  1955. userid:
  1956. description: 用户ID
  1957. type: integer
  1958. wrstandardcode:
  1959. description: 现货商品代码
  1960. type: string
  1961. wrstandardid:
  1962. description: 现货商品ID
  1963. type: integer
  1964. wrstandardname:
  1965. description: 现货商品名称
  1966. type: string
  1967. type: object
  1968. ermcp.QryGGCovertCfgRsp:
  1969. properties:
  1970. convertratio:
  1971. description: 折算系数
  1972. type: number
  1973. destgoodsgroupid:
  1974. description: 目标品种ID
  1975. type: integer
  1976. dstcode:
  1977. description: 目录品种代码
  1978. type: string
  1979. dstexchangecode:
  1980. description: 目标期货交易所
  1981. type: string
  1982. dstname:
  1983. description: 目标品种名称
  1984. type: string
  1985. dstunitid:
  1986. description: 目标品种单位ID
  1987. type: integer
  1988. dstunitidname:
  1989. description: 目标品种单位名称
  1990. type: string
  1991. modifytime:
  1992. description: 修改时间
  1993. type: string
  1994. srccode:
  1995. description: 源品种代码
  1996. type: string
  1997. srcexchangecode:
  1998. description: 源期货交易所
  1999. type: string
  2000. srcgoodsgroupid:
  2001. description: 源品种ID
  2002. type: integer
  2003. srcname:
  2004. description: 源品种名称
  2005. type: string
  2006. srcunitid:
  2007. description: 源品种单位ID
  2008. type: integer
  2009. srcunitidname:
  2010. description: 源品种单位名称
  2011. type: string
  2012. type: object
  2013. ermcp.QryHedgePlanRsp:
  2014. properties:
  2015. areauserid:
  2016. description: 用户ID
  2017. type: integer
  2018. audittime:
  2019. description: 审核时间
  2020. type: string
  2021. contracttype:
  2022. description: 计划类型 - 1:采购 -1:销售
  2023. type: integer
  2024. convertfactor:
  2025. description: 标仓系数
  2026. type: number
  2027. createtime:
  2028. description: 创建时间
  2029. type: string
  2030. deliverygoodsid:
  2031. description: 现货品种ID
  2032. type: integer
  2033. deliverygoodsname:
  2034. description: 现货品种名称
  2035. type: string
  2036. enumdicname:
  2037. description: 单位名称
  2038. type: string
  2039. hedgeplanid:
  2040. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  2041. type: string
  2042. hedgeplanno:
  2043. description: 套保计划编号(名称)
  2044. type: string
  2045. hedgeplanstatus:
  2046. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  2047. type: integer
  2048. planqty:
  2049. description: 计划数量
  2050. type: number
  2051. plantime:
  2052. description: 计划时间
  2053. type: string
  2054. producttype:
  2055. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  2056. type: integer
  2057. remark:
  2058. description: 备注
  2059. type: string
  2060. spotgoodsdesc:
  2061. description: 商品型号
  2062. type: string
  2063. unitid:
  2064. description: 单位id
  2065. type: integer
  2066. updatetime:
  2067. description: 更新时间
  2068. type: string
  2069. wrstandardid:
  2070. description: 现货商品ID
  2071. type: integer
  2072. wrstandardname:
  2073. description: 现货商品名称
  2074. type: string
  2075. type: object
  2076. ermcp.QryMGChangeLogRsp:
  2077. properties:
  2078. aftervalue:
  2079. description: 变更后
  2080. type: number
  2081. applyid:
  2082. description: 操作人
  2083. type: integer
  2084. applyname:
  2085. description: 操作人名称
  2086. type: string
  2087. applysrc:
  2088. description: 操作来源 - 1:管理端 2:终端
  2089. type: integer
  2090. beforevalue:
  2091. description: 变更前
  2092. type: number
  2093. changelogtype:
  2094. description: 变更流水类型 - 1:套保比率变更
  2095. type: integer
  2096. handlestatus:
  2097. description: 处理状态
  2098. type: integer
  2099. logdatetime:
  2100. description: 流水日期
  2101. type: string
  2102. logid:
  2103. description: 流水ID
  2104. type: integer
  2105. logremark:
  2106. description: 流水备注
  2107. type: string
  2108. middlegoodsid:
  2109. description: 套保品种ID
  2110. type: integer
  2111. tradedate:
  2112. description: 交易日(yyyyMMdd)
  2113. type: string
  2114. updatetime:
  2115. description: 更新时间
  2116. type: string
  2117. type: object
  2118. ermcp.QryMiddleGoodsDetailRsp:
  2119. properties:
  2120. cvList:
  2121. description: 期货品种折算列表
  2122. items:
  2123. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  2124. type: array
  2125. mg:
  2126. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  2127. description: 套保品种基本信息
  2128. wrcList:
  2129. description: 现货品种列表(现货商品折算配置)
  2130. items:
  2131. $ref: '#/definitions/models.WRSConverTDetail'
  2132. type: array
  2133. type: object
  2134. ermcp.QryMiddleGoodsRsp:
  2135. properties:
  2136. areauserid:
  2137. description: 机构用户ID
  2138. type: integer
  2139. createtime:
  2140. description: 修改时间
  2141. type: string
  2142. enumdicname:
  2143. description: 单位名称
  2144. type: string
  2145. evaluateratio:
  2146. description: 估价系数
  2147. type: number
  2148. goodsgroupid:
  2149. description: 关联期货品种ID
  2150. type: integer
  2151. isvalid:
  2152. description: 状态 0-无效(停用) 1-有效(正常)
  2153. type: integer
  2154. middlegoodscode:
  2155. description: 套保品种代码
  2156. type: string
  2157. middlegoodsid:
  2158. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  2159. type: integer
  2160. middlegoodsname:
  2161. description: 套保品种名称
  2162. type: string
  2163. modifytime:
  2164. description: 修改时间
  2165. type: string
  2166. needhedgeratio:
  2167. description: 套保比率
  2168. type: number
  2169. qtydecimalplace:
  2170. description: 数量小数位
  2171. type: integer
  2172. relatedgoodsid:
  2173. description: 关联交易商品ID
  2174. type: integer
  2175. relatedgoodstype:
  2176. description: 关联商品类型 - 1:期货合约 2:现货品种
  2177. type: integer
  2178. remark:
  2179. description: 备注
  2180. type: string
  2181. type: object
  2182. ermcp.QryOPLogRsp:
  2183. properties:
  2184. aftervalue:
  2185. description: 变更后
  2186. type: number
  2187. applyid:
  2188. description: 操作人ID
  2189. type: string
  2190. applyname:
  2191. description: 操作人名称
  2192. type: string
  2193. beforevalue:
  2194. description: 变更前
  2195. type: number
  2196. biztype:
  2197. description: 业务类型 - 1:套保计划 2:现货合同
  2198. type: integer
  2199. contracttype:
  2200. description: 现货合同类型 - 1:采购 -1:销售
  2201. type: integer
  2202. logvalue:
  2203. description: 数值
  2204. type: number
  2205. operatelogtype:
  2206. description: 操作流水类型
  2207. type: integer
  2208. operatelogtypedesc:
  2209. description: 操作流水类型名称
  2210. type: string
  2211. relatedid:
  2212. description: 现货合同ID\套保计划
  2213. type: string
  2214. updatetime:
  2215. description: 更新时间
  2216. type: string
  2217. type: object
  2218. ermcp.QryReportDaySpotDetailRsp:
  2219. properties:
  2220. applyid:
  2221. description: 操作人
  2222. type: integer
  2223. applyname:
  2224. description: 操作人名称
  2225. type: string
  2226. biztype:
  2227. description: 业务类型 - 1:套保计划 2:现货合同
  2228. type: integer
  2229. brandname:
  2230. description: 品牌名称
  2231. type: string
  2232. contracttype:
  2233. description: 现货合同类型 - 1:采购 -1:销售
  2234. type: integer
  2235. enumdicName:
  2236. description: 单位名称
  2237. type: string
  2238. logdatetime:
  2239. description: 流水日期(时间)
  2240. type: string
  2241. logid:
  2242. description: 流水ID(604+Unix秒时间戳(10位)+xxxxxx)
  2243. type: string
  2244. logtypename:
  2245. description: 合同类型(名称)
  2246. type: string
  2247. logvalue:
  2248. description: 数值
  2249. type: string
  2250. modelname:
  2251. description: 型号名称
  2252. type: string
  2253. operatelogtype:
  2254. description: 操作流水类型 -
  2255. type: integer
  2256. optypename:
  2257. description: 流水类型名称
  2258. type: string
  2259. relatedid:
  2260. description: 现货合同ID\套保计划
  2261. type: string
  2262. relatedno:
  2263. description: 合同编号
  2264. type: string
  2265. tradedate:
  2266. description: 交易日(yyyyMMdd)
  2267. type: string
  2268. userid:
  2269. description: 机构ID
  2270. type: integer
  2271. wrstandardcode:
  2272. description: 现货商品代码
  2273. type: string
  2274. wrstandardid:
  2275. description: 现货商品ID
  2276. type: integer
  2277. wrstandardname:
  2278. description: 现货商品名称
  2279. type: string
  2280. type: object
  2281. ermcp.QryReportExposureDayRsp:
  2282. properties:
  2283. areauserid:
  2284. description: 所属机构
  2285. type: integer
  2286. buyfutureqty:
  2287. description: 买入期货数量
  2288. type: number
  2289. buyplanqty:
  2290. description: 采购计划数量
  2291. type: number
  2292. buypricedqty:
  2293. description: 采购合同已定价数量
  2294. type: number
  2295. diffFutuQty:
  2296. description: 今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)
  2297. type: number
  2298. diffSpotQty:
  2299. description: 今日变动量(现货) = 现货数量 - 期初现货数量
  2300. type: number
  2301. enumdicname:
  2302. description: 单位名称
  2303. type: string
  2304. middlegoodscode:
  2305. description: 套保品种代码
  2306. type: string
  2307. middlegoodshedgeratio:
  2308. description: 应套保比例
  2309. type: number
  2310. middlegoodsid:
  2311. description: 套保品种ID
  2312. type: integer
  2313. middlegoodsname:
  2314. description: 套保品种名称
  2315. type: string
  2316. needhedgeexposoure:
  2317. description: 应套保敞口
  2318. type: number
  2319. needhedgeratio:
  2320. description: 应套保敞口比例
  2321. type: number
  2322. oriTotalFutuQty:
  2323. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  2324. type: number
  2325. oriTotalSpotQty:
  2326. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  2327. type: number
  2328. oribuyfutureqty:
  2329. description: 期初买入期货数量
  2330. type: number
  2331. oribuyplanqty:
  2332. description: 期初采购计划数量
  2333. type: number
  2334. oribuypricedqty:
  2335. description: 期初采购合同已定价数量
  2336. type: number
  2337. orisellfutureqty:
  2338. description: 期初卖出期货数量
  2339. type: number
  2340. orisellplanqty:
  2341. description: 期初销售计划数量
  2342. type: number
  2343. orisellpricedqty:
  2344. description: 期初销售合同已定价数量
  2345. type: number
  2346. reckondate:
  2347. description: 日照时期(yyyyMMdd)
  2348. type: string
  2349. sellfutureqty:
  2350. description: 卖出期货数量
  2351. type: number
  2352. sellplanqty:
  2353. description: 销售计划数量
  2354. type: number
  2355. sellpricedqty:
  2356. description: 销售合同已定价数量
  2357. type: number
  2358. totalexposure:
  2359. description: 总敞口
  2360. type: number
  2361. totalfutureqty:
  2362. description: 期货数量
  2363. type: number
  2364. totalhedgeratio:
  2365. description: 敞口比例
  2366. type: number
  2367. totalneedhedgeqty:
  2368. description: 期货应套保量
  2369. type: number
  2370. totalspotqty:
  2371. description: 现货数量
  2372. type: number
  2373. type: object
  2374. ermcp.QryReportFinanceDayRsp:
  2375. properties:
  2376. areauserid:
  2377. description: 所属机构
  2378. type: integer
  2379. collectinvoiceamount:
  2380. description: 今日开票金额
  2381. type: number
  2382. collectinvoicecount:
  2383. description: 今日开票笔数
  2384. type: integer
  2385. collectmoneyamount:
  2386. description: 今日收款金额
  2387. type: number
  2388. collectmoneycount:
  2389. description: 今日收款笔数
  2390. type: integer
  2391. payinvoiceamount:
  2392. description: 今日收票金额
  2393. type: number
  2394. payinvoicecount:
  2395. description: 今日收票笔数
  2396. type: integer
  2397. paymoneyamount:
  2398. description: 今日付款金额
  2399. type: number
  2400. paymoneycount:
  2401. description: 今日付款笔数
  2402. type: integer
  2403. reckondate:
  2404. description: 日照时期(yyyyMMdd)
  2405. type: string
  2406. updatetime:
  2407. description: 更新时间
  2408. type: string
  2409. type: object
  2410. ermcp.QryReportFinanceKxRsp:
  2411. properties:
  2412. applyid:
  2413. description: 操作人
  2414. type: integer
  2415. applyname:
  2416. description: 操作人名称
  2417. type: string
  2418. biztype:
  2419. description: 业务类型 - 1:套保计划 2:现货合同
  2420. type: integer
  2421. brandname:
  2422. description: 品牌名称
  2423. type: string
  2424. contracttype:
  2425. description: 现货合同类型 - 1:采购 -1:销售
  2426. type: integer
  2427. enumdicName:
  2428. description: 单位名称
  2429. type: string
  2430. logdatetime:
  2431. description: 流水日期(时间)
  2432. type: string
  2433. logid:
  2434. description: 流水ID(604+Unix秒时间戳(10位)+xxxxxx)
  2435. type: string
  2436. logtypename:
  2437. description: 合同类型(名称)
  2438. type: string
  2439. logvalue:
  2440. description: 数值
  2441. type: string
  2442. modelname:
  2443. description: 型号名称
  2444. type: string
  2445. operatelogtype:
  2446. description: 操作流水类型 -
  2447. type: integer
  2448. optypename:
  2449. description: 流水类型名称
  2450. type: string
  2451. relatedid:
  2452. description: 现货合同ID\套保计划
  2453. type: string
  2454. relatedno:
  2455. description: 合同编号
  2456. type: string
  2457. tradedate:
  2458. description: 交易日(yyyyMMdd)
  2459. type: string
  2460. userid:
  2461. description: 机构ID
  2462. type: integer
  2463. wrstandardcode:
  2464. description: 现货商品代码
  2465. type: string
  2466. wrstandardid:
  2467. description: 现货商品ID
  2468. type: integer
  2469. wrstandardname:
  2470. description: 现货商品名称
  2471. type: string
  2472. type: object
  2473. ermcp.QryReportFinanceMonRsp:
  2474. properties:
  2475. areauserid:
  2476. description: 所属机构【原值】
  2477. type: integer
  2478. collectinvoiceamount:
  2479. description: 今日开票金额【汇总】
  2480. type: number
  2481. collectinvoicecount:
  2482. description: 今日开票笔数【汇总】
  2483. type: integer
  2484. collectmoneyamount:
  2485. description: 今日收款金额【汇总】
  2486. type: number
  2487. collectmoneycount:
  2488. description: 今日收款笔数 【汇总】
  2489. type: integer
  2490. cycletime:
  2491. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  2492. type: string
  2493. cycletype:
  2494. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  2495. type: integer
  2496. dayFr:
  2497. description: 日报表明细
  2498. items:
  2499. $ref: '#/definitions/models.ErmcpReportDayFR'
  2500. type: array
  2501. payinvoiceamount:
  2502. description: 今日收票金额【汇总】
  2503. type: number
  2504. payinvoicecount:
  2505. description: 今日收票笔数【汇总】
  2506. type: integer
  2507. paymoneyamount:
  2508. description: 今日付款金额【汇总】
  2509. type: number
  2510. paymoneycount:
  2511. description: 今日付款笔数【汇总】
  2512. type: integer
  2513. updatetime:
  2514. description: 更新时间
  2515. type: string
  2516. type: object
  2517. ermcp.QryReportSpotDayRsp:
  2518. properties:
  2519. areauserid:
  2520. description: 所属机构T
  2521. type: integer
  2522. buyinqty:
  2523. description: 采购入库量
  2524. type: number
  2525. enumdicname:
  2526. description: 现货商品单位名称
  2527. type: string
  2528. reckondate:
  2529. description: 日照时期(yyyyMMdd)
  2530. type: string
  2531. selloutqty:
  2532. description: 销售出库量
  2533. type: number
  2534. todaybuyreckonqty:
  2535. description: 采购确定量
  2536. type: number
  2537. todaysellreckonqty:
  2538. description: 销售确定量
  2539. type: number
  2540. totalbuypricedqty:
  2541. description: 采购定价量 = 期末 - 期初
  2542. type: number
  2543. totalsellpricedqty:
  2544. description: 销售定价量 = 期末 - 期初
  2545. type: number
  2546. wrstandardcode:
  2547. description: 现货商品代码
  2548. type: string
  2549. wrstandardid:
  2550. description: 现货商品ID
  2551. type: integer
  2552. wrstandardname:
  2553. description: 现货商品名称
  2554. type: string
  2555. type: object
  2556. ermcp.QryReportSpotMonRsp:
  2557. properties:
  2558. areauserid:
  2559. description: 所属机构T
  2560. type: integer
  2561. buyinqty:
  2562. description: 采购入库量
  2563. type: number
  2564. cycletime:
  2565. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  2566. type: string
  2567. cycletype:
  2568. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  2569. type: integer
  2570. enumdicname:
  2571. description: 现货商品单位名称
  2572. type: string
  2573. selloutqty:
  2574. description: 销售出库量
  2575. type: number
  2576. todaybuyreckonqty:
  2577. description: 采购确定量
  2578. type: number
  2579. todaysellreckonqty:
  2580. description: 销售确定量
  2581. type: number
  2582. totalbuypricedqty:
  2583. description: 采购定价量 = 期末 - 期初
  2584. type: number
  2585. totalsellpricedqty:
  2586. description: 销售定价量 = 期末 - 期初
  2587. type: number
  2588. wrstandardcode:
  2589. description: 现货商品代码
  2590. type: string
  2591. wrstandardid:
  2592. description: 现货商品ID
  2593. type: integer
  2594. wrstandardname:
  2595. description: 现货商品名称
  2596. type: string
  2597. type: object
  2598. ermcp.QryReportSpotMonthDetailRsp:
  2599. properties:
  2600. areauserid:
  2601. description: 所属机构T
  2602. type: integer
  2603. buyinqty:
  2604. description: 采购入库量
  2605. type: number
  2606. enumdicname:
  2607. description: 现货商品单位名称
  2608. type: string
  2609. reckondate:
  2610. description: 日照时期(yyyyMMdd)
  2611. type: string
  2612. selloutqty:
  2613. description: 销售出库量
  2614. type: number
  2615. todaybuyreckonqty:
  2616. description: 采购确定量
  2617. type: number
  2618. todaysellreckonqty:
  2619. description: 销售确定量
  2620. type: number
  2621. totalbuypricedqty:
  2622. description: 采购定价量 = 期末 - 期初
  2623. type: number
  2624. totalsellpricedqty:
  2625. description: 销售定价量 = 期末 - 期初
  2626. type: number
  2627. wrstandardcode:
  2628. description: 现货商品代码
  2629. type: string
  2630. wrstandardid:
  2631. description: 现货商品ID
  2632. type: integer
  2633. wrstandardname:
  2634. description: 现货商品名称
  2635. type: string
  2636. type: object
  2637. ermcp.QrySpotContractRsp:
  2638. properties:
  2639. amount:
  2640. description: 金额 [1:一口价、3:暂定价]
  2641. type: number
  2642. attachment:
  2643. description: 附件
  2644. type: string
  2645. auditremark:
  2646. description: 审核意见
  2647. type: string
  2648. audittime:
  2649. description: 审核时间
  2650. type: string
  2651. brandname:
  2652. description: 品牌名称
  2653. type: string
  2654. buyuserid:
  2655. description: 采购方ID
  2656. type: integer
  2657. buyusername:
  2658. description: 采购方名称
  2659. type: string
  2660. contracctstatus:
  2661. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  2662. type: integer
  2663. contractmargin:
  2664. description: 合同保证金
  2665. type: number
  2666. contractno:
  2667. description: 现货合同编号
  2668. type: string
  2669. contracttype:
  2670. description: 现货合同类型 - 1:采购 -1:销售
  2671. type: integer
  2672. convertfactor:
  2673. description: 标仓系数
  2674. type: number
  2675. createtime:
  2676. description: 创建时间
  2677. type: string
  2678. deliveryenddate:
  2679. description: 交收期(结束)
  2680. type: string
  2681. deliverygoodscode:
  2682. description: 现货品种代码
  2683. type: string
  2684. deliverygoodsid:
  2685. description: 现货品种ID
  2686. type: integer
  2687. deliverygoodsname:
  2688. description: 现货品种名称
  2689. type: string
  2690. deliverystartdate:
  2691. description: 交收期(开始)
  2692. type: string
  2693. enddate:
  2694. description: 点价结束日期 [2:点价 3:暂定价]
  2695. type: string
  2696. enumdicname:
  2697. description: 单位名称
  2698. type: string
  2699. goodscode:
  2700. description: 点价合约代码
  2701. type: string
  2702. goodsid:
  2703. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  2704. type: integer
  2705. goodsname:
  2706. description: 点价商品名称
  2707. type: string
  2708. margin:
  2709. description: 当前保证金
  2710. type: number
  2711. modelname:
  2712. description: 型号名称
  2713. type: string
  2714. price:
  2715. description: 价格\暂定价 [1:一口价、3:暂定价]
  2716. type: number
  2717. pricemove:
  2718. description: 升贴水 [2:点价 3:暂定价]
  2719. type: number
  2720. pricetype:
  2721. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  2722. type: integer
  2723. producttype:
  2724. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  2725. type: integer
  2726. qty:
  2727. description: 数量
  2728. type: number
  2729. remark:
  2730. description: 备注
  2731. type: string
  2732. selluserid:
  2733. description: 销售方ID
  2734. type: integer
  2735. sellusername:
  2736. description: 销售方名称
  2737. type: string
  2738. spotcontractid:
  2739. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  2740. type: string
  2741. spotgoodsbrandid:
  2742. description: 现货品牌ID
  2743. type: integer
  2744. spotgoodsdesc:
  2745. description: 商品型号
  2746. type: string
  2747. spotgoodsmodelid:
  2748. description: 现货型号ID
  2749. type: integer
  2750. startdate:
  2751. description: 点价开始日期 [2:点价 3:暂定价]
  2752. type: string
  2753. updatetime:
  2754. description: 更新时间
  2755. type: string
  2756. userid:
  2757. description: 机构ID
  2758. type: integer
  2759. wrstandardcode:
  2760. description: 现货商品代码
  2761. type: string
  2762. wrstandardid:
  2763. description: 现货商品ID
  2764. type: integer
  2765. wrstandardname:
  2766. description: 现货商品名称
  2767. type: string
  2768. type: object
  2769. ermcp.QryUserInfoRsp:
  2770. properties:
  2771. address:
  2772. description: 通讯地址
  2773. type: string
  2774. attachment1:
  2775. description: 附件1
  2776. type: string
  2777. audittime:
  2778. description: 审核时间
  2779. type: string
  2780. cardfrontphotourl:
  2781. description: 证件正面图片地址
  2782. type: string
  2783. cardnum:
  2784. description: 证件号码
  2785. type: string
  2786. cardtype:
  2787. description: 证件类型
  2788. type: integer
  2789. cardtypename:
  2790. description: 证件类型名称
  2791. type: string
  2792. cityid:
  2793. description: 市
  2794. type: integer
  2795. contactname:
  2796. description: 联系人
  2797. type: string
  2798. countryid:
  2799. description: 国家
  2800. type: integer
  2801. createtime:
  2802. description: 创建时间
  2803. type: string
  2804. customername:
  2805. description: 企业名称
  2806. type: string
  2807. districtid:
  2808. description: 区域
  2809. type: integer
  2810. legalpersonname:
  2811. description: 法人姓名(企业)
  2812. type: string
  2813. memberuserid:
  2814. description: 所属机构ID
  2815. type: integer
  2816. mobile:
  2817. description: 手机号码
  2818. type: string
  2819. modifytime:
  2820. description: 修改时间
  2821. type: string
  2822. nickname:
  2823. description: 昵称
  2824. type: string
  2825. provinceid:
  2826. description: 省
  2827. type: integer
  2828. remark:
  2829. description: 备注
  2830. type: string
  2831. status:
  2832. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  2833. type: integer
  2834. statusdesc:
  2835. description: 账户状态中文描述
  2836. type: string
  2837. taxpayernum:
  2838. description: 纳税人识别号
  2839. type: string
  2840. telphone:
  2841. description: 联系电话
  2842. type: string
  2843. userid:
  2844. description: 用户ID
  2845. type: integer
  2846. userinfotype:
  2847. description: 客户类型
  2848. type: string
  2849. type: object
  2850. ermcp.QryWarehouseRsp:
  2851. properties:
  2852. address:
  2853. description: 详细地址
  2854. type: string
  2855. areauserid:
  2856. description: 所属机构
  2857. type: integer
  2858. autoid:
  2859. description: 自增ID(仓库ID)
  2860. type: integer
  2861. cityid:
  2862. description: 市
  2863. type: integer
  2864. contactname:
  2865. description: 联系人
  2866. type: string
  2867. contactnum:
  2868. description: 联系电话
  2869. type: string
  2870. countryid:
  2871. description: 国家
  2872. type: integer
  2873. createtime:
  2874. description: 创建时间
  2875. type: string
  2876. districtid:
  2877. description: 区
  2878. type: integer
  2879. hasvideo:
  2880. description: 是否有视频 - 0:无 1:有
  2881. type: integer
  2882. provinceid:
  2883. description: 省
  2884. type: integer
  2885. remark:
  2886. description: 审核备注
  2887. type: string
  2888. videourl:
  2889. description: 视频地址
  2890. type: string
  2891. warehousecode:
  2892. description: 仓库代码
  2893. type: string
  2894. warehousename:
  2895. description: 仓库名称
  2896. type: string
  2897. warehousestatus:
  2898. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  2899. type: integer
  2900. warehousetype:
  2901. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  2902. type: integer
  2903. type: object
  2904. ermcp.QryWrStandardDetailRsp:
  2905. properties:
  2906. gbList:
  2907. description: 品牌列表
  2908. items:
  2909. $ref: '#/definitions/models.GoodsBrand'
  2910. type: array
  2911. goodsList:
  2912. description: 关联交易商品列表
  2913. items:
  2914. $ref: '#/definitions/models.RelatedGoodsEx'
  2915. type: array
  2916. gtList:
  2917. description: 型号列表
  2918. items:
  2919. $ref: '#/definitions/models.GoodsTypeModel'
  2920. type: array
  2921. wrd:
  2922. $ref: '#/definitions/models.ErmcpWrstandard'
  2923. description: 基本信息
  2924. wrsList:
  2925. description: 套保信息列表
  2926. items:
  2927. $ref: '#/definitions/models.WRSConverTDetail'
  2928. type: array
  2929. type: object
  2930. ermcp.QryWrStandardRsp:
  2931. properties:
  2932. areauserid:
  2933. description: 所属机构
  2934. type: integer
  2935. createtime:
  2936. description: 创建时间
  2937. type: string
  2938. creatorid:
  2939. description: 创建人
  2940. type: integer
  2941. deliverygoodsid:
  2942. description: 品种ID
  2943. type: integer
  2944. enumdicname:
  2945. description: 单位名称
  2946. type: string
  2947. isvalid:
  2948. description: 是否有效 0-无效(停用) 1-有效(正常)
  2949. type: integer
  2950. minivalue:
  2951. description: 最小变动值
  2952. type: integer
  2953. minivaluedp:
  2954. description: 最小变动值小数位
  2955. type: integer
  2956. realminivalue:
  2957. description: 实际最小变动值
  2958. type: integer
  2959. realminivaluedp:
  2960. description: 实际最小变动值小数位
  2961. type: integer
  2962. remark:
  2963. description: 备注
  2964. type: string
  2965. unitid:
  2966. description: 单位ID
  2967. type: integer
  2968. updatetime:
  2969. description: 更新时间
  2970. type: string
  2971. wrstandardcode:
  2972. description: 现货商品代码
  2973. type: string
  2974. wrstandardid:
  2975. description: 现货商品ID(SEQ_WRSTANDARD)
  2976. type: integer
  2977. wrstandardname:
  2978. description: 现货商品名称
  2979. type: string
  2980. type: object
  2981. ermcp.QueryAreaStockApplySumRsp:
  2982. properties:
  2983. brandname:
  2984. description: 品牌名称
  2985. type: string
  2986. inouttype:
  2987. description: 出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  2988. type: integer
  2989. modelname:
  2990. description: 型号名称
  2991. type: string
  2992. spotcontractid:
  2993. description: 关联现货合同ID
  2994. type: string
  2995. spotgoodsbrandid:
  2996. description: 品牌id
  2997. type: integer
  2998. spotgoodsmodelid:
  2999. description: 型号id
  3000. type: integer
  3001. totalqty:
  3002. description: 总数量
  3003. type: number
  3004. type: object
  3005. ermcp.QueryErmcpTradePositionRsp:
  3006. properties:
  3007. agreeunit:
  3008. description: 合约单位
  3009. type: number
  3010. buyorsell:
  3011. description: 方向 - 0:买 1:卖
  3012. type: integer
  3013. curpositionqty:
  3014. description: 持仓(总仓数量, 期末头寸)
  3015. type: integer
  3016. curtdposition:
  3017. description: 今仓数量(期末今日头寸)
  3018. type: integer
  3019. curtdpositionenabled:
  3020. description: 今仓可用
  3021. type: integer
  3022. decimalplace:
  3023. description: 报价小数位
  3024. type: integer
  3025. enableqty:
  3026. description: 可用(总仓可用)
  3027. type: integer
  3028. exexchangename:
  3029. description: 外部交易所名称
  3030. type: string
  3031. goodscode:
  3032. description: 商品代码(内部)
  3033. type: string
  3034. goodsid:
  3035. description: 商品ID(自增ID SEQ_GOODS)
  3036. type: integer
  3037. goodsname:
  3038. description: 商品名称
  3039. type: string
  3040. last:
  3041. description: 现价
  3042. type: number
  3043. marketid:
  3044. description: 所属市场ID
  3045. type: integer
  3046. openaverageprice:
  3047. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  3048. type: number
  3049. opencost:
  3050. description: 开仓成本
  3051. type: number
  3052. openpl:
  3053. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向
  3054. = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  3055. type: number
  3056. outgoodscode:
  3057. description: 商品代码(外部)
  3058. type: string
  3059. positionaverageprice:
  3060. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  3061. type: number
  3062. positioncost:
  3063. description: 持仓成本
  3064. type: number
  3065. positionpl:
  3066. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向
  3067. = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  3068. type: number
  3069. positionplrate:
  3070. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  3071. type: number
  3072. usedmargin:
  3073. description: 占用保证金
  3074. type: number
  3075. type: object
  3076. ermcp.RealtimeExposurePositionRsp:
  3077. properties:
  3078. agreeunit:
  3079. description: 合约单位
  3080. type: string
  3081. areauserid:
  3082. description: 所属机构id
  3083. type: integer
  3084. convertratio:
  3085. description: 期货品种系数(折算系数)
  3086. type: number
  3087. curqty:
  3088. description: 当前持仓
  3089. type: integer
  3090. diffhedgeqty:
  3091. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  3092. type: number
  3093. diffqty:
  3094. description: 持仓变动量=当前持仓-昨日持仓
  3095. type: integer
  3096. goodscode:
  3097. description: 商品代码
  3098. type: string
  3099. goodsid:
  3100. description: 商品id
  3101. type: integer
  3102. goodsname:
  3103. description: 商品名称
  3104. type: string
  3105. middlegoodsid:
  3106. description: 套保商品id
  3107. type: integer
  3108. ydqty:
  3109. description: 昨日持仓
  3110. type: integer
  3111. type: object
  3112. ermcp.RealtimeExposureRsp:
  3113. properties:
  3114. AreaUserID:
  3115. description: 所属机构
  3116. type: integer
  3117. BuyFutureQty:
  3118. description: 买入期货数量
  3119. type: number
  3120. BuyPlanQty:
  3121. description: 采购计划数量
  3122. type: number
  3123. BuyPricedQty:
  3124. description: 采购合同已定价数量
  3125. type: number
  3126. MiddleGoodsCode:
  3127. description: 套保品种代码
  3128. type: string
  3129. MiddleGoodsHedgeRatio:
  3130. description: 应套保比例
  3131. type: number
  3132. MiddleGoodsID:
  3133. description: 套保品种
  3134. type: integer
  3135. MiddleGoodsName:
  3136. description: 套保品种名称
  3137. type: string
  3138. NeedHedgeExposoure:
  3139. description: 应套保敞口
  3140. type: number
  3141. NeedHedgeRatio:
  3142. description: 应套保敞口比例
  3143. type: number
  3144. OriBuyFutureQty:
  3145. description: 期初买入期货数量
  3146. type: number
  3147. OriBuyPlanQty:
  3148. description: 期初采购计划数量
  3149. type: number
  3150. OriBuyPricedQty:
  3151. description: 期初采购合同已定价数量
  3152. type: number
  3153. OriSellFutureQty:
  3154. description: 期初卖出期货数量
  3155. type: number
  3156. OriSellPlanQty:
  3157. description: 期初销售计划数量
  3158. type: number
  3159. OriSellPricedQty:
  3160. description: 期初销售合同已定价数量
  3161. type: number
  3162. SellFutureQty:
  3163. description: 卖出期货数量
  3164. type: number
  3165. SellPlanQty:
  3166. description: 销售计划数量
  3167. type: number
  3168. SellPricedQty:
  3169. description: 销售合同已定价数量
  3170. type: number
  3171. TotalExposure:
  3172. description: 总敞口
  3173. type: number
  3174. TotalFutureQty:
  3175. description: 期货数量
  3176. type: number
  3177. TotalHedgeRatio:
  3178. description: 敞口比例
  3179. type: number
  3180. TotalNeedHedgeQty:
  3181. description: 期货应套保量
  3182. type: number
  3183. TotalSpotQty:
  3184. description: 现货数量
  3185. type: number
  3186. diffFutuQty:
  3187. description: 今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)
  3188. type: number
  3189. diffSpotQty:
  3190. description: 今日变动量(现货) = 现货数量 - 期初现货数量
  3191. type: number
  3192. enumdicname:
  3193. description: 单位名称
  3194. type: string
  3195. oriTotalFutuQty:
  3196. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  3197. type: number
  3198. oriTotalSpotQty:
  3199. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  3200. type: number
  3201. type: object
  3202. erms2.QueryArbitrageStrategyRsp:
  3203. properties:
  3204. applybasis:
  3205. description: 申请基差
  3206. type: number
  3207. asapplyid:
  3208. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  3209. type: string
  3210. asname:
  3211. description: 策略名称
  3212. type: string
  3213. asno:
  3214. description: 策略编号
  3215. type: string
  3216. basischangepl:
  3217. description: 基差变动损益[结算更新]
  3218. type: number
  3219. biztype:
  3220. description: 业务类型 - 1:正向套利 -1:反向套利
  3221. type: integer
  3222. closetradedate:
  3223. description: 完结交易日(yyyyMMdd)
  3224. type: string
  3225. curbasis:
  3226. description: 当前基差[结算更新]
  3227. type: number
  3228. deliverygoodsid:
  3229. description: 现货品种ID
  3230. type: integer
  3231. futureavgprice:
  3232. description: 期货建仓均价
  3233. type: number
  3234. futurecloseamount:
  3235. description: 期货平仓金额
  3236. type: number
  3237. futurecloseqty:
  3238. description: 期货平仓数量
  3239. type: number
  3240. futureopenamount:
  3241. description: 期货开仓金额
  3242. type: number
  3243. futureopenqty:
  3244. description: 期货开仓数量
  3245. type: number
  3246. futurepl:
  3247. description: 期货总盈亏[结算更新]
  3248. type: number
  3249. futureqty:
  3250. description: 期货持仓数量
  3251. type: number
  3252. futurequote:
  3253. description: 期货额度
  3254. type: number
  3255. goodsgroupid:
  3256. description: 期货品种ID
  3257. type: integer
  3258. marketid:
  3259. description: 市场ID
  3260. type: integer
  3261. netexposure:
  3262. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  3263. type: number
  3264. netexposurepl:
  3265. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  3266. type: number
  3267. netexposurerate:
  3268. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  3269. type: number
  3270. openbasis:
  3271. description: 建仓基差
  3272. type: number
  3273. pricedspotqty:
  3274. description: 已定价现货数量
  3275. type: number
  3276. pricedspotqtynotax:
  3277. description: 已定价现货不含税数量
  3278. type: number
  3279. remark:
  3280. description: 备注
  3281. type: string
  3282. spotavgprice:
  3283. description: 现货均价
  3284. type: number
  3285. spotbuyamount:
  3286. description: 现货采购金额
  3287. type: number
  3288. spotbuyqty:
  3289. description: 现货采购数量
  3290. type: number
  3291. spotpl:
  3292. description: 现货总盈亏[结算更新]
  3293. type: number
  3294. spotquota:
  3295. description: 现货额度
  3296. type: number
  3297. spotsellamount:
  3298. description: 现货销售金额
  3299. type: number
  3300. spotsellqty:
  3301. description: 现货销售数量
  3302. type: number
  3303. spotusedquota:
  3304. description: 现货占用资金
  3305. type: number
  3306. strategystatus:
  3307. description: 策略状态 - 0:未结束 1:已结束
  3308. type: integer
  3309. totalpl:
  3310. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  3311. type: number
  3312. tradedate:
  3313. description: 交易日(yyyyMMdd)
  3314. type: string
  3315. updatetime:
  3316. description: 更新时间
  3317. type: string
  3318. usedquota:
  3319. description: 已占用资金
  3320. type: number
  3321. userid:
  3322. description: 所属机构
  3323. type: integer
  3324. required:
  3325. - asapplyid
  3326. type: object
  3327. erms2.QueryInnerTradeDetailRsp:
  3328. properties:
  3329. accountid:
  3330. description: 账号ID
  3331. type: integer
  3332. agreeunit:
  3333. description: 合约单位
  3334. type: number
  3335. asapplyid:
  3336. description: 策略申请ID
  3337. type: integer
  3338. asname:
  3339. description: 策略名称
  3340. type: string
  3341. asno:
  3342. description: 策略编号
  3343. type: string
  3344. buyorsell:
  3345. description: 方向 - 0:买 1:卖
  3346. type: integer
  3347. channelbuildtype:
  3348. description: 委托单据类型 0:无 1:建仓 2:平仓
  3349. type: integer
  3350. closetype:
  3351. description: 平仓方式 - 0:无 1:平今 2:平昨
  3352. type: integer
  3353. decimalplace:
  3354. description: 报价小数位
  3355. type: integer
  3356. detailtype:
  3357. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  3358. type: integer
  3359. exexchangecode:
  3360. description: 外部交易所代码
  3361. type: string
  3362. exexchangename:
  3363. description: 外部交易所名称
  3364. type: string
  3365. goodscode:
  3366. description: 商品代码(合约)
  3367. type: string
  3368. goodsgroupid:
  3369. description: 商品组ID(品种ID)
  3370. type: integer
  3371. goodsgroupname:
  3372. description: 商品组名称(品种)
  3373. type: string
  3374. goodsid:
  3375. description: 商品ID
  3376. type: integer
  3377. goodsname:
  3378. description: 商品名称(合约)
  3379. type: string
  3380. goodunit:
  3381. description: 报价单位
  3382. type: string
  3383. marketid:
  3384. description: 市场ID
  3385. type: integer
  3386. orderid:
  3387. description: 委托单号
  3388. type: string
  3389. outgoodscode:
  3390. description: 商品代码(外部)
  3391. type: string
  3392. relatedouttradeid:
  3393. description: 关联外部成交单ID
  3394. type: string
  3395. remark:
  3396. description: 备注
  3397. type: string
  3398. spotcontractid:
  3399. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  3400. type: integer
  3401. spotcontractno:
  3402. description: 现货合同编号
  3403. type: string
  3404. tradeid:
  3405. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  3406. type: string
  3407. tradeprice:
  3408. description: 成交价格
  3409. type: number
  3410. tradeqty:
  3411. description: 成交数量
  3412. type: integer
  3413. tradetime:
  3414. description: 成交时间
  3415. type: string
  3416. updatetime:
  3417. description: 更新时间
  3418. type: string
  3419. required:
  3420. - asapplyid
  3421. - buyorsell
  3422. - goodscode
  3423. - goodsgroupid
  3424. - goodsgroupname
  3425. - goodsname
  3426. - tradeid
  3427. type: object
  3428. erms2.QuerySpotContractRsp:
  3429. properties:
  3430. accountid:
  3431. description: 资金账户ID
  3432. type: integer
  3433. areauserid:
  3434. description: 所属机构
  3435. type: integer
  3436. closedate:
  3437. description: 终止日期
  3438. type: string
  3439. closeremark:
  3440. description: 结束备注
  3441. type: string
  3442. closetradedate:
  3443. description: 完结交易日(yyyyMMdd)
  3444. type: string
  3445. closetype:
  3446. description: 终止类型 - 1:违约 2:提前终止
  3447. type: integer
  3448. contractamount:
  3449. description: 合同金额
  3450. type: number
  3451. contractattachment:
  3452. description: 合同附件
  3453. type: string
  3454. contractno:
  3455. description: 现货合同编号
  3456. type: string
  3457. contractqty:
  3458. description: 合同数量(数值) (用于计算)
  3459. type: number
  3460. contractqtychar:
  3461. description: 合同数量\已订价数量 (用于显示)
  3462. type: string
  3463. contractstatus:
  3464. description: 合同状态 - 0:未结束 1:已结束
  3465. type: integer
  3466. contracttype:
  3467. description: 现货合同类型 - 1:采购合同 -1:销售合同
  3468. type: integer
  3469. customeraccountid:
  3470. description: 客户资金账户ID
  3471. type: integer
  3472. customeruserid:
  3473. description: 客户ID
  3474. type: integer
  3475. deliverygoodsdesc:
  3476. description: 品种说明
  3477. type: string
  3478. deliverygoodsid:
  3479. description: 现货品种ID
  3480. type: integer
  3481. handlestatus:
  3482. description: 处理状态
  3483. type: integer
  3484. invoiceatt:
  3485. description: 发票附件
  3486. type: string
  3487. invoicedatetime:
  3488. description: 开收票更新时间
  3489. type: string
  3490. invoiceopentime:
  3491. description: 开票时间
  3492. type: string
  3493. invoiceremark:
  3494. description: 发票备注
  3495. type: string
  3496. invoicestatus:
  3497. description: 开收票状态 - 0:未开票 1:已开票
  3498. type: integer
  3499. lastdate:
  3500. description: 交货时间
  3501. type: string
  3502. marketid:
  3503. description: 市场ID
  3504. type: integer
  3505. paydatetime:
  3506. description: 收付款更新时间
  3507. type: string
  3508. payremark:
  3509. description: 收付款备注
  3510. type: string
  3511. paystatus:
  3512. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  3513. type: integer
  3514. positionqty:
  3515. description: 头寸数量 - 合同数量去小数部分
  3516. type: integer
  3517. producttype:
  3518. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  3519. type: integer
  3520. relatedqty:
  3521. description: 已关联数量
  3522. type: number
  3523. relatedstatus:
  3524. description: 关联完结状态 - 0:未结束 1:已结束
  3525. type: integer
  3526. remark:
  3527. description: 备注
  3528. type: string
  3529. signdate:
  3530. description: 签订日期
  3531. type: string
  3532. spotcontractid:
  3533. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  3534. type: string
  3535. spotdatetime:
  3536. description: 收发货更新时间
  3537. type: string
  3538. spotprice:
  3539. description: 价格
  3540. type: number
  3541. spotremark:
  3542. description: 收发货备注
  3543. type: string
  3544. spotstatus:
  3545. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  3546. type: integer
  3547. tradedate:
  3548. description: 交易日(yyyyMMdd)
  3549. type: string
  3550. userid:
  3551. description: 业务员用户ID
  3552. type: integer
  3553. warehouseid:
  3554. description: 仓库ID
  3555. type: integer
  3556. wrfactortypeid:
  3557. description: 仓单要素类型ID
  3558. type: integer
  3559. wrstandardid:
  3560. description: 仓单标准ID(SEQ_WRSTANDARD)
  3561. type: integer
  3562. required:
  3563. - spotcontractid
  3564. type: object
  3565. erms3.AddErms2ASApplyReq:
  3566. properties:
  3567. applybasis:
  3568. description: 申请基差
  3569. type: number
  3570. applystatus:
  3571. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3572. type: integer
  3573. asapplyid:
  3574. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  3575. type: integer
  3576. asname:
  3577. description: 策略名称
  3578. type: string
  3579. asno:
  3580. description: 策略编号
  3581. type: string
  3582. auditid:
  3583. description: 审核人
  3584. type: integer
  3585. auditremark:
  3586. description: 审核备注
  3587. type: string
  3588. audittime:
  3589. description: 审核时间
  3590. type: string
  3591. biztype:
  3592. description: 业务类型 - 1:正向套利 2:反向套利
  3593. type: integer
  3594. createtime:
  3595. description: 创建时间
  3596. type: string
  3597. creatorid:
  3598. description: 创建人
  3599. type: integer
  3600. deliverygoodsid:
  3601. description: 现货品种ID
  3602. type: integer
  3603. futurequote:
  3604. description: 期货额度
  3605. type: number
  3606. goodsgroupid:
  3607. description: 期货品种ID
  3608. type: integer
  3609. marketid:
  3610. description: 市场ID
  3611. type: integer
  3612. remark:
  3613. description: 备注
  3614. type: string
  3615. spotquota:
  3616. description: 现货额度
  3617. type: number
  3618. tradedate:
  3619. description: 交易日(yyyyMMdd)
  3620. type: string
  3621. userid:
  3622. description: 所属机构
  3623. type: integer
  3624. required:
  3625. - asapplyid
  3626. type: object
  3627. erms3.AddErms2SpotTradeApplyReq:
  3628. properties:
  3629. applyjsondetail:
  3630. description: 申请明细(JSON)
  3631. type: string
  3632. applystatus:
  3633. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3634. type: integer
  3635. areauserid:
  3636. description: 所属机构
  3637. type: integer
  3638. auditid:
  3639. description: 审核人
  3640. type: integer
  3641. auditremark:
  3642. description: 审核备注
  3643. type: string
  3644. audittime:
  3645. description: 审核时间
  3646. type: string
  3647. createtime:
  3648. description: 创建时间
  3649. type: string
  3650. creatorid:
  3651. description: 创建人
  3652. type: integer
  3653. deliverygoodsid:
  3654. description: 现货品种ID
  3655. type: integer
  3656. futureaccountid:
  3657. description: 期货资金账户
  3658. type: integer
  3659. goodsgroupid:
  3660. description: 期货品种
  3661. type: integer
  3662. marketid:
  3663. description: 市场ID
  3664. type: integer
  3665. remark:
  3666. description: 备注
  3667. type: string
  3668. spotaccountid:
  3669. description: 现货资金账户
  3670. type: integer
  3671. spottradeid:
  3672. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  3673. type: integer
  3674. spottradename:
  3675. description: 业务名称
  3676. type: string
  3677. spottradeno:
  3678. description: 业务编号
  3679. type: string
  3680. tradedate:
  3681. description: 交易日(yyyyMMdd)
  3682. type: string
  3683. wrstandardid:
  3684. description: 仓单标准ID
  3685. type: integer
  3686. required:
  3687. - spottradeid
  3688. type: object
  3689. erms3.AddSpotContractApplyReq:
  3690. properties:
  3691. accountid:
  3692. description: 资金账户ID
  3693. type: integer
  3694. areauserid:
  3695. description: 所属机构
  3696. type: integer
  3697. contractattachment:
  3698. description: 合同附件
  3699. type: string
  3700. contractno:
  3701. description: 现货合同编号
  3702. type: string
  3703. contracttype:
  3704. description: 现货合同类型 - 1:采购 -1:销售
  3705. type: integer
  3706. creatorid:
  3707. description: 申请人
  3708. type: integer
  3709. customeraccountid:
  3710. description: 客户资金账户ID
  3711. type: integer
  3712. customeruserid:
  3713. description: 客户ID
  3714. type: integer
  3715. details:
  3716. description: 明细
  3717. items:
  3718. $ref: '#/definitions/erms3.SoptContractDetail'
  3719. type: array
  3720. orimargin:
  3721. description: 初始保证金
  3722. type: number
  3723. remark:
  3724. description: 备注
  3725. type: string
  3726. signdate:
  3727. description: 签订日期
  3728. type: string
  3729. required:
  3730. - accountid
  3731. - areauserid
  3732. - contractno
  3733. - contracttype
  3734. - customeraccountid
  3735. - customeruserid
  3736. - details
  3737. - orimargin
  3738. - signdate
  3739. type: object
  3740. erms3.AddSpotContractApplyRsp:
  3741. properties:
  3742. contractno:
  3743. description: 现货合同编号
  3744. type: string
  3745. spotcontractid:
  3746. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  3747. type: integer
  3748. required:
  3749. - contractno
  3750. type: object
  3751. erms3.AddUserInfoApplyReq:
  3752. properties:
  3753. accountid:
  3754. description: 交易系统帐号Id (加密存储)
  3755. type: integer
  3756. areacode:
  3757. description: 机构代码
  3758. type: string
  3759. areaid:
  3760. description: 机构Id
  3761. type: integer
  3762. attachment1:
  3763. description: 附件1
  3764. type: string
  3765. attachment2:
  3766. description: 附件2
  3767. type: string
  3768. attachment3:
  3769. description: 附件3
  3770. type: string
  3771. attachment4:
  3772. description: 附件4
  3773. type: string
  3774. attachment5:
  3775. description: 附件5
  3776. type: string
  3777. auditedby:
  3778. description: 审核人
  3779. type: string
  3780. auditime:
  3781. description: 审核时间
  3782. type: string
  3783. bankaccount:
  3784. description: 银行帐号 (加密存储)
  3785. type: string
  3786. bankaccountname:
  3787. description: 收款人名称
  3788. type: string
  3789. bankcardbackphotourl:
  3790. description: 银行卡背面照地址
  3791. type: string
  3792. bankcardfrontphotourl:
  3793. description: 银行卡正面照地址
  3794. type: string
  3795. bankid:
  3796. description: 银行编码
  3797. type: string
  3798. bankname:
  3799. description: 银行名称
  3800. type: string
  3801. bankpictureurl:
  3802. description: 银行卡正面地址
  3803. type: string
  3804. biznature:
  3805. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3806. type: integer
  3807. bizscope:
  3808. description: 企业经营范围(企业)
  3809. type: string
  3810. biztype:
  3811. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  3812. type: integer
  3813. brokerid:
  3814. description: 经纪人ID(加密存储)
  3815. type: string
  3816. cardaddress:
  3817. description: 证件地址 (加密存储)
  3818. type: string
  3819. cardbackphotourl:
  3820. description: 背面证件照地址
  3821. type: string
  3822. cardfrontphotourl:
  3823. description: 正面证件照地址
  3824. type: string
  3825. cardnum:
  3826. description: 证件号码 (加密存储)
  3827. type: string
  3828. cardtype:
  3829. description: 证件类型
  3830. type: integer
  3831. cityid:
  3832. description: 市
  3833. type: integer
  3834. company:
  3835. description: 公司(个人)
  3836. type: string
  3837. contactcardbackphotourl:
  3838. description: 联系人证件背面图片地址
  3839. type: string
  3840. contactcardfrontphotourl:
  3841. description: 联系人证件正面图片地址
  3842. type: string
  3843. contactname:
  3844. description: 联系人
  3845. type: string
  3846. countryid:
  3847. description: 国家
  3848. type: integer
  3849. createtime:
  3850. description: 开户申请时间
  3851. type: string
  3852. cusbankid:
  3853. description: 签约类型
  3854. type: string
  3855. cusbankname:
  3856. description: 签约类型名称
  3857. type: string
  3858. customername:
  3859. description: 客户名称(企业名称)
  3860. type: string
  3861. districtid:
  3862. description: 地区
  3863. type: integer
  3864. email:
  3865. description: Email地址(加密存储)
  3866. type: string
  3867. halfbodyphotourl:
  3868. description: 半身照地址
  3869. type: string
  3870. headurl:
  3871. description: 头像地址
  3872. type: string
  3873. ipaddress:
  3874. description: IP地址
  3875. type: string
  3876. isvalidate:
  3877. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3878. type: string
  3879. legalcardbackphotourl:
  3880. description: 法人身份证背面照地址
  3881. type: string
  3882. legalcardfrontphotourl:
  3883. description: 法人身份证正面照地址
  3884. type: string
  3885. legalpersonname:
  3886. description: 法人姓名(企业)
  3887. type: string
  3888. logincode:
  3889. description: 登录帐号 (加密存储)
  3890. type: string
  3891. memberareaid:
  3892. description: 所属会员ID
  3893. type: integer
  3894. mobile2:
  3895. description: 手机号码[明文-尚志]
  3896. type: string
  3897. mobilephone:
  3898. description: 手机号码 (加密存储)
  3899. type: string
  3900. modifiedby:
  3901. description: 修改人帐号
  3902. type: integer
  3903. modifiedtime:
  3904. description: 修改时间
  3905. type: string
  3906. nickname:
  3907. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3908. type: string
  3909. openmode:
  3910. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  3911. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3912. type: integer
  3913. otherurl:
  3914. description: 其它图片地址[使用分号分隔]
  3915. type: string
  3916. postalcode:
  3917. description: 邮政编码
  3918. type: string
  3919. provinceid:
  3920. description: 省
  3921. type: integer
  3922. proxystatementurl:
  3923. description: 授权委托书
  3924. type: string
  3925. qq:
  3926. description: QQ(加密存储
  3927. type: string
  3928. referral:
  3929. description: 推荐人编码
  3930. type: string
  3931. remark:
  3932. description: 备注
  3933. type: string
  3934. removebeforestatus:
  3935. description: REMOVEBEFORESTATUS
  3936. type: integer
  3937. sex:
  3938. description: 性别 - 0:女 1:男
  3939. type: integer
  3940. signedstatus:
  3941. description: 账户一号签签约状态
  3942. type: integer
  3943. signpdfurl:
  3944. description: 签约pdf文件
  3945. type: string
  3946. subbranch:
  3947. description: 开户支行
  3948. type: string
  3949. telphone:
  3950. description: 联系电话(加密存储)
  3951. type: string
  3952. userid:
  3953. description: 用户ID(自增ID)
  3954. type: integer
  3955. userinfotype:
  3956. description: 用户信息类型 - 1:个人 2:企业
  3957. type: integer
  3958. username:
  3959. description: 用户姓名
  3960. type: string
  3961. userstate:
  3962. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3963. type: integer
  3964. usertype:
  3965. description: 用户类型 - 1:投资者 2:机构
  3966. type: integer
  3967. videourl:
  3968. description: 视频地址
  3969. type: string
  3970. wechat:
  3971. description: 微信号 (加密存储)
  3972. type: string
  3973. required:
  3974. - userid
  3975. type: object
  3976. erms3.CustomerInfo:
  3977. properties:
  3978. accountids:
  3979. description: 资金账户ID列表
  3980. items:
  3981. type: integer
  3982. type: array
  3983. customername:
  3984. description: 名称(企业名称)
  3985. type: string
  3986. mobile:
  3987. description: 手机号码
  3988. type: string
  3989. userid:
  3990. description: 用户ID
  3991. type: integer
  3992. required:
  3993. - userid
  3994. type: object
  3995. erms3.ModifyUserInfoApplyReq:
  3996. properties:
  3997. accountid:
  3998. description: 交易系统帐号Id (加密存储)
  3999. type: integer
  4000. areacode:
  4001. description: 机构代码
  4002. type: string
  4003. areaid:
  4004. description: 机构Id
  4005. type: integer
  4006. attachment1:
  4007. description: 附件1
  4008. type: string
  4009. attachment2:
  4010. description: 附件2
  4011. type: string
  4012. attachment3:
  4013. description: 附件3
  4014. type: string
  4015. attachment4:
  4016. description: 附件4
  4017. type: string
  4018. attachment5:
  4019. description: 附件5
  4020. type: string
  4021. auditedby:
  4022. description: 审核人
  4023. type: string
  4024. auditime:
  4025. description: 审核时间
  4026. type: string
  4027. bankaccount:
  4028. description: 银行帐号 (加密存储)
  4029. type: string
  4030. bankaccountname:
  4031. description: 收款人名称
  4032. type: string
  4033. bankcardbackphotourl:
  4034. description: 银行卡背面照地址
  4035. type: string
  4036. bankcardfrontphotourl:
  4037. description: 银行卡正面照地址
  4038. type: string
  4039. bankid:
  4040. description: 银行编码
  4041. type: string
  4042. bankname:
  4043. description: 银行名称
  4044. type: string
  4045. bankpictureurl:
  4046. description: 银行卡正面地址
  4047. type: string
  4048. biznature:
  4049. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  4050. type: integer
  4051. bizscope:
  4052. description: 企业经营范围(企业)
  4053. type: string
  4054. biztype:
  4055. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  4056. type: integer
  4057. brokerid:
  4058. description: 经纪人ID(加密存储)
  4059. type: string
  4060. cardaddress:
  4061. description: 证件地址 (加密存储)
  4062. type: string
  4063. cardbackphotourl:
  4064. description: 背面证件照地址
  4065. type: string
  4066. cardfrontphotourl:
  4067. description: 正面证件照地址
  4068. type: string
  4069. cardnum:
  4070. description: 证件号码 (加密存储)
  4071. type: string
  4072. cardtype:
  4073. description: 证件类型
  4074. type: integer
  4075. cityid:
  4076. description: 市
  4077. type: integer
  4078. company:
  4079. description: 公司(个人)
  4080. type: string
  4081. contactcardbackphotourl:
  4082. description: 联系人证件背面图片地址
  4083. type: string
  4084. contactcardfrontphotourl:
  4085. description: 联系人证件正面图片地址
  4086. type: string
  4087. contactname:
  4088. description: 联系人
  4089. type: string
  4090. countryid:
  4091. description: 国家
  4092. type: integer
  4093. createtime:
  4094. description: 开户申请时间
  4095. type: string
  4096. cusbankid:
  4097. description: 签约类型
  4098. type: string
  4099. cusbankname:
  4100. description: 签约类型名称
  4101. type: string
  4102. customername:
  4103. description: 客户名称(企业名称)
  4104. type: string
  4105. districtid:
  4106. description: 地区
  4107. type: integer
  4108. email:
  4109. description: Email地址(加密存储)
  4110. type: string
  4111. halfbodyphotourl:
  4112. description: 半身照地址
  4113. type: string
  4114. headurl:
  4115. description: 头像地址
  4116. type: string
  4117. ipaddress:
  4118. description: IP地址
  4119. type: string
  4120. isvalidate:
  4121. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  4122. type: string
  4123. legalcardbackphotourl:
  4124. description: 法人身份证背面照地址
  4125. type: string
  4126. legalcardfrontphotourl:
  4127. description: 法人身份证正面照地址
  4128. type: string
  4129. legalpersonname:
  4130. description: 法人姓名(企业)
  4131. type: string
  4132. logincode:
  4133. description: 登录帐号 (加密存储)
  4134. type: string
  4135. memberareaid:
  4136. description: 所属会员ID
  4137. type: integer
  4138. mobile2:
  4139. description: 手机号码[明文-尚志]
  4140. type: string
  4141. mobilephone:
  4142. description: 手机号码 (加密存储)
  4143. type: string
  4144. modifiedby:
  4145. description: 修改人帐号
  4146. type: integer
  4147. modifiedtime:
  4148. description: 修改时间
  4149. type: string
  4150. nickname:
  4151. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  4152. type: string
  4153. openmode:
  4154. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  4155. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  4156. type: integer
  4157. otherurl:
  4158. description: 其它图片地址[使用分号分隔]
  4159. type: string
  4160. postalcode:
  4161. description: 邮政编码
  4162. type: string
  4163. provinceid:
  4164. description: 省
  4165. type: integer
  4166. proxystatementurl:
  4167. description: 授权委托书
  4168. type: string
  4169. qq:
  4170. description: QQ(加密存储
  4171. type: string
  4172. referral:
  4173. description: 推荐人编码
  4174. type: string
  4175. remark:
  4176. description: 备注
  4177. type: string
  4178. removebeforestatus:
  4179. description: REMOVEBEFORESTATUS
  4180. type: integer
  4181. sex:
  4182. description: 性别 - 0:女 1:男
  4183. type: integer
  4184. signedstatus:
  4185. description: 账户一号签签约状态
  4186. type: integer
  4187. signpdfurl:
  4188. description: 签约pdf文件
  4189. type: string
  4190. subbranch:
  4191. description: 开户支行
  4192. type: string
  4193. telphone:
  4194. description: 联系电话(加密存储)
  4195. type: string
  4196. userid:
  4197. description: 用户ID(自增ID)
  4198. type: integer
  4199. userinfotype:
  4200. description: 用户信息类型 - 1:个人 2:企业
  4201. type: integer
  4202. username:
  4203. description: 用户姓名
  4204. type: string
  4205. userstate:
  4206. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  4207. type: integer
  4208. usertype:
  4209. description: 用户类型 - 1:投资者 2:机构
  4210. type: integer
  4211. videourl:
  4212. description: 视频地址
  4213. type: string
  4214. wechat:
  4215. description: 微信号 (加密存储)
  4216. type: string
  4217. required:
  4218. - userid
  4219. type: object
  4220. erms3.QryAuditContractRsp:
  4221. properties:
  4222. accountid:
  4223. description: 交易员ID
  4224. type: string
  4225. applystatus:
  4226. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  4227. type: integer
  4228. curdeliveryqty:
  4229. description: 未交收量
  4230. type: integer
  4231. customername:
  4232. description: 采购方ID
  4233. type: string
  4234. deliverygoodsid:
  4235. description: 品种ID
  4236. type: string
  4237. deliveryqty:
  4238. description: 交收量
  4239. type: integer
  4240. enumdicname:
  4241. description: 单位名称
  4242. type: string
  4243. matchaccountid:
  4244. description: 业务员ID
  4245. type: string
  4246. matchcustomername:
  4247. description: 销售方ID
  4248. type: string
  4249. pricedqty:
  4250. description: 定价量
  4251. type: number
  4252. signdate:
  4253. description: 签订日期
  4254. type: string
  4255. spotcontractid:
  4256. description: 合同ID
  4257. type: string
  4258. totaldqty:
  4259. description: 合同量
  4260. type: number
  4261. unpricedqty:
  4262. description: 未定价量
  4263. type: number
  4264. wrstandardname:
  4265. description: 商品名称
  4266. type: string
  4267. required:
  4268. - matchcustomername
  4269. - spotcontractid
  4270. type: object
  4271. erms3.QryPendingBizRsp:
  4272. properties:
  4273. accountid:
  4274. description: 现货账户
  4275. type: string
  4276. areaname:
  4277. description: 所属部门
  4278. type: string
  4279. bizid:
  4280. description: 业务ID
  4281. type: string
  4282. bizname:
  4283. description: 业务名称
  4284. type: string
  4285. status:
  4286. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  4287. type: integer
  4288. type:
  4289. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  4290. type: integer
  4291. type: object
  4292. erms3.QueryBusinessInfoRsp:
  4293. properties:
  4294. businessid:
  4295. description: 业务ID.
  4296. type: integer
  4297. buyamount:
  4298. description: 采购额.
  4299. type: number
  4300. buyqty:
  4301. description: 采购量.
  4302. type: string
  4303. futurepl:
  4304. description: 期货盈亏.
  4305. type: number
  4306. futureqty:
  4307. description: 期货敞口.
  4308. type: string
  4309. goodsid:
  4310. description: 商品名称/商品代码.
  4311. type: string
  4312. hedgingqty:
  4313. description: 套保量.
  4314. type: string
  4315. sellamount:
  4316. description: 销售额.
  4317. type: number
  4318. sellqty:
  4319. description: 销售量.
  4320. type: string
  4321. spotmarketvalue:
  4322. description: 现货市值.
  4323. type: number
  4324. spotpl:
  4325. description: 浮动权益.
  4326. type: number
  4327. spotqty:
  4328. description: 现货量.
  4329. type: string
  4330. statu:
  4331. description: 状态,0-未结束 1-已结束.
  4332. type: integer
  4333. totalpl:
  4334. description: 总盈亏.
  4335. type: number
  4336. totalqty:
  4337. description: 总敞口.
  4338. type: string
  4339. type:
  4340. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  4341. type: integer
  4342. type: object
  4343. erms3.QuerySpotContractAppleFormRsp:
  4344. properties:
  4345. goodses:
  4346. description: 合约列表
  4347. items:
  4348. $ref: '#/definitions/models.GoodsIDAndName'
  4349. type: array
  4350. oppositeusers:
  4351. description: 对方账号列表
  4352. items:
  4353. $ref: '#/definitions/erms3.CustomerInfo'
  4354. type: array
  4355. ouruser:
  4356. $ref: '#/definitions/erms3.CustomerInfo'
  4357. description: 我方账号
  4358. warehouseinfos:
  4359. description: 仓库信息列表
  4360. items:
  4361. $ref: '#/definitions/models.Warehouseinfo'
  4362. type: array
  4363. wrstandards:
  4364. description: 仓单标准列表
  4365. items:
  4366. $ref: '#/definitions/models.WRStandardInfo'
  4367. type: array
  4368. type: object
  4369. erms3.QuerySpotContractInfoRsp:
  4370. properties:
  4371. accountid:
  4372. description: 表示交易员ID.
  4373. type: integer
  4374. curdeliveryqty:
  4375. description: 表示未交收量.
  4376. type: number
  4377. customername:
  4378. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  4379. type: string
  4380. deliverygoodsid:
  4381. description: 表示品种ID.
  4382. type: string
  4383. deliveryqty:
  4384. description: 表示交收量.
  4385. type: number
  4386. matchaccountid:
  4387. description: 表示业务员ID.
  4388. type: integer
  4389. matchcustomername:
  4390. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  4391. type: string
  4392. priceqty:
  4393. description: 表示定价量.
  4394. type: number
  4395. relatedbizid:
  4396. description: 表示业务ID.
  4397. type: string
  4398. signdate:
  4399. description: 表示签订日期.
  4400. type: string
  4401. spotcontractid:
  4402. description: 合同ID
  4403. type: string
  4404. status:
  4405. description: 表示状态,0-履约中 1-已完成.
  4406. type: integer
  4407. totalqty:
  4408. description: 表示合同量.
  4409. type: number
  4410. unpricedqty:
  4411. description: 表示未定价量.
  4412. type: number
  4413. wrstandardname:
  4414. description: 表示商品ID.
  4415. type: string
  4416. type: object
  4417. erms3.QueryUserInfoAppliesRsp:
  4418. properties:
  4419. biznature:
  4420. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  4421. type: integer
  4422. contactname:
  4423. description: 联系人
  4424. type: string
  4425. createtime:
  4426. description: 开户申请时间
  4427. type: string
  4428. userid:
  4429. description: 用户ID(自增ID)
  4430. type: integer
  4431. userinfotype:
  4432. description: 用户信息类型 - 1:个人 2:企业
  4433. type: integer
  4434. username:
  4435. description: 用户姓名
  4436. type: string
  4437. userstate:
  4438. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  4439. type: integer
  4440. required:
  4441. - userid
  4442. type: object
  4443. erms3.QueryUserInfosRsp:
  4444. properties:
  4445. biznature:
  4446. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  4447. type: integer
  4448. contactname:
  4449. description: 联系人
  4450. type: string
  4451. customername:
  4452. description: 客户名称(企业名称)
  4453. type: string
  4454. userid:
  4455. description: 用户ID
  4456. type: integer
  4457. userinfotype:
  4458. description: 用户信息类型 - 1:个人 2:企业
  4459. type: integer
  4460. userstatus:
  4461. description: 用户状态 - 1:正常 2:注销
  4462. type: integer
  4463. required:
  4464. - userid
  4465. type: object
  4466. erms3.SoptContractDetail:
  4467. properties:
  4468. deliverygoodsdesc:
  4469. description: 现货品种说明
  4470. type: string
  4471. deliverygoodsid:
  4472. description: 现货品种ID
  4473. type: integer
  4474. deliverygoodsname:
  4475. description: 现货品种名称
  4476. type: string
  4477. pointdesc:
  4478. description: 点价描述
  4479. type: string
  4480. producttype:
  4481. description: 产品类型 1:标准仓单 2:等标 3:非标
  4482. type: integer
  4483. producttypename:
  4484. description: 产品类型名称
  4485. type: string
  4486. spotPointOrderVoList:
  4487. description: 点价列表
  4488. items:
  4489. $ref: '#/definitions/erms3.SpotPointOrder'
  4490. type: array
  4491. spotPriceOrderList:
  4492. description: 定价列表
  4493. items:
  4494. $ref: '#/definitions/erms3.SpotPriceOrder'
  4495. type: array
  4496. unitname:
  4497. description: 单位名称
  4498. type: string
  4499. warehouseid:
  4500. description: 仓库ID
  4501. type: integer
  4502. warehousename:
  4503. description: 仓库名称
  4504. type: string
  4505. wrstandardid:
  4506. description: 交易标的ID
  4507. type: integer
  4508. wrstandardname:
  4509. description: 交易标的名称
  4510. type: string
  4511. required:
  4512. - deliverygoodsid
  4513. - producttype
  4514. - unitname
  4515. - warehouseid
  4516. - wrstandardid
  4517. - wrstandardname
  4518. type: object
  4519. erms3.SpotPointOrder:
  4520. properties:
  4521. basic:
  4522. description: 基差
  4523. type: number
  4524. deliveryenddate:
  4525. description: 交收结束日期
  4526. type: string
  4527. deliverystartdate:
  4528. description: 交收开始日期
  4529. type: string
  4530. enddate:
  4531. description: 点价结束日期
  4532. type: string
  4533. goodsid:
  4534. description: 商品ID
  4535. type: integer
  4536. goodsname:
  4537. description: 商品名称
  4538. type: string
  4539. qty:
  4540. description: 数量
  4541. type: number
  4542. startdate:
  4543. description: 点价开始日期
  4544. type: string
  4545. required:
  4546. - basic
  4547. - goodsid
  4548. - qty
  4549. type: object
  4550. erms3.SpotPriceOrder:
  4551. properties:
  4552. amount:
  4553. description: 金额
  4554. type: number
  4555. deliveryenddate:
  4556. description: 交收结束日期
  4557. type: string
  4558. deliverystartdate:
  4559. description: 交收开始日期
  4560. type: string
  4561. price:
  4562. description: 价格
  4563. type: number
  4564. qty:
  4565. description: 数量
  4566. type: number
  4567. required:
  4568. - amount
  4569. - price
  4570. - qty
  4571. type: object
  4572. hsby.GetHsbyMyCountRsp:
  4573. properties:
  4574. myCouponCount:
  4575. description: 我的优惠卷数量
  4576. type: integer
  4577. myOrderDetailListingCount:
  4578. description: 我的订单求购中数量
  4579. type: integer
  4580. myOrderDetailPreCount:
  4581. description: 我的订单抢购中数量
  4582. type: integer
  4583. myPackageUnReceiveCount:
  4584. description: 我的包裹待收货数量
  4585. type: integer
  4586. myPackageUnSendCount:
  4587. description: 我的包裹待发货数量
  4588. type: integer
  4589. myPayOrderCount:
  4590. description: 我的订单待付款数量
  4591. type: integer
  4592. type: object
  4593. hsby.QueryProvincesAndCitiesRsp:
  4594. properties:
  4595. cities:
  4596. description: 市
  4597. items:
  4598. $ref: '#/definitions/models.Division'
  4599. type: array
  4600. province:
  4601. $ref: '#/definitions/models.Division'
  4602. description: 省
  4603. type: object
  4604. models.Clientfixedadconfig:
  4605. properties:
  4606. adsort:
  4607. description: 排序
  4608. type: integer
  4609. adtype:
  4610. description: 广告位类型 - 1:新品抢购(HSBY)
  4611. type: integer
  4612. areauserid:
  4613. description: 所属机构ID
  4614. type: integer
  4615. createdate:
  4616. description: 创建时间
  4617. type: string
  4618. creatorid:
  4619. description: 创建人
  4620. type: integer
  4621. imagepath:
  4622. description: 图片
  4623. type: string
  4624. isshow:
  4625. description: 是否展示 - 0:不展示 1:展示
  4626. type: integer
  4627. modifierid:
  4628. description: 操作人
  4629. type: integer
  4630. recsize:
  4631. description: 推荐尺寸
  4632. type: string
  4633. title:
  4634. description: 标题
  4635. type: string
  4636. updatedate:
  4637. description: 更新时间
  4638. type: string
  4639. urlcontent:
  4640. description: 链接(地址或商品ID)
  4641. type: string
  4642. urltype:
  4643. description: 链接类型 - 1:直接地址 2:商品ID
  4644. type: integer
  4645. required:
  4646. - adsort
  4647. - adtype
  4648. type: object
  4649. models.Division:
  4650. properties:
  4651. autoid:
  4652. description: 自增ID
  4653. type: integer
  4654. divisioncode:
  4655. description: 行政代码
  4656. type: string
  4657. divisionlevel:
  4658. description: 行政级别
  4659. type: string
  4660. divisionname:
  4661. description: 行政名称
  4662. type: string
  4663. modifierid:
  4664. description: 修改人
  4665. type: integer
  4666. modifytime:
  4667. description: 修改时间
  4668. type: string
  4669. parentcode:
  4670. description: 上级行政代码
  4671. type: string
  4672. pathname:
  4673. description: 路径名称
  4674. type: string
  4675. postcode:
  4676. description: 邮政编码
  4677. type: string
  4678. separablename:
  4679. description: 可拆分的全称
  4680. type: string
  4681. shortcode:
  4682. description: 地区简码
  4683. type: string
  4684. required:
  4685. - autoid
  4686. - divisioncode
  4687. type: object
  4688. models.Enumdicitem:
  4689. properties:
  4690. autoid:
  4691. description: 自增ID
  4692. type: integer
  4693. bankmappedvalue:
  4694. description: 银行服务对应值
  4695. type: string
  4696. enumdiccode:
  4697. description: 所属枚举代码
  4698. type: string
  4699. enumdicid:
  4700. description: 所属枚举ID
  4701. type: integer
  4702. enumdicname:
  4703. description: 枚举项名称
  4704. type: string
  4705. enumitemname:
  4706. description: 枚举项值
  4707. type: integer
  4708. enumitemstatus:
  4709. description: 枚举项状态 - 1.启用 2.不启用
  4710. type: integer
  4711. enumitemvalue:
  4712. description: 通用值 - [币种通用简写]
  4713. type: string
  4714. param1:
  4715. description: 参数1[币种:币种小数位]
  4716. type: string
  4717. param2:
  4718. description: 参数1[币种:币种显示单位]
  4719. type: string
  4720. remark:
  4721. description: 备注
  4722. type: string
  4723. required:
  4724. - autoid
  4725. - enumdiccode
  4726. - enumdicid
  4727. - enumitemname
  4728. type: object
  4729. models.Ermcp3AreaSpot:
  4730. properties:
  4731. areauserid:
  4732. description: 所属机构
  4733. type: integer
  4734. decreaseqty:
  4735. description: 减少数量=-(销售已定价数量+采购计划数量)
  4736. type: number
  4737. deliverygoodscode:
  4738. description: 现货品种代码
  4739. type: string
  4740. deliverygoodsid:
  4741. description: 现货品种id
  4742. type: integer
  4743. deliverygoodsname:
  4744. description: 现货品种名称
  4745. type: string
  4746. increaseqty:
  4747. description: 增加数量=销售计划数量+采购已定价数量
  4748. type: number
  4749. oritoalspotqty:
  4750. description: 昨日数量
  4751. type: number
  4752. totalspotqty:
  4753. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  4754. type: number
  4755. updatetime:
  4756. description: 更新时间
  4757. type: string
  4758. type: object
  4759. models.Ermcp3AreaSpotDetail:
  4760. properties:
  4761. contracttype:
  4762. description: 合同类型 1-采购 -1-销售
  4763. type: integer
  4764. createtime:
  4765. description: 创建时间
  4766. type: string
  4767. deliverygoodscode:
  4768. description: 现货品种代码
  4769. type: string
  4770. deliverygoodsid:
  4771. description: 现货品种id
  4772. type: integer
  4773. deliverygoodsname:
  4774. description: 现货品种名称
  4775. type: string
  4776. enumdicname:
  4777. description: 现货商品单位名称
  4778. type: string
  4779. logtype:
  4780. description: 记录类型 1-套保 2-现货合同
  4781. type: integer
  4782. qty:
  4783. description: 数量
  4784. type: number
  4785. recordname:
  4786. description: 类型名称
  4787. type: string
  4788. relatedid:
  4789. description: 套保计划ID/现货合同ID
  4790. type: string
  4791. relatedno:
  4792. description: 编号
  4793. type: string
  4794. strtime:
  4795. description: 时间
  4796. type: string
  4797. type: object
  4798. models.Ermcp3AreaStockApply:
  4799. properties:
  4800. applyid:
  4801. description: 申请人
  4802. type: integer
  4803. applyname:
  4804. description: 申请人名称
  4805. type: string
  4806. applyremark:
  4807. description: 申请备注
  4808. type: string
  4809. applysrc:
  4810. description: 申请来源 - 1:管理端 2:终端
  4811. type: integer
  4812. applystatus:
  4813. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  4814. type: integer
  4815. applytime:
  4816. description: 申请时间
  4817. type: string
  4818. auditid:
  4819. description: 审核人
  4820. type: integer
  4821. auditname:
  4822. description: 审核人名称
  4823. type: string
  4824. auditremark:
  4825. description: 审核备注
  4826. type: string
  4827. auditsrc:
  4828. description: 审核来源 - 1:管理端 2:终端
  4829. type: integer
  4830. audittime:
  4831. description: 审核时间
  4832. type: string
  4833. audittradedate:
  4834. description: 审核交易日(yyyyMMdd)
  4835. type: string
  4836. brandname:
  4837. description: 品牌名称
  4838. type: string
  4839. buynickname:
  4840. description: 采购方昵称
  4841. type: string
  4842. buyuserid:
  4843. description: 采购方userid
  4844. type: integer
  4845. buyusername:
  4846. description: 采购方名称
  4847. type: string
  4848. contractno:
  4849. description: 合同编号
  4850. type: string
  4851. contractqty:
  4852. description: 合同量
  4853. type: number
  4854. contracttype:
  4855. description: 现货合同类型 - 1:采购 -1:销售
  4856. type: integer
  4857. deliverygoodscode:
  4858. description: 现货品种代码
  4859. type: string
  4860. deliverygoodsid:
  4861. description: 现货品种id
  4862. type: integer
  4863. deliverygoodsname:
  4864. description: 现货品种名称
  4865. type: string
  4866. enumdicname:
  4867. description: 现货商品单位名称
  4868. type: string
  4869. inoutapplyid:
  4870. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  4871. type: string
  4872. inouttype:
  4873. description: 出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  4874. type: integer
  4875. pricetype:
  4876. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4877. type: integer
  4878. qty:
  4879. description: 数量
  4880. type: number
  4881. sellnickname:
  4882. description: 销售方昵称
  4883. type: string
  4884. selluserid:
  4885. description: 销售方userid
  4886. type: integer
  4887. sellusername:
  4888. description: 销售方名称
  4889. type: string
  4890. spotcontractid:
  4891. description: 关联现货合同ID
  4892. type: string
  4893. spotgoodsbrandid:
  4894. description: 现货品牌ID
  4895. type: integer
  4896. unitid:
  4897. description: 单位id
  4898. type: integer
  4899. userid:
  4900. description: 机构ID
  4901. type: integer
  4902. warehousecode:
  4903. description: 仓库代码
  4904. type: string
  4905. warehouseinfoid:
  4906. description: 现货仓库ID
  4907. type: string
  4908. warehousename:
  4909. description: 仓库名称
  4910. type: string
  4911. warehousetype:
  4912. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4913. type: integer
  4914. wrstandardcode:
  4915. description: 品类代码
  4916. type: string
  4917. wrstandardid:
  4918. description: 品类ID
  4919. type: integer
  4920. wrstandardname:
  4921. description: 品类名称
  4922. type: string
  4923. type: object
  4924. models.Ermcp3AreaStockApplySum:
  4925. properties:
  4926. brandname:
  4927. description: 品牌名称
  4928. type: string
  4929. inouttype:
  4930. description: 出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  4931. type: integer
  4932. spotcontractid:
  4933. description: 关联现货合同ID
  4934. type: string
  4935. spotgoodsbrandid:
  4936. description: 品牌id
  4937. type: integer
  4938. totalqty:
  4939. description: 总数量
  4940. type: number
  4941. wrstandardid:
  4942. description: 品类id
  4943. type: integer
  4944. wrstandardname:
  4945. description: 品类名称
  4946. type: string
  4947. type: object
  4948. models.Ermcp3AreaStockReport:
  4949. properties:
  4950. brandname:
  4951. description: 品牌名称
  4952. type: string
  4953. curstock:
  4954. description: 期末库存量
  4955. type: number
  4956. deliverygoodscode:
  4957. description: 现货品种代码
  4958. type: string
  4959. deliverygoodsid:
  4960. description: 现货品种id
  4961. type: integer
  4962. deliverygoodsname:
  4963. description: 现货品种名称
  4964. type: string
  4965. enumdicname:
  4966. description: 单位名称
  4967. type: string
  4968. goodsunitid:
  4969. description: 现货单位id
  4970. type: integer
  4971. oristock:
  4972. description: 期初库存量
  4973. type: number
  4974. spotgoodsbrandid:
  4975. description: 现货品牌ID
  4976. type: integer
  4977. todaybuyinqty:
  4978. description: 今日采购入库量
  4979. type: number
  4980. todayproduceinqty:
  4981. description: 今日生产入库量
  4982. type: number
  4983. todayproduceoutqty:
  4984. description: 今日生产出库量
  4985. type: number
  4986. todayselloutqty:
  4987. description: 今日销售出库量
  4988. type: number
  4989. unitid:
  4990. description: 品类单位id
  4991. type: integer
  4992. updatetime:
  4993. description: 更新时间
  4994. type: string
  4995. userid:
  4996. description: 机构ID
  4997. type: integer
  4998. username:
  4999. description: 机构名称
  5000. type: string
  5001. warehousecode:
  5002. description: 仓库代码
  5003. type: string
  5004. warehouseinfoid:
  5005. description: 仓库ID
  5006. type: string
  5007. warehousename:
  5008. description: 仓库名称
  5009. type: string
  5010. warehousetype:
  5011. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  5012. type: integer
  5013. wrstandardcode:
  5014. description: 品类代码
  5015. type: string
  5016. wrstandardid:
  5017. description: 品类ID
  5018. type: integer
  5019. wrstandardname:
  5020. description: 品类名称
  5021. type: string
  5022. type: object
  5023. models.Ermcp3Brand:
  5024. properties:
  5025. areauserid:
  5026. description: 用户id
  5027. type: integer
  5028. brandid:
  5029. description: 品牌id
  5030. type: integer
  5031. brandname:
  5032. description: 品牌名称
  5033. type: string
  5034. deliverygoodsid:
  5035. description: 品种ID
  5036. type: integer
  5037. type: object
  5038. models.Ermcp3Contract:
  5039. properties:
  5040. accountid:
  5041. description: 期货账户id
  5042. type: string
  5043. amount:
  5044. description: 金额 [1:一口价、3:暂定价]
  5045. type: number
  5046. attachment:
  5047. description: 附件
  5048. type: string
  5049. auditremark:
  5050. description: 审核意见
  5051. type: string
  5052. audittime:
  5053. description: 审核时间
  5054. type: string
  5055. biztype:
  5056. description: 业务类型 1-套保 2-套利
  5057. type: integer
  5058. brandname:
  5059. description: 品牌名称
  5060. type: string
  5061. buynickname:
  5062. description: 销售方昵称
  5063. type: string
  5064. buyuserid:
  5065. description: 采购方ID
  5066. type: integer
  5067. buyusername:
  5068. description: 采购方名称
  5069. type: string
  5070. contracctstatus:
  5071. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5072. type: integer
  5073. contractmargin:
  5074. description: 合同保证金
  5075. type: number
  5076. contractno:
  5077. description: 现货合同编号
  5078. type: string
  5079. contracttype:
  5080. description: 现货合同类型 - 1:采购 -1:销售
  5081. type: integer
  5082. convertfactor:
  5083. description: 标仓系数(品类)
  5084. type: number
  5085. createtime:
  5086. description: 创建时间
  5087. type: string
  5088. deliveryenddate:
  5089. description: 交收期(结束)
  5090. type: string
  5091. deliverygoodscode:
  5092. description: 现货品种代码
  5093. type: string
  5094. deliverygoodsid:
  5095. description: 现货品种ID
  5096. type: integer
  5097. deliverygoodsname:
  5098. description: 现货品种名称
  5099. type: string
  5100. deliverystartdate:
  5101. description: 交收期(开始)
  5102. type: string
  5103. enddate:
  5104. description: 点价结束日期 [2:点价 3:暂定价]
  5105. type: string
  5106. enumdicname:
  5107. description: 单位名称
  5108. type: string
  5109. goodscode:
  5110. description: 点价合约代码
  5111. type: string
  5112. goodsid:
  5113. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  5114. type: integer
  5115. goodsname:
  5116. description: 点价商品名称
  5117. type: string
  5118. margin:
  5119. description: 当前保证金
  5120. type: number
  5121. meruserid:
  5122. description: 跟单员id
  5123. type: integer
  5124. meruserlogincode:
  5125. description: 跟单员登录代码
  5126. type: string
  5127. price:
  5128. description: 价格\暂定价 [1:一口价、3:暂定价]
  5129. type: number
  5130. pricemove:
  5131. description: 升贴水 [2:点价 3:暂定价]
  5132. type: number
  5133. pricetype:
  5134. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  5135. type: integer
  5136. producttype:
  5137. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5138. type: integer
  5139. qty:
  5140. description: 数量
  5141. type: number
  5142. remark:
  5143. description: 备注
  5144. type: string
  5145. saleuserid:
  5146. description: 业务员id
  5147. type: integer
  5148. saleuserlogincode:
  5149. description: 业务员登录代码
  5150. type: string
  5151. sellnickname:
  5152. description: 采购方昵称
  5153. type: string
  5154. selluserid:
  5155. description: 销售方ID
  5156. type: integer
  5157. sellusername:
  5158. description: 销售方名称
  5159. type: string
  5160. spotcontractid:
  5161. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  5162. type: string
  5163. spotgoodsbrandid:
  5164. description: 现货品牌ID(DGFactoryItem表的ID)
  5165. type: integer
  5166. spotgoodsdesc:
  5167. description: 商品型号
  5168. type: string
  5169. startdate:
  5170. description: 点价开始日期 [2:点价 3:暂定价]
  5171. type: string
  5172. tradeuserid:
  5173. description: 交易员id
  5174. type: integer
  5175. tradeuserlogincode:
  5176. description: 交易员登录代码
  5177. type: string
  5178. unitid:
  5179. description: 单位id(取品类上的单位id)
  5180. type: integer
  5181. updatetime:
  5182. description: 更新时间
  5183. type: string
  5184. userid:
  5185. description: 所属机构ID
  5186. type: integer
  5187. wrstandardcode:
  5188. description: 品类代码
  5189. type: string
  5190. wrstandardid:
  5191. description: 品类ID
  5192. type: integer
  5193. wrstandardname:
  5194. description: 品类名称
  5195. type: string
  5196. type: object
  5197. models.Ermcp3ExposureDetail:
  5198. properties:
  5199. areauserid:
  5200. description: 机构ID
  5201. type: integer
  5202. changeQty:
  5203. description: 套保变动量
  5204. type: number
  5205. contracttype:
  5206. description: 现货合同类型 - 1:采购 -1:销售
  5207. type: integer
  5208. convertfactor:
  5209. description: 标仓系数
  5210. type: number
  5211. convertratio:
  5212. description: 套保系数
  5213. type: number
  5214. createtime:
  5215. description: 时间
  5216. type: string
  5217. deliverygoodscode:
  5218. description: 现货品种代码
  5219. type: string
  5220. deliverygoodsid:
  5221. description: 现货品种id
  5222. type: integer
  5223. deliverygoodsname:
  5224. description: 现货品种名称
  5225. type: string
  5226. enumdicname:
  5227. description: 现货商品单位名称
  5228. type: string
  5229. logtype:
  5230. description: 类型 - 1:套保计划 2:现货合同
  5231. type: integer
  5232. middlegoodsId:
  5233. description: 套保商品id
  5234. type: integer
  5235. middlegoodscode:
  5236. description: 套保商品代码
  5237. type: string
  5238. middlegoodsname:
  5239. description: 套保商品名称
  5240. type: string
  5241. qty:
  5242. description: 数量
  5243. type: number
  5244. relateNo:
  5245. description: 现货合同/套保计划编号
  5246. type: string
  5247. type: object
  5248. models.Ermcp3HedgePlan:
  5249. properties:
  5250. areauserid:
  5251. description: 用户ID
  5252. type: integer
  5253. audittime:
  5254. description: 审核时间
  5255. type: string
  5256. contracttype:
  5257. description: 计划类型 - 1:采购 -1:销售
  5258. type: integer
  5259. convertfactor:
  5260. description: 标仓系数
  5261. type: number
  5262. createtime:
  5263. description: 创建时间
  5264. type: string
  5265. deliverygoodscode:
  5266. description: 现货品种代码
  5267. type: string
  5268. deliverygoodsid:
  5269. description: 现货品种ID
  5270. type: integer
  5271. deliverygoodsname:
  5272. description: 现货品种名称
  5273. type: string
  5274. enumdicname:
  5275. description: 单位名称
  5276. type: string
  5277. hedgeplanid:
  5278. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  5279. type: string
  5280. hedgeplanno:
  5281. description: 套保计划编号(名称)
  5282. type: string
  5283. hedgeplanstatus:
  5284. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5285. type: integer
  5286. planqty:
  5287. description: 计划数量
  5288. type: number
  5289. plantime:
  5290. description: 计划时间
  5291. type: string
  5292. producttype:
  5293. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5294. type: integer
  5295. remark:
  5296. description: 备注
  5297. type: string
  5298. spotgoodsdesc:
  5299. description: 商品型号
  5300. type: string
  5301. unitid:
  5302. description: 单位id
  5303. type: integer
  5304. updatetime:
  5305. description: 更新时间
  5306. type: string
  5307. type: object
  5308. models.Ermcp3ReportAreaSpotPL:
  5309. properties:
  5310. actualpl:
  5311. description: 实际损益
  5312. type: number
  5313. areauserid:
  5314. description: 所属机构
  5315. type: integer
  5316. brandname:
  5317. description: 品牌名称
  5318. type: string
  5319. curamount:
  5320. description: 期末额
  5321. type: number
  5322. curaverageprice:
  5323. description: 期末均价
  5324. type: number
  5325. curbuyamount:
  5326. description: 期末采购总额(采购额)
  5327. type: number
  5328. curbuyqty:
  5329. description: 期末采购总量
  5330. type: number
  5331. curmarketvalue:
  5332. description: 参考市值
  5333. type: number
  5334. curqty:
  5335. description: 期末量
  5336. type: number
  5337. cursellamount:
  5338. description: 期末销售总额(销售额)
  5339. type: number
  5340. cursellqty:
  5341. description: 期末销售总量
  5342. type: number
  5343. curspotprice:
  5344. description: 参考市价
  5345. type: number
  5346. deliverygoodscode:
  5347. description: 现货品种代码
  5348. type: string
  5349. deliverygoodsid:
  5350. description: 现货品种id
  5351. type: integer
  5352. deliverygoodsname:
  5353. description: 现货品种名称
  5354. type: string
  5355. enumdicname:
  5356. description: 现货商品单位名称
  5357. type: string
  5358. floatpl:
  5359. description: 浮动损益
  5360. type: number
  5361. gbenumdicname:
  5362. description: 品类单位名称
  5363. type: string
  5364. gbunitid:
  5365. description: 现货单位id
  5366. type: integer
  5367. modelname:
  5368. description: 品类名称
  5369. type: string
  5370. oriamount:
  5371. description: 期初额
  5372. type: number
  5373. oriaverageprice:
  5374. description: 期初均价
  5375. type: number
  5376. oribuyamount:
  5377. description: 期初采购总额
  5378. type: number
  5379. oribuyqty:
  5380. description: 期初采购总量
  5381. type: number
  5382. oriqty:
  5383. description: 期初量
  5384. type: number
  5385. orisellamount:
  5386. description: 期初销售总额
  5387. type: number
  5388. orisellqty:
  5389. description: 期初销售总量
  5390. type: number
  5391. spotgoodsbrandid:
  5392. description: 现货品牌ID
  5393. type: integer
  5394. todaybuyamount:
  5395. description: 今日采购额
  5396. type: number
  5397. todaybuyaverageprice:
  5398. description: 今日采购均价(采购均价)
  5399. type: number
  5400. todaybuyqty:
  5401. description: 今日采购量(采购增量)
  5402. type: number
  5403. todaysellamount:
  5404. description: 今日销售额
  5405. type: number
  5406. todaysellaverageprice:
  5407. description: 今日销售均价(销售均价)
  5408. type: number
  5409. todaysellqty:
  5410. description: 今日销售量(销售增量)
  5411. type: number
  5412. unitid:
  5413. description: 品类单位id
  5414. type: integer
  5415. updatetime:
  5416. description: 更新时间
  5417. type: string
  5418. wrstandardcode:
  5419. description: 品类代码
  5420. type: string
  5421. wrstandardid:
  5422. description: 品类ID
  5423. type: integer
  5424. wrstandardname:
  5425. description: 品类名称
  5426. type: string
  5427. type: object
  5428. models.Ermcp3ReportDaySpot:
  5429. properties:
  5430. areauserid:
  5431. description: 所属机构T
  5432. type: integer
  5433. buyinqty:
  5434. description: 采购入库量
  5435. type: number
  5436. deliverygoodscode:
  5437. description: 现货品种代码
  5438. type: string
  5439. deliverygoodsid:
  5440. description: 现货品种id
  5441. type: integer
  5442. deliverygoodsname:
  5443. description: 现货品种名称
  5444. type: string
  5445. enumdicname:
  5446. description: 现货商品单位名称
  5447. type: string
  5448. reckondate:
  5449. description: 日照时期(yyyyMMdd)
  5450. type: string
  5451. selloutqty:
  5452. description: 销售出库量
  5453. type: number
  5454. todaybuyreckonqty:
  5455. description: 采购确定量
  5456. type: number
  5457. todaysellreckonqty:
  5458. description: 销售确定量
  5459. type: number
  5460. totalbuypricedqty:
  5461. description: 采购定价量 = 期末 - 期初
  5462. type: number
  5463. totalsellpricedqty:
  5464. description: 销售定价量 = 期末 - 期初
  5465. type: number
  5466. type: object
  5467. models.Ermcp3ReportMonSpot:
  5468. properties:
  5469. areauserid:
  5470. description: 所属机构id
  5471. type: integer
  5472. buyinqty:
  5473. description: 采购入库量
  5474. type: number
  5475. cycletime:
  5476. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5477. type: string
  5478. cycletype:
  5479. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5480. type: integer
  5481. deliverygoodscode:
  5482. description: 现货品种代码
  5483. type: string
  5484. deliverygoodsid:
  5485. description: 现货品种id
  5486. type: integer
  5487. deliverygoodsname:
  5488. description: 现货品种名称
  5489. type: string
  5490. enumdicname:
  5491. description: 现货商品单位名称
  5492. type: string
  5493. selloutqty:
  5494. description: 销售出库量
  5495. type: number
  5496. todaybuyreckonqty:
  5497. description: 采购确定量
  5498. type: number
  5499. todaysellreckonqty:
  5500. description: 销售确定量
  5501. type: number
  5502. totalbuypricedqty:
  5503. description: 采购定价量 = 期末 - 期初
  5504. type: number
  5505. totalsellpricedqty:
  5506. description: 销售定价量 = 期末 - 期初
  5507. type: number
  5508. type: object
  5509. models.Ermcp3ReportOPLog:
  5510. properties:
  5511. applyid:
  5512. description: 操作人
  5513. type: integer
  5514. applyname:
  5515. description: 操作人名称
  5516. type: string
  5517. biztype:
  5518. description: 业务类型 - 1:套保计划 2:现货合同
  5519. type: integer
  5520. brandname:
  5521. description: 品牌名称
  5522. type: string
  5523. contracttype:
  5524. description: 现货合同类型 - 1:采购 -1:销售
  5525. type: integer
  5526. deliverygoodscode:
  5527. description: 现货品种代码
  5528. type: string
  5529. deliverygoodsid:
  5530. description: 现货品种id
  5531. type: integer
  5532. deliverygoodsname:
  5533. description: 现货品种名称
  5534. type: string
  5535. enumdicName:
  5536. description: 单位名称
  5537. type: string
  5538. logdatetime:
  5539. description: 流水日期(时间)
  5540. type: string
  5541. logid:
  5542. description: 流水ID(604+Unix秒时间戳(10位)+xxxxxx)
  5543. type: string
  5544. logtypename:
  5545. description: 合同类型(名称)
  5546. type: string
  5547. logvalue:
  5548. description: 数值
  5549. type: string
  5550. operatelogtype:
  5551. description: 操作流水类型 -
  5552. type: integer
  5553. optypename:
  5554. description: 流水类型名称
  5555. type: string
  5556. relatedid:
  5557. description: 现货合同ID\套保计划
  5558. type: string
  5559. relatedno:
  5560. description: 合同编号
  5561. type: string
  5562. tradedate:
  5563. description: 交易日(yyyyMMdd)
  5564. type: string
  5565. userid:
  5566. description: 机构ID
  5567. type: integer
  5568. type: object
  5569. models.Ermcp3SellBuyContract:
  5570. properties:
  5571. accountname:
  5572. description: 账户名称
  5573. type: string
  5574. attachment:
  5575. description: 附件
  5576. type: string
  5577. audittime:
  5578. description: 审核时间
  5579. type: string
  5580. brandname:
  5581. description: 品牌名称
  5582. type: string
  5583. contracctstatus:
  5584. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5585. type: integer
  5586. contractmargin:
  5587. description: 合同保证金
  5588. type: number
  5589. contractno:
  5590. description: 合同编号
  5591. type: string
  5592. contracttype:
  5593. description: 合同类型 1-采购, -1-销售
  5594. type: integer
  5595. convertfactor:
  5596. description: 标仓系数(品类)
  5597. type: number
  5598. createtime:
  5599. description: 创建时间
  5600. type: string
  5601. daikaiamount:
  5602. description: 应收(开)票额
  5603. type: number
  5604. deliveryenddate:
  5605. description: 交割结束日
  5606. type: string
  5607. deliverygoodscode:
  5608. description: 现货品种代码
  5609. type: string
  5610. deliverygoodsid:
  5611. description: 现货商品ID
  5612. type: integer
  5613. deliverygoodsname:
  5614. description: 现货品种名称
  5615. type: string
  5616. deliverystartdate:
  5617. description: 交割开始日
  5618. type: string
  5619. enddate:
  5620. description: 点价结束日
  5621. type: string
  5622. enumdicname:
  5623. description: 单位名称
  5624. type: string
  5625. goodscode:
  5626. description: 点价商品代码
  5627. type: string
  5628. goodsid:
  5629. description: 点价商品ID
  5630. type: integer
  5631. goodsname:
  5632. description: 点价商品名称
  5633. type: string
  5634. invoiceamount:
  5635. description: 已开票额
  5636. type: number
  5637. loanamount:
  5638. description: 贷款总额=已定价额+调整金额
  5639. type: number
  5640. margin:
  5641. description: 保证金
  5642. type: number
  5643. payamount:
  5644. description: 已收付额(收款或付款)
  5645. type: number
  5646. preinvoiceamount:
  5647. description: 预收(开)票额
  5648. type: number
  5649. prepayamount:
  5650. description: 预收付额
  5651. type: number
  5652. price:
  5653. description: 价格
  5654. type: number
  5655. pricedamount:
  5656. description: 已定价额
  5657. type: number
  5658. pricedavg:
  5659. description: 已点均价
  5660. type: number
  5661. pricedqty:
  5662. description: 已定价量
  5663. type: number
  5664. pricemove:
  5665. description: 升贴水
  5666. type: number
  5667. pricetype:
  5668. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  5669. type: integer
  5670. producttype:
  5671. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5672. type: integer
  5673. qty:
  5674. description: 合同量
  5675. type: number
  5676. reckonadjustamount:
  5677. description: 调整金额
  5678. type: number
  5679. reckonedamount:
  5680. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  5681. type: number
  5682. reckonotheramount:
  5683. description: 其它费用
  5684. type: number
  5685. reckonrealqty:
  5686. description: 已确定量
  5687. type: number
  5688. remark:
  5689. description: 备注
  5690. type: string
  5691. spotcontractid:
  5692. description: 合同ID
  5693. type: string
  5694. spotgoodsbrandid:
  5695. description: 现货品牌ID(DGFactoryItem表的ID)
  5696. type: integer
  5697. spotgoodsdesc:
  5698. description: 商品型号(商品规格)
  5699. type: string
  5700. startdate:
  5701. description: 点价开始日
  5702. type: string
  5703. totalamount:
  5704. description: 合计总额
  5705. type: number
  5706. unpayamount:
  5707. description: 应收付款额(应支付或应收款)
  5708. type: number
  5709. unpricedqty:
  5710. description: 未定价量
  5711. type: number
  5712. unsureqty:
  5713. description: 未确定量
  5714. type: number
  5715. userid:
  5716. description: 机构ID
  5717. type: integer
  5718. wrstandardcode:
  5719. description: 品类代码
  5720. type: string
  5721. wrstandardid:
  5722. description: 品类ID
  5723. type: integer
  5724. wrstandardname:
  5725. description: 品类名称
  5726. type: string
  5727. type: object
  5728. models.Ermcp3SpotGoodsPrice:
  5729. properties:
  5730. areauserid:
  5731. description: 所属机构id
  5732. type: integer
  5733. brandname:
  5734. description: 品牌名称
  5735. type: string
  5736. currencyid:
  5737. description: 报价货币ID
  5738. type: integer
  5739. deliverygoodscode:
  5740. description: 现货商品代码
  5741. type: string
  5742. deliverygoodsid:
  5743. description: 现货商品id
  5744. type: integer
  5745. deliverygoodsname:
  5746. description: 现货商品名称
  5747. type: string
  5748. enumdicname:
  5749. description: 现货商品单位名称
  5750. type: string
  5751. gbenumdicname:
  5752. description: 品类单位名称
  5753. type: string
  5754. gmunitid:
  5755. description: 品类单位id
  5756. type: integer
  5757. isvalid:
  5758. description: 是否有效 - 0:无效 1:有效
  5759. type: integer
  5760. operateid:
  5761. description: 最后操作人
  5762. type: integer
  5763. operatesrc:
  5764. description: 最后操作来源 - 1:管理端 2:终端
  5765. type: integer
  5766. operatetime:
  5767. description: 最后操作时间
  5768. type: string
  5769. operatorname:
  5770. description: 操作人名称
  5771. type: string
  5772. spotgoodsbrandid:
  5773. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  5774. type: integer
  5775. spotgoodsprice:
  5776. description: 现货价格
  5777. type: number
  5778. tradedate:
  5779. description: 交易日(yyyyMMdd)
  5780. type: string
  5781. unitid:
  5782. description: 现货商品单位id
  5783. type: integer
  5784. wrstandardcode:
  5785. description: 品类代码
  5786. type: string
  5787. wrstandardid:
  5788. description: 现货品类ID(通用则为0)
  5789. type: integer
  5790. wrstandardname:
  5791. description: 品类名称
  5792. type: string
  5793. type: object
  5794. models.Ermcp3SpotGoodsPriceLog:
  5795. properties:
  5796. areauserid:
  5797. description: 所属机构id
  5798. type: integer
  5799. brandname:
  5800. description: 品牌名称
  5801. type: string
  5802. currencyid:
  5803. description: 报价货币ID
  5804. type: integer
  5805. deliverygoodscode:
  5806. description: 现货商品代码
  5807. type: string
  5808. deliverygoodsid:
  5809. description: 现货商品id
  5810. type: integer
  5811. deliverygoodsname:
  5812. description: 现货商品名称
  5813. type: string
  5814. enumdicname:
  5815. description: 现货商品单位名称
  5816. type: string
  5817. gbenumdicname:
  5818. description: 品类单位名称
  5819. type: string
  5820. gmunitid:
  5821. description: 品类单位id
  5822. type: integer
  5823. logid:
  5824. description: 日志id
  5825. type: integer
  5826. operateid:
  5827. description: 最后操作人
  5828. type: integer
  5829. operatesrc:
  5830. description: 最后操作来源 - 1:管理端 2:终端
  5831. type: integer
  5832. operatetime:
  5833. description: 最后操作时间
  5834. type: string
  5835. operatorname:
  5836. description: 操作人名称
  5837. type: string
  5838. spotgoodsbrandid:
  5839. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  5840. type: integer
  5841. spotgoodsprice:
  5842. description: 现货价格
  5843. type: number
  5844. tradedate:
  5845. description: 交易日(yyyyMMdd)
  5846. type: string
  5847. unitid:
  5848. description: 现货商品单位id
  5849. type: integer
  5850. wrstandardcode:
  5851. description: 品类代码
  5852. type: string
  5853. wrstandardid:
  5854. description: 现货品类ID(通用则为0)
  5855. type: integer
  5856. wrstandardname:
  5857. description: 品类名称
  5858. type: string
  5859. type: object
  5860. models.Ermcp3Wrstandard:
  5861. properties:
  5862. areauserid:
  5863. description: 所属机构
  5864. type: integer
  5865. convertfactor:
  5866. description: 标仓系数
  5867. type: number
  5868. createtime:
  5869. description: 创建时间
  5870. type: string
  5871. creatorid:
  5872. description: 创建人
  5873. type: integer
  5874. deliverygoodsid:
  5875. description: 现货品种ID
  5876. type: integer
  5877. enumdicname:
  5878. description: 品类单位名称
  5879. type: string
  5880. isvalid:
  5881. description: 是否有效 0-无效(停用) 1-有效(正常)
  5882. type: integer
  5883. minivalue:
  5884. description: 最小变动值
  5885. type: integer
  5886. minivaluedp:
  5887. description: 最小变动值小数位
  5888. type: integer
  5889. realminivalue:
  5890. description: 实际最小变动值
  5891. type: integer
  5892. realminivaluedp:
  5893. description: 实际最小变动值小数位
  5894. type: integer
  5895. remark:
  5896. description: 备注
  5897. type: string
  5898. unitid:
  5899. description: 品类单位ID
  5900. type: integer
  5901. updatetime:
  5902. description: 更新时间
  5903. type: string
  5904. wrstandardcode:
  5905. description: 品类代码
  5906. type: string
  5907. wrstandardid:
  5908. description: 品类ID(SEQ_WRSTANDARD)
  5909. type: integer
  5910. wrstandardname:
  5911. description: 品类名称
  5912. type: string
  5913. type: object
  5914. models.ErmcpAreaStock:
  5915. properties:
  5916. brandname:
  5917. description: 品牌名称
  5918. type: string
  5919. curstock:
  5920. description: 期末库存量(今日量)
  5921. type: number
  5922. deliverygoodsid:
  5923. description: 现货品种ID
  5924. type: integer
  5925. enumdicname:
  5926. description: 单位名称
  5927. type: string
  5928. modelname:
  5929. description: 型号名称
  5930. type: string
  5931. oristock:
  5932. description: 期初库存量(昨日量)
  5933. type: number
  5934. spotgoodsbrandid:
  5935. description: 现货品牌ID
  5936. type: integer
  5937. spotgoodsmodelid:
  5938. description: 现货型号ID
  5939. type: integer
  5940. todaybuyinqty:
  5941. description: 今日采购入库量
  5942. type: number
  5943. todayproduceinqty:
  5944. description: 今日生产入库量
  5945. type: number
  5946. todayproduceoutqty:
  5947. description: 今日生产出库量
  5948. type: number
  5949. todayselloutqty:
  5950. description: 今日销售出库量
  5951. type: number
  5952. unitid:
  5953. description: 单位id
  5954. type: integer
  5955. updatetime:
  5956. description: 更新时间
  5957. type: string
  5958. userid:
  5959. description: 机构ID
  5960. type: integer
  5961. username:
  5962. description: 机构名称
  5963. type: string
  5964. warehousecode:
  5965. description: 仓库代码
  5966. type: string
  5967. warehouseinfoid:
  5968. description: 仓库ID
  5969. type: string
  5970. warehousename:
  5971. description: 仓库名称
  5972. type: string
  5973. warehousetype:
  5974. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  5975. type: integer
  5976. wrstandardcode:
  5977. description: 现货商品代码
  5978. type: string
  5979. wrstandardid:
  5980. description: 现货商品ID
  5981. type: string
  5982. wrstandardname:
  5983. description: 现货商品名称
  5984. type: string
  5985. type: object
  5986. models.ErmcpAreaStockApply:
  5987. properties:
  5988. applyid:
  5989. description: 申请人
  5990. type: integer
  5991. applyname:
  5992. description: 申请人名称
  5993. type: string
  5994. applyremark:
  5995. description: 申请备注
  5996. type: string
  5997. applysrc:
  5998. description: 申请来源 - 1:管理端 2:终端
  5999. type: integer
  6000. applystatus:
  6001. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  6002. type: integer
  6003. applytime:
  6004. description: 申请时间
  6005. type: string
  6006. auditid:
  6007. description: 审核人
  6008. type: integer
  6009. auditname:
  6010. description: 审核人名称
  6011. type: string
  6012. auditremark:
  6013. description: 审核备注
  6014. type: string
  6015. auditsrc:
  6016. description: 审核来源 - 1:管理端 2:终端
  6017. type: integer
  6018. audittime:
  6019. description: 审核时间
  6020. type: string
  6021. audittradedate:
  6022. description: 审核交易日(yyyyMMdd)
  6023. type: string
  6024. brandname:
  6025. description: 品牌名称
  6026. type: string
  6027. buyuserid:
  6028. description: 采购方userid
  6029. type: integer
  6030. buyusername:
  6031. description: 采购方名称
  6032. type: string
  6033. contractno:
  6034. description: 合同编号
  6035. type: string
  6036. contractqty:
  6037. description: 合同量
  6038. type: number
  6039. contracttype:
  6040. description: 现货合同类型 - 1:采购 -1:销售
  6041. type: integer
  6042. deliverygoodsid:
  6043. description: 现货品种ID
  6044. type: integer
  6045. enumdicname:
  6046. description: 现货商品单位名称
  6047. type: string
  6048. inoutapplyid:
  6049. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  6050. type: string
  6051. inouttype:
  6052. description: 出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  6053. type: integer
  6054. modelname:
  6055. description: 型号名称
  6056. type: string
  6057. pricetype:
  6058. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  6059. type: integer
  6060. qty:
  6061. description: 数量
  6062. type: number
  6063. selluserid:
  6064. description: 销售方userid
  6065. type: integer
  6066. sellusername:
  6067. description: 销售方名称
  6068. type: string
  6069. spotcontractid:
  6070. description: 关联现货合同ID
  6071. type: string
  6072. spotgoodsbrandid:
  6073. description: 现货品牌ID
  6074. type: integer
  6075. spotgoodsmodelid:
  6076. description: 现货型号ID
  6077. type: integer
  6078. unitid:
  6079. description: 单位id
  6080. type: integer
  6081. userid:
  6082. description: 机构ID
  6083. type: integer
  6084. warehousecode:
  6085. description: 仓库代码
  6086. type: string
  6087. warehouseinfoid:
  6088. description: 现货仓库ID
  6089. type: string
  6090. warehousename:
  6091. description: 仓库名称
  6092. type: string
  6093. warehousetype:
  6094. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  6095. type: integer
  6096. wrstandardcode:
  6097. description: 现货商品代码
  6098. type: string
  6099. wrstandardid:
  6100. description: 现货商品ID
  6101. type: string
  6102. wrstandardname:
  6103. description: 现货商品名称
  6104. type: string
  6105. type: object
  6106. models.ErmcpAreaStockReport:
  6107. properties:
  6108. brandname:
  6109. description: 品牌名称
  6110. type: string
  6111. curstock:
  6112. description: 期末库存量
  6113. type: number
  6114. deliverygoodsid:
  6115. description: 现货品种ID
  6116. type: integer
  6117. enumdicname:
  6118. description: 单位名称
  6119. type: string
  6120. modelname:
  6121. description: 型号名称
  6122. type: string
  6123. oristock:
  6124. description: 期初库存量
  6125. type: number
  6126. spotgoodsbrandid:
  6127. description: 现货品牌ID
  6128. type: integer
  6129. spotgoodsmodelid:
  6130. description: 现货型号ID
  6131. type: integer
  6132. todaybuyinqty:
  6133. description: 今日采购入库量
  6134. type: number
  6135. todayproduceinqty:
  6136. description: 今日生产入库量
  6137. type: number
  6138. todayproduceoutqty:
  6139. description: 今日生产出库量
  6140. type: number
  6141. todayselloutqty:
  6142. description: 今日销售出库量
  6143. type: number
  6144. unitid:
  6145. description: 单位id
  6146. type: integer
  6147. updatetime:
  6148. description: 更新时间
  6149. type: string
  6150. userid:
  6151. description: 机构ID
  6152. type: integer
  6153. username:
  6154. description: 机构名称
  6155. type: string
  6156. warehousecode:
  6157. description: 仓库代码
  6158. type: string
  6159. warehouseinfoid:
  6160. description: 仓库ID
  6161. type: string
  6162. warehousename:
  6163. description: 仓库名称
  6164. type: string
  6165. warehousetype:
  6166. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  6167. type: integer
  6168. wrstandardcode:
  6169. description: 现货商品代码
  6170. type: string
  6171. wrstandardid:
  6172. description: 现货商品ID
  6173. type: string
  6174. wrstandardname:
  6175. description: 现货商品名称
  6176. type: string
  6177. type: object
  6178. models.ErmcpBizGroupEx:
  6179. properties:
  6180. acclist:
  6181. description: 账号列表
  6182. items:
  6183. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  6184. type: array
  6185. bizgroupid:
  6186. description: 业务分组id
  6187. type: integer
  6188. biztype:
  6189. description: 业务类型 1-套保 2-套利
  6190. type: integer
  6191. wrlist:
  6192. description: 现货商品表
  6193. items:
  6194. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  6195. type: array
  6196. type: object
  6197. models.ErmcpBizGroupSpotGoods:
  6198. properties:
  6199. areauserid:
  6200. description: 所属机构id
  6201. type: integer
  6202. bizgroupid:
  6203. description: 分组id
  6204. type: integer
  6205. biztype:
  6206. description: 业务类型 1-套保 2-套利
  6207. type: integer
  6208. deliverygoodscode:
  6209. description: 现货商品代码
  6210. type: string
  6211. deliverygoodsid:
  6212. description: 现货商品id
  6213. type: integer
  6214. deliverygoodsname:
  6215. description: 现货商品名称
  6216. type: string
  6217. unitid:
  6218. description: 现货商品单位id
  6219. type: integer
  6220. type: object
  6221. models.ErmcpBizGroupTaAccount:
  6222. properties:
  6223. accountid:
  6224. description: 账号id
  6225. type: string
  6226. accountname:
  6227. description: 账号名称
  6228. type: string
  6229. areauserid:
  6230. description: 所属机构id
  6231. type: integer
  6232. bizgroupid:
  6233. description: 业务分组id
  6234. type: integer
  6235. ismain:
  6236. description: 是否主账号 1-是 0-否
  6237. type: integer
  6238. type: object
  6239. models.ErmcpDGFactoryItem:
  6240. properties:
  6241. areauserid:
  6242. description: 用户id
  6243. type: integer
  6244. deliverygoodsid:
  6245. description: 现货品种ID
  6246. type: integer
  6247. dgfactoryitemid:
  6248. description: 选择项ID(SEQ_DGFACTORYITEM)
  6249. type: integer
  6250. dgfactoryitemtypeid:
  6251. description: 要素项类型
  6252. type: integer
  6253. dgfactoryitemvalue:
  6254. description: 要素项值(类型为仓库时填写仓库名称)
  6255. type: string
  6256. isvalid:
  6257. description: 是否有效 - 0:无效 1:有效
  6258. type: integer
  6259. orderindex:
  6260. description: 顺序
  6261. type: integer
  6262. warehouseid:
  6263. description: 仓库ID(类型为仓库时填写)
  6264. type: integer
  6265. type: object
  6266. models.ErmcpDeliveryGoods:
  6267. properties:
  6268. agreeunit:
  6269. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  6270. type: integer
  6271. areauserid:
  6272. description: 所属机构
  6273. type: integer
  6274. auditflag:
  6275. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  6276. type: integer
  6277. categoryid:
  6278. description: 类别ID(SEQ_WRCATEGORY)
  6279. type: integer
  6280. deliverygoodscode:
  6281. description: 现货品种代码
  6282. type: string
  6283. deliverygoodsid:
  6284. description: 现货品种ID(SEQ_DELIVERYGOODS)
  6285. type: integer
  6286. deliverygoodsname:
  6287. description: 现货品种名称
  6288. type: string
  6289. deliverygoodstype:
  6290. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  6291. type: integer
  6292. dgstatus:
  6293. description: 品种状态 - 作废 - 0:未激活 1:正常
  6294. type: integer
  6295. enumdicname:
  6296. description: 现货品种单位名称
  6297. type: string
  6298. goodsunitid:
  6299. description: 现货品种单位ID
  6300. type: integer
  6301. isvalid:
  6302. description: 是否有效 - 0:无效 1:有效
  6303. type: integer
  6304. qtydecimalplace:
  6305. description: 成交量小数位
  6306. type: integer
  6307. remark:
  6308. description: 备注
  6309. type: string
  6310. standardqty:
  6311. description: 标准数量(库位数量) [标准品特有]
  6312. type: integer
  6313. standardqtyrange:
  6314. description: 标准数量偏差范围 [标准品特有]
  6315. type: integer
  6316. type: object
  6317. models.ErmcpDeliveryGoodsDetail:
  6318. properties:
  6319. data:
  6320. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  6321. description: 现货商品基本信息(交割品种)
  6322. gblist:
  6323. description: 品牌列表
  6324. items:
  6325. $ref: '#/definitions/models.Ermcp3Brand'
  6326. type: array
  6327. gmlist:
  6328. description: 品类列表(仓单标准)
  6329. items:
  6330. $ref: '#/definitions/models.ErmcpWrstandard'
  6331. type: array
  6332. goodslist:
  6333. description: 关联交易商品列表
  6334. items:
  6335. $ref: '#/definitions/models.ErmcpRelatedGoods'
  6336. type: array
  6337. wrslist:
  6338. description: 套保信息列表
  6339. items:
  6340. $ref: '#/definitions/models.WRSConverTDetail'
  6341. type: array
  6342. type: object
  6343. models.ErmcpFuturesCompany:
  6344. properties:
  6345. brokerid:
  6346. description: 经纪公司代码
  6347. type: string
  6348. channeladdress:
  6349. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  6350. type: string
  6351. channelid:
  6352. description: 对冲渠道ID
  6353. type: string
  6354. createtime:
  6355. description: 创建时间
  6356. type: string
  6357. creatorid:
  6358. description: 创建人
  6359. type: string
  6360. fcid:
  6361. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  6362. type: integer
  6363. fcname:
  6364. description: 期货公司名称
  6365. type: string
  6366. isvalid:
  6367. description: 是否有效 - 0:无效 1:有效
  6368. type: integer
  6369. mhpaddress:
  6370. description: MHP服务地址(IP:Port)
  6371. type: string
  6372. riskrulegroupid:
  6373. description: 风控规则组ID
  6374. type: string
  6375. tradefeetmpid:
  6376. description: 手续费模板ID[TradeConfigTmpType为2]
  6377. type: string
  6378. trademargintmpid:
  6379. description: 保证金模板ID [TradeConfigTmpType为1]
  6380. type: string
  6381. traderatetmpid:
  6382. description: 汇率模板ID[TradeConfigTmpType为3]
  6383. type: string
  6384. updatetime:
  6385. description: 更新时间
  6386. type: string
  6387. updatorid:
  6388. description: 更新人
  6389. type: string
  6390. type: object
  6391. models.ErmcpGGConvertCfg:
  6392. properties:
  6393. convertratio:
  6394. description: 折算系数
  6395. type: number
  6396. destgoodsgroupid:
  6397. description: 目标品种ID
  6398. type: integer
  6399. dstcode:
  6400. description: 目录品种代码
  6401. type: string
  6402. dstexchangecode:
  6403. description: 目标期货交易所
  6404. type: string
  6405. dstname:
  6406. description: 目标品种名称
  6407. type: string
  6408. dstunitid:
  6409. description: 目标品种单位ID
  6410. type: integer
  6411. dstunitidname:
  6412. description: 目标品种单位名称
  6413. type: string
  6414. modifytime:
  6415. description: 修改时间
  6416. type: string
  6417. srccode:
  6418. description: 源品种代码
  6419. type: string
  6420. srcexchangecode:
  6421. description: 源期货交易所
  6422. type: string
  6423. srcgoodsgroupid:
  6424. description: 源品种ID
  6425. type: integer
  6426. srcname:
  6427. description: 源品种名称
  6428. type: string
  6429. srcunitid:
  6430. description: 源品种单位ID
  6431. type: integer
  6432. srcunitidname:
  6433. description: 源品种单位名称
  6434. type: string
  6435. type: object
  6436. models.ErmcpGoodsBrand:
  6437. properties:
  6438. areauserid:
  6439. description: 所属机构
  6440. type: integer
  6441. brandid:
  6442. description: BrandID(SEQ_SPOTGOODSBRAND)
  6443. type: integer
  6444. brandname:
  6445. description: 品牌名称
  6446. type: string
  6447. createtime:
  6448. description: 创建时间
  6449. type: string
  6450. creatorid:
  6451. description: 创建人
  6452. type: integer
  6453. creatorsrc:
  6454. description: 创建人来源 - 1:管理端 2:终端
  6455. type: integer
  6456. deliverygoodsid:
  6457. description: 现货品种ID
  6458. type: integer
  6459. isvalid:
  6460. description: 是否有效 - 0:无效 1:有效
  6461. type: integer
  6462. updatetime:
  6463. description: 更新时间
  6464. type: string
  6465. updatorid:
  6466. description: 更新人
  6467. type: integer
  6468. updatorsrc:
  6469. description: 更新人来源 - 1:管理端 2:终端
  6470. type: integer
  6471. wrstandardid:
  6472. description: 现货商品ID
  6473. type: integer
  6474. type: object
  6475. models.ErmcpGoodsModel:
  6476. properties:
  6477. areauserid:
  6478. description: 所属机构
  6479. type: integer
  6480. convertfactor:
  6481. description: 标仓系数
  6482. type: number
  6483. createtime:
  6484. description: 创建时间
  6485. type: string
  6486. creatorid:
  6487. description: 创建人
  6488. type: integer
  6489. creatorsrc:
  6490. description: 创建人来源 - 1:管理端 2:终端
  6491. type: integer
  6492. deliverygoodsid:
  6493. description: 现货品种ID
  6494. type: integer
  6495. isvalid:
  6496. description: 是否有效 - 0:无效 1:有效
  6497. type: integer
  6498. modelid:
  6499. description: ModelID(SEQ_SPOTGOODSMODEL)
  6500. type: integer
  6501. modelname:
  6502. description: 型号名称
  6503. type: string
  6504. updatetime:
  6505. description: 更新时间
  6506. type: string
  6507. updatorid:
  6508. description: 更新人
  6509. type: integer
  6510. updatorsrc:
  6511. description: 更新人来源 - 1:管理端 2:终端
  6512. type: integer
  6513. wrstandardid:
  6514. description: 现货商品ID
  6515. type: integer
  6516. type: object
  6517. models.ErmcpHisExposure:
  6518. properties:
  6519. needhedgeexposoure:
  6520. description: 应套保敞口
  6521. type: number
  6522. reckondate:
  6523. description: 日照时期(yyyyMMdd)
  6524. type: string
  6525. totalexposure:
  6526. description: 总敞口
  6527. type: number
  6528. type: object
  6529. models.ErmcpLoginUser:
  6530. properties:
  6531. accountname:
  6532. description: 用户名称
  6533. type: string
  6534. clientroleid:
  6535. description: 角色id(usertype=2)
  6536. type: integer
  6537. createtime:
  6538. description: 创建时间
  6539. type: string
  6540. logincode:
  6541. description: 登录代码
  6542. type: string
  6543. loginid:
  6544. description: 登录id(LOGINID)
  6545. type: integer
  6546. loginstatus:
  6547. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  6548. type: integer
  6549. memberuserid:
  6550. description: 所属会员id
  6551. type: integer
  6552. mobile:
  6553. description: 手机号
  6554. type: string
  6555. modifytime:
  6556. description: 修改时间
  6557. type: string
  6558. password:
  6559. description: 密码(不可解密)
  6560. type: string
  6561. rolename:
  6562. description: 角色名称
  6563. type: string
  6564. rolestatus:
  6565. description: 角色状态 1-启用 2-停用
  6566. type: integer
  6567. roletype:
  6568. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  6569. type: string
  6570. userid:
  6571. description: 用户id
  6572. type: integer
  6573. usertype:
  6574. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  6575. type: integer
  6576. type: object
  6577. models.ErmcpLoginUserEx:
  6578. properties:
  6579. roleid:
  6580. description: 角色id
  6581. type: integer
  6582. rolename:
  6583. description: 角色名称
  6584. type: string
  6585. userlist:
  6586. description: 用户列表
  6587. items:
  6588. $ref: '#/definitions/models.ErmcpLoginUser'
  6589. type: array
  6590. usertype:
  6591. description: 用户类型 2-机构 7-企业成员(云平台)
  6592. type: integer
  6593. type: object
  6594. models.ErmcpMiddleGoodsModel:
  6595. properties:
  6596. areauserid:
  6597. description: 机构用户ID
  6598. type: integer
  6599. createtime:
  6600. description: 修改时间
  6601. type: string
  6602. enumdicname:
  6603. description: 单位名称
  6604. type: string
  6605. evaluateratio:
  6606. description: 估价系数
  6607. type: number
  6608. goodsgroupid:
  6609. description: 关联期货品种ID
  6610. type: integer
  6611. isvalid:
  6612. description: 状态 0-无效(停用) 1-有效(正常)
  6613. type: integer
  6614. middlegoodscode:
  6615. description: 套保品种代码
  6616. type: string
  6617. middlegoodsid:
  6618. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  6619. type: integer
  6620. middlegoodsname:
  6621. description: 套保品种名称
  6622. type: string
  6623. modifytime:
  6624. description: 修改时间
  6625. type: string
  6626. needhedgeratio:
  6627. description: 套保比率
  6628. type: number
  6629. qtydecimalplace:
  6630. description: 数量小数位
  6631. type: integer
  6632. relatedgoodsid:
  6633. description: 关联交易商品ID
  6634. type: integer
  6635. relatedgoodstype:
  6636. description: 关联商品类型 - 1:期货合约 2:现货品种
  6637. type: integer
  6638. remark:
  6639. description: 备注
  6640. type: string
  6641. type: object
  6642. models.ErmcpRelatedGoods:
  6643. properties:
  6644. deliverygoodsid:
  6645. description: 品种ID
  6646. type: integer
  6647. goodscode:
  6648. description: 商品代码
  6649. type: string
  6650. goodsid:
  6651. description: 商品id
  6652. type: integer
  6653. goodsname:
  6654. description: 商品名称
  6655. type: string
  6656. type: object
  6657. models.ErmcpReportAreaSpotPL:
  6658. properties:
  6659. actualpl:
  6660. description: 实际损益
  6661. type: number
  6662. areauserid:
  6663. description: 所属机构
  6664. type: integer
  6665. brandname:
  6666. description: 品牌名称
  6667. type: string
  6668. curamount:
  6669. description: 期末额
  6670. type: number
  6671. curaverageprice:
  6672. description: 期末均价
  6673. type: number
  6674. curbuyamount:
  6675. description: 期末采购总额(采购额)
  6676. type: number
  6677. curbuyqty:
  6678. description: 期末采购总量
  6679. type: number
  6680. curmarketvalue:
  6681. description: 参考市值
  6682. type: number
  6683. curqty:
  6684. description: 期末量
  6685. type: number
  6686. cursellamount:
  6687. description: 期末销售总额(销售额)
  6688. type: number
  6689. cursellqty:
  6690. description: 期末销售总量
  6691. type: number
  6692. curspotprice:
  6693. description: 参考市价
  6694. type: number
  6695. enumdicname:
  6696. description: 现货商品单位名称
  6697. type: string
  6698. floatpl:
  6699. description: 浮动损益
  6700. type: number
  6701. gbenumdicname:
  6702. description: 品类单位名称
  6703. type: string
  6704. gbunitid:
  6705. description: 品类单位id
  6706. type: integer
  6707. modelname:
  6708. description: 品类名称
  6709. type: string
  6710. oriamount:
  6711. description: 期初额
  6712. type: number
  6713. oriaverageprice:
  6714. description: 期初均价
  6715. type: number
  6716. oribuyamount:
  6717. description: 期初采购总额
  6718. type: number
  6719. oribuyqty:
  6720. description: 期初采购总量
  6721. type: number
  6722. oriqty:
  6723. description: 期初量
  6724. type: number
  6725. orisellamount:
  6726. description: 期初销售总额
  6727. type: number
  6728. orisellqty:
  6729. description: 期初销售总量
  6730. type: number
  6731. spotgoodsbrandid:
  6732. description: 现货品牌ID
  6733. type: integer
  6734. spotgoodsmodelid:
  6735. description: 现货品类ID
  6736. type: integer
  6737. todaybuyamount:
  6738. description: 今日采购额
  6739. type: number
  6740. todaybuyaverageprice:
  6741. description: 今日采购均价(采购均价)
  6742. type: number
  6743. todaybuyqty:
  6744. description: 今日采购量(采购增量)
  6745. type: number
  6746. todaysellamount:
  6747. description: 今日销售额
  6748. type: number
  6749. todaysellaverageprice:
  6750. description: 今日销售均价(销售均价)
  6751. type: number
  6752. todaysellqty:
  6753. description: 今日销售量(销售增量)
  6754. type: number
  6755. unitid:
  6756. description: 现货商品单位id
  6757. type: integer
  6758. updatetime:
  6759. description: 更新时间
  6760. type: string
  6761. wrstandardcode:
  6762. description: 现货商品代码
  6763. type: string
  6764. wrstandardid:
  6765. description: 现货商品ID
  6766. type: integer
  6767. wrstandardname:
  6768. description: 现货商品名称
  6769. type: string
  6770. type: object
  6771. models.ErmcpReportDayFR:
  6772. properties:
  6773. areauserid:
  6774. description: 所属机构
  6775. type: integer
  6776. collectinvoiceamount:
  6777. description: 今日开票金额
  6778. type: number
  6779. collectinvoicecount:
  6780. description: 今日开票笔数
  6781. type: integer
  6782. collectmoneyamount:
  6783. description: 今日收款金额
  6784. type: number
  6785. collectmoneycount:
  6786. description: 今日收款笔数
  6787. type: integer
  6788. payinvoiceamount:
  6789. description: 今日收票金额
  6790. type: number
  6791. payinvoicecount:
  6792. description: 今日收票笔数
  6793. type: integer
  6794. paymoneyamount:
  6795. description: 今日付款金额
  6796. type: number
  6797. paymoneycount:
  6798. description: 今日付款笔数
  6799. type: integer
  6800. reckondate:
  6801. description: 日照时期(yyyyMMdd)
  6802. type: string
  6803. updatetime:
  6804. description: 更新时间
  6805. type: string
  6806. type: object
  6807. models.ErmcpRole:
  6808. properties:
  6809. areauserid:
  6810. description: 所属机构
  6811. type: integer
  6812. autoid:
  6813. description: 角色ID(自增ID)
  6814. type: integer
  6815. modifierid:
  6816. description: 修改人(创建人)
  6817. type: integer
  6818. modifiername:
  6819. description: 修改人名称
  6820. type: string
  6821. modifytime:
  6822. description: 修改时间(创建时间)
  6823. type: string
  6824. rolename:
  6825. description: 角色名称
  6826. type: string
  6827. rolestatus:
  6828. description: 角色状态 - 1:启用 2:停用
  6829. type: integer
  6830. roletype:
  6831. description: 角色类型 - 1- 管理端 2- 交易端
  6832. type: integer
  6833. type: object
  6834. models.ErmcpRoleMenu:
  6835. properties:
  6836. iconame:
  6837. description: 菜单图标
  6838. type: string
  6839. menutype:
  6840. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  6841. type: integer
  6842. parentcode:
  6843. description: 上级资源代码
  6844. type: string
  6845. remark:
  6846. description: 菜单备注
  6847. type: string
  6848. resourcecode:
  6849. description: 菜单代码
  6850. type: string
  6851. resourcelevel:
  6852. description: 级别
  6853. type: integer
  6854. resourcename:
  6855. description: 菜单名称
  6856. type: string
  6857. roleid:
  6858. description: 角色id
  6859. type: integer
  6860. sort:
  6861. description: 排序
  6862. type: integer
  6863. url:
  6864. description: URL
  6865. type: string
  6866. userid:
  6867. description: 用户id
  6868. type: integer
  6869. type: object
  6870. models.ErmcpRoleMenuEx:
  6871. properties:
  6872. menu:
  6873. $ref: '#/definitions/models.ErmcpRoleMenu'
  6874. description: 父级菜单
  6875. subMenu:
  6876. description: 子级菜单
  6877. items:
  6878. $ref: '#/definitions/models.ErmcpRoleMenu'
  6879. type: array
  6880. type: object
  6881. models.ErmcpSpotGoodsPrice:
  6882. properties:
  6883. areauserid:
  6884. description: 所属机构id
  6885. type: integer
  6886. brandname:
  6887. description: 品牌名称
  6888. type: string
  6889. currencyid:
  6890. description: 报价货币ID
  6891. type: integer
  6892. enumdicname:
  6893. description: 现货商品单位名称
  6894. type: string
  6895. gbenumdicname:
  6896. description: 品类单位名称
  6897. type: string
  6898. gmunitid:
  6899. description: 品类单位id
  6900. type: integer
  6901. isvalid:
  6902. description: 是否有效 - 0:无效 1:有效
  6903. type: integer
  6904. modelname:
  6905. description: 品类名称
  6906. type: string
  6907. operateid:
  6908. description: 最后操作人
  6909. type: integer
  6910. operatesrc:
  6911. description: 最后操作来源 - 1:管理端 2:终端
  6912. type: integer
  6913. operatetime:
  6914. description: 最后操作时间
  6915. type: string
  6916. operatorname:
  6917. description: 操作人名称
  6918. type: string
  6919. spotgoodsbrandid:
  6920. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  6921. type: integer
  6922. spotgoodsmodelid:
  6923. description: 现货品类ID(通用则为0)
  6924. type: integer
  6925. spotgoodsprice:
  6926. description: 现货价格
  6927. type: number
  6928. tradedate:
  6929. description: 交易日(yyyyMMdd)
  6930. type: string
  6931. unitid:
  6932. description: 现货商品单位id
  6933. type: integer
  6934. wrstandardcode:
  6935. description: 现货商品代码
  6936. type: string
  6937. wrstandardid:
  6938. description: 现货商品ID
  6939. type: integer
  6940. wrstandardname:
  6941. description: 现货商品名称
  6942. type: string
  6943. type: object
  6944. models.ErmcpSpotGoodsPriceLog:
  6945. properties:
  6946. areauserid:
  6947. description: 所属机构id
  6948. type: integer
  6949. brandname:
  6950. description: 品牌名称
  6951. type: string
  6952. currencyid:
  6953. description: 报价货币ID
  6954. type: integer
  6955. enumdicname:
  6956. description: 现货商品单位名称
  6957. type: string
  6958. gbenumdicname:
  6959. description: 品类单位名称
  6960. type: string
  6961. gmunitid:
  6962. description: 品类单位id
  6963. type: integer
  6964. logid:
  6965. description: 日志id
  6966. type: integer
  6967. modelname:
  6968. description: 品类名称
  6969. type: string
  6970. operateid:
  6971. description: 最后操作人
  6972. type: integer
  6973. operatesrc:
  6974. description: 最后操作来源 - 1:管理端 2:终端
  6975. type: integer
  6976. operatetime:
  6977. description: 最后操作时间
  6978. type: string
  6979. operatorname:
  6980. description: 操作人名称
  6981. type: string
  6982. spotgoodsbrandid:
  6983. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  6984. type: integer
  6985. spotgoodsmodelid:
  6986. description: 现货品类ID(通用则为0)
  6987. type: integer
  6988. spotgoodsprice:
  6989. description: 现货价格
  6990. type: number
  6991. tradedate:
  6992. description: 交易日(yyyyMMdd)
  6993. type: string
  6994. unitid:
  6995. description: 现货商品单位id
  6996. type: integer
  6997. wrstandardcode:
  6998. description: 现货商品代码
  6999. type: string
  7000. wrstandardid:
  7001. description: 现货商品ID
  7002. type: integer
  7003. wrstandardname:
  7004. description: 现货商品名称
  7005. type: string
  7006. type: object
  7007. models.ErmcpTaAccount:
  7008. properties:
  7009. accountid:
  7010. description: 账户id
  7011. type: integer
  7012. accountname:
  7013. description: 账户名称
  7014. type: string
  7015. currencyid:
  7016. description: 币种id
  7017. type: integer
  7018. ismain:
  7019. description: 是否主账户 0-否 1-是
  7020. type: integer
  7021. parentaccountid:
  7022. description: 父账户id
  7023. type: integer
  7024. relateduserid:
  7025. description: 关联userid
  7026. type: integer
  7027. tradestatus:
  7028. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7029. type: integer
  7030. type: object
  7031. models.ErmcpTaAccountEx:
  7032. properties:
  7033. mainAcc:
  7034. $ref: '#/definitions/models.ErmcpTaAccount'
  7035. description: 主账号
  7036. subacclist:
  7037. description: 子账号列表
  7038. items:
  7039. $ref: '#/definitions/models.ErmcpTaAccount'
  7040. type: array
  7041. type: object
  7042. models.ErmcpTaAccountInfo:
  7043. properties:
  7044. accountid:
  7045. description: 资金账户ID
  7046. type: integer
  7047. accountname:
  7048. description: 账户名称
  7049. type: string
  7050. balance:
  7051. description: 期初余额
  7052. type: number
  7053. capitalbalance:
  7054. description: 本金余额[外部子账户实际出入金余额]
  7055. type: number
  7056. closepl:
  7057. description: 今日平仓盈亏
  7058. type: number
  7059. creditdecrease:
  7060. description: 今日授信减少
  7061. type: number
  7062. creditincrease:
  7063. description: 今日授信增加
  7064. type: number
  7065. curdebt:
  7066. description: 期末欠款
  7067. type: number
  7068. currencyid:
  7069. description: 货币ID
  7070. type: integer
  7071. currentbalance:
  7072. description: 期末余额
  7073. type: number
  7074. freezecharge:
  7075. description: 手续费冻结
  7076. type: number
  7077. freezemargin:
  7078. description: 冻结保证金
  7079. type: number
  7080. fromaccountid:
  7081. description: 所属上级账户
  7082. type: integer
  7083. inamount:
  7084. description: 今日入金金额(包括三方入金)
  7085. type: number
  7086. ismain:
  7087. description: 是否母账号 0:不是母账户 1:是母账户
  7088. type: integer
  7089. mortgagecredit:
  7090. description: 授信金额
  7091. type: number
  7092. oridebt:
  7093. description: 期初欠款
  7094. type: number
  7095. orifreezecharge:
  7096. description: 期初手续费冻结
  7097. type: number
  7098. orifreezemargin:
  7099. description: 期初冻结保证金
  7100. type: number
  7101. orimortgagecredit:
  7102. description: 期初授信金额
  7103. type: number
  7104. oriothercredit:
  7105. description: 期初其它授信金额
  7106. type: number
  7107. oriotherfreezemargin:
  7108. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  7109. type: number
  7110. orioutamountfreeze:
  7111. description: 期初出金冻结
  7112. type: number
  7113. oriusedmargin:
  7114. description: 期初占用保证金
  7115. type: number
  7116. othercredit:
  7117. description: 其它授信金额
  7118. type: number
  7119. othercreditdecrease:
  7120. description: 今日其它授信减少
  7121. type: number
  7122. othercreditincrease:
  7123. description: 今日其它授信增加
  7124. type: number
  7125. otherfreezemargin:
  7126. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  7127. type: number
  7128. outamount:
  7129. description: 今日出金金额(包括三方出金)
  7130. type: number
  7131. outamountfreeze:
  7132. description: 出金冻结
  7133. type: number
  7134. outthreshold:
  7135. description: 出金阈值
  7136. type: number
  7137. parentaccountid:
  7138. description: 所属根账号
  7139. type: integer
  7140. paycharge:
  7141. description: 今日手续费支出
  7142. type: number
  7143. relateduserid:
  7144. description: 关联用户
  7145. type: integer
  7146. signstatus:
  7147. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  7148. type: integer
  7149. sublevelpath:
  7150. description: 账号层级路径(逗号分隔,首尾加逗号)
  7151. type: string
  7152. taaccounttype:
  7153. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  7154. type: integer
  7155. thirdinamount:
  7156. description: 今日三方入金
  7157. type: number
  7158. thirdoutamount:
  7159. description: 今日三方出金
  7160. type: number
  7161. tradestatus:
  7162. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7163. type: integer
  7164. transferamount:
  7165. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  7166. type: number
  7167. usedmargin:
  7168. description: 占用保证金
  7169. type: number
  7170. userid:
  7171. description: 用户ID
  7172. type: integer
  7173. type: object
  7174. models.ErmcpTradeConfigTMP:
  7175. properties:
  7176. areauserid:
  7177. description: 所属机构
  7178. type: integer
  7179. basiccurrencyid:
  7180. description: 基本币种ID[汇率] - 目标币种
  7181. type: integer
  7182. mainaccountid:
  7183. description: 主账户ID
  7184. type: integer
  7185. modifierid:
  7186. description: 修改人
  7187. type: integer
  7188. remark:
  7189. description: 备注
  7190. type: string
  7191. tradeconfigtmpid:
  7192. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  7193. type: integer
  7194. tradeconfigtmpname:
  7195. description: 交易配置模板名称
  7196. type: string
  7197. tradeconfigtmptype:
  7198. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  7199. type: integer
  7200. updatetime:
  7201. description: 更新时间
  7202. type: string
  7203. type: object
  7204. models.ErmcpWrstandard:
  7205. properties:
  7206. areauserid:
  7207. description: 所属机构
  7208. type: integer
  7209. createtime:
  7210. description: 创建时间
  7211. type: string
  7212. creatorid:
  7213. description: 创建人
  7214. type: integer
  7215. deliverygoodsid:
  7216. description: 品种ID
  7217. type: integer
  7218. enumdicname:
  7219. description: 单位名称
  7220. type: string
  7221. isvalid:
  7222. description: 是否有效 0-无效(停用) 1-有效(正常)
  7223. type: integer
  7224. minivalue:
  7225. description: 最小变动值
  7226. type: integer
  7227. minivaluedp:
  7228. description: 最小变动值小数位
  7229. type: integer
  7230. realminivalue:
  7231. description: 实际最小变动值
  7232. type: integer
  7233. realminivaluedp:
  7234. description: 实际最小变动值小数位
  7235. type: integer
  7236. remark:
  7237. description: 备注
  7238. type: string
  7239. unitid:
  7240. description: 单位ID
  7241. type: integer
  7242. updatetime:
  7243. description: 更新时间
  7244. type: string
  7245. wrstandardcode:
  7246. description: 现货商品代码
  7247. type: string
  7248. wrstandardid:
  7249. description: 现货商品ID(SEQ_WRSTANDARD)
  7250. type: integer
  7251. wrstandardname:
  7252. description: 现货商品名称
  7253. type: string
  7254. type: object
  7255. models.Externalexchange:
  7256. properties:
  7257. autoid:
  7258. description: AutoID - SEQ_EXTERNALEXCHANGE
  7259. type: integer
  7260. exchangefullname:
  7261. description: 外部交易所全称
  7262. type: string
  7263. exexchangecode:
  7264. description: 外部交易所代码
  7265. type: string
  7266. exexchangename:
  7267. description: 外部交易所名称(简称)
  7268. type: string
  7269. ismarketprice:
  7270. description: 是否支持市价 - 0:不支持 1:支持
  7271. type: integer
  7272. quotegear:
  7273. description: 行情档位(1-10)
  7274. type: integer
  7275. showbrokerflag:
  7276. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  7277. type: integer
  7278. updatetime:
  7279. description: 更新时间
  7280. type: string
  7281. required:
  7282. - autoid
  7283. type: object
  7284. models.Funcmenulist:
  7285. properties:
  7286. iconame:
  7287. description: 菜单图标
  7288. type: string
  7289. menutype:
  7290. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  7291. type: integer
  7292. parentcode:
  7293. description: 上级资源代码
  7294. type: string
  7295. remark:
  7296. description: 备注
  7297. type: string
  7298. resourcecode:
  7299. description: 资源代码
  7300. type: string
  7301. resourcelevel:
  7302. description: 级别 1-一级 2-二级 3-三级 4-四级
  7303. type: integer
  7304. resourcename:
  7305. description: 资源名
  7306. type: string
  7307. sort:
  7308. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  7309. type: integer
  7310. url:
  7311. description: URL
  7312. type: string
  7313. required:
  7314. - resourcecode
  7315. type: object
  7316. models.Goods:
  7317. properties:
  7318. agreeunit:
  7319. description: 合约单位
  7320. type: number
  7321. auditaccountid:
  7322. description: 审核操作员账号
  7323. type: integer
  7324. audittime:
  7325. description: 审核时间
  7326. type: string
  7327. cancelaccountid:
  7328. description: 注销操作员账号
  7329. type: integer
  7330. canceltime:
  7331. description: 注销时间
  7332. type: string
  7333. closepricemode:
  7334. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7335. type: integer
  7336. closepriceparam:
  7337. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  7338. type: number
  7339. createtime:
  7340. description: 创建时间
  7341. type: string
  7342. creatorid:
  7343. description: 创建人
  7344. type: integer
  7345. currencyid:
  7346. description: 报价货币ID
  7347. type: integer
  7348. cutmode:
  7349. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  7350. type: integer
  7351. decimalplace:
  7352. description: 报价小数位
  7353. type: integer
  7354. delistingdate:
  7355. description: 商品退市时间(状态:退市) -- 已作废
  7356. type: string
  7357. delistingmode:
  7358. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  7359. type: integer
  7360. deliveryflag:
  7361. description: 交割标志 - 0:不可交割 1:可交割
  7362. type: integer
  7363. forceclosemode:
  7364. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  7365. type: integer
  7366. forceclosevalue:
  7367. description: 定期强平参数 [收益权]
  7368. type: integer
  7369. goodscode:
  7370. description: 商品代码(内部)
  7371. type: string
  7372. goodscurrencyid:
  7373. description: 合约货币ID
  7374. type: integer
  7375. goodsgroupid:
  7376. description: 所属商品组ID
  7377. type: integer
  7378. goodsid:
  7379. description: 商品ID(自增ID SEQ_GOODS)
  7380. type: integer
  7381. goodsname:
  7382. description: 商品名称
  7383. type: string
  7384. goodsquotetype:
  7385. description: '合约报价类型: 1-直接报价 2-间接报价'
  7386. type: integer
  7387. goodsstatus:
  7388. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  7389. type: integer
  7390. goodstradetype:
  7391. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  7392. type: integer
  7393. goodunitid:
  7394. description: 报价单位ID
  7395. type: integer
  7396. hasquoter:
  7397. description: 是否有报价商 - 0:无报价商 1:有报价商
  7398. type: integer
  7399. hqprotecttime:
  7400. description: 行情保护时间(秒)
  7401. type: integer
  7402. innerdealmode:
  7403. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7404. type: integer
  7405. isbuylimited:
  7406. description: 是否限制建仓量 - 0:不限制 1:限制
  7407. type: integer
  7408. lasttradedate:
  7409. description: 最后交易日期(状态:待退市)
  7410. type: string
  7411. listingdate:
  7412. description: 交易开始日期
  7413. type: string
  7414. marketid:
  7415. description: 所属市场ID
  7416. type: integer
  7417. modifierid:
  7418. description: 修改人
  7419. type: integer
  7420. modifystatus:
  7421. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  7422. type: integer
  7423. modifytime:
  7424. description: 修改时间
  7425. type: string
  7426. outerdealmode:
  7427. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7428. type: integer
  7429. outgoodscode:
  7430. description: 商品代码(外部)
  7431. type: string
  7432. qtydecimalplace:
  7433. description: 成交量小数位
  7434. type: integer
  7435. quotegear:
  7436. description: 行情档位(1-10)
  7437. type: integer
  7438. quoteminunit:
  7439. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7440. type: integer
  7441. quoteshowtype:
  7442. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  7443. type: integer
  7444. quoteshowtypeinterval:
  7445. description: 行情报价间隔时间(秒)(成交价时为0)
  7446. type: integer
  7447. remark:
  7448. description: 备注
  7449. type: string
  7450. required:
  7451. - goodscode
  7452. - goodsid
  7453. - goodsname
  7454. - marketid
  7455. type: object
  7456. models.GoodsBrand:
  7457. properties:
  7458. brandid:
  7459. description: 品牌ID
  7460. type: integer
  7461. brandname:
  7462. description: 品牌名称
  7463. type: string
  7464. isvalid:
  7465. description: 是否有效 - 0:无效 1:有效
  7466. type: integer
  7467. type: object
  7468. models.GoodsIDAndName:
  7469. properties:
  7470. goodscode:
  7471. description: 商品代码(内部)
  7472. type: string
  7473. goodsid:
  7474. description: 商品ID(自增ID SEQ_GOODS)
  7475. type: integer
  7476. goodsname:
  7477. description: 商品名称
  7478. type: string
  7479. marketid:
  7480. description: 所属市场ID
  7481. type: integer
  7482. required:
  7483. - goodscode
  7484. - goodsid
  7485. - goodsname
  7486. - marketid
  7487. type: object
  7488. models.GoodsTypeModel:
  7489. properties:
  7490. convertfactor:
  7491. description: 标仓系数
  7492. type: number
  7493. modelid:
  7494. description: 型号ID
  7495. type: integer
  7496. modelname:
  7497. description: 型号名称
  7498. type: string
  7499. updatetime:
  7500. description: 更新时间
  7501. type: string
  7502. type: object
  7503. models.Goodsgroup:
  7504. properties:
  7505. agreeunit:
  7506. description: 合约单位
  7507. type: number
  7508. canshort:
  7509. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  7510. type: integer
  7511. closepricemode:
  7512. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7513. type: integer
  7514. closepriceparam:
  7515. description: 强平最新价浮动比例 - 方式为2时使用
  7516. type: number
  7517. createtime:
  7518. description: 创建时间
  7519. type: string
  7520. creatorid:
  7521. description: 创建人
  7522. type: integer
  7523. currencyid:
  7524. description: 报价货币ID
  7525. type: integer
  7526. decimalplace:
  7527. description: 报价小数位
  7528. type: integer
  7529. exercisetype:
  7530. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  7531. type: integer
  7532. exexchangeid:
  7533. description: 外部交易所ID[通道交易]
  7534. type: integer
  7535. goodsgroupid:
  7536. description: 商品组ID(自增ID)
  7537. type: integer
  7538. goodsgroupname:
  7539. description: 商品组名称
  7540. type: string
  7541. goodsgroupstatus:
  7542. description: 商品组状态 - 1:正常 2:注销
  7543. type: integer
  7544. goodunitid:
  7545. description: 报价单位ID
  7546. type: integer
  7547. innerdealmode:
  7548. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7549. type: integer
  7550. isbuylimited:
  7551. description: 是否限制建仓量 - 0:不限制 1:限制
  7552. type: integer
  7553. marketid:
  7554. description: 所属市场ID
  7555. type: integer
  7556. modifierid:
  7557. description: 修改人
  7558. type: integer
  7559. modifytime:
  7560. description: 修改时间
  7561. type: string
  7562. outerdealmode:
  7563. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7564. type: integer
  7565. outergroupcode:
  7566. description: 外部商品组代码[通道交易]
  7567. type: string
  7568. premiumdecimalplace:
  7569. description: 权利金小数位[场外期权]
  7570. type: integer
  7571. premiumspreadalgorithm:
  7572. description: 权利金点差方式[场外期权] 1:比率 2:固定
  7573. type: integer
  7574. premiumspreadvalue:
  7575. description: 权利金点差值[场外期权]
  7576. type: number
  7577. qtydecimalplace:
  7578. description: 成交量小数位
  7579. type: integer
  7580. quotegear:
  7581. description: 行情档位(1-10)
  7582. type: integer
  7583. quoteminunit:
  7584. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7585. type: integer
  7586. quoterid:
  7587. description: 报价商ID[场外期权]
  7588. type: integer
  7589. quotesourcegroupid:
  7590. description: 所属行情源分组ID[参考行情市场用\通道交易]
  7591. type: integer
  7592. syncgoodsqty:
  7593. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  7594. type: integer
  7595. required:
  7596. - goodsgroupid
  7597. - goodsgroupname
  7598. - goodsgroupstatus
  7599. - marketid
  7600. type: object
  7601. models.Goodssortbypreposition:
  7602. properties:
  7603. goodscode:
  7604. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  7605. type: string
  7606. goodsgroupcode:
  7607. description: 品种代码
  7608. type: string
  7609. prepositionqty:
  7610. description: 昨持仓量
  7611. type: integer
  7612. sortindex:
  7613. description: 排序
  7614. type: integer
  7615. tradedate:
  7616. description: 交易日
  7617. type: string
  7618. updatetime:
  7619. description: 更新时间
  7620. type: string
  7621. required:
  7622. - goodscode
  7623. - tradedate
  7624. type: object
  7625. models.Hedgeinnerholderdetail:
  7626. properties:
  7627. accountid:
  7628. description: 账号ID
  7629. type: integer
  7630. buyorsell:
  7631. description: 方向 - 0:买 1:卖
  7632. type: integer
  7633. freezeqty:
  7634. description: 冻结数量 - 按单平使用
  7635. type: integer
  7636. goodsid:
  7637. description: 商品ID
  7638. type: integer
  7639. holderamount:
  7640. description: 持仓金额 [商品币种]
  7641. type: number
  7642. holderdays:
  7643. description: 剩余冻结天数
  7644. type: integer
  7645. holderprice:
  7646. description: 持仓价格
  7647. type: number
  7648. holderqty:
  7649. description: 持仓数量
  7650. type: integer
  7651. marketid:
  7652. description: 市场ID
  7653. type: integer
  7654. openprice:
  7655. description: 建仓价格
  7656. type: number
  7657. openqty:
  7658. description: 建仓数量
  7659. type: integer
  7660. parentaccountid:
  7661. description: 所属母账户
  7662. type: integer
  7663. releaseamount:
  7664. description: 释放持仓金额[商品币种]
  7665. type: number
  7666. tradeamount:
  7667. description: 成交金额[账户]
  7668. type: number
  7669. tradedate:
  7670. description: 交易日(yyyyMMdd)
  7671. type: string
  7672. tradeid:
  7673. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7674. type: string
  7675. tradetime:
  7676. description: 交易时间
  7677. type: string
  7678. required:
  7679. - buyorsell
  7680. - tradeid
  7681. type: object
  7682. models.Hedgemarketopenlog:
  7683. properties:
  7684. accountid:
  7685. description: 资金账号[外部母账户]
  7686. type: integer
  7687. fcname:
  7688. description: 期货公司名称
  7689. type: string
  7690. handlestatus:
  7691. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  7692. type: integer
  7693. marketid:
  7694. description: 市场ID
  7695. type: integer
  7696. status:
  7697. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  7698. type: integer
  7699. tradedate:
  7700. description: 交易日(yyyyMMdd)
  7701. type: string
  7702. updatetime:
  7703. description: 更新时间
  7704. type: string
  7705. required:
  7706. - accountid
  7707. type: object
  7708. models.HsbyBuyMyPayOrder:
  7709. properties:
  7710. agreeunit:
  7711. description: 合约单位
  7712. type: number
  7713. buyaccountid:
  7714. description: 买方账号ID[报价币种]
  7715. type: integer
  7716. buyorderid:
  7717. description: 买方委托单号
  7718. type: string
  7719. createtime:
  7720. description: 创建时间
  7721. type: string
  7722. currencysign:
  7723. description: 货币符号
  7724. type: string
  7725. decimalplace:
  7726. description: 报价小数位
  7727. type: integer
  7728. goodscode:
  7729. description: 商品代码(内部)
  7730. type: string
  7731. goodsid:
  7732. description: 商品ID
  7733. type: integer
  7734. goodsname:
  7735. description: 商品名称
  7736. type: string
  7737. marketid:
  7738. description: 市场ID
  7739. type: integer
  7740. offamount:
  7741. description: 优惠金额
  7742. type: number
  7743. originalamount:
  7744. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  7745. type: number
  7746. payamount:
  7747. description: 支付金额 = TradeAmount + TradeCharge
  7748. type: number
  7749. payflag:
  7750. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  7751. type: integer
  7752. paylimitedtime:
  7753. description: 支付期限
  7754. type: string
  7755. paytime:
  7756. description: 付款时间
  7757. type: string
  7758. picurls1:
  7759. description: 预售商品介绍图片[多张用逗号分隔]
  7760. type: string
  7761. picurls2:
  7762. description: 挂牌商品介绍图片[多张用逗号分隔]
  7763. type: string
  7764. sellaccountid:
  7765. description: 卖方账号ID[报价币种]
  7766. type: integer
  7767. sellorderid:
  7768. description: 卖方委托单号
  7769. type: string
  7770. tradeamount:
  7771. description: 成交金额
  7772. type: number
  7773. tradecharge:
  7774. description: 成交手续费(买方)
  7775. type: number
  7776. tradedate:
  7777. description: 交易日(yyyyMMdd)
  7778. type: string
  7779. tradeid:
  7780. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7781. type: string
  7782. trademode:
  7783. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7784. 21:竞拍-大宗式 22:受托竞价
  7785. type: integer
  7786. tradeprice:
  7787. description: 成交价格
  7788. type: number
  7789. tradeqty:
  7790. description: 成交数量
  7791. type: integer
  7792. vendorname1:
  7793. description: 预售商品供应商名称
  7794. type: string
  7795. vendorname2:
  7796. description: 挂牌商品供应商名称
  7797. type: string
  7798. required:
  7799. - goodscode
  7800. - goodsname
  7801. - tradeid
  7802. - trademode
  7803. type: object
  7804. models.HsbyBuyMyTradeDetail:
  7805. properties:
  7806. accountid:
  7807. description: 账户ID[报价币种]
  7808. type: integer
  7809. agreeunit:
  7810. description: 合约单位
  7811. type: number
  7812. amount:
  7813. description: 金额 = 价格 * 数量 * 合约单位
  7814. type: number
  7815. buyorsell:
  7816. description: 买卖 - 0:买 1:卖
  7817. type: integer
  7818. currencysign:
  7819. description: 货币符号
  7820. type: string
  7821. decimalplace:
  7822. description: 报价小数位
  7823. type: integer
  7824. goodscode:
  7825. description: 商品代码(内部)
  7826. type: string
  7827. goodsid:
  7828. description: 商品ID
  7829. type: integer
  7830. goodsname:
  7831. description: 商品名称
  7832. type: string
  7833. marketid:
  7834. description: 市场ID
  7835. type: integer
  7836. orderamount:
  7837. description: 委托金额
  7838. type: number
  7839. orderid:
  7840. description: 单号(成交单号)
  7841. type: string
  7842. picurls1:
  7843. description: 预售商品介绍图片[多张用逗号分隔]
  7844. type: string
  7845. picurls2:
  7846. description: 挂牌商品介绍图片[多张用逗号分隔]
  7847. type: string
  7848. price:
  7849. description: 价格
  7850. type: number
  7851. qty:
  7852. description: 数量
  7853. type: integer
  7854. time:
  7855. description: 时间
  7856. type: string
  7857. trademode:
  7858. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7859. 21:竞拍-大宗式 22:受托竞价
  7860. type: integer
  7861. vendorname1:
  7862. description: 预售商品供应商名称
  7863. type: string
  7864. vendorname2:
  7865. description: 挂牌商品供应商名称
  7866. type: string
  7867. required:
  7868. - accountid
  7869. - buyorsell
  7870. - goodscode
  7871. - goodsid
  7872. - goodsname
  7873. - marketid
  7874. - orderid
  7875. - qty
  7876. - time
  7877. - trademode
  7878. type: object
  7879. models.HsbyGoodsOrderDetail:
  7880. properties:
  7881. buyorsell:
  7882. description: 买卖 - 0:买 1:卖
  7883. type: integer
  7884. currencysign:
  7885. description: 货币符号
  7886. type: string
  7887. customername:
  7888. description: 客户名称(企业名称),已脱敏
  7889. type: string
  7890. enableqty:
  7891. description: 可用数量
  7892. type: integer
  7893. goodunit:
  7894. description: 报价单位
  7895. type: string
  7896. orderid:
  7897. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7898. type: string
  7899. orderprice:
  7900. description: 委托价格
  7901. type: number
  7902. ordertime:
  7903. description: 委托时间
  7904. type: string
  7905. required:
  7906. - buyorsell
  7907. - orderid
  7908. - ordertime
  7909. type: object
  7910. models.HsbyListingGoodsDetail:
  7911. properties:
  7912. agreeunit:
  7913. description: 合约单位
  7914. type: number
  7915. buymaxqty:
  7916. description: 购买上限 [71] - 0为不限
  7917. type: integer
  7918. currency:
  7919. description: 货币
  7920. type: string
  7921. currencysign:
  7922. description: 货币符号
  7923. type: string
  7924. decimalplace:
  7925. description: 报价小数位
  7926. type: integer
  7927. desccityid:
  7928. description: 目的地(市)ID
  7929. type: integer
  7930. descprovinceid:
  7931. description: 目的地(省)ID
  7932. type: integer
  7933. goodscode:
  7934. description: 商品代码(内部)
  7935. type: string
  7936. goodsdesc:
  7937. description: 商品详情
  7938. type: string
  7939. goodsid:
  7940. description: 商品ID(自增ID SEQ_GOODS)
  7941. type: integer
  7942. goodsname:
  7943. description: 商品名称
  7944. type: string
  7945. goodsprice:
  7946. description: 商品价格
  7947. type: number
  7948. hotindex:
  7949. description: 景点热度
  7950. type: integer
  7951. last:
  7952. description: 现价
  7953. type: number
  7954. limitdown:
  7955. description: 跌停价
  7956. type: number
  7957. limitup:
  7958. description: 涨停价
  7959. type: number
  7960. lotsize:
  7961. description: 手数最小变动单位
  7962. type: integer
  7963. marketid:
  7964. description: 所属市场ID
  7965. type: integer
  7966. picurls:
  7967. description: 介绍图片[多张用逗号分隔]
  7968. type: string
  7969. quoteminunit:
  7970. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7971. type: integer
  7972. stepvalue:
  7973. description: 价格最小变动单位
  7974. type: number
  7975. trademode:
  7976. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7977. 21:竞拍-大宗式 22:受托竞价
  7978. type: integer
  7979. vendorattr:
  7980. description: 供应商附件(多张,逗号分隔)
  7981. type: string
  7982. vendorname:
  7983. description: 供应商名称
  7984. type: string
  7985. vendorphone:
  7986. description: 供应商客服电话
  7987. type: string
  7988. videourls:
  7989. description: 介绍视频[多张用逗号分隔]
  7990. type: string
  7991. required:
  7992. - goodscode
  7993. - goodsid
  7994. - goodsname
  7995. - marketid
  7996. - trademode
  7997. type: object
  7998. models.HsbyMarketGoods:
  7999. properties:
  8000. accountid:
  8001. description: 账户ID[报价币种]
  8002. type: integer
  8003. agreeunit:
  8004. description: 合约单位
  8005. type: number
  8006. buyorsell:
  8007. description: 买卖 - 0:买 1:卖
  8008. type: integer
  8009. categoryid:
  8010. description: 类别ID(WRCATEGORY)
  8011. type: integer
  8012. currency:
  8013. description: 货币
  8014. type: string
  8015. currencysign:
  8016. description: 货币符号
  8017. type: string
  8018. customername:
  8019. description: 卖家名称
  8020. type: string
  8021. decimalplace:
  8022. description: 报价小数位
  8023. type: integer
  8024. goodscode:
  8025. description: 商品代码(内部)
  8026. type: string
  8027. goodsid:
  8028. description: 商品ID
  8029. type: integer
  8030. goodsname:
  8031. description: 商品名称
  8032. type: string
  8033. goodsprice:
  8034. description: 商品价格
  8035. type: number
  8036. hascoupon:
  8037. description: 是否可用优惠卷
  8038. type: boolean
  8039. hotindex:
  8040. description: 景点热度
  8041. type: integer
  8042. marketid:
  8043. description: 市场ID
  8044. type: integer
  8045. orderid:
  8046. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8047. type: string
  8048. orderprice:
  8049. description: 委托价格
  8050. type: number
  8051. orderstatus:
  8052. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8053. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8054. 16:成交失败违约(荷兰式竞拍专用)
  8055. type: integer
  8056. picurls:
  8057. description: 介绍图片[多张用逗号分隔]
  8058. type: string
  8059. quoteminunit:
  8060. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8061. type: integer
  8062. sellUserID:
  8063. description: 卖方UserID
  8064. type: integer
  8065. trademode:
  8066. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8067. 21:竞拍-大宗式 22:受托竞价
  8068. type: integer
  8069. videourls:
  8070. description: 介绍视频[多张用逗号分隔]
  8071. type: string
  8072. required:
  8073. - accountid
  8074. - buyorsell
  8075. - goodscode
  8076. - goodsid
  8077. - goodsname
  8078. - marketid
  8079. - orderid
  8080. - trademode
  8081. type: object
  8082. models.HsbyMarketGoodsDetail:
  8083. properties:
  8084. accountid:
  8085. description: 账户ID[报价币种]
  8086. type: integer
  8087. agreeunit:
  8088. description: 合约单位
  8089. type: number
  8090. buymaxqty:
  8091. description: 购买上限 [71] - 0为不限
  8092. type: integer
  8093. buyorsell:
  8094. description: 买卖 - 0:买 1:卖
  8095. type: integer
  8096. cancelqty:
  8097. description: 撤单数量
  8098. type: integer
  8099. categoryid:
  8100. description: 类别ID(WRCATEGORY)
  8101. type: integer
  8102. currency:
  8103. description: 货币
  8104. type: string
  8105. currencysign:
  8106. description: 货币符号
  8107. type: string
  8108. customername:
  8109. description: 卖家名称
  8110. type: string
  8111. decimalplace:
  8112. description: 报价小数位
  8113. type: integer
  8114. goodscode:
  8115. description: 商品代码(内部)
  8116. type: string
  8117. goodsdesc:
  8118. description: 商品详情
  8119. type: string
  8120. goodsid:
  8121. description: 商品ID
  8122. type: integer
  8123. goodsname:
  8124. description: 商品名称
  8125. type: string
  8126. goodsprice:
  8127. description: 商品价格
  8128. type: number
  8129. hotindex:
  8130. description: 景点热度
  8131. type: integer
  8132. lotsize:
  8133. description: 手数最小变动单位
  8134. type: integer
  8135. marketid:
  8136. description: 市场ID
  8137. type: integer
  8138. orderid:
  8139. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8140. type: string
  8141. orderprice:
  8142. description: 委托价格
  8143. type: number
  8144. orderqty:
  8145. description: 委托数量
  8146. type: integer
  8147. orderstatus:
  8148. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8149. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8150. 16:成交失败违约(荷兰式竞拍专用)
  8151. type: integer
  8152. picurls:
  8153. description: 介绍图片[多张用逗号分隔]
  8154. type: string
  8155. quoteminunit:
  8156. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8157. type: integer
  8158. sellUserID:
  8159. description: 卖方UserID
  8160. type: integer
  8161. trademode:
  8162. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8163. 21:竞拍-大宗式 22:受托竞价
  8164. type: integer
  8165. tradeqty:
  8166. description: 成交数量
  8167. type: integer
  8168. vendorattr:
  8169. description: 供应商附件(多张,逗号分隔)
  8170. type: string
  8171. vendorname:
  8172. description: 供应商名称
  8173. type: string
  8174. vendorphone:
  8175. description: 供应商客服电话
  8176. type: string
  8177. videourls:
  8178. description: 介绍视频[多张用逗号分隔]
  8179. type: string
  8180. required:
  8181. - accountid
  8182. - buyorsell
  8183. - goodscode
  8184. - goodsid
  8185. - goodsname
  8186. - marketid
  8187. - orderid
  8188. - orderqty
  8189. - trademode
  8190. type: object
  8191. models.HsbyMarketInfo:
  8192. properties:
  8193. marketid:
  8194. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  8195. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  8196. type: integer
  8197. marketname:
  8198. description: 市场名称
  8199. type: string
  8200. marketstatus:
  8201. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  8202. type: integer
  8203. trademode:
  8204. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8205. 21:竞拍-大宗式 22:受托竞价
  8206. type: integer
  8207. required:
  8208. - marketid
  8209. - marketstatus
  8210. - trademode
  8211. type: object
  8212. models.HsbyMyGoods:
  8213. properties:
  8214. accountid:
  8215. description: 账号Id
  8216. type: integer
  8217. agreeunit:
  8218. description: 合约单位
  8219. type: number
  8220. buyaverageprice:
  8221. description: 持仓均价
  8222. type: number
  8223. buycurholderamount:
  8224. description: 买当前持仓总金额[商品币种]
  8225. type: number
  8226. buycurpositionqty:
  8227. description: 买当前持仓总数量
  8228. type: integer
  8229. buymaxqty:
  8230. description: 购买上限 [71] - 0为不限
  8231. type: integer
  8232. currencysign:
  8233. description: 货币符号
  8234. type: string
  8235. decimalplace:
  8236. description: 报价小数位
  8237. type: integer
  8238. enableqty:
  8239. description: 可用数量
  8240. type: integer
  8241. goodscode:
  8242. description: 商品代码(内部)
  8243. type: string
  8244. goodsid:
  8245. description: 商品Id
  8246. type: integer
  8247. goodsname:
  8248. description: 商品名称
  8249. type: string
  8250. goodsprice:
  8251. description: 商品价格
  8252. type: number
  8253. goodsstatus:
  8254. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8255. type: integer
  8256. last:
  8257. description: 现价(仅使用于挂牌点选)
  8258. type: number
  8259. limitdown:
  8260. description: 跌停价(仅使用于挂牌点选)
  8261. type: number
  8262. limitup:
  8263. description: 涨停价(仅使用于挂牌点选)
  8264. type: number
  8265. lotsize:
  8266. description: 手数最小变动单位
  8267. type: integer
  8268. marketid:
  8269. description: 所属市场ID
  8270. type: integer
  8271. picurls:
  8272. description: 介绍图片[多张用逗号分隔]
  8273. type: string
  8274. quoteminunit:
  8275. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8276. type: integer
  8277. stepvalue:
  8278. description: 价格最小变动单位
  8279. type: number
  8280. trademode:
  8281. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8282. 21:竞拍-大宗式 22:受托竞价
  8283. type: integer
  8284. required:
  8285. - accountid
  8286. - goodscode
  8287. - goodsid
  8288. - goodsname
  8289. - marketid
  8290. - trademode
  8291. type: object
  8292. models.HsbyMyPackage:
  8293. properties:
  8294. accountid:
  8295. description: 账户ID
  8296. type: integer
  8297. address:
  8298. description: 提货人详细地址
  8299. type: string
  8300. agreeunit:
  8301. description: 合约单位
  8302. type: number
  8303. amount:
  8304. description: 提货金额
  8305. type: number
  8306. auditer:
  8307. description: 审核人
  8308. type: integer
  8309. audittime:
  8310. description: 审核时间
  8311. type: string
  8312. averageprice:
  8313. description: 均价
  8314. type: number
  8315. cardnum:
  8316. description: 提货人证件号码
  8317. type: string
  8318. cardtypeid:
  8319. description: 提货人证件类型
  8320. type: integer
  8321. checkremark:
  8322. description: 审核备注
  8323. type: string
  8324. currencysign:
  8325. description: 货币符号
  8326. type: string
  8327. decimalplace:
  8328. description: 报价小数位
  8329. type: integer
  8330. goodscode:
  8331. description: 商品代码(内部)
  8332. type: string
  8333. goodsid:
  8334. description: 商品ID
  8335. type: integer
  8336. goodsname:
  8337. description: 商品名称
  8338. type: string
  8339. handlestatus:
  8340. description: 处理状态
  8341. type: integer
  8342. marketid:
  8343. description: 市场ID
  8344. type: integer
  8345. phonenum:
  8346. description: 提货人联系方式
  8347. type: string
  8348. picurls:
  8349. description: 介绍图片[多张用逗号分隔]
  8350. type: string
  8351. qty:
  8352. description: 提货数量
  8353. type: number
  8354. recivername:
  8355. description: 提货人姓名
  8356. type: string
  8357. reqtime:
  8358. description: 更新时间
  8359. type: string
  8360. takemode:
  8361. description: 提货方式 - 2:自提 3:配送
  8362. type: integer
  8363. takeorderid:
  8364. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  8365. type: string
  8366. takeorderstatus:
  8367. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  8368. type: integer
  8369. takeremark:
  8370. description: 提货备注
  8371. type: string
  8372. tradedate:
  8373. description: 交易日(yyyyMMdd)
  8374. type: string
  8375. trademode:
  8376. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8377. 21:竞拍-大宗式 22:受托竞价
  8378. type: integer
  8379. userid:
  8380. description: 用户ID
  8381. type: integer
  8382. vendorname:
  8383. description: 供应商名称
  8384. type: string
  8385. required:
  8386. - goodscode
  8387. - goodsname
  8388. - takeorderid
  8389. - trademode
  8390. type: object
  8391. models.HsbyPreGoods:
  8392. properties:
  8393. agreeunit:
  8394. description: 合约单位
  8395. type: number
  8396. currency:
  8397. description: 货币
  8398. type: string
  8399. currencysign:
  8400. description: 货币符号
  8401. type: string
  8402. decimalplace:
  8403. description: 报价小数位
  8404. type: integer
  8405. desccityid:
  8406. description: 目的地(市)
  8407. type: integer
  8408. descprovinceid:
  8409. description: 目的地(省)
  8410. type: integer
  8411. enableqty:
  8412. description: 剩余数量
  8413. type: integer
  8414. goodscode:
  8415. description: 商品代码(内部)
  8416. type: string
  8417. goodsid:
  8418. description: 商品ID(自增ID SEQ_GOODS)
  8419. type: integer
  8420. goodsname:
  8421. description: 商品名称
  8422. type: string
  8423. goodsstatus:
  8424. description: 商品状态- 2:未上市 3:上市
  8425. type: integer
  8426. lasttradedate:
  8427. description: 最后交易日期(状态:待退市)
  8428. type: string
  8429. listingdate:
  8430. description: 交易开始日期
  8431. type: string
  8432. marketid:
  8433. description: 所属市场ID
  8434. type: integer
  8435. picurls:
  8436. description: 介绍图片[多张用逗号分隔]
  8437. type: string
  8438. presaledqty:
  8439. description: 已预售量(预售结束时更新)
  8440. type: integer
  8441. presaleqty:
  8442. description: 预售数量
  8443. type: integer
  8444. quoteminunit:
  8445. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8446. type: integer
  8447. refprice:
  8448. description: 参考价格[一口价]
  8449. type: number
  8450. relatedgoodsid:
  8451. description: 关联交易合约ID
  8452. type: integer
  8453. trademode:
  8454. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8455. 21:竞拍-大宗式 22:受托竞价
  8456. type: integer
  8457. videourls:
  8458. description: 介绍视频[多张用逗号分隔]
  8459. type: string
  8460. required:
  8461. - goodscode
  8462. - goodsid
  8463. - goodsname
  8464. - marketid
  8465. - trademode
  8466. type: object
  8467. models.HsbyPreGoodsDetail:
  8468. properties:
  8469. agreeunit:
  8470. description: 合约单位
  8471. type: number
  8472. buymaxqty:
  8473. description: 购买上限 [71] - 0为不限
  8474. type: integer
  8475. currency:
  8476. description: 货币
  8477. type: string
  8478. currencysign:
  8479. description: 货币符号
  8480. type: string
  8481. customername:
  8482. description: 发行单位
  8483. type: string
  8484. decimalplace:
  8485. description: 报价小数位
  8486. type: integer
  8487. desccityid:
  8488. description: 目的地(市)ID
  8489. type: integer
  8490. descprovinceid:
  8491. description: 目的地(省)ID
  8492. type: integer
  8493. enableqty:
  8494. description: 剩余数量
  8495. type: integer
  8496. goodscode:
  8497. description: 商品代码(内部)
  8498. type: string
  8499. goodsdesc:
  8500. description: 商品详情
  8501. type: string
  8502. goodsid:
  8503. description: 商品ID(自增ID SEQ_GOODS)
  8504. type: integer
  8505. goodsname:
  8506. description: 商品名称
  8507. type: string
  8508. goodsstatus:
  8509. description: 商品状态- 2:未上市 3:上市
  8510. type: integer
  8511. goodunit:
  8512. description: 报价单位
  8513. type: string
  8514. lasttradedate:
  8515. description: 最后交易日期(状态:待退市)
  8516. type: string
  8517. listingdate:
  8518. description: 交易开始日期
  8519. type: string
  8520. lotsize:
  8521. description: 手数最小变动单位
  8522. type: integer
  8523. marketid:
  8524. description: 所属市场ID
  8525. type: integer
  8526. picurls:
  8527. description: 介绍图片[多张用逗号分隔]
  8528. type: string
  8529. presaledqty:
  8530. description: 已预售量(预售结束时更新)
  8531. type: integer
  8532. presaleqty:
  8533. description: 预售数量
  8534. type: integer
  8535. quoteminunit:
  8536. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8537. type: integer
  8538. refprice:
  8539. description: 参考价格[一口价]
  8540. type: number
  8541. relatedgoodsid:
  8542. description: 关联交易合约ID
  8543. type: integer
  8544. stepvalue:
  8545. description: 价格最小变动单位
  8546. type: number
  8547. trademode:
  8548. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8549. 21:竞拍-大宗式 22:受托竞价
  8550. type: integer
  8551. vendorattr:
  8552. description: 供应商附件(多张,逗号分隔)
  8553. type: string
  8554. vendorname:
  8555. description: 供应商名称
  8556. type: string
  8557. vendorphone:
  8558. description: 供应商客服电话
  8559. type: string
  8560. videourls:
  8561. description: 介绍视频[多张用逗号分隔]
  8562. type: string
  8563. required:
  8564. - goodscode
  8565. - goodsid
  8566. - goodsname
  8567. - marketid
  8568. - trademode
  8569. type: object
  8570. models.HsbySellCollectionOrder:
  8571. properties:
  8572. agreeunit:
  8573. description: 合约单位
  8574. type: number
  8575. buyaccountid:
  8576. description: 买方账号ID[报价币种]
  8577. type: integer
  8578. buyorderid:
  8579. description: 买方委托单号
  8580. type: string
  8581. createtime:
  8582. description: 创建时间
  8583. type: string
  8584. currencysign:
  8585. description: 货币符号
  8586. type: string
  8587. decimalplace:
  8588. description: 报价小数位
  8589. type: integer
  8590. goodscode:
  8591. description: 商品代码(内部)
  8592. type: string
  8593. goodsid:
  8594. description: 商品ID
  8595. type: integer
  8596. goodsname:
  8597. description: 商品名称
  8598. type: string
  8599. marketid:
  8600. description: 市场ID
  8601. type: integer
  8602. offamount:
  8603. description: 优惠金额
  8604. type: number
  8605. payamount:
  8606. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  8607. type: number
  8608. payflag:
  8609. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  8610. type: integer
  8611. paylimitedtime:
  8612. description: 支付期限
  8613. type: string
  8614. paytime:
  8615. description: 付款时间
  8616. type: string
  8617. picurls:
  8618. description: 商品介绍图片[多张用逗号分隔]
  8619. type: string
  8620. sellaccountid:
  8621. description: 卖方账号ID[报价币种]
  8622. type: integer
  8623. sellorderid:
  8624. description: 卖方委托单号
  8625. type: string
  8626. tradeamount:
  8627. description: 成交金额
  8628. type: number
  8629. tradecharge:
  8630. description: 成交手续费(买方)
  8631. type: number
  8632. tradedate:
  8633. description: 交易日(yyyyMMdd)
  8634. type: string
  8635. tradeid:
  8636. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8637. type: string
  8638. trademode:
  8639. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8640. 21:竞拍-大宗式 22:受托竞价
  8641. type: integer
  8642. tradeprice:
  8643. description: 成交价格
  8644. type: number
  8645. tradeqty:
  8646. description: 成交数量
  8647. type: integer
  8648. required:
  8649. - goodscode
  8650. - goodsname
  8651. - tradeid
  8652. - trademode
  8653. type: object
  8654. models.HsbySellMyDetail:
  8655. properties:
  8656. accountid:
  8657. description: 账户ID[报价币种]
  8658. type: integer
  8659. agreeunit:
  8660. description: 合约单位
  8661. type: number
  8662. buyorsell:
  8663. description: 买卖 - 0:买 1:卖
  8664. type: integer
  8665. currencysign:
  8666. description: 货币符号
  8667. type: string
  8668. decimalplace:
  8669. description: 报价小数位
  8670. type: integer
  8671. goodscode:
  8672. description: 商品代码(内部)
  8673. type: string
  8674. goodsid:
  8675. description: 商品ID
  8676. type: integer
  8677. goodsname:
  8678. description: 商品名称
  8679. type: string
  8680. marketid:
  8681. description: 市场ID
  8682. type: integer
  8683. orderid:
  8684. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  8685. type: string
  8686. ordertype:
  8687. description: 单据类型:0 - 发布中, 1 - 已完成
  8688. type: integer
  8689. picurls:
  8690. description: 介绍图片[多张用逗号分隔]
  8691. type: string
  8692. price:
  8693. description: 价格
  8694. type: number
  8695. qty:
  8696. description: 数量
  8697. type: integer
  8698. time:
  8699. description: 时间
  8700. type: string
  8701. trademode:
  8702. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8703. 21:竞拍-大宗式 22:受托竞价
  8704. type: integer
  8705. vendorname:
  8706. description: 供应商名称
  8707. type: string
  8708. required:
  8709. - accountid
  8710. - buyorsell
  8711. - goodscode
  8712. - goodsid
  8713. - goodsname
  8714. - marketid
  8715. - orderid
  8716. - time
  8717. - trademode
  8718. type: object
  8719. models.HsbyTopGoods:
  8720. properties:
  8721. agreeunit:
  8722. description: 合约单位
  8723. type: number
  8724. currency:
  8725. description: 货币
  8726. type: string
  8727. currencysign:
  8728. description: 货币符号
  8729. type: string
  8730. decimalplace:
  8731. description: 报价小数位
  8732. type: integer
  8733. desccityid:
  8734. description: 目的地(市)
  8735. type: integer
  8736. descprovinceid:
  8737. description: 目的地(省)
  8738. type: integer
  8739. goodscode:
  8740. description: 商品代码(内部)
  8741. type: string
  8742. goodsid:
  8743. description: 商品ID(自增ID SEQ_GOODS)
  8744. type: integer
  8745. goodsname:
  8746. description: 商品名称
  8747. type: string
  8748. hotindex:
  8749. description: 景点热度
  8750. type: integer
  8751. last:
  8752. description: 现价
  8753. type: number
  8754. marketid:
  8755. description: 所属市场ID
  8756. type: integer
  8757. picurls:
  8758. description: 介绍图片[多张用逗号分隔]
  8759. type: string
  8760. quoteminunit:
  8761. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8762. type: integer
  8763. trademode:
  8764. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8765. 21:竞拍-大宗式 22:受托竞价
  8766. type: integer
  8767. videourls:
  8768. description: 介绍视频[多张用逗号分隔]
  8769. type: string
  8770. required:
  8771. - goodscode
  8772. - goodsid
  8773. - goodsname
  8774. - marketid
  8775. - trademode
  8776. type: object
  8777. models.HybsMyBuyOrderDetail:
  8778. properties:
  8779. accountid:
  8780. description: 账户ID[报价币种]
  8781. type: integer
  8782. agreeunit:
  8783. description: 合约单位
  8784. type: number
  8785. buyorsell:
  8786. description: 买卖 - 0:买 1:卖
  8787. type: integer
  8788. cancelqty:
  8789. description: 撤单数量
  8790. type: integer
  8791. currencysign:
  8792. description: 货币符号
  8793. type: string
  8794. decimalplace:
  8795. description: 报价小数位
  8796. type: integer
  8797. goodscode:
  8798. description: 商品代码(内部)
  8799. type: string
  8800. goodsid:
  8801. description: 商品ID
  8802. type: integer
  8803. goodsname:
  8804. description: 商品名称
  8805. type: string
  8806. listingselecttype:
  8807. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  8808. type: integer
  8809. marketid:
  8810. description: 市场ID
  8811. type: integer
  8812. mybuystatus:
  8813. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  8814. type: integer
  8815. orderamount:
  8816. description: 委托金额
  8817. type: number
  8818. orderid:
  8819. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8820. type: string
  8821. orderprice:
  8822. description: 委托价格
  8823. type: number
  8824. orderqty:
  8825. description: 委托数量
  8826. type: integer
  8827. orderstatus:
  8828. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8829. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8830. 16:成交失败违约(荷兰式竞拍专用)
  8831. type: integer
  8832. ordertime:
  8833. description: 委托时间
  8834. type: string
  8835. picurls1:
  8836. description: 预售商品介绍图片[多张用逗号分隔]
  8837. type: string
  8838. picurls2:
  8839. description: 挂牌商品介绍图片[多张用逗号分隔]
  8840. type: string
  8841. trademode:
  8842. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8843. 21:竞拍-大宗式 22:受托竞价
  8844. type: integer
  8845. tradeqty:
  8846. description: 成交数量
  8847. type: integer
  8848. vendorname1:
  8849. description: 预售商品供应商名称
  8850. type: string
  8851. vendorname2:
  8852. description: 挂牌商品供应商名称
  8853. type: string
  8854. required:
  8855. - accountid
  8856. - buyorsell
  8857. - goodscode
  8858. - goodsid
  8859. - goodsname
  8860. - marketid
  8861. - orderid
  8862. - orderqty
  8863. - ordertime
  8864. - trademode
  8865. type: object
  8866. models.Loginaccount:
  8867. properties:
  8868. canoutin:
  8869. description: 是否可出入金 - 0:不可 1:可
  8870. type: integer
  8871. clientroleid:
  8872. description: 终端角色ID
  8873. type: integer
  8874. haslogined:
  8875. description: 是否已登录 - 0:未登录 1:已登录
  8876. type: integer
  8877. hasupdatedpwd:
  8878. description: 是否已更改密码 - 0:未修改 1:已修改
  8879. type: integer
  8880. lastloginip:
  8881. description: 最新登录地址
  8882. type: string
  8883. lastloginmode:
  8884. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  8885. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  8886. type: integer
  8887. lastloginremark:
  8888. description: 最新登录描述
  8889. type: string
  8890. lastlogintime:
  8891. description: 最新登录时间
  8892. type: string
  8893. logincode:
  8894. description: 登录代码
  8895. type: string
  8896. loginfailnum:
  8897. description: 连续登录失败次数(登录成功时清零)
  8898. type: integer
  8899. loginid:
  8900. description: 登陆账号
  8901. type: integer
  8902. loginport:
  8903. description: 最新登录端口
  8904. type: integer
  8905. loginstatus:
  8906. description: 登录账号状态 1:正常 2:冻结 3:无效
  8907. type: integer
  8908. loginusertype:
  8909. description: 登录账号类型 - 1:投资者 2:机构交易员
  8910. type: integer
  8911. modifierid:
  8912. description: 修改人
  8913. type: integer
  8914. modifytime:
  8915. description: 修改时间
  8916. type: string
  8917. pwdwrongcount:
  8918. description: 密码错误次数
  8919. type: integer
  8920. taaccountrighttype:
  8921. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  8922. type: integer
  8923. unfreezetime:
  8924. description: 账户解冻时间
  8925. type: string
  8926. userid:
  8927. description: 用户ID
  8928. type: integer
  8929. required:
  8930. - loginid
  8931. type: object
  8932. models.MainAccountInfo:
  8933. properties:
  8934. accountid:
  8935. description: 账号id
  8936. type: string
  8937. accountname:
  8938. description: 账号名称(taaccount表中的名称)
  8939. type: string
  8940. appid:
  8941. description: AppID
  8942. type: string
  8943. authcode:
  8944. description: 授权码
  8945. type: string
  8946. brokerid:
  8947. description: 经纪商id
  8948. type: string
  8949. fcid:
  8950. description: 期货公司id
  8951. type: integer
  8952. fcname:
  8953. description: 期货公司代码
  8954. type: string
  8955. hedgeaccountcode:
  8956. description: 外部账号代码
  8957. type: string
  8958. hedgeaccountpwd:
  8959. description: 密码
  8960. type: string
  8961. ismain:
  8962. description: 是否主账号
  8963. type: integer
  8964. relateduserid:
  8965. description: 关联用户id
  8966. type: integer
  8967. type: object
  8968. models.Market:
  8969. properties:
  8970. auctionwrtype:
  8971. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  8972. type: integer
  8973. canacceptquote:
  8974. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  8975. type: integer
  8976. cangoodsexercise:
  8977. description: '[期权]是否可现货行权- 0:否 1:是'
  8978. type: integer
  8979. cangoodsexercisetype:
  8980. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  8981. type: integer
  8982. canmanualquotestrike:
  8983. description: 是否可手动报行权价- 0:否 1:是 [期权]
  8984. type: integer
  8985. canmutistage:
  8986. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  8987. type: integer
  8988. canpreexercise:
  8989. description: '[期权]是否可预申报- 0:否 1:是'
  8990. type: integer
  8991. clearinterval:
  8992. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  8993. type: integer
  8994. contracttmp:
  8995. description: 合同模板[荷兰式][竞价式][仓单贸易]
  8996. type: string
  8997. exchareaid:
  8998. description: 所属交易所,可以没有
  8999. type: integer
  9000. goodstype:
  9001. description: 商品类型 - 1:交易商品 2:仓单商品
  9002. type: integer
  9003. hasrebate:
  9004. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  9005. type: integer
  9006. hastradecredit:
  9007. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  9008. type: integer
  9009. haswr:
  9010. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  9011. type: integer
  9012. isdeductmargin:
  9013. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  9014. type: integer
  9015. isrecordsource:
  9016. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  9017. type: integer
  9018. isreleasemargin:
  9019. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  9020. type: integer
  9021. marginformula:
  9022. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  9023. type: integer
  9024. marginformula2:
  9025. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  9026. type: integer
  9027. marketid:
  9028. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  9029. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  9030. type: integer
  9031. marketname:
  9032. description: 市场名称
  9033. type: string
  9034. marketserviceid:
  9035. description: 市场服务ID
  9036. type: integer
  9037. marketstatus:
  9038. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  9039. type: integer
  9040. markettype:
  9041. description: 市场类型- 1:非交易服务 2:交易服务
  9042. type: integer
  9043. matchermode:
  9044. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  9045. type: integer
  9046. openmethod:
  9047. description: 开盘模式 - 0 自动 1手动
  9048. type: integer
  9049. otcuserid:
  9050. description: 场外期权做市商[场外期权]
  9051. type: integer
  9052. outersynctime:
  9053. description: 外部同步时间点(h24:mi:ss)[场外期权]
  9054. type: string
  9055. pendingflag:
  9056. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  9057. type: integer
  9058. pendingtime:
  9059. description: 待开市时间[通道交易-对冲](HH:mm)
  9060. type: string
  9061. performancetempid:
  9062. description: 履约计划模板ID - 作废
  9063. type: integer
  9064. premiumquotemode:
  9065. description: 权利金报价方式 - 1:自动 2:手动
  9066. type: integer
  9067. rebateratio:
  9068. description: 返利比率[竞价式]
  9069. type: number
  9070. reckonorder:
  9071. description: 结算顺序
  9072. type: integer
  9073. reckonpricealgorithm:
  9074. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  9075. 6.卖一价 7.买一卖一均价 8.外部结算价'
  9076. type: integer
  9077. reckonpriceparam:
  9078. description: 结算价参数
  9079. type: integer
  9080. reckontime:
  9081. description: 结算时间[通道交易-对冲](HH:mm)
  9082. type: string
  9083. roleprioritytype:
  9084. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  9085. type: integer
  9086. selllistingauditflag:
  9087. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  9088. type: integer
  9089. trademarkettype:
  9090. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  9091. type: integer
  9092. trademode:
  9093. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9094. 21:竞拍-大宗式 22:受托竞价
  9095. type: integer
  9096. tradeproperty:
  9097. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  9098. 8:场外期权
  9099. type: integer
  9100. tradetype:
  9101. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  9102. type: integer
  9103. required:
  9104. - marketid
  9105. - marketstatus
  9106. - openmethod
  9107. - reckonpricealgorithm
  9108. - trademode
  9109. - tradeproperty
  9110. type: object
  9111. models.Marketrun:
  9112. properties:
  9113. afternexttradedate:
  9114. description: 下下交易日
  9115. type: string
  9116. clearquoteflag:
  9117. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  9118. type: integer
  9119. lastreckondate:
  9120. description: 最新交易日(结算成功)
  9121. type: string
  9122. machinedate:
  9123. description: 机器时间
  9124. type: string
  9125. manualflag:
  9126. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  9127. type: integer
  9128. marketid:
  9129. description: 市场ID
  9130. type: integer
  9131. nexttradedate:
  9132. description: 下一交易日
  9133. type: string
  9134. pretradedate:
  9135. description: 上一交易日
  9136. type: string
  9137. reckonflag:
  9138. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  9139. type: integer
  9140. runstatus:
  9141. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  9142. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  9143. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  9144. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  9145. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  9146. 62.今日免清算
  9147. type: integer
  9148. sectionid:
  9149. description: 时间段号[多时段时用]
  9150. type: integer
  9151. tradedate:
  9152. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  9153. type: string
  9154. tradedate2:
  9155. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  9156. type: string
  9157. updatetime:
  9158. description: 更新时间
  9159. type: string
  9160. required:
  9161. - marketid
  9162. - nexttradedate
  9163. - reckonflag
  9164. - runstatus
  9165. - tradedate
  9166. - tradedate2
  9167. type: object
  9168. models.Messageboard:
  9169. properties:
  9170. contactnum:
  9171. description: 联系电话
  9172. type: string
  9173. createtime:
  9174. description: 创建时间
  9175. type: string
  9176. message:
  9177. description: 留言信息
  9178. type: string
  9179. messageboardid:
  9180. description: 留言簿ID(SEQ_MessageBoard)
  9181. type: integer
  9182. userid:
  9183. description: 用户ID
  9184. type: integer
  9185. required:
  9186. - messageboardid
  9187. type: object
  9188. models.MyCoupon:
  9189. properties:
  9190. accountid:
  9191. description: 资金账户ID
  9192. type: integer
  9193. areauserid:
  9194. description: 所属机构
  9195. type: integer
  9196. conditionvalue:
  9197. description: 条件阈值(可为0)
  9198. type: number
  9199. couponcategroy:
  9200. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  9201. type: integer
  9202. couponname:
  9203. description: 优惠券名称
  9204. type: string
  9205. coupontypeid:
  9206. description: 优惠券类型ID
  9207. type: string
  9208. couponvalue:
  9209. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  9210. type: number
  9211. curfreezeqty:
  9212. description: 期末冻结数量
  9213. type: integer
  9214. curqty:
  9215. description: 期末数量
  9216. type: integer
  9217. isgeneral:
  9218. description: 是否通用券 - 0:否 1:是
  9219. type: integer
  9220. isunusable:
  9221. description: 是否不可用
  9222. type: boolean
  9223. limitedflag:
  9224. description: 是否指定商品 - 0:不限 1:限制
  9225. type: integer
  9226. limitedgoodsids:
  9227. description: 指定商品IDs[逗号分隔,前后加逗号]
  9228. type: string
  9229. orifreezeqty:
  9230. description: 期初冻结数量
  9231. type: integer
  9232. oriqty:
  9233. description: 期初数量
  9234. type: integer
  9235. reasontype:
  9236. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  9237. type: integer
  9238. todaydecrease:
  9239. description: 今日减少
  9240. type: integer
  9241. todayincrease:
  9242. description: 今日增加
  9243. type: integer
  9244. userid:
  9245. description: 用户ID
  9246. type: integer
  9247. userscope:
  9248. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  9249. type: string
  9250. required:
  9251. - accountid
  9252. - coupontypeid
  9253. type: object
  9254. models.MyCouponHold:
  9255. properties:
  9256. accountid:
  9257. description: 资金账户ID
  9258. type: integer
  9259. conditionvalue:
  9260. description: 条件阈值(可为0)
  9261. type: number
  9262. couponcategroy:
  9263. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  9264. type: integer
  9265. couponholdid:
  9266. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  9267. type: string
  9268. couponname:
  9269. description: 优惠券名称
  9270. type: string
  9271. coupontypeid:
  9272. description: 优惠券类型ID - SEQ_COUPONTYPE
  9273. type: string
  9274. couponvalue:
  9275. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  9276. type: number
  9277. createtime:
  9278. description: 创建时间
  9279. type: string
  9280. enddate:
  9281. description: 结束日期
  9282. type: string
  9283. giveapplyid:
  9284. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  9285. type: integer
  9286. holdstatus:
  9287. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  9288. type: integer
  9289. isgeneral:
  9290. description: 是否通用券 - 0:否 1:是
  9291. type: integer
  9292. limitedflag:
  9293. description: 是否指定商品 - 0:不限 1:限制
  9294. type: integer
  9295. limitedgoodsids:
  9296. description: 指定商品IDs[逗号分隔]
  9297. type: string
  9298. qty:
  9299. description: 数量(按1平铺)
  9300. type: integer
  9301. startdate:
  9302. description: 开始日期
  9303. type: string
  9304. userid:
  9305. description: 用户ID
  9306. type: integer
  9307. userscope:
  9308. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  9309. type: string
  9310. required:
  9311. - couponholdid
  9312. type: object
  9313. models.MyUsedCoupon:
  9314. properties:
  9315. accountid:
  9316. description: 资金账户ID(买方)
  9317. type: integer
  9318. conditionvalue:
  9319. description: 条件阈值(可为0)
  9320. type: number
  9321. couponcategroy:
  9322. description: 种类 - 1:现金券 2:折扣券
  9323. type: integer
  9324. couponname:
  9325. description: 优惠券名称
  9326. type: string
  9327. coupontypeid:
  9328. description: 优惠券类型ID(买方)
  9329. type: string
  9330. couponvalue:
  9331. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  9332. type: number
  9333. createtime:
  9334. description: 创建时间
  9335. type: string
  9336. goodsid:
  9337. description: 商品ID
  9338. type: integer
  9339. handlestatus:
  9340. description: 处理状态
  9341. type: integer
  9342. marketid:
  9343. description: 市场ID
  9344. type: integer
  9345. offamount:
  9346. description: 优惠金额
  9347. type: number
  9348. orderid:
  9349. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9350. type: string
  9351. sellaccountid:
  9352. description: 资金账户ID(卖方)
  9353. type: integer
  9354. tradeamount:
  9355. description: 成交金额
  9356. type: number
  9357. tradeid:
  9358. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9359. type: string
  9360. usedqty:
  9361. description: 使用数量
  9362. type: integer
  9363. required:
  9364. - coupontypeid
  9365. - orderid
  9366. type: object
  9367. models.OperationPrimaryMenu:
  9368. properties:
  9369. Children:
  9370. description: 二级功能菜单
  9371. items:
  9372. $ref: '#/definitions/models.OperationSecondaryMenu'
  9373. type: array
  9374. Key:
  9375. description: 菜单KEY
  9376. type: string
  9377. Label:
  9378. description: 菜单标题
  9379. type: string
  9380. type: object
  9381. models.OperationSecondaryMenu:
  9382. properties:
  9383. Key:
  9384. description: 菜单KEY
  9385. type: string
  9386. Label:
  9387. description: 菜单标题
  9388. type: string
  9389. TabList:
  9390. description: 三级功能菜单
  9391. items:
  9392. $ref: '#/definitions/models.OperationTabMenu'
  9393. type: array
  9394. type: object
  9395. models.OperationTabMenu:
  9396. properties:
  9397. Key:
  9398. description: 菜单KEY
  9399. type: string
  9400. Label:
  9401. description: 菜单标题
  9402. type: string
  9403. type: object
  9404. models.QueryErrorInfosRsp:
  9405. properties:
  9406. description:
  9407. description: 异常描述
  9408. type: string
  9409. errorcode:
  9410. description: 异常代码
  9411. type: string
  9412. errorid:
  9413. description: 异常ID
  9414. type: integer
  9415. modulecode:
  9416. description: 所属模块
  9417. type: string
  9418. operatecode:
  9419. description: 所属操作
  9420. type: string
  9421. rownumber:
  9422. description: 行号
  9423. type: string
  9424. required:
  9425. - errorid
  9426. type: object
  9427. models.QueryHedgeOrderDetailRsp:
  9428. properties:
  9429. accountid:
  9430. description: 账户ID
  9431. type: integer
  9432. buyorsell:
  9433. description: 买卖 - 0:买 1:卖
  9434. type: integer
  9435. cancellogincode:
  9436. description: 撤单人
  9437. type: string
  9438. channelbuildtype:
  9439. description: 开平标志 - 0:无 1:建仓 2:平仓
  9440. type: integer
  9441. channelinnerorderstatus:
  9442. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  9443. 9:全部成交
  9444. type: integer
  9445. channeloperatetype:
  9446. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  9447. type: integer
  9448. closetype:
  9449. description: 平仓方式 - 0:无 1:平今 2:平昨
  9450. type: integer
  9451. curexchangerate:
  9452. description: 当前汇率
  9453. type: number
  9454. exchangefullname:
  9455. description: 外部交易所全称
  9456. type: string
  9457. goodscode:
  9458. description: 商品代码(内部)
  9459. type: string
  9460. goodsid:
  9461. description: 商品ID
  9462. type: integer
  9463. goodsname:
  9464. description: 商品名称
  9465. type: string
  9466. marketid:
  9467. description: 市场ID
  9468. type: integer
  9469. openfreezemargin:
  9470. description: 冻结保证金(冻结交易金额)
  9471. type: number
  9472. orderid:
  9473. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9474. type: string
  9475. orderlogincode:
  9476. description: 委托人
  9477. type: string
  9478. orderprice:
  9479. description: 委托价格(账户)
  9480. type: number
  9481. orderqty:
  9482. description: 委托数量
  9483. type: integer
  9484. ordertime:
  9485. description: 委托时间
  9486. type: string
  9487. pricemode:
  9488. description: '取价方式 - 1:市价 2: 限价'
  9489. type: integer
  9490. tradedate:
  9491. description: 交易日(yyyyMMdd)
  9492. type: string
  9493. tradeqty:
  9494. description: 成交数量
  9495. type: integer
  9496. type: object
  9497. models.QueryHedgeTradeDetailRsp:
  9498. properties:
  9499. accountid:
  9500. description: 账号ID
  9501. type: integer
  9502. buyorsell:
  9503. description: 方向 - 0:买 1:卖
  9504. type: integer
  9505. channelbuildtype:
  9506. description: 委托单据类型 0:无 1:建仓 2:平仓
  9507. type: integer
  9508. closecharge:
  9509. description: 平仓手续费(账户)
  9510. type: number
  9511. closecharge2:
  9512. description: 平仓手续费(商品)
  9513. type: number
  9514. closepl:
  9515. description: 平仓盈亏(账户)
  9516. type: number
  9517. closepl2:
  9518. description: 平仓盈亏(商品)
  9519. type: number
  9520. closepl3:
  9521. description: 平仓盈亏(账户)(逐笔)
  9522. type: number
  9523. closepl4:
  9524. description: 平仓盈亏(商品)(逐笔)
  9525. type: number
  9526. closetype:
  9527. description: 平仓方式 - 0:无 1:平今 2:平昨
  9528. type: integer
  9529. curexchangerate:
  9530. description: 当前汇率
  9531. type: number
  9532. exchangefullname:
  9533. description: 外部交易所全称
  9534. type: string
  9535. goodscode:
  9536. description: 商品代码(内部)
  9537. type: string
  9538. goodsid:
  9539. description: 商品ID
  9540. type: integer
  9541. goodsname:
  9542. description: 商品名称
  9543. type: string
  9544. marketid:
  9545. description: 市场ID
  9546. type: integer
  9547. opencharge:
  9548. description: 建仓手续费(账户)
  9549. type: number
  9550. opencharge2:
  9551. description: 建仓手续费(商品)
  9552. type: number
  9553. orderid:
  9554. description: 委托单号
  9555. type: string
  9556. orderlogincode:
  9557. description: 委托人
  9558. type: string
  9559. tradeamount:
  9560. description: 成交金额(账户)
  9561. type: number
  9562. tradedate:
  9563. description: 交易日(yyyyMMdd)
  9564. type: string
  9565. tradeid:
  9566. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9567. type: string
  9568. tradeprice:
  9569. description: 成交价格
  9570. type: number
  9571. tradeqty:
  9572. description: 成交数量
  9573. type: integer
  9574. tradetime:
  9575. description: 成交时间
  9576. type: string
  9577. tradetype:
  9578. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  9579. type: integer
  9580. type: object
  9581. models.QuotePrimaryMenu:
  9582. properties:
  9583. Index:
  9584. description: 序号
  9585. type: integer
  9586. Key:
  9587. description: 键名
  9588. type: string
  9589. Name:
  9590. description: 菜单名称
  9591. type: string
  9592. SubMenus:
  9593. description: 子菜单
  9594. items:
  9595. $ref: '#/definitions/models.QuoteSecondaryMenu'
  9596. type: array
  9597. SubTitleType:
  9598. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  9599. type: integer
  9600. TradeModes:
  9601. description: 包含市场交易类型
  9602. type: string
  9603. type: object
  9604. models.QuoteSecondaryMenu:
  9605. properties:
  9606. ExExchangeCode:
  9607. description: 外部交易所代码
  9608. type: string
  9609. ExExchangeID:
  9610. description: 外部交易所ID
  9611. type: integer
  9612. GoodsGroupIDs:
  9613. description: 商品组ID列表
  9614. items:
  9615. type: integer
  9616. type: array
  9617. Index:
  9618. description: 序号
  9619. type: integer
  9620. MarketID:
  9621. description: 市场ID
  9622. type: integer
  9623. MenuTitle:
  9624. description: 菜单标题(市场名称或外部交易所名称)
  9625. type: string
  9626. TradeMode:
  9627. description: 交易模式
  9628. type: integer
  9629. type: object
  9630. models.RelatedGoodsEx:
  9631. properties:
  9632. goodscode:
  9633. description: 商品代码
  9634. type: string
  9635. goodsid:
  9636. description: 商品id
  9637. type: integer
  9638. goodsname:
  9639. description: 商品名称
  9640. type: string
  9641. type: object
  9642. models.SearchGoods:
  9643. properties:
  9644. goodscode:
  9645. description: 商品代码(内部)
  9646. type: string
  9647. goodsid:
  9648. description: 商品ID(自增ID SEQ_GOODS)
  9649. type: integer
  9650. goodsname:
  9651. description: 商品名称
  9652. type: string
  9653. marketid:
  9654. description: 所属市场ID
  9655. type: integer
  9656. marketname:
  9657. description: 市场名称
  9658. type: string
  9659. trademode:
  9660. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9661. 21:竞拍-大宗式 22:受托竞价
  9662. type: integer
  9663. required:
  9664. - goodscode
  9665. - goodsid
  9666. - goodsname
  9667. - marketid
  9668. - trademode
  9669. type: object
  9670. models.Systemparam:
  9671. properties:
  9672. loginid:
  9673. description: 更新用户账号,登录账号
  9674. type: string
  9675. modifyflag:
  9676. description: 修改标志0 不允许修改 1 允许修改
  9677. type: integer
  9678. paramcode:
  9679. description: 参数代码
  9680. type: string
  9681. paramname:
  9682. description: 参数名
  9683. type: string
  9684. paramtype:
  9685. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  9686. type: integer
  9687. paramvalue:
  9688. description: 参数值
  9689. type: string
  9690. paramvalue2:
  9691. description: 参数值(CLOB)
  9692. type: string
  9693. regexpress:
  9694. description: 正则表达式
  9695. type: string
  9696. remark:
  9697. description: 备注
  9698. type: string
  9699. serverip:
  9700. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  9701. type: string
  9702. showflag:
  9703. description: 是否显示0 不显示 1 显示
  9704. type: integer
  9705. updatetime:
  9706. description: 更新时间
  9707. type: string
  9708. userid:
  9709. description: 更新用户ID
  9710. type: integer
  9711. required:
  9712. - paramcode
  9713. type: object
  9714. models.Szdz3convertconfig:
  9715. properties:
  9716. canin:
  9717. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  9718. type: integer
  9719. canout:
  9720. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  9721. type: integer
  9722. converttype:
  9723. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  9724. 6:交易转花生米(不设置)
  9725. type: integer
  9726. createtime:
  9727. description: 创建时间
  9728. type: string
  9729. creatorid:
  9730. description: 创建人
  9731. type: integer
  9732. daymaxvalue:
  9733. description: 当日最大转入限制
  9734. type: number
  9735. freezedays:
  9736. description: 冻结天数 [5:花生米转交易]
  9737. type: integer
  9738. innergoodsid:
  9739. description: 内部商品ID[交易]
  9740. type: integer
  9741. inratio:
  9742. description: 目标值
  9743. type: integer
  9744. modifierid:
  9745. description: 修改人
  9746. type: integer
  9747. modifytime:
  9748. description: 修改时间
  9749. type: string
  9750. outergoodscode:
  9751. description: 外部商品代码[JD\PD]
  9752. type: string
  9753. outratio:
  9754. description: 源值
  9755. type: integer
  9756. pddecimalplace:
  9757. description: PD小数位
  9758. type: integer
  9759. timemaxvalue:
  9760. description: 单次最大转入限制
  9761. type: number
  9762. timeminvalue:
  9763. description: 单次最小转入限制
  9764. type: number
  9765. required:
  9766. - converttype
  9767. - innergoodsid
  9768. - outergoodscode
  9769. type: object
  9770. models.Szdz3searchwhitelist:
  9771. properties:
  9772. createtime:
  9773. description: 创建时间
  9774. type: string
  9775. creatorid:
  9776. description: 创建人
  9777. type: integer
  9778. modifierid:
  9779. description: 修改人
  9780. type: integer
  9781. modifytime:
  9782. description: 修改时间
  9783. type: string
  9784. userid:
  9785. description: 用户ID
  9786. type: integer
  9787. required:
  9788. - userid
  9789. type: object
  9790. models.Taaccount:
  9791. properties:
  9792. accountflag:
  9793. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  9794. type: integer
  9795. accountid:
  9796. description: 资金账户ID
  9797. type: integer
  9798. accountname:
  9799. description: 账户名称
  9800. type: string
  9801. balance:
  9802. description: 期初余额
  9803. type: number
  9804. capitalbalance:
  9805. description: 本金余额[外部子账户实际出入金余额]
  9806. type: number
  9807. changeflag:
  9808. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  9809. type: integer
  9810. changetime:
  9811. description: 账户状态变更时间
  9812. type: string
  9813. closepl:
  9814. description: 今日平仓盈亏
  9815. type: number
  9816. creditdecrease:
  9817. description: 今日授信减少
  9818. type: number
  9819. creditincrease:
  9820. description: 今日授信增加
  9821. type: number
  9822. currencyid:
  9823. description: 货币ID
  9824. type: integer
  9825. currentbalance:
  9826. description: 期末余额
  9827. type: number
  9828. freezecharge:
  9829. description: 手续费冻结
  9830. type: number
  9831. freezemargin:
  9832. description: 冻结保证金
  9833. type: number
  9834. fromaccountid:
  9835. description: 所属上级账户
  9836. type: integer
  9837. inamount:
  9838. description: 今日入金金额(包括三方入金)
  9839. type: number
  9840. ismain:
  9841. description: 是否母账号 0:不是母账户 1:是母账户
  9842. type: integer
  9843. ismarketaccount:
  9844. description: 是否机构接单账号 0:不是 1:是
  9845. type: integer
  9846. isreckonaccount:
  9847. description: 是否机构分润账号 0:不是 1:是
  9848. type: integer
  9849. mortgagecredit:
  9850. description: 授信金额
  9851. type: number
  9852. orifreezecharge:
  9853. description: 期初手续费冻结
  9854. type: number
  9855. orifreezemargin:
  9856. description: 期初冻结保证金
  9857. type: number
  9858. orimortgagecredit:
  9859. description: 期初授信金额
  9860. type: number
  9861. oriothercredit:
  9862. description: 期初其它授信金额
  9863. type: number
  9864. oriotherfreezemargin:
  9865. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  9866. type: number
  9867. orioutamountfreeze:
  9868. description: 期初出金冻结
  9869. type: number
  9870. oriusedmargin:
  9871. description: 期初占用保证金
  9872. type: number
  9873. othercredit:
  9874. description: 其它授信金额
  9875. type: number
  9876. othercreditdecrease:
  9877. description: 今日其它授信减少
  9878. type: number
  9879. othercreditincrease:
  9880. description: 今日其它授信增加
  9881. type: number
  9882. otherfreezemargin:
  9883. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  9884. type: number
  9885. otherincome:
  9886. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  9887. type: number
  9888. otherpay:
  9889. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  9890. type: number
  9891. outamount:
  9892. description: 今日出金金额(包括三方出金)
  9893. type: number
  9894. outamountfreeze:
  9895. description: 出金冻结
  9896. type: number
  9897. outthreshold:
  9898. description: 出金阈值
  9899. type: number
  9900. parentaccountid:
  9901. description: 所属根账号
  9902. type: integer
  9903. paycharge:
  9904. description: 今日手续费支出
  9905. type: number
  9906. relatedaccountstatus:
  9907. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  9908. type: integer
  9909. relateduserid:
  9910. description: 关联用户
  9911. type: integer
  9912. serivcegroup:
  9913. description: 服务分组
  9914. type: integer
  9915. signstatus:
  9916. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  9917. type: integer
  9918. sublevelpath:
  9919. description: 账号层级路径(逗号分隔,首尾加逗号)
  9920. type: string
  9921. taaccounttype:
  9922. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  9923. type: integer
  9924. thirdinamount:
  9925. description: 今日三方入金
  9926. type: number
  9927. thirdoutamount:
  9928. description: 今日三方出金
  9929. type: number
  9930. tradestatus:
  9931. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9932. type: integer
  9933. tradestatuschangetime:
  9934. description: 激活时间
  9935. type: string
  9936. transferamount:
  9937. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  9938. type: number
  9939. usedmargin:
  9940. description: 占用保证金
  9941. type: number
  9942. userid:
  9943. description: 用户ID
  9944. type: integer
  9945. required:
  9946. - accountid
  9947. - userid
  9948. type: object
  9949. models.Tablecolumnconfig:
  9950. properties:
  9951. aligntype:
  9952. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  9953. type: integer
  9954. autoid:
  9955. description: AutoID
  9956. type: integer
  9957. columnfield:
  9958. description: 列字段
  9959. type: string
  9960. columntitle:
  9961. description: 列Title
  9962. type: string
  9963. columnwidth:
  9964. description: 列宽
  9965. type: string
  9966. formatterstring:
  9967. description: 格式化字符
  9968. type: string
  9969. formattertype:
  9970. description: 格式化类型
  9971. type: string
  9972. groupname:
  9973. description: 表头分组名称
  9974. type: string
  9975. isshow:
  9976. description: 是否显示 - 0:不显示 1:显示
  9977. type: integer
  9978. needsummary:
  9979. description: 是否需要汇总 - 0:不需要 1:需要
  9980. type: integer
  9981. orderindex:
  9982. description: 顺序
  9983. type: integer
  9984. remark:
  9985. description: 备注
  9986. type: string
  9987. summarytype:
  9988. description: 汇总类型 - 1:加总 2:最后一个
  9989. type: integer
  9990. tablekey:
  9991. description: 列表Key
  9992. type: string
  9993. required:
  9994. - autoid
  9995. type: object
  9996. models.Useraccount:
  9997. properties:
  9998. accountname:
  9999. description: 账户名称(机构名称)
  10000. type: string
  10001. accountstatus:
  10002. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  10003. type: integer
  10004. auditremark:
  10005. description: 审核备注
  10006. type: string
  10007. audittime:
  10008. description: 审核时间
  10009. type: string
  10010. audituserid:
  10011. description: 审核人
  10012. type: integer
  10013. broker:
  10014. description: 所属经纪人ID
  10015. type: integer
  10016. canceltime:
  10017. description: 销户时间
  10018. type: string
  10019. canceluserid:
  10020. description: 销户人
  10021. type: integer
  10022. createtime:
  10023. description: 创建时间
  10024. type: string
  10025. creatorid:
  10026. description: 创建人
  10027. type: integer
  10028. hasauth:
  10029. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  10030. type: integer
  10031. isanonymous:
  10032. description: 是否匿名下单 - 0:否 1:是
  10033. type: integer
  10034. maxinvestornum:
  10035. description: 最大用户数(经纪会员下投资者个数)
  10036. type: integer
  10037. memberuserid:
  10038. description: 所属会员ID
  10039. type: integer
  10040. modifierid:
  10041. description: 修改人
  10042. type: integer
  10043. modifyremark:
  10044. description: 变更备注
  10045. type: string
  10046. modifystatus:
  10047. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  10048. type: integer
  10049. modifytime:
  10050. description: 修改时间
  10051. type: string
  10052. parentuserid:
  10053. description: 所属机构ID
  10054. type: integer
  10055. reckonaccountid:
  10056. description: 默认结算资金账号ID(机构分润使用) 作废
  10057. type: integer
  10058. refercount:
  10059. description: 推荐总人数
  10060. type: integer
  10061. refereeuserid:
  10062. description: 推荐人ID
  10063. type: integer
  10064. refernum:
  10065. description: 推荐码
  10066. type: string
  10067. subarealevelpath:
  10068. description: 子机构层级路径(逗号分隔,首尾加逗号)
  10069. type: string
  10070. userid:
  10071. description: 用户ID
  10072. type: integer
  10073. usertype:
  10074. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  10075. type: integer
  10076. required:
  10077. - userid
  10078. type: object
  10079. models.Userfavoritegoods:
  10080. properties:
  10081. goodsid:
  10082. description: 商品ID
  10083. type: integer
  10084. required:
  10085. - goodsid
  10086. type: object
  10087. models.Userinfo:
  10088. properties:
  10089. address:
  10090. description: 地址
  10091. type: string
  10092. attachment1:
  10093. description: 附件1
  10094. type: string
  10095. attachment2:
  10096. description: 附件2
  10097. type: string
  10098. bankaccount:
  10099. description: 银行帐号 (加密存储)
  10100. type: string
  10101. bankaccountname:
  10102. description: 收款人名称
  10103. type: string
  10104. bankcardfrontphotourl:
  10105. description: 银行卡正面照地址
  10106. type: string
  10107. bankid:
  10108. description: 银行编码
  10109. type: string
  10110. bankname:
  10111. description: 银行名称
  10112. type: string
  10113. biznature:
  10114. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  10115. type: integer
  10116. bizscope:
  10117. description: 企业经营范围(企业)
  10118. type: string
  10119. cardbackphotourl:
  10120. description: 证件背面图片地址
  10121. type: string
  10122. cardfrontphotourl:
  10123. description: 证件正面图片地址
  10124. type: string
  10125. cardnum:
  10126. description: 证件号码(加密存储)
  10127. type: string
  10128. cardtypeid:
  10129. description: 证件类型ID
  10130. type: integer
  10131. cityid:
  10132. description: 市
  10133. type: integer
  10134. company:
  10135. description: 公司(个人)
  10136. type: string
  10137. contactname:
  10138. description: 联系人
  10139. type: string
  10140. countryid:
  10141. description: 国家
  10142. type: integer
  10143. createtime:
  10144. description: 创建时间
  10145. type: string
  10146. creatorid:
  10147. description: 创建人
  10148. type: integer
  10149. customername:
  10150. description: 客户名称(企业名称)
  10151. type: string
  10152. districtid:
  10153. description: 地区
  10154. type: integer
  10155. email:
  10156. description: 邮件(加密存储)
  10157. type: string
  10158. fax:
  10159. description: 传真(加密存储)
  10160. type: string
  10161. halfbodyphotourl:
  10162. description: 半身照地址
  10163. type: string
  10164. hasencrypt:
  10165. description: 数据是否已加密 - 0:未加密 1:已加密
  10166. type: integer
  10167. headurl:
  10168. description: 头像地址
  10169. type: string
  10170. legalcardbackphotourl:
  10171. description: 法人身份证背面照地址
  10172. type: string
  10173. legalcardfrontphotourl:
  10174. description: 法人身份证正面照地址
  10175. type: string
  10176. legalpersonname:
  10177. description: 法人姓名(企业)
  10178. type: string
  10179. mobile:
  10180. description: 手机号码(加密存储)
  10181. type: string
  10182. mobile2:
  10183. description: 手机号码[明文-尚志]
  10184. type: string
  10185. modifierid:
  10186. description: 修改人
  10187. type: integer
  10188. modifiertime:
  10189. description: 修改时间
  10190. type: string
  10191. needinvoice:
  10192. description: 是否需要发票 - 0:不需要 1:需要
  10193. type: integer
  10194. nickname:
  10195. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  10196. type: string
  10197. openmode:
  10198. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  10199. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  10200. type: integer
  10201. otherurl:
  10202. description: 其它图片地址[使用分号分隔]
  10203. type: string
  10204. postalcode:
  10205. description: 邮政编码
  10206. type: string
  10207. provinceid:
  10208. description: 省
  10209. type: integer
  10210. qq:
  10211. description: QQ(加密存储
  10212. type: string
  10213. remark:
  10214. description: 备注
  10215. type: string
  10216. sex:
  10217. description: '用户性别 0: 女 1: 男'
  10218. type: integer
  10219. signpdfurl:
  10220. description: 签约pdf文件
  10221. type: string
  10222. telphone:
  10223. description: 联系电话(加密存储)
  10224. type: string
  10225. userid:
  10226. description: 用户ID
  10227. type: integer
  10228. userinfotype:
  10229. description: 用户信息类型 - 1:个人 2:企业
  10230. type: integer
  10231. userstatus:
  10232. description: 用户状态 - 1:正常 2:注销
  10233. type: integer
  10234. usertype:
  10235. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  10236. type: integer
  10237. wechat:
  10238. description: 微信(加密存储)
  10239. type: string
  10240. wskhinfo:
  10241. description: 开户申请信息(JSON)
  10242. type: string
  10243. required:
  10244. - userid
  10245. type: object
  10246. models.WRSConverTDetail:
  10247. properties:
  10248. convertratio:
  10249. description: 套保系数
  10250. type: number
  10251. deliverygoodscode:
  10252. description: 现货商品代码
  10253. type: string
  10254. deliverygoodsid:
  10255. description: 现货品种ID
  10256. type: integer
  10257. deliverygoodsname:
  10258. description: 现货商品名称
  10259. type: string
  10260. enumdicname:
  10261. description: 单位名称
  10262. type: string
  10263. goodsunitid:
  10264. description: 套保品种单位id
  10265. type: integer
  10266. middlegoodscode:
  10267. description: 套保品种代码
  10268. type: string
  10269. middlegoodsid:
  10270. description: 套保品种ID
  10271. type: integer
  10272. middlegoodsname:
  10273. description: 套保品种名称
  10274. type: string
  10275. modifytime:
  10276. description: 修改时间
  10277. type: string
  10278. wrstandardid:
  10279. description: 品类ID
  10280. type: integer
  10281. type: object
  10282. models.WRStandardInfo:
  10283. properties:
  10284. areauserid:
  10285. description: 所属机构
  10286. type: integer
  10287. convertfactor:
  10288. description: 标仓系数
  10289. type: number
  10290. createtime:
  10291. description: 创建时间
  10292. type: string
  10293. creatorid:
  10294. description: 创建人
  10295. type: integer
  10296. deliverygoodsid:
  10297. description: 品种ID
  10298. type: integer
  10299. deliverygoodsname:
  10300. description: 交割商品名称
  10301. type: string
  10302. factoryitemjson:
  10303. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  10304. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  10305. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  10306. 逗号分隔'
  10307. type: string
  10308. isvalid:
  10309. description: 是否有效 - 0:无效 1:有效
  10310. type: integer
  10311. minivalue:
  10312. description: 最小变动值
  10313. type: integer
  10314. minivaluedp:
  10315. description: 最小变动值小数位
  10316. type: integer
  10317. realminivalue:
  10318. description: 实际最小变动值
  10319. type: integer
  10320. realminivaluedp:
  10321. description: 实际最小变动值小数位
  10322. type: integer
  10323. remark:
  10324. description: 备注
  10325. type: string
  10326. unitid:
  10327. description: 单位ID
  10328. type: integer
  10329. unitname:
  10330. description: 单位
  10331. type: string
  10332. updatetime:
  10333. description: 更新时间
  10334. type: string
  10335. updatorid:
  10336. description: 更新人
  10337. type: integer
  10338. wrsstatus:
  10339. description: 状态 - 作废 - 0:未激活 1:正常
  10340. type: integer
  10341. wrstandardcode:
  10342. description: 现货品类代码
  10343. type: string
  10344. wrstandardid:
  10345. description: 现货品类ID(SEQ_WRSTANDARD)
  10346. type: integer
  10347. wrstandardname:
  10348. description: 现货品类名称
  10349. type: string
  10350. required:
  10351. - wrstandardid
  10352. type: object
  10353. models.Warehouseinfo:
  10354. properties:
  10355. address:
  10356. description: 详细地址
  10357. type: string
  10358. areauserid:
  10359. description: 所属机构
  10360. type: integer
  10361. autoid:
  10362. description: 自增ID
  10363. type: integer
  10364. cityid:
  10365. description: 市
  10366. type: integer
  10367. contactname:
  10368. description: 联系人
  10369. type: string
  10370. contactnum:
  10371. description: 联系电话
  10372. type: string
  10373. countryid:
  10374. description: 国家
  10375. type: integer
  10376. createtime:
  10377. description: 创建时间
  10378. type: string
  10379. districtid:
  10380. description: 区
  10381. type: integer
  10382. hasvideo:
  10383. description: 是否有视频 - 0:无 1:有
  10384. type: integer
  10385. provinceid:
  10386. description: 省
  10387. type: integer
  10388. remark:
  10389. description: 审核备注
  10390. type: string
  10391. videourl:
  10392. description: 视频地址
  10393. type: string
  10394. warehousecode:
  10395. description: 仓库代码
  10396. type: string
  10397. warehousename:
  10398. description: 仓库名称
  10399. type: string
  10400. warehousestatus:
  10401. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  10402. type: integer
  10403. warehousetype:
  10404. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  10405. type: integer
  10406. required:
  10407. - autoid
  10408. - warehousecode
  10409. type: object
  10410. order.QueryHisTradeDetailRsp:
  10411. properties:
  10412. accountid:
  10413. description: 账户ID[报价币种]
  10414. type: integer
  10415. buildtype:
  10416. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  10417. type: integer
  10418. buyorsell:
  10419. description: 方向 - 0:买 1:卖
  10420. type: integer
  10421. charge:
  10422. description: 手续费
  10423. type: number
  10424. closecharge:
  10425. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  10426. type: number
  10427. closeexchagechargevalue:
  10428. description: 平仓交易所手续费设置值
  10429. type: number
  10430. closefeealgorithm:
  10431. description: 平仓手续费收取方式 1:比率 2:固定
  10432. type: integer
  10433. closememberchargevalue:
  10434. description: 平仓会员手续费设置值
  10435. type: number
  10436. closepl:
  10437. description: 平仓盈亏
  10438. type: number
  10439. closepl2:
  10440. description: 平仓盈亏[逐笔]
  10441. type: number
  10442. closeqty:
  10443. description: 平仓数量(先建后平操作 需要记录)
  10444. type: integer
  10445. creditamount:
  10446. description: 授信金额
  10447. type: number
  10448. gcaccountid:
  10449. description: 账户ID[合约币种]
  10450. type: integer
  10451. goodscode:
  10452. description: 商品代码
  10453. type: string
  10454. goodsid:
  10455. description: 商品ID
  10456. type: integer
  10457. goodsname:
  10458. description: 商品名称
  10459. type: string
  10460. histradedate:
  10461. description: 历史交易日
  10462. type: string
  10463. intclosepl:
  10464. description: 整型盈亏(用于交易结算试算平衡-收益权)
  10465. type: integer
  10466. isconfirmexercise:
  10467. description: 是否确认行权- 0:否 1:是
  10468. type: integer
  10469. ismain:
  10470. description: 是否主单 - 0:不是 1:是
  10471. type: integer
  10472. ispreexercise:
  10473. description: 是否预申报- 0:否 1:是
  10474. type: integer
  10475. isreckoned:
  10476. description: 是否结算 - 0:未结算 1:已结算
  10477. type: integer
  10478. isvaliddata:
  10479. description: 是否有效 - 0:无效 1:有效
  10480. type: integer
  10481. listingselecttype:
  10482. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  10483. type: integer
  10484. marketid:
  10485. description: 市场ID
  10486. type: integer
  10487. marketname:
  10488. description: 市场名称
  10489. type: string
  10490. matchaccountid:
  10491. description: 对手账号id
  10492. type: integer
  10493. memberuserid:
  10494. description: 会员id 个人投资者 需要填写
  10495. type: integer
  10496. opencharge:
  10497. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  10498. type: number
  10499. openexchagechargevalue:
  10500. description: 建仓交易所手续费设置值
  10501. type: number
  10502. openfeealgorithm:
  10503. description: 建仓手续费收取方式 1:比率 2:固定
  10504. type: integer
  10505. openmemberchargevalue:
  10506. description: 建仓会员手续费设置值
  10507. type: number
  10508. openqty:
  10509. description: 开仓数量(先建后平操作 需要记录)
  10510. type: integer
  10511. optiontype:
  10512. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  10513. type: integer
  10514. orderid:
  10515. description: 委托单号
  10516. type: string
  10517. performanceplanid:
  10518. description: 履约计划ID[期权]
  10519. type: integer
  10520. performancestatus:
  10521. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  10522. type: integer
  10523. preexerciseprice:
  10524. description: 预申报价格
  10525. type: number
  10526. premium:
  10527. description: 权利金 - [持仓单的权利金]
  10528. type: number
  10529. relatedouttradeid:
  10530. description: 关联外部成交单ID
  10531. type: integer
  10532. status:
  10533. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  10534. type: integer
  10535. tradeamount:
  10536. description: 成交金额[账户币种,用于所有权]
  10537. type: number
  10538. tradedate:
  10539. description: 交易日(yyyyMMdd)
  10540. type: string
  10541. tradeid:
  10542. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10543. type: string
  10544. trademode:
  10545. description: 交易模式
  10546. type: integer
  10547. tradeprice:
  10548. description: 成交价格
  10549. type: number
  10550. tradeproperty:
  10551. description: 交易属性
  10552. type: integer
  10553. tradeqty:
  10554. description: 成交数量
  10555. type: integer
  10556. tradetime:
  10557. description: 成交时间
  10558. type: string
  10559. tradetype:
  10560. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  10561. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  10562. type: integer
  10563. required:
  10564. - accountid
  10565. - buyorsell
  10566. - goodsid
  10567. - histradedate
  10568. - marketid
  10569. - memberuserid
  10570. - orderid
  10571. - tradeamount
  10572. - tradedate
  10573. - tradeid
  10574. - tradeprice
  10575. - tradeqty
  10576. - tradetime
  10577. type: object
  10578. order.QueryHisTradeOrderDetailRsp:
  10579. properties:
  10580. accountid:
  10581. description: 账户ID[报价币种]
  10582. type: integer
  10583. buildtype:
  10584. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  10585. type: integer
  10586. buyorsell:
  10587. description: 买卖 - 0:买 1:卖
  10588. type: integer
  10589. cancelorderid:
  10590. description: 撤单单号(撤单时填写)
  10591. type: string
  10592. cancelqty:
  10593. description: 撤单数量
  10594. type: integer
  10595. clientordertime:
  10596. description: 客户端委托时间
  10597. type: string
  10598. clientticket:
  10599. description: 客户端流水号
  10600. type: string
  10601. clienttype:
  10602. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  10603. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  10604. type: integer
  10605. closeexchagechargevalue:
  10606. description: 平仓交易所手续费设置值
  10607. type: number
  10608. closefeealgorithm:
  10609. description: 平仓手续费收取方式 1:比率 2:固定
  10610. type: integer
  10611. closefreezecharge:
  10612. description: 平仓冻结手续费(先建后平操作,需要记录)
  10613. type: number
  10614. closememberchargevalue:
  10615. description: 平仓会员手续费设置值
  10616. type: number
  10617. closeqty:
  10618. description: 平仓数量(先建后平操作 需要记录)
  10619. type: integer
  10620. closetradeqty:
  10621. description: 平仓成交数量(先建后平操作,需要记录)
  10622. type: integer
  10623. closeunfreezecharge:
  10624. description: 平仓解冻手续费(先建后平操作,需要记录)
  10625. type: number
  10626. delistingtype:
  10627. description: 摘牌类型 - 1:价格最优 2:点选成交
  10628. type: integer
  10629. freezecharge:
  10630. description: 冻结手续费
  10631. type: number
  10632. freezemargin:
  10633. description: 冻结保证金(冻结交易金额)
  10634. type: number
  10635. gcaccountid:
  10636. description: 账户ID[合约币种]
  10637. type: integer
  10638. goodscode:
  10639. description: 商品代码
  10640. type: string
  10641. goodsid:
  10642. description: 商品ID
  10643. type: integer
  10644. goodsname:
  10645. description: 商品名称
  10646. type: string
  10647. histradedate:
  10648. description: 历史交易日
  10649. type: string
  10650. isconfirmexercise:
  10651. description: 是否确认行权- 0:否 1:是
  10652. type: integer
  10653. ispreexercise:
  10654. description: 是否预申报- 0:否 1:是
  10655. type: integer
  10656. isvaliddata:
  10657. description: 是否有效 - 0:无效 1:有效
  10658. type: integer
  10659. listingselecttype:
  10660. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  10661. type: integer
  10662. marginalgorithm:
  10663. description: 保证金收取方式 1:比率 2:固定
  10664. type: integer
  10665. marginvalue:
  10666. description: 即市保证金设置值
  10667. type: number
  10668. marketid:
  10669. description: 市场ID
  10670. type: integer
  10671. marketmaxsub:
  10672. description: 市价最大偏移范围
  10673. type: number
  10674. marketname:
  10675. description: 市场名称
  10676. type: string
  10677. memberuserid:
  10678. description: 所属会员UserID
  10679. type: integer
  10680. openexchagechargevalue:
  10681. description: 建仓交易所手续费设置值
  10682. type: number
  10683. openfeealgorithm:
  10684. description: 建仓手续费收取方式 1:比率 2:固定
  10685. type: integer
  10686. openfreezecharge:
  10687. description: 开仓冻结手续费(先建后平操作,需要记录)
  10688. type: number
  10689. openmemberchargevalue:
  10690. description: 建仓会员手续费设置值
  10691. type: number
  10692. openqty:
  10693. description: 开仓数量(先建后平操作,需要记录)
  10694. type: integer
  10695. opentradeqty:
  10696. description: 开仓成交数量(先建后平操作,需要记录)
  10697. type: integer
  10698. openunfreezecharge:
  10699. description: 开仓解冻手续费(先建后平操作,需要记录)
  10700. type: number
  10701. operatetype:
  10702. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  10703. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  10704. 15:管理端协议转让
  10705. type: integer
  10706. operatorid:
  10707. description: 登录账号(LoginID)
  10708. type: integer
  10709. optiontype:
  10710. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  10711. type: integer
  10712. orderid:
  10713. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10714. type: string
  10715. orderprice:
  10716. description: 委托价格
  10717. type: number
  10718. orderqty:
  10719. description: 委托数量
  10720. type: integer
  10721. ordersrc:
  10722. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  10723. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  10724. type: integer
  10725. orderstatus:
  10726. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  10727. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  10728. 16:成交失败违约(荷兰式竞拍专用)
  10729. type: integer
  10730. ordertime:
  10731. description: 委托时间
  10732. type: string
  10733. preexerciseprice:
  10734. description: 预申报价格
  10735. type: number
  10736. premium:
  10737. description: 权利金
  10738. type: number
  10739. preorderid:
  10740. description: 关联预埋单号(止盈止损单时填写)
  10741. type: string
  10742. pricemode:
  10743. description: '取价方式 - 1:市价 2: 限价'
  10744. type: integer
  10745. quoteid:
  10746. description: 报价单ID
  10747. type: integer
  10748. relatedid:
  10749. description: 关联单号(交割单)
  10750. type: string
  10751. retcode:
  10752. description: 错误代码
  10753. type: integer
  10754. sessionid:
  10755. description: 会话ID
  10756. type: integer
  10757. tradedate:
  10758. description: 交易日(yyyyMMdd)
  10759. type: string
  10760. trademode:
  10761. description: 交易模式
  10762. type: integer
  10763. tradeproperty:
  10764. description: 交易属性
  10765. type: integer
  10766. tradeqty:
  10767. description: 成交数量
  10768. type: integer
  10769. unfreezecharge:
  10770. description: 解冻手续费
  10771. type: number
  10772. unfreezemargin:
  10773. description: 解冻保证金
  10774. type: number
  10775. updatetime:
  10776. description: 更新时间
  10777. type: string
  10778. uuid:
  10779. description: 发起端唯一id
  10780. type: string
  10781. validtime:
  10782. description: 有效期限
  10783. type: string
  10784. validtype:
  10785. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  10786. type: integer
  10787. volumetype:
  10788. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  10789. type: integer
  10790. required:
  10791. - accountid
  10792. - buildtype
  10793. - buyorsell
  10794. - goodsid
  10795. - histradedate
  10796. - marketid
  10797. - memberuserid
  10798. - operatetype
  10799. - orderid
  10800. - orderqty
  10801. - ordertime
  10802. - pricemode
  10803. - tradedate
  10804. - validtype
  10805. type: object
  10806. order.QueryTradeDetailRsp:
  10807. properties:
  10808. accountid:
  10809. description: 账户ID[报价币种]
  10810. type: integer
  10811. buildtype:
  10812. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  10813. type: integer
  10814. buyorsell:
  10815. description: 方向 - 0:买 1:卖
  10816. type: integer
  10817. charge:
  10818. description: 手续费
  10819. type: number
  10820. closecharge:
  10821. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  10822. type: number
  10823. closeexchagechargevalue:
  10824. description: 平仓交易所手续费设置值
  10825. type: number
  10826. closefeealgorithm:
  10827. description: 平仓手续费收取方式 1:比率 2:固定
  10828. type: integer
  10829. closememberchargevalue:
  10830. description: 平仓会员手续费设置值
  10831. type: number
  10832. closepl:
  10833. description: 平仓盈亏
  10834. type: number
  10835. closepl2:
  10836. description: 平仓盈亏[逐笔]
  10837. type: number
  10838. closeqty:
  10839. description: 平仓数量(先建后平操作 需要记录)
  10840. type: integer
  10841. creditamount:
  10842. description: 授信金额
  10843. type: number
  10844. gcaccountid:
  10845. description: 账户ID[合约币种]
  10846. type: integer
  10847. goodscode:
  10848. description: 商品代码
  10849. type: string
  10850. goodsid:
  10851. description: 商品ID
  10852. type: integer
  10853. goodsname:
  10854. description: 商品名称
  10855. type: string
  10856. intclosepl:
  10857. description: 整型盈亏(用于交易结算试算平衡-收益权)
  10858. type: integer
  10859. isconfirmexercise:
  10860. description: 是否确认行权- 0:否 1:是
  10861. type: integer
  10862. ismain:
  10863. description: 是否主单 - 0:不是 1:是
  10864. type: integer
  10865. ispreexercise:
  10866. description: 是否预申报- 0:否 1:是
  10867. type: integer
  10868. isreckoned:
  10869. description: 是否结算 - 0:未结算 1:已结算
  10870. type: integer
  10871. listingselecttype:
  10872. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  10873. type: integer
  10874. marketid:
  10875. description: 市场ID
  10876. type: integer
  10877. marketname:
  10878. description: 市场名称
  10879. type: string
  10880. matchaccountid:
  10881. description: 对手账号id
  10882. type: integer
  10883. memberuserid:
  10884. description: 会员id 个人投资者 需要填写
  10885. type: integer
  10886. opencharge:
  10887. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  10888. type: number
  10889. openexchagechargevalue:
  10890. description: 建仓交易所手续费设置值
  10891. type: number
  10892. openfeealgorithm:
  10893. description: 建仓手续费收取方式 1:比率 2:固定
  10894. type: integer
  10895. openmemberchargevalue:
  10896. description: 建仓会员手续费设置值
  10897. type: number
  10898. openqty:
  10899. description: 开仓数量(先建后平操作 需要记录)
  10900. type: integer
  10901. optiontype:
  10902. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  10903. type: integer
  10904. orderid:
  10905. description: 委托单号
  10906. type: string
  10907. performanceplanid:
  10908. description: 履约计划ID[期权]
  10909. type: integer
  10910. performancestatus:
  10911. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  10912. type: integer
  10913. preexerciseprice:
  10914. description: 预申报价格
  10915. type: number
  10916. premium:
  10917. description: 权利金 - [持仓单的权利金]
  10918. type: number
  10919. relatedouttradeid:
  10920. description: 关联外部成交单ID
  10921. type: integer
  10922. status:
  10923. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  10924. type: integer
  10925. tradeamount:
  10926. description: 成交金额[账户币种,用于所有权]
  10927. type: number
  10928. tradedate:
  10929. description: 交易日(yyyyMMdd)
  10930. type: string
  10931. tradeid:
  10932. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10933. type: string
  10934. trademode:
  10935. description: 交易模式
  10936. type: integer
  10937. tradeprice:
  10938. description: 成交价格
  10939. type: number
  10940. tradeproperty:
  10941. description: 交易属性
  10942. type: integer
  10943. tradeqty:
  10944. description: 成交数量
  10945. type: integer
  10946. tradetime:
  10947. description: 成交时间
  10948. type: string
  10949. tradetype:
  10950. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  10951. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  10952. type: integer
  10953. required:
  10954. - accountid
  10955. - buyorsell
  10956. - goodsid
  10957. - marketid
  10958. - memberuserid
  10959. - orderid
  10960. - tradeamount
  10961. - tradedate
  10962. - tradeid
  10963. - tradeprice
  10964. - tradeqty
  10965. - tradetime
  10966. type: object
  10967. order.QueryTradeOrderDetailRsp:
  10968. properties:
  10969. accountid:
  10970. description: 账户ID[报价币种]
  10971. type: integer
  10972. buildtype:
  10973. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  10974. type: integer
  10975. buyorsell:
  10976. description: 买卖 - 0:买 1:卖
  10977. type: integer
  10978. cancelorderid:
  10979. description: 撤单单号(撤单时填写)
  10980. type: string
  10981. cancelqty:
  10982. description: 撤单数量
  10983. type: integer
  10984. clienttype:
  10985. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  10986. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  10987. type: integer
  10988. closefreezecharge:
  10989. description: 平仓冻结手续费(先建后平操作,需要记录)
  10990. type: number
  10991. closeqty:
  10992. description: 平仓数量(先建后平操作 需要记录)
  10993. type: integer
  10994. closetradeqty:
  10995. description: 平仓成交数量(先建后平操作,需要记录)
  10996. type: integer
  10997. closeunfreezecharge:
  10998. description: 平仓解冻手续费(先建后平操作,需要记录)
  10999. type: number
  11000. delistingtype:
  11001. description: 摘牌类型 - 1:价格最优 2:点选成交
  11002. type: integer
  11003. enableqty:
  11004. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  11005. type: integer
  11006. freezecharge:
  11007. description: 冻结手续费
  11008. type: number
  11009. freezemargin:
  11010. description: 冻结保证金(冻结交易金额)
  11011. type: number
  11012. goodscode:
  11013. description: 商品代码
  11014. type: string
  11015. goodsid:
  11016. description: 商品ID
  11017. type: integer
  11018. goodsname:
  11019. description: 商品名称
  11020. type: string
  11021. listingselecttype:
  11022. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  11023. type: integer
  11024. marketid:
  11025. description: 市场ID
  11026. type: integer
  11027. marketname:
  11028. description: 市场名称
  11029. type: string
  11030. openfreezecharge:
  11031. description: 开仓冻结手续费(先建后平操作,需要记录)
  11032. type: number
  11033. openqty:
  11034. description: 开仓数量(先建后平操作,需要记录)
  11035. type: integer
  11036. opentradeqty:
  11037. description: 开仓成交数量(先建后平操作,需要记录)
  11038. type: integer
  11039. openunfreezecharge:
  11040. description: 开仓解冻手续费(先建后平操作,需要记录)
  11041. type: number
  11042. operatetype:
  11043. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  11044. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  11045. 15:管理端协议转让
  11046. type: integer
  11047. operatorid:
  11048. description: 登录账号(LoginID)
  11049. type: integer
  11050. orderid:
  11051. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11052. type: string
  11053. orderprice:
  11054. description: 委托价格
  11055. type: number
  11056. orderqty:
  11057. description: 委托数量
  11058. type: integer
  11059. ordersrc:
  11060. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  11061. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  11062. type: integer
  11063. orderstatus:
  11064. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  11065. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  11066. 16:成交失败违约(荷兰式竞拍专用)
  11067. type: integer
  11068. ordertime:
  11069. description: 委托时间
  11070. type: string
  11071. preorderid:
  11072. description: 关联预埋单号(止盈止损单时填写)
  11073. type: string
  11074. pricemode:
  11075. description: '取价方式 - 1:市价 2: 限价'
  11076. type: integer
  11077. relatedid:
  11078. description: 关联单号(交割单)
  11079. type: string
  11080. tradedate:
  11081. description: 交易日(yyyyMMdd)
  11082. type: string
  11083. trademode:
  11084. description: 交易模式
  11085. type: integer
  11086. tradeqty:
  11087. description: 成交数量
  11088. type: integer
  11089. unfreezecharge:
  11090. description: 解冻手续费
  11091. type: number
  11092. unfreezemargin:
  11093. description: 解冻保证金
  11094. type: number
  11095. validtime:
  11096. description: 有效期限
  11097. type: string
  11098. validtype:
  11099. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  11100. type: integer
  11101. volumetype:
  11102. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  11103. type: integer
  11104. required:
  11105. - accountid
  11106. - buildtype
  11107. - buyorsell
  11108. - goodsid
  11109. - marketid
  11110. - operatetype
  11111. - orderqty
  11112. - ordertime
  11113. - pricemode
  11114. - tradedate
  11115. - validtype
  11116. type: object
  11117. order.QueryTradePositionRsp:
  11118. properties:
  11119. accountid:
  11120. description: 资金账户
  11121. type: integer
  11122. agreeunit:
  11123. description: 合约单位
  11124. type: number
  11125. averageprice:
  11126. description: 持仓均价
  11127. type: number
  11128. buyorsell:
  11129. description: 方向 - 0:买 1:卖
  11130. type: integer
  11131. closetotalqty:
  11132. description: 平仓总数量
  11133. type: integer
  11134. curholderamount:
  11135. description: 当前持仓总金额[商品币种]
  11136. type: number
  11137. curpositionqty:
  11138. description: 当前持仓总数量
  11139. type: integer
  11140. currencyid:
  11141. description: 报价货币ID
  11142. type: integer
  11143. curtdposition:
  11144. description: 期末今日头寸
  11145. type: integer
  11146. decimalplace:
  11147. description: 报价小数位
  11148. type: integer
  11149. enableqty:
  11150. description: 可用量
  11151. type: integer
  11152. fretdposition:
  11153. description: 冻结今日头寸
  11154. type: integer
  11155. frozenqty:
  11156. description: 持仓冻结数量
  11157. type: integer
  11158. goodscode:
  11159. description: 商品代码
  11160. type: string
  11161. goodsid:
  11162. description: 商品Id
  11163. type: integer
  11164. goodsname:
  11165. description: 商品名称
  11166. type: string
  11167. goodunit:
  11168. description: 报价单位
  11169. type: string
  11170. goodunitid:
  11171. description: 报价单位ID
  11172. type: integer
  11173. holderamount:
  11174. description: 期初持仓总金额[商品币种]
  11175. type: number
  11176. marketid:
  11177. description: 所属市场ID
  11178. type: integer
  11179. openreqqty:
  11180. description: 开仓申请数量(用于比较最大持仓数量)
  11181. type: integer
  11182. opentotalqty:
  11183. description: 开仓总数量
  11184. type: integer
  11185. otherfrozenqty:
  11186. description: 持仓其他冻结数量(交割冻结)
  11187. type: integer
  11188. positionqty:
  11189. description: 期初持仓数量
  11190. type: integer
  11191. tnqty:
  11192. description: T+N冻结总量
  11193. type: integer
  11194. tnusedqty:
  11195. description: T+N使用量(可以使用T+N的冻结数量)
  11196. type: integer
  11197. trademode:
  11198. description: 交易模式
  11199. type: integer
  11200. usedmargin:
  11201. description: 占用保证金[商品币种]
  11202. type: number
  11203. required:
  11204. - goodsid
  11205. type: object
  11206. quote.HistoryData:
  11207. properties:
  11208. c:
  11209. description: 收盘价
  11210. type: number
  11211. f:
  11212. description: 是否补充数据
  11213. type: boolean
  11214. h:
  11215. description: 最高价
  11216. type: number
  11217. hv:
  11218. description: 持仓量
  11219. type: integer
  11220. l:
  11221. description: 最低价
  11222. type: number
  11223. o:
  11224. description: 开盘价
  11225. type: number
  11226. s:
  11227. description: 结算价,日线周期(包括)以上才有
  11228. type: number
  11229. ts:
  11230. description: 时间
  11231. type: string
  11232. tt:
  11233. description: 总金额
  11234. type: number
  11235. tv:
  11236. description: 总量
  11237. type: integer
  11238. type: object
  11239. quote.HistoryTikData:
  11240. properties:
  11241. AV:
  11242. description: 卖量
  11243. type: integer
  11244. Ask:
  11245. description: 卖价
  11246. type: number
  11247. BV:
  11248. description: 买量
  11249. type: integer
  11250. Bid:
  11251. description: 买价
  11252. type: number
  11253. HI:
  11254. description: 单笔持仓
  11255. type: integer
  11256. HV:
  11257. description: 持仓量
  11258. type: integer
  11259. PE:
  11260. description: 现价
  11261. type: number
  11262. TDR:
  11263. description: 交易方向,0:买 1:卖
  11264. type: integer
  11265. TK:
  11266. description: 交易类型
  11267. type: integer
  11268. TS:
  11269. description: 行情时间文本
  11270. type: string
  11271. TT:
  11272. description: 现金额
  11273. type: number
  11274. Vol:
  11275. description: 现量
  11276. type: integer
  11277. type: object
  11278. quote.QueryQuoteDayRsp:
  11279. properties:
  11280. ask:
  11281. description: 卖1
  11282. type: number
  11283. ask2:
  11284. description: 卖2
  11285. type: number
  11286. ask3:
  11287. description: 卖3
  11288. type: number
  11289. ask4:
  11290. description: 卖4
  11291. type: number
  11292. ask5:
  11293. description: 卖5
  11294. type: number
  11295. ask6:
  11296. description: 卖6
  11297. type: number
  11298. ask7:
  11299. description: 卖7
  11300. type: number
  11301. ask8:
  11302. description: 卖8
  11303. type: number
  11304. ask9:
  11305. description: 卖9
  11306. type: number
  11307. ask10:
  11308. description: 卖10
  11309. type: number
  11310. askorderid:
  11311. description: 卖单号1
  11312. type: integer
  11313. askorderid2:
  11314. description: 卖单号2
  11315. type: integer
  11316. askorderid3:
  11317. description: 卖单号3
  11318. type: integer
  11319. askorderid4:
  11320. description: 卖单号4
  11321. type: integer
  11322. askorderid5:
  11323. description: 卖单号5
  11324. type: integer
  11325. askordervolume:
  11326. description: 卖单量1
  11327. type: integer
  11328. askordervolume2:
  11329. description: 卖单量2
  11330. type: integer
  11331. askordervolume3:
  11332. description: 卖单量3
  11333. type: integer
  11334. askordervolume4:
  11335. description: 卖单量4
  11336. type: integer
  11337. askordervolume5:
  11338. description: 卖单量5
  11339. type: integer
  11340. askordervolume6:
  11341. description: 卖单量6
  11342. type: integer
  11343. askordervolume7:
  11344. description: 卖单量7
  11345. type: integer
  11346. askordervolume8:
  11347. description: 卖单量8
  11348. type: integer
  11349. askordervolume9:
  11350. description: 卖单量9
  11351. type: integer
  11352. askordervolume10:
  11353. description: 卖单量10
  11354. type: integer
  11355. askqueueinfo:
  11356. description: 大利市卖港股用
  11357. type: string
  11358. askvolume:
  11359. description: 卖量1
  11360. type: integer
  11361. askvolume2:
  11362. description: 卖量2
  11363. type: integer
  11364. askvolume3:
  11365. description: 卖量3
  11366. type: integer
  11367. askvolume4:
  11368. description: 卖量4
  11369. type: integer
  11370. askvolume5:
  11371. description: 卖量5
  11372. type: integer
  11373. askvolume6:
  11374. description: 卖量6
  11375. type: integer
  11376. askvolume7:
  11377. description: 卖量7
  11378. type: integer
  11379. askvolume8:
  11380. description: 卖量8
  11381. type: integer
  11382. askvolume9:
  11383. description: 卖量9
  11384. type: integer
  11385. askvolume10:
  11386. description: 卖量10
  11387. type: integer
  11388. averageprice:
  11389. description: 均价
  11390. type: number
  11391. bid:
  11392. description: 买1
  11393. type: number
  11394. bid2:
  11395. description: 买2
  11396. type: number
  11397. bid3:
  11398. description: 买3
  11399. type: number
  11400. bid4:
  11401. description: 买4
  11402. type: number
  11403. bid5:
  11404. description: 买5
  11405. type: number
  11406. bid6:
  11407. description: 买6
  11408. type: number
  11409. bid7:
  11410. description: 买7
  11411. type: number
  11412. bid8:
  11413. description: 买8
  11414. type: number
  11415. bid9:
  11416. description: 买9
  11417. type: number
  11418. bid10:
  11419. description: 买10
  11420. type: number
  11421. bidorderid:
  11422. description: 买单号1
  11423. type: integer
  11424. bidorderid2:
  11425. description: 买单号2
  11426. type: integer
  11427. bidorderid3:
  11428. description: 买单号3
  11429. type: integer
  11430. bidorderid4:
  11431. description: 买单号4
  11432. type: integer
  11433. bidorderid5:
  11434. description: 买单号5
  11435. type: integer
  11436. bidordervolume:
  11437. description: 买单量1
  11438. type: integer
  11439. bidordervolume2:
  11440. description: 买单量2
  11441. type: integer
  11442. bidordervolume3:
  11443. description: 买单量3
  11444. type: integer
  11445. bidordervolume4:
  11446. description: 买单量4
  11447. type: integer
  11448. bidordervolume5:
  11449. description: 买单量5
  11450. type: integer
  11451. bidordervolume6:
  11452. description: 买单量6
  11453. type: integer
  11454. bidordervolume7:
  11455. description: 买单量7
  11456. type: integer
  11457. bidordervolume8:
  11458. description: 买单量8
  11459. type: integer
  11460. bidordervolume9:
  11461. description: 买单量9
  11462. type: integer
  11463. bidordervolume10:
  11464. description: 买单量10
  11465. type: integer
  11466. bidqueueinfo:
  11467. description: 大利市买港股用
  11468. type: string
  11469. bidvolume:
  11470. description: 买量1
  11471. type: integer
  11472. bidvolume2:
  11473. description: 买量2
  11474. type: integer
  11475. bidvolume3:
  11476. description: 买量3
  11477. type: integer
  11478. bidvolume4:
  11479. description: 买量4
  11480. type: integer
  11481. bidvolume5:
  11482. description: 买量5
  11483. type: integer
  11484. bidvolume6:
  11485. description: 买量6
  11486. type: integer
  11487. bidvolume7:
  11488. description: 买量7
  11489. type: integer
  11490. bidvolume8:
  11491. description: 买量8
  11492. type: integer
  11493. bidvolume9:
  11494. description: 买量9
  11495. type: integer
  11496. bidvolume10:
  11497. description: 买量10
  11498. type: integer
  11499. calloptionpremiums:
  11500. description: 认购期权1
  11501. type: integer
  11502. calloptionpremiums2:
  11503. description: 认购期权2
  11504. type: integer
  11505. calloptionpremiums3:
  11506. description: 认购期权3
  11507. type: integer
  11508. calloptionpremiums4:
  11509. description: 认购期权4
  11510. type: integer
  11511. calloptionpremiums5:
  11512. description: 认购期权5
  11513. type: integer
  11514. cleartime:
  11515. description: 清盘时间
  11516. type: integer
  11517. exchangecode:
  11518. description: 交易所代码
  11519. type: integer
  11520. exchangedate:
  11521. description: 交易日
  11522. type: integer
  11523. goodscode:
  11524. description: 商品代码
  11525. type: string
  11526. grepmarketprice:
  11527. description: 暗盘价 港股专用
  11528. type: number
  11529. highest:
  11530. description: 最高价
  11531. type: number
  11532. holdincrement:
  11533. description: 单笔持仓
  11534. type: integer
  11535. holdvolume:
  11536. description: 持仓
  11537. type: integer
  11538. iep:
  11539. description: 平衡价 港股专用
  11540. type: number
  11541. iev:
  11542. description: 平衡量 港股专用
  11543. type: number
  11544. inventory:
  11545. description: 库存
  11546. type: integer
  11547. iscleared:
  11548. description: 是否清盘标志
  11549. type: integer
  11550. issettled:
  11551. description: 是否结算标志
  11552. type: integer
  11553. last:
  11554. description: 最新价
  11555. type: number
  11556. lastlot:
  11557. description: 最新成交手数
  11558. type: integer
  11559. lasttime:
  11560. description: 行情时间(只有现价变化行情时间才变化)
  11561. type: string
  11562. lastturnover:
  11563. description: 最新成交金额
  11564. type: number
  11565. lastvolume:
  11566. description: 最新成交量
  11567. type: integer
  11568. limitdown:
  11569. description: 跌停价
  11570. type: number
  11571. limitup:
  11572. description: 涨停价
  11573. type: number
  11574. lowest:
  11575. description: 最低价
  11576. type: number
  11577. nontotalholdervolume:
  11578. description: 非交易持仓量
  11579. type: integer
  11580. nontotallot:
  11581. description: 非交易总手数
  11582. type: integer
  11583. nontotalturnover:
  11584. description: 非交易总金额
  11585. type: integer
  11586. nontotalvolume:
  11587. description: 非交易总量
  11588. type: integer
  11589. opened:
  11590. description: 开盘价
  11591. type: number
  11592. opentime:
  11593. description: 开盘时间
  11594. type: string
  11595. orderid:
  11596. description: 序号
  11597. type: integer
  11598. preclose:
  11599. description: 昨收
  11600. type: number
  11601. preholdvolume:
  11602. description: 昨持仓
  11603. type: integer
  11604. presettle:
  11605. description: 昨结价
  11606. type: number
  11607. publictradetype:
  11608. description: 公共交易标志类型 港股专用
  11609. type: string
  11610. putoptionpremiums:
  11611. description: 认沽期权1
  11612. type: integer
  11613. putoptionpremiums2:
  11614. description: 认沽期权2
  11615. type: integer
  11616. putoptionpremiums3:
  11617. description: 认沽期权3
  11618. type: integer
  11619. putoptionpremiums4:
  11620. description: 认沽期权4
  11621. type: integer
  11622. putoptionpremiums5:
  11623. description: 认沽期权5
  11624. type: integer
  11625. settle:
  11626. description: 结算价
  11627. type: number
  11628. strikeprice:
  11629. description: 发行价
  11630. type: number
  11631. totalaskvolume:
  11632. description: 内盘
  11633. type: integer
  11634. totalbidvolume:
  11635. description: 外盘
  11636. type: integer
  11637. totallot:
  11638. description: 总手数
  11639. type: integer
  11640. totalturnover:
  11641. description: 总金额
  11642. type: number
  11643. totalvolume:
  11644. description: 总量
  11645. type: integer
  11646. utclasttime:
  11647. description: utc的行情时间
  11648. type: string
  11649. type: object
  11650. quote.QueryTSDataRsp:
  11651. properties:
  11652. Count:
  11653. description: 交易日应有数据个数
  11654. type: integer
  11655. decimalPlace:
  11656. description: 小数位
  11657. type: integer
  11658. endTime:
  11659. description: 结束时间
  11660. type: string
  11661. goodsCode:
  11662. description: 商品代码
  11663. type: string
  11664. historyDatas:
  11665. description: 历史数据
  11666. items:
  11667. $ref: '#/definitions/quote.HistoryData'
  11668. type: array
  11669. outGoodsCode:
  11670. description: 外部商品代码
  11671. type: string
  11672. preSettle:
  11673. description: 昨结价
  11674. type: number
  11675. runSteps:
  11676. description: 交易日开休市计划
  11677. items:
  11678. $ref: '#/definitions/quote.TSDataRunStep'
  11679. type: array
  11680. startTime:
  11681. description: 开始时间
  11682. type: string
  11683. tradeDate:
  11684. description: 交易日
  11685. type: string
  11686. type: object
  11687. quote.TSDataRunStep:
  11688. properties:
  11689. end:
  11690. description: 真实结束时间
  11691. type: string
  11692. endflag:
  11693. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  11694. type: integer
  11695. endtime:
  11696. description: 结束时间(HH:mm)
  11697. type: string
  11698. endweekday:
  11699. description: 结束周几
  11700. type: integer
  11701. groupid:
  11702. description: 分组ID
  11703. type: integer
  11704. runstep:
  11705. description: 运行阶段 - 2:连续交易
  11706. type: integer
  11707. sectionid:
  11708. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  11709. 结束时间=结算时间 结束周几=结算周几
  11710. type: integer
  11711. start:
  11712. description: 真实开始时间
  11713. type: string
  11714. startflag:
  11715. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  11716. type: integer
  11717. starttime:
  11718. description: 起始时间(HH:mm)
  11719. type: string
  11720. startweekday:
  11721. description: 起始周几
  11722. type: integer
  11723. tradeweekday:
  11724. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  11725. type: integer
  11726. type: object
  11727. szdz.QueryConvertLogRsp:
  11728. properties:
  11729. accountid:
  11730. description: 资金账户ID
  11731. type: integer
  11732. clientticket:
  11733. description: 客户端流水号
  11734. type: string
  11735. converttype:
  11736. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  11737. type: integer
  11738. createtime:
  11739. description: 记账时间
  11740. type: string
  11741. daymaxvalue:
  11742. description: 配置当日最大转入限制
  11743. type: number
  11744. daymaxvalue2:
  11745. description: 配置当日最大转入限制(转入)
  11746. type: number
  11747. goodscode:
  11748. description: 商品代码
  11749. type: string
  11750. goodsname:
  11751. description: 商品名称
  11752. type: string
  11753. handlestatus:
  11754. description: 处理状态
  11755. type: integer
  11756. innergoodsid:
  11757. description: 内部商品ID
  11758. type: integer
  11759. inratio:
  11760. description: 配置转入比值
  11761. type: integer
  11762. invalue:
  11763. description: 目标值
  11764. type: number
  11765. logid:
  11766. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11767. type: integer
  11768. mobile:
  11769. description: 手机号码(加密存储)
  11770. type: string
  11771. outergoodscode:
  11772. description: 外部商品代码[JD\PD]
  11773. type: string
  11774. outratio:
  11775. description: 配置转出比值
  11776. type: integer
  11777. outvalue:
  11778. description: 源值
  11779. type: number
  11780. pddecimalplace:
  11781. description: PD小数位
  11782. type: integer
  11783. qty:
  11784. description: 数量
  11785. type: string
  11786. remark:
  11787. description: 备注
  11788. type: string
  11789. sessionid:
  11790. description: 会话ID
  11791. type: integer
  11792. timemaxvalue:
  11793. description: 配置单次最大转入限制
  11794. type: number
  11795. timemaxvalue2:
  11796. description: 配置单次最大转入限制(转入)
  11797. type: number
  11798. timeminvalue:
  11799. description: 配置单次最小数量限制
  11800. type: number
  11801. timeminvalue2:
  11802. description: 配置单次最小数量限制(转入)
  11803. type: number
  11804. tradedate:
  11805. description: 交易日(yyyyMMdd)
  11806. type: string
  11807. userid:
  11808. description: 用户ID
  11809. type: integer
  11810. required:
  11811. - logid
  11812. type: object
  11813. szdz.QueryGoodsPickupRsp:
  11814. properties:
  11815. accountid:
  11816. description: 账户ID
  11817. type: integer
  11818. address:
  11819. description: 提货人详细地址
  11820. type: string
  11821. auditer:
  11822. description: 审核人
  11823. type: integer
  11824. audittime:
  11825. description: 审核时间
  11826. type: string
  11827. cardnum:
  11828. description: 提货人证件号码
  11829. type: string
  11830. cardtypeid:
  11831. description: 提货人证件类型
  11832. type: integer
  11833. checkremark:
  11834. description: 审核备注
  11835. type: string
  11836. goodscode:
  11837. description: 商品代码
  11838. type: string
  11839. goodsid:
  11840. description: 商品ID
  11841. type: integer
  11842. goodsname:
  11843. description: 商品名称
  11844. type: string
  11845. handlestatus:
  11846. description: 处理状态
  11847. type: integer
  11848. marketid:
  11849. description: 市场ID
  11850. type: integer
  11851. phonenum:
  11852. description: 提货人联系方式
  11853. type: string
  11854. qty:
  11855. description: 提货数量
  11856. type: number
  11857. recivername:
  11858. description: 提货人姓名
  11859. type: string
  11860. reqtime:
  11861. description: 更新时间
  11862. type: string
  11863. takemode:
  11864. description: 提货方式 - 2:自提 3:配送
  11865. type: integer
  11866. takeorderid:
  11867. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  11868. type: string
  11869. takeorderstatus:
  11870. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  11871. type: integer
  11872. takeremark:
  11873. description: 提货备注
  11874. type: string
  11875. tradedate:
  11876. description: 交易日(yyyyMMdd)
  11877. type: string
  11878. userid:
  11879. description: 用户ID
  11880. type: integer
  11881. required:
  11882. - takeorderid
  11883. type: object
  11884. szdz.QueryRecieptOrderRsp:
  11885. properties:
  11886. accountName:
  11887. description: 所属账号名称(已脱敏)
  11888. type: string
  11889. accountid:
  11890. description: 资金账号
  11891. type: integer
  11892. buyorsell:
  11893. description: 方向 - 0:买 1:卖
  11894. type: integer
  11895. enableqty:
  11896. description: 可摘数量
  11897. type: integer
  11898. goodscode:
  11899. description: 商品代码
  11900. type: string
  11901. goodsid:
  11902. description: 商品ID
  11903. type: integer
  11904. goodsname:
  11905. description: 商品名称
  11906. type: string
  11907. orderid:
  11908. description: 委托单号
  11909. type: string
  11910. orderprice:
  11911. description: 委托价格
  11912. type: number
  11913. ordertime:
  11914. description: 委托时间
  11915. type: string
  11916. tradedate:
  11917. description: 交易日(yyyyMMdd)
  11918. type: string
  11919. required:
  11920. - ordertime
  11921. type: object
  11922. szdz.QuerySZDZTradePositionRsp:
  11923. properties:
  11924. accountid:
  11925. description: 账号Id
  11926. type: integer
  11927. agreeunit:
  11928. description: 合约单位
  11929. type: number
  11930. averageprice:
  11931. description: 持仓均价
  11932. type: number
  11933. buyorsell:
  11934. description: 方向 - 0:买 1:卖
  11935. type: integer
  11936. closetotalqty:
  11937. description: 平仓总数量
  11938. type: integer
  11939. curholderamount:
  11940. description: 当前持仓总金额
  11941. type: number
  11942. curpositionqty:
  11943. description: 当前持仓总数量
  11944. type: integer
  11945. currencyid:
  11946. description: 报价货币ID
  11947. type: integer
  11948. curtdposition:
  11949. description: 期末今日头寸
  11950. type: integer
  11951. decimalplace:
  11952. description: 报价小数位
  11953. type: integer
  11954. enableqty:
  11955. description: 可用量
  11956. type: integer
  11957. fretdposition:
  11958. description: 冻结今日头寸
  11959. type: integer
  11960. frozenqty:
  11961. description: 持仓冻结数量
  11962. type: integer
  11963. goodscode:
  11964. description: 商品代码(内部)
  11965. type: string
  11966. goodsid:
  11967. description: 商品Id
  11968. type: integer
  11969. goodsname:
  11970. description: 商品名称
  11971. type: string
  11972. goodunit:
  11973. description: 报价单位
  11974. type: string
  11975. goodunitid:
  11976. description: 报价单位ID
  11977. type: integer
  11978. holderamount:
  11979. description: 期初持仓总金额
  11980. type: number
  11981. marketid:
  11982. description: 市场ID
  11983. type: integer
  11984. openreqqty:
  11985. description: 开仓申请数量
  11986. type: integer
  11987. opentotalqty:
  11988. description: 开仓总数量
  11989. type: integer
  11990. otherfrozenqty:
  11991. description: 持仓其他冻结数量(交割冻结)
  11992. type: integer
  11993. positionqty:
  11994. description: 期初持仓数量
  11995. type: integer
  11996. szdz3freezqty:
  11997. description: 尚志大宗转换冻结总数量
  11998. type: integer
  11999. tnqty:
  12000. description: T+N冻结总量
  12001. type: integer
  12002. tnusedqty:
  12003. description: T+N使用量
  12004. type: integer
  12005. trademode:
  12006. description: 交易模式
  12007. type: integer
  12008. usedmargin:
  12009. description: 占用保证金
  12010. type: number
  12011. type: object
  12012. taaccount.QueryAmountLogRsp:
  12013. properties:
  12014. OPERATETYPENAME:
  12015. description: 资金操作类型名称
  12016. type: string
  12017. accountid:
  12018. description: 资金账户ID
  12019. type: integer
  12020. agoodscode:
  12021. description: 竞拍商品代码
  12022. type: string
  12023. agoodsname:
  12024. description: 竞拍商品名称
  12025. type: string
  12026. amount:
  12027. description: 资金金额
  12028. type: number
  12029. amountadjusttype:
  12030. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  12031. type: integer
  12032. autoid:
  12033. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  12034. type: integer
  12035. balance:
  12036. description: 期初余额
  12037. type: number
  12038. businesscode:
  12039. description: 业务编号
  12040. type: integer
  12041. createtime:
  12042. description: 发生时间
  12043. type: string
  12044. currencyid:
  12045. description: 币种ID
  12046. type: integer
  12047. currentbalance:
  12048. description: 期末余额(变动后金额)
  12049. type: number
  12050. dgoodscode:
  12051. description: 交割商品代码
  12052. type: string
  12053. dgoodsname:
  12054. description: 交割商品名称
  12055. type: string
  12056. goodscode:
  12057. description: 商品代码
  12058. type: string
  12059. goodsid:
  12060. description: 商品ID
  12061. type: integer
  12062. goodsname:
  12063. description: 商品名称
  12064. type: string
  12065. marketid:
  12066. description: 市场ID
  12067. type: integer
  12068. marketname:
  12069. description: 市场名称
  12070. type: string
  12071. moneyticket:
  12072. description: 资金流水号:银行端流水号
  12073. type: integer
  12074. operatetype:
  12075. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  12076. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  12077. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  12078. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  12079. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  12080. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  12081. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  12082. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  12083. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  12084. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  12085. type: integer
  12086. relationorderid:
  12087. description: 关联单号
  12088. type: string
  12089. remark:
  12090. description: 备注
  12091. type: string
  12092. trademode:
  12093. description: 交易模式
  12094. type: integer
  12095. required:
  12096. - accountid
  12097. - amount
  12098. - amountadjusttype
  12099. - autoid
  12100. - balance
  12101. - createtime
  12102. - currentbalance
  12103. - operatetype
  12104. type: object
  12105. taaccount.QueryHisAmountLogRsp:
  12106. properties:
  12107. OPERATETYPENAME:
  12108. description: 资金操作类型名称
  12109. type: string
  12110. accountid:
  12111. description: 资金账户ID
  12112. type: integer
  12113. agoodscode:
  12114. description: 竞拍商品代码
  12115. type: string
  12116. agoodsname:
  12117. description: 竞拍商品名称
  12118. type: string
  12119. amount:
  12120. description: 资金金额
  12121. type: number
  12122. amountadjusttype:
  12123. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  12124. type: integer
  12125. autoid:
  12126. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  12127. type: integer
  12128. balance:
  12129. description: 期初余额
  12130. type: number
  12131. businesscode:
  12132. description: 业务编号
  12133. type: integer
  12134. createtime:
  12135. description: 发生时间
  12136. type: string
  12137. currencyid:
  12138. description: 币种ID
  12139. type: integer
  12140. currentbalance:
  12141. description: 期末余额(变动后金额)
  12142. type: number
  12143. dgoodscode:
  12144. description: 交割商品代码
  12145. type: string
  12146. dgoodsname:
  12147. description: 交割商品名称
  12148. type: string
  12149. goodscode:
  12150. description: 商品代码
  12151. type: string
  12152. goodsid:
  12153. description: 商品ID
  12154. type: integer
  12155. goodsname:
  12156. description: 商品名称
  12157. type: string
  12158. histradedate:
  12159. description: 历史交易日
  12160. type: string
  12161. isvaliddata:
  12162. description: 是否有效 - 0:无效 1:有效
  12163. type: integer
  12164. marketid:
  12165. description: 市场ID
  12166. type: integer
  12167. marketname:
  12168. description: 市场名称
  12169. type: string
  12170. moneyticket:
  12171. description: 资金流水号:银行端流水号
  12172. type: integer
  12173. operatetype:
  12174. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  12175. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  12176. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  12177. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  12178. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  12179. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  12180. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  12181. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  12182. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  12183. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  12184. type: integer
  12185. relationorderid:
  12186. description: 关联单号
  12187. type: string
  12188. remark:
  12189. description: 备注
  12190. type: string
  12191. trademode:
  12192. description: 交易模式
  12193. type: integer
  12194. required:
  12195. - accountid
  12196. - amount
  12197. - amountadjusttype
  12198. - autoid
  12199. - balance
  12200. - createtime
  12201. - currentbalance
  12202. - histradedate
  12203. - operatetype
  12204. type: object
  12205. trade.QueryRecieptOrderRsp:
  12206. properties:
  12207. accountName:
  12208. description: 所属账号名称(已脱敏)
  12209. type: string
  12210. accountid:
  12211. description: 资金账号
  12212. type: integer
  12213. buyorsell:
  12214. description: 方向 - 0:买 1:卖
  12215. type: integer
  12216. enableqty:
  12217. description: 可摘数量
  12218. type: integer
  12219. goodscode:
  12220. description: 商品代码
  12221. type: string
  12222. goodsid:
  12223. description: 商品ID
  12224. type: integer
  12225. goodsname:
  12226. description: 商品名称
  12227. type: string
  12228. orderid:
  12229. description: 委托单号
  12230. type: string
  12231. orderprice:
  12232. description: 委托价格
  12233. type: number
  12234. ordertime:
  12235. description: 委托时间
  12236. type: string
  12237. tradedate:
  12238. description: 交易日(yyyyMMdd)
  12239. type: string
  12240. required:
  12241. - ordertime
  12242. type: object
  12243. user.LoginQueryRsp:
  12244. properties:
  12245. externalExchanges:
  12246. description: 外部交易所
  12247. items:
  12248. $ref: '#/definitions/models.Externalexchange'
  12249. type: array
  12250. goodsgroups:
  12251. description: 商品组
  12252. items:
  12253. $ref: '#/definitions/models.Goodsgroup'
  12254. type: array
  12255. loginAccount:
  12256. $ref: '#/definitions/models.Loginaccount'
  12257. description: 登录账号
  12258. markets:
  12259. description: 市场
  12260. items:
  12261. $ref: '#/definitions/models.Market'
  12262. type: array
  12263. systemParams:
  12264. description: 系统参数
  12265. items:
  12266. $ref: '#/definitions/models.Systemparam'
  12267. type: array
  12268. userAccount:
  12269. $ref: '#/definitions/models.Useraccount'
  12270. description: 用户账号
  12271. userInfo:
  12272. $ref: '#/definitions/models.Userinfo'
  12273. description: 用户信息
  12274. username:
  12275. description: 用户姓名
  12276. type: string
  12277. type: object
  12278. info:
  12279. contact: {}
  12280. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  12281. termsOfService: http://muchinfo.cn
  12282. title: MTP2.0 查询服务 API
  12283. version: "1.0"
  12284. paths:
  12285. /CPTrade/QueryCPTradeMyBidInfos:
  12286. get:
  12287. parameters:
  12288. - description: 资金账户
  12289. in: query
  12290. name: accountid
  12291. required: true
  12292. type: integer
  12293. - description: 预售市场ID
  12294. in: query
  12295. name: marketid
  12296. type: integer
  12297. - description: 预售商品ID
  12298. in: query
  12299. name: goodsid
  12300. type: integer
  12301. produces:
  12302. - application/json
  12303. responses:
  12304. "200":
  12305. description: OK
  12306. schema:
  12307. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  12308. "500":
  12309. description: Internal Server Error
  12310. schema:
  12311. $ref: '#/definitions/app.Response'
  12312. security:
  12313. - ApiKeyAuth: []
  12314. summary: 查询产能预售我的出价信息
  12315. tags:
  12316. - 产能预售
  12317. /CPTrade/QueryCPTradeOrderDetail:
  12318. get:
  12319. parameters:
  12320. - description: 预售商品ID
  12321. in: query
  12322. name: goodsid
  12323. type: integer
  12324. - description: 预售市场ID
  12325. in: query
  12326. name: marketid
  12327. type: integer
  12328. - description: 预售商品ID列表 - 格式:1,2,3
  12329. in: query
  12330. name: goodsids
  12331. type: string
  12332. produces:
  12333. - application/json
  12334. responses:
  12335. "200":
  12336. description: OK
  12337. schema:
  12338. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  12339. "500":
  12340. description: Internal Server Error
  12341. schema:
  12342. $ref: '#/definitions/app.Response'
  12343. security:
  12344. - ApiKeyAuth: []
  12345. summary: 查询产能预售委托单信息
  12346. tags:
  12347. - 产能预售
  12348. /CPTrade/QueryMyCPTradeGoods:
  12349. get:
  12350. parameters:
  12351. - description: 资金账户
  12352. in: query
  12353. name: accountid
  12354. required: true
  12355. type: integer
  12356. produces:
  12357. - application/json
  12358. responses:
  12359. "200":
  12360. description: OK
  12361. schema:
  12362. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  12363. "500":
  12364. description: Internal Server Error
  12365. schema:
  12366. $ref: '#/definitions/app.Response'
  12367. security:
  12368. - ApiKeyAuth: []
  12369. summary: 查询我的预售信息
  12370. tags:
  12371. - 产能预售
  12372. /CPTrade/QueryPositionCancel:
  12373. get:
  12374. parameters:
  12375. - description: 账户ID
  12376. in: query
  12377. name: userid
  12378. required: true
  12379. type: integer
  12380. - description: 注销ID
  12381. in: query
  12382. name: cancelid
  12383. type: integer
  12384. - description: 资金账户ID
  12385. in: query
  12386. name: accountid
  12387. type: integer
  12388. produces:
  12389. - application/json
  12390. responses:
  12391. "200":
  12392. description: OK
  12393. schema:
  12394. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  12395. "500":
  12396. description: Internal Server Error
  12397. schema:
  12398. $ref: '#/definitions/app.Response'
  12399. security:
  12400. - ApiKeyAuth: []
  12401. summary: 查询远期订单注销申请信息
  12402. tags:
  12403. - 产能预售
  12404. /CPTrade/QueryPreasleApply:
  12405. get:
  12406. parameters:
  12407. - description: 账户ID
  12408. in: query
  12409. name: userid
  12410. required: true
  12411. type: integer
  12412. - description: 申请ID
  12413. in: query
  12414. name: applyid
  12415. type: integer
  12416. - description: 资金账户ID
  12417. in: query
  12418. name: accountid
  12419. type: integer
  12420. produces:
  12421. - application/json
  12422. responses:
  12423. "200":
  12424. description: OK
  12425. schema:
  12426. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  12427. "500":
  12428. description: Internal Server Error
  12429. schema:
  12430. $ref: '#/definitions/app.Response'
  12431. security:
  12432. - ApiKeyAuth: []
  12433. summary: 查询产能预售申请信息
  12434. tags:
  12435. - 产能预售
  12436. /CPTrade/QueryPresaleGoodsEx:
  12437. get:
  12438. parameters:
  12439. - description: 预售商品ID
  12440. in: query
  12441. name: goodsid
  12442. type: integer
  12443. - description: 预售市场ID
  12444. in: query
  12445. name: marketid
  12446. type: integer
  12447. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  12448. in: query
  12449. name: presalemode
  12450. type: integer
  12451. - description: 预售商品ID列表 - 格式:1,2,3
  12452. in: query
  12453. name: goodsids
  12454. type: string
  12455. - description: 预售商品代码
  12456. in: query
  12457. name: goodscode
  12458. type: string
  12459. produces:
  12460. - application/json
  12461. responses:
  12462. "200":
  12463. description: OK
  12464. schema:
  12465. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  12466. "500":
  12467. description: Internal Server Error
  12468. schema:
  12469. $ref: '#/definitions/app.Response'
  12470. security:
  12471. - ApiKeyAuth: []
  12472. summary: 查询产能预售商品扩展信息
  12473. tags:
  12474. - 产能预售
  12475. /CPTrade/QueryUserGoodsData:
  12476. get:
  12477. parameters:
  12478. - description: 资金账户ID
  12479. in: query
  12480. name: accountid
  12481. required: true
  12482. type: integer
  12483. produces:
  12484. - application/json
  12485. responses:
  12486. "200":
  12487. description: OK
  12488. schema:
  12489. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  12490. "500":
  12491. description: Internal Server Error
  12492. schema:
  12493. $ref: '#/definitions/app.Response'
  12494. security:
  12495. - ApiKeyAuth: []
  12496. summary: 查询远期订单信息
  12497. tags:
  12498. - 产能预售
  12499. /Common/GetAllEnums:
  12500. get:
  12501. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  12502. parameters:
  12503. - description: 起始自增ID
  12504. in: query
  12505. name: autoid
  12506. type: integer
  12507. produces:
  12508. - application/json
  12509. responses:
  12510. "200":
  12511. description: OK
  12512. schema:
  12513. $ref: '#/definitions/models.Enumdicitem'
  12514. "500":
  12515. description: Internal Server Error
  12516. schema:
  12517. $ref: '#/definitions/app.Response'
  12518. summary: 获取所有枚举信息
  12519. tags:
  12520. - 通用服务
  12521. /Common/GetClientMenus:
  12522. get:
  12523. parameters:
  12524. - description: 登录账号
  12525. in: query
  12526. name: loginID
  12527. required: true
  12528. type: integer
  12529. - description: 终端类型,0:PC 1:Mobile
  12530. in: query
  12531. name: clientType
  12532. type: integer
  12533. produces:
  12534. - application/json
  12535. responses:
  12536. "200":
  12537. description: OK
  12538. schema:
  12539. items:
  12540. $ref: '#/definitions/common.ClientMenu'
  12541. type: array
  12542. "500":
  12543. description: Internal Server Error
  12544. schema:
  12545. $ref: '#/definitions/app.Response'
  12546. security:
  12547. - ApiKeyAuth: []
  12548. summary: 获取交易端菜单
  12549. tags:
  12550. - 通用服务
  12551. /Common/GetDivisions:
  12552. get:
  12553. produces:
  12554. - application/json
  12555. responses:
  12556. "200":
  12557. description: OK
  12558. schema:
  12559. $ref: '#/definitions/models.Division'
  12560. "500":
  12561. description: Internal Server Error
  12562. schema:
  12563. $ref: '#/definitions/app.Response'
  12564. summary: 查询区域信息
  12565. tags:
  12566. - 通用服务
  12567. /Common/GetServerTime:
  12568. get:
  12569. produces:
  12570. - application/json
  12571. responses:
  12572. "200":
  12573. description: OK
  12574. schema:
  12575. $ref: '#/definitions/app.Response'
  12576. "500":
  12577. description: Internal Server Error
  12578. schema:
  12579. $ref: '#/definitions/app.Response'
  12580. summary: 获取服务器时间
  12581. tags:
  12582. - 通用服务
  12583. /Common/NoticeReaded:
  12584. post:
  12585. parameters:
  12586. - description: 登录账号
  12587. in: query
  12588. name: loginID
  12589. required: true
  12590. type: integer
  12591. - description: 通知公告ID
  12592. in: query
  12593. name: noticeID
  12594. required: true
  12595. type: integer
  12596. produces:
  12597. - application/json
  12598. responses:
  12599. "200":
  12600. description: OK
  12601. schema:
  12602. $ref: '#/definitions/app.Response'
  12603. "500":
  12604. description: Internal Server Error
  12605. schema:
  12606. $ref: '#/definitions/app.Response'
  12607. security:
  12608. - ApiKeyAuth: []
  12609. summary: 通知公告设置已读请求
  12610. tags:
  12611. - 通用服务
  12612. /Common/QueryErrorInfos:
  12613. get:
  12614. description: 如果传入rowNumber,则返回此rowNumber后的数据
  12615. parameters:
  12616. - description: 起始行号前索引
  12617. in: query
  12618. name: rowNumber
  12619. type: string
  12620. produces:
  12621. - application/json
  12622. responses:
  12623. "200":
  12624. description: OK
  12625. schema:
  12626. $ref: '#/definitions/models.QueryErrorInfosRsp'
  12627. "500":
  12628. description: Internal Server Error
  12629. schema:
  12630. $ref: '#/definitions/app.Response'
  12631. summary: 获取数据库错误信息
  12632. tags:
  12633. - 通用服务
  12634. /Common/QueryImageConfigs:
  12635. get:
  12636. parameters:
  12637. - description: 类型 - 1:App首页轮播 2:我的
  12638. in: query
  12639. name: imageType
  12640. type: integer
  12641. produces:
  12642. - application/json
  12643. responses:
  12644. "200":
  12645. description: OK
  12646. schema:
  12647. $ref: '#/definitions/common.QueryImageConfigsRsp'
  12648. "500":
  12649. description: Internal Server Error
  12650. schema:
  12651. $ref: '#/definitions/app.Response'
  12652. summary: 查询轮播图配置信息
  12653. tags:
  12654. - 通用服务
  12655. /Common/QueryNotice:
  12656. get:
  12657. parameters:
  12658. - description: 页码
  12659. in: query
  12660. name: page
  12661. type: integer
  12662. - description: 每页条数
  12663. in: query
  12664. name: pagesize
  12665. type: integer
  12666. - description: 登录账号
  12667. in: query
  12668. name: loginID
  12669. required: true
  12670. type: integer
  12671. - description: 消息类型 - 1:公告通知 2:系统消息
  12672. in: query
  12673. name: msgType
  12674. type: integer
  12675. - description: 是否只获取未读信息
  12676. in: query
  12677. name: onlyUnRead
  12678. type: boolean
  12679. - description: 自增ID,传入后会返回这个ID后面的记录
  12680. in: query
  12681. name: lastID
  12682. type: integer
  12683. produces:
  12684. - application/json
  12685. responses:
  12686. "200":
  12687. description: OK
  12688. schema:
  12689. $ref: '#/definitions/common.QueryNoticeRsp'
  12690. "500":
  12691. description: Internal Server Error
  12692. schema:
  12693. $ref: '#/definitions/app.Response'
  12694. security:
  12695. - ApiKeyAuth: []
  12696. summary: 通知公告系统消息查询
  12697. tags:
  12698. - 通用服务
  12699. /Common/QueryProvincesAndCities:
  12700. get:
  12701. parameters:
  12702. - description: 省ID
  12703. in: query
  12704. name: provinceID
  12705. type: integer
  12706. produces:
  12707. - application/json
  12708. responses:
  12709. "200":
  12710. description: OK
  12711. schema:
  12712. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  12713. "500":
  12714. description: Internal Server Error
  12715. schema:
  12716. $ref: '#/definitions/app.Response'
  12717. summary: 查询省市信息(不包括区)
  12718. tags:
  12719. - 通用服务
  12720. /Common/QueryTableDefine:
  12721. get:
  12722. parameters:
  12723. - description: 表key
  12724. in: query
  12725. name: tableKey
  12726. type: string
  12727. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  12728. in: query
  12729. name: tableType
  12730. type: integer
  12731. produces:
  12732. - application/json
  12733. responses:
  12734. "200":
  12735. description: OK
  12736. schema:
  12737. $ref: '#/definitions/common.QueryTableDefineRsp'
  12738. "500":
  12739. description: Internal Server Error
  12740. schema:
  12741. $ref: '#/definitions/app.Response'
  12742. summary: 查询交易端列表头信息
  12743. tags:
  12744. - 通用服务
  12745. /Common/QueryTraderMenu:
  12746. get:
  12747. parameters:
  12748. - description: 登录账号
  12749. in: query
  12750. name: loginid
  12751. required: true
  12752. type: integer
  12753. produces:
  12754. - application/json
  12755. responses:
  12756. "200":
  12757. description: OK
  12758. schema:
  12759. $ref: '#/definitions/common.QueryTraderMenuRsp'
  12760. "500":
  12761. description: Internal Server Error
  12762. schema:
  12763. $ref: '#/definitions/app.Response'
  12764. summary: 查询交易端菜单
  12765. tags:
  12766. - 通用服务
  12767. /Delivery/QueryDeliveryRelation:
  12768. get:
  12769. parameters:
  12770. - description: 商品ID
  12771. in: query
  12772. name: goodsid
  12773. type: integer
  12774. - description: 品种ID
  12775. in: query
  12776. name: deliverygoodsid
  12777. type: integer
  12778. - description: 市场ID
  12779. in: query
  12780. name: marketid
  12781. type: integer
  12782. produces:
  12783. - application/json
  12784. responses:
  12785. "200":
  12786. description: OK
  12787. schema:
  12788. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  12789. "500":
  12790. description: Internal Server Error
  12791. schema:
  12792. $ref: '#/definitions/app.Response'
  12793. security:
  12794. - ApiKeyAuth: []
  12795. summary: 查询商品交割关系表
  12796. tags:
  12797. - 交割服务
  12798. /Ermcp/GetErmcpGoods:
  12799. get:
  12800. parameters:
  12801. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  12802. in: query
  12803. name: lastUpdateTime
  12804. type: string
  12805. produces:
  12806. - application/json
  12807. responses:
  12808. "200":
  12809. description: OK
  12810. schema:
  12811. $ref: '#/definitions/models.Goods'
  12812. "500":
  12813. description: Internal Server Error
  12814. schema:
  12815. $ref: '#/definitions/app.Response'
  12816. security:
  12817. - ApiKeyAuth: []
  12818. summary: 查询企业风管期货商品信息
  12819. tags:
  12820. - 企业风险管理(app)
  12821. /Ermcp/GetErmcpGoodsSortByPosition:
  12822. get:
  12823. parameters:
  12824. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  12825. in: query
  12826. name: sortIndex
  12827. type: string
  12828. produces:
  12829. - application/json
  12830. responses:
  12831. "200":
  12832. description: OK
  12833. schema:
  12834. $ref: '#/definitions/models.Goodssortbypreposition'
  12835. "500":
  12836. description: Internal Server Error
  12837. schema:
  12838. $ref: '#/definitions/app.Response'
  12839. security:
  12840. - ApiKeyAuth: []
  12841. summary: 查询企业风管期货主力、次主力商品信息
  12842. tags:
  12843. - 企业风险管理(app)
  12844. /Ermcp/GetErmcpOutAccountStatus:
  12845. get:
  12846. parameters:
  12847. - description: 登录账号
  12848. in: query
  12849. name: loginID
  12850. required: true
  12851. type: integer
  12852. produces:
  12853. - application/json
  12854. responses:
  12855. "200":
  12856. description: OK
  12857. schema:
  12858. $ref: '#/definitions/models.Hedgemarketopenlog'
  12859. "500":
  12860. description: Internal Server Error
  12861. schema:
  12862. $ref: '#/definitions/app.Response'
  12863. security:
  12864. - ApiKeyAuth: []
  12865. summary: 获取目标登录账号当前对冲账号在线状态
  12866. tags:
  12867. - 企业风险管理(app)
  12868. /Ermcp/GetErmcpRoleFuncMenuLists:
  12869. get:
  12870. parameters:
  12871. - description: 登录账号
  12872. in: query
  12873. name: loginID
  12874. required: true
  12875. type: integer
  12876. produces:
  12877. - application/json
  12878. responses:
  12879. "200":
  12880. description: OK
  12881. schema:
  12882. $ref: '#/definitions/models.Funcmenulist'
  12883. "500":
  12884. description: Internal Server Error
  12885. schema:
  12886. $ref: '#/definitions/app.Response'
  12887. security:
  12888. - ApiKeyAuth: []
  12889. summary: 获取企业风管终端权限
  12890. tags:
  12891. - 企业风险管理(app)
  12892. /Ermcp/QryReportAreaSpotPL:
  12893. get:
  12894. parameters:
  12895. - description: 用户ID
  12896. in: query
  12897. name: userid
  12898. required: true
  12899. type: integer
  12900. - description: 查询类型 1-日报表 2-月报表
  12901. in: query
  12902. name: querytype
  12903. required: true
  12904. type: integer
  12905. - description: 查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)
  12906. in: query
  12907. name: querydate
  12908. required: true
  12909. type: string
  12910. - description: 现货商品ID
  12911. in: query
  12912. name: wrstandardid
  12913. type: integer
  12914. - description: 品牌ID
  12915. in: query
  12916. name: spotgoodsbrandid
  12917. type: integer
  12918. - description: 型号ID
  12919. in: query
  12920. name: spotgoodsmodelid
  12921. type: integer
  12922. produces:
  12923. - application/json
  12924. responses:
  12925. "200":
  12926. description: OK
  12927. schema:
  12928. items:
  12929. $ref: '#/definitions/models.ErmcpReportAreaSpotPL'
  12930. type: array
  12931. "500":
  12932. description: Internal Server Error
  12933. schema:
  12934. $ref: '#/definitions/app.Response'
  12935. security:
  12936. - ApiKeyAuth: []
  12937. summary: 查询现货损益报表(现货损益报表)
  12938. tags:
  12939. - 企业风险管理(app)
  12940. /Ermcp/QryReportDayExposure:
  12941. get:
  12942. parameters:
  12943. - description: 用户ID
  12944. in: query
  12945. name: userid
  12946. required: true
  12947. type: integer
  12948. - description: 交易日(格式:yyyyMMdd)
  12949. in: query
  12950. name: tradedate
  12951. required: true
  12952. type: string
  12953. produces:
  12954. - application/json
  12955. responses:
  12956. "200":
  12957. description: OK
  12958. schema:
  12959. items:
  12960. $ref: '#/definitions/ermcp.QryReportExposureDayRsp'
  12961. type: array
  12962. "500":
  12963. description: Internal Server Error
  12964. schema:
  12965. $ref: '#/definitions/app.Response'
  12966. security:
  12967. - ApiKeyAuth: []
  12968. summary: 查询敞口日报表(菜单:报表查询/敞口报表/敞口日报表)
  12969. tags:
  12970. - 企业风险管理(app)
  12971. /Ermcp/QryReportDayFinance:
  12972. get:
  12973. parameters:
  12974. - description: 用户ID
  12975. in: query
  12976. name: userid
  12977. required: true
  12978. type: integer
  12979. - description: 交易日(格式:yyyyMMdd)
  12980. in: query
  12981. name: tradedate
  12982. required: true
  12983. type: string
  12984. produces:
  12985. - application/json
  12986. responses:
  12987. "200":
  12988. description: OK
  12989. schema:
  12990. items:
  12991. $ref: '#/definitions/ermcp.QryReportFinanceDayRsp'
  12992. type: array
  12993. "500":
  12994. description: Internal Server Error
  12995. schema:
  12996. $ref: '#/definitions/app.Response'
  12997. security:
  12998. - ApiKeyAuth: []
  12999. summary: 查询财务日报表(菜单:报表查询/财务报表/日报表)
  13000. tags:
  13001. - 企业风险管理(app)
  13002. /Ermcp/QryReportDayFinanceFp:
  13003. get:
  13004. parameters:
  13005. - description: 用户ID
  13006. in: query
  13007. name: userid
  13008. required: true
  13009. type: integer
  13010. - description: 交易日(格式:yyyyMMdd)
  13011. in: query
  13012. name: tradedate
  13013. required: true
  13014. type: string
  13015. produces:
  13016. - application/json
  13017. responses:
  13018. "200":
  13019. description: OK
  13020. schema:
  13021. items:
  13022. $ref: '#/definitions/ermcp.QryReportFinanceKxRsp'
  13023. type: array
  13024. "500":
  13025. description: Internal Server Error
  13026. schema:
  13027. $ref: '#/definitions/app.Response'
  13028. security:
  13029. - ApiKeyAuth: []
  13030. summary: 查询财务日报表发票(菜单:报表查询/财务报表/日报表/发票)
  13031. tags:
  13032. - 企业风险管理(app)
  13033. /Ermcp/QryReportDayFinanceKx:
  13034. get:
  13035. parameters:
  13036. - description: 用户ID
  13037. in: query
  13038. name: userid
  13039. required: true
  13040. type: integer
  13041. - description: 交易日(格式:yyyyMMdd)
  13042. in: query
  13043. name: tradedate
  13044. required: true
  13045. type: string
  13046. produces:
  13047. - application/json
  13048. responses:
  13049. "200":
  13050. description: OK
  13051. schema:
  13052. items:
  13053. $ref: '#/definitions/ermcp.QryReportFinanceKxRsp'
  13054. type: array
  13055. "500":
  13056. description: Internal Server Error
  13057. schema:
  13058. $ref: '#/definitions/app.Response'
  13059. security:
  13060. - ApiKeyAuth: []
  13061. summary: 查询财务日报表款项(菜单:报表查询/财务报表/日报表/款项)
  13062. tags:
  13063. - 企业风险管理(app)
  13064. /Ermcp/QryReportDaySpot:
  13065. get:
  13066. parameters:
  13067. - description: 用户ID
  13068. in: query
  13069. name: userid
  13070. required: true
  13071. type: integer
  13072. - description: 交易日(格式:yyyyMMdd)
  13073. in: query
  13074. name: tradedate
  13075. required: true
  13076. type: string
  13077. produces:
  13078. - application/json
  13079. responses:
  13080. "200":
  13081. description: OK
  13082. schema:
  13083. items:
  13084. $ref: '#/definitions/ermcp.QryReportSpotDayRsp'
  13085. type: array
  13086. "500":
  13087. description: Internal Server Error
  13088. schema:
  13089. $ref: '#/definitions/app.Response'
  13090. security:
  13091. - ApiKeyAuth: []
  13092. summary: 查询现货日报表(菜单:报表查询/现货报表/现货日报表)
  13093. tags:
  13094. - 企业风险管理(app)
  13095. /Ermcp/QryReportDaySpotDetail:
  13096. get:
  13097. parameters:
  13098. - description: 用户ID
  13099. in: query
  13100. name: userid
  13101. required: true
  13102. type: integer
  13103. - description: 现货商品id
  13104. in: query
  13105. name: wrstandardid
  13106. required: true
  13107. type: integer
  13108. - description: 交易日(格式:yyyyMMdd)
  13109. in: query
  13110. name: tradedate
  13111. required: true
  13112. type: string
  13113. produces:
  13114. - application/json
  13115. responses:
  13116. "200":
  13117. description: OK
  13118. schema:
  13119. items:
  13120. $ref: '#/definitions/ermcp.QryReportDaySpotDetailRsp'
  13121. type: array
  13122. "500":
  13123. description: Internal Server Error
  13124. schema:
  13125. $ref: '#/definitions/app.Response'
  13126. security:
  13127. - ApiKeyAuth: []
  13128. summary: 查询现货日报表详情(菜单:报表查询/现货报表/现货日报表详情)
  13129. tags:
  13130. - 企业风险管理(app)
  13131. /Ermcp/QryReportMonthFinance:
  13132. get:
  13133. parameters:
  13134. - description: 用户ID
  13135. in: query
  13136. name: userid
  13137. required: true
  13138. type: integer
  13139. - description: 周期时间:月(格式:yyyyMM)
  13140. in: query
  13141. name: cycletime
  13142. required: true
  13143. type: string
  13144. produces:
  13145. - application/json
  13146. responses:
  13147. "200":
  13148. description: OK
  13149. schema:
  13150. items:
  13151. $ref: '#/definitions/ermcp.QryReportFinanceMonRsp'
  13152. type: array
  13153. "500":
  13154. description: Internal Server Error
  13155. schema:
  13156. $ref: '#/definitions/app.Response'
  13157. security:
  13158. - ApiKeyAuth: []
  13159. summary: 查询财务月报表(菜单:报表查询/财务报表/月报表)
  13160. tags:
  13161. - 企业风险管理(app)
  13162. /Ermcp/QryReportMonthSpot:
  13163. get:
  13164. parameters:
  13165. - description: 用户ID
  13166. in: query
  13167. name: userid
  13168. required: true
  13169. type: integer
  13170. - description: 周期时间:月(格式:yyyyMM)
  13171. in: query
  13172. name: cycletime
  13173. required: true
  13174. type: string
  13175. produces:
  13176. - application/json
  13177. responses:
  13178. "200":
  13179. description: OK
  13180. schema:
  13181. items:
  13182. $ref: '#/definitions/ermcp.QryReportSpotMonRsp'
  13183. type: array
  13184. "500":
  13185. description: Internal Server Error
  13186. schema:
  13187. $ref: '#/definitions/app.Response'
  13188. security:
  13189. - ApiKeyAuth: []
  13190. summary: 查询现货月报表(菜单:报表查询/现货报表/现货月报表)
  13191. tags:
  13192. - 企业风险管理(app)
  13193. /Ermcp/QryReportMonthSpotDetail:
  13194. get:
  13195. parameters:
  13196. - description: 用户ID
  13197. in: query
  13198. name: userid
  13199. required: true
  13200. type: integer
  13201. - description: 现货商品id
  13202. in: query
  13203. name: wrstandardid
  13204. required: true
  13205. type: integer
  13206. - description: 周期时间:月(格式:yyyyMM)
  13207. in: query
  13208. name: cycletime
  13209. required: true
  13210. type: string
  13211. produces:
  13212. - application/json
  13213. responses:
  13214. "200":
  13215. description: OK
  13216. schema:
  13217. items:
  13218. $ref: '#/definitions/ermcp.QryReportSpotMonthDetailRsp'
  13219. type: array
  13220. "500":
  13221. description: Internal Server Error
  13222. schema:
  13223. $ref: '#/definitions/app.Response'
  13224. security:
  13225. - ApiKeyAuth: []
  13226. summary: 查询现货月报表详情(菜单:报表查询/现货月报表/现货月报表详情)
  13227. tags:
  13228. - 企业风险管理(app)
  13229. /Ermcp/QueryAccMgrBizGroupSet:
  13230. get:
  13231. parameters:
  13232. - description: 用户ID
  13233. in: query
  13234. name: userid
  13235. required: true
  13236. type: integer
  13237. produces:
  13238. - application/json
  13239. responses:
  13240. "200":
  13241. description: OK
  13242. schema:
  13243. items:
  13244. $ref: '#/definitions/models.ErmcpBizGroupEx'
  13245. type: array
  13246. "500":
  13247. description: Internal Server Error
  13248. schema:
  13249. $ref: '#/definitions/app.Response'
  13250. security:
  13251. - ApiKeyAuth: []
  13252. summary: 查询业务类型分组(账户管理/账户设置)
  13253. tags:
  13254. - 企业风险管理(app)
  13255. /Ermcp/QueryAccMgrLoginUser:
  13256. get:
  13257. parameters:
  13258. - description: 用户ID
  13259. in: query
  13260. name: userid
  13261. required: true
  13262. type: integer
  13263. produces:
  13264. - application/json
  13265. responses:
  13266. "200":
  13267. description: OK
  13268. schema:
  13269. items:
  13270. $ref: '#/definitions/models.ErmcpLoginUserEx'
  13271. type: array
  13272. "500":
  13273. description: Internal Server Error
  13274. schema:
  13275. $ref: '#/definitions/app.Response'
  13276. security:
  13277. - ApiKeyAuth: []
  13278. summary: 查询账户管理登录账号(账户管理/登录账号)
  13279. tags:
  13280. - 企业风险管理(app)
  13281. /Ermcp/QueryAccMgrMainAccountInfo:
  13282. get:
  13283. parameters:
  13284. - description: 用户ID
  13285. in: query
  13286. name: userid
  13287. type: integer
  13288. - description: 主账号id
  13289. in: query
  13290. name: accountid
  13291. type: integer
  13292. produces:
  13293. - application/json
  13294. responses:
  13295. "200":
  13296. description: OK
  13297. schema:
  13298. items:
  13299. $ref: '#/definitions/models.MainAccountInfo'
  13300. type: array
  13301. "500":
  13302. description: Internal Server Error
  13303. schema:
  13304. $ref: '#/definitions/app.Response'
  13305. security:
  13306. - ApiKeyAuth: []
  13307. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  13308. tags:
  13309. - 企业风险管理(app)
  13310. /Ermcp/QueryAccMgrRole:
  13311. get:
  13312. parameters:
  13313. - description: 用户ID
  13314. in: query
  13315. name: userid
  13316. required: true
  13317. type: integer
  13318. produces:
  13319. - application/json
  13320. responses:
  13321. "200":
  13322. description: OK
  13323. schema:
  13324. items:
  13325. $ref: '#/definitions/models.ErmcpRole'
  13326. type: array
  13327. "500":
  13328. description: Internal Server Error
  13329. schema:
  13330. $ref: '#/definitions/app.Response'
  13331. security:
  13332. - ApiKeyAuth: []
  13333. summary: 查询账户管理角色设置(账户管理/角色设置)
  13334. tags:
  13335. - 企业风险管理(app)
  13336. /Ermcp/QueryAccMgrRoleMenu:
  13337. get:
  13338. parameters:
  13339. - description: 用户ID
  13340. in: query
  13341. name: userid
  13342. required: true
  13343. type: integer
  13344. - description: 角色id(可多个,逗号隔开)
  13345. in: query
  13346. name: roleid
  13347. type: string
  13348. produces:
  13349. - application/json
  13350. responses:
  13351. "200":
  13352. description: OK
  13353. schema:
  13354. items:
  13355. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  13356. type: array
  13357. "500":
  13358. description: Internal Server Error
  13359. schema:
  13360. $ref: '#/definitions/app.Response'
  13361. security:
  13362. - ApiKeyAuth: []
  13363. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  13364. tags:
  13365. - 企业风险管理(app)
  13366. /Ermcp/QueryAccMgrTaAccountInfo:
  13367. get:
  13368. parameters:
  13369. - description: 用户ID
  13370. in: query
  13371. name: userid
  13372. required: true
  13373. type: integer
  13374. - description: 账号id
  13375. in: query
  13376. name: accountid
  13377. type: integer
  13378. produces:
  13379. - application/json
  13380. responses:
  13381. "200":
  13382. description: OK
  13383. schema:
  13384. items:
  13385. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  13386. type: array
  13387. "500":
  13388. description: Internal Server Error
  13389. schema:
  13390. $ref: '#/definitions/app.Response'
  13391. security:
  13392. - ApiKeyAuth: []
  13393. summary: 查询账户管理授信(账户管理/账户设置/授信)
  13394. tags:
  13395. - 企业风险管理(app)
  13396. /Ermcp/QueryAccMgrTaaccount:
  13397. get:
  13398. parameters:
  13399. - description: 用户ID
  13400. in: query
  13401. name: userid
  13402. required: true
  13403. type: integer
  13404. produces:
  13405. - application/json
  13406. responses:
  13407. "200":
  13408. description: OK
  13409. schema:
  13410. items:
  13411. $ref: '#/definitions/models.ErmcpTaAccountEx'
  13412. type: array
  13413. "500":
  13414. description: Internal Server Error
  13415. schema:
  13416. $ref: '#/definitions/app.Response'
  13417. security:
  13418. - ApiKeyAuth: []
  13419. summary: 查询账户管理期货账号(账户管理/期货账号)
  13420. tags:
  13421. - 企业风险管理(app)
  13422. /Ermcp/QueryAreaStock:
  13423. get:
  13424. parameters:
  13425. - description: 用户ID
  13426. in: query
  13427. name: userid
  13428. required: true
  13429. type: integer
  13430. produces:
  13431. - application/json
  13432. responses:
  13433. "200":
  13434. description: OK
  13435. schema:
  13436. items:
  13437. $ref: '#/definitions/models.ErmcpAreaStock'
  13438. type: array
  13439. "500":
  13440. description: Internal Server Error
  13441. schema:
  13442. $ref: '#/definitions/app.Response'
  13443. security:
  13444. - ApiKeyAuth: []
  13445. summary: 查询机构库存(库存管理/当前库存)
  13446. tags:
  13447. - 企业风险管理(app)
  13448. /Ermcp/QueryAreaStockApply:
  13449. get:
  13450. parameters:
  13451. - description: 用户ID
  13452. in: query
  13453. name: userid
  13454. required: true
  13455. type: integer
  13456. - description: 出入库类型(可多项,逗号隔开) 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  13457. in: query
  13458. name: inouttype
  13459. type: string
  13460. - description: 合同ID
  13461. in: query
  13462. name: spotcontractid
  13463. type: integer
  13464. - description: 现货商品ID
  13465. in: query
  13466. name: wrstandardid
  13467. type: integer
  13468. - description: 品牌ID
  13469. in: query
  13470. name: spotgoodsbrandid
  13471. type: integer
  13472. - description: 型号ID
  13473. in: query
  13474. name: spotgoodsmodelid
  13475. type: integer
  13476. - description: 仓库ID
  13477. in: query
  13478. name: warehouseinfoid
  13479. type: integer
  13480. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13481. in: query
  13482. name: applystatus
  13483. type: string
  13484. produces:
  13485. - application/json
  13486. responses:
  13487. "200":
  13488. description: OK
  13489. schema:
  13490. items:
  13491. $ref: '#/definitions/ermcp.QryAreaStockApplyRsp'
  13492. type: array
  13493. "500":
  13494. description: Internal Server Error
  13495. schema:
  13496. $ref: '#/definitions/app.Response'
  13497. security:
  13498. - ApiKeyAuth: []
  13499. summary: 查询库存申请(出入库记录|库存审核)
  13500. tags:
  13501. - 企业风险管理(app)
  13502. /Ermcp/QueryAreaStockApplySum:
  13503. get:
  13504. parameters:
  13505. - description: 合同ID
  13506. in: query
  13507. name: spotcontractid
  13508. type: integer
  13509. produces:
  13510. - application/json
  13511. responses:
  13512. "200":
  13513. description: OK
  13514. schema:
  13515. items:
  13516. $ref: '#/definitions/ermcp.QueryAreaStockApplySumRsp'
  13517. type: array
  13518. "500":
  13519. description: Internal Server Error
  13520. schema:
  13521. $ref: '#/definitions/app.Response'
  13522. security:
  13523. - ApiKeyAuth: []
  13524. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  13525. tags:
  13526. - 企业风险管理(app)
  13527. /Ermcp/QueryAreaStockReport:
  13528. get:
  13529. parameters:
  13530. - description: 用户ID
  13531. in: query
  13532. name: userid
  13533. required: true
  13534. type: integer
  13535. - description: 查询类型 1-日报表 2-月报表
  13536. in: query
  13537. name: querytype
  13538. required: true
  13539. type: integer
  13540. - description: 查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)
  13541. in: query
  13542. name: querydate
  13543. required: true
  13544. type: string
  13545. - description: 现货商品ID
  13546. in: query
  13547. name: wrstandardid
  13548. type: integer
  13549. - description: 品牌ID
  13550. in: query
  13551. name: spotgoodsbrandid
  13552. type: integer
  13553. - description: 型号ID
  13554. in: query
  13555. name: spotgoodsmodelid
  13556. type: integer
  13557. - description: 仓库ID
  13558. in: query
  13559. name: warehouseinfoid
  13560. type: integer
  13561. produces:
  13562. - application/json
  13563. responses:
  13564. "200":
  13565. description: OK
  13566. schema:
  13567. items:
  13568. $ref: '#/definitions/models.ErmcpAreaStockReport'
  13569. type: array
  13570. "500":
  13571. description: Internal Server Error
  13572. schema:
  13573. $ref: '#/definitions/app.Response'
  13574. security:
  13575. - ApiKeyAuth: []
  13576. summary: 查询库存报表
  13577. tags:
  13578. - 企业风险管理(app)
  13579. /Ermcp/QueryAreaStockReportDetail:
  13580. get:
  13581. parameters:
  13582. - description: 用户ID
  13583. in: query
  13584. name: userid
  13585. required: true
  13586. type: integer
  13587. - description: 查询类型 1-日报表明细 2-月报表明细
  13588. in: query
  13589. name: querytype
  13590. required: true
  13591. type: integer
  13592. - description: 明细类型 1:入库明细(采购入库+生产入库) 2:出库明细(销售出库+生产出库)
  13593. in: query
  13594. name: detailtype
  13595. required: true
  13596. type: integer
  13597. - description: 查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)
  13598. in: query
  13599. name: querydate
  13600. required: true
  13601. type: string
  13602. - description: 现货商品ID
  13603. in: query
  13604. name: wrstandardid
  13605. type: integer
  13606. - description: 品牌ID
  13607. in: query
  13608. name: spotgoodsbrandid
  13609. type: integer
  13610. - description: 型号ID
  13611. in: query
  13612. name: spotgoodsmodelid
  13613. type: integer
  13614. - description: 仓库ID
  13615. in: query
  13616. name: warehouseinfoid
  13617. type: integer
  13618. produces:
  13619. - application/json
  13620. responses:
  13621. "200":
  13622. description: OK
  13623. schema:
  13624. items:
  13625. $ref: '#/definitions/models.ErmcpAreaStockApply'
  13626. type: array
  13627. "500":
  13628. description: Internal Server Error
  13629. schema:
  13630. $ref: '#/definitions/app.Response'
  13631. security:
  13632. - ApiKeyAuth: []
  13633. summary: 查询库存报表明细
  13634. tags:
  13635. - 企业风险管理(app)
  13636. /Ermcp/QueryAvaildGoodsGroup:
  13637. get:
  13638. parameters:
  13639. - description: 所属机构ID
  13640. in: query
  13641. name: userid
  13642. required: true
  13643. type: integer
  13644. produces:
  13645. - application/json
  13646. responses:
  13647. "200":
  13648. description: OK
  13649. schema:
  13650. items:
  13651. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  13652. type: array
  13653. "500":
  13654. description: Internal Server Error
  13655. schema:
  13656. $ref: '#/definitions/app.Response'
  13657. security:
  13658. - ApiKeyAuth: []
  13659. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  13660. tags:
  13661. - 企业风险管理(app)
  13662. /Ermcp/QueryBusinessDj:
  13663. get:
  13664. parameters:
  13665. - description: 用户ID
  13666. in: query
  13667. name: UserId
  13668. required: true
  13669. type: integer
  13670. - description: 现货合同ID, 不填则查所有
  13671. in: query
  13672. name: relatedid
  13673. type: string
  13674. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13675. in: query
  13676. name: applystatus
  13677. type: string
  13678. produces:
  13679. - application/json
  13680. responses:
  13681. "200":
  13682. description: OK
  13683. schema:
  13684. items:
  13685. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  13686. type: array
  13687. "500":
  13688. description: Internal Server Error
  13689. schema:
  13690. $ref: '#/definitions/app.Response'
  13691. security:
  13692. - ApiKeyAuth: []
  13693. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  13694. tags:
  13695. - 企业风险管理(app)
  13696. /Ermcp/QueryBusinessFp:
  13697. get:
  13698. parameters:
  13699. - description: 用户ID
  13700. in: query
  13701. name: UserId
  13702. required: true
  13703. type: integer
  13704. - description: 现货合同ID, 不填则查所有
  13705. in: query
  13706. name: relatedid
  13707. type: string
  13708. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13709. in: query
  13710. name: applystatus
  13711. type: string
  13712. produces:
  13713. - application/json
  13714. responses:
  13715. "200":
  13716. description: OK
  13717. schema:
  13718. items:
  13719. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  13720. type: array
  13721. "500":
  13722. description: Internal Server Error
  13723. schema:
  13724. $ref: '#/definitions/app.Response'
  13725. security:
  13726. - ApiKeyAuth: []
  13727. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  13728. tags:
  13729. - 企业风险管理(app)
  13730. /Ermcp/QueryBusinessJs:
  13731. get:
  13732. parameters:
  13733. - description: 用户ID
  13734. in: query
  13735. name: UserId
  13736. required: true
  13737. type: integer
  13738. - description: 现货合同ID, 不填则查所有
  13739. in: query
  13740. name: relatedid
  13741. type: string
  13742. - description: 操作申请id
  13743. in: query
  13744. name: operateapplyid
  13745. type: string
  13746. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13747. in: query
  13748. name: applystatus
  13749. type: string
  13750. produces:
  13751. - application/json
  13752. responses:
  13753. "200":
  13754. description: OK
  13755. schema:
  13756. items:
  13757. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  13758. type: array
  13759. "500":
  13760. description: Internal Server Error
  13761. schema:
  13762. $ref: '#/definitions/app.Response'
  13763. security:
  13764. - ApiKeyAuth: []
  13765. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  13766. tags:
  13767. - 企业风险管理(app)
  13768. /Ermcp/QueryBusinessJsEx:
  13769. get:
  13770. parameters:
  13771. - description: 用户ID
  13772. in: query
  13773. name: UserId
  13774. required: true
  13775. type: integer
  13776. - description: 现货合同ID, 不填则查所有
  13777. in: query
  13778. name: relatedid
  13779. type: string
  13780. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13781. in: query
  13782. name: applystatus
  13783. type: string
  13784. produces:
  13785. - application/json
  13786. responses:
  13787. "200":
  13788. description: OK
  13789. schema:
  13790. items:
  13791. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  13792. type: array
  13793. "500":
  13794. description: Internal Server Error
  13795. schema:
  13796. $ref: '#/definitions/app.Response'
  13797. security:
  13798. - ApiKeyAuth: []
  13799. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  13800. tags:
  13801. - 企业风险管理(app)
  13802. /Ermcp/QueryBusinessKx:
  13803. get:
  13804. parameters:
  13805. - description: 用户ID
  13806. in: query
  13807. name: UserId
  13808. required: true
  13809. type: integer
  13810. - description: 现货合同ID, 不填则查所有
  13811. in: query
  13812. name: relatedid
  13813. type: string
  13814. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13815. in: query
  13816. name: applystatus
  13817. type: string
  13818. produces:
  13819. - application/json
  13820. responses:
  13821. "200":
  13822. description: OK
  13823. schema:
  13824. items:
  13825. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  13826. type: array
  13827. "500":
  13828. description: Internal Server Error
  13829. schema:
  13830. $ref: '#/definitions/app.Response'
  13831. security:
  13832. - ApiKeyAuth: []
  13833. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  13834. tags:
  13835. - 企业风险管理(app)
  13836. /Ermcp/QueryChangeLog:
  13837. get:
  13838. parameters:
  13839. - description: 合同ID
  13840. in: query
  13841. name: RelatedId
  13842. required: true
  13843. type: string
  13844. produces:
  13845. - application/json
  13846. responses:
  13847. "200":
  13848. description: OK
  13849. schema:
  13850. items:
  13851. $ref: '#/definitions/ermcp.QryOPLogRsp'
  13852. type: array
  13853. "500":
  13854. description: Internal Server Error
  13855. schema:
  13856. $ref: '#/definitions/app.Response'
  13857. security:
  13858. - ApiKeyAuth: []
  13859. summary: 查询变更记录
  13860. tags:
  13861. - 企业风险管理(app)
  13862. /Ermcp/QueryContract:
  13863. get:
  13864. parameters:
  13865. - description: 用户ID
  13866. in: query
  13867. name: userId
  13868. required: true
  13869. type: integer
  13870. - description: 合同类型 1-采购, -1-销售
  13871. in: query
  13872. name: contracttype
  13873. required: true
  13874. type: integer
  13875. - description: 查询类型 1-全部 2-待点价 3-履约结算
  13876. in: query
  13877. name: querytype
  13878. required: true
  13879. type: integer
  13880. - description: 合同ID(SpotContractId)
  13881. in: query
  13882. name: contractid
  13883. type: string
  13884. produces:
  13885. - application/json
  13886. responses:
  13887. "200":
  13888. description: OK
  13889. schema:
  13890. items:
  13891. $ref: '#/definitions/ermcp.QryErmcpRsp'
  13892. type: array
  13893. "500":
  13894. description: Internal Server Error
  13895. schema:
  13896. $ref: '#/definitions/app.Response'
  13897. security:
  13898. - ApiKeyAuth: []
  13899. summary: 查询合同(采购和销售)
  13900. tags:
  13901. - 企业风险管理(app)
  13902. /Ermcp/QueryErmcpHisOrderDetails:
  13903. get:
  13904. parameters:
  13905. - description: 资金账户ID
  13906. in: query
  13907. name: accountID
  13908. required: true
  13909. type: integer
  13910. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  13911. in: query
  13912. name: startDate
  13913. type: string
  13914. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  13915. in: query
  13916. name: endDate
  13917. type: string
  13918. produces:
  13919. - application/json
  13920. responses:
  13921. "200":
  13922. description: OK
  13923. schema:
  13924. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  13925. "500":
  13926. description: Internal Server Error
  13927. schema:
  13928. $ref: '#/definitions/app.Response'
  13929. security:
  13930. - ApiKeyAuth: []
  13931. summary: 获取企业风管期货历史委托单信息
  13932. tags:
  13933. - 企业风险管理(app)
  13934. /Ermcp/QueryErmcpHisTradeDetails:
  13935. get:
  13936. parameters:
  13937. - description: 资金账户ID
  13938. in: query
  13939. name: accountID
  13940. required: true
  13941. type: integer
  13942. - description: 商品ID
  13943. in: query
  13944. name: goodsID
  13945. type: integer
  13946. - description: 买卖方向,0:买 1:卖
  13947. in: query
  13948. name: buyOrSell
  13949. type: integer
  13950. - description: 关联委托单号
  13951. in: query
  13952. name: orderID
  13953. type: integer
  13954. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  13955. in: query
  13956. name: startDate
  13957. type: string
  13958. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  13959. in: query
  13960. name: endDate
  13961. type: string
  13962. produces:
  13963. - application/json
  13964. responses:
  13965. "200":
  13966. description: OK
  13967. schema:
  13968. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  13969. "500":
  13970. description: Internal Server Error
  13971. schema:
  13972. $ref: '#/definitions/app.Response'
  13973. security:
  13974. - ApiKeyAuth: []
  13975. summary: 获取企业风管期货历史成交单信息
  13976. tags:
  13977. - 企业风险管理(app)
  13978. /Ermcp/QueryErmcpInnerHolderDetails:
  13979. get:
  13980. parameters:
  13981. - description: 资金账户ID
  13982. in: query
  13983. name: accountID
  13984. required: true
  13985. type: integer
  13986. - description: 商品ID
  13987. in: query
  13988. name: goodsID
  13989. type: integer
  13990. - description: 买卖方向,0:买 1:卖
  13991. in: query
  13992. name: buyOrSell
  13993. type: integer
  13994. produces:
  13995. - application/json
  13996. responses:
  13997. "200":
  13998. description: OK
  13999. schema:
  14000. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  14001. "500":
  14002. description: Internal Server Error
  14003. schema:
  14004. $ref: '#/definitions/app.Response'
  14005. security:
  14006. - ApiKeyAuth: []
  14007. summary: 获取企业风管期货内部持仓单信息
  14008. tags:
  14009. - 企业风险管理(app)
  14010. /Ermcp/QueryErmcpOrderDetails:
  14011. get:
  14012. parameters:
  14013. - description: 资金账户ID
  14014. in: query
  14015. name: accountID
  14016. required: true
  14017. type: integer
  14018. produces:
  14019. - application/json
  14020. responses:
  14021. "200":
  14022. description: OK
  14023. schema:
  14024. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  14025. "500":
  14026. description: Internal Server Error
  14027. schema:
  14028. $ref: '#/definitions/app.Response'
  14029. security:
  14030. - ApiKeyAuth: []
  14031. summary: 获取企业风管期货委托单信息
  14032. tags:
  14033. - 企业风险管理(app)
  14034. /Ermcp/QueryErmcpTradeDetails:
  14035. get:
  14036. parameters:
  14037. - description: 资金账户ID
  14038. in: query
  14039. name: accountID
  14040. required: true
  14041. type: integer
  14042. - description: 商品ID
  14043. in: query
  14044. name: goodsID
  14045. type: integer
  14046. - description: 买卖方向,0:买 1:卖
  14047. in: query
  14048. name: buyOrSell
  14049. type: integer
  14050. - description: 关联委托单号
  14051. in: query
  14052. name: orderID
  14053. type: integer
  14054. produces:
  14055. - application/json
  14056. responses:
  14057. "200":
  14058. description: OK
  14059. schema:
  14060. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  14061. "500":
  14062. description: Internal Server Error
  14063. schema:
  14064. $ref: '#/definitions/app.Response'
  14065. security:
  14066. - ApiKeyAuth: []
  14067. summary: 获取企业风管期货成交单信息
  14068. tags:
  14069. - 企业风险管理(app)
  14070. /Ermcp/QueryErmcpTradePosition:
  14071. get:
  14072. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  14073. parameters:
  14074. - description: 资金账户ID
  14075. in: query
  14076. name: accountID
  14077. required: true
  14078. type: integer
  14079. - description: 所属市场ID
  14080. in: query
  14081. name: marketID
  14082. type: integer
  14083. produces:
  14084. - application/json
  14085. responses:
  14086. "200":
  14087. description: OK
  14088. schema:
  14089. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  14090. "500":
  14091. description: Internal Server Error
  14092. schema:
  14093. $ref: '#/definitions/app.Response'
  14094. security:
  14095. - ApiKeyAuth: []
  14096. summary: 获取企业风管期货持仓头寸信息
  14097. tags:
  14098. - 企业风险管理(app)
  14099. /Ermcp/QueryExposureDetail:
  14100. get:
  14101. parameters:
  14102. - description: 所属机构ID
  14103. in: query
  14104. name: areaUserId
  14105. required: true
  14106. type: integer
  14107. - description: 套保商品
  14108. in: query
  14109. name: middleGoodsId
  14110. required: true
  14111. type: integer
  14112. produces:
  14113. - application/json
  14114. responses:
  14115. "200":
  14116. description: OK
  14117. schema:
  14118. items:
  14119. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  14120. type: array
  14121. "500":
  14122. description: Internal Server Error
  14123. schema:
  14124. $ref: '#/definitions/app.Response'
  14125. security:
  14126. - ApiKeyAuth: []
  14127. summary: 查询敞口现货明细
  14128. tags:
  14129. - 企业风险管理(app)
  14130. /Ermcp/QueryExposureHedgePosition:
  14131. get:
  14132. parameters:
  14133. - description: 所属机构ID
  14134. in: query
  14135. name: areaUserId
  14136. required: true
  14137. type: integer
  14138. produces:
  14139. - application/json
  14140. responses:
  14141. "200":
  14142. description: OK
  14143. schema:
  14144. items:
  14145. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  14146. type: array
  14147. "500":
  14148. description: Internal Server Error
  14149. schema:
  14150. $ref: '#/definitions/app.Response'
  14151. security:
  14152. - ApiKeyAuth: []
  14153. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  14154. tags:
  14155. - 企业风险管理(app)
  14156. /Ermcp/QueryExposureHedgePositionDetail:
  14157. get:
  14158. parameters:
  14159. - description: 所属机构ID
  14160. in: query
  14161. name: areaUserId
  14162. required: true
  14163. type: integer
  14164. - description: 商品id
  14165. in: query
  14166. name: goodsId
  14167. required: true
  14168. type: integer
  14169. produces:
  14170. - application/json
  14171. responses:
  14172. "200":
  14173. description: OK
  14174. schema:
  14175. items:
  14176. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  14177. type: array
  14178. "500":
  14179. description: Internal Server Error
  14180. schema:
  14181. $ref: '#/definitions/app.Response'
  14182. security:
  14183. - ApiKeyAuth: []
  14184. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  14185. tags:
  14186. - 企业风险管理(app)
  14187. /Ermcp/QueryExposureSpot:
  14188. get:
  14189. parameters:
  14190. - description: 所属机构ID
  14191. in: query
  14192. name: areaUserId
  14193. required: true
  14194. type: integer
  14195. produces:
  14196. - application/json
  14197. responses:
  14198. "200":
  14199. description: OK
  14200. schema:
  14201. items:
  14202. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  14203. type: array
  14204. "500":
  14205. description: Internal Server Error
  14206. schema:
  14207. $ref: '#/definitions/app.Response'
  14208. security:
  14209. - ApiKeyAuth: []
  14210. summary: 查询敞口现货头寸(敞口/现货头寸)
  14211. tags:
  14212. - 企业风险管理(app)
  14213. /Ermcp/QueryExposureSpotDetail:
  14214. get:
  14215. parameters:
  14216. - description: 所属机构ID
  14217. in: query
  14218. name: areaUserId
  14219. required: true
  14220. type: integer
  14221. - description: 现货品种ID
  14222. in: query
  14223. name: wrstandardId
  14224. required: true
  14225. type: integer
  14226. produces:
  14227. - application/json
  14228. responses:
  14229. "200":
  14230. description: OK
  14231. schema:
  14232. items:
  14233. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  14234. type: array
  14235. "500":
  14236. description: Internal Server Error
  14237. schema:
  14238. $ref: '#/definitions/app.Response'
  14239. security:
  14240. - ApiKeyAuth: []
  14241. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  14242. tags:
  14243. - 企业风险管理(app)
  14244. /Ermcp/QueryFuturesCompany:
  14245. get:
  14246. produces:
  14247. - application/json
  14248. responses:
  14249. "200":
  14250. description: OK
  14251. schema:
  14252. items:
  14253. $ref: '#/definitions/models.ErmcpFuturesCompany'
  14254. type: array
  14255. "500":
  14256. description: Internal Server Error
  14257. schema:
  14258. $ref: '#/definitions/app.Response'
  14259. security:
  14260. - ApiKeyAuth: []
  14261. summary: 查询期货公司
  14262. tags:
  14263. - 企业风险管理(app)
  14264. /Ermcp/QueryGGConvertConfig:
  14265. get:
  14266. parameters:
  14267. - description: 品种id(不填则查所有)
  14268. in: query
  14269. name: goodsgroupid
  14270. type: integer
  14271. produces:
  14272. - application/json
  14273. responses:
  14274. "200":
  14275. description: OK
  14276. schema:
  14277. items:
  14278. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  14279. type: array
  14280. "500":
  14281. description: Internal Server Error
  14282. schema:
  14283. $ref: '#/definitions/app.Response'
  14284. security:
  14285. - ApiKeyAuth: []
  14286. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  14287. tags:
  14288. - 企业风险管理(app)
  14289. /Ermcp/QueryGoodsBrand:
  14290. get:
  14291. parameters:
  14292. - description: 用户ID
  14293. in: query
  14294. name: userid
  14295. required: true
  14296. type: integer
  14297. - description: 现货商品ID
  14298. in: query
  14299. name: wrstandardid
  14300. type: integer
  14301. produces:
  14302. - application/json
  14303. responses:
  14304. "200":
  14305. description: OK
  14306. schema:
  14307. items:
  14308. $ref: '#/definitions/models.ErmcpGoodsBrand'
  14309. type: array
  14310. "500":
  14311. description: Internal Server Error
  14312. schema:
  14313. $ref: '#/definitions/app.Response'
  14314. security:
  14315. - ApiKeyAuth: []
  14316. summary: 查询商品品牌
  14317. tags:
  14318. - 企业风险管理(app)
  14319. /Ermcp/QueryGoodsModel:
  14320. get:
  14321. parameters:
  14322. - description: 用户ID
  14323. in: query
  14324. name: userid
  14325. required: true
  14326. type: integer
  14327. produces:
  14328. - application/json
  14329. responses:
  14330. "200":
  14331. description: OK
  14332. schema:
  14333. items:
  14334. $ref: '#/definitions/models.ErmcpGoodsModel'
  14335. type: array
  14336. "500":
  14337. description: Internal Server Error
  14338. schema:
  14339. $ref: '#/definitions/app.Response'
  14340. security:
  14341. - ApiKeyAuth: []
  14342. summary: 查询商品型号
  14343. tags:
  14344. - 企业风险管理(app)
  14345. /Ermcp/QueryHedgePlan:
  14346. get:
  14347. parameters:
  14348. - description: 用户ID
  14349. in: query
  14350. name: userId
  14351. required: true
  14352. type: integer
  14353. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  14354. in: query
  14355. name: HedgePlanStatus
  14356. required: true
  14357. type: string
  14358. produces:
  14359. - application/json
  14360. responses:
  14361. "200":
  14362. description: OK
  14363. schema:
  14364. items:
  14365. $ref: '#/definitions/ermcp.QryHedgePlanRsp'
  14366. type: array
  14367. "500":
  14368. description: Internal Server Error
  14369. schema:
  14370. $ref: '#/definitions/app.Response'
  14371. security:
  14372. - ApiKeyAuth: []
  14373. summary: 查询套保计划
  14374. tags:
  14375. - 企业风险管理(app)
  14376. /Ermcp/QueryHisExposure:
  14377. get:
  14378. parameters:
  14379. - description: 所属机构ID
  14380. in: query
  14381. name: areaUserId
  14382. required: true
  14383. type: integer
  14384. - description: 每个品种记录数
  14385. in: query
  14386. name: lastNum
  14387. required: true
  14388. type: integer
  14389. produces:
  14390. - application/json
  14391. responses:
  14392. "200":
  14393. description: OK
  14394. schema:
  14395. items:
  14396. $ref: '#/definitions/ermcp.HisExposureRsp'
  14397. type: array
  14398. "500":
  14399. description: Internal Server Error
  14400. schema:
  14401. $ref: '#/definitions/app.Response'
  14402. security:
  14403. - ApiKeyAuth: []
  14404. summary: 查询历史敞口(菜单:敞口/历史敞口)
  14405. tags:
  14406. - 企业风险管理(app)
  14407. /Ermcp/QueryMiddleGoods:
  14408. get:
  14409. parameters:
  14410. - description: 所属机构ID
  14411. in: query
  14412. name: userid
  14413. required: true
  14414. type: integer
  14415. - description: 状态 0-停用 1-正常
  14416. in: query
  14417. name: status
  14418. required: true
  14419. type: integer
  14420. produces:
  14421. - application/json
  14422. responses:
  14423. "200":
  14424. description: OK
  14425. schema:
  14426. items:
  14427. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  14428. type: array
  14429. "500":
  14430. description: Internal Server Error
  14431. schema:
  14432. $ref: '#/definitions/app.Response'
  14433. security:
  14434. - ApiKeyAuth: []
  14435. summary: 查询套保品种(菜单:套保品种)
  14436. tags:
  14437. - 企业风险管理(app)
  14438. /Ermcp/QueryMiddleGoodsChangeLog:
  14439. get:
  14440. parameters:
  14441. - description: 所属机构ID
  14442. in: query
  14443. name: userid
  14444. required: true
  14445. type: integer
  14446. - description: 套保品种id
  14447. in: query
  14448. name: middlegoodsid
  14449. required: true
  14450. type: integer
  14451. produces:
  14452. - application/json
  14453. responses:
  14454. "200":
  14455. description: OK
  14456. schema:
  14457. items:
  14458. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  14459. type: array
  14460. "500":
  14461. description: Internal Server Error
  14462. schema:
  14463. $ref: '#/definitions/app.Response'
  14464. security:
  14465. - ApiKeyAuth: []
  14466. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  14467. tags:
  14468. - 企业风险管理(app)
  14469. /Ermcp/QueryMiddleGoodsDetail:
  14470. get:
  14471. parameters:
  14472. - description: 所属机构ID
  14473. in: query
  14474. name: userid
  14475. required: true
  14476. type: integer
  14477. - description: 套保品种id
  14478. in: query
  14479. name: middlegoodsid
  14480. type: integer
  14481. produces:
  14482. - application/json
  14483. responses:
  14484. "200":
  14485. description: OK
  14486. schema:
  14487. items:
  14488. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  14489. type: array
  14490. "500":
  14491. description: Internal Server Error
  14492. schema:
  14493. $ref: '#/definitions/app.Response'
  14494. security:
  14495. - ApiKeyAuth: []
  14496. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  14497. tags:
  14498. - 企业风险管理(app)
  14499. /Ermcp/QueryPendingAuditInfo:
  14500. get:
  14501. parameters:
  14502. - description: 用户ID
  14503. in: query
  14504. name: UserId
  14505. required: true
  14506. type: integer
  14507. produces:
  14508. - application/json
  14509. responses:
  14510. "200":
  14511. description: OK
  14512. schema:
  14513. items:
  14514. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  14515. type: array
  14516. "500":
  14517. description: Internal Server Error
  14518. schema:
  14519. $ref: '#/definitions/app.Response'
  14520. security:
  14521. - ApiKeyAuth: []
  14522. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  14523. tags:
  14524. - 企业风险管理(app)
  14525. /Ermcp/QueryRealtimeExposure:
  14526. get:
  14527. parameters:
  14528. - description: 所属机构ID
  14529. in: query
  14530. name: AreaUserID
  14531. required: true
  14532. type: integer
  14533. produces:
  14534. - application/json
  14535. responses:
  14536. "200":
  14537. description: OK
  14538. schema:
  14539. items:
  14540. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  14541. type: array
  14542. "500":
  14543. description: Internal Server Error
  14544. schema:
  14545. $ref: '#/definitions/app.Response'
  14546. security:
  14547. - ApiKeyAuth: []
  14548. summary: 查询实时敞口
  14549. tags:
  14550. - 企业风险管理(app)
  14551. /Ermcp/QueryRealtimeExposurePosition:
  14552. get:
  14553. parameters:
  14554. - description: 所属机构ID
  14555. in: query
  14556. name: areaUserId
  14557. required: true
  14558. type: integer
  14559. - description: 套保商品ID
  14560. in: query
  14561. name: middleGoodsId
  14562. required: true
  14563. type: integer
  14564. produces:
  14565. - application/json
  14566. responses:
  14567. "200":
  14568. description: OK
  14569. schema:
  14570. items:
  14571. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  14572. type: array
  14573. "500":
  14574. description: Internal Server Error
  14575. schema:
  14576. $ref: '#/definitions/app.Response'
  14577. security:
  14578. - ApiKeyAuth: []
  14579. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  14580. tags:
  14581. - 企业风险管理(app)
  14582. /Ermcp/QuerySpotContract:
  14583. get:
  14584. parameters:
  14585. - description: 用户ID
  14586. in: query
  14587. name: userId
  14588. required: true
  14589. type: integer
  14590. - description: 查询类型 1-未提交 2-待审核 3-履约中 4-已完成
  14591. in: query
  14592. name: QueryType
  14593. required: true
  14594. type: integer
  14595. produces:
  14596. - application/json
  14597. responses:
  14598. "200":
  14599. description: OK
  14600. schema:
  14601. items:
  14602. $ref: '#/definitions/ermcp.QrySpotContractRsp'
  14603. type: array
  14604. "500":
  14605. description: Internal Server Error
  14606. schema:
  14607. $ref: '#/definitions/app.Response'
  14608. security:
  14609. - ApiKeyAuth: []
  14610. summary: 查询现货合同(对应现货合同菜单)
  14611. tags:
  14612. - 企业风险管理(app)
  14613. /Ermcp/QuerySpotGoodsPrice:
  14614. get:
  14615. parameters:
  14616. - description: 用户ID
  14617. in: query
  14618. name: userid
  14619. required: true
  14620. type: integer
  14621. produces:
  14622. - application/json
  14623. responses:
  14624. "200":
  14625. description: OK
  14626. schema:
  14627. items:
  14628. $ref: '#/definitions/models.ErmcpSpotGoodsPrice'
  14629. type: array
  14630. "500":
  14631. description: Internal Server Error
  14632. schema:
  14633. $ref: '#/definitions/app.Response'
  14634. security:
  14635. - ApiKeyAuth: []
  14636. summary: 查询现货市价(现货市价)
  14637. tags:
  14638. - 企业风险管理(app)
  14639. /Ermcp/QuerySpotGoodsPriceLog:
  14640. get:
  14641. parameters:
  14642. - description: 用户ID
  14643. in: query
  14644. name: userid
  14645. required: true
  14646. type: integer
  14647. - description: 现货商品ID
  14648. in: query
  14649. name: wrstandardid
  14650. required: true
  14651. type: integer
  14652. produces:
  14653. - application/json
  14654. responses:
  14655. "200":
  14656. description: OK
  14657. schema:
  14658. items:
  14659. $ref: '#/definitions/models.ErmcpSpotGoodsPriceLog'
  14660. type: array
  14661. "500":
  14662. description: Internal Server Error
  14663. schema:
  14664. $ref: '#/definitions/app.Response'
  14665. security:
  14666. - ApiKeyAuth: []
  14667. summary: 查询现货市价详情(现货市价/详情)
  14668. tags:
  14669. - 企业风险管理(app)
  14670. /Ermcp/QueryTradeConfigTMP:
  14671. get:
  14672. parameters:
  14673. - description: 所属机构id
  14674. in: query
  14675. name: areauserid
  14676. type: integer
  14677. produces:
  14678. - application/json
  14679. responses:
  14680. "200":
  14681. description: OK
  14682. schema:
  14683. items:
  14684. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  14685. type: array
  14686. "500":
  14687. description: Internal Server Error
  14688. schema:
  14689. $ref: '#/definitions/app.Response'
  14690. security:
  14691. - ApiKeyAuth: []
  14692. summary: 查询交易模板配置
  14693. tags:
  14694. - 企业风险管理(app)
  14695. /Ermcp/QueryUserInfo:
  14696. get:
  14697. parameters:
  14698. - description: 所属机构用户ID
  14699. in: query
  14700. name: MemberUserID
  14701. required: true
  14702. type: integer
  14703. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  14704. in: query
  14705. name: queryType
  14706. required: true
  14707. type: integer
  14708. produces:
  14709. - application/json
  14710. responses:
  14711. "200":
  14712. description: OK
  14713. schema:
  14714. items:
  14715. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  14716. type: array
  14717. "500":
  14718. description: Internal Server Error
  14719. schema:
  14720. $ref: '#/definitions/app.Response'
  14721. security:
  14722. - ApiKeyAuth: []
  14723. summary: 查询客户资料
  14724. tags:
  14725. - 企业风险管理(app)
  14726. /Ermcp/QueryWarehouseInfo:
  14727. get:
  14728. parameters:
  14729. - description: 用户ID
  14730. in: query
  14731. name: userid
  14732. required: true
  14733. type: integer
  14734. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  14735. in: query
  14736. name: status
  14737. type: string
  14738. produces:
  14739. - application/json
  14740. responses:
  14741. "200":
  14742. description: OK
  14743. schema:
  14744. items:
  14745. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  14746. type: array
  14747. "500":
  14748. description: Internal Server Error
  14749. schema:
  14750. $ref: '#/definitions/app.Response'
  14751. security:
  14752. - ApiKeyAuth: []
  14753. summary: 查询仓库信息
  14754. tags:
  14755. - 企业风险管理(app)
  14756. /Ermcp/QueryWrStandard:
  14757. get:
  14758. parameters:
  14759. - description: 所属机构ID
  14760. in: query
  14761. name: userid
  14762. required: true
  14763. type: integer
  14764. - description: 状态 0-停用 1-正常
  14765. in: query
  14766. name: status
  14767. required: true
  14768. type: integer
  14769. produces:
  14770. - application/json
  14771. responses:
  14772. "200":
  14773. description: OK
  14774. schema:
  14775. items:
  14776. $ref: '#/definitions/ermcp.QryWrStandardRsp'
  14777. type: array
  14778. "500":
  14779. description: Internal Server Error
  14780. schema:
  14781. $ref: '#/definitions/app.Response'
  14782. security:
  14783. - ApiKeyAuth: []
  14784. summary: 查询现货商品
  14785. tags:
  14786. - 企业风险管理(app)
  14787. /Ermcp/QueryWrStandardDetail:
  14788. get:
  14789. parameters:
  14790. - description: 所属机构ID
  14791. in: query
  14792. name: userid
  14793. required: true
  14794. type: integer
  14795. - description: 现货商品ID
  14796. in: query
  14797. name: wrstandardid
  14798. type: integer
  14799. - description: 可不填, 1-查询关联交易商品
  14800. in: query
  14801. name: goods
  14802. type: integer
  14803. produces:
  14804. - application/json
  14805. responses:
  14806. "200":
  14807. description: OK
  14808. schema:
  14809. items:
  14810. $ref: '#/definitions/ermcp.QryWrStandardDetailRsp'
  14811. type: array
  14812. "500":
  14813. description: Internal Server Error
  14814. schema:
  14815. $ref: '#/definitions/app.Response'
  14816. security:
  14817. - ApiKeyAuth: []
  14818. summary: 查询现货商品详情(菜单:现货品种/现货品种详情)
  14819. tags:
  14820. - 企业风险管理(app)
  14821. /Ermcp3/QryReportAreaSpotPL:
  14822. get:
  14823. parameters:
  14824. - description: 用户ID
  14825. in: query
  14826. name: userid
  14827. required: true
  14828. type: integer
  14829. - description: 查询类型 1-日报表 2-月报表
  14830. in: query
  14831. name: querytype
  14832. required: true
  14833. type: integer
  14834. - description: 查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)
  14835. in: query
  14836. name: querydate
  14837. required: true
  14838. type: string
  14839. - description: 现货商品ID
  14840. in: query
  14841. name: deliverygoodsid
  14842. type: integer
  14843. - description: 品牌ID
  14844. in: query
  14845. name: spotgoodsbrandid
  14846. type: integer
  14847. - description: 品类ID
  14848. in: query
  14849. name: wrstandardid
  14850. type: integer
  14851. produces:
  14852. - application/json
  14853. responses:
  14854. "200":
  14855. description: OK
  14856. schema:
  14857. items:
  14858. $ref: '#/definitions/models.Ermcp3ReportAreaSpotPL'
  14859. type: array
  14860. "500":
  14861. description: Internal Server Error
  14862. schema:
  14863. $ref: '#/definitions/app.Response'
  14864. security:
  14865. - ApiKeyAuth: []
  14866. summary: 查询现货损益报表(现货损益报表)
  14867. tags:
  14868. - 企业风险管理v3(app)
  14869. /Ermcp3/QryReportDayFinanceFp:
  14870. get:
  14871. parameters:
  14872. - description: 用户ID
  14873. in: query
  14874. name: userid
  14875. required: true
  14876. type: integer
  14877. - description: 交易日(格式:yyyyMMdd)
  14878. in: query
  14879. name: tradedate
  14880. required: true
  14881. type: string
  14882. produces:
  14883. - application/json
  14884. responses:
  14885. "200":
  14886. description: OK
  14887. schema:
  14888. items:
  14889. $ref: '#/definitions/models.Ermcp3ReportOPLog'
  14890. type: array
  14891. "500":
  14892. description: Internal Server Error
  14893. schema:
  14894. $ref: '#/definitions/app.Response'
  14895. security:
  14896. - ApiKeyAuth: []
  14897. summary: 查询财务日报表发票(菜单:报表查询/财务报表/日报表/发票)
  14898. tags:
  14899. - 企业风险管理v3(app)
  14900. /Ermcp3/QryReportDayFinanceKx:
  14901. get:
  14902. parameters:
  14903. - description: 用户ID
  14904. in: query
  14905. name: userid
  14906. required: true
  14907. type: integer
  14908. - description: 交易日(格式:yyyyMMdd)
  14909. in: query
  14910. name: tradedate
  14911. required: true
  14912. type: string
  14913. produces:
  14914. - application/json
  14915. responses:
  14916. "200":
  14917. description: OK
  14918. schema:
  14919. items:
  14920. $ref: '#/definitions/models.Ermcp3ReportOPLog'
  14921. type: array
  14922. "500":
  14923. description: Internal Server Error
  14924. schema:
  14925. $ref: '#/definitions/app.Response'
  14926. security:
  14927. - ApiKeyAuth: []
  14928. summary: 查询财务日报表款项(菜单:报表查询/财务报表/日报表/款项)
  14929. tags:
  14930. - 企业风险管理v3(app)
  14931. /Ermcp3/QryReportDaySpot:
  14932. get:
  14933. parameters:
  14934. - description: 用户ID
  14935. in: query
  14936. name: userid
  14937. required: true
  14938. type: integer
  14939. - description: 交易日(格式:yyyyMMdd)
  14940. in: query
  14941. name: tradedate
  14942. required: true
  14943. type: string
  14944. produces:
  14945. - application/json
  14946. responses:
  14947. "200":
  14948. description: OK
  14949. schema:
  14950. items:
  14951. $ref: '#/definitions/models.Ermcp3ReportDaySpot'
  14952. type: array
  14953. "500":
  14954. description: Internal Server Error
  14955. schema:
  14956. $ref: '#/definitions/app.Response'
  14957. security:
  14958. - ApiKeyAuth: []
  14959. summary: 查询现货日报表(菜单:报表查询/现货报表/现货日报表)
  14960. tags:
  14961. - 企业风险管理v3(app)
  14962. /Ermcp3/QryReportDaySpotDetail:
  14963. get:
  14964. parameters:
  14965. - description: 用户ID
  14966. in: query
  14967. name: userid
  14968. required: true
  14969. type: integer
  14970. - description: 现货商品id
  14971. in: query
  14972. name: deliverygoodsid
  14973. required: true
  14974. type: integer
  14975. - description: 交易日(格式:yyyyMMdd)
  14976. in: query
  14977. name: tradedate
  14978. required: true
  14979. type: string
  14980. produces:
  14981. - application/json
  14982. responses:
  14983. "200":
  14984. description: OK
  14985. schema:
  14986. items:
  14987. $ref: '#/definitions/models.Ermcp3ReportOPLog'
  14988. type: array
  14989. "500":
  14990. description: Internal Server Error
  14991. schema:
  14992. $ref: '#/definitions/app.Response'
  14993. security:
  14994. - ApiKeyAuth: []
  14995. summary: 查询现货日报表详情(菜单:报表查询/现货报表/现货日报表详情)
  14996. tags:
  14997. - 企业风险管理v3(app)
  14998. /Ermcp3/QryReportMonthSpot:
  14999. get:
  15000. parameters:
  15001. - description: 用户ID
  15002. in: query
  15003. name: userid
  15004. required: true
  15005. type: integer
  15006. - description: 周期时间:月(格式:yyyyMM)
  15007. in: query
  15008. name: cycletime
  15009. required: true
  15010. type: string
  15011. produces:
  15012. - application/json
  15013. responses:
  15014. "200":
  15015. description: OK
  15016. schema:
  15017. items:
  15018. $ref: '#/definitions/models.Ermcp3ReportMonSpot'
  15019. type: array
  15020. "500":
  15021. description: Internal Server Error
  15022. schema:
  15023. $ref: '#/definitions/app.Response'
  15024. security:
  15025. - ApiKeyAuth: []
  15026. summary: 查询现货月报表(菜单:报表查询/现货报表/现货月报表)
  15027. tags:
  15028. - 企业风险管理v3(app)
  15029. /Ermcp3/QryReportMonthSpotDetail:
  15030. get:
  15031. parameters:
  15032. - description: 用户ID
  15033. in: query
  15034. name: userid
  15035. required: true
  15036. type: integer
  15037. - description: 现货商品id
  15038. in: query
  15039. name: deliverygoodsid
  15040. required: true
  15041. type: integer
  15042. - description: 周期时间:月(格式:yyyyMM)
  15043. in: query
  15044. name: cycletime
  15045. required: true
  15046. type: string
  15047. produces:
  15048. - application/json
  15049. responses:
  15050. "200":
  15051. description: OK
  15052. schema:
  15053. items:
  15054. $ref: '#/definitions/models.Ermcp3ReportDaySpot'
  15055. type: array
  15056. "500":
  15057. description: Internal Server Error
  15058. schema:
  15059. $ref: '#/definitions/app.Response'
  15060. security:
  15061. - ApiKeyAuth: []
  15062. summary: 查询现货月报表详情(菜单:报表查询/现货月报表/现货月报表详情)
  15063. tags:
  15064. - 企业风险管理v3(app)
  15065. /Ermcp3/QueryAreaStockApply:
  15066. get:
  15067. parameters:
  15068. - description: 用户ID
  15069. in: query
  15070. name: userid
  15071. required: true
  15072. type: integer
  15073. - description: 现货商品ID
  15074. in: query
  15075. name: deliverygoodsid
  15076. type: integer
  15077. - description: 出入库类型(可多项,逗号隔开) 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  15078. in: query
  15079. name: inouttype
  15080. type: string
  15081. - description: 合同ID
  15082. in: query
  15083. name: spotcontractid
  15084. type: integer
  15085. - description: 品类ID
  15086. in: query
  15087. name: wrstandardid
  15088. type: integer
  15089. - description: 品牌ID
  15090. in: query
  15091. name: spotgoodsbrandid
  15092. type: integer
  15093. - description: 仓库ID
  15094. in: query
  15095. name: warehouseinfoid
  15096. type: integer
  15097. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  15098. in: query
  15099. name: applystatus
  15100. type: string
  15101. produces:
  15102. - application/json
  15103. responses:
  15104. "200":
  15105. description: OK
  15106. schema:
  15107. items:
  15108. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  15109. type: array
  15110. "500":
  15111. description: Internal Server Error
  15112. schema:
  15113. $ref: '#/definitions/app.Response'
  15114. security:
  15115. - ApiKeyAuth: []
  15116. summary: 查询库存申请(出入库记录|库存审核)
  15117. tags:
  15118. - 企业风险管理v3(app)
  15119. /Ermcp3/QueryAreaStockApplySum:
  15120. get:
  15121. parameters:
  15122. - description: 合同ID
  15123. in: query
  15124. name: spotcontractid
  15125. type: integer
  15126. produces:
  15127. - application/json
  15128. responses:
  15129. "200":
  15130. description: OK
  15131. schema:
  15132. items:
  15133. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  15134. type: array
  15135. "500":
  15136. description: Internal Server Error
  15137. schema:
  15138. $ref: '#/definitions/app.Response'
  15139. security:
  15140. - ApiKeyAuth: []
  15141. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  15142. tags:
  15143. - 企业风险管理v3(app)
  15144. /Ermcp3/QueryAreaStockReport:
  15145. get:
  15146. parameters:
  15147. - description: 用户ID
  15148. in: query
  15149. name: userid
  15150. required: true
  15151. type: integer
  15152. - description: 查询类型 1-日报表 2-月报表
  15153. in: query
  15154. name: querytype
  15155. required: true
  15156. type: integer
  15157. - description: 查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)
  15158. in: query
  15159. name: querydate
  15160. required: true
  15161. type: string
  15162. - description: 现货商品ID
  15163. in: query
  15164. name: deliverygoodsid
  15165. type: integer
  15166. - description: 品类ID
  15167. in: query
  15168. name: wrstandardid
  15169. type: integer
  15170. - description: 品牌ID
  15171. in: query
  15172. name: spotgoodsbrandid
  15173. type: integer
  15174. - description: 仓库ID
  15175. in: query
  15176. name: warehouseinfoid
  15177. type: integer
  15178. produces:
  15179. - application/json
  15180. responses:
  15181. "200":
  15182. description: OK
  15183. schema:
  15184. items:
  15185. $ref: '#/definitions/models.Ermcp3AreaStockReport'
  15186. type: array
  15187. "500":
  15188. description: Internal Server Error
  15189. schema:
  15190. $ref: '#/definitions/app.Response'
  15191. security:
  15192. - ApiKeyAuth: []
  15193. summary: 查询库存报表
  15194. tags:
  15195. - 企业风险管理v3(app)
  15196. /Ermcp3/QueryAreaStockReportDetail:
  15197. get:
  15198. parameters:
  15199. - description: 用户ID
  15200. in: query
  15201. name: userid
  15202. required: true
  15203. type: integer
  15204. - description: 查询类型 1-日报表明细 2-月报表明细
  15205. in: query
  15206. name: querytype
  15207. required: true
  15208. type: integer
  15209. - description: 明细类型 1:入库明细(采购入库+生产入库) 2:出库明细(销售出库+生产出库)
  15210. in: query
  15211. name: detailtype
  15212. required: true
  15213. type: integer
  15214. - description: 查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)
  15215. in: query
  15216. name: querydate
  15217. required: true
  15218. type: string
  15219. - description: 现货商品ID
  15220. in: query
  15221. name: deliverygoodsid
  15222. type: integer
  15223. - description: 品类ID
  15224. in: query
  15225. name: wrstandardid
  15226. type: integer
  15227. - description: 品牌ID
  15228. in: query
  15229. name: spotgoodsbrandid
  15230. type: integer
  15231. - description: 仓库ID
  15232. in: query
  15233. name: warehouseinfoid
  15234. type: integer
  15235. produces:
  15236. - application/json
  15237. responses:
  15238. "200":
  15239. description: OK
  15240. schema:
  15241. items:
  15242. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  15243. type: array
  15244. "500":
  15245. description: Internal Server Error
  15246. schema:
  15247. $ref: '#/definitions/app.Response'
  15248. security:
  15249. - ApiKeyAuth: []
  15250. summary: 查询库存报表明细
  15251. tags:
  15252. - 企业风险管理v3(app)
  15253. /Ermcp3/QueryDGFactoryItem:
  15254. get:
  15255. parameters:
  15256. - description: 所属机构ID
  15257. in: query
  15258. name: areauserid
  15259. type: integer
  15260. - description: 选择项ID(SEQ_DGFACTORYITEM)
  15261. in: query
  15262. name: dgfactoryitemid
  15263. type: integer
  15264. - description: 现货品种ID
  15265. in: query
  15266. name: deliverygoodsid
  15267. type: integer
  15268. - description: 要素项类型
  15269. in: query
  15270. name: dgfactoryitemtypeid
  15271. type: integer
  15272. - description: 顺序
  15273. in: query
  15274. name: orderindex
  15275. type: integer
  15276. produces:
  15277. - application/json
  15278. responses:
  15279. "200":
  15280. description: OK
  15281. schema:
  15282. items:
  15283. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  15284. type: array
  15285. "500":
  15286. description: Internal Server Error
  15287. schema:
  15288. $ref: '#/definitions/app.Response'
  15289. security:
  15290. - ApiKeyAuth: []
  15291. summary: 查询品种要素定义项
  15292. tags:
  15293. - 企业风险管理v3(app)
  15294. /Ermcp3/QueryDeliveryGoods:
  15295. get:
  15296. parameters:
  15297. - description: 所属机构id
  15298. in: query
  15299. name: areauserid
  15300. required: true
  15301. type: integer
  15302. - description: 排除已配置的现货商品 1-排除
  15303. in: query
  15304. name: excludecfg
  15305. type: integer
  15306. produces:
  15307. - application/json
  15308. responses:
  15309. "200":
  15310. description: OK
  15311. schema:
  15312. items:
  15313. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  15314. type: array
  15315. "500":
  15316. description: Internal Server Error
  15317. schema:
  15318. $ref: '#/definitions/app.Response'
  15319. security:
  15320. - ApiKeyAuth: []
  15321. summary: 查询现货商品
  15322. tags:
  15323. - 企业风险管理v3(app)
  15324. /Ermcp3/QueryDeliveryGoodsDetail:
  15325. get:
  15326. parameters:
  15327. - description: 所属机构id
  15328. in: query
  15329. name: areauserid
  15330. required: true
  15331. type: integer
  15332. - description: 现货商品id
  15333. in: query
  15334. name: deliverygoodsid
  15335. type: integer
  15336. - description: 是否查询关联交易商品 1-查询
  15337. in: query
  15338. name: qrytradegoods
  15339. type: integer
  15340. produces:
  15341. - application/json
  15342. responses:
  15343. "200":
  15344. description: OK
  15345. schema:
  15346. items:
  15347. $ref: '#/definitions/models.ErmcpDeliveryGoodsDetail'
  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(app)
  15358. /Ermcp3/QueryExposureDetail:
  15359. get:
  15360. parameters:
  15361. - description: 所属机构ID
  15362. in: query
  15363. name: areaUserId
  15364. required: true
  15365. type: integer
  15366. - description: 套保商品
  15367. in: query
  15368. name: middleGoodsId
  15369. required: true
  15370. type: integer
  15371. produces:
  15372. - application/json
  15373. responses:
  15374. "200":
  15375. description: OK
  15376. schema:
  15377. items:
  15378. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  15379. type: array
  15380. "500":
  15381. description: Internal Server Error
  15382. schema:
  15383. $ref: '#/definitions/app.Response'
  15384. security:
  15385. - ApiKeyAuth: []
  15386. summary: 查询敞口现货明细
  15387. tags:
  15388. - 企业风险管理v3(app)
  15389. /Ermcp3/QueryExposureSpot:
  15390. get:
  15391. parameters:
  15392. - description: 所属机构ID
  15393. in: query
  15394. name: areauserid
  15395. required: true
  15396. type: integer
  15397. produces:
  15398. - application/json
  15399. responses:
  15400. "200":
  15401. description: OK
  15402. schema:
  15403. items:
  15404. $ref: '#/definitions/models.Ermcp3AreaSpot'
  15405. type: array
  15406. "500":
  15407. description: Internal Server Error
  15408. schema:
  15409. $ref: '#/definitions/app.Response'
  15410. security:
  15411. - ApiKeyAuth: []
  15412. summary: 查询敞口现货头寸(敞口/现货头寸)
  15413. tags:
  15414. - 企业风险管理v3(app)
  15415. /Ermcp3/QueryExposureSpotDetail:
  15416. get:
  15417. parameters:
  15418. - description: 所属机构ID
  15419. in: query
  15420. name: areauserid
  15421. required: true
  15422. type: integer
  15423. - description: 现货品种ID
  15424. in: query
  15425. name: deliverygoodsid
  15426. required: true
  15427. type: integer
  15428. produces:
  15429. - application/json
  15430. responses:
  15431. "200":
  15432. description: OK
  15433. schema:
  15434. items:
  15435. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  15436. type: array
  15437. "500":
  15438. description: Internal Server Error
  15439. schema:
  15440. $ref: '#/definitions/app.Response'
  15441. security:
  15442. - ApiKeyAuth: []
  15443. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  15444. tags:
  15445. - 企业风险管理v3(app)
  15446. /Ermcp3/QueryGoodsWrstandard:
  15447. get:
  15448. parameters:
  15449. - description: 所属机构ID
  15450. in: query
  15451. name: areauserid
  15452. required: true
  15453. type: integer
  15454. - description: 现货商品id
  15455. in: query
  15456. name: deliverygoodsid
  15457. type: integer
  15458. produces:
  15459. - application/json
  15460. responses:
  15461. "200":
  15462. description: OK
  15463. schema:
  15464. items:
  15465. $ref: '#/definitions/models.Ermcp3Wrstandard'
  15466. type: array
  15467. "500":
  15468. description: Internal Server Error
  15469. schema:
  15470. $ref: '#/definitions/app.Response'
  15471. security:
  15472. - ApiKeyAuth: []
  15473. summary: 查询商品品类
  15474. tags:
  15475. - 企业风险管理v3(app)
  15476. /Ermcp3/QueryGoodsbrand:
  15477. get:
  15478. parameters:
  15479. - description: 所属机构ID
  15480. in: query
  15481. name: areauserid
  15482. required: true
  15483. type: integer
  15484. produces:
  15485. - application/json
  15486. responses:
  15487. "200":
  15488. description: OK
  15489. schema:
  15490. items:
  15491. $ref: '#/definitions/models.Ermcp3Brand'
  15492. type: array
  15493. "500":
  15494. description: Internal Server Error
  15495. schema:
  15496. $ref: '#/definitions/app.Response'
  15497. security:
  15498. - ApiKeyAuth: []
  15499. summary: 查询商品品牌
  15500. tags:
  15501. - 企业风险管理v3(app)
  15502. /Ermcp3/QueryHedgePlan:
  15503. get:
  15504. parameters:
  15505. - description: 用户ID
  15506. in: query
  15507. name: userid
  15508. required: true
  15509. type: integer
  15510. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  15511. in: query
  15512. name: hedgeplanstatus
  15513. required: true
  15514. type: string
  15515. produces:
  15516. - application/json
  15517. responses:
  15518. "200":
  15519. description: OK
  15520. schema:
  15521. items:
  15522. $ref: '#/definitions/models.Ermcp3HedgePlan'
  15523. type: array
  15524. "500":
  15525. description: Internal Server Error
  15526. schema:
  15527. $ref: '#/definitions/app.Response'
  15528. security:
  15529. - ApiKeyAuth: []
  15530. summary: 查询套保计划
  15531. tags:
  15532. - 企业风险管理v3(app)
  15533. /Ermcp3/QuerySpotContract:
  15534. get:
  15535. parameters:
  15536. - description: 所属机构ID
  15537. in: query
  15538. name: areauserid
  15539. required: true
  15540. type: integer
  15541. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  15542. in: query
  15543. name: querytype
  15544. required: true
  15545. type: integer
  15546. - description: 用户ID
  15547. in: query
  15548. name: userid
  15549. type: integer
  15550. - description: 用户类型 2-机构 7-企业成员
  15551. in: query
  15552. name: usertype
  15553. type: integer
  15554. - description: 合同ID(SpotContractId)
  15555. in: query
  15556. name: contractid
  15557. type: string
  15558. produces:
  15559. - application/json
  15560. responses:
  15561. "200":
  15562. description: OK
  15563. schema:
  15564. items:
  15565. $ref: '#/definitions/models.Ermcp3Contract'
  15566. type: array
  15567. "500":
  15568. description: Internal Server Error
  15569. schema:
  15570. $ref: '#/definitions/app.Response'
  15571. security:
  15572. - ApiKeyAuth: []
  15573. summary: 查询现货合同
  15574. tags:
  15575. - 企业风险管理v3(app)
  15576. /Ermcp3/QuerySpotContractBS:
  15577. get:
  15578. parameters:
  15579. - description: 所属机构ID
  15580. in: query
  15581. name: areauserid
  15582. required: true
  15583. type: integer
  15584. - description: 合同类型 1-采购, -1-销售
  15585. in: query
  15586. name: contracttype
  15587. required: true
  15588. type: integer
  15589. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  15590. in: query
  15591. name: querytype
  15592. required: true
  15593. type: integer
  15594. - description: 用户ID
  15595. in: query
  15596. name: userid
  15597. type: integer
  15598. - description: 用户类型 2-机构 7-企业成员
  15599. in: query
  15600. name: usertype
  15601. type: integer
  15602. - description: 合同ID(SpotContractId)
  15603. in: query
  15604. name: contractid
  15605. type: string
  15606. produces:
  15607. - application/json
  15608. responses:
  15609. "200":
  15610. description: OK
  15611. schema:
  15612. items:
  15613. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  15614. type: array
  15615. "500":
  15616. description: Internal Server Error
  15617. schema:
  15618. $ref: '#/definitions/app.Response'
  15619. security:
  15620. - ApiKeyAuth: []
  15621. summary: 查询合同(采购/销售)
  15622. tags:
  15623. - 企业风险管理v3(app)
  15624. /Ermcp3/QuerySpotGoodsPrice:
  15625. get:
  15626. parameters:
  15627. - description: 用户ID
  15628. in: query
  15629. name: userid
  15630. required: true
  15631. type: integer
  15632. produces:
  15633. - application/json
  15634. responses:
  15635. "200":
  15636. description: OK
  15637. schema:
  15638. items:
  15639. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  15640. type: array
  15641. "500":
  15642. description: Internal Server Error
  15643. schema:
  15644. $ref: '#/definitions/app.Response'
  15645. security:
  15646. - ApiKeyAuth: []
  15647. summary: 查询现货市价(现货市价)
  15648. tags:
  15649. - 企业风险管理v3(app)
  15650. /Ermcp3/QuerySpotGoodsPriceLog:
  15651. get:
  15652. parameters:
  15653. - description: 用户ID
  15654. in: query
  15655. name: userid
  15656. required: true
  15657. type: integer
  15658. - description: 现货商品ID
  15659. in: query
  15660. name: deliverygoodsid
  15661. required: true
  15662. type: integer
  15663. produces:
  15664. - application/json
  15665. responses:
  15666. "200":
  15667. description: OK
  15668. schema:
  15669. items:
  15670. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  15671. type: array
  15672. "500":
  15673. description: Internal Server Error
  15674. schema:
  15675. $ref: '#/definitions/app.Response'
  15676. security:
  15677. - ApiKeyAuth: []
  15678. summary: 查询现货市价详情(现货市价/详情)
  15679. tags:
  15680. - 企业风险管理v3(app)
  15681. /Erms2/QueryArbitrageStrategy:
  15682. get:
  15683. parameters:
  15684. - description: 账户ID
  15685. in: query
  15686. name: userid
  15687. required: true
  15688. type: integer
  15689. - description: 商品组ID(品种ID)
  15690. in: query
  15691. name: goodsgroupid
  15692. type: string
  15693. produces:
  15694. - application/json
  15695. responses:
  15696. "200":
  15697. description: OK
  15698. schema:
  15699. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  15700. "500":
  15701. description: Internal Server Error
  15702. schema:
  15703. $ref: '#/definitions/app.Response'
  15704. security:
  15705. - ApiKeyAuth: []
  15706. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  15707. tags:
  15708. - 风险管理
  15709. /Erms2/QueryInnerTradeDetail:
  15710. get:
  15711. parameters:
  15712. - description: 资金账户
  15713. in: query
  15714. name: accountid
  15715. required: true
  15716. type: integer
  15717. produces:
  15718. - application/json
  15719. responses:
  15720. "200":
  15721. description: OK
  15722. schema:
  15723. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  15724. "500":
  15725. description: Internal Server Error
  15726. schema:
  15727. $ref: '#/definitions/app.Response'
  15728. security:
  15729. - ApiKeyAuth: []
  15730. summary: 查询内部成交单信息
  15731. tags:
  15732. - 风险管理
  15733. /Erms2/QuerySpotContract:
  15734. get:
  15735. parameters:
  15736. - description: 策略申请ID
  15737. in: query
  15738. name: asapplyid
  15739. required: true
  15740. type: integer
  15741. - description: 现货合同ID
  15742. in: query
  15743. name: spotcontractid
  15744. type: integer
  15745. produces:
  15746. - application/json
  15747. responses:
  15748. "200":
  15749. description: OK
  15750. schema:
  15751. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  15752. "500":
  15753. description: Internal Server Error
  15754. schema:
  15755. $ref: '#/definitions/app.Response'
  15756. security:
  15757. - ApiKeyAuth: []
  15758. summary: 查询现货合同表信息(指定策略ID、未结束的)
  15759. tags:
  15760. - 风险管理
  15761. /Erms3/AddErms2ASApply:
  15762. post:
  15763. parameters:
  15764. - description: 申请参数
  15765. in: body
  15766. name: jsonBody
  15767. required: true
  15768. schema:
  15769. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  15770. produces:
  15771. - application/json
  15772. responses:
  15773. "200":
  15774. description: OK
  15775. schema:
  15776. $ref: '#/definitions/app.Response'
  15777. "500":
  15778. description: Internal Server Error
  15779. schema:
  15780. $ref: '#/definitions/app.Response'
  15781. security:
  15782. - ApiKeyAuth: []
  15783. summary: 新增期现套利业务申请
  15784. tags:
  15785. - 风险管理v3
  15786. /Erms3/AddErms2SpotTradeApply:
  15787. post:
  15788. parameters:
  15789. - description: 申请参数
  15790. in: body
  15791. name: jsonBody
  15792. required: true
  15793. schema:
  15794. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  15795. produces:
  15796. - application/json
  15797. responses:
  15798. "200":
  15799. description: OK
  15800. schema:
  15801. $ref: '#/definitions/app.Response'
  15802. "500":
  15803. description: Internal Server Error
  15804. schema:
  15805. $ref: '#/definitions/app.Response'
  15806. security:
  15807. - ApiKeyAuth: []
  15808. summary: 新增现货贸易业务申请
  15809. tags:
  15810. - 风险管理v3
  15811. /Erms3/AddSpotContractApply:
  15812. post:
  15813. parameters:
  15814. - description: 申请参数
  15815. in: body
  15816. name: jsonBody
  15817. required: true
  15818. schema:
  15819. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  15820. produces:
  15821. - application/json
  15822. responses:
  15823. "200":
  15824. description: OK
  15825. schema:
  15826. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  15827. "500":
  15828. description: Internal Server Error
  15829. schema:
  15830. $ref: '#/definitions/app.Response'
  15831. security:
  15832. - ApiKeyAuth: []
  15833. summary: 新增现货合同申请
  15834. tags:
  15835. - 风险管理v3
  15836. /Erms3/AddUserInfoApply:
  15837. post:
  15838. parameters:
  15839. - description: 用户信息
  15840. in: body
  15841. name: jsonBody
  15842. required: true
  15843. schema:
  15844. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  15845. produces:
  15846. - application/json
  15847. responses:
  15848. "200":
  15849. description: OK
  15850. schema:
  15851. $ref: '#/definitions/app.Response'
  15852. "500":
  15853. description: Internal Server Error
  15854. schema:
  15855. $ref: '#/definitions/app.Response'
  15856. security:
  15857. - ApiKeyAuth: []
  15858. summary: 新增客户申请
  15859. tags:
  15860. - 风险管理v3
  15861. /Erms3/ModifyUserInfoApply:
  15862. post:
  15863. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  15864. int, "userstate": 2 }'
  15865. parameters:
  15866. - description: 用户信息
  15867. in: body
  15868. name: jsonBody
  15869. required: true
  15870. schema:
  15871. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  15872. produces:
  15873. - application/json
  15874. responses:
  15875. "200":
  15876. description: OK
  15877. schema:
  15878. $ref: '#/definitions/app.Response'
  15879. "500":
  15880. description: Internal Server Error
  15881. schema:
  15882. $ref: '#/definitions/app.Response'
  15883. security:
  15884. - ApiKeyAuth: []
  15885. summary: 修改客户申请
  15886. tags:
  15887. - 风险管理v3
  15888. /Erms3/QueryBusinessInfo:
  15889. get:
  15890. parameters:
  15891. - description: 资金账号ID列表,用逗号分隔
  15892. in: query
  15893. name: accountids
  15894. required: true
  15895. type: string
  15896. - description: 状态,0为未结束 1为已结束
  15897. in: query
  15898. name: status
  15899. required: true
  15900. type: integer
  15901. produces:
  15902. - application/json
  15903. responses:
  15904. "200":
  15905. description: OK
  15906. schema:
  15907. items:
  15908. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  15909. type: array
  15910. "500":
  15911. description: Internal Server Error
  15912. schema:
  15913. $ref: '#/definitions/app.Response'
  15914. security:
  15915. - ApiKeyAuth: []
  15916. summary: 查询业务表单数据
  15917. tags:
  15918. - 风险管理v3
  15919. /Erms3/QueryPendingAuditContract:
  15920. get:
  15921. parameters:
  15922. - description: 资金账号ID列表,逗号隔开
  15923. in: query
  15924. name: accountids
  15925. required: true
  15926. type: string
  15927. - description: 合同类型 1-采购 -1-销售
  15928. in: query
  15929. name: contracttype
  15930. required: true
  15931. type: integer
  15932. - description: 合同模式 1-普通 2-回购
  15933. in: query
  15934. name: contractmode
  15935. required: true
  15936. type: integer
  15937. produces:
  15938. - application/json
  15939. responses:
  15940. "200":
  15941. description: OK
  15942. schema:
  15943. items:
  15944. $ref: '#/definitions/erms3.QryAuditContractRsp'
  15945. type: array
  15946. "500":
  15947. description: Internal Server Error
  15948. schema:
  15949. $ref: '#/definitions/app.Response'
  15950. security:
  15951. - ApiKeyAuth: []
  15952. summary: 查询待审核合同
  15953. tags:
  15954. - 风险管理v3
  15955. /Erms3/QueryPendingBusiness:
  15956. get:
  15957. parameters:
  15958. - description: 资金账号ID列表,逗号隔开
  15959. in: query
  15960. name: accountids
  15961. required: true
  15962. type: string
  15963. produces:
  15964. - application/json
  15965. responses:
  15966. "200":
  15967. description: OK
  15968. schema:
  15969. items:
  15970. $ref: '#/definitions/erms3.QryPendingBizRsp'
  15971. type: array
  15972. "500":
  15973. description: Internal Server Error
  15974. schema:
  15975. $ref: '#/definitions/app.Response'
  15976. security:
  15977. - ApiKeyAuth: []
  15978. summary: 查询待审核基差贸易业务
  15979. tags:
  15980. - 风险管理v3
  15981. /Erms3/QuerySpotContractAppleForm:
  15982. get:
  15983. parameters:
  15984. - description: 登录账号
  15985. in: query
  15986. name: loginID
  15987. required: true
  15988. type: integer
  15989. produces:
  15990. - application/json
  15991. responses:
  15992. "200":
  15993. description: OK
  15994. schema:
  15995. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  15996. "500":
  15997. description: Internal Server Error
  15998. schema:
  15999. $ref: '#/definitions/app.Response'
  16000. security:
  16001. - ApiKeyAuth: []
  16002. summary: 查询合同申请表单数据
  16003. tags:
  16004. - 风险管理v3
  16005. /Erms3/QuerySpotContractDetail:
  16006. get:
  16007. parameters:
  16008. - description: 资金账号ID列表,用逗号分隔
  16009. in: query
  16010. name: accountids
  16011. required: true
  16012. type: string
  16013. - description: 合同类型,1为采购合同 -1为销售合同
  16014. in: query
  16015. name: contracttype
  16016. required: true
  16017. type: integer
  16018. - description: 合同模式,1为普通合同 2为回购销售合同
  16019. in: query
  16020. name: contractmode
  16021. required: true
  16022. type: integer
  16023. - description: 状态,0为履约中 1为已完成
  16024. in: query
  16025. name: status
  16026. required: true
  16027. type: integer
  16028. produces:
  16029. - application/json
  16030. responses:
  16031. "200":
  16032. description: OK
  16033. schema:
  16034. items:
  16035. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  16036. type: array
  16037. "500":
  16038. description: Internal Server Error
  16039. schema:
  16040. $ref: '#/definitions/app.Response'
  16041. security:
  16042. - ApiKeyAuth: []
  16043. summary: 查询合同详细信息
  16044. tags:
  16045. - 风险管理v3
  16046. /Erms3/QueryUserInfoApplies:
  16047. get:
  16048. parameters:
  16049. - description: 页码
  16050. in: query
  16051. name: page
  16052. type: integer
  16053. - description: 每页条数
  16054. in: query
  16055. name: pagesize
  16056. type: integer
  16057. - description: 客户名称,支持模糊查询
  16058. in: query
  16059. name: userName
  16060. type: string
  16061. produces:
  16062. - application/json
  16063. responses:
  16064. "200":
  16065. description: OK
  16066. schema:
  16067. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  16068. "500":
  16069. description: Internal Server Error
  16070. schema:
  16071. $ref: '#/definitions/app.Response'
  16072. security:
  16073. - ApiKeyAuth: []
  16074. summary: 客户申请信息查询
  16075. tags:
  16076. - 风险管理v3
  16077. /Erms3/QueryUserInfos:
  16078. get:
  16079. parameters:
  16080. - description: 页码
  16081. in: query
  16082. name: page
  16083. type: integer
  16084. - description: 每页条数
  16085. in: query
  16086. name: pagesize
  16087. type: integer
  16088. - description: 客户名称,支持模糊查询
  16089. in: query
  16090. name: userName
  16091. type: string
  16092. produces:
  16093. - application/json
  16094. responses:
  16095. "200":
  16096. description: OK
  16097. schema:
  16098. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  16099. "500":
  16100. description: Internal Server Error
  16101. schema:
  16102. $ref: '#/definitions/app.Response'
  16103. security:
  16104. - ApiKeyAuth: []
  16105. summary: 客户信息查询
  16106. tags:
  16107. - 风险管理v3
  16108. /HSBY/GetHsbyMyCount:
  16109. get:
  16110. description: 说明: 不包括已完成的数量。
  16111. parameters:
  16112. - description: 资金账户列表,格式:1,2,3
  16113. in: query
  16114. name: accountIDs
  16115. required: true
  16116. type: string
  16117. produces:
  16118. - application/json
  16119. responses:
  16120. "200":
  16121. description: OK
  16122. schema:
  16123. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  16124. "500":
  16125. description: Internal Server Error
  16126. schema:
  16127. $ref: '#/definitions/app.Response'
  16128. security:
  16129. - ApiKeyAuth: []
  16130. summary: 获取我的订单与包裹数量
  16131. tags:
  16132. - 定制【海商报业】
  16133. /HSBY/QueryClientFixedADConfigs:
  16134. get:
  16135. produces:
  16136. - application/json
  16137. responses:
  16138. "200":
  16139. description: OK
  16140. schema:
  16141. $ref: '#/definitions/models.Clientfixedadconfig'
  16142. "500":
  16143. description: Internal Server Error
  16144. schema:
  16145. $ref: '#/definitions/app.Response'
  16146. security:
  16147. - ApiKeyAuth: []
  16148. summary: 获取终端固定广告配置
  16149. tags:
  16150. - 定制【海商报业】
  16151. /HSBY/QueryHsbyBuyMyTradeDetail:
  16152. get:
  16153. parameters:
  16154. - description: 页码
  16155. in: query
  16156. name: page
  16157. type: integer
  16158. - description: 每页条数
  16159. in: query
  16160. name: pagesize
  16161. type: integer
  16162. - description: 资金账户列表,格式:1,2,3
  16163. in: query
  16164. name: accountIDs
  16165. required: true
  16166. type: string
  16167. produces:
  16168. - application/json
  16169. responses:
  16170. "200":
  16171. description: OK
  16172. schema:
  16173. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  16174. "500":
  16175. description: Internal Server Error
  16176. schema:
  16177. $ref: '#/definitions/app.Response'
  16178. security:
  16179. - ApiKeyAuth: []
  16180. summary: 查询"我的订单 - 已完成"单据信息
  16181. tags:
  16182. - 定制【海商报业】
  16183. /HSBY/QueryHsbyGoodsOrderDetails:
  16184. get:
  16185. description: 说明:查询结果已按委托价格和委托时间排序
  16186. parameters:
  16187. - description: 商品ID
  16188. in: query
  16189. name: goodsID
  16190. required: true
  16191. type: integer
  16192. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  16193. in: query
  16194. name: accountIDs
  16195. type: string
  16196. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  16197. in: query
  16198. name: buyOrSell
  16199. type: integer
  16200. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  16201. in: query
  16202. name: price
  16203. type: number
  16204. - description: 档位,不传则默认为3档
  16205. in: query
  16206. name: speed
  16207. type: integer
  16208. produces:
  16209. - application/json
  16210. responses:
  16211. "200":
  16212. description: OK
  16213. schema:
  16214. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  16215. "500":
  16216. description: Internal Server Error
  16217. schema:
  16218. $ref: '#/definitions/app.Response'
  16219. security:
  16220. - ApiKeyAuth: []
  16221. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  16222. tags:
  16223. - 定制【海商报业】
  16224. /HSBY/QueryHsbyListingGoodsDetail:
  16225. get:
  16226. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  16227. parameters:
  16228. - description: 商品ID
  16229. in: query
  16230. name: goodsID
  16231. required: true
  16232. type: integer
  16233. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  16234. in: query
  16235. name: accountID
  16236. type: integer
  16237. produces:
  16238. - application/json
  16239. responses:
  16240. "200":
  16241. description: OK
  16242. schema:
  16243. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  16244. "500":
  16245. description: Internal Server Error
  16246. schema:
  16247. $ref: '#/definitions/app.Response'
  16248. security:
  16249. - ApiKeyAuth: []
  16250. summary: 查询二级市场(挂牌点选)商品信息详情
  16251. tags:
  16252. - 定制【海商报业】
  16253. /HSBY/QueryHsbyMarketGoodsDetail:
  16254. get:
  16255. parameters:
  16256. - description: 委托单号
  16257. in: query
  16258. name: orderID
  16259. required: true
  16260. type: integer
  16261. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  16262. in: query
  16263. name: accountID
  16264. type: integer
  16265. produces:
  16266. - application/json
  16267. responses:
  16268. "200":
  16269. description: OK
  16270. schema:
  16271. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  16272. "500":
  16273. description: Internal Server Error
  16274. schema:
  16275. $ref: '#/definitions/app.Response'
  16276. security:
  16277. - ApiKeyAuth: []
  16278. summary: 查询三级市场(商城)商品信息详情
  16279. tags:
  16280. - 定制【海商报业】
  16281. /HSBY/QueryHsbyMarketGoodses:
  16282. get:
  16283. parameters:
  16284. - description: 页码
  16285. in: query
  16286. name: page
  16287. type: integer
  16288. - description: 每页条数
  16289. in: query
  16290. name: pagesize
  16291. type: integer
  16292. - description: 市场ID列表,格式:1,2,3
  16293. in: query
  16294. name: marketIDs
  16295. required: true
  16296. type: string
  16297. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  16298. in: query
  16299. name: accountID
  16300. required: true
  16301. type: integer
  16302. - description: 类别ID
  16303. in: query
  16304. name: categoryID
  16305. type: integer
  16306. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  16307. in: query
  16308. name: goodsIDs
  16309. type: string
  16310. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  16311. in: query
  16312. name: couponTypeID
  16313. type: integer
  16314. produces:
  16315. - application/json
  16316. responses:
  16317. "200":
  16318. description: OK
  16319. schema:
  16320. $ref: '#/definitions/models.HsbyMarketGoods'
  16321. "500":
  16322. description: Internal Server Error
  16323. schema:
  16324. $ref: '#/definitions/app.Response'
  16325. security:
  16326. - ApiKeyAuth: []
  16327. summary: 查询特卖商品列表(三级商城)
  16328. tags:
  16329. - 定制【海商报业】
  16330. /HSBY/QueryHsbyMarkets:
  16331. get:
  16332. produces:
  16333. - application/json
  16334. responses:
  16335. "200":
  16336. description: OK
  16337. schema:
  16338. $ref: '#/definitions/models.HsbyMarketInfo'
  16339. "500":
  16340. description: Internal Server Error
  16341. schema:
  16342. $ref: '#/definitions/app.Response'
  16343. security:
  16344. - ApiKeyAuth: []
  16345. summary: 查询海商报业相关市场信息
  16346. tags:
  16347. - 定制【海商报业】
  16348. /HSBY/QueryHsbyMyBuyOrderDetails:
  16349. get:
  16350. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  16351. parameters:
  16352. - description: 资金账户列表,格式:1,2,3
  16353. in: query
  16354. name: accountIDs
  16355. required: true
  16356. type: string
  16357. produces:
  16358. - application/json
  16359. responses:
  16360. "200":
  16361. description: OK
  16362. schema:
  16363. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  16364. "500":
  16365. description: Internal Server Error
  16366. schema:
  16367. $ref: '#/definitions/app.Response'
  16368. security:
  16369. - ApiKeyAuth: []
  16370. summary: 查询“我的订单”信息
  16371. tags:
  16372. - 定制【海商报业】
  16373. /HSBY/QueryHsbyMyGoods:
  16374. get:
  16375. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  16376. parameters:
  16377. - description: 资金账户列表,格式:1,2,3
  16378. in: query
  16379. name: accountIDs
  16380. required: true
  16381. type: string
  16382. produces:
  16383. - application/json
  16384. responses:
  16385. "200":
  16386. description: OK
  16387. schema:
  16388. $ref: '#/definitions/models.HsbyMyGoods'
  16389. "500":
  16390. description: Internal Server Error
  16391. schema:
  16392. $ref: '#/definitions/app.Response'
  16393. security:
  16394. - ApiKeyAuth: []
  16395. summary: 查询“我的商品”信息
  16396. tags:
  16397. - 定制【海商报业】
  16398. /HSBY/QueryHsbyMyPackages:
  16399. get:
  16400. parameters:
  16401. - description: 资金账户列表,格式:1,2,3
  16402. in: query
  16403. name: accountIDs
  16404. required: true
  16405. type: string
  16406. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  16407. in: query
  16408. name: takeOrderStatus
  16409. type: integer
  16410. produces:
  16411. - application/json
  16412. responses:
  16413. "200":
  16414. description: OK
  16415. schema:
  16416. $ref: '#/definitions/models.HsbyMyPackage'
  16417. "500":
  16418. description: Internal Server Error
  16419. schema:
  16420. $ref: '#/definitions/app.Response'
  16421. security:
  16422. - ApiKeyAuth: []
  16423. summary: 查询我的包裹信息
  16424. tags:
  16425. - 定制【海商报业】
  16426. /HSBY/QueryHsbyPreGoodsDetail:
  16427. get:
  16428. parameters:
  16429. - description: 商品ID
  16430. in: query
  16431. name: goodsID
  16432. required: true
  16433. type: integer
  16434. - description: 资金账户,主要用于获取预售商品购买上限
  16435. in: query
  16436. name: accountID
  16437. type: integer
  16438. produces:
  16439. - application/json
  16440. responses:
  16441. "200":
  16442. description: OK
  16443. schema:
  16444. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  16445. "500":
  16446. description: Internal Server Error
  16447. schema:
  16448. $ref: '#/definitions/app.Response'
  16449. security:
  16450. - ApiKeyAuth: []
  16451. summary: 查询一级市场(预售)商品信息详情
  16452. tags:
  16453. - 定制【海商报业】
  16454. /HSBY/QueryHsbyPreGoodses:
  16455. get:
  16456. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  16457. parameters:
  16458. - description: 页码
  16459. in: query
  16460. name: page
  16461. type: integer
  16462. - description: 每页条数
  16463. in: query
  16464. name: pagesize
  16465. type: integer
  16466. - description: 市场ID列表,格式:1,2,3
  16467. in: query
  16468. name: marketIDs
  16469. required: true
  16470. type: string
  16471. - description: 目的地(省)ID
  16472. in: query
  16473. name: descProvinceID
  16474. type: integer
  16475. - description: 目的地(市)ID
  16476. in: query
  16477. name: descCityID
  16478. type: integer
  16479. produces:
  16480. - application/json
  16481. responses:
  16482. "200":
  16483. description: OK
  16484. schema:
  16485. $ref: '#/definitions/models.HsbyPreGoods'
  16486. "500":
  16487. description: Internal Server Error
  16488. schema:
  16489. $ref: '#/definitions/app.Response'
  16490. security:
  16491. - ApiKeyAuth: []
  16492. summary: 查询新品上市商品列表(一级市场预售)
  16493. tags:
  16494. - 定制【海商报业】
  16495. /HSBY/QueryHsbySellMyDetails:
  16496. get:
  16497. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  16498. parameters:
  16499. - description: 页码
  16500. in: query
  16501. name: page
  16502. type: integer
  16503. - description: 每页条数
  16504. in: query
  16505. name: pagesize
  16506. type: integer
  16507. - description: 资金账户列表,格式:1,2,3
  16508. in: query
  16509. name: accountIDs
  16510. required: true
  16511. type: string
  16512. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  16513. in: query
  16514. name: orderType
  16515. type: integer
  16516. produces:
  16517. - application/json
  16518. responses:
  16519. "200":
  16520. description: OK
  16521. schema:
  16522. $ref: '#/definitions/models.HsbySellMyDetail'
  16523. "500":
  16524. description: Internal Server Error
  16525. schema:
  16526. $ref: '#/definitions/app.Response'
  16527. security:
  16528. - ApiKeyAuth: []
  16529. summary: 查询"我的闲置"单据信息
  16530. tags:
  16531. - 定制【海商报业】
  16532. /HSBY/QueryHsbyTopGoodses:
  16533. get:
  16534. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  16535. parameters:
  16536. - description: 页码
  16537. in: query
  16538. name: page
  16539. type: integer
  16540. - description: 每页条数
  16541. in: query
  16542. name: pagesize
  16543. type: integer
  16544. - description: 市场ID列表,格式:1,2,3
  16545. in: query
  16546. name: marketIDs
  16547. required: true
  16548. type: string
  16549. - description: 目的地(省)ID
  16550. in: query
  16551. name: descProvinceID
  16552. type: integer
  16553. - description: 目的地(市)ID
  16554. in: query
  16555. name: descCityID
  16556. type: integer
  16557. produces:
  16558. - application/json
  16559. responses:
  16560. "200":
  16561. description: OK
  16562. schema:
  16563. $ref: '#/definitions/models.HsbyTopGoods'
  16564. "500":
  16565. description: Internal Server Error
  16566. schema:
  16567. $ref: '#/definitions/app.Response'
  16568. security:
  16569. - ApiKeyAuth: []
  16570. summary: 查询热卖商品列表(二级市场挂牌点选)
  16571. tags:
  16572. - 定制【海商报业】
  16573. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  16574. get:
  16575. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  16576. parameters:
  16577. - description: 商品ID
  16578. in: query
  16579. name: goodsID
  16580. required: true
  16581. type: integer
  16582. produces:
  16583. - application/json
  16584. responses:
  16585. "200":
  16586. description: OK
  16587. schema:
  16588. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  16589. "500":
  16590. description: Internal Server Error
  16591. schema:
  16592. $ref: '#/definitions/app.Response'
  16593. security:
  16594. - ApiKeyAuth: []
  16595. summary: 查询游客三级市场(商城)商品信息详情
  16596. tags:
  16597. - 定制【海商报业】
  16598. /HSBY/QueryHsbyVisitorMarketGoodses:
  16599. get:
  16600. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  16601. parameters:
  16602. - description: 页码
  16603. in: query
  16604. name: page
  16605. type: integer
  16606. - description: 每页条数
  16607. in: query
  16608. name: pagesize
  16609. type: integer
  16610. - description: 市场ID列表,格式:1,2,3
  16611. in: query
  16612. name: marketIDs
  16613. required: true
  16614. type: string
  16615. - description: 类别ID
  16616. in: query
  16617. name: categoryID
  16618. type: integer
  16619. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  16620. in: query
  16621. name: goodsIDs
  16622. type: string
  16623. produces:
  16624. - application/json
  16625. responses:
  16626. "200":
  16627. description: OK
  16628. schema:
  16629. $ref: '#/definitions/models.HsbyMarketGoods'
  16630. "500":
  16631. description: Internal Server Error
  16632. schema:
  16633. $ref: '#/definitions/app.Response'
  16634. security:
  16635. - ApiKeyAuth: []
  16636. summary: 查询游客特卖商品列表(三级商城)
  16637. tags:
  16638. - 定制【海商报业】
  16639. /HSBY/QueryMyCollectionOrders:
  16640. get:
  16641. parameters:
  16642. - description: 页码
  16643. in: query
  16644. name: page
  16645. type: integer
  16646. - description: 每页条数
  16647. in: query
  16648. name: pagesize
  16649. type: integer
  16650. - description: 资金账户,格式:1,2,3
  16651. in: query
  16652. name: accountIDs
  16653. required: true
  16654. type: string
  16655. produces:
  16656. - application/json
  16657. responses:
  16658. "200":
  16659. description: OK
  16660. schema:
  16661. $ref: '#/definitions/models.HsbySellCollectionOrder'
  16662. "500":
  16663. description: Internal Server Error
  16664. schema:
  16665. $ref: '#/definitions/app.Response'
  16666. security:
  16667. - ApiKeyAuth: []
  16668. summary: 我的闲置中收款信息查询
  16669. tags:
  16670. - 定制【海商报业】
  16671. /HSBY/QueryMyCouponHolds:
  16672. get:
  16673. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  16674. parameters:
  16675. - description: 资金账户列表,格式:1,2,3
  16676. in: query
  16677. name: accountIDs
  16678. required: true
  16679. type: string
  16680. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  16681. in: query
  16682. name: holdStatus
  16683. type: string
  16684. produces:
  16685. - application/json
  16686. responses:
  16687. "200":
  16688. description: OK
  16689. schema:
  16690. $ref: '#/definitions/models.MyCouponHold'
  16691. "500":
  16692. description: Internal Server Error
  16693. schema:
  16694. $ref: '#/definitions/app.Response'
  16695. security:
  16696. - ApiKeyAuth: []
  16697. summary: 我的优惠卷持仓查询
  16698. tags:
  16699. - 定制【海商报业】
  16700. /HSBY/QueryMyCoupons:
  16701. get:
  16702. parameters:
  16703. - description: 资金账户列表,格式:1,2,3
  16704. in: query
  16705. name: accountIDs
  16706. required: true
  16707. type: string
  16708. - description: 商品ID, 一般与sellUserID配套传入
  16709. in: query
  16710. name: goodsID
  16711. type: integer
  16712. - description: 卖方UserID
  16713. in: query
  16714. name: sellUserID
  16715. type: integer
  16716. produces:
  16717. - application/json
  16718. responses:
  16719. "200":
  16720. description: OK
  16721. schema:
  16722. $ref: '#/definitions/models.MyCoupon'
  16723. "500":
  16724. description: Internal Server Error
  16725. schema:
  16726. $ref: '#/definitions/app.Response'
  16727. security:
  16728. - ApiKeyAuth: []
  16729. summary: 我的优惠卷查询
  16730. tags:
  16731. - 定制【海商报业】
  16732. /HSBY/QueryMyPayOrders:
  16733. get:
  16734. parameters:
  16735. - description: 页码
  16736. in: query
  16737. name: page
  16738. type: integer
  16739. - description: 每页条数
  16740. in: query
  16741. name: pagesize
  16742. type: integer
  16743. - description: 资金账户列表,格式:1,2,3
  16744. in: query
  16745. name: accountIDs
  16746. required: true
  16747. type: string
  16748. - description: 买方委托单号
  16749. in: query
  16750. name: buyOrderID
  16751. type: integer
  16752. - description: 卖方委托单号
  16753. in: query
  16754. name: sellOrderID
  16755. type: integer
  16756. produces:
  16757. - application/json
  16758. responses:
  16759. "200":
  16760. description: OK
  16761. schema:
  16762. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  16763. "500":
  16764. description: Internal Server Error
  16765. schema:
  16766. $ref: '#/definitions/app.Response'
  16767. security:
  16768. - ApiKeyAuth: []
  16769. summary: 获取我的订单中待付款信息
  16770. tags:
  16771. - 定制【海商报业】
  16772. /HSBY/QueryMyUsedCoupon:
  16773. get:
  16774. parameters:
  16775. - description: 资金账户列表,格式:1,2,3
  16776. in: query
  16777. name: accountIDs
  16778. required: true
  16779. type: string
  16780. produces:
  16781. - application/json
  16782. responses:
  16783. "200":
  16784. description: OK
  16785. schema:
  16786. $ref: '#/definitions/models.MyUsedCoupon'
  16787. "500":
  16788. description: Internal Server Error
  16789. schema:
  16790. $ref: '#/definitions/app.Response'
  16791. security:
  16792. - ApiKeyAuth: []
  16793. summary: 已使用优惠卷查询
  16794. tags:
  16795. - 定制【海商报业】
  16796. /HSBY/QueryProvincesAndCities:
  16797. get:
  16798. description: 查询结果只包括二级市场商品已关连的省市信息。
  16799. parameters:
  16800. - description: 省ID
  16801. in: query
  16802. name: provinceID
  16803. type: integer
  16804. produces:
  16805. - application/json
  16806. responses:
  16807. "200":
  16808. description: OK
  16809. schema:
  16810. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  16811. "500":
  16812. description: Internal Server Error
  16813. schema:
  16814. $ref: '#/definitions/app.Response'
  16815. security:
  16816. - ApiKeyAuth: []
  16817. summary: 查询省市信息(不包括区)
  16818. tags:
  16819. - 定制【海商报业】
  16820. /HSBY/SetHsbyMyPackagesStatus:
  16821. post:
  16822. parameters:
  16823. - description: 提货单号
  16824. in: query
  16825. name: takeOrderID
  16826. required: true
  16827. type: string
  16828. - description: 资金账号
  16829. in: query
  16830. name: accountID
  16831. required: true
  16832. type: integer
  16833. produces:
  16834. - application/json
  16835. responses:
  16836. "200":
  16837. description: OK
  16838. schema:
  16839. $ref: '#/definitions/app.Response'
  16840. "500":
  16841. description: Internal Server Error
  16842. schema:
  16843. $ref: '#/definitions/app.Response'
  16844. security:
  16845. - ApiKeyAuth: []
  16846. summary: 设置我的包裹已收货状态
  16847. tags:
  16848. - 定制【海商报业】
  16849. /Market/QueryGoodsesByLoginID:
  16850. get:
  16851. parameters:
  16852. - description: 登录账号
  16853. in: query
  16854. name: loginID
  16855. required: true
  16856. type: integer
  16857. - description: 市场ID列表,格式:1,2,3
  16858. in: query
  16859. name: marketIDs
  16860. type: string
  16861. produces:
  16862. - application/json
  16863. responses:
  16864. "200":
  16865. description: OK
  16866. schema:
  16867. $ref: '#/definitions/models.Goods'
  16868. "500":
  16869. description: Internal Server Error
  16870. schema:
  16871. $ref: '#/definitions/app.Response'
  16872. security:
  16873. - ApiKeyAuth: []
  16874. summary: 获取登录账号有权限的商品信息
  16875. tags:
  16876. - 通用市场
  16877. /Market/QueryMarketRun:
  16878. get:
  16879. parameters:
  16880. - description: 市场ID,不传返回所有
  16881. in: query
  16882. name: marketID
  16883. type: integer
  16884. produces:
  16885. - application/json
  16886. responses:
  16887. "200":
  16888. description: OK
  16889. schema:
  16890. $ref: '#/definitions/models.Marketrun'
  16891. "500":
  16892. description: Internal Server Error
  16893. schema:
  16894. $ref: '#/definitions/app.Response'
  16895. security:
  16896. - ApiKeyAuth: []
  16897. summary: 查询市场运行信息
  16898. tags:
  16899. - 通用市场
  16900. /Market/QueryMarketsByLoginID:
  16901. get:
  16902. parameters:
  16903. - description: 登录账号
  16904. in: query
  16905. name: loginID
  16906. required: true
  16907. type: integer
  16908. produces:
  16909. - application/json
  16910. responses:
  16911. "200":
  16912. description: OK
  16913. schema:
  16914. $ref: '#/definitions/models.Market'
  16915. "500":
  16916. description: Internal Server Error
  16917. schema:
  16918. $ref: '#/definitions/app.Response'
  16919. security:
  16920. - ApiKeyAuth: []
  16921. summary: 获取登录账号有权限的市场信息
  16922. tags:
  16923. - 通用市场
  16924. /Order/QueryHisTradeDetail:
  16925. get:
  16926. parameters:
  16927. - description: 资金账户 - 格式:1,2,3
  16928. in: query
  16929. name: accountID
  16930. required: true
  16931. type: string
  16932. - description: 成交单号
  16933. in: query
  16934. name: tradeID
  16935. type: integer
  16936. - description: 委托单号
  16937. in: query
  16938. name: orderID
  16939. type: integer
  16940. - description: 交易模式 - 格式:1,2,3
  16941. in: query
  16942. name: tradeMode
  16943. type: string
  16944. - description: 委托单据类型
  16945. in: query
  16946. name: buildType
  16947. type: integer
  16948. - description: 成交类别 - 格式:1,2,3
  16949. in: query
  16950. name: tradeType
  16951. type: string
  16952. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  16953. in: query
  16954. name: startDate
  16955. type: string
  16956. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  16957. in: query
  16958. name: endDate
  16959. type: string
  16960. produces:
  16961. - application/json
  16962. responses:
  16963. "200":
  16964. description: OK
  16965. schema:
  16966. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  16967. "500":
  16968. description: Internal Server Error
  16969. schema:
  16970. $ref: '#/definitions/app.Response'
  16971. security:
  16972. - ApiKeyAuth: []
  16973. summary: 历史成交单查询(合约市场)
  16974. tags:
  16975. - 通用单据
  16976. /Order/QueryHisTradeOrderDetail:
  16977. get:
  16978. parameters:
  16979. - description: 资金账户 - 格式:1,2,3
  16980. in: query
  16981. name: accountID
  16982. required: true
  16983. type: string
  16984. - description: 交易模式 - 格式:1,2,3
  16985. in: query
  16986. name: tradeMode
  16987. type: string
  16988. - description: 委托状态 - 格式:1,2,3
  16989. in: query
  16990. name: orderStatus
  16991. type: string
  16992. - description: 委托单号
  16993. in: query
  16994. name: orderID
  16995. type: integer
  16996. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  16997. in: query
  16998. name: startDate
  16999. type: string
  17000. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  17001. in: query
  17002. name: endDate
  17003. type: string
  17004. produces:
  17005. - application/json
  17006. responses:
  17007. "200":
  17008. description: OK
  17009. schema:
  17010. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  17011. "500":
  17012. description: Internal Server Error
  17013. schema:
  17014. $ref: '#/definitions/app.Response'
  17015. security:
  17016. - ApiKeyAuth: []
  17017. summary: 历史委托单查询请求(合约市场)
  17018. tags:
  17019. - 通用单据
  17020. /Order/QueryTradeDetail:
  17021. get:
  17022. parameters:
  17023. - description: 资金账户 - 格式:1,2,3
  17024. in: query
  17025. name: accountID
  17026. required: true
  17027. type: string
  17028. - description: 成交单号
  17029. in: query
  17030. name: tradeID
  17031. type: integer
  17032. - description: 委托单号
  17033. in: query
  17034. name: orderID
  17035. type: integer
  17036. - description: 交易模式 - 格式:1,2,3
  17037. in: query
  17038. name: tradeMode
  17039. type: string
  17040. - description: 委托单据类型
  17041. in: query
  17042. name: buildType
  17043. type: integer
  17044. - description: 成交类别 - 格式:1,2,3
  17045. in: query
  17046. name: tradeType
  17047. type: string
  17048. produces:
  17049. - application/json
  17050. responses:
  17051. "200":
  17052. description: OK
  17053. schema:
  17054. $ref: '#/definitions/order.QueryTradeDetailRsp'
  17055. "500":
  17056. description: Internal Server Error
  17057. schema:
  17058. $ref: '#/definitions/app.Response'
  17059. security:
  17060. - ApiKeyAuth: []
  17061. summary: 成交单查询(合约市场)
  17062. tags:
  17063. - 通用单据
  17064. /Order/QueryTradeOrderDetail:
  17065. get:
  17066. parameters:
  17067. - description: 资金账户 - 格式:1,2,3
  17068. in: query
  17069. name: accountID
  17070. required: true
  17071. type: string
  17072. - description: 交易模式 - 格式:1,2,3
  17073. in: query
  17074. name: tradeMode
  17075. type: string
  17076. - description: 委托状态 - 格式:1,2,3
  17077. in: query
  17078. name: orderStatus
  17079. type: string
  17080. - description: 委托单号
  17081. in: query
  17082. name: orderID
  17083. type: integer
  17084. produces:
  17085. - application/json
  17086. responses:
  17087. "200":
  17088. description: OK
  17089. schema:
  17090. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  17091. "500":
  17092. description: Internal Server Error
  17093. schema:
  17094. $ref: '#/definitions/app.Response'
  17095. security:
  17096. - ApiKeyAuth: []
  17097. summary: 委托单查询请求(合约市场)
  17098. tags:
  17099. - 通用单据
  17100. /Order/QueryTradePosition:
  17101. get:
  17102. parameters:
  17103. - description: 资金账户 - 格式:1,2,3
  17104. in: query
  17105. name: accountID
  17106. required: true
  17107. type: string
  17108. - description: 交易模式 - 格式:1,2,3
  17109. in: query
  17110. name: tradeMode
  17111. type: string
  17112. produces:
  17113. - application/json
  17114. responses:
  17115. "200":
  17116. description: OK
  17117. schema:
  17118. $ref: '#/definitions/order.QueryTradePositionRsp'
  17119. "500":
  17120. description: Internal Server Error
  17121. schema:
  17122. $ref: '#/definitions/app.Response'
  17123. security:
  17124. - ApiKeyAuth: []
  17125. summary: 持仓汇总查询(合约市场)
  17126. tags:
  17127. - 通用单据
  17128. /Quote/QueryHistoryDatas:
  17129. get:
  17130. parameters:
  17131. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  17132. 日线'
  17133. in: query
  17134. name: cycleType
  17135. required: true
  17136. type: integer
  17137. - description: 商品代码
  17138. in: query
  17139. name: goodsCode
  17140. required: true
  17141. type: string
  17142. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  17143. in: query
  17144. name: startTime
  17145. type: string
  17146. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  17147. in: query
  17148. name: endTime
  17149. type: string
  17150. - description: 条数
  17151. in: query
  17152. name: count
  17153. type: integer
  17154. - description: 是否按时间顺序排序(默认为时间倒序排序)
  17155. in: query
  17156. name: isAsc
  17157. type: boolean
  17158. produces:
  17159. - application/json
  17160. responses:
  17161. "200":
  17162. description: OK
  17163. schema:
  17164. $ref: '#/definitions/quote.HistoryData'
  17165. "500":
  17166. description: Internal Server Error
  17167. schema:
  17168. $ref: '#/definitions/app.Response'
  17169. security:
  17170. - ApiKeyAuth: []
  17171. summary: 查询行情历史数据
  17172. tags:
  17173. - 行情服务
  17174. /Quote/QueryHistoryTikDatas:
  17175. get:
  17176. parameters:
  17177. - description: 商品代码
  17178. in: query
  17179. name: goodsCode
  17180. required: true
  17181. type: string
  17182. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  17183. in: query
  17184. name: startTime
  17185. type: string
  17186. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  17187. in: query
  17188. name: endTime
  17189. type: string
  17190. - description: 条数
  17191. in: query
  17192. name: count
  17193. type: integer
  17194. - description: 是否按时间顺序排序(默认为时间倒序排序)
  17195. in: query
  17196. name: isAsc
  17197. type: boolean
  17198. produces:
  17199. - application/json
  17200. responses:
  17201. "200":
  17202. description: OK
  17203. schema:
  17204. $ref: '#/definitions/quote.HistoryTikData'
  17205. "500":
  17206. description: Internal Server Error
  17207. schema:
  17208. $ref: '#/definitions/app.Response'
  17209. security:
  17210. - ApiKeyAuth: []
  17211. summary: 查询行情Tik数据
  17212. tags:
  17213. - 行情服务
  17214. /Quote/QueryQuoteDay:
  17215. get:
  17216. parameters:
  17217. - description: 商品代码列表,格式:CU2102,CU2103,AL2107
  17218. in: query
  17219. name: goodsCodes
  17220. required: true
  17221. type: string
  17222. produces:
  17223. - application/json
  17224. responses:
  17225. "200":
  17226. description: OK
  17227. schema:
  17228. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  17229. "500":
  17230. description: Internal Server Error
  17231. schema:
  17232. $ref: '#/definitions/app.Response'
  17233. security:
  17234. - ApiKeyAuth: []
  17235. summary: 获取商品盘面信息
  17236. tags:
  17237. - 行情服务
  17238. /Quote/QueryTSData:
  17239. get:
  17240. parameters:
  17241. - description: 商品代码
  17242. in: query
  17243. name: goodsCode
  17244. required: true
  17245. type: string
  17246. produces:
  17247. - application/json
  17248. responses:
  17249. "200":
  17250. description: OK
  17251. schema:
  17252. $ref: '#/definitions/quote.QueryTSDataRsp'
  17253. "500":
  17254. description: Internal Server Error
  17255. schema:
  17256. $ref: '#/definitions/app.Response'
  17257. security:
  17258. - ApiKeyAuth: []
  17259. summary: 分时图数据查询
  17260. tags:
  17261. - 行情服务
  17262. /SZDZ/QueryConvertConfig:
  17263. get:
  17264. parameters:
  17265. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  17266. 6:交易转花生米(不设置)
  17267. in: query
  17268. name: convertType
  17269. type: integer
  17270. - description: 外部商品代码[JD\PD]
  17271. in: query
  17272. name: outerGoodsCode
  17273. type: string
  17274. - description: 内部商品ID列表[交易],格式:1,2,3
  17275. in: query
  17276. name: innerGoodsIDs
  17277. type: string
  17278. produces:
  17279. - application/json
  17280. responses:
  17281. "200":
  17282. description: OK
  17283. schema:
  17284. $ref: '#/definitions/models.Szdz3convertconfig'
  17285. "500":
  17286. description: Internal Server Error
  17287. schema:
  17288. $ref: '#/definitions/app.Response'
  17289. security:
  17290. - ApiKeyAuth: []
  17291. summary: 查询交易系统转换设置
  17292. tags:
  17293. - 定制【尚志大宗】
  17294. /SZDZ/QueryConvertLog:
  17295. get:
  17296. parameters:
  17297. - description: 资金账户 - 格式:1,2,3
  17298. in: query
  17299. name: accountID
  17300. required: true
  17301. type: string
  17302. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  17303. in: query
  17304. name: startDate
  17305. type: string
  17306. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  17307. in: query
  17308. name: endDate
  17309. type: string
  17310. produces:
  17311. - application/json
  17312. responses:
  17313. "200":
  17314. description: OK
  17315. schema:
  17316. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  17317. "500":
  17318. description: Internal Server Error
  17319. schema:
  17320. $ref: '#/definitions/app.Response'
  17321. security:
  17322. - ApiKeyAuth: []
  17323. summary: 交易系统转换流水查询
  17324. tags:
  17325. - 定制【尚志大宗】
  17326. /SZDZ/QueryGoodsPickup:
  17327. get:
  17328. parameters:
  17329. - description: 资金账户 - 格式:1,2,3
  17330. in: query
  17331. name: accountID
  17332. required: true
  17333. type: string
  17334. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  17335. in: query
  17336. name: takeOrderStatus
  17337. type: integer
  17338. produces:
  17339. - application/json
  17340. responses:
  17341. "200":
  17342. description: OK
  17343. schema:
  17344. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  17345. "500":
  17346. description: Internal Server Error
  17347. schema:
  17348. $ref: '#/definitions/app.Response'
  17349. security:
  17350. - ApiKeyAuth: []
  17351. summary: 商品提货单查询
  17352. tags:
  17353. - 定制【尚志大宗】
  17354. /SZDZ/QueryRecieptOrder:
  17355. get:
  17356. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  17357. parameters:
  17358. - description: 页码
  17359. in: query
  17360. name: page
  17361. type: integer
  17362. - description: 每页条数
  17363. in: query
  17364. name: pagesize
  17365. type: integer
  17366. - description: 商品ID
  17367. in: query
  17368. name: goodsID
  17369. required: true
  17370. type: integer
  17371. - description: 所属账户名称
  17372. in: query
  17373. name: accountName
  17374. type: string
  17375. - description: 市场ID
  17376. in: query
  17377. name: marketID
  17378. type: integer
  17379. - description: 方向 - 0:买 1:卖
  17380. in: query
  17381. name: buyorsell
  17382. required: true
  17383. type: integer
  17384. produces:
  17385. - application/json
  17386. responses:
  17387. "200":
  17388. description: OK
  17389. schema:
  17390. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  17391. "500":
  17392. description: Internal Server Error
  17393. schema:
  17394. $ref: '#/definitions/app.Response'
  17395. security:
  17396. - ApiKeyAuth: []
  17397. summary: 点选挂牌委托单据查询(摘牌大厅)
  17398. tags:
  17399. - 定制【尚志大宗】
  17400. /SZDZ/QuerySZDZTradePosition:
  17401. get:
  17402. parameters:
  17403. - description: 资金账户
  17404. in: query
  17405. name: accountID
  17406. required: true
  17407. type: integer
  17408. produces:
  17409. - application/json
  17410. responses:
  17411. "200":
  17412. description: OK
  17413. schema:
  17414. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  17415. "500":
  17416. description: Internal Server Error
  17417. schema:
  17418. $ref: '#/definitions/app.Response'
  17419. security:
  17420. - ApiKeyAuth: []
  17421. summary: 持仓汇总查询(尚志大宗)
  17422. tags:
  17423. - 定制【尚志大宗】
  17424. /SZDZ/SearchWhite:
  17425. get:
  17426. parameters:
  17427. - description: 用户ID
  17428. in: query
  17429. name: userID
  17430. required: true
  17431. type: integer
  17432. produces:
  17433. - application/json
  17434. responses:
  17435. "200":
  17436. description: OK
  17437. schema:
  17438. $ref: '#/definitions/models.Szdz3searchwhitelist'
  17439. "500":
  17440. description: Internal Server Error
  17441. schema:
  17442. $ref: '#/definitions/app.Response'
  17443. security:
  17444. - ApiKeyAuth: []
  17445. summary: 搜索白名单
  17446. tags:
  17447. - 定制【尚志大宗】
  17448. /Search/SearchGoodses:
  17449. get:
  17450. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  17451. parameters:
  17452. - description: 检索内容
  17453. in: query
  17454. name: content
  17455. required: true
  17456. type: string
  17457. - description: 交易模式,格式:1,2,3
  17458. in: query
  17459. name: tradeModes
  17460. type: string
  17461. produces:
  17462. - application/json
  17463. responses:
  17464. "200":
  17465. description: OK
  17466. schema:
  17467. $ref: '#/definitions/models.SearchGoods'
  17468. "500":
  17469. description: Internal Server Error
  17470. schema:
  17471. $ref: '#/definitions/app.Response'
  17472. summary: 检索商品信息
  17473. tags:
  17474. - 检索服务
  17475. /TaAccount/GetTaAccounts:
  17476. get:
  17477. parameters:
  17478. - description: 登录账户
  17479. in: query
  17480. name: loginID
  17481. required: true
  17482. type: integer
  17483. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  17484. in: query
  17485. name: taAccountType
  17486. type: integer
  17487. produces:
  17488. - application/json
  17489. responses:
  17490. "200":
  17491. description: OK
  17492. schema:
  17493. $ref: '#/definitions/models.Taaccount'
  17494. "500":
  17495. description: Internal Server Error
  17496. schema:
  17497. $ref: '#/definitions/app.Response'
  17498. security:
  17499. - ApiKeyAuth: []
  17500. summary: 获取资金账户信息
  17501. tags:
  17502. - 资金账户
  17503. /TaAccount/QueryAmountLog:
  17504. get:
  17505. parameters:
  17506. - description: 页码
  17507. in: query
  17508. name: page
  17509. type: integer
  17510. - description: 每页条数
  17511. in: query
  17512. name: pagesize
  17513. type: integer
  17514. - description: 资金账户 - 格式:1,2,3
  17515. in: query
  17516. name: accountID
  17517. required: true
  17518. type: string
  17519. - description: 资金操作类型 - 格式:1,2,3
  17520. in: query
  17521. name: OperateType
  17522. type: string
  17523. produces:
  17524. - application/json
  17525. responses:
  17526. "200":
  17527. description: OK
  17528. schema:
  17529. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  17530. "500":
  17531. description: Internal Server Error
  17532. schema:
  17533. $ref: '#/definitions/app.Response'
  17534. security:
  17535. - ApiKeyAuth: []
  17536. summary: 资金流水查询(当前)
  17537. tags:
  17538. - 资金账户
  17539. /TaAccount/QueryHisAmountLog:
  17540. get:
  17541. parameters:
  17542. - description: 页码
  17543. in: query
  17544. name: page
  17545. type: integer
  17546. - description: 每页条数
  17547. in: query
  17548. name: pagesize
  17549. type: integer
  17550. - description: 资金账户 - 格式:1,2,3
  17551. in: query
  17552. name: accountID
  17553. required: true
  17554. type: string
  17555. - description: 资金操作类型 - 格式:1,2,3
  17556. in: query
  17557. name: OperateType
  17558. type: string
  17559. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  17560. in: query
  17561. name: startDate
  17562. type: string
  17563. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  17564. in: query
  17565. name: endDate
  17566. type: string
  17567. produces:
  17568. - application/json
  17569. responses:
  17570. "200":
  17571. description: OK
  17572. schema:
  17573. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  17574. "500":
  17575. description: Internal Server Error
  17576. schema:
  17577. $ref: '#/definitions/app.Response'
  17578. security:
  17579. - ApiKeyAuth: []
  17580. summary: 资金流水查询(历史)
  17581. tags:
  17582. - 资金账户
  17583. /Trade/QueryRecieptOrder:
  17584. get:
  17585. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  17586. parameters:
  17587. - description: 页码
  17588. in: query
  17589. name: page
  17590. type: integer
  17591. - description: 每页条数
  17592. in: query
  17593. name: pagesize
  17594. type: integer
  17595. - description: 商品ID
  17596. in: query
  17597. name: goodsID
  17598. required: true
  17599. type: integer
  17600. - description: 所属账户名称
  17601. in: query
  17602. name: accountName
  17603. type: string
  17604. - description: 市场ID
  17605. in: query
  17606. name: marketID
  17607. type: integer
  17608. - description: 方向 - 0:买 1:卖
  17609. in: query
  17610. name: buyorsell
  17611. required: true
  17612. type: integer
  17613. produces:
  17614. - application/json
  17615. responses:
  17616. "200":
  17617. description: OK
  17618. schema:
  17619. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  17620. "500":
  17621. description: Internal Server Error
  17622. schema:
  17623. $ref: '#/definitions/app.Response'
  17624. security:
  17625. - ApiKeyAuth: []
  17626. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  17627. tags:
  17628. - 通用交易
  17629. /User/AddMessageBoard:
  17630. post:
  17631. parameters:
  17632. - description: 用户ID
  17633. in: query
  17634. name: userID
  17635. required: true
  17636. type: integer
  17637. - description: 留言信息
  17638. in: query
  17639. name: message
  17640. required: true
  17641. type: string
  17642. - description: 联系电话
  17643. in: query
  17644. name: contactNum
  17645. required: true
  17646. type: string
  17647. produces:
  17648. - application/json
  17649. responses:
  17650. "200":
  17651. description: OK
  17652. schema:
  17653. $ref: '#/definitions/app.Response'
  17654. "500":
  17655. description: Internal Server Error
  17656. schema:
  17657. $ref: '#/definitions/app.Response'
  17658. security:
  17659. - ApiKeyAuth: []
  17660. summary: 添加用户留言板信息
  17661. tags:
  17662. - 用户信息
  17663. /User/AddUserFavoriteGoods:
  17664. post:
  17665. parameters:
  17666. - description: 用户ID
  17667. in: query
  17668. name: userID
  17669. required: true
  17670. type: integer
  17671. - description: 商品ID
  17672. in: query
  17673. name: goodsID
  17674. required: true
  17675. type: integer
  17676. produces:
  17677. - application/json
  17678. responses:
  17679. "200":
  17680. description: OK
  17681. schema:
  17682. $ref: '#/definitions/app.Response'
  17683. "500":
  17684. description: Internal Server Error
  17685. schema:
  17686. $ref: '#/definitions/app.Response'
  17687. security:
  17688. - ApiKeyAuth: []
  17689. summary: 添加用户商品收藏信息
  17690. tags:
  17691. - 用户信息
  17692. /User/GetLoginID:
  17693. get:
  17694. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  17695. parameters:
  17696. - description: 登录代码
  17697. in: query
  17698. name: username
  17699. required: true
  17700. type: string
  17701. produces:
  17702. - application/json
  17703. responses:
  17704. "200":
  17705. description: OK
  17706. schema:
  17707. $ref: '#/definitions/app.Response'
  17708. "500":
  17709. description: Internal Server Error
  17710. schema:
  17711. $ref: '#/definitions/app.Response'
  17712. summary: 获取登录ID
  17713. tags:
  17714. - 用户信息
  17715. /User/GetUserAccount:
  17716. get:
  17717. parameters:
  17718. - description: 用户ID
  17719. in: query
  17720. name: userID
  17721. required: true
  17722. type: integer
  17723. produces:
  17724. - application/json
  17725. responses:
  17726. "200":
  17727. description: OK
  17728. schema:
  17729. $ref: '#/definitions/models.Useraccount'
  17730. "500":
  17731. description: Internal Server Error
  17732. schema:
  17733. $ref: '#/definitions/app.Response'
  17734. security:
  17735. - ApiKeyAuth: []
  17736. summary: 获取用户账号信息
  17737. tags:
  17738. - 用户信息
  17739. /User/GetUserAuthStatus:
  17740. get:
  17741. parameters:
  17742. - description: 用户ID
  17743. in: query
  17744. name: userID
  17745. required: true
  17746. type: integer
  17747. produces:
  17748. - application/json
  17749. responses:
  17750. "200":
  17751. description: OK
  17752. schema:
  17753. $ref: '#/definitions/app.Response'
  17754. "500":
  17755. description: Internal Server Error
  17756. schema:
  17757. $ref: '#/definitions/app.Response'
  17758. security:
  17759. - ApiKeyAuth: []
  17760. summary: 获取用户实名认证状态
  17761. tags:
  17762. - 用户信息
  17763. /User/LoginQuery:
  17764. get:
  17765. parameters:
  17766. - description: 登录账号
  17767. in: query
  17768. name: loginID
  17769. required: true
  17770. type: integer
  17771. produces:
  17772. - application/json
  17773. responses:
  17774. "200":
  17775. description: OK
  17776. schema:
  17777. $ref: '#/definitions/user.LoginQueryRsp'
  17778. "500":
  17779. description: Internal Server Error
  17780. schema:
  17781. $ref: '#/definitions/app.Response'
  17782. security:
  17783. - ApiKeyAuth: []
  17784. summary: 账户登录后信息查询
  17785. tags:
  17786. - 用户信息
  17787. /User/QueryMessageBoard:
  17788. get:
  17789. parameters:
  17790. - description: 用户ID
  17791. in: query
  17792. name: userID
  17793. required: true
  17794. type: integer
  17795. produces:
  17796. - application/json
  17797. responses:
  17798. "200":
  17799. description: OK
  17800. schema:
  17801. $ref: '#/definitions/models.Messageboard'
  17802. "500":
  17803. description: Internal Server Error
  17804. schema:
  17805. $ref: '#/definitions/app.Response'
  17806. security:
  17807. - ApiKeyAuth: []
  17808. summary: 获取用户留言板信息
  17809. tags:
  17810. - 用户信息
  17811. /User/QueryUserFavoriteGoodses:
  17812. get:
  17813. parameters:
  17814. - description: 用户ID
  17815. in: query
  17816. name: userID
  17817. required: true
  17818. type: integer
  17819. produces:
  17820. - application/json
  17821. responses:
  17822. "200":
  17823. description: OK
  17824. schema:
  17825. $ref: '#/definitions/models.Userfavoritegoods'
  17826. "500":
  17827. description: Internal Server Error
  17828. schema:
  17829. $ref: '#/definitions/app.Response'
  17830. security:
  17831. - ApiKeyAuth: []
  17832. summary: 获取用户商品收藏信息
  17833. tags:
  17834. - 用户信息
  17835. /User/QueryUserInfo:
  17836. get:
  17837. parameters:
  17838. - description: 用户ID
  17839. in: query
  17840. name: userID
  17841. required: true
  17842. type: integer
  17843. - description: 是否解密
  17844. in: query
  17845. name: isDecrypt
  17846. type: boolean
  17847. produces:
  17848. - application/json
  17849. responses:
  17850. "200":
  17851. description: OK
  17852. schema:
  17853. $ref: '#/definitions/models.Userinfo'
  17854. "500":
  17855. description: Internal Server Error
  17856. schema:
  17857. $ref: '#/definitions/app.Response'
  17858. security:
  17859. - ApiKeyAuth: []
  17860. summary: 获取用户信息
  17861. tags:
  17862. - 用户信息
  17863. /User/QueryUserReferNum:
  17864. get:
  17865. parameters:
  17866. - description: 用户ID
  17867. in: query
  17868. name: userID
  17869. required: true
  17870. type: integer
  17871. produces:
  17872. - application/json
  17873. responses:
  17874. "200":
  17875. description: OK
  17876. schema:
  17877. $ref: '#/definitions/app.Response'
  17878. "500":
  17879. description: Internal Server Error
  17880. schema:
  17881. $ref: '#/definitions/app.Response'
  17882. summary: 获取用户邀请码
  17883. tags:
  17884. - 用户信息
  17885. /User/RemoveUserFavoriteGoods:
  17886. post:
  17887. parameters:
  17888. - description: 用户ID
  17889. in: query
  17890. name: userID
  17891. required: true
  17892. type: integer
  17893. - description: 商品ID
  17894. in: query
  17895. name: goodsID
  17896. required: true
  17897. type: integer
  17898. produces:
  17899. - application/json
  17900. responses:
  17901. "200":
  17902. description: OK
  17903. schema:
  17904. $ref: '#/definitions/app.Response'
  17905. "500":
  17906. description: Internal Server Error
  17907. schema:
  17908. $ref: '#/definitions/app.Response'
  17909. security:
  17910. - ApiKeyAuth: []
  17911. summary: 移除用户商品收藏信息
  17912. tags:
  17913. - 用户信息
  17914. /User/UpdateUserAccountStatus:
  17915. post:
  17916. parameters:
  17917. - description: 用户ID
  17918. in: query
  17919. name: userID
  17920. required: true
  17921. type: integer
  17922. - description: 账户状态 - 4:正常 6:注销(停用)
  17923. in: query
  17924. name: accountStatus
  17925. required: true
  17926. type: integer
  17927. produces:
  17928. - application/json
  17929. responses:
  17930. "200":
  17931. description: OK
  17932. schema:
  17933. $ref: '#/definitions/app.Response'
  17934. "500":
  17935. description: Internal Server Error
  17936. schema:
  17937. $ref: '#/definitions/app.Response'
  17938. security:
  17939. - ApiKeyAuth: []
  17940. summary: 更新用户状态
  17941. tags:
  17942. - 用户信息
  17943. /WRTrade/GetAllDeliveryGoods:
  17944. get:
  17945. produces:
  17946. - application/json
  17947. - application/json
  17948. responses:
  17949. "200":
  17950. description: OK
  17951. schema:
  17952. $ref: '#/definitions/app.Response'
  17953. "500":
  17954. description: Internal Server Error
  17955. schema:
  17956. $ref: '#/definitions/app.Response'
  17957. security:
  17958. - ApiKeyAuth: []
  17959. - ApiKeyAuth: []
  17960. summary: 获取带仓单分类的种类信息
  17961. tags:
  17962. - 仓单贸易
  17963. - 仓单贸易
  17964. securityDefinitions:
  17965. ApiKeyAuth:
  17966. in: header
  17967. name: Authorization
  17968. type: apiKey
  17969. swagger: "2.0"