swagger.yaml 489 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867
  1. basePath: /api
  2. definitions:
  3. app.Response:
  4. properties:
  5. code:
  6. type: integer
  7. data:
  8. type: object
  9. msg:
  10. type: string
  11. page:
  12. description: 页码
  13. type: integer
  14. pagesize:
  15. description: 每页条数
  16. type: integer
  17. total:
  18. description: 总条数
  19. type: integer
  20. type: object
  21. common.ClientMenu:
  22. properties:
  23. children:
  24. description: 子菜单列表
  25. items:
  26. $ref: '#/definitions/common.ClientMenu'
  27. type: array
  28. code:
  29. description: ID
  30. type: string
  31. isshow:
  32. description: 是否显示
  33. type: boolean
  34. rulekey:
  35. description: 对应权限主键,对应FUNCMENULIST表RESOURCECODE
  36. type: string
  37. sort:
  38. description: 排序
  39. type: integer
  40. title:
  41. description: 标题
  42. type: string
  43. type:
  44. description: 类型,1:菜单 2:按钮
  45. type: integer
  46. type: object
  47. common.QueryImageConfigsRsp:
  48. properties:
  49. areauserid:
  50. description: 所属机构ID
  51. type: integer
  52. configid:
  53. description: 配置ID(SEQ_SZDZ2_IMAGECONFIG)
  54. type: integer
  55. createdate:
  56. description: 创建时间
  57. type: string
  58. creatorid:
  59. description: 创建人
  60. type: integer
  61. imagepath:
  62. description: 图片
  63. type: string
  64. imagetype:
  65. description: 类型 - 1:首页轮播(移动) 2:我的(移动)
  66. type: integer
  67. isshow:
  68. description: 是否展示 - 0:不展示 1:展示
  69. type: integer
  70. marketid:
  71. description: 市场ID
  72. type: integer
  73. modifierid:
  74. description: 操作人
  75. type: integer
  76. sort:
  77. description: 排序
  78. type: integer
  79. title:
  80. description: 标题
  81. type: string
  82. trademode:
  83. description: 交易模式
  84. type: integer
  85. updatedate:
  86. description: 修改时间
  87. type: string
  88. url:
  89. description: 链接(地址或商品ID)
  90. type: string
  91. urltype:
  92. description: 链接类型 - 1:直接地址 2:商品ID
  93. type: integer
  94. required:
  95. - configid
  96. type: object
  97. common.QueryNoticeRsp:
  98. properties:
  99. auditoruserid:
  100. description: 审核人
  101. type: integer
  102. auditremark:
  103. description: 审核备注
  104. type: string
  105. audittime:
  106. description: 审核日期
  107. type: string
  108. autoid:
  109. description: 自增ID
  110. type: integer
  111. content:
  112. description: 内容
  113. type: string
  114. createtime:
  115. description: 创建时间
  116. type: string
  117. creatorid:
  118. description: 建仓人
  119. type: integer
  120. endtime:
  121. description: 结束时间
  122. type: string
  123. istop:
  124. description: 是否置顶 - 0:不置顶 1:置顶
  125. type: integer
  126. msgiconurl:
  127. description: 消息图标Url
  128. type: string
  129. msgtype:
  130. description: 消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知
  131. type: integer
  132. publisher:
  133. description: 消息发布者
  134. type: string
  135. readed:
  136. description: 是否已读
  137. type: boolean
  138. scheduletime:
  139. description: 计划发送时间
  140. type: string
  141. sendtype:
  142. description: 推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)
  143. type: integer
  144. sentstatus:
  145. description: 推送状态 - 0:未推送 1:已推送 2:审核拒绝
  146. type: integer
  147. title:
  148. description: 标题
  149. type: string
  150. userid:
  151. description: 会员/投资者ID推送方式 为 个人时,填写投资者ID
  152. type: integer
  153. required:
  154. - autoid
  155. type: object
  156. common.QueryProvincesAndCitiesRsp:
  157. properties:
  158. cities:
  159. description: 市
  160. items:
  161. $ref: '#/definitions/models.Division'
  162. type: array
  163. province:
  164. $ref: '#/definitions/models.Division'
  165. description: 省
  166. type: object
  167. type: object
  168. common.QueryTableDefineRsp:
  169. properties:
  170. columns:
  171. description: 列头信息数组
  172. items:
  173. $ref: '#/definitions/models.Tablecolumnconfig'
  174. type: array
  175. remark:
  176. description: Remark
  177. type: string
  178. tabelmenu:
  179. description: 列表菜单
  180. type: string
  181. tablekey:
  182. description: 列表Key
  183. type: string
  184. tablename:
  185. description: 列表名称
  186. type: string
  187. tabletype:
  188. description: 列表类型 - 1:管理端 2:终端
  189. type: integer
  190. required:
  191. - tablekey
  192. type: object
  193. common.QueryTraderMenuRsp:
  194. properties:
  195. OperationMenu:
  196. description: 功能菜单
  197. items:
  198. $ref: '#/definitions/models.OperationPrimaryMenu'
  199. type: array
  200. QuoteMenu:
  201. description: 报价牌分类菜单
  202. items:
  203. $ref: '#/definitions/models.QuotePrimaryMenu'
  204. type: array
  205. type: object
  206. cptrade.Cptradepositioncancel:
  207. properties:
  208. accountid:
  209. description: 申请人账户ID
  210. type: integer
  211. applystatus:
  212. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  213. type: integer
  214. applytime:
  215. description: 申请时间
  216. type: string
  217. cancelid:
  218. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  219. type: integer
  220. cancelqty:
  221. description: 注销数量
  222. type: integer
  223. createtime:
  224. description: 创建时间
  225. type: string
  226. creatorid:
  227. description: 创建人ID
  228. type: integer
  229. creatorname:
  230. description: 创建人
  231. type: string
  232. goodscode:
  233. description: 订单商品代码
  234. type: string
  235. goodsid:
  236. description: 商品ID
  237. type: integer
  238. goodsname:
  239. description: 订单商品名称
  240. type: string
  241. goodunit:
  242. description: 报价单位
  243. type: string
  244. handlestatus:
  245. description: 处理状态
  246. type: integer
  247. marketid:
  248. description: 市场ID
  249. type: integer
  250. marketname:
  251. description: 市场名称
  252. type: string
  253. tradedate:
  254. description: 交易日(yyyyMMdd)
  255. type: string
  256. userid:
  257. description: 申请人ID
  258. type: integer
  259. required:
  260. - cancelid
  261. type: object
  262. cptrade.Cptradepresaleapply:
  263. properties:
  264. accountid:
  265. description: 申请人账户ID
  266. type: integer
  267. applyid:
  268. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  269. type: integer
  270. applyremark:
  271. description: 申请备注
  272. type: string
  273. applystatus:
  274. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  275. type: integer
  276. applytime:
  277. description: 申请时间
  278. type: string
  279. attachmenturl:
  280. description: 附件地址
  281. type: string
  282. endtime:
  283. description: 预售结束时间
  284. type: string
  285. goodscode:
  286. description: 商品代码
  287. type: string
  288. goodsid:
  289. description: 商品ID
  290. type: integer
  291. goodsname:
  292. description: 商品名称
  293. type: string
  294. goodunit:
  295. description: 报价单位
  296. type: string
  297. handlestatus:
  298. description: 处理状态
  299. type: integer
  300. marketid:
  301. description: 预售市场ID
  302. type: integer
  303. marketname:
  304. description: 预售市场名称
  305. type: string
  306. presaleqty:
  307. description: 预售数量
  308. type: integer
  309. relatedgoodscode:
  310. description: 关联交易合约代码
  311. type: string
  312. relatedgoodsid:
  313. description: 关联交易合约ID
  314. type: integer
  315. relatedgoodsname:
  316. description: 关联交易合约名称
  317. type: string
  318. starttime:
  319. description: 预售开始时间
  320. type: string
  321. tradedate:
  322. description: 交易日(yyyyMMdd)
  323. type: string
  324. trademode:
  325. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  326. type: integer
  327. userid:
  328. description: 申请人ID
  329. type: integer
  330. required:
  331. - applyid
  332. type: object
  333. cptrade.Cptradeusergoodsdata:
  334. properties:
  335. EnabledQty:
  336. description: 可用量
  337. type: integer
  338. GoodsCode:
  339. description: 订单商品代码
  340. type: string
  341. GoodsName:
  342. description: 订单商品名称
  343. type: string
  344. WRStandardCode:
  345. description: 仓单标准代码
  346. type: string
  347. WRStandardName:
  348. description: 仓单标准名称
  349. type: string
  350. accountid:
  351. description: 账户ID
  352. type: integer
  353. cancelqty:
  354. description: 注销量
  355. type: integer
  356. curpresaleqty:
  357. description: 当前预售量
  358. type: integer
  359. deliveryqty:
  360. description: 交割量
  361. type: integer
  362. freezeamount:
  363. description: 冻结金额
  364. type: number
  365. goodsid:
  366. description: 商品ID
  367. type: integer
  368. goodunit:
  369. description: 报价单位
  370. type: string
  371. hasspotfreeze:
  372. description: 是否有现货冻结 - 0:否 1:有
  373. type: integer
  374. inqty:
  375. description: 转入量(总数量)
  376. type: integer
  377. marketid:
  378. description: 市场ID
  379. type: integer
  380. presaledamount:
  381. description: 已预售总金额
  382. type: integer
  383. presaledqty:
  384. description: 已预售量
  385. type: integer
  386. userid:
  387. description: 用户ID
  388. type: integer
  389. wrstandardid:
  390. description: 仓单标准ID
  391. type: integer
  392. required:
  393. - accountid
  394. - goodsid
  395. type: object
  396. cptrade.QueryCPTradeMyBidRsp:
  397. properties:
  398. accountid:
  399. description: 账户ID[报价币种]
  400. type: integer
  401. goodsid:
  402. description: 商品ID
  403. type: integer
  404. goodunit:
  405. description: 报价单位
  406. type: string
  407. marketid:
  408. description: 市场ID
  409. type: integer
  410. orderid:
  411. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  412. type: integer
  413. orderprice:
  414. description: 委托价格
  415. type: number
  416. orderqty:
  417. description: 委托数量
  418. type: integer
  419. ordertime:
  420. description: 委托时间
  421. type: string
  422. ordertotalprice:
  423. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  424. type: number
  425. ordertotalweight:
  426. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  427. type: integer
  428. totaltotalprice:
  429. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  430. type: number
  431. tradeprice:
  432. description: 成交价格
  433. type: number
  434. tradeqty:
  435. description: 成交数量
  436. type: integer
  437. required:
  438. - accountid
  439. - goodsid
  440. - marketid
  441. - orderid
  442. - orderqty
  443. - ordertime
  444. - tradeprice
  445. - tradeqty
  446. type: object
  447. cptrade.QueryCPTradeOrderDetailRsq:
  448. properties:
  449. accountid:
  450. description: 账户ID[报价币种]
  451. type: integer
  452. buildtype:
  453. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  454. type: integer
  455. buyorsell:
  456. description: 买卖 - 0:买 1:卖
  457. type: integer
  458. cancelorderid:
  459. description: 撤单单号(撤单时填写)
  460. type: integer
  461. cancelqty:
  462. description: 撤单数量
  463. type: integer
  464. clientordertime:
  465. description: 客户端委托时间
  466. type: string
  467. clientticket:
  468. description: 客户端流水号
  469. type: string
  470. clienttype:
  471. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  472. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  473. type: integer
  474. closeexchagechargevalue:
  475. description: 平仓交易所手续费设置值
  476. type: number
  477. closefeealgorithm:
  478. description: 平仓手续费收取方式 1:比率 2:固定
  479. type: integer
  480. closefreezecharge:
  481. description: 平仓冻结手续费(先建后平操作,需要记录)
  482. type: number
  483. closememberchargevalue:
  484. description: 平仓会员手续费设置值
  485. type: number
  486. closeqty:
  487. description: 平仓数量(先建后平操作 需要记录)
  488. type: integer
  489. closetradeqty:
  490. description: 平仓成交数量(先建后平操作,需要记录)
  491. type: integer
  492. closeunfreezecharge:
  493. description: 平仓解冻手续费(先建后平操作,需要记录)
  494. type: number
  495. delistingtype:
  496. description: 摘牌类型 - 1:价格最优 2:点选成交
  497. type: integer
  498. freezecharge:
  499. description: 冻结手续费
  500. type: number
  501. freezemargin:
  502. description: 冻结保证金(冻结交易金额)
  503. type: number
  504. gcaccountid:
  505. description: 账户ID[合约币种]
  506. type: integer
  507. goodsid:
  508. description: 商品ID
  509. type: integer
  510. isconfirmexercise:
  511. description: 是否确认行权- 0:否 1:是
  512. type: integer
  513. ispreexercise:
  514. description: 是否预申报- 0:否 1:是
  515. type: integer
  516. listingselecttype:
  517. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  518. type: integer
  519. marginalgorithm:
  520. description: 保证金收取方式 1:比率 2:固定
  521. type: integer
  522. marginvalue:
  523. description: 即市保证金设置值
  524. type: number
  525. marketid:
  526. description: 市场ID
  527. type: integer
  528. marketmaxsub:
  529. description: 市价最大偏移范围
  530. type: number
  531. memberuserid:
  532. description: 所属会员UserID
  533. type: integer
  534. openexchagechargevalue:
  535. description: 建仓交易所手续费设置值
  536. type: number
  537. openfeealgorithm:
  538. description: 建仓手续费收取方式 1:比率 2:固定
  539. type: integer
  540. openfreezecharge:
  541. description: 开仓冻结手续费(先建后平操作,需要记录)
  542. type: number
  543. openmemberchargevalue:
  544. description: 建仓会员手续费设置值
  545. type: number
  546. openqty:
  547. description: 开仓数量(先建后平操作,需要记录)
  548. type: integer
  549. opentradeqty:
  550. description: 开仓成交数量(先建后平操作,需要记录)
  551. type: integer
  552. openunfreezecharge:
  553. description: 开仓解冻手续费(先建后平操作,需要记录)
  554. type: number
  555. operatetype:
  556. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  557. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  558. 15:管理端协议转让
  559. type: integer
  560. operatorid:
  561. description: 登录账号(LoginID)
  562. type: integer
  563. optiontype:
  564. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  565. type: integer
  566. orderprice:
  567. description: 委托价格
  568. type: number
  569. orderqty:
  570. description: 委托数量
  571. type: integer
  572. ordersrc:
  573. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  574. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  575. type: integer
  576. orderstatus:
  577. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  578. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  579. 16:成交失败违约(荷兰式竞拍专用)
  580. type: integer
  581. ordertime:
  582. description: 委托时间
  583. type: string
  584. preexerciseprice:
  585. description: 预申报价格
  586. type: number
  587. premium:
  588. description: 权利金
  589. type: number
  590. preorderid:
  591. description: 关联预埋单号(止盈止损单时填写)
  592. type: integer
  593. pricemode:
  594. description: '取价方式 - 1:市价 2: 限价'
  595. type: integer
  596. quoteid:
  597. description: 报价单ID
  598. type: integer
  599. relatedid:
  600. description: 关联单号(交割单)
  601. type: integer
  602. retcode:
  603. description: 错误代码
  604. type: integer
  605. sessionid:
  606. description: 会话ID
  607. type: integer
  608. strorderid:
  609. description: 委托单号
  610. type: string
  611. tradedate:
  612. description: 交易日(yyyyMMdd)
  613. type: string
  614. tradeproperty:
  615. description: 交易属性
  616. type: integer
  617. tradeqty:
  618. description: 成交数量
  619. type: integer
  620. unfreezecharge:
  621. description: 解冻手续费
  622. type: number
  623. unfreezemargin:
  624. description: 解冻保证金
  625. type: number
  626. updatetime:
  627. description: 更新时间
  628. type: string
  629. uuid:
  630. description: 发起端唯一id
  631. type: string
  632. validtime:
  633. description: 有效期限
  634. type: string
  635. validtype:
  636. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  637. type: integer
  638. volumetype:
  639. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  640. type: integer
  641. required:
  642. - accountid
  643. - buildtype
  644. - buyorsell
  645. - goodsid
  646. - marketid
  647. - memberuserid
  648. - operatetype
  649. - orderqty
  650. - ordertime
  651. - pricemode
  652. - strorderid
  653. - tradedate
  654. - validtype
  655. type: object
  656. cptrade.QueryMyCPTradeGoodsRsp:
  657. properties:
  658. accountid:
  659. description: 卖方账户ID
  660. type: integer
  661. agreeunit:
  662. description: 合约单位
  663. type: number
  664. applyid:
  665. description: 关联申请ID
  666. type: integer
  667. attachmenturl:
  668. description: 附件地址
  669. type: string
  670. createtime:
  671. description: 创建时间
  672. type: string
  673. currencyid:
  674. description: 报价货币ID
  675. type: integer
  676. decimalplace:
  677. description: 报价小数位
  678. type: integer
  679. endtime:
  680. description: 预售结束时间
  681. type: string
  682. floorprice:
  683. description: 底价[大宗式竞拍]
  684. type: number
  685. goodscode:
  686. description: 商品代码(预售)
  687. type: string
  688. goodsdetail:
  689. description: 详情[大宗]
  690. type: string
  691. goodsid:
  692. description: 商品ID(自增ID SEQ_GOODS)
  693. type: integer
  694. goodsname:
  695. description: 商品名称(预售)
  696. type: string
  697. goodunit:
  698. description: 报价单位
  699. type: string
  700. goodunitid:
  701. description: 报价单位ID
  702. type: integer
  703. marketid:
  704. description: 所属市场ID
  705. type: integer
  706. marketname:
  707. description: 预售市场名称
  708. type: string
  709. presaledamount:
  710. description: 已预售总金额(预售结束时更新)
  711. type: number
  712. presaledqty:
  713. description: 已预售量(预售结束时更新)
  714. type: integer
  715. presalemode:
  716. description: 预售模式 - 1:一口价 2:大宗式竞拍
  717. type: integer
  718. presaleqty:
  719. description: 预售数量
  720. type: integer
  721. refprice:
  722. description: 参考价格[一口价]
  723. type: number
  724. relatedgoodscode:
  725. description: 商品代码(订单)
  726. type: string
  727. relatedgoodsid:
  728. description: 关联交易合约ID
  729. type: integer
  730. relatedgoodsname:
  731. description: 商品名称(订单)
  732. type: string
  733. relatedmarketid:
  734. description: 关联交易合约市场ID
  735. type: integer
  736. sellstatus:
  737. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  738. type: integer
  739. startprice:
  740. description: 起拍价[大宗式竞拍]
  741. type: number
  742. starttime:
  743. description: 预售开始时间
  744. type: string
  745. tradedate:
  746. description: 交易日(yyyyMMdd)
  747. type: string
  748. tradeprice:
  749. description: 成交价[大宗]
  750. type: number
  751. userid:
  752. description: 卖方用户ID
  753. type: integer
  754. required:
  755. - goodscode
  756. - goodsid
  757. - goodsname
  758. - marketid
  759. - relatedgoodscode
  760. - relatedgoodsname
  761. type: object
  762. cptrade.QueryPresaleGoodsExRsp:
  763. properties:
  764. attachmenturl:
  765. description: 附件地址
  766. type: string
  767. createtime:
  768. description: 创建时间
  769. type: string
  770. endtime:
  771. description: 预售结束时间
  772. type: string
  773. floorprice:
  774. description: 底价[大宗式竞拍]
  775. type: number
  776. goodsdetail:
  777. description: 详情[大宗]
  778. type: string
  779. goodsid:
  780. description: 商品ID(预售)
  781. type: integer
  782. goodunit:
  783. description: 报价单位
  784. type: string
  785. marketid:
  786. description: 预售市场ID - 根据预售模式选择市场
  787. type: integer
  788. presaledamount:
  789. description: 已预售总金额(预售结束时更新)
  790. type: number
  791. presaledqty:
  792. description: 已预售量(预售结束时更新)
  793. type: integer
  794. presalemode:
  795. description: 预售模式 - 1:一口价 2:大宗式竞拍
  796. type: integer
  797. presaleqty:
  798. description: 预售数量
  799. type: integer
  800. refprice:
  801. description: 参考价格[一口价]
  802. type: number
  803. relatedgoodsid:
  804. description: 关联交易合约ID
  805. type: integer
  806. relatedmarketid:
  807. description: 关联交易合约市场ID
  808. type: integer
  809. sellstatus:
  810. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  811. type: integer
  812. startprice:
  813. description: 起拍价[大宗式竞拍]
  814. type: number
  815. starttime:
  816. description: 预售开始时间
  817. type: string
  818. tradedate:
  819. description: 交易日(yyyyMMdd)
  820. type: string
  821. tradeprice:
  822. description: 成交价[大宗]
  823. type: number
  824. required:
  825. - goodsid
  826. type: object
  827. delivery.QueryDeliveryRelationRsp:
  828. properties:
  829. begindate:
  830. description: 起始日期(yyyyMMdd)
  831. type: string
  832. buytemplateid:
  833. description: 买履约计划模板ID
  834. type: integer
  835. deliverygoodscode:
  836. description: 品种代码
  837. type: string
  838. deliverygoodsid:
  839. description: 交割商品
  840. type: integer
  841. deliverygoodsname:
  842. description: 品种名称
  843. type: string
  844. deliverymode:
  845. description: 交割方式 - 1:点选式 2:申报式
  846. type: integer
  847. deliverypricerule:
  848. description: 交割价规则- 1:行情价 2:建仓价
  849. type: integer
  850. deliverytype:
  851. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  852. type: integer
  853. enddate:
  854. description: 结束日期(yyyyMMdd)
  855. type: string
  856. goodscode:
  857. description: 商品代码
  858. type: string
  859. goodsid:
  860. description: 交易合约ID
  861. type: integer
  862. goodsname:
  863. description: 商品名称
  864. type: string
  865. marketid:
  866. description: 市场ID
  867. type: integer
  868. mindeliveryqty:
  869. description: 最小交割系数(K)
  870. type: integer
  871. p2deliveryprice:
  872. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  873. type: number
  874. p2deliveryratio:
  875. description: P2合约系数(p)
  876. type: integer
  877. p2goodsid:
  878. description: P2合约ID
  879. type: integer
  880. p2pricemode:
  881. description: P2合约价格方式 - 1:商品价 2:固定值
  882. type: integer
  883. pdeliveryprice:
  884. description: P合约价格(商品价时填写0,固定值时填写固定值)
  885. type: number
  886. pdeliveryratio:
  887. description: P合约系数(n)
  888. type: integer
  889. pgoodsid:
  890. description: P合约ID
  891. type: integer
  892. ppricemode:
  893. description: P合约价格方式 - 1:商品价 2:固定值
  894. type: integer
  895. rratio:
  896. description: 兑换系数(R)
  897. type: integer
  898. rratio1:
  899. description: 兑换系数(交易合约)(R1)
  900. type: integer
  901. rratio2:
  902. description: 兑换系数(仓单标准)(R2)
  903. type: integer
  904. selltemplateid:
  905. description: 卖履约计划模板ID
  906. type: integer
  907. wrstandardid:
  908. description: 仓单标准ID
  909. type: integer
  910. xdeliveryratio:
  911. description: 交易合约系数(m)
  912. type: integer
  913. required:
  914. - begindate
  915. - enddate
  916. - goodsid
  917. - mindeliveryqty
  918. - xdeliveryratio
  919. type: object
  920. ermcp.ExposureDetailRsp:
  921. $ref: '#/definitions/models.ErmcpExposureDetailModel'
  922. ermcp.ExposureHedgePosDetailRsp:
  923. $ref: '#/definitions/models.ErmcpHedgePositionDetail'
  924. ermcp.ExposureHedgePositionRsp:
  925. $ref: '#/definitions/models.ErmcpHedgePosition'
  926. ermcp.ExposureSpotDetailRsp:
  927. $ref: '#/definitions/models.ErmcpAreaSpotDetailModel'
  928. ermcp.ExposureSpotRsp:
  929. $ref: '#/definitions/models.AreaSpotModel'
  930. ermcp.HisExposureRsp:
  931. $ref: '#/definitions/models.ErmcpHisExposureS'
  932. ermcp.PendingAuditCntRsp:
  933. $ref: '#/definitions/models.ErmcpPendingAudit'
  934. ermcp.QryAreaStockApplyRsp:
  935. $ref: '#/definitions/models.ErmcpAreaStockApply'
  936. ermcp.QryAvalidGPRsp:
  937. $ref: '#/definitions/models.ErmcpAvalidGoodsGroupModel'
  938. ermcp.QryBusinessDjRsp:
  939. properties:
  940. amount:
  941. description: 点价金额=(点价价格+升贴水)*点价数量
  942. type: number
  943. applyid:
  944. description: 申请人
  945. type: string
  946. applyname:
  947. description: 申请人名称
  948. type: string
  949. applystatus:
  950. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  951. type: integer
  952. applytime:
  953. description: 申请时间
  954. type: string
  955. attachurl:
  956. description: 附件
  957. type: string
  958. auditid:
  959. description: 审核人ID
  960. type: string
  961. auditname:
  962. description: 审核人名称
  963. type: string
  964. audittime:
  965. description: 审核时间
  966. type: string
  967. buyusername:
  968. description: 采购方名称
  969. type: string
  970. contractno:
  971. description: 合同编号
  972. type: string
  973. contractstatus:
  974. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  975. type: integer
  976. contracttype:
  977. description: 现货合同类型 - 1:采购 -1:销售
  978. type: integer
  979. deliverygoodscode:
  980. description: 现货品种代码
  981. type: string
  982. deliverygoodsid:
  983. description: 现货商品ID
  984. type: integer
  985. deliverygoodsname:
  986. description: 现货品种名称
  987. type: string
  988. enumdicname:
  989. description: 单位名称
  990. type: string
  991. goodscode:
  992. description: 点价合约
  993. type: string
  994. goodsname:
  995. description: 商品名称
  996. type: string
  997. operateapplyid:
  998. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  999. type: string
  1000. operateapplytype:
  1001. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1002. type: integer
  1003. pricedPrice:
  1004. description: 点价价格(非必填)
  1005. type: number
  1006. pricedQty:
  1007. description: 点价数量(非必填)
  1008. type: number
  1009. pricemove:
  1010. description: 升贴水
  1011. type: number
  1012. pricetype:
  1013. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1014. type: integer
  1015. relatedid:
  1016. description: 现货合同ID
  1017. type: string
  1018. sellusername:
  1019. description: 销售方名字
  1020. type: string
  1021. userid:
  1022. description: 用户ID
  1023. type: integer
  1024. wrstandardcode:
  1025. description: 品类代码
  1026. type: string
  1027. wrstandardid:
  1028. description: 品类id
  1029. type: integer
  1030. wrstandardname:
  1031. description: 品类名称
  1032. type: string
  1033. type: object
  1034. ermcp.QryBussinessFpRsp:
  1035. properties:
  1036. applyid:
  1037. description: 申请人
  1038. type: string
  1039. applyname:
  1040. description: 申请人名称
  1041. type: string
  1042. applystatus:
  1043. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1044. type: integer
  1045. applytime:
  1046. description: 申请时间
  1047. type: string
  1048. attachurl:
  1049. description: 附件
  1050. type: string
  1051. auditid:
  1052. description: 审核人ID
  1053. type: string
  1054. auditname:
  1055. description: 审核人名称
  1056. type: string
  1057. audittime:
  1058. description: 审核时间
  1059. type: string
  1060. buyusername:
  1061. description: 采购方名称
  1062. type: string
  1063. contractno:
  1064. description: 合同编号
  1065. type: string
  1066. contractstatus:
  1067. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1068. type: integer
  1069. contracttype:
  1070. description: 现货合同类型 - 1:采购 -1:销售
  1071. type: integer
  1072. deliverygoodscode:
  1073. description: 现货品种代码
  1074. type: string
  1075. deliverygoodsid:
  1076. description: 现货商品ID
  1077. type: integer
  1078. deliverygoodsname:
  1079. description: 现货品种名称
  1080. type: string
  1081. enumdicname:
  1082. description: 单位名称
  1083. type: string
  1084. goodscode:
  1085. description: 点价合约
  1086. type: string
  1087. goodsname:
  1088. description: 商品名称
  1089. type: string
  1090. invoiceAmount:
  1091. description: 已开收票金额(销售为开票,采购为收票)
  1092. type: number
  1093. operateapplyid:
  1094. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1095. type: string
  1096. operateapplytype:
  1097. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1098. type: integer
  1099. pricemove:
  1100. description: 升贴水
  1101. type: number
  1102. pricetype:
  1103. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1104. type: integer
  1105. relatedid:
  1106. description: 现货合同ID
  1107. type: string
  1108. sellusername:
  1109. description: 销售方名字
  1110. type: string
  1111. userid:
  1112. description: 用户ID
  1113. type: integer
  1114. wrstandardcode:
  1115. description: 品类代码
  1116. type: string
  1117. wrstandardid:
  1118. description: 品类id
  1119. type: integer
  1120. wrstandardname:
  1121. description: 品类名称
  1122. type: string
  1123. type: object
  1124. ermcp.QryBussinessJsExRsp:
  1125. properties:
  1126. applyid:
  1127. description: 申请人
  1128. type: string
  1129. applyname:
  1130. description: 申请人名称
  1131. type: string
  1132. applystatus:
  1133. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1134. type: integer
  1135. applytime:
  1136. description: 申请时间
  1137. type: string
  1138. attachurl:
  1139. description: 附件
  1140. type: string
  1141. auditid:
  1142. description: 审核人ID
  1143. type: string
  1144. auditname:
  1145. description: 审核人名称
  1146. type: string
  1147. audittime:
  1148. description: 审核时间
  1149. type: string
  1150. buyusername:
  1151. description: 采购方名称
  1152. type: string
  1153. contractno:
  1154. description: 合同编号
  1155. type: string
  1156. contractstatus:
  1157. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1158. type: integer
  1159. contracttype:
  1160. description: 现货合同类型 - 1:采购 -1:销售
  1161. type: integer
  1162. deliverygoodscode:
  1163. description: 现货品种代码
  1164. type: string
  1165. deliverygoodsid:
  1166. description: 现货商品ID
  1167. type: integer
  1168. deliverygoodsname:
  1169. description: 现货品种名称
  1170. type: string
  1171. enumdicname:
  1172. description: 单位名称
  1173. type: string
  1174. goodscode:
  1175. description: 点价合约
  1176. type: string
  1177. goodsname:
  1178. description: 商品名称
  1179. type: string
  1180. operateapplyid:
  1181. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1182. type: string
  1183. operateapplytype:
  1184. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1185. type: integer
  1186. pricemove:
  1187. description: 升贴水
  1188. type: number
  1189. pricetype:
  1190. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1191. type: integer
  1192. reckontype:
  1193. description: 结算类型
  1194. type: string
  1195. reckonvalue:
  1196. description: 值
  1197. type: number
  1198. relatedid:
  1199. description: 现货合同ID
  1200. type: string
  1201. sellusername:
  1202. description: 销售方名字
  1203. type: string
  1204. userid:
  1205. description: 用户ID
  1206. type: integer
  1207. wrstandardcode:
  1208. description: 品类代码
  1209. type: string
  1210. wrstandardid:
  1211. description: 品类id
  1212. type: integer
  1213. wrstandardname:
  1214. description: 品类名称
  1215. type: string
  1216. type: object
  1217. ermcp.QryBussinessJsRsp:
  1218. properties:
  1219. addmargin:
  1220. description: 追加保证金(非必填)
  1221. type: number
  1222. applyid:
  1223. description: 申请人
  1224. type: string
  1225. applyname:
  1226. description: 申请人名称
  1227. type: string
  1228. applystatus:
  1229. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1230. type: integer
  1231. applytime:
  1232. description: 申请时间
  1233. type: string
  1234. attachurl:
  1235. description: 附件
  1236. type: string
  1237. auditid:
  1238. description: 审核人ID
  1239. type: string
  1240. auditname:
  1241. description: 审核人名称
  1242. type: string
  1243. audittime:
  1244. description: 审核时间
  1245. type: string
  1246. buyusername:
  1247. description: 采购方名称
  1248. type: string
  1249. contractno:
  1250. description: 合同编号
  1251. type: string
  1252. contractstatus:
  1253. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1254. type: integer
  1255. contracttype:
  1256. description: 现货合同类型 - 1:采购 -1:销售
  1257. type: integer
  1258. decmargin:
  1259. description: 减少保证金(非必填)
  1260. type: number
  1261. deliverygoodscode:
  1262. description: 现货品种代码
  1263. type: string
  1264. deliverygoodsid:
  1265. description: 现货商品ID
  1266. type: integer
  1267. deliverygoodsname:
  1268. description: 现货品种名称
  1269. type: string
  1270. enumdicname:
  1271. description: 单位名称
  1272. type: string
  1273. goodscode:
  1274. description: 点价合约
  1275. type: string
  1276. goodsname:
  1277. description: 商品名称
  1278. type: string
  1279. operateapplyid:
  1280. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1281. type: string
  1282. operateapplytype:
  1283. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1284. type: integer
  1285. pricemove:
  1286. description: 升贴水
  1287. type: number
  1288. pricetype:
  1289. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1290. type: integer
  1291. reckonadjustamount:
  1292. description: 结算调整金额(非必填)
  1293. type: number
  1294. reckonosamount:
  1295. description: 结算溢短金额(非必填)
  1296. type: number
  1297. reckonotheramount:
  1298. description: 结算其他费用(非必填)
  1299. type: number
  1300. reckonrealqty:
  1301. description: 结算实际数量(非必填)
  1302. type: number
  1303. relatedid:
  1304. description: 现货合同ID
  1305. type: string
  1306. sellusername:
  1307. description: 销售方名字
  1308. type: string
  1309. userid:
  1310. description: 用户ID
  1311. type: integer
  1312. wrstandardcode:
  1313. description: 品类代码
  1314. type: string
  1315. wrstandardid:
  1316. description: 品类id
  1317. type: integer
  1318. wrstandardname:
  1319. description: 品类名称
  1320. type: string
  1321. type: object
  1322. ermcp.QryBussinessKxRsp:
  1323. properties:
  1324. applyid:
  1325. description: 申请人
  1326. type: string
  1327. applyname:
  1328. description: 申请人名称
  1329. type: string
  1330. applystatus:
  1331. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1332. type: integer
  1333. applytime:
  1334. description: 申请时间
  1335. type: string
  1336. attachurl:
  1337. description: 附件
  1338. type: string
  1339. auditid:
  1340. description: 审核人ID
  1341. type: string
  1342. auditname:
  1343. description: 审核人名称
  1344. type: string
  1345. audittime:
  1346. description: 审核时间
  1347. type: string
  1348. buyusername:
  1349. description: 采购方名称
  1350. type: string
  1351. contractno:
  1352. description: 合同编号
  1353. type: string
  1354. contractstatus:
  1355. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1356. type: integer
  1357. contracttype:
  1358. description: 现货合同类型 - 1:采购 -1:销售
  1359. type: integer
  1360. deductamount:
  1361. description: 退款(非必填)
  1362. type: number
  1363. deliverygoodscode:
  1364. description: 现货品种代码
  1365. type: string
  1366. deliverygoodsid:
  1367. description: 现货商品ID
  1368. type: integer
  1369. deliverygoodsname:
  1370. description: 现货品种名称
  1371. type: string
  1372. enumdicname:
  1373. description: 单位名称
  1374. type: string
  1375. goodscode:
  1376. description: 点价合约
  1377. type: string
  1378. goodsname:
  1379. description: 商品名称
  1380. type: string
  1381. kxtype:
  1382. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1383. type: integer
  1384. operateapplyid:
  1385. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1386. type: string
  1387. operateapplytype:
  1388. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1389. type: integer
  1390. payamount:
  1391. description: 收付款(非必填)
  1392. type: number
  1393. pricemove:
  1394. description: 升贴水
  1395. type: number
  1396. pricetype:
  1397. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1398. type: integer
  1399. relatedid:
  1400. description: 现货合同ID
  1401. type: string
  1402. sellusername:
  1403. description: 销售方名字
  1404. type: string
  1405. userid:
  1406. description: 用户ID
  1407. type: integer
  1408. wrstandardcode:
  1409. description: 品类代码
  1410. type: string
  1411. wrstandardid:
  1412. description: 品类id
  1413. type: integer
  1414. wrstandardname:
  1415. description: 品类名称
  1416. type: string
  1417. type: object
  1418. ermcp.QryErmcpRsp:
  1419. $ref: '#/definitions/models.ErmcpModel'
  1420. ermcp.QryGGCovertCfgRsp:
  1421. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  1422. ermcp.QryHedgePlanRsp:
  1423. $ref: '#/definitions/models.ErmcpHedgePlan'
  1424. ermcp.QryMGChangeLogRsp:
  1425. $ref: '#/definitions/models.ErmcpMiddleGoodsChangeLog'
  1426. ermcp.QryMiddleGoodsDetailRsp:
  1427. $ref: '#/definitions/models.ErmcpMiddleGoodsDetail'
  1428. ermcp.QryMiddleGoodsRsp:
  1429. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  1430. ermcp.QryOPLogRsp:
  1431. $ref: '#/definitions/models.ErmcpOPLogModel'
  1432. ermcp.QryReportDaySpotDetailRsp:
  1433. $ref: '#/definitions/models.ErmcpReportOPLog'
  1434. ermcp.QryReportExposureDayRsp:
  1435. $ref: '#/definitions/models.ErmcpReportDayExposure'
  1436. ermcp.QryReportFinanceDayRsp:
  1437. $ref: '#/definitions/models.ErmcpReportDayFR'
  1438. ermcp.QryReportFinanceKxRsp:
  1439. $ref: '#/definitions/models.ErmcpReportOPLog'
  1440. ermcp.QryReportFinanceMonRsp:
  1441. $ref: '#/definitions/models.ErmcpReportMonthFR'
  1442. ermcp.QryReportSpotDayRsp:
  1443. $ref: '#/definitions/models.ErmcpReportDaySpot'
  1444. ermcp.QryReportSpotMonRsp:
  1445. $ref: '#/definitions/models.ErmcpReportMonSpot'
  1446. ermcp.QryReportSpotMonthDetailRsp:
  1447. $ref: '#/definitions/models.ErmcpReportDaySpot'
  1448. ermcp.QrySpotContractRsp:
  1449. $ref: '#/definitions/models.ErmcpSpotContractModel'
  1450. ermcp.QryUserInfoRsp:
  1451. $ref: '#/definitions/models.ErmcpUserModel'
  1452. ermcp.QryWarehouseRsp:
  1453. $ref: '#/definitions/models.ErmcpWareHouseInfo'
  1454. ermcp.QryWrStandardDetailRsp:
  1455. $ref: '#/definitions/models.ErmcpWrstandDetail'
  1456. ermcp.QryWrStandardRsp:
  1457. $ref: '#/definitions/models.ErmcpWrstandard'
  1458. ermcp.QueryAreaStockApplySumRsp:
  1459. $ref: '#/definitions/models.ErmcpAreaStockApplySum'
  1460. ermcp.QueryErmcpTradePositionRsp:
  1461. properties:
  1462. agreeunit:
  1463. description: 合约单位
  1464. type: number
  1465. buyorsell:
  1466. description: 方向 - 0:买 1:卖
  1467. type: integer
  1468. curpositionqty:
  1469. description: 持仓(总仓数量, 期末头寸)
  1470. type: integer
  1471. curtdposition:
  1472. description: 今仓数量(期末今日头寸)
  1473. type: integer
  1474. curtdpositionenabled:
  1475. description: 今仓可用
  1476. type: integer
  1477. decimalplace:
  1478. description: 报价小数位
  1479. type: integer
  1480. enableqty:
  1481. description: 可用(总仓可用)
  1482. type: integer
  1483. exexchangename:
  1484. description: 外部交易所名称
  1485. type: string
  1486. goodscode:
  1487. description: 商品代码(内部)
  1488. type: string
  1489. goodsid:
  1490. description: 商品ID(自增ID SEQ_GOODS)
  1491. type: integer
  1492. goodsname:
  1493. description: 商品名称
  1494. type: string
  1495. last:
  1496. description: 现价
  1497. type: number
  1498. marketid:
  1499. description: 所属市场ID
  1500. type: integer
  1501. openaverageprice:
  1502. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  1503. type: number
  1504. opencost:
  1505. description: 开仓成本
  1506. type: number
  1507. openpl:
  1508. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向
  1509. = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  1510. type: number
  1511. outgoodscode:
  1512. description: 商品代码(外部)
  1513. type: string
  1514. positionaverageprice:
  1515. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  1516. type: number
  1517. positioncost:
  1518. description: 持仓成本
  1519. type: number
  1520. positionpl:
  1521. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向
  1522. = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  1523. type: number
  1524. positionplrate:
  1525. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  1526. type: number
  1527. usedmargin:
  1528. description: 占用保证金
  1529. type: number
  1530. type: object
  1531. ermcp.RealtimeExposurePositionRsp:
  1532. $ref: '#/definitions/models.ErmcpExposurePostion'
  1533. ermcp.RealtimeExposureRsp:
  1534. $ref: '#/definitions/models.ErmcpRealExposureModel'
  1535. erms2.QueryArbitrageStrategyRsp:
  1536. properties:
  1537. applybasis:
  1538. description: 申请基差
  1539. type: number
  1540. asapplyid:
  1541. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  1542. type: string
  1543. asname:
  1544. description: 策略名称
  1545. type: string
  1546. asno:
  1547. description: 策略编号
  1548. type: string
  1549. basischangepl:
  1550. description: 基差变动损益[结算更新]
  1551. type: number
  1552. biztype:
  1553. description: 业务类型 - 1:正向套利 -1:反向套利
  1554. type: integer
  1555. closetradedate:
  1556. description: 完结交易日(yyyyMMdd)
  1557. type: string
  1558. curbasis:
  1559. description: 当前基差[结算更新]
  1560. type: number
  1561. deliverygoodsid:
  1562. description: 现货品种ID
  1563. type: integer
  1564. futureavgprice:
  1565. description: 期货建仓均价
  1566. type: number
  1567. futurecloseamount:
  1568. description: 期货平仓金额
  1569. type: number
  1570. futurecloseqty:
  1571. description: 期货平仓数量
  1572. type: number
  1573. futureopenamount:
  1574. description: 期货开仓金额
  1575. type: number
  1576. futureopenqty:
  1577. description: 期货开仓数量
  1578. type: number
  1579. futurepl:
  1580. description: 期货总盈亏[结算更新]
  1581. type: number
  1582. futureqty:
  1583. description: 期货持仓数量
  1584. type: number
  1585. futurequote:
  1586. description: 期货额度
  1587. type: number
  1588. goodsgroupid:
  1589. description: 期货品种ID
  1590. type: integer
  1591. marketid:
  1592. description: 市场ID
  1593. type: integer
  1594. netexposure:
  1595. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  1596. type: number
  1597. netexposurepl:
  1598. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  1599. type: number
  1600. netexposurerate:
  1601. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  1602. type: number
  1603. openbasis:
  1604. description: 建仓基差
  1605. type: number
  1606. pricedspotqty:
  1607. description: 已定价现货数量
  1608. type: number
  1609. pricedspotqtynotax:
  1610. description: 已定价现货不含税数量
  1611. type: number
  1612. remark:
  1613. description: 备注
  1614. type: string
  1615. spotavgprice:
  1616. description: 现货均价
  1617. type: number
  1618. spotbuyamount:
  1619. description: 现货采购金额
  1620. type: number
  1621. spotbuyqty:
  1622. description: 现货采购数量
  1623. type: number
  1624. spotpl:
  1625. description: 现货总盈亏[结算更新]
  1626. type: number
  1627. spotquota:
  1628. description: 现货额度
  1629. type: number
  1630. spotsellamount:
  1631. description: 现货销售金额
  1632. type: number
  1633. spotsellqty:
  1634. description: 现货销售数量
  1635. type: number
  1636. spotusedquota:
  1637. description: 现货占用资金
  1638. type: number
  1639. strategystatus:
  1640. description: 策略状态 - 0:未结束 1:已结束
  1641. type: integer
  1642. totalpl:
  1643. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  1644. type: number
  1645. tradedate:
  1646. description: 交易日(yyyyMMdd)
  1647. type: string
  1648. updatetime:
  1649. description: 更新时间
  1650. type: string
  1651. usedquota:
  1652. description: 已占用资金
  1653. type: number
  1654. userid:
  1655. description: 所属机构
  1656. type: integer
  1657. required:
  1658. - asapplyid
  1659. type: object
  1660. erms2.QueryInnerTradeDetailRsp:
  1661. properties:
  1662. accountid:
  1663. description: 账号ID
  1664. type: integer
  1665. agreeunit:
  1666. description: 合约单位
  1667. type: number
  1668. asapplyid:
  1669. description: 策略申请ID
  1670. type: integer
  1671. asname:
  1672. description: 策略名称
  1673. type: string
  1674. asno:
  1675. description: 策略编号
  1676. type: string
  1677. buyorsell:
  1678. description: 方向 - 0:买 1:卖
  1679. type: integer
  1680. channelbuildtype:
  1681. description: 委托单据类型 0:无 1:建仓 2:平仓
  1682. type: integer
  1683. closetype:
  1684. description: 平仓方式 - 0:无 1:平今 2:平昨
  1685. type: integer
  1686. decimalplace:
  1687. description: 报价小数位
  1688. type: integer
  1689. detailtype:
  1690. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  1691. type: integer
  1692. exexchangecode:
  1693. description: 外部交易所代码
  1694. type: string
  1695. exexchangename:
  1696. description: 外部交易所名称
  1697. type: string
  1698. goodscode:
  1699. description: 商品代码(合约)
  1700. type: string
  1701. goodsgroupid:
  1702. description: 商品组ID(品种ID)
  1703. type: integer
  1704. goodsgroupname:
  1705. description: 商品组名称(品种)
  1706. type: string
  1707. goodsid:
  1708. description: 商品ID
  1709. type: integer
  1710. goodsname:
  1711. description: 商品名称(合约)
  1712. type: string
  1713. goodunit:
  1714. description: 报价单位
  1715. type: string
  1716. marketid:
  1717. description: 市场ID
  1718. type: integer
  1719. orderid:
  1720. description: 委托单号
  1721. type: string
  1722. outgoodscode:
  1723. description: 商品代码(外部)
  1724. type: string
  1725. relatedouttradeid:
  1726. description: 关联外部成交单ID
  1727. type: string
  1728. remark:
  1729. description: 备注
  1730. type: string
  1731. spotcontractid:
  1732. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  1733. type: integer
  1734. spotcontractno:
  1735. description: 现货合同编号
  1736. type: string
  1737. tradeid:
  1738. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  1739. type: string
  1740. tradeprice:
  1741. description: 成交价格
  1742. type: number
  1743. tradeqty:
  1744. description: 成交数量
  1745. type: integer
  1746. tradetime:
  1747. description: 成交时间
  1748. type: string
  1749. updatetime:
  1750. description: 更新时间
  1751. type: string
  1752. required:
  1753. - asapplyid
  1754. - buyorsell
  1755. - goodscode
  1756. - goodsgroupid
  1757. - goodsgroupname
  1758. - goodsname
  1759. - tradeid
  1760. type: object
  1761. erms2.QuerySpotContractRsp:
  1762. properties:
  1763. accountid:
  1764. description: 资金账户ID
  1765. type: integer
  1766. areauserid:
  1767. description: 所属机构
  1768. type: integer
  1769. closedate:
  1770. description: 终止日期
  1771. type: string
  1772. closeremark:
  1773. description: 结束备注
  1774. type: string
  1775. closetradedate:
  1776. description: 完结交易日(yyyyMMdd)
  1777. type: string
  1778. closetype:
  1779. description: 终止类型 - 1:违约 2:提前终止
  1780. type: integer
  1781. contractamount:
  1782. description: 合同金额
  1783. type: number
  1784. contractattachment:
  1785. description: 合同附件
  1786. type: string
  1787. contractno:
  1788. description: 现货合同编号
  1789. type: string
  1790. contractqty:
  1791. description: 合同数量(数值) (用于计算)
  1792. type: number
  1793. contractqtychar:
  1794. description: 合同数量\已订价数量 (用于显示)
  1795. type: string
  1796. contractstatus:
  1797. description: 合同状态 - 0:未结束 1:已结束
  1798. type: integer
  1799. contracttype:
  1800. description: 现货合同类型 - 1:采购合同 -1:销售合同
  1801. type: integer
  1802. customeraccountid:
  1803. description: 客户资金账户ID
  1804. type: integer
  1805. customeruserid:
  1806. description: 客户ID
  1807. type: integer
  1808. deliverygoodsdesc:
  1809. description: 品种说明
  1810. type: string
  1811. deliverygoodsid:
  1812. description: 现货品种ID
  1813. type: integer
  1814. handlestatus:
  1815. description: 处理状态
  1816. type: integer
  1817. invoiceatt:
  1818. description: 发票附件
  1819. type: string
  1820. invoicedatetime:
  1821. description: 开收票更新时间
  1822. type: string
  1823. invoiceopentime:
  1824. description: 开票时间
  1825. type: string
  1826. invoiceremark:
  1827. description: 发票备注
  1828. type: string
  1829. invoicestatus:
  1830. description: 开收票状态 - 0:未开票 1:已开票
  1831. type: integer
  1832. lastdate:
  1833. description: 交货时间
  1834. type: string
  1835. marketid:
  1836. description: 市场ID
  1837. type: integer
  1838. paydatetime:
  1839. description: 收付款更新时间
  1840. type: string
  1841. payremark:
  1842. description: 收付款备注
  1843. type: string
  1844. paystatus:
  1845. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  1846. type: integer
  1847. positionqty:
  1848. description: 头寸数量 - 合同数量去小数部分
  1849. type: integer
  1850. producttype:
  1851. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  1852. type: integer
  1853. relatedqty:
  1854. description: 已关联数量
  1855. type: number
  1856. relatedstatus:
  1857. description: 关联完结状态 - 0:未结束 1:已结束
  1858. type: integer
  1859. remark:
  1860. description: 备注
  1861. type: string
  1862. signdate:
  1863. description: 签订日期
  1864. type: string
  1865. spotcontractid:
  1866. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  1867. type: string
  1868. spotdatetime:
  1869. description: 收发货更新时间
  1870. type: string
  1871. spotprice:
  1872. description: 价格
  1873. type: number
  1874. spotremark:
  1875. description: 收发货备注
  1876. type: string
  1877. spotstatus:
  1878. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  1879. type: integer
  1880. tradedate:
  1881. description: 交易日(yyyyMMdd)
  1882. type: string
  1883. userid:
  1884. description: 业务员用户ID
  1885. type: integer
  1886. warehouseid:
  1887. description: 仓库ID
  1888. type: integer
  1889. wrfactortypeid:
  1890. description: 仓单要素类型ID
  1891. type: integer
  1892. wrstandardid:
  1893. description: 仓单标准ID(SEQ_WRSTANDARD)
  1894. type: integer
  1895. required:
  1896. - spotcontractid
  1897. type: object
  1898. erms3.AddErms2ASApplyReq:
  1899. properties:
  1900. applybasis:
  1901. description: 申请基差
  1902. type: number
  1903. applystatus:
  1904. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  1905. type: integer
  1906. asapplyid:
  1907. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  1908. type: integer
  1909. asname:
  1910. description: 策略名称
  1911. type: string
  1912. asno:
  1913. description: 策略编号
  1914. type: string
  1915. auditid:
  1916. description: 审核人
  1917. type: integer
  1918. auditremark:
  1919. description: 审核备注
  1920. type: string
  1921. audittime:
  1922. description: 审核时间
  1923. type: string
  1924. biztype:
  1925. description: 业务类型 - 1:正向套利 2:反向套利
  1926. type: integer
  1927. createtime:
  1928. description: 创建时间
  1929. type: string
  1930. creatorid:
  1931. description: 创建人
  1932. type: integer
  1933. deliverygoodsid:
  1934. description: 现货品种ID
  1935. type: integer
  1936. futurequote:
  1937. description: 期货额度
  1938. type: number
  1939. goodsgroupid:
  1940. description: 期货品种ID
  1941. type: integer
  1942. marketid:
  1943. description: 市场ID
  1944. type: integer
  1945. remark:
  1946. description: 备注
  1947. type: string
  1948. spotquota:
  1949. description: 现货额度
  1950. type: number
  1951. tradedate:
  1952. description: 交易日(yyyyMMdd)
  1953. type: string
  1954. userid:
  1955. description: 所属机构
  1956. type: integer
  1957. required:
  1958. - asapplyid
  1959. type: object
  1960. erms3.AddErms2SpotTradeApplyReq:
  1961. properties:
  1962. applyjsondetail:
  1963. description: 申请明细(JSON)
  1964. type: string
  1965. applystatus:
  1966. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  1967. type: integer
  1968. areauserid:
  1969. description: 所属机构
  1970. type: integer
  1971. auditid:
  1972. description: 审核人
  1973. type: integer
  1974. auditremark:
  1975. description: 审核备注
  1976. type: string
  1977. audittime:
  1978. description: 审核时间
  1979. type: string
  1980. createtime:
  1981. description: 创建时间
  1982. type: string
  1983. creatorid:
  1984. description: 创建人
  1985. type: integer
  1986. deliverygoodsid:
  1987. description: 现货品种ID
  1988. type: integer
  1989. futureaccountid:
  1990. description: 期货资金账户
  1991. type: integer
  1992. goodsgroupid:
  1993. description: 期货品种
  1994. type: integer
  1995. marketid:
  1996. description: 市场ID
  1997. type: integer
  1998. remark:
  1999. description: 备注
  2000. type: string
  2001. spotaccountid:
  2002. description: 现货资金账户
  2003. type: integer
  2004. spottradeid:
  2005. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  2006. type: integer
  2007. spottradename:
  2008. description: 业务名称
  2009. type: string
  2010. spottradeno:
  2011. description: 业务编号
  2012. type: string
  2013. tradedate:
  2014. description: 交易日(yyyyMMdd)
  2015. type: string
  2016. wrstandardid:
  2017. description: 仓单标准ID
  2018. type: integer
  2019. required:
  2020. - spottradeid
  2021. type: object
  2022. erms3.AddSpotContractApplyReq:
  2023. properties:
  2024. accountid:
  2025. description: 资金账户ID
  2026. type: integer
  2027. areauserid:
  2028. description: 所属机构
  2029. type: integer
  2030. contractattachment:
  2031. description: 合同附件
  2032. type: string
  2033. contractno:
  2034. description: 现货合同编号
  2035. type: string
  2036. contracttype:
  2037. description: 现货合同类型 - 1:采购 -1:销售
  2038. type: integer
  2039. creatorid:
  2040. description: 申请人
  2041. type: integer
  2042. customeraccountid:
  2043. description: 客户资金账户ID
  2044. type: integer
  2045. customeruserid:
  2046. description: 客户ID
  2047. type: integer
  2048. details:
  2049. description: 明细
  2050. items:
  2051. $ref: '#/definitions/erms3.SoptContractDetail'
  2052. type: array
  2053. orimargin:
  2054. description: 初始保证金
  2055. type: number
  2056. remark:
  2057. description: 备注
  2058. type: string
  2059. signdate:
  2060. description: 签订日期
  2061. type: string
  2062. required:
  2063. - accountid
  2064. - areauserid
  2065. - contractno
  2066. - contracttype
  2067. - customeraccountid
  2068. - customeruserid
  2069. - details
  2070. - orimargin
  2071. - signdate
  2072. type: object
  2073. erms3.AddSpotContractApplyRsp:
  2074. properties:
  2075. contractno:
  2076. description: 现货合同编号
  2077. type: string
  2078. spotcontractid:
  2079. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  2080. type: integer
  2081. required:
  2082. - contractno
  2083. type: object
  2084. erms3.AddUserInfoApplyReq:
  2085. properties:
  2086. accountid:
  2087. description: 交易系统帐号Id (加密存储)
  2088. type: integer
  2089. areacode:
  2090. description: 机构代码
  2091. type: string
  2092. areaid:
  2093. description: 机构Id
  2094. type: integer
  2095. attachment1:
  2096. description: 附件1
  2097. type: string
  2098. attachment2:
  2099. description: 附件2
  2100. type: string
  2101. attachment3:
  2102. description: 附件3
  2103. type: string
  2104. attachment4:
  2105. description: 附件4
  2106. type: string
  2107. attachment5:
  2108. description: 附件5
  2109. type: string
  2110. auditedby:
  2111. description: 审核人
  2112. type: string
  2113. auditime:
  2114. description: 审核时间
  2115. type: string
  2116. bankaccount:
  2117. description: 银行帐号 (加密存储)
  2118. type: string
  2119. bankaccountname:
  2120. description: 收款人名称
  2121. type: string
  2122. bankcardbackphotourl:
  2123. description: 银行卡背面照地址
  2124. type: string
  2125. bankcardfrontphotourl:
  2126. description: 银行卡正面照地址
  2127. type: string
  2128. bankid:
  2129. description: 银行编码
  2130. type: string
  2131. bankname:
  2132. description: 银行名称
  2133. type: string
  2134. bankpictureurl:
  2135. description: 银行卡正面地址
  2136. type: string
  2137. biznature:
  2138. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2139. type: integer
  2140. bizscope:
  2141. description: 企业经营范围(企业)
  2142. type: string
  2143. biztype:
  2144. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2145. type: integer
  2146. brokerid:
  2147. description: 经纪人ID(加密存储)
  2148. type: string
  2149. cardaddress:
  2150. description: 证件地址 (加密存储)
  2151. type: string
  2152. cardbackphotourl:
  2153. description: 背面证件照地址
  2154. type: string
  2155. cardfrontphotourl:
  2156. description: 正面证件照地址
  2157. type: string
  2158. cardnum:
  2159. description: 证件号码 (加密存储)
  2160. type: string
  2161. cardtype:
  2162. description: 证件类型
  2163. type: integer
  2164. cityid:
  2165. description: 市
  2166. type: integer
  2167. company:
  2168. description: 公司(个人)
  2169. type: string
  2170. contactcardbackphotourl:
  2171. description: 联系人证件背面图片地址
  2172. type: string
  2173. contactcardfrontphotourl:
  2174. description: 联系人证件正面图片地址
  2175. type: string
  2176. contactname:
  2177. description: 联系人
  2178. type: string
  2179. countryid:
  2180. description: 国家
  2181. type: integer
  2182. createtime:
  2183. description: 开户申请时间
  2184. type: string
  2185. cusbankid:
  2186. description: 签约类型
  2187. type: string
  2188. cusbankname:
  2189. description: 签约类型名称
  2190. type: string
  2191. customername:
  2192. description: 客户名称(企业名称)
  2193. type: string
  2194. districtid:
  2195. description: 地区
  2196. type: integer
  2197. email:
  2198. description: Email地址(加密存储)
  2199. type: string
  2200. halfbodyphotourl:
  2201. description: 半身照地址
  2202. type: string
  2203. headurl:
  2204. description: 头像地址
  2205. type: string
  2206. ipaddress:
  2207. description: IP地址
  2208. type: string
  2209. isvalidate:
  2210. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  2211. type: string
  2212. legalcardbackphotourl:
  2213. description: 法人身份证背面照地址
  2214. type: string
  2215. legalcardfrontphotourl:
  2216. description: 法人身份证正面照地址
  2217. type: string
  2218. legalpersonname:
  2219. description: 法人姓名(企业)
  2220. type: string
  2221. logincode:
  2222. description: 登录帐号 (加密存储)
  2223. type: string
  2224. memberareaid:
  2225. description: 所属会员ID
  2226. type: integer
  2227. mobile2:
  2228. description: 手机号码[明文-尚志]
  2229. type: string
  2230. mobilephone:
  2231. description: 手机号码 (加密存储)
  2232. type: string
  2233. modifiedby:
  2234. description: 修改人帐号
  2235. type: integer
  2236. modifiedtime:
  2237. description: 修改时间
  2238. type: string
  2239. nickname:
  2240. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  2241. type: string
  2242. openmode:
  2243. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  2244. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  2245. type: integer
  2246. otherurl:
  2247. description: 其它图片地址[使用分号分隔]
  2248. type: string
  2249. postalcode:
  2250. description: 邮政编码
  2251. type: string
  2252. provinceid:
  2253. description: 省
  2254. type: integer
  2255. proxystatementurl:
  2256. description: 授权委托书
  2257. type: string
  2258. qq:
  2259. description: QQ(加密存储
  2260. type: string
  2261. referral:
  2262. description: 推荐人编码
  2263. type: string
  2264. remark:
  2265. description: 备注
  2266. type: string
  2267. removebeforestatus:
  2268. description: REMOVEBEFORESTATUS
  2269. type: integer
  2270. sex:
  2271. description: 性别 - 0:女 1:男
  2272. type: integer
  2273. signedstatus:
  2274. description: 账户一号签签约状态
  2275. type: integer
  2276. signpdfurl:
  2277. description: 签约pdf文件
  2278. type: string
  2279. subbranch:
  2280. description: 开户支行
  2281. type: string
  2282. telphone:
  2283. description: 联系电话(加密存储)
  2284. type: string
  2285. userid:
  2286. description: 用户ID(自增ID)
  2287. type: integer
  2288. userinfotype:
  2289. description: 用户信息类型 - 1:个人 2:企业
  2290. type: integer
  2291. username:
  2292. description: 用户姓名
  2293. type: string
  2294. userstate:
  2295. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2296. type: integer
  2297. usertype:
  2298. description: 用户类型 - 1:投资者 2:机构
  2299. type: integer
  2300. videourl:
  2301. description: 视频地址
  2302. type: string
  2303. wechat:
  2304. description: 微信号 (加密存储)
  2305. type: string
  2306. required:
  2307. - userid
  2308. type: object
  2309. erms3.CustomerInfo:
  2310. properties:
  2311. accountids:
  2312. description: 资金账户ID列表
  2313. items:
  2314. type: integer
  2315. type: array
  2316. customername:
  2317. description: 名称(企业名称)
  2318. type: string
  2319. mobile:
  2320. description: 手机号码
  2321. type: string
  2322. userid:
  2323. description: 用户ID
  2324. type: integer
  2325. required:
  2326. - userid
  2327. type: object
  2328. erms3.ModifyUserInfoApplyReq:
  2329. properties:
  2330. accountid:
  2331. description: 交易系统帐号Id (加密存储)
  2332. type: integer
  2333. areacode:
  2334. description: 机构代码
  2335. type: string
  2336. areaid:
  2337. description: 机构Id
  2338. type: integer
  2339. attachment1:
  2340. description: 附件1
  2341. type: string
  2342. attachment2:
  2343. description: 附件2
  2344. type: string
  2345. attachment3:
  2346. description: 附件3
  2347. type: string
  2348. attachment4:
  2349. description: 附件4
  2350. type: string
  2351. attachment5:
  2352. description: 附件5
  2353. type: string
  2354. auditedby:
  2355. description: 审核人
  2356. type: string
  2357. auditime:
  2358. description: 审核时间
  2359. type: string
  2360. bankaccount:
  2361. description: 银行帐号 (加密存储)
  2362. type: string
  2363. bankaccountname:
  2364. description: 收款人名称
  2365. type: string
  2366. bankcardbackphotourl:
  2367. description: 银行卡背面照地址
  2368. type: string
  2369. bankcardfrontphotourl:
  2370. description: 银行卡正面照地址
  2371. type: string
  2372. bankid:
  2373. description: 银行编码
  2374. type: string
  2375. bankname:
  2376. description: 银行名称
  2377. type: string
  2378. bankpictureurl:
  2379. description: 银行卡正面地址
  2380. type: string
  2381. biznature:
  2382. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2383. type: integer
  2384. bizscope:
  2385. description: 企业经营范围(企业)
  2386. type: string
  2387. biztype:
  2388. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2389. type: integer
  2390. brokerid:
  2391. description: 经纪人ID(加密存储)
  2392. type: string
  2393. cardaddress:
  2394. description: 证件地址 (加密存储)
  2395. type: string
  2396. cardbackphotourl:
  2397. description: 背面证件照地址
  2398. type: string
  2399. cardfrontphotourl:
  2400. description: 正面证件照地址
  2401. type: string
  2402. cardnum:
  2403. description: 证件号码 (加密存储)
  2404. type: string
  2405. cardtype:
  2406. description: 证件类型
  2407. type: integer
  2408. cityid:
  2409. description: 市
  2410. type: integer
  2411. company:
  2412. description: 公司(个人)
  2413. type: string
  2414. contactcardbackphotourl:
  2415. description: 联系人证件背面图片地址
  2416. type: string
  2417. contactcardfrontphotourl:
  2418. description: 联系人证件正面图片地址
  2419. type: string
  2420. contactname:
  2421. description: 联系人
  2422. type: string
  2423. countryid:
  2424. description: 国家
  2425. type: integer
  2426. createtime:
  2427. description: 开户申请时间
  2428. type: string
  2429. cusbankid:
  2430. description: 签约类型
  2431. type: string
  2432. cusbankname:
  2433. description: 签约类型名称
  2434. type: string
  2435. customername:
  2436. description: 客户名称(企业名称)
  2437. type: string
  2438. districtid:
  2439. description: 地区
  2440. type: integer
  2441. email:
  2442. description: Email地址(加密存储)
  2443. type: string
  2444. halfbodyphotourl:
  2445. description: 半身照地址
  2446. type: string
  2447. headurl:
  2448. description: 头像地址
  2449. type: string
  2450. ipaddress:
  2451. description: IP地址
  2452. type: string
  2453. isvalidate:
  2454. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  2455. type: string
  2456. legalcardbackphotourl:
  2457. description: 法人身份证背面照地址
  2458. type: string
  2459. legalcardfrontphotourl:
  2460. description: 法人身份证正面照地址
  2461. type: string
  2462. legalpersonname:
  2463. description: 法人姓名(企业)
  2464. type: string
  2465. logincode:
  2466. description: 登录帐号 (加密存储)
  2467. type: string
  2468. memberareaid:
  2469. description: 所属会员ID
  2470. type: integer
  2471. mobile2:
  2472. description: 手机号码[明文-尚志]
  2473. type: string
  2474. mobilephone:
  2475. description: 手机号码 (加密存储)
  2476. type: string
  2477. modifiedby:
  2478. description: 修改人帐号
  2479. type: integer
  2480. modifiedtime:
  2481. description: 修改时间
  2482. type: string
  2483. nickname:
  2484. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  2485. type: string
  2486. openmode:
  2487. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  2488. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  2489. type: integer
  2490. otherurl:
  2491. description: 其它图片地址[使用分号分隔]
  2492. type: string
  2493. postalcode:
  2494. description: 邮政编码
  2495. type: string
  2496. provinceid:
  2497. description: 省
  2498. type: integer
  2499. proxystatementurl:
  2500. description: 授权委托书
  2501. type: string
  2502. qq:
  2503. description: QQ(加密存储
  2504. type: string
  2505. referral:
  2506. description: 推荐人编码
  2507. type: string
  2508. remark:
  2509. description: 备注
  2510. type: string
  2511. removebeforestatus:
  2512. description: REMOVEBEFORESTATUS
  2513. type: integer
  2514. sex:
  2515. description: 性别 - 0:女 1:男
  2516. type: integer
  2517. signedstatus:
  2518. description: 账户一号签签约状态
  2519. type: integer
  2520. signpdfurl:
  2521. description: 签约pdf文件
  2522. type: string
  2523. subbranch:
  2524. description: 开户支行
  2525. type: string
  2526. telphone:
  2527. description: 联系电话(加密存储)
  2528. type: string
  2529. userid:
  2530. description: 用户ID(自增ID)
  2531. type: integer
  2532. userinfotype:
  2533. description: 用户信息类型 - 1:个人 2:企业
  2534. type: integer
  2535. username:
  2536. description: 用户姓名
  2537. type: string
  2538. userstate:
  2539. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2540. type: integer
  2541. usertype:
  2542. description: 用户类型 - 1:投资者 2:机构
  2543. type: integer
  2544. videourl:
  2545. description: 视频地址
  2546. type: string
  2547. wechat:
  2548. description: 微信号 (加密存储)
  2549. type: string
  2550. required:
  2551. - userid
  2552. type: object
  2553. erms3.QryAuditContractRsp:
  2554. properties:
  2555. accountid:
  2556. description: 交易员ID
  2557. type: string
  2558. applystatus:
  2559. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2560. type: integer
  2561. curdeliveryqty:
  2562. description: 未交收量
  2563. type: integer
  2564. customername:
  2565. description: 采购方ID
  2566. type: string
  2567. deliverygoodsid:
  2568. description: 品种ID
  2569. type: string
  2570. deliveryqty:
  2571. description: 交收量
  2572. type: integer
  2573. enumdicname:
  2574. description: 单位名称
  2575. type: string
  2576. matchaccountid:
  2577. description: 业务员ID
  2578. type: string
  2579. matchcustomername:
  2580. description: 销售方ID
  2581. type: string
  2582. pricedqty:
  2583. description: 定价量
  2584. type: number
  2585. signdate:
  2586. description: 签订日期
  2587. type: string
  2588. spotcontractid:
  2589. description: 合同ID
  2590. type: string
  2591. totaldqty:
  2592. description: 合同量
  2593. type: number
  2594. unpricedqty:
  2595. description: 未定价量
  2596. type: number
  2597. wrstandardname:
  2598. description: 商品名称
  2599. type: string
  2600. required:
  2601. - matchcustomername
  2602. - spotcontractid
  2603. type: object
  2604. erms3.QryPendingBizRsp:
  2605. $ref: '#/definitions/models.PendingAuditBizModel'
  2606. erms3.QueryBusinessInfoRsp:
  2607. properties:
  2608. businessid:
  2609. description: 业务ID.
  2610. type: integer
  2611. buyamount:
  2612. description: 采购额.
  2613. type: number
  2614. buyqty:
  2615. description: 采购量.
  2616. type: string
  2617. futurepl:
  2618. description: 期货盈亏.
  2619. type: number
  2620. futureqty:
  2621. description: 期货敞口.
  2622. type: string
  2623. goodsid:
  2624. description: 商品名称/商品代码.
  2625. type: string
  2626. hedgingqty:
  2627. description: 套保量.
  2628. type: string
  2629. sellamount:
  2630. description: 销售额.
  2631. type: number
  2632. sellqty:
  2633. description: 销售量.
  2634. type: string
  2635. spotmarketvalue:
  2636. description: 现货市值.
  2637. type: number
  2638. spotpl:
  2639. description: 浮动权益.
  2640. type: number
  2641. spotqty:
  2642. description: 现货量.
  2643. type: string
  2644. statu:
  2645. description: 状态,0-未结束 1-已结束.
  2646. type: integer
  2647. totalpl:
  2648. description: 总盈亏.
  2649. type: number
  2650. totalqty:
  2651. description: 总敞口.
  2652. type: string
  2653. type:
  2654. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  2655. type: integer
  2656. type: object
  2657. erms3.QuerySpotContractAppleFormRsp:
  2658. properties:
  2659. goodses:
  2660. description: 合约列表
  2661. items:
  2662. $ref: '#/definitions/models.GoodsIDAndName'
  2663. type: array
  2664. oppositeusers:
  2665. description: 对方账号列表
  2666. items:
  2667. $ref: '#/definitions/erms3.CustomerInfo'
  2668. type: array
  2669. ouruser:
  2670. $ref: '#/definitions/erms3.CustomerInfo'
  2671. description: 我方账号
  2672. type: object
  2673. warehouseinfos:
  2674. description: 仓库信息列表
  2675. items:
  2676. $ref: '#/definitions/models.Warehouseinfo'
  2677. type: array
  2678. wrstandards:
  2679. description: 仓单标准列表
  2680. items:
  2681. $ref: '#/definitions/models.WRStandardInfo'
  2682. type: array
  2683. type: object
  2684. erms3.QuerySpotContractInfoRsp:
  2685. properties:
  2686. accountid:
  2687. description: 表示交易员ID.
  2688. type: integer
  2689. curdeliveryqty:
  2690. description: 表示未交收量.
  2691. type: number
  2692. customername:
  2693. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  2694. type: string
  2695. deliverygoodsid:
  2696. description: 表示品种ID.
  2697. type: string
  2698. deliveryqty:
  2699. description: 表示交收量.
  2700. type: number
  2701. matchaccountid:
  2702. description: 表示业务员ID.
  2703. type: integer
  2704. matchcustomername:
  2705. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  2706. type: string
  2707. priceqty:
  2708. description: 表示定价量.
  2709. type: number
  2710. relatedbizid:
  2711. description: 表示业务ID.
  2712. type: string
  2713. signdate:
  2714. description: 表示签订日期.
  2715. type: string
  2716. spotcontractid:
  2717. description: 合同ID
  2718. type: string
  2719. status:
  2720. description: 表示状态,0-履约中 1-已完成.
  2721. type: integer
  2722. totalqty:
  2723. description: 表示合同量.
  2724. type: number
  2725. unpricedqty:
  2726. description: 表示未定价量.
  2727. type: number
  2728. wrstandardname:
  2729. description: 表示商品ID.
  2730. type: string
  2731. type: object
  2732. erms3.QueryUserInfoAppliesRsp:
  2733. properties:
  2734. biznature:
  2735. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2736. type: integer
  2737. contactname:
  2738. description: 联系人
  2739. type: string
  2740. createtime:
  2741. description: 开户申请时间
  2742. type: string
  2743. userid:
  2744. description: 用户ID(自增ID)
  2745. type: integer
  2746. userinfotype:
  2747. description: 用户信息类型 - 1:个人 2:企业
  2748. type: integer
  2749. username:
  2750. description: 用户姓名
  2751. type: string
  2752. userstate:
  2753. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2754. type: integer
  2755. required:
  2756. - userid
  2757. type: object
  2758. erms3.QueryUserInfosRsp:
  2759. properties:
  2760. biznature:
  2761. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2762. type: integer
  2763. contactname:
  2764. description: 联系人
  2765. type: string
  2766. customername:
  2767. description: 客户名称(企业名称)
  2768. type: string
  2769. userid:
  2770. description: 用户ID
  2771. type: integer
  2772. userinfotype:
  2773. description: 用户信息类型 - 1:个人 2:企业
  2774. type: integer
  2775. userstatus:
  2776. description: 用户状态 - 1:正常 2:注销
  2777. type: integer
  2778. required:
  2779. - userid
  2780. type: object
  2781. erms3.SoptContractDetail:
  2782. properties:
  2783. deliverygoodsdesc:
  2784. description: 现货品种说明
  2785. type: string
  2786. deliverygoodsid:
  2787. description: 现货品种ID
  2788. type: integer
  2789. deliverygoodsname:
  2790. description: 现货品种名称
  2791. type: string
  2792. pointdesc:
  2793. description: 点价描述
  2794. type: string
  2795. producttype:
  2796. description: 产品类型 1:标准仓单 2:等标 3:非标
  2797. type: integer
  2798. producttypename:
  2799. description: 产品类型名称
  2800. type: string
  2801. spotPointOrderVoList:
  2802. description: 点价列表
  2803. items:
  2804. $ref: '#/definitions/erms3.SpotPointOrder'
  2805. type: array
  2806. spotPriceOrderList:
  2807. description: 定价列表
  2808. items:
  2809. $ref: '#/definitions/erms3.SpotPriceOrder'
  2810. type: array
  2811. unitname:
  2812. description: 单位名称
  2813. type: string
  2814. warehouseid:
  2815. description: 仓库ID
  2816. type: integer
  2817. warehousename:
  2818. description: 仓库名称
  2819. type: string
  2820. wrstandardid:
  2821. description: 交易标的ID
  2822. type: integer
  2823. wrstandardname:
  2824. description: 交易标的名称
  2825. type: string
  2826. required:
  2827. - deliverygoodsid
  2828. - producttype
  2829. - unitname
  2830. - warehouseid
  2831. - wrstandardid
  2832. - wrstandardname
  2833. type: object
  2834. erms3.SpotPointOrder:
  2835. properties:
  2836. basic:
  2837. description: 基差
  2838. type: number
  2839. deliveryenddate:
  2840. description: 交收结束日期
  2841. type: string
  2842. deliverystartdate:
  2843. description: 交收开始日期
  2844. type: string
  2845. enddate:
  2846. description: 点价结束日期
  2847. type: string
  2848. goodsid:
  2849. description: 商品ID
  2850. type: integer
  2851. goodsname:
  2852. description: 商品名称
  2853. type: string
  2854. qty:
  2855. description: 数量
  2856. type: number
  2857. startdate:
  2858. description: 点价开始日期
  2859. type: string
  2860. required:
  2861. - basic
  2862. - goodsid
  2863. - qty
  2864. type: object
  2865. erms3.SpotPriceOrder:
  2866. properties:
  2867. amount:
  2868. description: 金额
  2869. type: number
  2870. deliveryenddate:
  2871. description: 交收结束日期
  2872. type: string
  2873. deliverystartdate:
  2874. description: 交收开始日期
  2875. type: string
  2876. price:
  2877. description: 价格
  2878. type: number
  2879. qty:
  2880. description: 数量
  2881. type: number
  2882. required:
  2883. - amount
  2884. - price
  2885. - qty
  2886. type: object
  2887. hsby.GetHsbyMyCountRsp:
  2888. properties:
  2889. myCouponCount:
  2890. description: 我的优惠卷数量
  2891. type: integer
  2892. myOrderDetailListingCount:
  2893. description: 我的订单求购中数量
  2894. type: integer
  2895. myOrderDetailPreCount:
  2896. description: 我的订单抢购中数量
  2897. type: integer
  2898. myPackageUnReceiveCount:
  2899. description: 我的包裹待收货数量
  2900. type: integer
  2901. myPackageUnSendCount:
  2902. description: 我的包裹待发货数量
  2903. type: integer
  2904. myPayOrderCount:
  2905. description: 我的订单待付款数量
  2906. type: integer
  2907. type: object
  2908. hsby.QueryProvincesAndCitiesRsp:
  2909. properties:
  2910. cities:
  2911. description: 市
  2912. items:
  2913. $ref: '#/definitions/models.Division'
  2914. type: array
  2915. province:
  2916. $ref: '#/definitions/models.Division'
  2917. description: 省
  2918. type: object
  2919. type: object
  2920. models.AreaSpotModel:
  2921. properties:
  2922. areauserid:
  2923. description: 所属机构
  2924. type: integer
  2925. decreaseqty:
  2926. description: 减少数量=-(销售已定价数量+采购计划数量)
  2927. type: number
  2928. increaseqty:
  2929. description: 增加数量=销售计划数量+采购已定价数量
  2930. type: number
  2931. oritoalspotqty:
  2932. description: 昨日数量
  2933. type: number
  2934. totalspotqty:
  2935. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  2936. type: number
  2937. updatetime:
  2938. description: 更新时间
  2939. type: string
  2940. wrstandardcode:
  2941. description: 现货品种代码
  2942. type: string
  2943. wrstandardid:
  2944. description: 现货商品ID
  2945. type: integer
  2946. wrstandardname:
  2947. description: 现货品种
  2948. type: string
  2949. type: object
  2950. models.Clientfixedadconfig:
  2951. properties:
  2952. adsort:
  2953. description: 排序
  2954. type: integer
  2955. adtype:
  2956. description: 广告位类型 - 1:新品抢购(HSBY)
  2957. type: integer
  2958. areauserid:
  2959. description: 所属机构ID
  2960. type: integer
  2961. createdate:
  2962. description: 创建时间
  2963. type: string
  2964. creatorid:
  2965. description: 创建人
  2966. type: integer
  2967. imagepath:
  2968. description: 图片
  2969. type: string
  2970. isshow:
  2971. description: 是否展示 - 0:不展示 1:展示
  2972. type: integer
  2973. modifierid:
  2974. description: 操作人
  2975. type: integer
  2976. recsize:
  2977. description: 推荐尺寸
  2978. type: string
  2979. title:
  2980. description: 标题
  2981. type: string
  2982. updatedate:
  2983. description: 更新时间
  2984. type: string
  2985. urlcontent:
  2986. description: 链接(地址或商品ID)
  2987. type: string
  2988. urltype:
  2989. description: 链接类型 - 1:直接地址 2:商品ID
  2990. type: integer
  2991. required:
  2992. - adsort
  2993. - adtype
  2994. type: object
  2995. models.Division:
  2996. properties:
  2997. autoid:
  2998. description: 自增ID
  2999. type: integer
  3000. divisioncode:
  3001. description: 行政代码
  3002. type: string
  3003. divisionlevel:
  3004. description: 行政级别
  3005. type: string
  3006. divisionname:
  3007. description: 行政名称
  3008. type: string
  3009. modifierid:
  3010. description: 修改人
  3011. type: integer
  3012. modifytime:
  3013. description: 修改时间
  3014. type: string
  3015. parentcode:
  3016. description: 上级行政代码
  3017. type: string
  3018. pathname:
  3019. description: 路径名称
  3020. type: string
  3021. postcode:
  3022. description: 邮政编码
  3023. type: string
  3024. separablename:
  3025. description: 可拆分的全称
  3026. type: string
  3027. shortcode:
  3028. description: 地区简码
  3029. type: string
  3030. required:
  3031. - autoid
  3032. - divisioncode
  3033. type: object
  3034. models.Enumdicitem:
  3035. properties:
  3036. autoid:
  3037. description: 自增ID
  3038. type: integer
  3039. bankmappedvalue:
  3040. description: 银行服务对应值
  3041. type: string
  3042. enumdiccode:
  3043. description: 所属枚举代码
  3044. type: string
  3045. enumdicid:
  3046. description: 所属枚举ID
  3047. type: integer
  3048. enumdicname:
  3049. description: 枚举项名称
  3050. type: string
  3051. enumitemname:
  3052. description: 枚举项值
  3053. type: integer
  3054. enumitemstatus:
  3055. description: 枚举项状态 - 1.启用 2.不启用
  3056. type: integer
  3057. enumitemvalue:
  3058. description: 通用值 - [币种通用简写]
  3059. type: string
  3060. param1:
  3061. description: 参数1[币种:币种小数位]
  3062. type: string
  3063. param2:
  3064. description: 参数1[币种:币种显示单位]
  3065. type: string
  3066. remark:
  3067. description: 备注
  3068. type: string
  3069. required:
  3070. - autoid
  3071. - enumdiccode
  3072. - enumdicid
  3073. - enumitemname
  3074. type: object
  3075. models.Ermcp3AreaSpot:
  3076. properties:
  3077. areauserid:
  3078. description: 所属机构
  3079. type: integer
  3080. decreaseqty:
  3081. description: 减少数量=-(销售已定价数量+采购计划数量)
  3082. type: number
  3083. deliverygoodscode:
  3084. description: 现货品种代码
  3085. type: string
  3086. deliverygoodsid:
  3087. description: 现货品种id
  3088. type: integer
  3089. deliverygoodsname:
  3090. description: 现货品种名称
  3091. type: string
  3092. increaseqty:
  3093. description: 增加数量=销售计划数量+采购已定价数量
  3094. type: number
  3095. oritoalspotqty:
  3096. description: 昨日数量
  3097. type: number
  3098. totalspotqty:
  3099. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  3100. type: number
  3101. updatetime:
  3102. description: 更新时间
  3103. type: string
  3104. type: object
  3105. models.Ermcp3AreaSpotDetail:
  3106. properties:
  3107. contracttype:
  3108. description: 合同类型 1-采购 -1-销售
  3109. type: integer
  3110. createtime:
  3111. description: 创建时间
  3112. type: string
  3113. deliverygoodscode:
  3114. description: 现货品种代码
  3115. type: string
  3116. deliverygoodsid:
  3117. description: 现货品种id
  3118. type: integer
  3119. deliverygoodsname:
  3120. description: 现货品种名称
  3121. type: string
  3122. enumdicname:
  3123. description: 现货商品单位名称
  3124. type: string
  3125. logtype:
  3126. description: 记录类型 1-套保 2-现货合同
  3127. type: integer
  3128. qty:
  3129. description: 数量
  3130. type: number
  3131. recordname:
  3132. description: 类型名称
  3133. type: string
  3134. relatedid:
  3135. description: 套保计划ID/现货合同ID
  3136. type: string
  3137. relatedno:
  3138. description: 编号
  3139. type: string
  3140. strtime:
  3141. description: 时间
  3142. type: string
  3143. type: object
  3144. models.Ermcp3AreaStock:
  3145. properties:
  3146. brandname:
  3147. description: 品牌名称
  3148. type: string
  3149. curstock:
  3150. description: 期末库存量(今日量)
  3151. type: number
  3152. deliverygoodscode:
  3153. description: 现货品种代码
  3154. type: string
  3155. deliverygoodsid:
  3156. description: 现货品种id
  3157. type: integer
  3158. deliverygoodsname:
  3159. description: 现货品种名称
  3160. type: string
  3161. enumdicname:
  3162. description: 单位名称
  3163. type: string
  3164. goodsunitid:
  3165. description: 现货商品单位id
  3166. type: integer
  3167. oristock:
  3168. description: 期初库存量(昨日量)
  3169. type: number
  3170. spotgoodsbrandid:
  3171. description: 现货品牌ID
  3172. type: integer
  3173. todaybuyinqty:
  3174. description: 今日采购入库量
  3175. type: number
  3176. todayproduceinqty:
  3177. description: 今日生产入库量
  3178. type: number
  3179. todayproduceoutqty:
  3180. description: 今日生产出库量
  3181. type: number
  3182. todayselloutqty:
  3183. description: 今日销售出库量
  3184. type: number
  3185. unitid:
  3186. description: 单位id
  3187. type: integer
  3188. updatetime:
  3189. description: 更新时间
  3190. type: string
  3191. userid:
  3192. description: 机构ID
  3193. type: integer
  3194. username:
  3195. description: 机构名称
  3196. type: string
  3197. warehousecode:
  3198. description: 仓库代码
  3199. type: string
  3200. warehouseinfoid:
  3201. description: 仓库ID
  3202. type: string
  3203. warehousename:
  3204. description: 仓库名称
  3205. type: string
  3206. warehousetype:
  3207. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3208. type: integer
  3209. wrstandardcode:
  3210. description: 品类代码
  3211. type: string
  3212. wrstandardid:
  3213. description: 品类ID
  3214. type: string
  3215. wrstandardname:
  3216. description: 品类名称
  3217. type: string
  3218. required:
  3219. - userid
  3220. type: object
  3221. models.Ermcp3AreaStockApply:
  3222. properties:
  3223. applyid:
  3224. description: 申请人
  3225. type: integer
  3226. applyname:
  3227. description: 申请人名称
  3228. type: string
  3229. applyremark:
  3230. description: 申请备注
  3231. type: string
  3232. applysrc:
  3233. description: 申请来源 - 1:管理端 2:终端
  3234. type: integer
  3235. applystatus:
  3236. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  3237. type: integer
  3238. applytime:
  3239. description: 申请时间
  3240. type: string
  3241. auditid:
  3242. description: 审核人
  3243. type: integer
  3244. auditname:
  3245. description: 审核人名称
  3246. type: string
  3247. auditremark:
  3248. description: 审核备注
  3249. type: string
  3250. auditsrc:
  3251. description: 审核来源 - 1:管理端 2:终端
  3252. type: integer
  3253. audittime:
  3254. description: 审核时间
  3255. type: string
  3256. audittradedate:
  3257. description: 审核交易日(yyyyMMdd)
  3258. type: string
  3259. brandname:
  3260. description: 品牌名称
  3261. type: string
  3262. buynickname:
  3263. description: 采购方昵称
  3264. type: string
  3265. buyuserid:
  3266. description: 采购方userid
  3267. type: integer
  3268. buyusername:
  3269. description: 采购方名称
  3270. type: string
  3271. contractno:
  3272. description: 合同编号
  3273. type: string
  3274. contractqty:
  3275. description: 合同量
  3276. type: number
  3277. contracttype:
  3278. description: 现货合同类型 - 1:采购 -1:销售
  3279. type: integer
  3280. deliverygoodscode:
  3281. description: 现货品种代码
  3282. type: string
  3283. deliverygoodsid:
  3284. description: 现货品种id
  3285. type: integer
  3286. deliverygoodsname:
  3287. description: 现货品种名称
  3288. type: string
  3289. enumdicname:
  3290. description: 现货商品单位名称
  3291. type: string
  3292. inoutapplyid:
  3293. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  3294. type: string
  3295. inouttype:
  3296. description: 出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  3297. type: integer
  3298. pricetype:
  3299. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  3300. type: integer
  3301. qty:
  3302. description: 数量
  3303. type: number
  3304. sellnickname:
  3305. description: 销售方昵称
  3306. type: string
  3307. selluserid:
  3308. description: 销售方userid
  3309. type: integer
  3310. sellusername:
  3311. description: 销售方名称
  3312. type: string
  3313. spotcontractid:
  3314. description: 关联现货合同ID
  3315. type: string
  3316. spotgoodsbrandid:
  3317. description: 现货品牌ID
  3318. type: integer
  3319. unitid:
  3320. description: 单位id
  3321. type: integer
  3322. userid:
  3323. description: 机构ID
  3324. type: integer
  3325. warehousecode:
  3326. description: 仓库代码
  3327. type: string
  3328. warehouseinfoid:
  3329. description: 现货仓库ID
  3330. type: string
  3331. warehousename:
  3332. description: 仓库名称
  3333. type: string
  3334. warehousetype:
  3335. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3336. type: integer
  3337. wrstandardcode:
  3338. description: 品类代码
  3339. type: string
  3340. wrstandardid:
  3341. description: 品类ID
  3342. type: integer
  3343. wrstandardname:
  3344. description: 品类名称
  3345. type: string
  3346. type: object
  3347. models.Ermcp3AreaStockApplySum:
  3348. properties:
  3349. brandname:
  3350. description: 品牌名称
  3351. type: string
  3352. inouttype:
  3353. description: 出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  3354. type: integer
  3355. spotcontractid:
  3356. description: 关联现货合同ID
  3357. type: string
  3358. spotgoodsbrandid:
  3359. description: 品牌id
  3360. type: integer
  3361. totalqty:
  3362. description: 总数量
  3363. type: number
  3364. wrstandardid:
  3365. description: 品类id
  3366. type: integer
  3367. wrstandardname:
  3368. description: 品类名称
  3369. type: string
  3370. type: object
  3371. models.Ermcp3AreaStockReport:
  3372. properties:
  3373. brandname:
  3374. description: 品牌名称
  3375. type: string
  3376. curstock:
  3377. description: 期末库存量
  3378. type: number
  3379. deliverygoodscode:
  3380. description: 现货品种代码
  3381. type: string
  3382. deliverygoodsid:
  3383. description: 现货品种id
  3384. type: integer
  3385. deliverygoodsname:
  3386. description: 现货品种名称
  3387. type: string
  3388. enumdicname:
  3389. description: 单位名称
  3390. type: string
  3391. goodsunitid:
  3392. description: 现货单位id
  3393. type: integer
  3394. oristock:
  3395. description: 期初库存量
  3396. type: number
  3397. spotgoodsbrandid:
  3398. description: 现货品牌ID
  3399. type: integer
  3400. todaybuyinqty:
  3401. description: 今日采购入库量
  3402. type: number
  3403. todayproduceinqty:
  3404. description: 今日生产入库量
  3405. type: number
  3406. todayproduceoutqty:
  3407. description: 今日生产出库量
  3408. type: number
  3409. todayselloutqty:
  3410. description: 今日销售出库量
  3411. type: number
  3412. unitid:
  3413. description: 品类单位id
  3414. type: integer
  3415. updatetime:
  3416. description: 更新时间
  3417. type: string
  3418. userid:
  3419. description: 机构ID
  3420. type: integer
  3421. username:
  3422. description: 机构名称
  3423. type: string
  3424. warehousecode:
  3425. description: 仓库代码
  3426. type: string
  3427. warehouseinfoid:
  3428. description: 仓库ID
  3429. type: string
  3430. warehousename:
  3431. description: 仓库名称
  3432. type: string
  3433. warehousetype:
  3434. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3435. type: integer
  3436. wrstandardcode:
  3437. description: 品类代码
  3438. type: string
  3439. wrstandardid:
  3440. description: 品类ID
  3441. type: integer
  3442. wrstandardname:
  3443. description: 品类名称
  3444. type: string
  3445. type: object
  3446. models.Ermcp3Brand:
  3447. properties:
  3448. areauserid:
  3449. description: 用户id
  3450. type: integer
  3451. brandid:
  3452. description: 品牌id
  3453. type: integer
  3454. brandname:
  3455. description: 品牌名称
  3456. type: string
  3457. deliverygoodsid:
  3458. description: 品种ID
  3459. type: integer
  3460. type: object
  3461. models.Ermcp3Contract:
  3462. properties:
  3463. accountid:
  3464. description: 期货账户id
  3465. type: string
  3466. amount:
  3467. description: 金额 [1:一口价、3:暂定价]
  3468. type: number
  3469. attachment:
  3470. description: 附件
  3471. type: string
  3472. auditremark:
  3473. description: 审核意见
  3474. type: string
  3475. audittime:
  3476. description: 审核时间
  3477. type: string
  3478. biztype:
  3479. description: 业务类型 1-套保 2-套利
  3480. type: integer
  3481. brandname:
  3482. description: 品牌名称
  3483. type: string
  3484. buynickname:
  3485. description: 销售方昵称
  3486. type: string
  3487. buyuserid:
  3488. description: 采购方ID
  3489. type: integer
  3490. buyusername:
  3491. description: 采购方名称
  3492. type: string
  3493. contracctstatus:
  3494. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  3495. type: integer
  3496. contractmargin:
  3497. description: 合同保证金
  3498. type: number
  3499. contractno:
  3500. description: 现货合同编号
  3501. type: string
  3502. contracttype:
  3503. description: 现货合同类型 - 1:采购 -1:销售
  3504. type: integer
  3505. convertfactor:
  3506. description: 标仓系数(品类)
  3507. type: number
  3508. createtime:
  3509. description: 创建时间
  3510. type: string
  3511. deliveryenddate:
  3512. description: 交收期(结束)
  3513. type: string
  3514. deliverygoodscode:
  3515. description: 现货品种代码
  3516. type: string
  3517. deliverygoodsid:
  3518. description: 现货品种ID
  3519. type: integer
  3520. deliverygoodsname:
  3521. description: 现货品种名称
  3522. type: string
  3523. deliverystartdate:
  3524. description: 交收期(开始)
  3525. type: string
  3526. enddate:
  3527. description: 点价结束日期 [2:点价 3:暂定价]
  3528. type: string
  3529. enumdicname:
  3530. description: 单位名称
  3531. type: string
  3532. goodscode:
  3533. description: 点价合约代码
  3534. type: string
  3535. goodsid:
  3536. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  3537. type: integer
  3538. goodsname:
  3539. description: 点价商品名称
  3540. type: string
  3541. margin:
  3542. description: 当前保证金
  3543. type: number
  3544. meruserid:
  3545. description: 跟单员id
  3546. type: integer
  3547. meruserlogincode:
  3548. description: 跟单员登录代码
  3549. type: string
  3550. price:
  3551. description: 价格\暂定价 [1:一口价、3:暂定价]
  3552. type: number
  3553. pricemove:
  3554. description: 升贴水 [2:点价 3:暂定价]
  3555. type: number
  3556. pricetype:
  3557. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  3558. type: integer
  3559. producttype:
  3560. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  3561. type: integer
  3562. qty:
  3563. description: 数量
  3564. type: number
  3565. remark:
  3566. description: 备注
  3567. type: string
  3568. saleuserid:
  3569. description: 业务员id
  3570. type: integer
  3571. saleuserlogincode:
  3572. description: 业务员登录代码
  3573. type: string
  3574. sellnickname:
  3575. description: 采购方昵称
  3576. type: string
  3577. selluserid:
  3578. description: 销售方ID
  3579. type: integer
  3580. sellusername:
  3581. description: 销售方名称
  3582. type: string
  3583. spotcontractid:
  3584. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  3585. type: string
  3586. spotgoodsbrandid:
  3587. description: 现货品牌ID(DGFactoryItem表的ID)
  3588. type: integer
  3589. spotgoodsdesc:
  3590. description: 商品型号
  3591. type: string
  3592. startdate:
  3593. description: 点价开始日期 [2:点价 3:暂定价]
  3594. type: string
  3595. tradeuserid:
  3596. description: 交易员id
  3597. type: integer
  3598. tradeuserlogincode:
  3599. description: 交易员登录代码
  3600. type: string
  3601. unitid:
  3602. description: 单位id(取品类上的单位id)
  3603. type: integer
  3604. updatetime:
  3605. description: 更新时间
  3606. type: string
  3607. userid:
  3608. description: 所属机构ID
  3609. type: integer
  3610. wrstandardcode:
  3611. description: 品类代码
  3612. type: string
  3613. wrstandardid:
  3614. description: 品类ID
  3615. type: integer
  3616. wrstandardname:
  3617. description: 品类名称
  3618. type: string
  3619. type: object
  3620. models.Ermcp3ExposureDetail:
  3621. properties:
  3622. areauserid:
  3623. description: 机构ID
  3624. type: integer
  3625. changeQty:
  3626. description: 套保变动量
  3627. type: number
  3628. contracttype:
  3629. description: 现货合同类型 - 1:采购 -1:销售
  3630. type: integer
  3631. convertfactor:
  3632. description: 标仓系数
  3633. type: number
  3634. convertratio:
  3635. description: 套保系数
  3636. type: number
  3637. createtime:
  3638. description: 时间
  3639. type: string
  3640. deliverygoodscode:
  3641. description: 现货品种代码
  3642. type: string
  3643. deliverygoodsid:
  3644. description: 现货品种id
  3645. type: integer
  3646. deliverygoodsname:
  3647. description: 现货品种名称
  3648. type: string
  3649. enumdicname:
  3650. description: 现货商品单位名称
  3651. type: string
  3652. logtype:
  3653. description: 类型 - 1:套保计划 2:现货合同
  3654. type: integer
  3655. middlegoodsId:
  3656. description: 套保商品id
  3657. type: integer
  3658. middlegoodscode:
  3659. description: 套保商品代码
  3660. type: string
  3661. middlegoodsname:
  3662. description: 套保商品名称
  3663. type: string
  3664. qty:
  3665. description: 数量
  3666. type: number
  3667. relateNo:
  3668. description: 现货合同/套保计划编号
  3669. type: string
  3670. type: object
  3671. models.Ermcp3GoodsGroup:
  3672. properties:
  3673. agreeunit:
  3674. description: 合约单位
  3675. type: number
  3676. areauserid:
  3677. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  3678. type: integer
  3679. canshort:
  3680. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  3681. type: integer
  3682. closepricemode:
  3683. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  3684. type: integer
  3685. createtime:
  3686. description: 创建时间
  3687. type: string
  3688. creatorid:
  3689. description: 创建人
  3690. type: integer
  3691. currencyid:
  3692. description: 报价货币ID
  3693. type: integer
  3694. decimalplace:
  3695. description: 报价小数位
  3696. type: integer
  3697. excludecfg:
  3698. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  3699. type: integer
  3700. exexchangeid:
  3701. description: 外部交易所ID[通道交易]
  3702. type: integer
  3703. goodsgroupid:
  3704. description: 商品组ID(自增ID)
  3705. type: integer
  3706. goodsgroupname:
  3707. description: 商品组名称
  3708. type: string
  3709. goodsgroupstatus:
  3710. description: 商品组状态 - 1:正常 2:注销
  3711. type: integer
  3712. goodunitid:
  3713. description: 报价单位ID
  3714. type: integer
  3715. groupcategroyid:
  3716. description: 品种分类ID
  3717. type: integer
  3718. innerdealmode:
  3719. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  3720. type: integer
  3721. marketid:
  3722. description: 所属市场ID
  3723. type: integer
  3724. modifierid:
  3725. description: 修改人
  3726. type: integer
  3727. modifytime:
  3728. description: 修改时间
  3729. type: string
  3730. outerdealmode:
  3731. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  3732. type: integer
  3733. outergroupcode:
  3734. description: 外部商品组代码[通道交易]
  3735. type: string
  3736. quoteminunit:
  3737. description: 行情最小变动单位 [整数,报价小数位一起使用]
  3738. type: integer
  3739. quotesourcegroupid:
  3740. description: 所属行情源分组ID[参考行情市场用\通道交易]
  3741. type: integer
  3742. syncgoodsqty:
  3743. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  3744. type: integer
  3745. required:
  3746. - areauserid
  3747. type: object
  3748. models.Ermcp3HedgePlan:
  3749. properties:
  3750. areauserid:
  3751. description: 用户ID
  3752. type: integer
  3753. audittime:
  3754. description: 审核时间
  3755. type: string
  3756. contracttype:
  3757. description: 计划类型 - 1:采购 -1:销售
  3758. type: integer
  3759. convertfactor:
  3760. description: 标仓系数
  3761. type: number
  3762. createtime:
  3763. description: 创建时间
  3764. type: string
  3765. deliverygoodscode:
  3766. description: 现货品种代码
  3767. type: string
  3768. deliverygoodsid:
  3769. description: 现货品种ID
  3770. type: integer
  3771. deliverygoodsname:
  3772. description: 现货品种名称
  3773. type: string
  3774. enumdicname:
  3775. description: 单位名称
  3776. type: string
  3777. hedgeplanid:
  3778. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  3779. type: string
  3780. hedgeplanno:
  3781. description: 套保计划编号(名称)
  3782. type: string
  3783. hedgeplanstatus:
  3784. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  3785. type: integer
  3786. planqty:
  3787. description: 计划数量
  3788. type: number
  3789. plantime:
  3790. description: 计划时间
  3791. type: string
  3792. producttype:
  3793. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  3794. type: integer
  3795. remark:
  3796. description: 备注
  3797. type: string
  3798. spotgoodsdesc:
  3799. description: 商品型号
  3800. type: string
  3801. unitid:
  3802. description: 单位id
  3803. type: integer
  3804. updatetime:
  3805. description: 更新时间
  3806. type: string
  3807. type: object
  3808. models.Ermcp3ReportAreaSpotPL:
  3809. properties:
  3810. actualpl:
  3811. description: 实际损益
  3812. type: number
  3813. areauserid:
  3814. description: 所属机构
  3815. type: integer
  3816. brandname:
  3817. description: 品牌名称
  3818. type: string
  3819. curamount:
  3820. description: 期末额
  3821. type: number
  3822. curaverageprice:
  3823. description: 期末均价
  3824. type: number
  3825. curbuyamount:
  3826. description: 期末采购总额(采购额)
  3827. type: number
  3828. curbuyqty:
  3829. description: 期末采购总量
  3830. type: number
  3831. curmarketvalue:
  3832. description: 参考市值
  3833. type: number
  3834. curqty:
  3835. description: 期末量
  3836. type: number
  3837. cursellamount:
  3838. description: 期末销售总额(销售额)
  3839. type: number
  3840. cursellqty:
  3841. description: 期末销售总量
  3842. type: number
  3843. curspotprice:
  3844. description: 参考市价
  3845. type: number
  3846. deliverygoodscode:
  3847. description: 现货品种代码
  3848. type: string
  3849. deliverygoodsid:
  3850. description: 现货品种id
  3851. type: integer
  3852. deliverygoodsname:
  3853. description: 现货品种名称
  3854. type: string
  3855. enumdicname:
  3856. description: 现货商品单位名称
  3857. type: string
  3858. floatpl:
  3859. description: 浮动损益
  3860. type: number
  3861. gbenumdicname:
  3862. description: 品类单位名称
  3863. type: string
  3864. gbunitid:
  3865. description: 现货单位id
  3866. type: integer
  3867. modelname:
  3868. description: 品类名称
  3869. type: string
  3870. oriamount:
  3871. description: 期初额
  3872. type: number
  3873. oriaverageprice:
  3874. description: 期初均价
  3875. type: number
  3876. oribuyamount:
  3877. description: 期初采购总额
  3878. type: number
  3879. oribuyqty:
  3880. description: 期初采购总量
  3881. type: number
  3882. oriqty:
  3883. description: 期初量
  3884. type: number
  3885. orisellamount:
  3886. description: 期初销售总额
  3887. type: number
  3888. orisellqty:
  3889. description: 期初销售总量
  3890. type: number
  3891. spotgoodsbrandid:
  3892. description: 现货品牌ID
  3893. type: integer
  3894. todaybuyamount:
  3895. description: 今日采购额
  3896. type: number
  3897. todaybuyaverageprice:
  3898. description: 今日采购均价(采购均价)
  3899. type: number
  3900. todaybuyqty:
  3901. description: 今日采购量(采购增量)
  3902. type: number
  3903. todaysellamount:
  3904. description: 今日销售额
  3905. type: number
  3906. todaysellaverageprice:
  3907. description: 今日销售均价(销售均价)
  3908. type: number
  3909. todaysellqty:
  3910. description: 今日销售量(销售增量)
  3911. type: number
  3912. unitid:
  3913. description: 品类单位id
  3914. type: integer
  3915. updatetime:
  3916. description: 更新时间
  3917. type: string
  3918. wrstandardcode:
  3919. description: 品类代码
  3920. type: string
  3921. wrstandardid:
  3922. description: 品类ID
  3923. type: integer
  3924. wrstandardname:
  3925. description: 品类名称
  3926. type: string
  3927. type: object
  3928. models.Ermcp3ReportDaySpot:
  3929. properties:
  3930. areauserid:
  3931. description: 所属机构T
  3932. type: integer
  3933. buyinqty:
  3934. description: 采购入库量
  3935. type: number
  3936. deliverygoodscode:
  3937. description: 现货品种代码
  3938. type: string
  3939. deliverygoodsid:
  3940. description: 现货品种id
  3941. type: integer
  3942. deliverygoodsname:
  3943. description: 现货品种名称
  3944. type: string
  3945. enumdicname:
  3946. description: 现货商品单位名称
  3947. type: string
  3948. reckondate:
  3949. description: 日照时期(yyyyMMdd)
  3950. type: string
  3951. selloutqty:
  3952. description: 销售出库量
  3953. type: number
  3954. todaybuyreckonqty:
  3955. description: 采购确定量
  3956. type: number
  3957. todaysellreckonqty:
  3958. description: 销售确定量
  3959. type: number
  3960. totalbuypricedqty:
  3961. description: 采购定价量 = 期末 - 期初
  3962. type: number
  3963. totalsellpricedqty:
  3964. description: 销售定价量 = 期末 - 期初
  3965. type: number
  3966. type: object
  3967. models.Ermcp3ReportMonSpot:
  3968. properties:
  3969. areauserid:
  3970. description: 所属机构id
  3971. type: integer
  3972. buyinqty:
  3973. description: 采购入库量
  3974. type: number
  3975. cycletime:
  3976. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  3977. type: string
  3978. cycletype:
  3979. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  3980. type: integer
  3981. deliverygoodscode:
  3982. description: 现货品种代码
  3983. type: string
  3984. deliverygoodsid:
  3985. description: 现货品种id
  3986. type: integer
  3987. deliverygoodsname:
  3988. description: 现货品种名称
  3989. type: string
  3990. enumdicname:
  3991. description: 现货商品单位名称
  3992. type: string
  3993. selloutqty:
  3994. description: 销售出库量
  3995. type: number
  3996. todaybuyreckonqty:
  3997. description: 采购确定量
  3998. type: number
  3999. todaysellreckonqty:
  4000. description: 销售确定量
  4001. type: number
  4002. totalbuypricedqty:
  4003. description: 采购定价量 = 期末 - 期初
  4004. type: number
  4005. totalsellpricedqty:
  4006. description: 销售定价量 = 期末 - 期初
  4007. type: number
  4008. type: object
  4009. models.Ermcp3ReportOPLog:
  4010. properties:
  4011. applyid:
  4012. description: 操作人
  4013. type: integer
  4014. applyname:
  4015. description: 操作人名称
  4016. type: string
  4017. biztype:
  4018. description: 业务类型 - 1:套保计划 2:现货合同
  4019. type: integer
  4020. brandname:
  4021. description: 品牌名称
  4022. type: string
  4023. contracttype:
  4024. description: 现货合同类型 - 1:采购 -1:销售
  4025. type: integer
  4026. deliverygoodscode:
  4027. description: 现货品种代码
  4028. type: string
  4029. deliverygoodsid:
  4030. description: 现货品种id
  4031. type: integer
  4032. deliverygoodsname:
  4033. description: 现货品种名称
  4034. type: string
  4035. enumdicName:
  4036. description: 单位名称
  4037. type: string
  4038. logdatetime:
  4039. description: 流水日期(时间)
  4040. type: string
  4041. logid:
  4042. description: 流水ID(604+Unix秒时间戳(10位)+xxxxxx)
  4043. type: string
  4044. logtypename:
  4045. description: 合同类型(名称)
  4046. type: string
  4047. logvalue:
  4048. description: 数值
  4049. type: string
  4050. operatelogtype:
  4051. description: 操作流水类型 -
  4052. type: integer
  4053. optypename:
  4054. description: 流水类型名称
  4055. type: string
  4056. relatedid:
  4057. description: 现货合同ID\套保计划
  4058. type: string
  4059. relatedno:
  4060. description: 合同编号
  4061. type: string
  4062. tradedate:
  4063. description: 交易日(yyyyMMdd)
  4064. type: string
  4065. userid:
  4066. description: 机构ID
  4067. type: integer
  4068. type: object
  4069. models.Ermcp3SellBuyContract:
  4070. properties:
  4071. accountname:
  4072. description: 账户名称
  4073. type: string
  4074. attachment:
  4075. description: 附件
  4076. type: string
  4077. audittime:
  4078. description: 审核时间
  4079. type: string
  4080. brandname:
  4081. description: 品牌名称
  4082. type: string
  4083. contracctstatus:
  4084. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4085. type: integer
  4086. contractmargin:
  4087. description: 合同保证金
  4088. type: number
  4089. contractno:
  4090. description: 合同编号
  4091. type: string
  4092. contracttype:
  4093. description: 合同类型 1-采购, -1-销售
  4094. type: integer
  4095. convertfactor:
  4096. description: 标仓系数(品类)
  4097. type: number
  4098. createtime:
  4099. description: 创建时间
  4100. type: string
  4101. daikaiamount:
  4102. description: 应收(开)票额
  4103. type: number
  4104. deliveryenddate:
  4105. description: 交割结束日
  4106. type: string
  4107. deliverygoodscode:
  4108. description: 现货品种代码
  4109. type: string
  4110. deliverygoodsid:
  4111. description: 现货商品ID
  4112. type: integer
  4113. deliverygoodsname:
  4114. description: 现货品种名称
  4115. type: string
  4116. deliverystartdate:
  4117. description: 交割开始日
  4118. type: string
  4119. enddate:
  4120. description: 点价结束日
  4121. type: string
  4122. enumdicname:
  4123. description: 单位名称
  4124. type: string
  4125. goodscode:
  4126. description: 点价商品代码
  4127. type: string
  4128. goodsid:
  4129. description: 点价商品ID
  4130. type: integer
  4131. goodsname:
  4132. description: 点价商品名称
  4133. type: string
  4134. invoiceamount:
  4135. description: 已开票额
  4136. type: number
  4137. loanamount:
  4138. description: 贷款总额=已定价额+调整金额
  4139. type: number
  4140. margin:
  4141. description: 保证金
  4142. type: number
  4143. nickname:
  4144. description: 账户昵称
  4145. type: string
  4146. payamount:
  4147. description: 已收付额(收款或付款)
  4148. type: number
  4149. preinvoiceamount:
  4150. description: 预收(开)票额
  4151. type: number
  4152. prepayamount:
  4153. description: 预收付额
  4154. type: number
  4155. price:
  4156. description: 价格
  4157. type: number
  4158. pricedamount:
  4159. description: 已定价额
  4160. type: number
  4161. pricedavg:
  4162. description: 已点均价
  4163. type: number
  4164. pricedqty:
  4165. description: 已定价量
  4166. type: number
  4167. pricemove:
  4168. description: 升贴水
  4169. type: number
  4170. pricetype:
  4171. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4172. type: integer
  4173. producttype:
  4174. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  4175. type: integer
  4176. qty:
  4177. description: 合同量
  4178. type: number
  4179. reckonadjustamount:
  4180. description: 调整金额
  4181. type: number
  4182. reckonedamount:
  4183. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  4184. type: number
  4185. reckonotheramount:
  4186. description: 其它费用
  4187. type: number
  4188. reckonrealqty:
  4189. description: 已确定量
  4190. type: number
  4191. remark:
  4192. description: 备注
  4193. type: string
  4194. spotcontractid:
  4195. description: 合同ID
  4196. type: string
  4197. spotgoodsbrandid:
  4198. description: 现货品牌ID(DGFactoryItem表的ID)
  4199. type: integer
  4200. spotgoodsdesc:
  4201. description: 商品型号(商品规格)
  4202. type: string
  4203. startdate:
  4204. description: 点价开始日
  4205. type: string
  4206. totalamount:
  4207. description: 合计总额
  4208. type: number
  4209. unpayamount:
  4210. description: 应收付款额(应支付或应收款)
  4211. type: number
  4212. unpricedqty:
  4213. description: 未定价量
  4214. type: number
  4215. unsureqty:
  4216. description: 未确定量
  4217. type: number
  4218. userid:
  4219. description: 机构ID
  4220. type: integer
  4221. wrstandardcode:
  4222. description: 品类代码
  4223. type: string
  4224. wrstandardid:
  4225. description: 品类ID
  4226. type: integer
  4227. wrstandardname:
  4228. description: 品类名称
  4229. type: string
  4230. type: object
  4231. models.Ermcp3SpotGoodsPrice:
  4232. properties:
  4233. areauserid:
  4234. description: 所属机构id
  4235. type: integer
  4236. brandname:
  4237. description: 品牌名称
  4238. type: string
  4239. currencyid:
  4240. description: 报价货币ID
  4241. type: integer
  4242. deliverygoodscode:
  4243. description: 现货商品代码
  4244. type: string
  4245. deliverygoodsid:
  4246. description: 现货商品id
  4247. type: integer
  4248. deliverygoodsname:
  4249. description: 现货商品名称
  4250. type: string
  4251. enumdicname:
  4252. description: 现货商品单位名称
  4253. type: string
  4254. gbenumdicname:
  4255. description: 品类单位名称
  4256. type: string
  4257. gmunitid:
  4258. description: 品类单位id
  4259. type: integer
  4260. isvalid:
  4261. description: 是否有效 - 0:无效 1:有效
  4262. type: integer
  4263. operateid:
  4264. description: 最后操作人
  4265. type: integer
  4266. operatesrc:
  4267. description: 最后操作来源 - 1:管理端 2:终端
  4268. type: integer
  4269. operatetime:
  4270. description: 最后操作时间
  4271. type: string
  4272. operatorname:
  4273. description: 操作人名称
  4274. type: string
  4275. spotgoodsbrandid:
  4276. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  4277. type: integer
  4278. spotgoodsprice:
  4279. description: 现货价格
  4280. type: number
  4281. tradedate:
  4282. description: 交易日(yyyyMMdd)
  4283. type: string
  4284. unitid:
  4285. description: 现货商品单位id
  4286. type: integer
  4287. wrstandardcode:
  4288. description: 品类代码
  4289. type: string
  4290. wrstandardid:
  4291. description: 现货品类ID(通用则为0)
  4292. type: integer
  4293. wrstandardname:
  4294. description: 品类名称
  4295. type: string
  4296. type: object
  4297. models.Ermcp3SpotGoodsPriceLog:
  4298. properties:
  4299. areauserid:
  4300. description: 所属机构id
  4301. type: integer
  4302. brandname:
  4303. description: 品牌名称
  4304. type: string
  4305. currencyid:
  4306. description: 报价货币ID
  4307. type: integer
  4308. deliverygoodscode:
  4309. description: 现货商品代码
  4310. type: string
  4311. deliverygoodsid:
  4312. description: 现货商品id
  4313. type: integer
  4314. deliverygoodsname:
  4315. description: 现货商品名称
  4316. type: string
  4317. enumdicname:
  4318. description: 现货商品单位名称
  4319. type: string
  4320. gbenumdicname:
  4321. description: 品类单位名称
  4322. type: string
  4323. gmunitid:
  4324. description: 品类单位id
  4325. type: integer
  4326. logid:
  4327. description: 日志id
  4328. type: integer
  4329. operateid:
  4330. description: 最后操作人
  4331. type: integer
  4332. operatesrc:
  4333. description: 最后操作来源 - 1:管理端 2:终端
  4334. type: integer
  4335. operatetime:
  4336. description: 最后操作时间
  4337. type: string
  4338. operatorname:
  4339. description: 操作人名称
  4340. type: string
  4341. spotgoodsbrandid:
  4342. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  4343. type: integer
  4344. spotgoodsprice:
  4345. description: 现货价格
  4346. type: number
  4347. tradedate:
  4348. description: 交易日(yyyyMMdd)
  4349. type: string
  4350. unitid:
  4351. description: 现货商品单位id
  4352. type: integer
  4353. wrstandardcode:
  4354. description: 品类代码
  4355. type: string
  4356. wrstandardid:
  4357. description: 现货品类ID(通用则为0)
  4358. type: integer
  4359. wrstandardname:
  4360. description: 品类名称
  4361. type: string
  4362. type: object
  4363. models.Ermcp3Wrstandard:
  4364. properties:
  4365. areauserid:
  4366. description: 所属机构
  4367. type: integer
  4368. convertfactor:
  4369. description: 标仓系数
  4370. type: number
  4371. createtime:
  4372. description: 创建时间
  4373. type: string
  4374. creatorid:
  4375. description: 创建人
  4376. type: integer
  4377. deliverygoodsid:
  4378. description: 现货品种ID
  4379. type: integer
  4380. enumdicname:
  4381. description: 品类单位名称
  4382. type: string
  4383. isvalid:
  4384. description: 是否有效 0-无效(停用) 1-有效(正常)
  4385. type: integer
  4386. minivalue:
  4387. description: 最小变动值
  4388. type: integer
  4389. minivaluedp:
  4390. description: 最小变动值小数位
  4391. type: integer
  4392. realminivalue:
  4393. description: 实际最小变动值
  4394. type: integer
  4395. realminivaluedp:
  4396. description: 实际最小变动值小数位
  4397. type: integer
  4398. remark:
  4399. description: 备注
  4400. type: string
  4401. unitid:
  4402. description: 品类单位ID
  4403. type: integer
  4404. updatetime:
  4405. description: 更新时间
  4406. type: string
  4407. wrstandardcode:
  4408. description: 品类代码
  4409. type: string
  4410. wrstandardid:
  4411. description: 品类ID(SEQ_WRSTANDARD)
  4412. type: integer
  4413. wrstandardname:
  4414. description: 品类名称
  4415. type: string
  4416. type: object
  4417. models.ErmcpAreaSpotDetailModel:
  4418. properties:
  4419. contracttype:
  4420. description: 合同类型 1-采购 -1-销售
  4421. type: integer
  4422. createtime:
  4423. description: 创建时间
  4424. type: string
  4425. enumdicname:
  4426. description: 现货商品单位名称
  4427. type: string
  4428. logtype:
  4429. description: 记录类型 1-套保 2-现货合同
  4430. type: integer
  4431. qty:
  4432. description: 数量
  4433. type: number
  4434. recordname:
  4435. description: 类型名称
  4436. type: string
  4437. relatedid:
  4438. description: 套保计划ID/现货合同ID
  4439. type: string
  4440. relatedno:
  4441. description: 编号
  4442. type: string
  4443. strtime:
  4444. description: 时间
  4445. type: string
  4446. wrstandardcode:
  4447. description: 现货商品代码
  4448. type: string
  4449. wrstandardname:
  4450. description: 现货商品名称
  4451. type: string
  4452. type: object
  4453. models.ErmcpAreaStock:
  4454. properties:
  4455. brandname:
  4456. description: 品牌名称
  4457. type: string
  4458. curstock:
  4459. description: 期末库存量(今日量)
  4460. type: number
  4461. deliverygoodsid:
  4462. description: 现货品种ID
  4463. type: integer
  4464. enumdicname:
  4465. description: 单位名称
  4466. type: string
  4467. modelname:
  4468. description: 型号名称
  4469. type: string
  4470. oristock:
  4471. description: 期初库存量(昨日量)
  4472. type: number
  4473. spotgoodsbrandid:
  4474. description: 现货品牌ID
  4475. type: integer
  4476. spotgoodsmodelid:
  4477. description: 现货型号ID
  4478. type: integer
  4479. todaybuyinqty:
  4480. description: 今日采购入库量
  4481. type: number
  4482. todayproduceinqty:
  4483. description: 今日生产入库量
  4484. type: number
  4485. todayproduceoutqty:
  4486. description: 今日生产出库量
  4487. type: number
  4488. todayselloutqty:
  4489. description: 今日销售出库量
  4490. type: number
  4491. unitid:
  4492. description: 单位id
  4493. type: integer
  4494. updatetime:
  4495. description: 更新时间
  4496. type: string
  4497. userid:
  4498. description: 机构ID
  4499. type: integer
  4500. username:
  4501. description: 机构名称
  4502. type: string
  4503. warehousecode:
  4504. description: 仓库代码
  4505. type: string
  4506. warehouseinfoid:
  4507. description: 仓库ID
  4508. type: string
  4509. warehousename:
  4510. description: 仓库名称
  4511. type: string
  4512. warehousetype:
  4513. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4514. type: integer
  4515. wrstandardcode:
  4516. description: 现货商品代码
  4517. type: string
  4518. wrstandardid:
  4519. description: 现货商品ID
  4520. type: string
  4521. wrstandardname:
  4522. description: 现货商品名称
  4523. type: string
  4524. type: object
  4525. models.ErmcpAreaStockApply:
  4526. properties:
  4527. applyid:
  4528. description: 申请人
  4529. type: integer
  4530. applyname:
  4531. description: 申请人名称
  4532. type: string
  4533. applyremark:
  4534. description: 申请备注
  4535. type: string
  4536. applysrc:
  4537. description: 申请来源 - 1:管理端 2:终端
  4538. type: integer
  4539. applystatus:
  4540. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  4541. type: integer
  4542. applytime:
  4543. description: 申请时间
  4544. type: string
  4545. auditid:
  4546. description: 审核人
  4547. type: integer
  4548. auditname:
  4549. description: 审核人名称
  4550. type: string
  4551. auditremark:
  4552. description: 审核备注
  4553. type: string
  4554. auditsrc:
  4555. description: 审核来源 - 1:管理端 2:终端
  4556. type: integer
  4557. audittime:
  4558. description: 审核时间
  4559. type: string
  4560. audittradedate:
  4561. description: 审核交易日(yyyyMMdd)
  4562. type: string
  4563. brandname:
  4564. description: 品牌名称
  4565. type: string
  4566. buyuserid:
  4567. description: 采购方userid
  4568. type: integer
  4569. buyusername:
  4570. description: 采购方名称
  4571. type: string
  4572. contractno:
  4573. description: 合同编号
  4574. type: string
  4575. contractqty:
  4576. description: 合同量
  4577. type: number
  4578. contracttype:
  4579. description: 现货合同类型 - 1:采购 -1:销售
  4580. type: integer
  4581. deliverygoodsid:
  4582. description: 现货品种ID
  4583. type: integer
  4584. enumdicname:
  4585. description: 现货商品单位名称
  4586. type: string
  4587. inoutapplyid:
  4588. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  4589. type: string
  4590. inouttype:
  4591. description: 出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  4592. type: integer
  4593. modelname:
  4594. description: 型号名称
  4595. type: string
  4596. pricetype:
  4597. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4598. type: integer
  4599. qty:
  4600. description: 数量
  4601. type: number
  4602. selluserid:
  4603. description: 销售方userid
  4604. type: integer
  4605. sellusername:
  4606. description: 销售方名称
  4607. type: string
  4608. spotcontractid:
  4609. description: 关联现货合同ID
  4610. type: string
  4611. spotgoodsbrandid:
  4612. description: 现货品牌ID
  4613. type: integer
  4614. spotgoodsmodelid:
  4615. description: 现货型号ID
  4616. type: integer
  4617. unitid:
  4618. description: 单位id
  4619. type: integer
  4620. userid:
  4621. description: 机构ID
  4622. type: integer
  4623. warehousecode:
  4624. description: 仓库代码
  4625. type: string
  4626. warehouseinfoid:
  4627. description: 现货仓库ID
  4628. type: string
  4629. warehousename:
  4630. description: 仓库名称
  4631. type: string
  4632. warehousetype:
  4633. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4634. type: integer
  4635. wrstandardcode:
  4636. description: 现货商品代码
  4637. type: string
  4638. wrstandardid:
  4639. description: 现货商品ID
  4640. type: string
  4641. wrstandardname:
  4642. description: 现货商品名称
  4643. type: string
  4644. type: object
  4645. models.ErmcpAreaStockApplySum:
  4646. properties:
  4647. brandname:
  4648. description: 品牌名称
  4649. type: string
  4650. inouttype:
  4651. description: 出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  4652. type: integer
  4653. modelname:
  4654. description: 型号名称
  4655. type: string
  4656. spotcontractid:
  4657. description: 关联现货合同ID
  4658. type: string
  4659. spotgoodsbrandid:
  4660. description: 品牌id
  4661. type: integer
  4662. spotgoodsmodelid:
  4663. description: 型号id
  4664. type: integer
  4665. totalqty:
  4666. description: 总数量
  4667. type: number
  4668. type: object
  4669. models.ErmcpAreaStockReport:
  4670. properties:
  4671. brandname:
  4672. description: 品牌名称
  4673. type: string
  4674. curstock:
  4675. description: 期末库存量
  4676. type: number
  4677. deliverygoodsid:
  4678. description: 现货品种ID
  4679. type: integer
  4680. enumdicname:
  4681. description: 单位名称
  4682. type: string
  4683. modelname:
  4684. description: 型号名称
  4685. type: string
  4686. oristock:
  4687. description: 期初库存量
  4688. type: number
  4689. spotgoodsbrandid:
  4690. description: 现货品牌ID
  4691. type: integer
  4692. spotgoodsmodelid:
  4693. description: 现货型号ID
  4694. type: integer
  4695. todaybuyinqty:
  4696. description: 今日采购入库量
  4697. type: number
  4698. todayproduceinqty:
  4699. description: 今日生产入库量
  4700. type: number
  4701. todayproduceoutqty:
  4702. description: 今日生产出库量
  4703. type: number
  4704. todayselloutqty:
  4705. description: 今日销售出库量
  4706. type: number
  4707. unitid:
  4708. description: 单位id
  4709. type: integer
  4710. updatetime:
  4711. description: 更新时间
  4712. type: string
  4713. userid:
  4714. description: 机构ID
  4715. type: integer
  4716. username:
  4717. description: 机构名称
  4718. type: string
  4719. warehousecode:
  4720. description: 仓库代码
  4721. type: string
  4722. warehouseinfoid:
  4723. description: 仓库ID
  4724. type: string
  4725. warehousename:
  4726. description: 仓库名称
  4727. type: string
  4728. warehousetype:
  4729. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4730. type: integer
  4731. wrstandardcode:
  4732. description: 现货商品代码
  4733. type: string
  4734. wrstandardid:
  4735. description: 现货商品ID
  4736. type: string
  4737. wrstandardname:
  4738. description: 现货商品名称
  4739. type: string
  4740. type: object
  4741. models.ErmcpAvalidGoodsGroupModel:
  4742. properties:
  4743. goodsgroupid:
  4744. description: 期货品种id
  4745. type: integer
  4746. goodsgroupname:
  4747. description: 期货品种名称
  4748. type: string
  4749. goodunitid:
  4750. description: 品种单位id
  4751. type: integer
  4752. goodunitname:
  4753. description: 品种单位名称
  4754. type: string
  4755. outergroupcode:
  4756. description: 期货品种代码
  4757. type: string
  4758. type: object
  4759. models.ErmcpBizGroupEx:
  4760. properties:
  4761. acclist:
  4762. description: 账号列表
  4763. items:
  4764. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  4765. type: array
  4766. bizgroupid:
  4767. description: 业务分组id
  4768. type: integer
  4769. biztype:
  4770. description: 业务类型 1-套保 2-套利
  4771. type: integer
  4772. wrlist:
  4773. description: 现货商品表
  4774. items:
  4775. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  4776. type: array
  4777. type: object
  4778. models.ErmcpBizGroupSpotGoods:
  4779. properties:
  4780. areauserid:
  4781. description: 所属机构id
  4782. type: integer
  4783. bizgroupid:
  4784. description: 分组id
  4785. type: integer
  4786. biztype:
  4787. description: 业务类型 1-套保 2-套利
  4788. type: integer
  4789. deliverygoodscode:
  4790. description: 现货商品代码
  4791. type: string
  4792. deliverygoodsid:
  4793. description: 现货商品id
  4794. type: integer
  4795. deliverygoodsname:
  4796. description: 现货商品名称
  4797. type: string
  4798. unitid:
  4799. description: 现货商品单位id
  4800. type: integer
  4801. type: object
  4802. models.ErmcpBizGroupTaAccount:
  4803. properties:
  4804. accountid:
  4805. description: 账号id
  4806. type: string
  4807. accountname:
  4808. description: 账号名称
  4809. type: string
  4810. areauserid:
  4811. description: 所属机构id
  4812. type: integer
  4813. bizgroupid:
  4814. description: 业务分组id
  4815. type: integer
  4816. ismain:
  4817. description: 是否主账号 1-是 0-否
  4818. type: integer
  4819. type: object
  4820. models.ErmcpDGFactoryItem:
  4821. properties:
  4822. areauserid:
  4823. description: 用户id
  4824. type: integer
  4825. deliverygoodsid:
  4826. description: 现货品种ID
  4827. type: integer
  4828. dgfactoryitemid:
  4829. description: 选择项ID(SEQ_DGFACTORYITEM)
  4830. type: integer
  4831. dgfactoryitemtypeid:
  4832. description: 要素项类型
  4833. type: integer
  4834. dgfactoryitemvalue:
  4835. description: 要素项值(类型为仓库时填写仓库名称)
  4836. type: string
  4837. isvalid:
  4838. description: 是否有效 - 0:无效 1:有效
  4839. type: integer
  4840. orderindex:
  4841. description: 顺序
  4842. type: integer
  4843. warehouseid:
  4844. description: 仓库ID(类型为仓库时填写)
  4845. type: integer
  4846. type: object
  4847. models.ErmcpDeliveryGoods:
  4848. properties:
  4849. agreeunit:
  4850. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  4851. type: integer
  4852. areauserid:
  4853. description: 所属机构
  4854. type: integer
  4855. auditflag:
  4856. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  4857. type: integer
  4858. categoryid:
  4859. description: 类别ID(SEQ_WRCATEGORY)
  4860. type: integer
  4861. deliverygoodscode:
  4862. description: 现货品种代码
  4863. type: string
  4864. deliverygoodsid:
  4865. description: 现货品种ID(SEQ_DELIVERYGOODS)
  4866. type: integer
  4867. deliverygoodsname:
  4868. description: 现货品种名称
  4869. type: string
  4870. deliverygoodstype:
  4871. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  4872. type: integer
  4873. dgstatus:
  4874. description: 品种状态 - 作废 - 0:未激活 1:正常
  4875. type: integer
  4876. enumdicname:
  4877. description: 现货品种单位名称
  4878. type: string
  4879. goodsunitid:
  4880. description: 现货品种单位ID
  4881. type: integer
  4882. isvalid:
  4883. description: 是否有效 - 0:无效 1:有效
  4884. type: integer
  4885. qtydecimalplace:
  4886. description: 成交量小数位
  4887. type: integer
  4888. remark:
  4889. description: 备注
  4890. type: string
  4891. standardqty:
  4892. description: 标准数量(库位数量) [标准品特有]
  4893. type: integer
  4894. standardqtyrange:
  4895. description: 标准数量偏差范围 [标准品特有]
  4896. type: integer
  4897. type: object
  4898. models.ErmcpDeliveryGoodsDetail:
  4899. properties:
  4900. data:
  4901. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  4902. description: 现货商品基本信息(交割品种)
  4903. type: object
  4904. gblist:
  4905. description: 品牌列表
  4906. items:
  4907. $ref: '#/definitions/models.Ermcp3Brand'
  4908. type: array
  4909. gmlist:
  4910. description: 品类列表(仓单标准)
  4911. items:
  4912. $ref: '#/definitions/models.Ermcp3Wrstandard'
  4913. type: array
  4914. goodslist:
  4915. description: 关联交易商品列表
  4916. items:
  4917. $ref: '#/definitions/models.ErmcpRelatedGoods'
  4918. type: array
  4919. wrslist:
  4920. description: 套保信息列表
  4921. items:
  4922. $ref: '#/definitions/models.WRSConverTDetail'
  4923. type: array
  4924. type: object
  4925. models.ErmcpExposureDetailModel:
  4926. properties:
  4927. areauserid:
  4928. description: 机构ID
  4929. type: integer
  4930. changeQty:
  4931. description: 套保变动量
  4932. type: number
  4933. contracttype:
  4934. description: 现货合同类型 - 1:采购 -1:销售
  4935. type: integer
  4936. convertfactor:
  4937. description: 标仓系数
  4938. type: number
  4939. convertratio:
  4940. description: 套保系数
  4941. type: number
  4942. createtime:
  4943. description: 时间
  4944. type: string
  4945. enumdicname:
  4946. description: 现货商品单位名称
  4947. type: string
  4948. logtype:
  4949. description: 类型 - 1:套保计划 2:现货合同
  4950. type: integer
  4951. middlegoodsId:
  4952. description: 套保商品id
  4953. type: integer
  4954. middlegoodscode:
  4955. description: 套保商品代码
  4956. type: string
  4957. middlegoodsname:
  4958. description: 套保商品名称
  4959. type: string
  4960. qty:
  4961. description: 数量
  4962. type: number
  4963. relateNo:
  4964. description: 现货合同/套保计划编号
  4965. type: string
  4966. wrstandardcode:
  4967. description: 现货商品代码
  4968. type: string
  4969. wrstandardid:
  4970. description: 现货商品ID
  4971. type: integer
  4972. wrstandardname:
  4973. description: 现货商品名称
  4974. type: string
  4975. type: object
  4976. models.ErmcpExposurePostion:
  4977. properties:
  4978. agreeunit:
  4979. description: 合约单位
  4980. type: string
  4981. areauserid:
  4982. description: 所属机构id
  4983. type: integer
  4984. convertratio:
  4985. description: 期货品种系数(折算系数)
  4986. type: number
  4987. curqty:
  4988. description: 当前持仓
  4989. type: integer
  4990. diffhedgeqty:
  4991. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  4992. type: number
  4993. diffqty:
  4994. description: 持仓变动量=当前持仓-昨日持仓
  4995. type: integer
  4996. goodscode:
  4997. description: 商品代码
  4998. type: string
  4999. goodsid:
  5000. description: 商品id
  5001. type: integer
  5002. goodsname:
  5003. description: 商品名称
  5004. type: string
  5005. middlegoodsid:
  5006. description: 套保商品id
  5007. type: integer
  5008. ydqty:
  5009. description: 昨日持仓
  5010. type: integer
  5011. type: object
  5012. models.ErmcpFuturesCompany:
  5013. properties:
  5014. brokerid:
  5015. description: 经纪公司代码
  5016. type: string
  5017. channeladdress:
  5018. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  5019. type: string
  5020. channelid:
  5021. description: 对冲渠道ID
  5022. type: string
  5023. createtime:
  5024. description: 创建时间
  5025. type: string
  5026. creatorid:
  5027. description: 创建人
  5028. type: string
  5029. fcid:
  5030. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  5031. type: integer
  5032. fcname:
  5033. description: 期货公司名称
  5034. type: string
  5035. isvalid:
  5036. description: 是否有效 - 0:无效 1:有效
  5037. type: integer
  5038. mhpaddress:
  5039. description: MHP服务地址(IP:Port)
  5040. type: string
  5041. riskrulegroupid:
  5042. description: 风控规则组ID
  5043. type: string
  5044. tradefeetmpid:
  5045. description: 手续费模板ID[TradeConfigTmpType为2]
  5046. type: string
  5047. trademargintmpid:
  5048. description: 保证金模板ID [TradeConfigTmpType为1]
  5049. type: string
  5050. traderatetmpid:
  5051. description: 汇率模板ID[TradeConfigTmpType为3]
  5052. type: string
  5053. updatetime:
  5054. description: 更新时间
  5055. type: string
  5056. updatorid:
  5057. description: 更新人
  5058. type: string
  5059. type: object
  5060. models.ErmcpGGConvertCfg:
  5061. properties:
  5062. convertratio:
  5063. description: 折算系数
  5064. type: number
  5065. destgoodsgroupid:
  5066. description: 目标品种ID
  5067. type: integer
  5068. dstcode:
  5069. description: 目录品种代码
  5070. type: string
  5071. dstexchangecode:
  5072. description: 目标期货交易所
  5073. type: string
  5074. dstname:
  5075. description: 目标品种名称
  5076. type: string
  5077. dstunitid:
  5078. description: 目标品种单位ID
  5079. type: integer
  5080. dstunitidname:
  5081. description: 目标品种单位名称
  5082. type: string
  5083. modifytime:
  5084. description: 修改时间
  5085. type: string
  5086. srccode:
  5087. description: 源品种代码
  5088. type: string
  5089. srcexchangecode:
  5090. description: 源期货交易所
  5091. type: string
  5092. srcgoodsgroupid:
  5093. description: 源品种ID
  5094. type: integer
  5095. srcname:
  5096. description: 源品种名称
  5097. type: string
  5098. srcunitid:
  5099. description: 源品种单位ID
  5100. type: integer
  5101. srcunitidname:
  5102. description: 源品种单位名称
  5103. type: string
  5104. type: object
  5105. models.ErmcpGoodsBrand:
  5106. properties:
  5107. areauserid:
  5108. description: 所属机构
  5109. type: integer
  5110. brandid:
  5111. description: BrandID(SEQ_SPOTGOODSBRAND)
  5112. type: integer
  5113. brandname:
  5114. description: 品牌名称
  5115. type: string
  5116. createtime:
  5117. description: 创建时间
  5118. type: string
  5119. creatorid:
  5120. description: 创建人
  5121. type: integer
  5122. creatorsrc:
  5123. description: 创建人来源 - 1:管理端 2:终端
  5124. type: integer
  5125. deliverygoodsid:
  5126. description: 现货品种ID
  5127. type: integer
  5128. isvalid:
  5129. description: 是否有效 - 0:无效 1:有效
  5130. type: integer
  5131. updatetime:
  5132. description: 更新时间
  5133. type: string
  5134. updatorid:
  5135. description: 更新人
  5136. type: integer
  5137. updatorsrc:
  5138. description: 更新人来源 - 1:管理端 2:终端
  5139. type: integer
  5140. wrstandardid:
  5141. description: 现货商品ID
  5142. type: integer
  5143. type: object
  5144. models.ErmcpGoodsModel:
  5145. properties:
  5146. areauserid:
  5147. description: 所属机构
  5148. type: integer
  5149. convertfactor:
  5150. description: 标仓系数
  5151. type: number
  5152. createtime:
  5153. description: 创建时间
  5154. type: string
  5155. creatorid:
  5156. description: 创建人
  5157. type: integer
  5158. creatorsrc:
  5159. description: 创建人来源 - 1:管理端 2:终端
  5160. type: integer
  5161. deliverygoodsid:
  5162. description: 现货品种ID
  5163. type: integer
  5164. isvalid:
  5165. description: 是否有效 - 0:无效 1:有效
  5166. type: integer
  5167. modelid:
  5168. description: ModelID(SEQ_SPOTGOODSMODEL)
  5169. type: integer
  5170. modelname:
  5171. description: 型号名称
  5172. type: string
  5173. updatetime:
  5174. description: 更新时间
  5175. type: string
  5176. updatorid:
  5177. description: 更新人
  5178. type: integer
  5179. updatorsrc:
  5180. description: 更新人来源 - 1:管理端 2:终端
  5181. type: integer
  5182. wrstandardid:
  5183. description: 现货商品ID
  5184. type: integer
  5185. type: object
  5186. models.ErmcpHedgePlan:
  5187. properties:
  5188. areauserid:
  5189. description: 用户ID
  5190. type: integer
  5191. audittime:
  5192. description: 审核时间
  5193. type: string
  5194. contracttype:
  5195. description: 计划类型 - 1:采购 -1:销售
  5196. type: integer
  5197. convertfactor:
  5198. description: 标仓系数
  5199. type: number
  5200. createtime:
  5201. description: 创建时间
  5202. type: string
  5203. deliverygoodsid:
  5204. description: 现货品种ID
  5205. type: integer
  5206. deliverygoodsname:
  5207. description: 现货品种名称
  5208. type: string
  5209. enumdicname:
  5210. description: 单位名称
  5211. type: string
  5212. hedgeplanid:
  5213. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  5214. type: string
  5215. hedgeplanno:
  5216. description: 套保计划编号(名称)
  5217. type: string
  5218. hedgeplanstatus:
  5219. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5220. type: integer
  5221. planqty:
  5222. description: 计划数量
  5223. type: number
  5224. plantime:
  5225. description: 计划时间
  5226. type: string
  5227. producttype:
  5228. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5229. type: integer
  5230. remark:
  5231. description: 备注
  5232. type: string
  5233. spotgoodsdesc:
  5234. description: 商品型号
  5235. type: string
  5236. unitid:
  5237. description: 单位id
  5238. type: integer
  5239. updatetime:
  5240. description: 更新时间
  5241. type: string
  5242. wrstandardid:
  5243. description: 现货商品ID
  5244. type: integer
  5245. wrstandardname:
  5246. description: 现货商品名称
  5247. type: string
  5248. type: object
  5249. models.ErmcpHedgePosition:
  5250. properties:
  5251. accountid:
  5252. description: 资金账号[外部母账户]
  5253. type: integer
  5254. curbuyposition:
  5255. description: 期末买头寸
  5256. type: integer
  5257. cursellposition:
  5258. description: 期末卖头寸
  5259. type: integer
  5260. curtdbuyposition:
  5261. description: 期末今日买头寸
  5262. type: integer
  5263. curtdsellposition:
  5264. description: 期末今日卖头寸
  5265. type: integer
  5266. curydbuyposition:
  5267. description: 期末上日买头寸
  5268. type: integer
  5269. curydsellposition:
  5270. description: 期末上日卖头寸
  5271. type: integer
  5272. decreaseqty:
  5273. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  5274. type: integer
  5275. fretdbuyposition:
  5276. description: 冻结今日买头寸
  5277. type: integer
  5278. fretdsellposition:
  5279. description: 冻结今日卖头寸
  5280. type: integer
  5281. freydbuyposition:
  5282. description: 冻结上日买头寸
  5283. type: integer
  5284. freydsellposition:
  5285. description: 冻结上日卖头寸
  5286. type: integer
  5287. goodscode:
  5288. description: 商品代码
  5289. type: string
  5290. goodsid:
  5291. description: 商品id
  5292. type: integer
  5293. goodsname:
  5294. description: 商品名称
  5295. type: string
  5296. hedgeaccountcode:
  5297. description: 对冲账号
  5298. type: string
  5299. hedgegoodsid:
  5300. description: 对冲合约ID
  5301. type: integer
  5302. increaseqty:
  5303. description: 增加数量 = 期末买头寸 - 期初买头寸
  5304. type: integer
  5305. marketid:
  5306. description: 市场ID
  5307. type: integer
  5308. relateduserid:
  5309. description: 关联用户id
  5310. type: integer
  5311. totalcurqty:
  5312. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  5313. type: integer
  5314. totalydqty:
  5315. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  5316. type: integer
  5317. tradedate:
  5318. description: 交易日(yyyyMMdd)
  5319. type: string
  5320. ydbuyposition:
  5321. description: 期初买头寸
  5322. type: integer
  5323. ydsellposition:
  5324. description: 期初卖头寸
  5325. type: integer
  5326. type: object
  5327. models.ErmcpHedgePositionDetail:
  5328. properties:
  5329. buyorsell:
  5330. description: 买卖方向 0-买 1-卖
  5331. type: integer
  5332. channelbuildtype:
  5333. description: 开平方向 1-建仓 2-平仓
  5334. type: integer
  5335. goodscode:
  5336. description: 商品代码
  5337. type: string
  5338. goodsname:
  5339. description: 商品名称
  5340. type: string
  5341. hedgegoodsid:
  5342. description: 商品id
  5343. type: integer
  5344. tradeqty:
  5345. description: 数量(成交数量)
  5346. type: integer
  5347. tradetime:
  5348. description: 时间(成交时间)
  5349. type: string
  5350. type: object
  5351. models.ErmcpHisExposure:
  5352. properties:
  5353. needhedgeexposoure:
  5354. description: 应套保敞口
  5355. type: number
  5356. reckondate:
  5357. description: 日照时期(yyyyMMdd)
  5358. type: string
  5359. totalexposure:
  5360. description: 总敞口
  5361. type: number
  5362. type: object
  5363. models.ErmcpHisExposureS:
  5364. properties:
  5365. data:
  5366. description: 历史敞口
  5367. items:
  5368. $ref: '#/definitions/models.ErmcpHisExposure'
  5369. type: array
  5370. enumdicname:
  5371. description: 单位名称
  5372. type: string
  5373. middlegoodscode:
  5374. description: 套保品种代码
  5375. type: string
  5376. middlegoodsid:
  5377. description: 套保品种ID
  5378. type: integer
  5379. middlegoodsname:
  5380. description: 套保品种名称
  5381. type: string
  5382. type: object
  5383. models.ErmcpLoginUser:
  5384. properties:
  5385. accountname:
  5386. description: 用户名称
  5387. type: string
  5388. clientroleid:
  5389. description: 角色id(usertype=2)
  5390. type: integer
  5391. createtime:
  5392. description: 创建时间
  5393. type: string
  5394. logincode:
  5395. description: 登录代码
  5396. type: string
  5397. loginid:
  5398. description: 登录id(LOGINID)
  5399. type: integer
  5400. loginstatus:
  5401. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  5402. type: integer
  5403. memberuserid:
  5404. description: 所属会员id
  5405. type: integer
  5406. mobile:
  5407. description: 手机号
  5408. type: string
  5409. modifytime:
  5410. description: 修改时间
  5411. type: string
  5412. password:
  5413. description: 密码(不可解密)
  5414. type: string
  5415. rolename:
  5416. description: 角色名称
  5417. type: string
  5418. rolestatus:
  5419. description: 角色状态 1-启用 2-停用
  5420. type: integer
  5421. roletype:
  5422. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  5423. type: string
  5424. userid:
  5425. description: 用户id
  5426. type: integer
  5427. usertype:
  5428. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  5429. type: integer
  5430. type: object
  5431. models.ErmcpLoginUserEx:
  5432. properties:
  5433. roleid:
  5434. description: 角色id
  5435. type: integer
  5436. rolename:
  5437. description: 角色名称
  5438. type: string
  5439. userlist:
  5440. description: 用户列表
  5441. items:
  5442. $ref: '#/definitions/models.ErmcpLoginUser'
  5443. type: array
  5444. usertype:
  5445. description: 用户类型 2-机构 7-企业成员(云平台)
  5446. type: integer
  5447. type: object
  5448. models.ErmcpMiddleGoodsChangeLog:
  5449. properties:
  5450. aftervalue:
  5451. description: 变更后
  5452. type: number
  5453. applyid:
  5454. description: 操作人
  5455. type: integer
  5456. applyname:
  5457. description: 操作人名称
  5458. type: string
  5459. applysrc:
  5460. description: 操作来源 - 1:管理端 2:终端
  5461. type: integer
  5462. beforevalue:
  5463. description: 变更前
  5464. type: number
  5465. changelogtype:
  5466. description: 变更流水类型 - 1:套保比率变更
  5467. type: integer
  5468. handlestatus:
  5469. description: 处理状态
  5470. type: integer
  5471. logdatetime:
  5472. description: 流水日期
  5473. type: string
  5474. logid:
  5475. description: 流水ID
  5476. type: integer
  5477. logremark:
  5478. description: 流水备注
  5479. type: string
  5480. middlegoodsid:
  5481. description: 套保品种ID
  5482. type: integer
  5483. tradedate:
  5484. description: 交易日(yyyyMMdd)
  5485. type: string
  5486. updatetime:
  5487. description: 更新时间
  5488. type: string
  5489. type: object
  5490. models.ErmcpMiddleGoodsDetail:
  5491. properties:
  5492. cvList:
  5493. description: 期货品种折算列表
  5494. items:
  5495. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  5496. type: array
  5497. mg:
  5498. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  5499. description: 套保品种基本信息
  5500. type: object
  5501. wrcList:
  5502. description: 现货品种列表(现货商品折算配置)
  5503. items:
  5504. $ref: '#/definitions/models.WRSConverTDetail'
  5505. type: array
  5506. type: object
  5507. models.ErmcpMiddleGoodsModel:
  5508. properties:
  5509. areauserid:
  5510. description: 机构用户ID
  5511. type: integer
  5512. createtime:
  5513. description: 修改时间
  5514. type: string
  5515. enumdicname:
  5516. description: 单位名称
  5517. type: string
  5518. evaluateratio:
  5519. description: 估价系数
  5520. type: number
  5521. goodsgroupid:
  5522. description: 关联期货品种ID
  5523. type: integer
  5524. isvalid:
  5525. description: 状态 0-无效(停用) 1-有效(正常)
  5526. type: integer
  5527. middlegoodscode:
  5528. description: 套保品种代码
  5529. type: string
  5530. middlegoodsid:
  5531. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  5532. type: integer
  5533. middlegoodsname:
  5534. description: 套保品种名称
  5535. type: string
  5536. modifytime:
  5537. description: 修改时间
  5538. type: string
  5539. needhedgeratio:
  5540. description: 套保比率
  5541. type: number
  5542. qtydecimalplace:
  5543. description: 数量小数位
  5544. type: integer
  5545. relatedgoodsid:
  5546. description: 关联交易商品ID
  5547. type: integer
  5548. relatedgoodstype:
  5549. description: 关联商品类型 - 1:期货合约 2:现货品种
  5550. type: integer
  5551. remark:
  5552. description: 备注
  5553. type: string
  5554. type: object
  5555. models.ErmcpModel:
  5556. properties:
  5557. accountname:
  5558. description: 账户名称
  5559. type: string
  5560. attachment:
  5561. description: 附件
  5562. type: string
  5563. audittime:
  5564. description: 审核时间
  5565. type: string
  5566. brandname:
  5567. description: 品牌名称
  5568. type: string
  5569. contracctstatus:
  5570. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5571. type: integer
  5572. contractmargin:
  5573. description: 合同保证金
  5574. type: number
  5575. contractno:
  5576. description: 合同编号
  5577. type: string
  5578. contracttype:
  5579. description: 合同类型 1-采购, -1-销售
  5580. type: integer
  5581. convertfactor:
  5582. description: 标仓系数
  5583. type: number
  5584. createtime:
  5585. description: 创建时间
  5586. type: string
  5587. daikaiamount:
  5588. description: 应收(开)票额
  5589. type: number
  5590. deliveryenddate:
  5591. description: 交割结束日
  5592. type: string
  5593. deliverygoodscode:
  5594. description: 现货品种代码
  5595. type: string
  5596. deliverygoodsid:
  5597. description: 现货商品ID
  5598. type: integer
  5599. deliverygoodsname:
  5600. description: 现货品种名称
  5601. type: string
  5602. deliverystartdate:
  5603. description: 交割开始日
  5604. type: string
  5605. enddate:
  5606. description: 点价结束日
  5607. type: string
  5608. enumdicname:
  5609. description: 单位名称
  5610. type: string
  5611. goodscode:
  5612. description: 点价商品代码
  5613. type: string
  5614. goodsid:
  5615. description: 点价商品ID
  5616. type: integer
  5617. goodsname:
  5618. description: 点价商品名称
  5619. type: string
  5620. invoiceamount:
  5621. description: 已开票额
  5622. type: number
  5623. loanamount:
  5624. description: 贷款总额=已定价额+调整金额
  5625. type: number
  5626. margin:
  5627. description: 保证金
  5628. type: number
  5629. modelname:
  5630. description: 型号名称
  5631. type: string
  5632. payamount:
  5633. description: 已收付额(收款或付款)
  5634. type: number
  5635. preinvoiceamount:
  5636. description: 预收(开)票额
  5637. type: number
  5638. prepayamount:
  5639. description: 预收付额
  5640. type: number
  5641. price:
  5642. description: 价格
  5643. type: number
  5644. pricedamount:
  5645. description: 已定价额
  5646. type: number
  5647. pricedavg:
  5648. description: 已点均价
  5649. type: number
  5650. pricedqty:
  5651. description: 已定价量
  5652. type: number
  5653. pricemove:
  5654. description: 升贴水
  5655. type: number
  5656. pricetype:
  5657. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  5658. type: integer
  5659. producttype:
  5660. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5661. type: integer
  5662. qty:
  5663. description: 合同量
  5664. type: number
  5665. reckonadjustamount:
  5666. description: 调整金额
  5667. type: number
  5668. reckonedamount:
  5669. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  5670. type: number
  5671. reckonotheramount:
  5672. description: 其它费用
  5673. type: number
  5674. reckonrealqty:
  5675. description: 已确定量
  5676. type: number
  5677. remark:
  5678. description: 备注
  5679. type: string
  5680. spotcontractid:
  5681. description: 合同ID
  5682. type: string
  5683. spotgoodsbrandid:
  5684. description: 现货品牌ID
  5685. type: integer
  5686. spotgoodsdesc:
  5687. description: 商品型号(商品规格)
  5688. type: string
  5689. spotgoodsmodelid:
  5690. description: 现货型号ID
  5691. type: integer
  5692. startdate:
  5693. description: 点价开始日
  5694. type: string
  5695. totalamount:
  5696. description: 合计总额
  5697. type: number
  5698. unpayamount:
  5699. description: 应收付款额(应支付或应收款)
  5700. type: number
  5701. unpricedqty:
  5702. description: 未定价量
  5703. type: number
  5704. unsureqty:
  5705. description: 未确定量
  5706. type: number
  5707. userid:
  5708. description: 用户ID
  5709. type: integer
  5710. wrstandardcode:
  5711. description: 现货商品代码
  5712. type: string
  5713. wrstandardid:
  5714. description: 现货商品ID
  5715. type: integer
  5716. wrstandardname:
  5717. description: 现货商品名称
  5718. type: string
  5719. type: object
  5720. models.ErmcpOPLogModel:
  5721. properties:
  5722. aftervalue:
  5723. description: 变更后
  5724. type: number
  5725. applyid:
  5726. description: 操作人ID
  5727. type: string
  5728. applyname:
  5729. description: 操作人名称
  5730. type: string
  5731. beforevalue:
  5732. description: 变更前
  5733. type: number
  5734. biztype:
  5735. description: 业务类型 - 1:套保计划 2:现货合同
  5736. type: integer
  5737. contracttype:
  5738. description: 现货合同类型 - 1:采购 -1:销售
  5739. type: integer
  5740. logvalue:
  5741. description: 数值
  5742. type: number
  5743. operatelogtype:
  5744. description: 操作流水类型
  5745. type: integer
  5746. operatelogtypedesc:
  5747. description: 操作流水类型名称
  5748. type: string
  5749. relatedid:
  5750. description: 现货合同ID\套保计划
  5751. type: string
  5752. updatetime:
  5753. description: 更新时间
  5754. type: string
  5755. type: object
  5756. models.ErmcpPendingAudit:
  5757. properties:
  5758. areastockqty:
  5759. description: '待审核数量: 库存申请'
  5760. type: integer
  5761. businessdjqty:
  5762. description: '待审核数量: 点价'
  5763. type: integer
  5764. businessfpqty:
  5765. description: '待审核数量: 发票'
  5766. type: integer
  5767. businessjsqty:
  5768. description: '待审核数量: 结算'
  5769. type: integer
  5770. businesskxqty:
  5771. description: '待审核数量: 款项'
  5772. type: integer
  5773. hedgeplanqty:
  5774. description: '待审核数量: 套保计划'
  5775. type: integer
  5776. spotcontractqty:
  5777. description: '待审核数量: 现货合同'
  5778. type: integer
  5779. userqty:
  5780. description: '待审核数量: 用户'
  5781. type: integer
  5782. type: object
  5783. models.ErmcpRealExposureModel:
  5784. properties:
  5785. AreaUserID:
  5786. description: 所属机构
  5787. type: integer
  5788. BuyFutureQty:
  5789. description: 买入期货数量
  5790. type: number
  5791. BuyPlanQty:
  5792. description: 采购计划数量
  5793. type: number
  5794. BuyPricedQty:
  5795. description: 采购合同已定价数量
  5796. type: number
  5797. MiddleGoodsCode:
  5798. description: 套保品种代码
  5799. type: string
  5800. MiddleGoodsHedgeRatio:
  5801. description: 应套保比例
  5802. type: number
  5803. MiddleGoodsID:
  5804. description: 套保品种
  5805. type: integer
  5806. MiddleGoodsName:
  5807. description: 套保品种名称
  5808. type: string
  5809. NeedHedgeExposoure:
  5810. description: 应套保敞口
  5811. type: number
  5812. NeedHedgeRatio:
  5813. description: 应套保敞口比例
  5814. type: number
  5815. OriBuyFutureQty:
  5816. description: 期初买入期货数量
  5817. type: number
  5818. OriBuyPlanQty:
  5819. description: 期初采购计划数量
  5820. type: number
  5821. OriBuyPricedQty:
  5822. description: 期初采购合同已定价数量
  5823. type: number
  5824. OriSellFutureQty:
  5825. description: 期初卖出期货数量
  5826. type: number
  5827. OriSellPlanQty:
  5828. description: 期初销售计划数量
  5829. type: number
  5830. OriSellPricedQty:
  5831. description: 期初销售合同已定价数量
  5832. type: number
  5833. SellFutureQty:
  5834. description: 卖出期货数量
  5835. type: number
  5836. SellPlanQty:
  5837. description: 销售计划数量
  5838. type: number
  5839. SellPricedQty:
  5840. description: 销售合同已定价数量
  5841. type: number
  5842. TotalExposure:
  5843. description: 总敞口
  5844. type: number
  5845. TotalFutureQty:
  5846. description: 期货数量
  5847. type: number
  5848. TotalHedgeRatio:
  5849. description: 敞口比例
  5850. type: number
  5851. TotalNeedHedgeQty:
  5852. description: 期货应套保量
  5853. type: number
  5854. TotalSpotQty:
  5855. description: 现货数量
  5856. type: number
  5857. diffFutuQty:
  5858. description: 今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)
  5859. type: number
  5860. diffSpotQty:
  5861. description: 今日变动量(现货) = 现货数量 - 期初现货数量
  5862. type: number
  5863. enumdicname:
  5864. description: 单位名称
  5865. type: string
  5866. oriTotalFutuQty:
  5867. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  5868. type: number
  5869. oriTotalSpotQty:
  5870. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  5871. type: number
  5872. type: object
  5873. models.ErmcpRelatedGoods:
  5874. properties:
  5875. deliverygoodsid:
  5876. description: 品种ID
  5877. type: integer
  5878. goodscode:
  5879. description: 商品代码
  5880. type: string
  5881. goodsid:
  5882. description: 商品id
  5883. type: integer
  5884. goodsname:
  5885. description: 商品名称
  5886. type: string
  5887. type: object
  5888. models.ErmcpReportAreaSpotPL:
  5889. properties:
  5890. actualpl:
  5891. description: 实际损益
  5892. type: number
  5893. areauserid:
  5894. description: 所属机构
  5895. type: integer
  5896. brandname:
  5897. description: 品牌名称
  5898. type: string
  5899. curamount:
  5900. description: 期末额
  5901. type: number
  5902. curaverageprice:
  5903. description: 期末均价
  5904. type: number
  5905. curbuyamount:
  5906. description: 期末采购总额(采购额)
  5907. type: number
  5908. curbuyqty:
  5909. description: 期末采购总量
  5910. type: number
  5911. curmarketvalue:
  5912. description: 参考市值
  5913. type: number
  5914. curqty:
  5915. description: 期末量
  5916. type: number
  5917. cursellamount:
  5918. description: 期末销售总额(销售额)
  5919. type: number
  5920. cursellqty:
  5921. description: 期末销售总量
  5922. type: number
  5923. curspotprice:
  5924. description: 参考市价
  5925. type: number
  5926. enumdicname:
  5927. description: 现货商品单位名称
  5928. type: string
  5929. floatpl:
  5930. description: 浮动损益
  5931. type: number
  5932. gbenumdicname:
  5933. description: 品类单位名称
  5934. type: string
  5935. gbunitid:
  5936. description: 品类单位id
  5937. type: integer
  5938. modelname:
  5939. description: 品类名称
  5940. type: string
  5941. oriamount:
  5942. description: 期初额
  5943. type: number
  5944. oriaverageprice:
  5945. description: 期初均价
  5946. type: number
  5947. oribuyamount:
  5948. description: 期初采购总额
  5949. type: number
  5950. oribuyqty:
  5951. description: 期初采购总量
  5952. type: number
  5953. oriqty:
  5954. description: 期初量
  5955. type: number
  5956. orisellamount:
  5957. description: 期初销售总额
  5958. type: number
  5959. orisellqty:
  5960. description: 期初销售总量
  5961. type: number
  5962. spotgoodsbrandid:
  5963. description: 现货品牌ID
  5964. type: integer
  5965. spotgoodsmodelid:
  5966. description: 现货品类ID
  5967. type: integer
  5968. todaybuyamount:
  5969. description: 今日采购额
  5970. type: number
  5971. todaybuyaverageprice:
  5972. description: 今日采购均价(采购均价)
  5973. type: number
  5974. todaybuyqty:
  5975. description: 今日采购量(采购增量)
  5976. type: number
  5977. todaysellamount:
  5978. description: 今日销售额
  5979. type: number
  5980. todaysellaverageprice:
  5981. description: 今日销售均价(销售均价)
  5982. type: number
  5983. todaysellqty:
  5984. description: 今日销售量(销售增量)
  5985. type: number
  5986. unitid:
  5987. description: 现货商品单位id
  5988. type: integer
  5989. updatetime:
  5990. description: 更新时间
  5991. type: string
  5992. wrstandardcode:
  5993. description: 现货商品代码
  5994. type: string
  5995. wrstandardid:
  5996. description: 现货商品ID
  5997. type: integer
  5998. wrstandardname:
  5999. description: 现货商品名称
  6000. type: string
  6001. type: object
  6002. models.ErmcpReportDayExposure:
  6003. properties:
  6004. areauserid:
  6005. description: 所属机构
  6006. type: integer
  6007. buyfutureqty:
  6008. description: 买入期货数量
  6009. type: number
  6010. buyplanqty:
  6011. description: 采购计划数量
  6012. type: number
  6013. buypricedqty:
  6014. description: 采购合同已定价数量
  6015. type: number
  6016. diffFutuQty:
  6017. description: 今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)
  6018. type: number
  6019. diffSpotQty:
  6020. description: 今日变动量(现货) = 现货数量 - 期初现货数量
  6021. type: number
  6022. enumdicname:
  6023. description: 单位名称
  6024. type: string
  6025. middlegoodscode:
  6026. description: 套保品种代码
  6027. type: string
  6028. middlegoodshedgeratio:
  6029. description: 应套保比例
  6030. type: number
  6031. middlegoodsid:
  6032. description: 套保品种ID
  6033. type: integer
  6034. middlegoodsname:
  6035. description: 套保品种名称
  6036. type: string
  6037. needhedgeexposoure:
  6038. description: 应套保敞口
  6039. type: number
  6040. needhedgeratio:
  6041. description: 应套保敞口比例
  6042. type: number
  6043. oriTotalFutuQty:
  6044. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  6045. type: number
  6046. oriTotalSpotQty:
  6047. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  6048. type: number
  6049. oribuyfutureqty:
  6050. description: 期初买入期货数量
  6051. type: number
  6052. oribuyplanqty:
  6053. description: 期初采购计划数量
  6054. type: number
  6055. oribuypricedqty:
  6056. description: 期初采购合同已定价数量
  6057. type: number
  6058. orisellfutureqty:
  6059. description: 期初卖出期货数量
  6060. type: number
  6061. orisellplanqty:
  6062. description: 期初销售计划数量
  6063. type: number
  6064. orisellpricedqty:
  6065. description: 期初销售合同已定价数量
  6066. type: number
  6067. reckondate:
  6068. description: 日照时期(yyyyMMdd)
  6069. type: string
  6070. sellfutureqty:
  6071. description: 卖出期货数量
  6072. type: number
  6073. sellplanqty:
  6074. description: 销售计划数量
  6075. type: number
  6076. sellpricedqty:
  6077. description: 销售合同已定价数量
  6078. type: number
  6079. totalexposure:
  6080. description: 总敞口
  6081. type: number
  6082. totalfutureqty:
  6083. description: 期货数量
  6084. type: number
  6085. totalhedgeratio:
  6086. description: 敞口比例
  6087. type: number
  6088. totalneedhedgeqty:
  6089. description: 期货应套保量
  6090. type: number
  6091. totalspotqty:
  6092. description: 现货数量
  6093. type: number
  6094. type: object
  6095. models.ErmcpReportDayFR:
  6096. properties:
  6097. areauserid:
  6098. description: 所属机构
  6099. type: integer
  6100. collectinvoiceamount:
  6101. description: 今日开票金额
  6102. type: number
  6103. collectinvoicecount:
  6104. description: 今日开票笔数
  6105. type: integer
  6106. collectmoneyamount:
  6107. description: 今日收款金额
  6108. type: number
  6109. collectmoneycount:
  6110. description: 今日收款笔数
  6111. type: integer
  6112. payinvoiceamount:
  6113. description: 今日收票金额
  6114. type: number
  6115. payinvoicecount:
  6116. description: 今日收票笔数
  6117. type: integer
  6118. paymoneyamount:
  6119. description: 今日付款金额
  6120. type: number
  6121. paymoneycount:
  6122. description: 今日付款笔数
  6123. type: integer
  6124. reckondate:
  6125. description: 日照时期(yyyyMMdd)
  6126. type: string
  6127. updatetime:
  6128. description: 更新时间
  6129. type: string
  6130. type: object
  6131. models.ErmcpReportDaySpot:
  6132. properties:
  6133. areauserid:
  6134. description: 所属机构T
  6135. type: integer
  6136. buyinqty:
  6137. description: 采购入库量
  6138. type: number
  6139. enumdicname:
  6140. description: 现货商品单位名称
  6141. type: string
  6142. reckondate:
  6143. description: 日照时期(yyyyMMdd)
  6144. type: string
  6145. selloutqty:
  6146. description: 销售出库量
  6147. type: number
  6148. todaybuyreckonqty:
  6149. description: 采购确定量
  6150. type: number
  6151. todaysellreckonqty:
  6152. description: 销售确定量
  6153. type: number
  6154. totalbuypricedqty:
  6155. description: 采购定价量 = 期末 - 期初
  6156. type: number
  6157. totalsellpricedqty:
  6158. description: 销售定价量 = 期末 - 期初
  6159. type: number
  6160. wrstandardcode:
  6161. description: 现货商品代码
  6162. type: string
  6163. wrstandardid:
  6164. description: 现货商品ID
  6165. type: integer
  6166. wrstandardname:
  6167. description: 现货商品名称
  6168. type: string
  6169. type: object
  6170. models.ErmcpReportMonSpot:
  6171. properties:
  6172. areauserid:
  6173. description: 所属机构T
  6174. type: integer
  6175. buyinqty:
  6176. description: 采购入库量
  6177. type: number
  6178. cycletime:
  6179. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6180. type: string
  6181. cycletype:
  6182. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6183. type: integer
  6184. enumdicname:
  6185. description: 现货商品单位名称
  6186. type: string
  6187. selloutqty:
  6188. description: 销售出库量
  6189. type: number
  6190. todaybuyreckonqty:
  6191. description: 采购确定量
  6192. type: number
  6193. todaysellreckonqty:
  6194. description: 销售确定量
  6195. type: number
  6196. totalbuypricedqty:
  6197. description: 采购定价量 = 期末 - 期初
  6198. type: number
  6199. totalsellpricedqty:
  6200. description: 销售定价量 = 期末 - 期初
  6201. type: number
  6202. wrstandardcode:
  6203. description: 现货商品代码
  6204. type: string
  6205. wrstandardid:
  6206. description: 现货商品ID
  6207. type: integer
  6208. wrstandardname:
  6209. description: 现货商品名称
  6210. type: string
  6211. type: object
  6212. models.ErmcpReportMonthFR:
  6213. properties:
  6214. areauserid:
  6215. description: 所属机构【原值】
  6216. type: integer
  6217. collectinvoiceamount:
  6218. description: 今日开票金额【汇总】
  6219. type: number
  6220. collectinvoicecount:
  6221. description: 今日开票笔数【汇总】
  6222. type: integer
  6223. collectmoneyamount:
  6224. description: 今日收款金额【汇总】
  6225. type: number
  6226. collectmoneycount:
  6227. description: 今日收款笔数 【汇总】
  6228. type: integer
  6229. cycletime:
  6230. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6231. type: string
  6232. cycletype:
  6233. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6234. type: integer
  6235. dayFr:
  6236. description: 日报表明细
  6237. items:
  6238. $ref: '#/definitions/models.ErmcpReportDayFR'
  6239. type: array
  6240. payinvoiceamount:
  6241. description: 今日收票金额【汇总】
  6242. type: number
  6243. payinvoicecount:
  6244. description: 今日收票笔数【汇总】
  6245. type: integer
  6246. paymoneyamount:
  6247. description: 今日付款金额【汇总】
  6248. type: number
  6249. paymoneycount:
  6250. description: 今日付款笔数【汇总】
  6251. type: integer
  6252. updatetime:
  6253. description: 更新时间
  6254. type: string
  6255. type: object
  6256. models.ErmcpReportOPLog:
  6257. properties:
  6258. applyid:
  6259. description: 操作人
  6260. type: integer
  6261. applyname:
  6262. description: 操作人名称
  6263. type: string
  6264. biztype:
  6265. description: 业务类型 - 1:套保计划 2:现货合同
  6266. type: integer
  6267. brandname:
  6268. description: 品牌名称
  6269. type: string
  6270. contracttype:
  6271. description: 现货合同类型 - 1:采购 -1:销售
  6272. type: integer
  6273. enumdicName:
  6274. description: 单位名称
  6275. type: string
  6276. logdatetime:
  6277. description: 流水日期(时间)
  6278. type: string
  6279. logid:
  6280. description: 流水ID(604+Unix秒时间戳(10位)+xxxxxx)
  6281. type: string
  6282. logtypename:
  6283. description: 合同类型(名称)
  6284. type: string
  6285. logvalue:
  6286. description: 数值
  6287. type: string
  6288. modelname:
  6289. description: 型号名称
  6290. type: string
  6291. operatelogtype:
  6292. description: 操作流水类型 -
  6293. type: integer
  6294. optypename:
  6295. description: 流水类型名称
  6296. type: string
  6297. relatedid:
  6298. description: 现货合同ID\套保计划
  6299. type: string
  6300. relatedno:
  6301. description: 合同编号
  6302. type: string
  6303. tradedate:
  6304. description: 交易日(yyyyMMdd)
  6305. type: string
  6306. userid:
  6307. description: 机构ID
  6308. type: integer
  6309. wrstandardcode:
  6310. description: 现货商品代码
  6311. type: string
  6312. wrstandardid:
  6313. description: 现货商品ID
  6314. type: integer
  6315. wrstandardname:
  6316. description: 现货商品名称
  6317. type: string
  6318. type: object
  6319. models.ErmcpRole:
  6320. properties:
  6321. areauserid:
  6322. description: 所属机构
  6323. type: integer
  6324. autoid:
  6325. description: 角色ID(自增ID)
  6326. type: integer
  6327. modifierid:
  6328. description: 修改人(创建人)
  6329. type: integer
  6330. modifiername:
  6331. description: 修改人名称
  6332. type: string
  6333. modifytime:
  6334. description: 修改时间(创建时间)
  6335. type: string
  6336. rolename:
  6337. description: 角色名称
  6338. type: string
  6339. rolestatus:
  6340. description: 角色状态 - 1:启用 2:停用
  6341. type: integer
  6342. roletype:
  6343. description: 角色类型 - 1- 管理端 2- 交易端
  6344. type: integer
  6345. type: object
  6346. models.ErmcpRoleMenu:
  6347. properties:
  6348. iconame:
  6349. description: 菜单图标
  6350. type: string
  6351. menutype:
  6352. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  6353. type: integer
  6354. parentcode:
  6355. description: 上级资源代码
  6356. type: string
  6357. remark:
  6358. description: 菜单备注
  6359. type: string
  6360. resourcecode:
  6361. description: 菜单代码
  6362. type: string
  6363. resourcelevel:
  6364. description: 级别
  6365. type: integer
  6366. resourcename:
  6367. description: 菜单名称
  6368. type: string
  6369. roleid:
  6370. description: 角色id
  6371. type: integer
  6372. sort:
  6373. description: 排序
  6374. type: integer
  6375. url:
  6376. description: URL
  6377. type: string
  6378. userid:
  6379. description: 用户id
  6380. type: integer
  6381. type: object
  6382. models.ErmcpRoleMenuEx:
  6383. properties:
  6384. menu:
  6385. $ref: '#/definitions/models.ErmcpRoleMenu'
  6386. description: 父级菜单
  6387. type: object
  6388. subMenu:
  6389. description: 子级菜单
  6390. items:
  6391. $ref: '#/definitions/models.ErmcpRoleMenu'
  6392. type: array
  6393. type: object
  6394. models.ErmcpSpotContractModel:
  6395. properties:
  6396. amount:
  6397. description: 金额 [1:一口价、3:暂定价]
  6398. type: number
  6399. attachment:
  6400. description: 附件
  6401. type: string
  6402. auditremark:
  6403. description: 审核意见
  6404. type: string
  6405. audittime:
  6406. description: 审核时间
  6407. type: string
  6408. brandname:
  6409. description: 品牌名称
  6410. type: string
  6411. buyuserid:
  6412. description: 采购方ID
  6413. type: integer
  6414. buyusername:
  6415. description: 采购方名称
  6416. type: string
  6417. contracctstatus:
  6418. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  6419. type: integer
  6420. contractmargin:
  6421. description: 合同保证金
  6422. type: number
  6423. contractno:
  6424. description: 现货合同编号
  6425. type: string
  6426. contracttype:
  6427. description: 现货合同类型 - 1:采购 -1:销售
  6428. type: integer
  6429. convertfactor:
  6430. description: 标仓系数
  6431. type: number
  6432. createtime:
  6433. description: 创建时间
  6434. type: string
  6435. deliveryenddate:
  6436. description: 交收期(结束)
  6437. type: string
  6438. deliverygoodscode:
  6439. description: 现货品种代码
  6440. type: string
  6441. deliverygoodsid:
  6442. description: 现货品种ID
  6443. type: integer
  6444. deliverygoodsname:
  6445. description: 现货品种名称
  6446. type: string
  6447. deliverystartdate:
  6448. description: 交收期(开始)
  6449. type: string
  6450. enddate:
  6451. description: 点价结束日期 [2:点价 3:暂定价]
  6452. type: string
  6453. enumdicname:
  6454. description: 单位名称
  6455. type: string
  6456. goodscode:
  6457. description: 点价合约代码
  6458. type: string
  6459. goodsid:
  6460. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  6461. type: integer
  6462. goodsname:
  6463. description: 点价商品名称
  6464. type: string
  6465. margin:
  6466. description: 当前保证金
  6467. type: number
  6468. modelname:
  6469. description: 型号名称
  6470. type: string
  6471. price:
  6472. description: 价格\暂定价 [1:一口价、3:暂定价]
  6473. type: number
  6474. pricemove:
  6475. description: 升贴水 [2:点价 3:暂定价]
  6476. type: number
  6477. pricetype:
  6478. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  6479. type: integer
  6480. producttype:
  6481. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  6482. type: integer
  6483. qty:
  6484. description: 数量
  6485. type: number
  6486. remark:
  6487. description: 备注
  6488. type: string
  6489. selluserid:
  6490. description: 销售方ID
  6491. type: integer
  6492. sellusername:
  6493. description: 销售方名称
  6494. type: string
  6495. spotcontractid:
  6496. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  6497. type: string
  6498. spotgoodsbrandid:
  6499. description: 现货品牌ID
  6500. type: integer
  6501. spotgoodsdesc:
  6502. description: 商品型号
  6503. type: string
  6504. spotgoodsmodelid:
  6505. description: 现货型号ID
  6506. type: integer
  6507. startdate:
  6508. description: 点价开始日期 [2:点价 3:暂定价]
  6509. type: string
  6510. updatetime:
  6511. description: 更新时间
  6512. type: string
  6513. userid:
  6514. description: 机构ID
  6515. type: integer
  6516. wrstandardcode:
  6517. description: 现货商品代码
  6518. type: string
  6519. wrstandardid:
  6520. description: 现货商品ID
  6521. type: integer
  6522. wrstandardname:
  6523. description: 现货商品名称
  6524. type: string
  6525. type: object
  6526. models.ErmcpSpotGoodsPrice:
  6527. properties:
  6528. areauserid:
  6529. description: 所属机构id
  6530. type: integer
  6531. brandname:
  6532. description: 品牌名称
  6533. type: string
  6534. currencyid:
  6535. description: 报价货币ID
  6536. type: integer
  6537. enumdicname:
  6538. description: 现货商品单位名称
  6539. type: string
  6540. gbenumdicname:
  6541. description: 品类单位名称
  6542. type: string
  6543. gmunitid:
  6544. description: 品类单位id
  6545. type: integer
  6546. isvalid:
  6547. description: 是否有效 - 0:无效 1:有效
  6548. type: integer
  6549. modelname:
  6550. description: 品类名称
  6551. type: string
  6552. operateid:
  6553. description: 最后操作人
  6554. type: integer
  6555. operatesrc:
  6556. description: 最后操作来源 - 1:管理端 2:终端
  6557. type: integer
  6558. operatetime:
  6559. description: 最后操作时间
  6560. type: string
  6561. operatorname:
  6562. description: 操作人名称
  6563. type: string
  6564. spotgoodsbrandid:
  6565. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  6566. type: integer
  6567. spotgoodsmodelid:
  6568. description: 现货品类ID(通用则为0)
  6569. type: integer
  6570. spotgoodsprice:
  6571. description: 现货价格
  6572. type: number
  6573. tradedate:
  6574. description: 交易日(yyyyMMdd)
  6575. type: string
  6576. unitid:
  6577. description: 现货商品单位id
  6578. type: integer
  6579. wrstandardcode:
  6580. description: 现货商品代码
  6581. type: string
  6582. wrstandardid:
  6583. description: 现货商品ID
  6584. type: integer
  6585. wrstandardname:
  6586. description: 现货商品名称
  6587. type: string
  6588. type: object
  6589. models.ErmcpSpotGoodsPriceLog:
  6590. properties:
  6591. areauserid:
  6592. description: 所属机构id
  6593. type: integer
  6594. brandname:
  6595. description: 品牌名称
  6596. type: string
  6597. currencyid:
  6598. description: 报价货币ID
  6599. type: integer
  6600. enumdicname:
  6601. description: 现货商品单位名称
  6602. type: string
  6603. gbenumdicname:
  6604. description: 品类单位名称
  6605. type: string
  6606. gmunitid:
  6607. description: 品类单位id
  6608. type: integer
  6609. logid:
  6610. description: 日志id
  6611. type: integer
  6612. modelname:
  6613. description: 品类名称
  6614. type: string
  6615. operateid:
  6616. description: 最后操作人
  6617. type: integer
  6618. operatesrc:
  6619. description: 最后操作来源 - 1:管理端 2:终端
  6620. type: integer
  6621. operatetime:
  6622. description: 最后操作时间
  6623. type: string
  6624. operatorname:
  6625. description: 操作人名称
  6626. type: string
  6627. spotgoodsbrandid:
  6628. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  6629. type: integer
  6630. spotgoodsmodelid:
  6631. description: 现货品类ID(通用则为0)
  6632. type: integer
  6633. spotgoodsprice:
  6634. description: 现货价格
  6635. type: number
  6636. tradedate:
  6637. description: 交易日(yyyyMMdd)
  6638. type: string
  6639. unitid:
  6640. description: 现货商品单位id
  6641. type: integer
  6642. wrstandardcode:
  6643. description: 现货商品代码
  6644. type: string
  6645. wrstandardid:
  6646. description: 现货商品ID
  6647. type: integer
  6648. wrstandardname:
  6649. description: 现货商品名称
  6650. type: string
  6651. type: object
  6652. models.ErmcpTaAccount:
  6653. properties:
  6654. accountid:
  6655. description: 账户id
  6656. type: integer
  6657. accountname:
  6658. description: 账户名称
  6659. type: string
  6660. currencyid:
  6661. description: 币种id
  6662. type: integer
  6663. hedgeaccountcode:
  6664. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  6665. type: string
  6666. ismain:
  6667. description: 是否主账户 0-否 1-是
  6668. type: integer
  6669. parentaccountid:
  6670. description: 父账户id
  6671. type: integer
  6672. relateduserid:
  6673. description: 关联userid
  6674. type: integer
  6675. tradestatus:
  6676. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  6677. type: integer
  6678. type: object
  6679. models.ErmcpTaAccountEx:
  6680. properties:
  6681. mainAcc:
  6682. $ref: '#/definitions/models.ErmcpTaAccount'
  6683. description: 主账号
  6684. type: object
  6685. subacclist:
  6686. description: 子账号列表
  6687. items:
  6688. $ref: '#/definitions/models.ErmcpTaAccount'
  6689. type: array
  6690. type: object
  6691. models.ErmcpTaAccountInfo:
  6692. properties:
  6693. accountid:
  6694. description: 资金账户ID
  6695. type: integer
  6696. accountname:
  6697. description: 账户名称
  6698. type: string
  6699. balance:
  6700. description: 期初余额
  6701. type: number
  6702. capitalbalance:
  6703. description: 本金余额[外部子账户实际出入金余额]
  6704. type: number
  6705. closepl:
  6706. description: 今日平仓盈亏
  6707. type: number
  6708. creditdecrease:
  6709. description: 今日授信减少
  6710. type: number
  6711. creditincrease:
  6712. description: 今日授信增加
  6713. type: number
  6714. curdebt:
  6715. description: 期末欠款
  6716. type: number
  6717. currencyid:
  6718. description: 货币ID
  6719. type: integer
  6720. currentbalance:
  6721. description: 期末余额
  6722. type: number
  6723. freezecharge:
  6724. description: 手续费冻结
  6725. type: number
  6726. freezemargin:
  6727. description: 冻结保证金
  6728. type: number
  6729. fromaccountid:
  6730. description: 所属上级账户
  6731. type: integer
  6732. inamount:
  6733. description: 今日入金金额(包括三方入金)
  6734. type: number
  6735. ismain:
  6736. description: 是否母账号 0:不是母账户 1:是母账户
  6737. type: integer
  6738. mortgagecredit:
  6739. description: 授信金额
  6740. type: number
  6741. oridebt:
  6742. description: 期初欠款
  6743. type: number
  6744. orifreezecharge:
  6745. description: 期初手续费冻结
  6746. type: number
  6747. orifreezemargin:
  6748. description: 期初冻结保证金
  6749. type: number
  6750. orimortgagecredit:
  6751. description: 期初授信金额
  6752. type: number
  6753. oriothercredit:
  6754. description: 期初其它授信金额
  6755. type: number
  6756. oriotherfreezemargin:
  6757. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  6758. type: number
  6759. orioutamountfreeze:
  6760. description: 期初出金冻结
  6761. type: number
  6762. oriusedmargin:
  6763. description: 期初占用保证金
  6764. type: number
  6765. othercredit:
  6766. description: 其它授信金额
  6767. type: number
  6768. othercreditdecrease:
  6769. description: 今日其它授信减少
  6770. type: number
  6771. othercreditincrease:
  6772. description: 今日其它授信增加
  6773. type: number
  6774. otherfreezemargin:
  6775. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  6776. type: number
  6777. outamount:
  6778. description: 今日出金金额(包括三方出金)
  6779. type: number
  6780. outamountfreeze:
  6781. description: 出金冻结
  6782. type: number
  6783. outthreshold:
  6784. description: 出金阈值
  6785. type: number
  6786. parentaccountid:
  6787. description: 所属根账号
  6788. type: integer
  6789. paycharge:
  6790. description: 今日手续费支出
  6791. type: number
  6792. relateduserid:
  6793. description: 关联用户
  6794. type: integer
  6795. signstatus:
  6796. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  6797. type: integer
  6798. sublevelpath:
  6799. description: 账号层级路径(逗号分隔,首尾加逗号)
  6800. type: string
  6801. taaccounttype:
  6802. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  6803. type: integer
  6804. thirdinamount:
  6805. description: 今日三方入金
  6806. type: number
  6807. thirdoutamount:
  6808. description: 今日三方出金
  6809. type: number
  6810. tradestatus:
  6811. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  6812. type: integer
  6813. transferamount:
  6814. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  6815. type: number
  6816. usedmargin:
  6817. description: 占用保证金
  6818. type: number
  6819. userid:
  6820. description: 用户ID
  6821. type: integer
  6822. type: object
  6823. models.ErmcpTradeConfigTMP:
  6824. properties:
  6825. areauserid:
  6826. description: 所属机构
  6827. type: integer
  6828. basiccurrencyid:
  6829. description: 基本币种ID[汇率] - 目标币种
  6830. type: integer
  6831. mainaccountid:
  6832. description: 主账户ID
  6833. type: integer
  6834. modifierid:
  6835. description: 修改人
  6836. type: integer
  6837. remark:
  6838. description: 备注
  6839. type: string
  6840. tradeconfigtmpid:
  6841. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  6842. type: integer
  6843. tradeconfigtmpname:
  6844. description: 交易配置模板名称
  6845. type: string
  6846. tradeconfigtmptype:
  6847. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  6848. type: integer
  6849. updatetime:
  6850. description: 更新时间
  6851. type: string
  6852. type: object
  6853. models.ErmcpUserModel:
  6854. properties:
  6855. address:
  6856. description: 通讯地址
  6857. type: string
  6858. attachment1:
  6859. description: 附件1
  6860. type: string
  6861. audittime:
  6862. description: 审核时间
  6863. type: string
  6864. cardbackphotourl:
  6865. description: 证件反面图片地址
  6866. type: string
  6867. cardfrontphotourl:
  6868. description: 证件正面图片地址
  6869. type: string
  6870. cardnum:
  6871. description: 证件号码
  6872. type: string
  6873. cardtype:
  6874. description: 证件类型
  6875. type: integer
  6876. cardtypename:
  6877. description: 证件类型名称
  6878. type: string
  6879. cityid:
  6880. description: 市
  6881. type: integer
  6882. contactname:
  6883. description: 联系人
  6884. type: string
  6885. countryid:
  6886. description: 国家
  6887. type: integer
  6888. createtime:
  6889. description: 创建时间
  6890. type: string
  6891. customername:
  6892. description: 企业名称
  6893. type: string
  6894. districtid:
  6895. description: 区域
  6896. type: integer
  6897. email:
  6898. description: 邮件
  6899. type: string
  6900. legalpersonname:
  6901. description: 法人姓名(企业)
  6902. type: string
  6903. memberuserid:
  6904. description: 所属机构ID
  6905. type: integer
  6906. mobile:
  6907. description: 手机号码
  6908. type: string
  6909. modifytime:
  6910. description: 修改时间
  6911. type: string
  6912. nickname:
  6913. description: 昵称
  6914. type: string
  6915. provinceid:
  6916. description: 省
  6917. type: integer
  6918. remark:
  6919. description: 备注
  6920. type: string
  6921. status:
  6922. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  6923. type: integer
  6924. statusdesc:
  6925. description: 账户状态中文描述
  6926. type: string
  6927. taxpayernum:
  6928. description: 纳税人识别号
  6929. type: string
  6930. telphone:
  6931. description: 联系电话
  6932. type: string
  6933. userid:
  6934. description: 用户ID
  6935. type: integer
  6936. userinfotype:
  6937. description: 客户类型
  6938. type: string
  6939. type: object
  6940. models.ErmcpWareHouseInfo:
  6941. properties:
  6942. address:
  6943. description: 详细地址
  6944. type: string
  6945. areauserid:
  6946. description: 所属机构
  6947. type: integer
  6948. autoid:
  6949. description: 自增ID(仓库ID)
  6950. type: integer
  6951. cityid:
  6952. description: 市
  6953. type: integer
  6954. contactname:
  6955. description: 联系人
  6956. type: string
  6957. contactnum:
  6958. description: 联系电话
  6959. type: string
  6960. countryid:
  6961. description: 国家
  6962. type: integer
  6963. createtime:
  6964. description: 创建时间
  6965. type: string
  6966. districtid:
  6967. description: 区
  6968. type: integer
  6969. hasvideo:
  6970. description: 是否有视频 - 0:无 1:有
  6971. type: integer
  6972. provinceid:
  6973. description: 省
  6974. type: integer
  6975. remark:
  6976. description: 审核备注
  6977. type: string
  6978. videourl:
  6979. description: 视频地址
  6980. type: string
  6981. warehousecode:
  6982. description: 仓库代码
  6983. type: string
  6984. warehousename:
  6985. description: 仓库名称
  6986. type: string
  6987. warehousestatus:
  6988. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  6989. type: integer
  6990. warehousetype:
  6991. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  6992. type: integer
  6993. type: object
  6994. models.ErmcpWrstandDetail:
  6995. properties:
  6996. gbList:
  6997. description: 品牌列表
  6998. items:
  6999. $ref: '#/definitions/models.GoodsBrand'
  7000. type: array
  7001. goodsList:
  7002. description: 关联交易商品列表
  7003. items:
  7004. $ref: '#/definitions/models.RelatedGoodsEx'
  7005. type: array
  7006. gtList:
  7007. description: 型号列表
  7008. items:
  7009. $ref: '#/definitions/models.GoodsTypeModel'
  7010. type: array
  7011. wrd:
  7012. $ref: '#/definitions/models.ErmcpWrstandard'
  7013. description: 基本信息
  7014. type: object
  7015. wrsList:
  7016. description: 套保信息列表
  7017. items:
  7018. $ref: '#/definitions/models.WRSConverTDetail'
  7019. type: array
  7020. type: object
  7021. models.ErmcpWrstandard:
  7022. properties:
  7023. areauserid:
  7024. description: 所属机构
  7025. type: integer
  7026. createtime:
  7027. description: 创建时间
  7028. type: string
  7029. creatorid:
  7030. description: 创建人
  7031. type: integer
  7032. deliverygoodsid:
  7033. description: 品种ID
  7034. type: integer
  7035. enumdicname:
  7036. description: 单位名称
  7037. type: string
  7038. isvalid:
  7039. description: 是否有效 0-无效(停用) 1-有效(正常)
  7040. type: integer
  7041. minivalue:
  7042. description: 最小变动值
  7043. type: integer
  7044. minivaluedp:
  7045. description: 最小变动值小数位
  7046. type: integer
  7047. realminivalue:
  7048. description: 实际最小变动值
  7049. type: integer
  7050. realminivaluedp:
  7051. description: 实际最小变动值小数位
  7052. type: integer
  7053. remark:
  7054. description: 备注
  7055. type: string
  7056. unitid:
  7057. description: 单位ID
  7058. type: integer
  7059. updatetime:
  7060. description: 更新时间
  7061. type: string
  7062. wrstandardcode:
  7063. description: 现货商品代码
  7064. type: string
  7065. wrstandardid:
  7066. description: 现货商品ID(SEQ_WRSTANDARD)
  7067. type: integer
  7068. wrstandardname:
  7069. description: 现货商品名称
  7070. type: string
  7071. type: object
  7072. models.Externalexchange:
  7073. properties:
  7074. autoid:
  7075. description: AutoID - SEQ_EXTERNALEXCHANGE
  7076. type: integer
  7077. exchangefullname:
  7078. description: 外部交易所全称
  7079. type: string
  7080. exexchangecode:
  7081. description: 外部交易所代码
  7082. type: string
  7083. exexchangename:
  7084. description: 外部交易所名称(简称)
  7085. type: string
  7086. ismarketprice:
  7087. description: 是否支持市价 - 0:不支持 1:支持
  7088. type: integer
  7089. quotegear:
  7090. description: 行情档位(1-10)
  7091. type: integer
  7092. showbrokerflag:
  7093. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  7094. type: integer
  7095. updatetime:
  7096. description: 更新时间
  7097. type: string
  7098. required:
  7099. - autoid
  7100. type: object
  7101. models.Funcmenulist:
  7102. properties:
  7103. iconame:
  7104. description: 菜单图标
  7105. type: string
  7106. menutype:
  7107. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  7108. type: integer
  7109. parentcode:
  7110. description: 上级资源代码
  7111. type: string
  7112. remark:
  7113. description: 备注
  7114. type: string
  7115. resourcecode:
  7116. description: 资源代码
  7117. type: string
  7118. resourcelevel:
  7119. description: 级别 1-一级 2-二级 3-三级 4-四级
  7120. type: integer
  7121. resourcename:
  7122. description: 资源名
  7123. type: string
  7124. sort:
  7125. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  7126. type: integer
  7127. url:
  7128. description: URL
  7129. type: string
  7130. required:
  7131. - resourcecode
  7132. type: object
  7133. models.Goods:
  7134. properties:
  7135. agreeunit:
  7136. description: 合约单位
  7137. type: number
  7138. auditaccountid:
  7139. description: 审核操作员账号
  7140. type: integer
  7141. audittime:
  7142. description: 审核时间
  7143. type: string
  7144. cancelaccountid:
  7145. description: 注销操作员账号
  7146. type: integer
  7147. canceltime:
  7148. description: 注销时间
  7149. type: string
  7150. closepricemode:
  7151. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7152. type: integer
  7153. closepriceparam:
  7154. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  7155. type: number
  7156. createtime:
  7157. description: 创建时间
  7158. type: string
  7159. creatorid:
  7160. description: 创建人
  7161. type: integer
  7162. currencyid:
  7163. description: 报价货币ID
  7164. type: integer
  7165. cutmode:
  7166. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  7167. type: integer
  7168. decimalplace:
  7169. description: 报价小数位
  7170. type: integer
  7171. delistingdate:
  7172. description: 商品退市时间(状态:退市) -- 已作废
  7173. type: string
  7174. delistingmode:
  7175. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  7176. type: integer
  7177. deliveryflag:
  7178. description: 交割标志 - 0:不可交割 1:可交割
  7179. type: integer
  7180. forceclosemode:
  7181. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  7182. type: integer
  7183. forceclosevalue:
  7184. description: 定期强平参数 [收益权]
  7185. type: integer
  7186. goodscode:
  7187. description: 商品代码(内部)
  7188. type: string
  7189. goodscurrencyid:
  7190. description: 合约货币ID
  7191. type: integer
  7192. goodsgroupid:
  7193. description: 所属商品组ID
  7194. type: integer
  7195. goodsid:
  7196. description: 商品ID(自增ID SEQ_GOODS)
  7197. type: integer
  7198. goodsname:
  7199. description: 商品名称
  7200. type: string
  7201. goodsquotetype:
  7202. description: '合约报价类型: 1-直接报价 2-间接报价'
  7203. type: integer
  7204. goodsstatus:
  7205. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  7206. type: integer
  7207. goodstradetype:
  7208. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  7209. type: integer
  7210. goodunitid:
  7211. description: 报价单位ID
  7212. type: integer
  7213. hasquoter:
  7214. description: 是否有报价商 - 0:无报价商 1:有报价商
  7215. type: integer
  7216. hqprotecttime:
  7217. description: 行情保护时间(秒)
  7218. type: integer
  7219. innerdealmode:
  7220. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7221. type: integer
  7222. isbuylimited:
  7223. description: 是否限制建仓量 - 0:不限制 1:限制
  7224. type: integer
  7225. lasttradedate:
  7226. description: 最后交易日期(状态:待退市)
  7227. type: string
  7228. listingdate:
  7229. description: 交易开始日期
  7230. type: string
  7231. marketid:
  7232. description: 所属市场ID
  7233. type: integer
  7234. modifierid:
  7235. description: 修改人
  7236. type: integer
  7237. modifystatus:
  7238. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  7239. type: integer
  7240. modifytime:
  7241. description: 修改时间
  7242. type: string
  7243. outerdealmode:
  7244. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7245. type: integer
  7246. outgoodscode:
  7247. description: 商品代码(外部)
  7248. type: string
  7249. qtydecimalplace:
  7250. description: 成交量小数位
  7251. type: integer
  7252. quotegear:
  7253. description: 行情档位(1-10)
  7254. type: integer
  7255. quoteminunit:
  7256. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7257. type: integer
  7258. quoteshowtype:
  7259. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  7260. type: integer
  7261. quoteshowtypeinterval:
  7262. description: 行情报价间隔时间(秒)(成交价时为0)
  7263. type: integer
  7264. remark:
  7265. description: 备注
  7266. type: string
  7267. required:
  7268. - goodscode
  7269. - goodsid
  7270. - goodsname
  7271. - marketid
  7272. type: object
  7273. models.GoodsBrand:
  7274. properties:
  7275. brandid:
  7276. description: 品牌ID
  7277. type: integer
  7278. brandname:
  7279. description: 品牌名称
  7280. type: string
  7281. isvalid:
  7282. description: 是否有效 - 0:无效 1:有效
  7283. type: integer
  7284. type: object
  7285. models.GoodsIDAndName:
  7286. properties:
  7287. goodscode:
  7288. description: 商品代码(内部)
  7289. type: string
  7290. goodsid:
  7291. description: 商品ID(自增ID SEQ_GOODS)
  7292. type: integer
  7293. goodsname:
  7294. description: 商品名称
  7295. type: string
  7296. marketid:
  7297. description: 所属市场ID
  7298. type: integer
  7299. required:
  7300. - goodscode
  7301. - goodsid
  7302. - goodsname
  7303. - marketid
  7304. type: object
  7305. models.GoodsTypeModel:
  7306. properties:
  7307. convertfactor:
  7308. description: 标仓系数
  7309. type: number
  7310. modelid:
  7311. description: 型号ID
  7312. type: integer
  7313. modelname:
  7314. description: 型号名称
  7315. type: string
  7316. updatetime:
  7317. description: 更新时间
  7318. type: string
  7319. type: object
  7320. models.Goodsgroup:
  7321. properties:
  7322. agreeunit:
  7323. description: 合约单位
  7324. type: number
  7325. canshort:
  7326. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  7327. type: integer
  7328. closepricemode:
  7329. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7330. type: integer
  7331. closepriceparam:
  7332. description: 强平最新价浮动比例 - 方式为2时使用
  7333. type: number
  7334. createtime:
  7335. description: 创建时间
  7336. type: string
  7337. creatorid:
  7338. description: 创建人
  7339. type: integer
  7340. currencyid:
  7341. description: 报价货币ID
  7342. type: integer
  7343. decimalplace:
  7344. description: 报价小数位
  7345. type: integer
  7346. exercisetype:
  7347. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  7348. type: integer
  7349. exexchangeid:
  7350. description: 外部交易所ID[通道交易]
  7351. type: integer
  7352. goodsgroupid:
  7353. description: 商品组ID(自增ID)
  7354. type: integer
  7355. goodsgroupname:
  7356. description: 商品组名称
  7357. type: string
  7358. goodsgroupstatus:
  7359. description: 商品组状态 - 1:正常 2:注销
  7360. type: integer
  7361. goodunitid:
  7362. description: 报价单位ID
  7363. type: integer
  7364. innerdealmode:
  7365. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7366. type: integer
  7367. isbuylimited:
  7368. description: 是否限制建仓量 - 0:不限制 1:限制
  7369. type: integer
  7370. marketid:
  7371. description: 所属市场ID
  7372. type: integer
  7373. modifierid:
  7374. description: 修改人
  7375. type: integer
  7376. modifytime:
  7377. description: 修改时间
  7378. type: string
  7379. outerdealmode:
  7380. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7381. type: integer
  7382. outergroupcode:
  7383. description: 外部商品组代码[通道交易]
  7384. type: string
  7385. premiumdecimalplace:
  7386. description: 权利金小数位[场外期权]
  7387. type: integer
  7388. premiumspreadalgorithm:
  7389. description: 权利金点差方式[场外期权] 1:比率 2:固定
  7390. type: integer
  7391. premiumspreadvalue:
  7392. description: 权利金点差值[场外期权]
  7393. type: number
  7394. qtydecimalplace:
  7395. description: 成交量小数位
  7396. type: integer
  7397. quotegear:
  7398. description: 行情档位(1-10)
  7399. type: integer
  7400. quoteminunit:
  7401. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7402. type: integer
  7403. quoterid:
  7404. description: 报价商ID[场外期权]
  7405. type: integer
  7406. quotesourcegroupid:
  7407. description: 所属行情源分组ID[参考行情市场用\通道交易]
  7408. type: integer
  7409. syncgoodsqty:
  7410. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  7411. type: integer
  7412. required:
  7413. - goodsgroupid
  7414. - goodsgroupname
  7415. - goodsgroupstatus
  7416. - marketid
  7417. type: object
  7418. models.Goodssortbypreposition:
  7419. properties:
  7420. goodscode:
  7421. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  7422. type: string
  7423. goodsgroupcode:
  7424. description: 品种代码
  7425. type: string
  7426. prepositionqty:
  7427. description: 昨持仓量
  7428. type: integer
  7429. sortindex:
  7430. description: 排序
  7431. type: integer
  7432. tradedate:
  7433. description: 交易日
  7434. type: string
  7435. updatetime:
  7436. description: 更新时间
  7437. type: string
  7438. required:
  7439. - goodscode
  7440. - tradedate
  7441. type: object
  7442. models.Hedgeinnerholderdetail:
  7443. properties:
  7444. accountid:
  7445. description: 账号ID
  7446. type: integer
  7447. buyorsell:
  7448. description: 方向 - 0:买 1:卖
  7449. type: integer
  7450. freezeqty:
  7451. description: 冻结数量 - 按单平使用
  7452. type: integer
  7453. goodsid:
  7454. description: 商品ID
  7455. type: integer
  7456. holderamount:
  7457. description: 持仓金额 [商品币种]
  7458. type: number
  7459. holderdays:
  7460. description: 剩余冻结天数
  7461. type: integer
  7462. holderprice:
  7463. description: 持仓价格
  7464. type: number
  7465. holderqty:
  7466. description: 持仓数量
  7467. type: integer
  7468. marketid:
  7469. description: 市场ID
  7470. type: integer
  7471. openprice:
  7472. description: 建仓价格
  7473. type: number
  7474. openqty:
  7475. description: 建仓数量
  7476. type: integer
  7477. parentaccountid:
  7478. description: 所属母账户
  7479. type: integer
  7480. releaseamount:
  7481. description: 释放持仓金额[商品币种]
  7482. type: number
  7483. tradeamount:
  7484. description: 成交金额[账户]
  7485. type: number
  7486. tradedate:
  7487. description: 交易日(yyyyMMdd)
  7488. type: string
  7489. tradeid:
  7490. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7491. type: string
  7492. tradetime:
  7493. description: 交易时间
  7494. type: string
  7495. required:
  7496. - buyorsell
  7497. - tradeid
  7498. type: object
  7499. models.Hedgemarketopenlog:
  7500. properties:
  7501. accountid:
  7502. description: 资金账号[外部母账户]
  7503. type: integer
  7504. fcname:
  7505. description: 期货公司名称
  7506. type: string
  7507. handlestatus:
  7508. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  7509. type: integer
  7510. marketid:
  7511. description: 市场ID
  7512. type: integer
  7513. status:
  7514. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  7515. type: integer
  7516. tradedate:
  7517. description: 交易日(yyyyMMdd)
  7518. type: string
  7519. updatetime:
  7520. description: 更新时间
  7521. type: string
  7522. required:
  7523. - accountid
  7524. type: object
  7525. models.HsbyBuyMyPayOrder:
  7526. properties:
  7527. agreeunit:
  7528. description: 合约单位
  7529. type: number
  7530. buyaccountid:
  7531. description: 买方账号ID[报价币种]
  7532. type: integer
  7533. buyorderid:
  7534. description: 买方委托单号
  7535. type: string
  7536. createtime:
  7537. description: 创建时间
  7538. type: string
  7539. currencysign:
  7540. description: 货币符号
  7541. type: string
  7542. decimalplace:
  7543. description: 报价小数位
  7544. type: integer
  7545. goodscode:
  7546. description: 商品代码(内部)
  7547. type: string
  7548. goodsid:
  7549. description: 商品ID
  7550. type: integer
  7551. goodsname:
  7552. description: 商品名称
  7553. type: string
  7554. marketid:
  7555. description: 市场ID
  7556. type: integer
  7557. offamount:
  7558. description: 优惠金额
  7559. type: number
  7560. originalamount:
  7561. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  7562. type: number
  7563. payamount:
  7564. description: 支付金额 = TradeAmount + TradeCharge
  7565. type: number
  7566. payflag:
  7567. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  7568. type: integer
  7569. paylimitedtime:
  7570. description: 支付期限
  7571. type: string
  7572. paytime:
  7573. description: 付款时间
  7574. type: string
  7575. picurls1:
  7576. description: 预售商品介绍图片[多张用逗号分隔]
  7577. type: string
  7578. picurls2:
  7579. description: 挂牌商品介绍图片[多张用逗号分隔]
  7580. type: string
  7581. sellaccountid:
  7582. description: 卖方账号ID[报价币种]
  7583. type: integer
  7584. sellorderid:
  7585. description: 卖方委托单号
  7586. type: string
  7587. tradeamount:
  7588. description: 成交金额
  7589. type: number
  7590. tradecharge:
  7591. description: 成交手续费(买方)
  7592. type: number
  7593. tradedate:
  7594. description: 交易日(yyyyMMdd)
  7595. type: string
  7596. tradeid:
  7597. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7598. type: string
  7599. trademode:
  7600. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7601. 21:竞拍-大宗式 22:受托竞价
  7602. type: integer
  7603. tradeprice:
  7604. description: 成交价格
  7605. type: number
  7606. tradeqty:
  7607. description: 成交数量
  7608. type: integer
  7609. vendorname1:
  7610. description: 预售商品供应商名称
  7611. type: string
  7612. vendorname2:
  7613. description: 挂牌商品供应商名称
  7614. type: string
  7615. required:
  7616. - goodscode
  7617. - goodsname
  7618. - tradeid
  7619. - trademode
  7620. type: object
  7621. models.HsbyBuyMyTradeDetail:
  7622. properties:
  7623. accountid:
  7624. description: 账户ID[报价币种]
  7625. type: integer
  7626. agreeunit:
  7627. description: 合约单位
  7628. type: number
  7629. amount:
  7630. description: 金额 = 价格 * 数量 * 合约单位
  7631. type: number
  7632. buyorsell:
  7633. description: 买卖 - 0:买 1:卖
  7634. type: integer
  7635. currencysign:
  7636. description: 货币符号
  7637. type: string
  7638. decimalplace:
  7639. description: 报价小数位
  7640. type: integer
  7641. goodscode:
  7642. description: 商品代码(内部)
  7643. type: string
  7644. goodsid:
  7645. description: 商品ID
  7646. type: integer
  7647. goodsname:
  7648. description: 商品名称
  7649. type: string
  7650. marketid:
  7651. description: 市场ID
  7652. type: integer
  7653. orderamount:
  7654. description: 委托金额
  7655. type: number
  7656. orderid:
  7657. description: 单号(成交单号)
  7658. type: string
  7659. picurls1:
  7660. description: 预售商品介绍图片[多张用逗号分隔]
  7661. type: string
  7662. picurls2:
  7663. description: 挂牌商品介绍图片[多张用逗号分隔]
  7664. type: string
  7665. price:
  7666. description: 价格
  7667. type: number
  7668. qty:
  7669. description: 数量
  7670. type: integer
  7671. time:
  7672. description: 时间
  7673. type: string
  7674. trademode:
  7675. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7676. 21:竞拍-大宗式 22:受托竞价
  7677. type: integer
  7678. vendorname1:
  7679. description: 预售商品供应商名称
  7680. type: string
  7681. vendorname2:
  7682. description: 挂牌商品供应商名称
  7683. type: string
  7684. required:
  7685. - accountid
  7686. - buyorsell
  7687. - goodscode
  7688. - goodsid
  7689. - goodsname
  7690. - marketid
  7691. - orderid
  7692. - qty
  7693. - time
  7694. - trademode
  7695. type: object
  7696. models.HsbyGoodsOrderDetail:
  7697. properties:
  7698. buyorsell:
  7699. description: 买卖 - 0:买 1:卖
  7700. type: integer
  7701. currencysign:
  7702. description: 货币符号
  7703. type: string
  7704. customername:
  7705. description: 客户名称(企业名称),已脱敏
  7706. type: string
  7707. enableqty:
  7708. description: 可用数量
  7709. type: integer
  7710. goodunit:
  7711. description: 报价单位
  7712. type: string
  7713. orderid:
  7714. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7715. type: string
  7716. orderprice:
  7717. description: 委托价格
  7718. type: number
  7719. ordertime:
  7720. description: 委托时间
  7721. type: string
  7722. required:
  7723. - buyorsell
  7724. - orderid
  7725. - ordertime
  7726. type: object
  7727. models.HsbyListingGoodsDetail:
  7728. properties:
  7729. agreeunit:
  7730. description: 合约单位
  7731. type: number
  7732. buymaxqty:
  7733. description: 购买上限 [71] - 0为不限
  7734. type: integer
  7735. currency:
  7736. description: 货币
  7737. type: string
  7738. currencysign:
  7739. description: 货币符号
  7740. type: string
  7741. decimalplace:
  7742. description: 报价小数位
  7743. type: integer
  7744. desccityid:
  7745. description: 目的地(市)ID
  7746. type: integer
  7747. descprovinceid:
  7748. description: 目的地(省)ID
  7749. type: integer
  7750. goodscode:
  7751. description: 商品代码(内部)
  7752. type: string
  7753. goodsdesc:
  7754. description: 商品详情
  7755. type: string
  7756. goodsid:
  7757. description: 商品ID(自增ID SEQ_GOODS)
  7758. type: integer
  7759. goodsname:
  7760. description: 商品名称
  7761. type: string
  7762. goodsprice:
  7763. description: 商品价格
  7764. type: number
  7765. hotindex:
  7766. description: 景点热度
  7767. type: integer
  7768. last:
  7769. description: 现价
  7770. type: number
  7771. limitdown:
  7772. description: 跌停价
  7773. type: number
  7774. limitup:
  7775. description: 涨停价
  7776. type: number
  7777. lotsize:
  7778. description: 手数最小变动单位
  7779. type: integer
  7780. marketid:
  7781. description: 所属市场ID
  7782. type: integer
  7783. picurls:
  7784. description: 介绍图片[多张用逗号分隔]
  7785. type: string
  7786. quoteminunit:
  7787. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7788. type: integer
  7789. stepvalue:
  7790. description: 价格最小变动单位
  7791. type: number
  7792. trademode:
  7793. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7794. 21:竞拍-大宗式 22:受托竞价
  7795. type: integer
  7796. vendorattr:
  7797. description: 供应商附件(多张,逗号分隔)
  7798. type: string
  7799. vendorname:
  7800. description: 供应商名称
  7801. type: string
  7802. vendorphone:
  7803. description: 供应商客服电话
  7804. type: string
  7805. videourls:
  7806. description: 介绍视频[多张用逗号分隔]
  7807. type: string
  7808. required:
  7809. - goodscode
  7810. - goodsid
  7811. - goodsname
  7812. - marketid
  7813. - trademode
  7814. type: object
  7815. models.HsbyMarketGoods:
  7816. properties:
  7817. accountid:
  7818. description: 账户ID[报价币种]
  7819. type: integer
  7820. agreeunit:
  7821. description: 合约单位
  7822. type: number
  7823. buyorsell:
  7824. description: 买卖 - 0:买 1:卖
  7825. type: integer
  7826. categoryid:
  7827. description: 类别ID(WRCATEGORY)
  7828. type: integer
  7829. currency:
  7830. description: 货币
  7831. type: string
  7832. currencysign:
  7833. description: 货币符号
  7834. type: string
  7835. customername:
  7836. description: 卖家名称
  7837. type: string
  7838. decimalplace:
  7839. description: 报价小数位
  7840. type: integer
  7841. goodscode:
  7842. description: 商品代码(内部)
  7843. type: string
  7844. goodsid:
  7845. description: 商品ID
  7846. type: integer
  7847. goodsname:
  7848. description: 商品名称
  7849. type: string
  7850. goodsprice:
  7851. description: 商品价格
  7852. type: number
  7853. hascoupon:
  7854. description: 是否可用优惠卷
  7855. type: boolean
  7856. hotindex:
  7857. description: 景点热度
  7858. type: integer
  7859. marketid:
  7860. description: 市场ID
  7861. type: integer
  7862. orderid:
  7863. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7864. type: string
  7865. orderprice:
  7866. description: 委托价格
  7867. type: number
  7868. orderstatus:
  7869. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  7870. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  7871. 16:成交失败违约(荷兰式竞拍专用)
  7872. type: integer
  7873. picurls:
  7874. description: 介绍图片[多张用逗号分隔]
  7875. type: string
  7876. quoteminunit:
  7877. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7878. type: integer
  7879. sellUserID:
  7880. description: 卖方UserID
  7881. type: integer
  7882. trademode:
  7883. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7884. 21:竞拍-大宗式 22:受托竞价
  7885. type: integer
  7886. videourls:
  7887. description: 介绍视频[多张用逗号分隔]
  7888. type: string
  7889. required:
  7890. - accountid
  7891. - buyorsell
  7892. - goodscode
  7893. - goodsid
  7894. - goodsname
  7895. - marketid
  7896. - orderid
  7897. - trademode
  7898. type: object
  7899. models.HsbyMarketGoodsDetail:
  7900. properties:
  7901. accountid:
  7902. description: 账户ID[报价币种]
  7903. type: integer
  7904. agreeunit:
  7905. description: 合约单位
  7906. type: number
  7907. buymaxqty:
  7908. description: 购买上限 [71] - 0为不限
  7909. type: integer
  7910. buyorsell:
  7911. description: 买卖 - 0:买 1:卖
  7912. type: integer
  7913. cancelqty:
  7914. description: 撤单数量
  7915. type: integer
  7916. categoryid:
  7917. description: 类别ID(WRCATEGORY)
  7918. type: integer
  7919. currency:
  7920. description: 货币
  7921. type: string
  7922. currencysign:
  7923. description: 货币符号
  7924. type: string
  7925. customername:
  7926. description: 卖家名称
  7927. type: string
  7928. decimalplace:
  7929. description: 报价小数位
  7930. type: integer
  7931. goodscode:
  7932. description: 商品代码(内部)
  7933. type: string
  7934. goodsdesc:
  7935. description: 商品详情
  7936. type: string
  7937. goodsid:
  7938. description: 商品ID
  7939. type: integer
  7940. goodsname:
  7941. description: 商品名称
  7942. type: string
  7943. goodsprice:
  7944. description: 商品价格
  7945. type: number
  7946. hotindex:
  7947. description: 景点热度
  7948. type: integer
  7949. lotsize:
  7950. description: 手数最小变动单位
  7951. type: integer
  7952. marketid:
  7953. description: 市场ID
  7954. type: integer
  7955. orderid:
  7956. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7957. type: string
  7958. orderprice:
  7959. description: 委托价格
  7960. type: number
  7961. orderqty:
  7962. description: 委托数量
  7963. type: integer
  7964. orderstatus:
  7965. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  7966. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  7967. 16:成交失败违约(荷兰式竞拍专用)
  7968. type: integer
  7969. picurls:
  7970. description: 介绍图片[多张用逗号分隔]
  7971. type: string
  7972. quoteminunit:
  7973. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7974. type: integer
  7975. sellUserID:
  7976. description: 卖方UserID
  7977. type: integer
  7978. trademode:
  7979. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7980. 21:竞拍-大宗式 22:受托竞价
  7981. type: integer
  7982. tradeqty:
  7983. description: 成交数量
  7984. type: integer
  7985. vendorattr:
  7986. description: 供应商附件(多张,逗号分隔)
  7987. type: string
  7988. vendorname:
  7989. description: 供应商名称
  7990. type: string
  7991. vendorphone:
  7992. description: 供应商客服电话
  7993. type: string
  7994. videourls:
  7995. description: 介绍视频[多张用逗号分隔]
  7996. type: string
  7997. required:
  7998. - accountid
  7999. - buyorsell
  8000. - goodscode
  8001. - goodsid
  8002. - goodsname
  8003. - marketid
  8004. - orderid
  8005. - orderqty
  8006. - trademode
  8007. type: object
  8008. models.HsbyMarketInfo:
  8009. properties:
  8010. marketid:
  8011. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  8012. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  8013. type: integer
  8014. marketname:
  8015. description: 市场名称
  8016. type: string
  8017. marketstatus:
  8018. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  8019. type: integer
  8020. trademode:
  8021. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8022. 21:竞拍-大宗式 22:受托竞价
  8023. type: integer
  8024. required:
  8025. - marketid
  8026. - marketstatus
  8027. - trademode
  8028. type: object
  8029. models.HsbyMyGoods:
  8030. properties:
  8031. accountid:
  8032. description: 账号Id
  8033. type: integer
  8034. agreeunit:
  8035. description: 合约单位
  8036. type: number
  8037. buyaverageprice:
  8038. description: 持仓均价
  8039. type: number
  8040. buycurholderamount:
  8041. description: 买当前持仓总金额[商品币种]
  8042. type: number
  8043. buycurpositionqty:
  8044. description: 买当前持仓总数量
  8045. type: integer
  8046. buymaxqty:
  8047. description: 购买上限 [71] - 0为不限
  8048. type: integer
  8049. currencysign:
  8050. description: 货币符号
  8051. type: string
  8052. decimalplace:
  8053. description: 报价小数位
  8054. type: integer
  8055. enableqty:
  8056. description: 可用数量
  8057. type: integer
  8058. goodscode:
  8059. description: 商品代码(内部)
  8060. type: string
  8061. goodsid:
  8062. description: 商品Id
  8063. type: integer
  8064. goodsname:
  8065. description: 商品名称
  8066. type: string
  8067. goodsprice:
  8068. description: 商品价格
  8069. type: number
  8070. goodsstatus:
  8071. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8072. type: integer
  8073. last:
  8074. description: 现价(仅使用于挂牌点选)
  8075. type: number
  8076. limitdown:
  8077. description: 跌停价(仅使用于挂牌点选)
  8078. type: number
  8079. limitup:
  8080. description: 涨停价(仅使用于挂牌点选)
  8081. type: number
  8082. lotsize:
  8083. description: 手数最小变动单位
  8084. type: integer
  8085. marketid:
  8086. description: 所属市场ID
  8087. type: integer
  8088. picurls:
  8089. description: 介绍图片[多张用逗号分隔]
  8090. type: string
  8091. quoteminunit:
  8092. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8093. type: integer
  8094. stepvalue:
  8095. description: 价格最小变动单位
  8096. type: number
  8097. trademode:
  8098. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8099. 21:竞拍-大宗式 22:受托竞价
  8100. type: integer
  8101. required:
  8102. - accountid
  8103. - goodscode
  8104. - goodsid
  8105. - goodsname
  8106. - marketid
  8107. - trademode
  8108. type: object
  8109. models.HsbyMyPackage:
  8110. properties:
  8111. accountid:
  8112. description: 账户ID
  8113. type: integer
  8114. address:
  8115. description: 提货人详细地址
  8116. type: string
  8117. agreeunit:
  8118. description: 合约单位
  8119. type: number
  8120. amount:
  8121. description: 提货金额
  8122. type: number
  8123. auditer:
  8124. description: 审核人
  8125. type: integer
  8126. audittime:
  8127. description: 审核时间
  8128. type: string
  8129. averageprice:
  8130. description: 均价
  8131. type: number
  8132. cardnum:
  8133. description: 提货人证件号码
  8134. type: string
  8135. cardtypeid:
  8136. description: 提货人证件类型
  8137. type: integer
  8138. checkremark:
  8139. description: 审核备注
  8140. type: string
  8141. currencysign:
  8142. description: 货币符号
  8143. type: string
  8144. decimalplace:
  8145. description: 报价小数位
  8146. type: integer
  8147. goodscode:
  8148. description: 商品代码(内部)
  8149. type: string
  8150. goodsid:
  8151. description: 商品ID
  8152. type: integer
  8153. goodsname:
  8154. description: 商品名称
  8155. type: string
  8156. handlestatus:
  8157. description: 处理状态
  8158. type: integer
  8159. marketid:
  8160. description: 市场ID
  8161. type: integer
  8162. phonenum:
  8163. description: 提货人联系方式
  8164. type: string
  8165. picurls:
  8166. description: 介绍图片[多张用逗号分隔]
  8167. type: string
  8168. qty:
  8169. description: 提货数量
  8170. type: number
  8171. recivername:
  8172. description: 提货人姓名
  8173. type: string
  8174. reqtime:
  8175. description: 更新时间
  8176. type: string
  8177. takemode:
  8178. description: 提货方式 - 2:自提 3:配送
  8179. type: integer
  8180. takeorderid:
  8181. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  8182. type: string
  8183. takeorderstatus:
  8184. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  8185. type: integer
  8186. takeremark:
  8187. description: 提货备注
  8188. type: string
  8189. tradedate:
  8190. description: 交易日(yyyyMMdd)
  8191. type: string
  8192. trademode:
  8193. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8194. 21:竞拍-大宗式 22:受托竞价
  8195. type: integer
  8196. userid:
  8197. description: 用户ID
  8198. type: integer
  8199. vendorname:
  8200. description: 供应商名称
  8201. type: string
  8202. required:
  8203. - goodscode
  8204. - goodsname
  8205. - takeorderid
  8206. - trademode
  8207. type: object
  8208. models.HsbyPreGoods:
  8209. properties:
  8210. agreeunit:
  8211. description: 合约单位
  8212. type: number
  8213. currency:
  8214. description: 货币
  8215. type: string
  8216. currencysign:
  8217. description: 货币符号
  8218. type: string
  8219. decimalplace:
  8220. description: 报价小数位
  8221. type: integer
  8222. desccityid:
  8223. description: 目的地(市)
  8224. type: integer
  8225. descprovinceid:
  8226. description: 目的地(省)
  8227. type: integer
  8228. enableqty:
  8229. description: 剩余数量
  8230. type: integer
  8231. goodscode:
  8232. description: 商品代码(内部)
  8233. type: string
  8234. goodsid:
  8235. description: 商品ID(自增ID SEQ_GOODS)
  8236. type: integer
  8237. goodsname:
  8238. description: 商品名称
  8239. type: string
  8240. goodsstatus:
  8241. description: 商品状态- 2:未上市 3:上市
  8242. type: integer
  8243. lasttradedate:
  8244. description: 最后交易日期(状态:待退市)
  8245. type: string
  8246. listingdate:
  8247. description: 交易开始日期
  8248. type: string
  8249. marketid:
  8250. description: 所属市场ID
  8251. type: integer
  8252. picurls:
  8253. description: 介绍图片[多张用逗号分隔]
  8254. type: string
  8255. presaledqty:
  8256. description: 已预售量(预售结束时更新)
  8257. type: integer
  8258. presaleqty:
  8259. description: 预售数量
  8260. type: integer
  8261. quoteminunit:
  8262. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8263. type: integer
  8264. refprice:
  8265. description: 参考价格[一口价]
  8266. type: number
  8267. relatedgoodsid:
  8268. description: 关联交易合约ID
  8269. type: integer
  8270. trademode:
  8271. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8272. 21:竞拍-大宗式 22:受托竞价
  8273. type: integer
  8274. videourls:
  8275. description: 介绍视频[多张用逗号分隔]
  8276. type: string
  8277. required:
  8278. - goodscode
  8279. - goodsid
  8280. - goodsname
  8281. - marketid
  8282. - trademode
  8283. type: object
  8284. models.HsbyPreGoodsDetail:
  8285. properties:
  8286. agreeunit:
  8287. description: 合约单位
  8288. type: number
  8289. buymaxqty:
  8290. description: 购买上限 [71] - 0为不限
  8291. type: integer
  8292. currency:
  8293. description: 货币
  8294. type: string
  8295. currencysign:
  8296. description: 货币符号
  8297. type: string
  8298. customername:
  8299. description: 发行单位
  8300. type: string
  8301. decimalplace:
  8302. description: 报价小数位
  8303. type: integer
  8304. desccityid:
  8305. description: 目的地(市)ID
  8306. type: integer
  8307. descprovinceid:
  8308. description: 目的地(省)ID
  8309. type: integer
  8310. enableqty:
  8311. description: 剩余数量
  8312. type: integer
  8313. goodscode:
  8314. description: 商品代码(内部)
  8315. type: string
  8316. goodsdesc:
  8317. description: 商品详情
  8318. type: string
  8319. goodsid:
  8320. description: 商品ID(自增ID SEQ_GOODS)
  8321. type: integer
  8322. goodsname:
  8323. description: 商品名称
  8324. type: string
  8325. goodsstatus:
  8326. description: 商品状态- 2:未上市 3:上市
  8327. type: integer
  8328. goodunit:
  8329. description: 报价单位
  8330. type: string
  8331. lasttradedate:
  8332. description: 最后交易日期(状态:待退市)
  8333. type: string
  8334. listingdate:
  8335. description: 交易开始日期
  8336. type: string
  8337. lotsize:
  8338. description: 手数最小变动单位
  8339. type: integer
  8340. marketid:
  8341. description: 所属市场ID
  8342. type: integer
  8343. picurls:
  8344. description: 介绍图片[多张用逗号分隔]
  8345. type: string
  8346. presaledqty:
  8347. description: 已预售量(预售结束时更新)
  8348. type: integer
  8349. presaleqty:
  8350. description: 预售数量
  8351. type: integer
  8352. quoteminunit:
  8353. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8354. type: integer
  8355. refprice:
  8356. description: 参考价格[一口价]
  8357. type: number
  8358. relatedgoodsid:
  8359. description: 关联交易合约ID
  8360. type: integer
  8361. stepvalue:
  8362. description: 价格最小变动单位
  8363. type: number
  8364. trademode:
  8365. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8366. 21:竞拍-大宗式 22:受托竞价
  8367. type: integer
  8368. vendorattr:
  8369. description: 供应商附件(多张,逗号分隔)
  8370. type: string
  8371. vendorname:
  8372. description: 供应商名称
  8373. type: string
  8374. vendorphone:
  8375. description: 供应商客服电话
  8376. type: string
  8377. videourls:
  8378. description: 介绍视频[多张用逗号分隔]
  8379. type: string
  8380. required:
  8381. - goodscode
  8382. - goodsid
  8383. - goodsname
  8384. - marketid
  8385. - trademode
  8386. type: object
  8387. models.HsbySellCollectionOrder:
  8388. properties:
  8389. agreeunit:
  8390. description: 合约单位
  8391. type: number
  8392. buyaccountid:
  8393. description: 买方账号ID[报价币种]
  8394. type: integer
  8395. buyorderid:
  8396. description: 买方委托单号
  8397. type: string
  8398. createtime:
  8399. description: 创建时间
  8400. type: string
  8401. currencysign:
  8402. description: 货币符号
  8403. type: string
  8404. decimalplace:
  8405. description: 报价小数位
  8406. type: integer
  8407. goodscode:
  8408. description: 商品代码(内部)
  8409. type: string
  8410. goodsid:
  8411. description: 商品ID
  8412. type: integer
  8413. goodsname:
  8414. description: 商品名称
  8415. type: string
  8416. marketid:
  8417. description: 市场ID
  8418. type: integer
  8419. offamount:
  8420. description: 优惠金额
  8421. type: number
  8422. payamount:
  8423. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  8424. type: number
  8425. payflag:
  8426. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  8427. type: integer
  8428. paylimitedtime:
  8429. description: 支付期限
  8430. type: string
  8431. paytime:
  8432. description: 付款时间
  8433. type: string
  8434. picurls:
  8435. description: 商品介绍图片[多张用逗号分隔]
  8436. type: string
  8437. sellaccountid:
  8438. description: 卖方账号ID[报价币种]
  8439. type: integer
  8440. sellorderid:
  8441. description: 卖方委托单号
  8442. type: string
  8443. tradeamount:
  8444. description: 成交金额
  8445. type: number
  8446. tradecharge:
  8447. description: 成交手续费(买方)
  8448. type: number
  8449. tradedate:
  8450. description: 交易日(yyyyMMdd)
  8451. type: string
  8452. tradeid:
  8453. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8454. type: string
  8455. trademode:
  8456. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8457. 21:竞拍-大宗式 22:受托竞价
  8458. type: integer
  8459. tradeprice:
  8460. description: 成交价格
  8461. type: number
  8462. tradeqty:
  8463. description: 成交数量
  8464. type: integer
  8465. required:
  8466. - goodscode
  8467. - goodsname
  8468. - tradeid
  8469. - trademode
  8470. type: object
  8471. models.HsbySellMyDetail:
  8472. properties:
  8473. accountid:
  8474. description: 账户ID[报价币种]
  8475. type: integer
  8476. agreeunit:
  8477. description: 合约单位
  8478. type: number
  8479. buyorsell:
  8480. description: 买卖 - 0:买 1:卖
  8481. type: integer
  8482. currencysign:
  8483. description: 货币符号
  8484. type: string
  8485. decimalplace:
  8486. description: 报价小数位
  8487. type: integer
  8488. goodscode:
  8489. description: 商品代码(内部)
  8490. type: string
  8491. goodsid:
  8492. description: 商品ID
  8493. type: integer
  8494. goodsname:
  8495. description: 商品名称
  8496. type: string
  8497. marketid:
  8498. description: 市场ID
  8499. type: integer
  8500. orderid:
  8501. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  8502. type: string
  8503. ordertype:
  8504. description: 单据类型:0 - 发布中, 1 - 已完成
  8505. type: integer
  8506. picurls:
  8507. description: 介绍图片[多张用逗号分隔]
  8508. type: string
  8509. price:
  8510. description: 价格
  8511. type: number
  8512. qty:
  8513. description: 数量
  8514. type: integer
  8515. time:
  8516. description: 时间
  8517. type: string
  8518. trademode:
  8519. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8520. 21:竞拍-大宗式 22:受托竞价
  8521. type: integer
  8522. vendorname:
  8523. description: 供应商名称
  8524. type: string
  8525. required:
  8526. - accountid
  8527. - buyorsell
  8528. - goodscode
  8529. - goodsid
  8530. - goodsname
  8531. - marketid
  8532. - orderid
  8533. - time
  8534. - trademode
  8535. type: object
  8536. models.HsbyTopGoods:
  8537. properties:
  8538. agreeunit:
  8539. description: 合约单位
  8540. type: number
  8541. currency:
  8542. description: 货币
  8543. type: string
  8544. currencysign:
  8545. description: 货币符号
  8546. type: string
  8547. decimalplace:
  8548. description: 报价小数位
  8549. type: integer
  8550. desccityid:
  8551. description: 目的地(市)
  8552. type: integer
  8553. descprovinceid:
  8554. description: 目的地(省)
  8555. type: integer
  8556. goodscode:
  8557. description: 商品代码(内部)
  8558. type: string
  8559. goodsid:
  8560. description: 商品ID(自增ID SEQ_GOODS)
  8561. type: integer
  8562. goodsname:
  8563. description: 商品名称
  8564. type: string
  8565. hotindex:
  8566. description: 景点热度
  8567. type: integer
  8568. last:
  8569. description: 现价
  8570. type: number
  8571. marketid:
  8572. description: 所属市场ID
  8573. type: integer
  8574. picurls:
  8575. description: 介绍图片[多张用逗号分隔]
  8576. type: string
  8577. quoteminunit:
  8578. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8579. type: integer
  8580. trademode:
  8581. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8582. 21:竞拍-大宗式 22:受托竞价
  8583. type: integer
  8584. videourls:
  8585. description: 介绍视频[多张用逗号分隔]
  8586. type: string
  8587. required:
  8588. - goodscode
  8589. - goodsid
  8590. - goodsname
  8591. - marketid
  8592. - trademode
  8593. type: object
  8594. models.HybsMyBuyOrderDetail:
  8595. properties:
  8596. accountid:
  8597. description: 账户ID[报价币种]
  8598. type: integer
  8599. agreeunit:
  8600. description: 合约单位
  8601. type: number
  8602. buyorsell:
  8603. description: 买卖 - 0:买 1:卖
  8604. type: integer
  8605. cancelqty:
  8606. description: 撤单数量
  8607. type: integer
  8608. currencysign:
  8609. description: 货币符号
  8610. type: string
  8611. decimalplace:
  8612. description: 报价小数位
  8613. type: integer
  8614. goodscode:
  8615. description: 商品代码(内部)
  8616. type: string
  8617. goodsid:
  8618. description: 商品ID
  8619. type: integer
  8620. goodsname:
  8621. description: 商品名称
  8622. type: string
  8623. listingselecttype:
  8624. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  8625. type: integer
  8626. marketid:
  8627. description: 市场ID
  8628. type: integer
  8629. mybuystatus:
  8630. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  8631. type: integer
  8632. orderamount:
  8633. description: 委托金额
  8634. type: number
  8635. orderid:
  8636. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8637. type: string
  8638. orderprice:
  8639. description: 委托价格
  8640. type: number
  8641. orderqty:
  8642. description: 委托数量
  8643. type: integer
  8644. orderstatus:
  8645. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8646. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8647. 16:成交失败违约(荷兰式竞拍专用)
  8648. type: integer
  8649. ordertime:
  8650. description: 委托时间
  8651. type: string
  8652. picurls1:
  8653. description: 预售商品介绍图片[多张用逗号分隔]
  8654. type: string
  8655. picurls2:
  8656. description: 挂牌商品介绍图片[多张用逗号分隔]
  8657. type: string
  8658. trademode:
  8659. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8660. 21:竞拍-大宗式 22:受托竞价
  8661. type: integer
  8662. tradeqty:
  8663. description: 成交数量
  8664. type: integer
  8665. vendorname1:
  8666. description: 预售商品供应商名称
  8667. type: string
  8668. vendorname2:
  8669. description: 挂牌商品供应商名称
  8670. type: string
  8671. required:
  8672. - accountid
  8673. - buyorsell
  8674. - goodscode
  8675. - goodsid
  8676. - goodsname
  8677. - marketid
  8678. - orderid
  8679. - orderqty
  8680. - ordertime
  8681. - trademode
  8682. type: object
  8683. models.Loginaccount:
  8684. properties:
  8685. canoutin:
  8686. description: 是否可出入金 - 0:不可 1:可
  8687. type: integer
  8688. clientroleid:
  8689. description: 终端角色ID
  8690. type: integer
  8691. haslogined:
  8692. description: 是否已登录 - 0:未登录 1:已登录
  8693. type: integer
  8694. hasupdatedpwd:
  8695. description: 是否已更改密码 - 0:未修改 1:已修改
  8696. type: integer
  8697. lastloginip:
  8698. description: 最新登录地址
  8699. type: string
  8700. lastloginmode:
  8701. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  8702. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  8703. type: integer
  8704. lastloginremark:
  8705. description: 最新登录描述
  8706. type: string
  8707. lastlogintime:
  8708. description: 最新登录时间
  8709. type: string
  8710. logincode:
  8711. description: 登录代码
  8712. type: string
  8713. loginfailnum:
  8714. description: 连续登录失败次数(登录成功时清零)
  8715. type: integer
  8716. loginid:
  8717. description: 登陆账号
  8718. type: integer
  8719. loginport:
  8720. description: 最新登录端口
  8721. type: integer
  8722. loginstatus:
  8723. description: 登录账号状态 1:正常 2:冻结 3:无效
  8724. type: integer
  8725. loginusertype:
  8726. description: 登录账号类型 - 1:投资者 2:机构交易员
  8727. type: integer
  8728. modifierid:
  8729. description: 修改人
  8730. type: integer
  8731. modifytime:
  8732. description: 修改时间
  8733. type: string
  8734. pwdwrongcount:
  8735. description: 密码错误次数
  8736. type: integer
  8737. taaccountrighttype:
  8738. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  8739. type: integer
  8740. unfreezetime:
  8741. description: 账户解冻时间
  8742. type: string
  8743. userid:
  8744. description: 用户ID
  8745. type: integer
  8746. required:
  8747. - loginid
  8748. type: object
  8749. models.MainAccountInfo:
  8750. properties:
  8751. accountid:
  8752. description: 账号id
  8753. type: string
  8754. accountname:
  8755. description: 账号名称(taaccount表中的名称)
  8756. type: string
  8757. appid:
  8758. description: AppID
  8759. type: string
  8760. authcode:
  8761. description: 授权码
  8762. type: string
  8763. brokerid:
  8764. description: 经纪商id
  8765. type: string
  8766. fcid:
  8767. description: 期货公司id
  8768. type: integer
  8769. fcname:
  8770. description: 期货公司代码
  8771. type: string
  8772. hedgeaccountcode:
  8773. description: 外部账号代码(主账号登录代码)
  8774. type: string
  8775. hedgeaccountpwd:
  8776. description: 密码
  8777. type: string
  8778. ismain:
  8779. description: 是否主账号
  8780. type: integer
  8781. relateduserid:
  8782. description: 关联用户id
  8783. type: integer
  8784. type: object
  8785. models.Market:
  8786. properties:
  8787. auctionwrtype:
  8788. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  8789. type: integer
  8790. canacceptquote:
  8791. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  8792. type: integer
  8793. cangoodsexercise:
  8794. description: '[期权]是否可现货行权- 0:否 1:是'
  8795. type: integer
  8796. cangoodsexercisetype:
  8797. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  8798. type: integer
  8799. canmanualquotestrike:
  8800. description: 是否可手动报行权价- 0:否 1:是 [期权]
  8801. type: integer
  8802. canmutistage:
  8803. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  8804. type: integer
  8805. canpreexercise:
  8806. description: '[期权]是否可预申报- 0:否 1:是'
  8807. type: integer
  8808. clearinterval:
  8809. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  8810. type: integer
  8811. contracttmp:
  8812. description: 合同模板[荷兰式][竞价式][仓单贸易]
  8813. type: string
  8814. exchareaid:
  8815. description: 所属交易所,可以没有
  8816. type: integer
  8817. goodstype:
  8818. description: 商品类型 - 1:交易商品 2:仓单商品
  8819. type: integer
  8820. hasrebate:
  8821. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  8822. type: integer
  8823. hastradecredit:
  8824. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  8825. type: integer
  8826. haswr:
  8827. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  8828. type: integer
  8829. isdeductmargin:
  8830. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  8831. type: integer
  8832. isrecordsource:
  8833. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  8834. type: integer
  8835. isreleasemargin:
  8836. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  8837. type: integer
  8838. marginformula:
  8839. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  8840. type: integer
  8841. marginformula2:
  8842. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  8843. type: integer
  8844. marketid:
  8845. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  8846. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  8847. type: integer
  8848. marketname:
  8849. description: 市场名称
  8850. type: string
  8851. marketserviceid:
  8852. description: 市场服务ID
  8853. type: integer
  8854. marketstatus:
  8855. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  8856. type: integer
  8857. markettype:
  8858. description: 市场类型- 1:非交易服务 2:交易服务
  8859. type: integer
  8860. matchermode:
  8861. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  8862. type: integer
  8863. openmethod:
  8864. description: 开盘模式 - 0 自动 1手动
  8865. type: integer
  8866. otcuserid:
  8867. description: 场外期权做市商[场外期权]
  8868. type: integer
  8869. outersynctime:
  8870. description: 外部同步时间点(h24:mi:ss)[场外期权]
  8871. type: string
  8872. pendingflag:
  8873. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  8874. type: integer
  8875. pendingtime:
  8876. description: 待开市时间[通道交易-对冲](HH:mm)
  8877. type: string
  8878. performancetempid:
  8879. description: 履约计划模板ID - 作废
  8880. type: integer
  8881. premiumquotemode:
  8882. description: 权利金报价方式 - 1:自动 2:手动
  8883. type: integer
  8884. rebateratio:
  8885. description: 返利比率[竞价式]
  8886. type: number
  8887. reckonorder:
  8888. description: 结算顺序
  8889. type: integer
  8890. reckonpricealgorithm:
  8891. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  8892. 6.卖一价 7.买一卖一均价 8.外部结算价'
  8893. type: integer
  8894. reckonpriceparam:
  8895. description: 结算价参数
  8896. type: integer
  8897. reckontime:
  8898. description: 结算时间[通道交易-对冲](HH:mm)
  8899. type: string
  8900. roleprioritytype:
  8901. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  8902. type: integer
  8903. selllistingauditflag:
  8904. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  8905. type: integer
  8906. trademarkettype:
  8907. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  8908. type: integer
  8909. trademode:
  8910. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8911. 21:竞拍-大宗式 22:受托竞价
  8912. type: integer
  8913. tradeproperty:
  8914. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  8915. 8:场外期权
  8916. type: integer
  8917. tradetype:
  8918. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  8919. type: integer
  8920. required:
  8921. - marketid
  8922. - marketstatus
  8923. - openmethod
  8924. - reckonpricealgorithm
  8925. - trademode
  8926. - tradeproperty
  8927. type: object
  8928. models.Marketrun:
  8929. properties:
  8930. afternexttradedate:
  8931. description: 下下交易日
  8932. type: string
  8933. clearquoteflag:
  8934. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  8935. type: integer
  8936. lastreckondate:
  8937. description: 最新交易日(结算成功)
  8938. type: string
  8939. machinedate:
  8940. description: 机器时间
  8941. type: string
  8942. manualflag:
  8943. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  8944. type: integer
  8945. marketid:
  8946. description: 市场ID
  8947. type: integer
  8948. nexttradedate:
  8949. description: 下一交易日
  8950. type: string
  8951. pretradedate:
  8952. description: 上一交易日
  8953. type: string
  8954. reckonflag:
  8955. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  8956. type: integer
  8957. runstatus:
  8958. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  8959. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  8960. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  8961. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  8962. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  8963. 62.今日免清算
  8964. type: integer
  8965. sectionid:
  8966. description: 时间段号[多时段时用]
  8967. type: integer
  8968. tradedate:
  8969. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  8970. type: string
  8971. tradedate2:
  8972. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  8973. type: string
  8974. updatetime:
  8975. description: 更新时间
  8976. type: string
  8977. required:
  8978. - marketid
  8979. - nexttradedate
  8980. - reckonflag
  8981. - runstatus
  8982. - tradedate
  8983. - tradedate2
  8984. type: object
  8985. models.Messageboard:
  8986. properties:
  8987. contactnum:
  8988. description: 联系电话
  8989. type: string
  8990. createtime:
  8991. description: 创建时间
  8992. type: string
  8993. message:
  8994. description: 留言信息
  8995. type: string
  8996. messageboardid:
  8997. description: 留言簿ID(SEQ_MessageBoard)
  8998. type: integer
  8999. userid:
  9000. description: 用户ID
  9001. type: integer
  9002. required:
  9003. - messageboardid
  9004. type: object
  9005. models.MyCoupon:
  9006. properties:
  9007. accountid:
  9008. description: 资金账户ID
  9009. type: integer
  9010. areauserid:
  9011. description: 所属机构
  9012. type: integer
  9013. conditionvalue:
  9014. description: 条件阈值(可为0)
  9015. type: number
  9016. couponcategroy:
  9017. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  9018. type: integer
  9019. couponname:
  9020. description: 优惠券名称
  9021. type: string
  9022. coupontypeid:
  9023. description: 优惠券类型ID
  9024. type: string
  9025. couponvalue:
  9026. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  9027. type: number
  9028. curfreezeqty:
  9029. description: 期末冻结数量
  9030. type: integer
  9031. curqty:
  9032. description: 期末数量
  9033. type: integer
  9034. isgeneral:
  9035. description: 是否通用券 - 0:否 1:是
  9036. type: integer
  9037. isunusable:
  9038. description: 是否不可用
  9039. type: boolean
  9040. limitedflag:
  9041. description: 是否指定商品 - 0:不限 1:限制
  9042. type: integer
  9043. limitedgoodsids:
  9044. description: 指定商品IDs[逗号分隔,前后加逗号]
  9045. type: string
  9046. orifreezeqty:
  9047. description: 期初冻结数量
  9048. type: integer
  9049. oriqty:
  9050. description: 期初数量
  9051. type: integer
  9052. reasontype:
  9053. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  9054. type: integer
  9055. todaydecrease:
  9056. description: 今日减少
  9057. type: integer
  9058. todayincrease:
  9059. description: 今日增加
  9060. type: integer
  9061. userid:
  9062. description: 用户ID
  9063. type: integer
  9064. userscope:
  9065. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  9066. type: string
  9067. required:
  9068. - accountid
  9069. - coupontypeid
  9070. type: object
  9071. models.MyCouponHold:
  9072. properties:
  9073. accountid:
  9074. description: 资金账户ID
  9075. type: integer
  9076. conditionvalue:
  9077. description: 条件阈值(可为0)
  9078. type: number
  9079. couponcategroy:
  9080. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  9081. type: integer
  9082. couponholdid:
  9083. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  9084. type: string
  9085. couponname:
  9086. description: 优惠券名称
  9087. type: string
  9088. coupontypeid:
  9089. description: 优惠券类型ID - SEQ_COUPONTYPE
  9090. type: string
  9091. couponvalue:
  9092. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  9093. type: number
  9094. createtime:
  9095. description: 创建时间
  9096. type: string
  9097. enddate:
  9098. description: 结束日期
  9099. type: string
  9100. giveapplyid:
  9101. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  9102. type: integer
  9103. holdstatus:
  9104. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  9105. type: integer
  9106. isgeneral:
  9107. description: 是否通用券 - 0:否 1:是
  9108. type: integer
  9109. limitedflag:
  9110. description: 是否指定商品 - 0:不限 1:限制
  9111. type: integer
  9112. limitedgoodsids:
  9113. description: 指定商品IDs[逗号分隔]
  9114. type: string
  9115. qty:
  9116. description: 数量(按1平铺)
  9117. type: integer
  9118. startdate:
  9119. description: 开始日期
  9120. type: string
  9121. userid:
  9122. description: 用户ID
  9123. type: integer
  9124. userscope:
  9125. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  9126. type: string
  9127. required:
  9128. - couponholdid
  9129. type: object
  9130. models.MyUsedCoupon:
  9131. properties:
  9132. accountid:
  9133. description: 资金账户ID(买方)
  9134. type: integer
  9135. conditionvalue:
  9136. description: 条件阈值(可为0)
  9137. type: number
  9138. couponcategroy:
  9139. description: 种类 - 1:现金券 2:折扣券
  9140. type: integer
  9141. couponname:
  9142. description: 优惠券名称
  9143. type: string
  9144. coupontypeid:
  9145. description: 优惠券类型ID(买方)
  9146. type: string
  9147. couponvalue:
  9148. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  9149. type: number
  9150. createtime:
  9151. description: 创建时间
  9152. type: string
  9153. goodsid:
  9154. description: 商品ID
  9155. type: integer
  9156. handlestatus:
  9157. description: 处理状态
  9158. type: integer
  9159. marketid:
  9160. description: 市场ID
  9161. type: integer
  9162. offamount:
  9163. description: 优惠金额
  9164. type: number
  9165. orderid:
  9166. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9167. type: string
  9168. sellaccountid:
  9169. description: 资金账户ID(卖方)
  9170. type: integer
  9171. tradeamount:
  9172. description: 成交金额
  9173. type: number
  9174. tradeid:
  9175. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9176. type: string
  9177. usedqty:
  9178. description: 使用数量
  9179. type: integer
  9180. required:
  9181. - coupontypeid
  9182. - orderid
  9183. type: object
  9184. models.OperationPrimaryMenu:
  9185. properties:
  9186. Children:
  9187. description: 二级功能菜单
  9188. items:
  9189. $ref: '#/definitions/models.OperationSecondaryMenu'
  9190. type: array
  9191. Key:
  9192. description: 菜单KEY
  9193. type: string
  9194. Label:
  9195. description: 菜单标题
  9196. type: string
  9197. type: object
  9198. models.OperationSecondaryMenu:
  9199. properties:
  9200. Key:
  9201. description: 菜单KEY
  9202. type: string
  9203. Label:
  9204. description: 菜单标题
  9205. type: string
  9206. TabList:
  9207. description: 三级功能菜单
  9208. items:
  9209. $ref: '#/definitions/models.OperationTabMenu'
  9210. type: array
  9211. type: object
  9212. models.OperationTabMenu:
  9213. properties:
  9214. Key:
  9215. description: 菜单KEY
  9216. type: string
  9217. Label:
  9218. description: 菜单标题
  9219. type: string
  9220. type: object
  9221. models.PendingAuditBizModel:
  9222. properties:
  9223. accountid:
  9224. description: 现货账户
  9225. type: string
  9226. areaname:
  9227. description: 所属部门
  9228. type: string
  9229. bizid:
  9230. description: 业务ID
  9231. type: string
  9232. bizname:
  9233. description: 业务名称
  9234. type: string
  9235. status:
  9236. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  9237. type: integer
  9238. type:
  9239. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  9240. type: integer
  9241. type: object
  9242. models.QueryErrorInfosRsp:
  9243. properties:
  9244. description:
  9245. description: 异常描述
  9246. type: string
  9247. errorcode:
  9248. description: 异常代码
  9249. type: string
  9250. errorid:
  9251. description: 异常ID
  9252. type: integer
  9253. modulecode:
  9254. description: 所属模块
  9255. type: string
  9256. operatecode:
  9257. description: 所属操作
  9258. type: string
  9259. rownumber:
  9260. description: 行号
  9261. type: string
  9262. required:
  9263. - errorid
  9264. type: object
  9265. models.QueryHedgeOrderDetailRsp:
  9266. properties:
  9267. accountid:
  9268. description: 账户ID
  9269. type: integer
  9270. buyorsell:
  9271. description: 买卖 - 0:买 1:卖
  9272. type: integer
  9273. cancellogincode:
  9274. description: 撤单人
  9275. type: string
  9276. channelbuildtype:
  9277. description: 开平标志 - 0:无 1:建仓 2:平仓
  9278. type: integer
  9279. channelinnerorderstatus:
  9280. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  9281. 9:全部成交
  9282. type: integer
  9283. channeloperatetype:
  9284. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  9285. type: integer
  9286. closetype:
  9287. description: 平仓方式 - 0:无 1:平今 2:平昨
  9288. type: integer
  9289. curexchangerate:
  9290. description: 当前汇率
  9291. type: number
  9292. exchangefullname:
  9293. description: 外部交易所全称
  9294. type: string
  9295. goodscode:
  9296. description: 商品代码(内部)
  9297. type: string
  9298. goodsid:
  9299. description: 商品ID
  9300. type: integer
  9301. goodsname:
  9302. description: 商品名称
  9303. type: string
  9304. marketid:
  9305. description: 市场ID
  9306. type: integer
  9307. openfreezemargin:
  9308. description: 冻结保证金(冻结交易金额)
  9309. type: number
  9310. orderid:
  9311. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9312. type: string
  9313. orderlogincode:
  9314. description: 委托人
  9315. type: string
  9316. orderprice:
  9317. description: 委托价格(账户)
  9318. type: number
  9319. orderqty:
  9320. description: 委托数量
  9321. type: integer
  9322. ordertime:
  9323. description: 委托时间
  9324. type: string
  9325. pricemode:
  9326. description: '取价方式 - 1:市价 2: 限价'
  9327. type: integer
  9328. tradedate:
  9329. description: 交易日(yyyyMMdd)
  9330. type: string
  9331. tradeqty:
  9332. description: 成交数量
  9333. type: integer
  9334. type: object
  9335. models.QueryHedgeTradeDetailRsp:
  9336. properties:
  9337. accountid:
  9338. description: 账号ID
  9339. type: integer
  9340. buyorsell:
  9341. description: 方向 - 0:买 1:卖
  9342. type: integer
  9343. channelbuildtype:
  9344. description: 委托单据类型 0:无 1:建仓 2:平仓
  9345. type: integer
  9346. closecharge:
  9347. description: 平仓手续费(账户)
  9348. type: number
  9349. closecharge2:
  9350. description: 平仓手续费(商品)
  9351. type: number
  9352. closepl:
  9353. description: 平仓盈亏(账户)
  9354. type: number
  9355. closepl2:
  9356. description: 平仓盈亏(商品)
  9357. type: number
  9358. closepl3:
  9359. description: 平仓盈亏(账户)(逐笔)
  9360. type: number
  9361. closepl4:
  9362. description: 平仓盈亏(商品)(逐笔)
  9363. type: number
  9364. closetype:
  9365. description: 平仓方式 - 0:无 1:平今 2:平昨
  9366. type: integer
  9367. curexchangerate:
  9368. description: 当前汇率
  9369. type: number
  9370. exchangefullname:
  9371. description: 外部交易所全称
  9372. type: string
  9373. goodscode:
  9374. description: 商品代码(内部)
  9375. type: string
  9376. goodsid:
  9377. description: 商品ID
  9378. type: integer
  9379. goodsname:
  9380. description: 商品名称
  9381. type: string
  9382. marketid:
  9383. description: 市场ID
  9384. type: integer
  9385. opencharge:
  9386. description: 建仓手续费(账户)
  9387. type: number
  9388. opencharge2:
  9389. description: 建仓手续费(商品)
  9390. type: number
  9391. orderid:
  9392. description: 委托单号
  9393. type: string
  9394. orderlogincode:
  9395. description: 委托人
  9396. type: string
  9397. tradeamount:
  9398. description: 成交金额(账户)
  9399. type: number
  9400. tradedate:
  9401. description: 交易日(yyyyMMdd)
  9402. type: string
  9403. tradeid:
  9404. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9405. type: string
  9406. tradeprice:
  9407. description: 成交价格
  9408. type: number
  9409. tradeqty:
  9410. description: 成交数量
  9411. type: integer
  9412. tradetime:
  9413. description: 成交时间
  9414. type: string
  9415. tradetype:
  9416. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  9417. type: integer
  9418. type: object
  9419. models.QuotePrimaryMenu:
  9420. properties:
  9421. Index:
  9422. description: 序号
  9423. type: integer
  9424. Key:
  9425. description: 键名
  9426. type: string
  9427. Name:
  9428. description: 菜单名称
  9429. type: string
  9430. SubMenus:
  9431. description: 子菜单
  9432. items:
  9433. $ref: '#/definitions/models.QuoteSecondaryMenu'
  9434. type: array
  9435. SubTitleType:
  9436. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  9437. type: integer
  9438. TradeModes:
  9439. description: 包含市场交易类型
  9440. type: string
  9441. type: object
  9442. models.QuoteSecondaryMenu:
  9443. properties:
  9444. ExExchangeCode:
  9445. description: 外部交易所代码
  9446. type: string
  9447. ExExchangeID:
  9448. description: 外部交易所ID
  9449. type: integer
  9450. GoodsGroupIDs:
  9451. description: 商品组ID列表
  9452. items:
  9453. type: integer
  9454. type: array
  9455. Index:
  9456. description: 序号
  9457. type: integer
  9458. MarketID:
  9459. description: 市场ID
  9460. type: integer
  9461. MenuTitle:
  9462. description: 菜单标题(市场名称或外部交易所名称)
  9463. type: string
  9464. TradeMode:
  9465. description: 交易模式
  9466. type: integer
  9467. type: object
  9468. models.RelatedGoodsEx:
  9469. properties:
  9470. goodscode:
  9471. description: 商品代码
  9472. type: string
  9473. goodsid:
  9474. description: 商品id
  9475. type: integer
  9476. goodsname:
  9477. description: 商品名称
  9478. type: string
  9479. type: object
  9480. models.SearchGoods:
  9481. properties:
  9482. goodscode:
  9483. description: 商品代码(内部)
  9484. type: string
  9485. goodsid:
  9486. description: 商品ID(自增ID SEQ_GOODS)
  9487. type: integer
  9488. goodsname:
  9489. description: 商品名称
  9490. type: string
  9491. marketid:
  9492. description: 所属市场ID
  9493. type: integer
  9494. marketname:
  9495. description: 市场名称
  9496. type: string
  9497. trademode:
  9498. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9499. 21:竞拍-大宗式 22:受托竞价
  9500. type: integer
  9501. required:
  9502. - goodscode
  9503. - goodsid
  9504. - goodsname
  9505. - marketid
  9506. - trademode
  9507. type: object
  9508. models.Systemparam:
  9509. properties:
  9510. loginid:
  9511. description: 更新用户账号,登录账号
  9512. type: string
  9513. modifyflag:
  9514. description: 修改标志0 不允许修改 1 允许修改
  9515. type: integer
  9516. paramcode:
  9517. description: 参数代码
  9518. type: string
  9519. paramname:
  9520. description: 参数名
  9521. type: string
  9522. paramtype:
  9523. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  9524. type: integer
  9525. paramvalue:
  9526. description: 参数值
  9527. type: string
  9528. paramvalue2:
  9529. description: 参数值(CLOB)
  9530. type: string
  9531. regexpress:
  9532. description: 正则表达式
  9533. type: string
  9534. remark:
  9535. description: 备注
  9536. type: string
  9537. serverip:
  9538. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  9539. type: string
  9540. showflag:
  9541. description: 是否显示0 不显示 1 显示
  9542. type: integer
  9543. updatetime:
  9544. description: 更新时间
  9545. type: string
  9546. userid:
  9547. description: 更新用户ID
  9548. type: integer
  9549. required:
  9550. - paramcode
  9551. type: object
  9552. models.Szdz3convertconfig:
  9553. properties:
  9554. canin:
  9555. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  9556. type: integer
  9557. canout:
  9558. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  9559. type: integer
  9560. converttype:
  9561. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  9562. 6:交易转花生米(不设置)
  9563. type: integer
  9564. createtime:
  9565. description: 创建时间
  9566. type: string
  9567. creatorid:
  9568. description: 创建人
  9569. type: integer
  9570. daymaxvalue:
  9571. description: 当日最大转入限制
  9572. type: number
  9573. freezedays:
  9574. description: 冻结天数 [5:花生米转交易]
  9575. type: integer
  9576. innergoodsid:
  9577. description: 内部商品ID[交易]
  9578. type: integer
  9579. inratio:
  9580. description: 目标值
  9581. type: integer
  9582. modifierid:
  9583. description: 修改人
  9584. type: integer
  9585. modifytime:
  9586. description: 修改时间
  9587. type: string
  9588. outergoodscode:
  9589. description: 外部商品代码[JD\PD]
  9590. type: string
  9591. outratio:
  9592. description: 源值
  9593. type: integer
  9594. pddecimalplace:
  9595. description: PD小数位
  9596. type: integer
  9597. timemaxvalue:
  9598. description: 单次最大转入限制
  9599. type: number
  9600. timeminvalue:
  9601. description: 单次最小转入限制
  9602. type: number
  9603. required:
  9604. - converttype
  9605. - innergoodsid
  9606. - outergoodscode
  9607. type: object
  9608. models.Szdz3searchwhitelist:
  9609. properties:
  9610. createtime:
  9611. description: 创建时间
  9612. type: string
  9613. creatorid:
  9614. description: 创建人
  9615. type: integer
  9616. modifierid:
  9617. description: 修改人
  9618. type: integer
  9619. modifytime:
  9620. description: 修改时间
  9621. type: string
  9622. userid:
  9623. description: 用户ID
  9624. type: integer
  9625. required:
  9626. - userid
  9627. type: object
  9628. models.Taaccount:
  9629. properties:
  9630. accountflag:
  9631. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  9632. type: integer
  9633. accountid:
  9634. description: 资金账户ID
  9635. type: integer
  9636. accountname:
  9637. description: 账户名称
  9638. type: string
  9639. balance:
  9640. description: 期初余额
  9641. type: number
  9642. capitalbalance:
  9643. description: 本金余额[外部子账户实际出入金余额]
  9644. type: number
  9645. changeflag:
  9646. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  9647. type: integer
  9648. changetime:
  9649. description: 账户状态变更时间
  9650. type: string
  9651. closepl:
  9652. description: 今日平仓盈亏
  9653. type: number
  9654. creditdecrease:
  9655. description: 今日授信减少
  9656. type: number
  9657. creditincrease:
  9658. description: 今日授信增加
  9659. type: number
  9660. currencyid:
  9661. description: 货币ID
  9662. type: integer
  9663. currentbalance:
  9664. description: 期末余额
  9665. type: number
  9666. freezecharge:
  9667. description: 手续费冻结
  9668. type: number
  9669. freezemargin:
  9670. description: 冻结保证金
  9671. type: number
  9672. fromaccountid:
  9673. description: 所属上级账户
  9674. type: integer
  9675. inamount:
  9676. description: 今日入金金额(包括三方入金)
  9677. type: number
  9678. ismain:
  9679. description: 是否母账号 0:不是母账户 1:是母账户
  9680. type: integer
  9681. ismarketaccount:
  9682. description: 是否机构接单账号 0:不是 1:是
  9683. type: integer
  9684. isreckonaccount:
  9685. description: 是否机构分润账号 0:不是 1:是
  9686. type: integer
  9687. mortgagecredit:
  9688. description: 授信金额
  9689. type: number
  9690. orifreezecharge:
  9691. description: 期初手续费冻结
  9692. type: number
  9693. orifreezemargin:
  9694. description: 期初冻结保证金
  9695. type: number
  9696. orimortgagecredit:
  9697. description: 期初授信金额
  9698. type: number
  9699. oriothercredit:
  9700. description: 期初其它授信金额
  9701. type: number
  9702. oriotherfreezemargin:
  9703. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  9704. type: number
  9705. orioutamountfreeze:
  9706. description: 期初出金冻结
  9707. type: number
  9708. oriusedmargin:
  9709. description: 期初占用保证金
  9710. type: number
  9711. othercredit:
  9712. description: 其它授信金额
  9713. type: number
  9714. othercreditdecrease:
  9715. description: 今日其它授信减少
  9716. type: number
  9717. othercreditincrease:
  9718. description: 今日其它授信增加
  9719. type: number
  9720. otherfreezemargin:
  9721. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  9722. type: number
  9723. otherincome:
  9724. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  9725. type: number
  9726. otherpay:
  9727. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  9728. type: number
  9729. outamount:
  9730. description: 今日出金金额(包括三方出金)
  9731. type: number
  9732. outamountfreeze:
  9733. description: 出金冻结
  9734. type: number
  9735. outthreshold:
  9736. description: 出金阈值
  9737. type: number
  9738. parentaccountid:
  9739. description: 所属根账号
  9740. type: integer
  9741. paycharge:
  9742. description: 今日手续费支出
  9743. type: number
  9744. relatedaccountstatus:
  9745. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  9746. type: integer
  9747. relateduserid:
  9748. description: 关联用户
  9749. type: integer
  9750. serivcegroup:
  9751. description: 服务分组
  9752. type: integer
  9753. signstatus:
  9754. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  9755. type: integer
  9756. sublevelpath:
  9757. description: 账号层级路径(逗号分隔,首尾加逗号)
  9758. type: string
  9759. taaccounttype:
  9760. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  9761. type: integer
  9762. thirdinamount:
  9763. description: 今日三方入金
  9764. type: number
  9765. thirdoutamount:
  9766. description: 今日三方出金
  9767. type: number
  9768. tradestatus:
  9769. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9770. type: integer
  9771. tradestatuschangetime:
  9772. description: 激活时间
  9773. type: string
  9774. transferamount:
  9775. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  9776. type: number
  9777. usedmargin:
  9778. description: 占用保证金
  9779. type: number
  9780. userid:
  9781. description: 用户ID
  9782. type: integer
  9783. required:
  9784. - accountid
  9785. - userid
  9786. type: object
  9787. models.Tablecolumnconfig:
  9788. properties:
  9789. aligntype:
  9790. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  9791. type: integer
  9792. autoid:
  9793. description: AutoID
  9794. type: integer
  9795. columnfield:
  9796. description: 列字段
  9797. type: string
  9798. columntitle:
  9799. description: 列Title
  9800. type: string
  9801. columnwidth:
  9802. description: 列宽
  9803. type: string
  9804. formatterstring:
  9805. description: 格式化字符
  9806. type: string
  9807. formattertype:
  9808. description: 格式化类型
  9809. type: string
  9810. groupname:
  9811. description: 表头分组名称
  9812. type: string
  9813. isshow:
  9814. description: 是否显示 - 0:不显示 1:显示
  9815. type: integer
  9816. needsummary:
  9817. description: 是否需要汇总 - 0:不需要 1:需要
  9818. type: integer
  9819. orderindex:
  9820. description: 顺序
  9821. type: integer
  9822. remark:
  9823. description: 备注
  9824. type: string
  9825. summarytype:
  9826. description: 汇总类型 - 1:加总 2:最后一个
  9827. type: integer
  9828. tablekey:
  9829. description: 列表Key
  9830. type: string
  9831. required:
  9832. - autoid
  9833. type: object
  9834. models.Useraccount:
  9835. properties:
  9836. accountname:
  9837. description: 账户名称(机构名称)
  9838. type: string
  9839. accountstatus:
  9840. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  9841. type: integer
  9842. auditremark:
  9843. description: 审核备注
  9844. type: string
  9845. audittime:
  9846. description: 审核时间
  9847. type: string
  9848. audituserid:
  9849. description: 审核人
  9850. type: integer
  9851. broker:
  9852. description: 所属经纪人ID
  9853. type: integer
  9854. canceltime:
  9855. description: 销户时间
  9856. type: string
  9857. canceluserid:
  9858. description: 销户人
  9859. type: integer
  9860. createtime:
  9861. description: 创建时间
  9862. type: string
  9863. creatorid:
  9864. description: 创建人
  9865. type: integer
  9866. hasauth:
  9867. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  9868. type: integer
  9869. isanonymous:
  9870. description: 是否匿名下单 - 0:否 1:是
  9871. type: integer
  9872. maxinvestornum:
  9873. description: 最大用户数(经纪会员下投资者个数)
  9874. type: integer
  9875. memberuserid:
  9876. description: 所属会员ID
  9877. type: integer
  9878. modifierid:
  9879. description: 修改人
  9880. type: integer
  9881. modifyremark:
  9882. description: 变更备注
  9883. type: string
  9884. modifystatus:
  9885. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  9886. type: integer
  9887. modifytime:
  9888. description: 修改时间
  9889. type: string
  9890. parentuserid:
  9891. description: 所属机构ID
  9892. type: integer
  9893. reckonaccountid:
  9894. description: 默认结算资金账号ID(机构分润使用) 作废
  9895. type: integer
  9896. refercount:
  9897. description: 推荐总人数
  9898. type: integer
  9899. refereeuserid:
  9900. description: 推荐人ID
  9901. type: integer
  9902. refernum:
  9903. description: 推荐码
  9904. type: string
  9905. subarealevelpath:
  9906. description: 子机构层级路径(逗号分隔,首尾加逗号)
  9907. type: string
  9908. userid:
  9909. description: 用户ID
  9910. type: integer
  9911. usertype:
  9912. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  9913. type: integer
  9914. required:
  9915. - userid
  9916. type: object
  9917. models.Userfavoritegoods:
  9918. properties:
  9919. goodsid:
  9920. description: 商品ID
  9921. type: integer
  9922. required:
  9923. - goodsid
  9924. type: object
  9925. models.Userinfo:
  9926. properties:
  9927. address:
  9928. description: 地址
  9929. type: string
  9930. attachment1:
  9931. description: 附件1
  9932. type: string
  9933. attachment2:
  9934. description: 附件2
  9935. type: string
  9936. bankaccount:
  9937. description: 银行帐号 (加密存储)
  9938. type: string
  9939. bankaccountname:
  9940. description: 收款人名称
  9941. type: string
  9942. bankcardfrontphotourl:
  9943. description: 银行卡正面照地址
  9944. type: string
  9945. bankid:
  9946. description: 银行编码
  9947. type: string
  9948. bankname:
  9949. description: 银行名称
  9950. type: string
  9951. biznature:
  9952. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  9953. type: integer
  9954. bizscope:
  9955. description: 企业经营范围(企业)
  9956. type: string
  9957. cardbackphotourl:
  9958. description: 证件背面图片地址
  9959. type: string
  9960. cardfrontphotourl:
  9961. description: 证件正面图片地址
  9962. type: string
  9963. cardnum:
  9964. description: 证件号码(加密存储)
  9965. type: string
  9966. cardtypeid:
  9967. description: 证件类型ID
  9968. type: integer
  9969. cityid:
  9970. description: 市
  9971. type: integer
  9972. company:
  9973. description: 公司(个人)
  9974. type: string
  9975. contactname:
  9976. description: 联系人
  9977. type: string
  9978. countryid:
  9979. description: 国家
  9980. type: integer
  9981. createtime:
  9982. description: 创建时间
  9983. type: string
  9984. creatorid:
  9985. description: 创建人
  9986. type: integer
  9987. customername:
  9988. description: 客户名称(企业名称)
  9989. type: string
  9990. districtid:
  9991. description: 地区
  9992. type: integer
  9993. email:
  9994. description: 邮件(加密存储)
  9995. type: string
  9996. fax:
  9997. description: 传真(加密存储)
  9998. type: string
  9999. halfbodyphotourl:
  10000. description: 半身照地址
  10001. type: string
  10002. hasencrypt:
  10003. description: 数据是否已加密 - 0:未加密 1:已加密
  10004. type: integer
  10005. headurl:
  10006. description: 头像地址
  10007. type: string
  10008. legalcardbackphotourl:
  10009. description: 法人身份证背面照地址
  10010. type: string
  10011. legalcardfrontphotourl:
  10012. description: 法人身份证正面照地址
  10013. type: string
  10014. legalpersonname:
  10015. description: 法人姓名(企业)
  10016. type: string
  10017. mobile:
  10018. description: 手机号码(加密存储)
  10019. type: string
  10020. mobile2:
  10021. description: 手机号码[明文-尚志]
  10022. type: string
  10023. modifierid:
  10024. description: 修改人
  10025. type: integer
  10026. modifiertime:
  10027. description: 修改时间
  10028. type: string
  10029. needinvoice:
  10030. description: 是否需要发票 - 0:不需要 1:需要
  10031. type: integer
  10032. nickname:
  10033. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  10034. type: string
  10035. openmode:
  10036. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  10037. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  10038. type: integer
  10039. otherurl:
  10040. description: 其它图片地址[使用分号分隔]
  10041. type: string
  10042. postalcode:
  10043. description: 邮政编码
  10044. type: string
  10045. provinceid:
  10046. description: 省
  10047. type: integer
  10048. qq:
  10049. description: QQ(加密存储
  10050. type: string
  10051. remark:
  10052. description: 备注
  10053. type: string
  10054. sex:
  10055. description: '用户性别 0: 女 1: 男'
  10056. type: integer
  10057. signpdfurl:
  10058. description: 签约pdf文件
  10059. type: string
  10060. telphone:
  10061. description: 联系电话(加密存储)
  10062. type: string
  10063. userid:
  10064. description: 用户ID
  10065. type: integer
  10066. userinfotype:
  10067. description: 用户信息类型 - 1:个人 2:企业
  10068. type: integer
  10069. userstatus:
  10070. description: 用户状态 - 1:正常 2:注销
  10071. type: integer
  10072. usertype:
  10073. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  10074. type: integer
  10075. wechat:
  10076. description: 微信(加密存储)
  10077. type: string
  10078. wskhinfo:
  10079. description: 开户申请信息(JSON)
  10080. type: string
  10081. required:
  10082. - userid
  10083. type: object
  10084. models.WRSConverTDetail:
  10085. properties:
  10086. convertratio:
  10087. description: 套保系数
  10088. type: number
  10089. deliverygoodscode:
  10090. description: 现货商品代码
  10091. type: string
  10092. deliverygoodsid:
  10093. description: 现货品种ID
  10094. type: integer
  10095. deliverygoodsname:
  10096. description: 现货商品名称
  10097. type: string
  10098. enumdicname:
  10099. description: 单位名称
  10100. type: string
  10101. goodsunitid:
  10102. description: 套保品种单位id
  10103. type: integer
  10104. middlegoodscode:
  10105. description: 套保品种代码
  10106. type: string
  10107. middlegoodsid:
  10108. description: 套保品种ID
  10109. type: integer
  10110. middlegoodsname:
  10111. description: 套保品种名称
  10112. type: string
  10113. modifytime:
  10114. description: 修改时间
  10115. type: string
  10116. wrstandardid:
  10117. description: 品类ID
  10118. type: integer
  10119. type: object
  10120. models.WRStandardInfo:
  10121. properties:
  10122. areauserid:
  10123. description: 所属机构
  10124. type: integer
  10125. convertfactor:
  10126. description: 标仓系数
  10127. type: number
  10128. createtime:
  10129. description: 创建时间
  10130. type: string
  10131. creatorid:
  10132. description: 创建人
  10133. type: integer
  10134. deliverygoodsid:
  10135. description: 品种ID
  10136. type: integer
  10137. deliverygoodsname:
  10138. description: 交割商品名称
  10139. type: string
  10140. factoryitemjson:
  10141. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  10142. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  10143. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  10144. 逗号分隔'
  10145. type: string
  10146. isvalid:
  10147. description: 是否有效 - 0:无效 1:有效
  10148. type: integer
  10149. minivalue:
  10150. description: 最小变动值
  10151. type: integer
  10152. minivaluedp:
  10153. description: 最小变动值小数位
  10154. type: integer
  10155. realminivalue:
  10156. description: 实际最小变动值
  10157. type: integer
  10158. realminivaluedp:
  10159. description: 实际最小变动值小数位
  10160. type: integer
  10161. remark:
  10162. description: 备注
  10163. type: string
  10164. unitid:
  10165. description: 单位ID
  10166. type: integer
  10167. unitname:
  10168. description: 单位
  10169. type: string
  10170. updatetime:
  10171. description: 更新时间
  10172. type: string
  10173. updatorid:
  10174. description: 更新人
  10175. type: integer
  10176. wrsstatus:
  10177. description: 状态 - 作废 - 0:未激活 1:正常
  10178. type: integer
  10179. wrstandardcode:
  10180. description: 现货品类代码
  10181. type: string
  10182. wrstandardid:
  10183. description: 现货品类ID(SEQ_WRSTANDARD)
  10184. type: integer
  10185. wrstandardname:
  10186. description: 现货品类名称
  10187. type: string
  10188. required:
  10189. - wrstandardid
  10190. type: object
  10191. models.Warehouseinfo:
  10192. properties:
  10193. address:
  10194. description: 详细地址
  10195. type: string
  10196. areauserid:
  10197. description: 所属机构
  10198. type: integer
  10199. autoid:
  10200. description: 自增ID
  10201. type: integer
  10202. cityid:
  10203. description: 市
  10204. type: integer
  10205. contactname:
  10206. description: 联系人
  10207. type: string
  10208. contactnum:
  10209. description: 联系电话
  10210. type: string
  10211. countryid:
  10212. description: 国家
  10213. type: integer
  10214. createtime:
  10215. description: 创建时间
  10216. type: string
  10217. districtid:
  10218. description: 区
  10219. type: integer
  10220. hasvideo:
  10221. description: 是否有视频 - 0:无 1:有
  10222. type: integer
  10223. provinceid:
  10224. description: 省
  10225. type: integer
  10226. remark:
  10227. description: 审核备注
  10228. type: string
  10229. videourl:
  10230. description: 视频地址
  10231. type: string
  10232. warehousecode:
  10233. description: 仓库代码
  10234. type: string
  10235. warehousename:
  10236. description: 仓库名称
  10237. type: string
  10238. warehousestatus:
  10239. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  10240. type: integer
  10241. warehousetype:
  10242. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  10243. type: integer
  10244. required:
  10245. - autoid
  10246. - warehousecode
  10247. type: object
  10248. order.QueryHisTradeDetailRsp:
  10249. properties:
  10250. accountid:
  10251. description: 账户ID[报价币种]
  10252. type: integer
  10253. buildtype:
  10254. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  10255. type: integer
  10256. buyorsell:
  10257. description: 方向 - 0:买 1:卖
  10258. type: integer
  10259. charge:
  10260. description: 手续费
  10261. type: number
  10262. closecharge:
  10263. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  10264. type: number
  10265. closeexchagechargevalue:
  10266. description: 平仓交易所手续费设置值
  10267. type: number
  10268. closefeealgorithm:
  10269. description: 平仓手续费收取方式 1:比率 2:固定
  10270. type: integer
  10271. closememberchargevalue:
  10272. description: 平仓会员手续费设置值
  10273. type: number
  10274. closepl:
  10275. description: 平仓盈亏
  10276. type: number
  10277. closepl2:
  10278. description: 平仓盈亏[逐笔]
  10279. type: number
  10280. closeqty:
  10281. description: 平仓数量(先建后平操作 需要记录)
  10282. type: integer
  10283. creditamount:
  10284. description: 授信金额
  10285. type: number
  10286. gcaccountid:
  10287. description: 账户ID[合约币种]
  10288. type: integer
  10289. goodscode:
  10290. description: 商品代码
  10291. type: string
  10292. goodsid:
  10293. description: 商品ID
  10294. type: integer
  10295. goodsname:
  10296. description: 商品名称
  10297. type: string
  10298. histradedate:
  10299. description: 历史交易日
  10300. type: string
  10301. intclosepl:
  10302. description: 整型盈亏(用于交易结算试算平衡-收益权)
  10303. type: integer
  10304. isconfirmexercise:
  10305. description: 是否确认行权- 0:否 1:是
  10306. type: integer
  10307. ismain:
  10308. description: 是否主单 - 0:不是 1:是
  10309. type: integer
  10310. ispreexercise:
  10311. description: 是否预申报- 0:否 1:是
  10312. type: integer
  10313. isreckoned:
  10314. description: 是否结算 - 0:未结算 1:已结算
  10315. type: integer
  10316. isvaliddata:
  10317. description: 是否有效 - 0:无效 1:有效
  10318. type: integer
  10319. listingselecttype:
  10320. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  10321. type: integer
  10322. marketid:
  10323. description: 市场ID
  10324. type: integer
  10325. marketname:
  10326. description: 市场名称
  10327. type: string
  10328. matchaccountid:
  10329. description: 对手账号id
  10330. type: integer
  10331. memberuserid:
  10332. description: 会员id 个人投资者 需要填写
  10333. type: integer
  10334. opencharge:
  10335. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  10336. type: number
  10337. openexchagechargevalue:
  10338. description: 建仓交易所手续费设置值
  10339. type: number
  10340. openfeealgorithm:
  10341. description: 建仓手续费收取方式 1:比率 2:固定
  10342. type: integer
  10343. openmemberchargevalue:
  10344. description: 建仓会员手续费设置值
  10345. type: number
  10346. openqty:
  10347. description: 开仓数量(先建后平操作 需要记录)
  10348. type: integer
  10349. optiontype:
  10350. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  10351. type: integer
  10352. orderid:
  10353. description: 委托单号
  10354. type: string
  10355. performanceplanid:
  10356. description: 履约计划ID[期权]
  10357. type: integer
  10358. performancestatus:
  10359. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  10360. type: integer
  10361. preexerciseprice:
  10362. description: 预申报价格
  10363. type: number
  10364. premium:
  10365. description: 权利金 - [持仓单的权利金]
  10366. type: number
  10367. relatedouttradeid:
  10368. description: 关联外部成交单ID
  10369. type: integer
  10370. status:
  10371. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  10372. type: integer
  10373. tradeamount:
  10374. description: 成交金额[账户币种,用于所有权]
  10375. type: number
  10376. tradedate:
  10377. description: 交易日(yyyyMMdd)
  10378. type: string
  10379. tradeid:
  10380. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10381. type: string
  10382. trademode:
  10383. description: 交易模式
  10384. type: integer
  10385. tradeprice:
  10386. description: 成交价格
  10387. type: number
  10388. tradeproperty:
  10389. description: 交易属性
  10390. type: integer
  10391. tradeqty:
  10392. description: 成交数量
  10393. type: integer
  10394. tradetime:
  10395. description: 成交时间
  10396. type: string
  10397. tradetype:
  10398. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  10399. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  10400. type: integer
  10401. required:
  10402. - accountid
  10403. - buyorsell
  10404. - goodsid
  10405. - histradedate
  10406. - marketid
  10407. - memberuserid
  10408. - orderid
  10409. - tradeamount
  10410. - tradedate
  10411. - tradeid
  10412. - tradeprice
  10413. - tradeqty
  10414. - tradetime
  10415. type: object
  10416. order.QueryHisTradeOrderDetailRsp:
  10417. properties:
  10418. accountid:
  10419. description: 账户ID[报价币种]
  10420. type: integer
  10421. buildtype:
  10422. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  10423. type: integer
  10424. buyorsell:
  10425. description: 买卖 - 0:买 1:卖
  10426. type: integer
  10427. cancelorderid:
  10428. description: 撤单单号(撤单时填写)
  10429. type: string
  10430. cancelqty:
  10431. description: 撤单数量
  10432. type: integer
  10433. clientordertime:
  10434. description: 客户端委托时间
  10435. type: string
  10436. clientticket:
  10437. description: 客户端流水号
  10438. type: string
  10439. clienttype:
  10440. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  10441. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  10442. type: integer
  10443. closeexchagechargevalue:
  10444. description: 平仓交易所手续费设置值
  10445. type: number
  10446. closefeealgorithm:
  10447. description: 平仓手续费收取方式 1:比率 2:固定
  10448. type: integer
  10449. closefreezecharge:
  10450. description: 平仓冻结手续费(先建后平操作,需要记录)
  10451. type: number
  10452. closememberchargevalue:
  10453. description: 平仓会员手续费设置值
  10454. type: number
  10455. closeqty:
  10456. description: 平仓数量(先建后平操作 需要记录)
  10457. type: integer
  10458. closetradeqty:
  10459. description: 平仓成交数量(先建后平操作,需要记录)
  10460. type: integer
  10461. closeunfreezecharge:
  10462. description: 平仓解冻手续费(先建后平操作,需要记录)
  10463. type: number
  10464. delistingtype:
  10465. description: 摘牌类型 - 1:价格最优 2:点选成交
  10466. type: integer
  10467. freezecharge:
  10468. description: 冻结手续费
  10469. type: number
  10470. freezemargin:
  10471. description: 冻结保证金(冻结交易金额)
  10472. type: number
  10473. gcaccountid:
  10474. description: 账户ID[合约币种]
  10475. type: integer
  10476. goodscode:
  10477. description: 商品代码
  10478. type: string
  10479. goodsid:
  10480. description: 商品ID
  10481. type: integer
  10482. goodsname:
  10483. description: 商品名称
  10484. type: string
  10485. histradedate:
  10486. description: 历史交易日
  10487. type: string
  10488. isconfirmexercise:
  10489. description: 是否确认行权- 0:否 1:是
  10490. type: integer
  10491. ispreexercise:
  10492. description: 是否预申报- 0:否 1:是
  10493. type: integer
  10494. isvaliddata:
  10495. description: 是否有效 - 0:无效 1:有效
  10496. type: integer
  10497. listingselecttype:
  10498. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  10499. type: integer
  10500. marginalgorithm:
  10501. description: 保证金收取方式 1:比率 2:固定
  10502. type: integer
  10503. marginvalue:
  10504. description: 即市保证金设置值
  10505. type: number
  10506. marketid:
  10507. description: 市场ID
  10508. type: integer
  10509. marketmaxsub:
  10510. description: 市价最大偏移范围
  10511. type: number
  10512. marketname:
  10513. description: 市场名称
  10514. type: string
  10515. memberuserid:
  10516. description: 所属会员UserID
  10517. type: integer
  10518. openexchagechargevalue:
  10519. description: 建仓交易所手续费设置值
  10520. type: number
  10521. openfeealgorithm:
  10522. description: 建仓手续费收取方式 1:比率 2:固定
  10523. type: integer
  10524. openfreezecharge:
  10525. description: 开仓冻结手续费(先建后平操作,需要记录)
  10526. type: number
  10527. openmemberchargevalue:
  10528. description: 建仓会员手续费设置值
  10529. type: number
  10530. openqty:
  10531. description: 开仓数量(先建后平操作,需要记录)
  10532. type: integer
  10533. opentradeqty:
  10534. description: 开仓成交数量(先建后平操作,需要记录)
  10535. type: integer
  10536. openunfreezecharge:
  10537. description: 开仓解冻手续费(先建后平操作,需要记录)
  10538. type: number
  10539. operatetype:
  10540. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  10541. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  10542. 15:管理端协议转让
  10543. type: integer
  10544. operatorid:
  10545. description: 登录账号(LoginID)
  10546. type: integer
  10547. optiontype:
  10548. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  10549. type: integer
  10550. orderid:
  10551. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10552. type: string
  10553. orderprice:
  10554. description: 委托价格
  10555. type: number
  10556. orderqty:
  10557. description: 委托数量
  10558. type: integer
  10559. ordersrc:
  10560. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  10561. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  10562. type: integer
  10563. orderstatus:
  10564. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  10565. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  10566. 16:成交失败违约(荷兰式竞拍专用)
  10567. type: integer
  10568. ordertime:
  10569. description: 委托时间
  10570. type: string
  10571. preexerciseprice:
  10572. description: 预申报价格
  10573. type: number
  10574. premium:
  10575. description: 权利金
  10576. type: number
  10577. preorderid:
  10578. description: 关联预埋单号(止盈止损单时填写)
  10579. type: string
  10580. pricemode:
  10581. description: '取价方式 - 1:市价 2: 限价'
  10582. type: integer
  10583. quoteid:
  10584. description: 报价单ID
  10585. type: integer
  10586. relatedid:
  10587. description: 关联单号(交割单)
  10588. type: string
  10589. retcode:
  10590. description: 错误代码
  10591. type: integer
  10592. sessionid:
  10593. description: 会话ID
  10594. type: integer
  10595. tradedate:
  10596. description: 交易日(yyyyMMdd)
  10597. type: string
  10598. trademode:
  10599. description: 交易模式
  10600. type: integer
  10601. tradeproperty:
  10602. description: 交易属性
  10603. type: integer
  10604. tradeqty:
  10605. description: 成交数量
  10606. type: integer
  10607. unfreezecharge:
  10608. description: 解冻手续费
  10609. type: number
  10610. unfreezemargin:
  10611. description: 解冻保证金
  10612. type: number
  10613. updatetime:
  10614. description: 更新时间
  10615. type: string
  10616. uuid:
  10617. description: 发起端唯一id
  10618. type: string
  10619. validtime:
  10620. description: 有效期限
  10621. type: string
  10622. validtype:
  10623. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  10624. type: integer
  10625. volumetype:
  10626. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  10627. type: integer
  10628. required:
  10629. - accountid
  10630. - buildtype
  10631. - buyorsell
  10632. - goodsid
  10633. - histradedate
  10634. - marketid
  10635. - memberuserid
  10636. - operatetype
  10637. - orderid
  10638. - orderqty
  10639. - ordertime
  10640. - pricemode
  10641. - tradedate
  10642. - validtype
  10643. type: object
  10644. order.QueryTradeDetailRsp:
  10645. properties:
  10646. accountid:
  10647. description: 账户ID[报价币种]
  10648. type: integer
  10649. buildtype:
  10650. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  10651. type: integer
  10652. buyorsell:
  10653. description: 方向 - 0:买 1:卖
  10654. type: integer
  10655. charge:
  10656. description: 手续费
  10657. type: number
  10658. closecharge:
  10659. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  10660. type: number
  10661. closeexchagechargevalue:
  10662. description: 平仓交易所手续费设置值
  10663. type: number
  10664. closefeealgorithm:
  10665. description: 平仓手续费收取方式 1:比率 2:固定
  10666. type: integer
  10667. closememberchargevalue:
  10668. description: 平仓会员手续费设置值
  10669. type: number
  10670. closepl:
  10671. description: 平仓盈亏
  10672. type: number
  10673. closepl2:
  10674. description: 平仓盈亏[逐笔]
  10675. type: number
  10676. closeqty:
  10677. description: 平仓数量(先建后平操作 需要记录)
  10678. type: integer
  10679. creditamount:
  10680. description: 授信金额
  10681. type: number
  10682. gcaccountid:
  10683. description: 账户ID[合约币种]
  10684. type: integer
  10685. goodscode:
  10686. description: 商品代码
  10687. type: string
  10688. goodsid:
  10689. description: 商品ID
  10690. type: integer
  10691. goodsname:
  10692. description: 商品名称
  10693. type: string
  10694. intclosepl:
  10695. description: 整型盈亏(用于交易结算试算平衡-收益权)
  10696. type: integer
  10697. isconfirmexercise:
  10698. description: 是否确认行权- 0:否 1:是
  10699. type: integer
  10700. ismain:
  10701. description: 是否主单 - 0:不是 1:是
  10702. type: integer
  10703. ispreexercise:
  10704. description: 是否预申报- 0:否 1:是
  10705. type: integer
  10706. isreckoned:
  10707. description: 是否结算 - 0:未结算 1:已结算
  10708. type: integer
  10709. listingselecttype:
  10710. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  10711. type: integer
  10712. marketid:
  10713. description: 市场ID
  10714. type: integer
  10715. marketname:
  10716. description: 市场名称
  10717. type: string
  10718. matchaccountid:
  10719. description: 对手账号id
  10720. type: integer
  10721. memberuserid:
  10722. description: 会员id 个人投资者 需要填写
  10723. type: integer
  10724. opencharge:
  10725. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  10726. type: number
  10727. openexchagechargevalue:
  10728. description: 建仓交易所手续费设置值
  10729. type: number
  10730. openfeealgorithm:
  10731. description: 建仓手续费收取方式 1:比率 2:固定
  10732. type: integer
  10733. openmemberchargevalue:
  10734. description: 建仓会员手续费设置值
  10735. type: number
  10736. openqty:
  10737. description: 开仓数量(先建后平操作 需要记录)
  10738. type: integer
  10739. optiontype:
  10740. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  10741. type: integer
  10742. orderid:
  10743. description: 委托单号
  10744. type: string
  10745. performanceplanid:
  10746. description: 履约计划ID[期权]
  10747. type: integer
  10748. performancestatus:
  10749. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  10750. type: integer
  10751. preexerciseprice:
  10752. description: 预申报价格
  10753. type: number
  10754. premium:
  10755. description: 权利金 - [持仓单的权利金]
  10756. type: number
  10757. relatedouttradeid:
  10758. description: 关联外部成交单ID
  10759. type: integer
  10760. status:
  10761. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  10762. type: integer
  10763. tradeamount:
  10764. description: 成交金额[账户币种,用于所有权]
  10765. type: number
  10766. tradedate:
  10767. description: 交易日(yyyyMMdd)
  10768. type: string
  10769. tradeid:
  10770. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10771. type: string
  10772. trademode:
  10773. description: 交易模式
  10774. type: integer
  10775. tradeprice:
  10776. description: 成交价格
  10777. type: number
  10778. tradeproperty:
  10779. description: 交易属性
  10780. type: integer
  10781. tradeqty:
  10782. description: 成交数量
  10783. type: integer
  10784. tradetime:
  10785. description: 成交时间
  10786. type: string
  10787. tradetype:
  10788. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  10789. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  10790. type: integer
  10791. required:
  10792. - accountid
  10793. - buyorsell
  10794. - goodsid
  10795. - marketid
  10796. - memberuserid
  10797. - orderid
  10798. - tradeamount
  10799. - tradedate
  10800. - tradeid
  10801. - tradeprice
  10802. - tradeqty
  10803. - tradetime
  10804. type: object
  10805. order.QueryTradeOrderDetailRsp:
  10806. properties:
  10807. accountid:
  10808. description: 账户ID[报价币种]
  10809. type: integer
  10810. buildtype:
  10811. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  10812. type: integer
  10813. buyorsell:
  10814. description: 买卖 - 0:买 1:卖
  10815. type: integer
  10816. cancelorderid:
  10817. description: 撤单单号(撤单时填写)
  10818. type: string
  10819. cancelqty:
  10820. description: 撤单数量
  10821. type: integer
  10822. clienttype:
  10823. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  10824. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  10825. type: integer
  10826. closefreezecharge:
  10827. description: 平仓冻结手续费(先建后平操作,需要记录)
  10828. type: number
  10829. closeqty:
  10830. description: 平仓数量(先建后平操作 需要记录)
  10831. type: integer
  10832. closetradeqty:
  10833. description: 平仓成交数量(先建后平操作,需要记录)
  10834. type: integer
  10835. closeunfreezecharge:
  10836. description: 平仓解冻手续费(先建后平操作,需要记录)
  10837. type: number
  10838. delistingtype:
  10839. description: 摘牌类型 - 1:价格最优 2:点选成交
  10840. type: integer
  10841. enableqty:
  10842. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  10843. type: integer
  10844. freezecharge:
  10845. description: 冻结手续费
  10846. type: number
  10847. freezemargin:
  10848. description: 冻结保证金(冻结交易金额)
  10849. type: number
  10850. goodscode:
  10851. description: 商品代码
  10852. type: string
  10853. goodsid:
  10854. description: 商品ID
  10855. type: integer
  10856. goodsname:
  10857. description: 商品名称
  10858. type: string
  10859. listingselecttype:
  10860. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  10861. type: integer
  10862. marketid:
  10863. description: 市场ID
  10864. type: integer
  10865. marketname:
  10866. description: 市场名称
  10867. type: string
  10868. openfreezecharge:
  10869. description: 开仓冻结手续费(先建后平操作,需要记录)
  10870. type: number
  10871. openqty:
  10872. description: 开仓数量(先建后平操作,需要记录)
  10873. type: integer
  10874. opentradeqty:
  10875. description: 开仓成交数量(先建后平操作,需要记录)
  10876. type: integer
  10877. openunfreezecharge:
  10878. description: 开仓解冻手续费(先建后平操作,需要记录)
  10879. type: number
  10880. operatetype:
  10881. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  10882. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  10883. 15:管理端协议转让
  10884. type: integer
  10885. operatorid:
  10886. description: 登录账号(LoginID)
  10887. type: integer
  10888. orderid:
  10889. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10890. type: string
  10891. orderprice:
  10892. description: 委托价格
  10893. type: number
  10894. orderqty:
  10895. description: 委托数量
  10896. type: integer
  10897. ordersrc:
  10898. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  10899. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  10900. type: integer
  10901. orderstatus:
  10902. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  10903. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  10904. 16:成交失败违约(荷兰式竞拍专用)
  10905. type: integer
  10906. ordertime:
  10907. description: 委托时间
  10908. type: string
  10909. preorderid:
  10910. description: 关联预埋单号(止盈止损单时填写)
  10911. type: string
  10912. pricemode:
  10913. description: '取价方式 - 1:市价 2: 限价'
  10914. type: integer
  10915. relatedid:
  10916. description: 关联单号(交割单)
  10917. type: string
  10918. tradedate:
  10919. description: 交易日(yyyyMMdd)
  10920. type: string
  10921. trademode:
  10922. description: 交易模式
  10923. type: integer
  10924. tradeqty:
  10925. description: 成交数量
  10926. type: integer
  10927. unfreezecharge:
  10928. description: 解冻手续费
  10929. type: number
  10930. unfreezemargin:
  10931. description: 解冻保证金
  10932. type: number
  10933. validtime:
  10934. description: 有效期限
  10935. type: string
  10936. validtype:
  10937. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  10938. type: integer
  10939. volumetype:
  10940. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  10941. type: integer
  10942. required:
  10943. - accountid
  10944. - buildtype
  10945. - buyorsell
  10946. - goodsid
  10947. - marketid
  10948. - operatetype
  10949. - orderqty
  10950. - ordertime
  10951. - pricemode
  10952. - tradedate
  10953. - validtype
  10954. type: object
  10955. order.QueryTradePositionRsp:
  10956. properties:
  10957. accountid:
  10958. description: 资金账户
  10959. type: integer
  10960. agreeunit:
  10961. description: 合约单位
  10962. type: number
  10963. averageprice:
  10964. description: 持仓均价
  10965. type: number
  10966. buyorsell:
  10967. description: 方向 - 0:买 1:卖
  10968. type: integer
  10969. closetotalqty:
  10970. description: 平仓总数量
  10971. type: integer
  10972. curholderamount:
  10973. description: 当前持仓总金额[商品币种]
  10974. type: number
  10975. curpositionqty:
  10976. description: 当前持仓总数量
  10977. type: integer
  10978. currencyid:
  10979. description: 报价货币ID
  10980. type: integer
  10981. curtdposition:
  10982. description: 期末今日头寸
  10983. type: integer
  10984. decimalplace:
  10985. description: 报价小数位
  10986. type: integer
  10987. enableqty:
  10988. description: 可用量
  10989. type: integer
  10990. fretdposition:
  10991. description: 冻结今日头寸
  10992. type: integer
  10993. frozenqty:
  10994. description: 持仓冻结数量
  10995. type: integer
  10996. goodscode:
  10997. description: 商品代码
  10998. type: string
  10999. goodsid:
  11000. description: 商品Id
  11001. type: integer
  11002. goodsname:
  11003. description: 商品名称
  11004. type: string
  11005. goodunit:
  11006. description: 报价单位
  11007. type: string
  11008. goodunitid:
  11009. description: 报价单位ID
  11010. type: integer
  11011. holderamount:
  11012. description: 期初持仓总金额[商品币种]
  11013. type: number
  11014. marketid:
  11015. description: 所属市场ID
  11016. type: integer
  11017. openreqqty:
  11018. description: 开仓申请数量(用于比较最大持仓数量)
  11019. type: integer
  11020. opentotalqty:
  11021. description: 开仓总数量
  11022. type: integer
  11023. otherfrozenqty:
  11024. description: 持仓其他冻结数量(交割冻结)
  11025. type: integer
  11026. positionqty:
  11027. description: 期初持仓数量
  11028. type: integer
  11029. tnqty:
  11030. description: T+N冻结总量
  11031. type: integer
  11032. tnusedqty:
  11033. description: T+N使用量(可以使用T+N的冻结数量)
  11034. type: integer
  11035. trademode:
  11036. description: 交易模式
  11037. type: integer
  11038. usedmargin:
  11039. description: 占用保证金[商品币种]
  11040. type: number
  11041. required:
  11042. - goodsid
  11043. type: object
  11044. quote.HistoryData:
  11045. properties:
  11046. c:
  11047. description: 收盘价
  11048. type: number
  11049. f:
  11050. description: 是否补充数据
  11051. type: boolean
  11052. h:
  11053. description: 最高价
  11054. type: number
  11055. hv:
  11056. description: 持仓量
  11057. type: integer
  11058. l:
  11059. description: 最低价
  11060. type: number
  11061. o:
  11062. description: 开盘价
  11063. type: number
  11064. s:
  11065. description: 结算价,日线周期(包括)以上才有
  11066. type: number
  11067. ts:
  11068. description: 时间
  11069. type: string
  11070. tt:
  11071. description: 总金额
  11072. type: number
  11073. tv:
  11074. description: 总量
  11075. type: integer
  11076. type: object
  11077. quote.HistoryTikData:
  11078. properties:
  11079. AV:
  11080. description: 卖量
  11081. type: integer
  11082. Ask:
  11083. description: 卖价
  11084. type: number
  11085. BV:
  11086. description: 买量
  11087. type: integer
  11088. Bid:
  11089. description: 买价
  11090. type: number
  11091. HI:
  11092. description: 单笔持仓
  11093. type: integer
  11094. HV:
  11095. description: 持仓量
  11096. type: integer
  11097. PE:
  11098. description: 现价
  11099. type: number
  11100. TDR:
  11101. description: 交易方向,0:买 1:卖
  11102. type: integer
  11103. TK:
  11104. description: 交易类型
  11105. type: integer
  11106. TS:
  11107. description: 行情时间文本
  11108. type: string
  11109. TT:
  11110. description: 现金额
  11111. type: number
  11112. Vol:
  11113. description: 现量
  11114. type: integer
  11115. type: object
  11116. quote.QueryQuoteDayRsp:
  11117. properties:
  11118. ask:
  11119. description: 卖1
  11120. type: number
  11121. ask2:
  11122. description: 卖2
  11123. type: number
  11124. ask3:
  11125. description: 卖3
  11126. type: number
  11127. ask4:
  11128. description: 卖4
  11129. type: number
  11130. ask5:
  11131. description: 卖5
  11132. type: number
  11133. ask6:
  11134. description: 卖6
  11135. type: number
  11136. ask7:
  11137. description: 卖7
  11138. type: number
  11139. ask8:
  11140. description: 卖8
  11141. type: number
  11142. ask9:
  11143. description: 卖9
  11144. type: number
  11145. ask10:
  11146. description: 卖10
  11147. type: number
  11148. askorderid:
  11149. description: 卖单号1
  11150. type: integer
  11151. askorderid2:
  11152. description: 卖单号2
  11153. type: integer
  11154. askorderid3:
  11155. description: 卖单号3
  11156. type: integer
  11157. askorderid4:
  11158. description: 卖单号4
  11159. type: integer
  11160. askorderid5:
  11161. description: 卖单号5
  11162. type: integer
  11163. askordervolume:
  11164. description: 卖单量1
  11165. type: integer
  11166. askordervolume2:
  11167. description: 卖单量2
  11168. type: integer
  11169. askordervolume3:
  11170. description: 卖单量3
  11171. type: integer
  11172. askordervolume4:
  11173. description: 卖单量4
  11174. type: integer
  11175. askordervolume5:
  11176. description: 卖单量5
  11177. type: integer
  11178. askordervolume6:
  11179. description: 卖单量6
  11180. type: integer
  11181. askordervolume7:
  11182. description: 卖单量7
  11183. type: integer
  11184. askordervolume8:
  11185. description: 卖单量8
  11186. type: integer
  11187. askordervolume9:
  11188. description: 卖单量9
  11189. type: integer
  11190. askordervolume10:
  11191. description: 卖单量10
  11192. type: integer
  11193. askqueueinfo:
  11194. description: 大利市卖港股用
  11195. type: string
  11196. askvolume:
  11197. description: 卖量1
  11198. type: integer
  11199. askvolume2:
  11200. description: 卖量2
  11201. type: integer
  11202. askvolume3:
  11203. description: 卖量3
  11204. type: integer
  11205. askvolume4:
  11206. description: 卖量4
  11207. type: integer
  11208. askvolume5:
  11209. description: 卖量5
  11210. type: integer
  11211. askvolume6:
  11212. description: 卖量6
  11213. type: integer
  11214. askvolume7:
  11215. description: 卖量7
  11216. type: integer
  11217. askvolume8:
  11218. description: 卖量8
  11219. type: integer
  11220. askvolume9:
  11221. description: 卖量9
  11222. type: integer
  11223. askvolume10:
  11224. description: 卖量10
  11225. type: integer
  11226. averageprice:
  11227. description: 均价
  11228. type: number
  11229. bid:
  11230. description: 买1
  11231. type: number
  11232. bid2:
  11233. description: 买2
  11234. type: number
  11235. bid3:
  11236. description: 买3
  11237. type: number
  11238. bid4:
  11239. description: 买4
  11240. type: number
  11241. bid5:
  11242. description: 买5
  11243. type: number
  11244. bid6:
  11245. description: 买6
  11246. type: number
  11247. bid7:
  11248. description: 买7
  11249. type: number
  11250. bid8:
  11251. description: 买8
  11252. type: number
  11253. bid9:
  11254. description: 买9
  11255. type: number
  11256. bid10:
  11257. description: 买10
  11258. type: number
  11259. bidorderid:
  11260. description: 买单号1
  11261. type: integer
  11262. bidorderid2:
  11263. description: 买单号2
  11264. type: integer
  11265. bidorderid3:
  11266. description: 买单号3
  11267. type: integer
  11268. bidorderid4:
  11269. description: 买单号4
  11270. type: integer
  11271. bidorderid5:
  11272. description: 买单号5
  11273. type: integer
  11274. bidordervolume:
  11275. description: 买单量1
  11276. type: integer
  11277. bidordervolume2:
  11278. description: 买单量2
  11279. type: integer
  11280. bidordervolume3:
  11281. description: 买单量3
  11282. type: integer
  11283. bidordervolume4:
  11284. description: 买单量4
  11285. type: integer
  11286. bidordervolume5:
  11287. description: 买单量5
  11288. type: integer
  11289. bidordervolume6:
  11290. description: 买单量6
  11291. type: integer
  11292. bidordervolume7:
  11293. description: 买单量7
  11294. type: integer
  11295. bidordervolume8:
  11296. description: 买单量8
  11297. type: integer
  11298. bidordervolume9:
  11299. description: 买单量9
  11300. type: integer
  11301. bidordervolume10:
  11302. description: 买单量10
  11303. type: integer
  11304. bidqueueinfo:
  11305. description: 大利市买港股用
  11306. type: string
  11307. bidvolume:
  11308. description: 买量1
  11309. type: integer
  11310. bidvolume2:
  11311. description: 买量2
  11312. type: integer
  11313. bidvolume3:
  11314. description: 买量3
  11315. type: integer
  11316. bidvolume4:
  11317. description: 买量4
  11318. type: integer
  11319. bidvolume5:
  11320. description: 买量5
  11321. type: integer
  11322. bidvolume6:
  11323. description: 买量6
  11324. type: integer
  11325. bidvolume7:
  11326. description: 买量7
  11327. type: integer
  11328. bidvolume8:
  11329. description: 买量8
  11330. type: integer
  11331. bidvolume9:
  11332. description: 买量9
  11333. type: integer
  11334. bidvolume10:
  11335. description: 买量10
  11336. type: integer
  11337. calloptionpremiums:
  11338. description: 认购期权1
  11339. type: integer
  11340. calloptionpremiums2:
  11341. description: 认购期权2
  11342. type: integer
  11343. calloptionpremiums3:
  11344. description: 认购期权3
  11345. type: integer
  11346. calloptionpremiums4:
  11347. description: 认购期权4
  11348. type: integer
  11349. calloptionpremiums5:
  11350. description: 认购期权5
  11351. type: integer
  11352. cleartime:
  11353. description: 清盘时间
  11354. type: integer
  11355. exchangecode:
  11356. description: 交易所代码
  11357. type: integer
  11358. exchangedate:
  11359. description: 交易日
  11360. type: integer
  11361. goodscode:
  11362. description: 商品代码
  11363. type: string
  11364. grepmarketprice:
  11365. description: 暗盘价 港股专用
  11366. type: number
  11367. highest:
  11368. description: 最高价
  11369. type: number
  11370. holdincrement:
  11371. description: 单笔持仓
  11372. type: integer
  11373. holdvolume:
  11374. description: 持仓
  11375. type: integer
  11376. iep:
  11377. description: 平衡价 港股专用
  11378. type: number
  11379. iev:
  11380. description: 平衡量 港股专用
  11381. type: number
  11382. inventory:
  11383. description: 库存
  11384. type: integer
  11385. iscleared:
  11386. description: 是否清盘标志
  11387. type: integer
  11388. issettled:
  11389. description: 是否结算标志
  11390. type: integer
  11391. last:
  11392. description: 最新价
  11393. type: number
  11394. lastlot:
  11395. description: 最新成交手数
  11396. type: integer
  11397. lasttime:
  11398. description: 行情时间(只有现价变化行情时间才变化)
  11399. type: string
  11400. lastturnover:
  11401. description: 最新成交金额
  11402. type: number
  11403. lastvolume:
  11404. description: 最新成交量
  11405. type: integer
  11406. limitdown:
  11407. description: 跌停价
  11408. type: number
  11409. limitup:
  11410. description: 涨停价
  11411. type: number
  11412. lowest:
  11413. description: 最低价
  11414. type: number
  11415. nontotalholdervolume:
  11416. description: 非交易持仓量
  11417. type: integer
  11418. nontotallot:
  11419. description: 非交易总手数
  11420. type: integer
  11421. nontotalturnover:
  11422. description: 非交易总金额
  11423. type: integer
  11424. nontotalvolume:
  11425. description: 非交易总量
  11426. type: integer
  11427. opened:
  11428. description: 开盘价
  11429. type: number
  11430. opentime:
  11431. description: 开盘时间
  11432. type: string
  11433. orderid:
  11434. description: 序号
  11435. type: integer
  11436. preclose:
  11437. description: 昨收
  11438. type: number
  11439. preholdvolume:
  11440. description: 昨持仓
  11441. type: integer
  11442. presettle:
  11443. description: 昨结价
  11444. type: number
  11445. publictradetype:
  11446. description: 公共交易标志类型 港股专用
  11447. type: string
  11448. putoptionpremiums:
  11449. description: 认沽期权1
  11450. type: integer
  11451. putoptionpremiums2:
  11452. description: 认沽期权2
  11453. type: integer
  11454. putoptionpremiums3:
  11455. description: 认沽期权3
  11456. type: integer
  11457. putoptionpremiums4:
  11458. description: 认沽期权4
  11459. type: integer
  11460. putoptionpremiums5:
  11461. description: 认沽期权5
  11462. type: integer
  11463. settle:
  11464. description: 结算价
  11465. type: number
  11466. strikeprice:
  11467. description: 发行价
  11468. type: number
  11469. totalaskvolume:
  11470. description: 内盘
  11471. type: integer
  11472. totalbidvolume:
  11473. description: 外盘
  11474. type: integer
  11475. totallot:
  11476. description: 总手数
  11477. type: integer
  11478. totalturnover:
  11479. description: 总金额
  11480. type: number
  11481. totalvolume:
  11482. description: 总量
  11483. type: integer
  11484. utclasttime:
  11485. description: utc的行情时间
  11486. type: string
  11487. type: object
  11488. quote.QueryTSDataRsp:
  11489. properties:
  11490. Count:
  11491. description: 交易日应有数据个数
  11492. type: integer
  11493. decimalPlace:
  11494. description: 小数位
  11495. type: integer
  11496. endTime:
  11497. description: 结束时间
  11498. type: string
  11499. goodsCode:
  11500. description: 商品代码
  11501. type: string
  11502. historyDatas:
  11503. description: 历史数据
  11504. items:
  11505. $ref: '#/definitions/quote.HistoryData'
  11506. type: array
  11507. outGoodsCode:
  11508. description: 外部商品代码
  11509. type: string
  11510. preSettle:
  11511. description: 昨结价
  11512. type: number
  11513. runSteps:
  11514. description: 交易日开休市计划
  11515. items:
  11516. $ref: '#/definitions/quote.TSDataRunStep'
  11517. type: array
  11518. startTime:
  11519. description: 开始时间
  11520. type: string
  11521. tradeDate:
  11522. description: 交易日
  11523. type: string
  11524. type: object
  11525. quote.TSDataRunStep:
  11526. properties:
  11527. end:
  11528. description: 真实结束时间
  11529. type: string
  11530. endflag:
  11531. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  11532. type: integer
  11533. endtime:
  11534. description: 结束时间(HH:mm)
  11535. type: string
  11536. endweekday:
  11537. description: 结束周几
  11538. type: integer
  11539. groupid:
  11540. description: 分组ID
  11541. type: integer
  11542. runstep:
  11543. description: 运行阶段 - 2:连续交易
  11544. type: integer
  11545. sectionid:
  11546. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  11547. 结束时间=结算时间 结束周几=结算周几
  11548. type: integer
  11549. start:
  11550. description: 真实开始时间
  11551. type: string
  11552. startflag:
  11553. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  11554. type: integer
  11555. starttime:
  11556. description: 起始时间(HH:mm)
  11557. type: string
  11558. startweekday:
  11559. description: 起始周几
  11560. type: integer
  11561. tradeweekday:
  11562. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  11563. type: integer
  11564. type: object
  11565. szdz.QueryConvertLogRsp:
  11566. properties:
  11567. accountid:
  11568. description: 资金账户ID
  11569. type: integer
  11570. clientticket:
  11571. description: 客户端流水号
  11572. type: string
  11573. converttype:
  11574. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  11575. type: integer
  11576. createtime:
  11577. description: 记账时间
  11578. type: string
  11579. daymaxvalue:
  11580. description: 配置当日最大转入限制
  11581. type: number
  11582. daymaxvalue2:
  11583. description: 配置当日最大转入限制(转入)
  11584. type: number
  11585. goodscode:
  11586. description: 商品代码
  11587. type: string
  11588. goodsname:
  11589. description: 商品名称
  11590. type: string
  11591. handlestatus:
  11592. description: 处理状态
  11593. type: integer
  11594. innergoodsid:
  11595. description: 内部商品ID
  11596. type: integer
  11597. inratio:
  11598. description: 配置转入比值
  11599. type: integer
  11600. invalue:
  11601. description: 目标值
  11602. type: number
  11603. logid:
  11604. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11605. type: integer
  11606. mobile:
  11607. description: 手机号码(加密存储)
  11608. type: string
  11609. outergoodscode:
  11610. description: 外部商品代码[JD\PD]
  11611. type: string
  11612. outratio:
  11613. description: 配置转出比值
  11614. type: integer
  11615. outvalue:
  11616. description: 源值
  11617. type: number
  11618. pddecimalplace:
  11619. description: PD小数位
  11620. type: integer
  11621. qty:
  11622. description: 数量
  11623. type: string
  11624. remark:
  11625. description: 备注
  11626. type: string
  11627. sessionid:
  11628. description: 会话ID
  11629. type: integer
  11630. timemaxvalue:
  11631. description: 配置单次最大转入限制
  11632. type: number
  11633. timemaxvalue2:
  11634. description: 配置单次最大转入限制(转入)
  11635. type: number
  11636. timeminvalue:
  11637. description: 配置单次最小数量限制
  11638. type: number
  11639. timeminvalue2:
  11640. description: 配置单次最小数量限制(转入)
  11641. type: number
  11642. tradedate:
  11643. description: 交易日(yyyyMMdd)
  11644. type: string
  11645. userid:
  11646. description: 用户ID
  11647. type: integer
  11648. required:
  11649. - logid
  11650. type: object
  11651. szdz.QueryGoodsPickupRsp:
  11652. properties:
  11653. accountid:
  11654. description: 账户ID
  11655. type: integer
  11656. address:
  11657. description: 提货人详细地址
  11658. type: string
  11659. auditer:
  11660. description: 审核人
  11661. type: integer
  11662. audittime:
  11663. description: 审核时间
  11664. type: string
  11665. cardnum:
  11666. description: 提货人证件号码
  11667. type: string
  11668. cardtypeid:
  11669. description: 提货人证件类型
  11670. type: integer
  11671. checkremark:
  11672. description: 审核备注
  11673. type: string
  11674. goodscode:
  11675. description: 商品代码
  11676. type: string
  11677. goodsid:
  11678. description: 商品ID
  11679. type: integer
  11680. goodsname:
  11681. description: 商品名称
  11682. type: string
  11683. handlestatus:
  11684. description: 处理状态
  11685. type: integer
  11686. marketid:
  11687. description: 市场ID
  11688. type: integer
  11689. phonenum:
  11690. description: 提货人联系方式
  11691. type: string
  11692. qty:
  11693. description: 提货数量
  11694. type: number
  11695. recivername:
  11696. description: 提货人姓名
  11697. type: string
  11698. reqtime:
  11699. description: 更新时间
  11700. type: string
  11701. takemode:
  11702. description: 提货方式 - 2:自提 3:配送
  11703. type: integer
  11704. takeorderid:
  11705. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  11706. type: string
  11707. takeorderstatus:
  11708. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  11709. type: integer
  11710. takeremark:
  11711. description: 提货备注
  11712. type: string
  11713. tradedate:
  11714. description: 交易日(yyyyMMdd)
  11715. type: string
  11716. userid:
  11717. description: 用户ID
  11718. type: integer
  11719. required:
  11720. - takeorderid
  11721. type: object
  11722. szdz.QueryRecieptOrderRsp:
  11723. properties:
  11724. accountName:
  11725. description: 所属账号名称(已脱敏)
  11726. type: string
  11727. accountid:
  11728. description: 资金账号
  11729. type: integer
  11730. buyorsell:
  11731. description: 方向 - 0:买 1:卖
  11732. type: integer
  11733. enableqty:
  11734. description: 可摘数量
  11735. type: integer
  11736. goodscode:
  11737. description: 商品代码
  11738. type: string
  11739. goodsid:
  11740. description: 商品ID
  11741. type: integer
  11742. goodsname:
  11743. description: 商品名称
  11744. type: string
  11745. orderid:
  11746. description: 委托单号
  11747. type: string
  11748. orderprice:
  11749. description: 委托价格
  11750. type: number
  11751. ordertime:
  11752. description: 委托时间
  11753. type: string
  11754. tradedate:
  11755. description: 交易日(yyyyMMdd)
  11756. type: string
  11757. required:
  11758. - ordertime
  11759. type: object
  11760. szdz.QuerySZDZTradePositionRsp:
  11761. properties:
  11762. accountid:
  11763. description: 账号Id
  11764. type: integer
  11765. agreeunit:
  11766. description: 合约单位
  11767. type: number
  11768. averageprice:
  11769. description: 持仓均价
  11770. type: number
  11771. buyorsell:
  11772. description: 方向 - 0:买 1:卖
  11773. type: integer
  11774. closetotalqty:
  11775. description: 平仓总数量
  11776. type: integer
  11777. curholderamount:
  11778. description: 当前持仓总金额
  11779. type: number
  11780. curpositionqty:
  11781. description: 当前持仓总数量
  11782. type: integer
  11783. currencyid:
  11784. description: 报价货币ID
  11785. type: integer
  11786. curtdposition:
  11787. description: 期末今日头寸
  11788. type: integer
  11789. decimalplace:
  11790. description: 报价小数位
  11791. type: integer
  11792. enableqty:
  11793. description: 可用量
  11794. type: integer
  11795. fretdposition:
  11796. description: 冻结今日头寸
  11797. type: integer
  11798. frozenqty:
  11799. description: 持仓冻结数量
  11800. type: integer
  11801. goodscode:
  11802. description: 商品代码(内部)
  11803. type: string
  11804. goodsid:
  11805. description: 商品Id
  11806. type: integer
  11807. goodsname:
  11808. description: 商品名称
  11809. type: string
  11810. goodunit:
  11811. description: 报价单位
  11812. type: string
  11813. goodunitid:
  11814. description: 报价单位ID
  11815. type: integer
  11816. holderamount:
  11817. description: 期初持仓总金额
  11818. type: number
  11819. marketid:
  11820. description: 市场ID
  11821. type: integer
  11822. openreqqty:
  11823. description: 开仓申请数量
  11824. type: integer
  11825. opentotalqty:
  11826. description: 开仓总数量
  11827. type: integer
  11828. otherfrozenqty:
  11829. description: 持仓其他冻结数量(交割冻结)
  11830. type: integer
  11831. positionqty:
  11832. description: 期初持仓数量
  11833. type: integer
  11834. szdz3freezqty:
  11835. description: 尚志大宗转换冻结总数量
  11836. type: integer
  11837. tnqty:
  11838. description: T+N冻结总量
  11839. type: integer
  11840. tnusedqty:
  11841. description: T+N使用量
  11842. type: integer
  11843. trademode:
  11844. description: 交易模式
  11845. type: integer
  11846. usedmargin:
  11847. description: 占用保证金
  11848. type: number
  11849. type: object
  11850. taaccount.QueryAmountLogRsp:
  11851. properties:
  11852. OPERATETYPENAME:
  11853. description: 资金操作类型名称
  11854. type: string
  11855. accountid:
  11856. description: 资金账户ID
  11857. type: integer
  11858. agoodscode:
  11859. description: 竞拍商品代码
  11860. type: string
  11861. agoodsname:
  11862. description: 竞拍商品名称
  11863. type: string
  11864. amount:
  11865. description: 资金金额
  11866. type: number
  11867. amountadjusttype:
  11868. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  11869. type: integer
  11870. autoid:
  11871. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  11872. type: integer
  11873. balance:
  11874. description: 期初余额
  11875. type: number
  11876. businesscode:
  11877. description: 业务编号
  11878. type: integer
  11879. createtime:
  11880. description: 发生时间
  11881. type: string
  11882. currencyid:
  11883. description: 币种ID
  11884. type: integer
  11885. currentbalance:
  11886. description: 期末余额(变动后金额)
  11887. type: number
  11888. dgoodscode:
  11889. description: 交割商品代码
  11890. type: string
  11891. dgoodsname:
  11892. description: 交割商品名称
  11893. type: string
  11894. goodscode:
  11895. description: 商品代码
  11896. type: string
  11897. goodsid:
  11898. description: 商品ID
  11899. type: integer
  11900. goodsname:
  11901. description: 商品名称
  11902. type: string
  11903. marketid:
  11904. description: 市场ID
  11905. type: integer
  11906. marketname:
  11907. description: 市场名称
  11908. type: string
  11909. moneyticket:
  11910. description: 资金流水号:银行端流水号
  11911. type: integer
  11912. operatetype:
  11913. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  11914. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  11915. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  11916. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  11917. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  11918. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  11919. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  11920. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  11921. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  11922. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  11923. type: integer
  11924. relationorderid:
  11925. description: 关联单号
  11926. type: string
  11927. remark:
  11928. description: 备注
  11929. type: string
  11930. trademode:
  11931. description: 交易模式
  11932. type: integer
  11933. required:
  11934. - accountid
  11935. - amount
  11936. - amountadjusttype
  11937. - autoid
  11938. - balance
  11939. - createtime
  11940. - currentbalance
  11941. - operatetype
  11942. type: object
  11943. taaccount.QueryHisAmountLogRsp:
  11944. properties:
  11945. OPERATETYPENAME:
  11946. description: 资金操作类型名称
  11947. type: string
  11948. accountid:
  11949. description: 资金账户ID
  11950. type: integer
  11951. agoodscode:
  11952. description: 竞拍商品代码
  11953. type: string
  11954. agoodsname:
  11955. description: 竞拍商品名称
  11956. type: string
  11957. amount:
  11958. description: 资金金额
  11959. type: number
  11960. amountadjusttype:
  11961. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  11962. type: integer
  11963. autoid:
  11964. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  11965. type: integer
  11966. balance:
  11967. description: 期初余额
  11968. type: number
  11969. businesscode:
  11970. description: 业务编号
  11971. type: integer
  11972. createtime:
  11973. description: 发生时间
  11974. type: string
  11975. currencyid:
  11976. description: 币种ID
  11977. type: integer
  11978. currentbalance:
  11979. description: 期末余额(变动后金额)
  11980. type: number
  11981. dgoodscode:
  11982. description: 交割商品代码
  11983. type: string
  11984. dgoodsname:
  11985. description: 交割商品名称
  11986. type: string
  11987. goodscode:
  11988. description: 商品代码
  11989. type: string
  11990. goodsid:
  11991. description: 商品ID
  11992. type: integer
  11993. goodsname:
  11994. description: 商品名称
  11995. type: string
  11996. histradedate:
  11997. description: 历史交易日
  11998. type: string
  11999. isvaliddata:
  12000. description: 是否有效 - 0:无效 1:有效
  12001. type: integer
  12002. marketid:
  12003. description: 市场ID
  12004. type: integer
  12005. marketname:
  12006. description: 市场名称
  12007. type: string
  12008. moneyticket:
  12009. description: 资金流水号:银行端流水号
  12010. type: integer
  12011. operatetype:
  12012. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  12013. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  12014. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  12015. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  12016. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  12017. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  12018. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  12019. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  12020. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  12021. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  12022. type: integer
  12023. relationorderid:
  12024. description: 关联单号
  12025. type: string
  12026. remark:
  12027. description: 备注
  12028. type: string
  12029. trademode:
  12030. description: 交易模式
  12031. type: integer
  12032. required:
  12033. - accountid
  12034. - amount
  12035. - amountadjusttype
  12036. - autoid
  12037. - balance
  12038. - createtime
  12039. - currentbalance
  12040. - histradedate
  12041. - operatetype
  12042. type: object
  12043. trade.QueryRecieptOrderRsp:
  12044. properties:
  12045. accountName:
  12046. description: 所属账号名称(已脱敏)
  12047. type: string
  12048. accountid:
  12049. description: 资金账号
  12050. type: integer
  12051. buyorsell:
  12052. description: 方向 - 0:买 1:卖
  12053. type: integer
  12054. enableqty:
  12055. description: 可摘数量
  12056. type: integer
  12057. goodscode:
  12058. description: 商品代码
  12059. type: string
  12060. goodsid:
  12061. description: 商品ID
  12062. type: integer
  12063. goodsname:
  12064. description: 商品名称
  12065. type: string
  12066. orderid:
  12067. description: 委托单号
  12068. type: string
  12069. orderprice:
  12070. description: 委托价格
  12071. type: number
  12072. ordertime:
  12073. description: 委托时间
  12074. type: string
  12075. tradedate:
  12076. description: 交易日(yyyyMMdd)
  12077. type: string
  12078. required:
  12079. - ordertime
  12080. type: object
  12081. user.LoginQueryRsp:
  12082. properties:
  12083. externalExchanges:
  12084. description: 外部交易所
  12085. items:
  12086. $ref: '#/definitions/models.Externalexchange'
  12087. type: array
  12088. goodsgroups:
  12089. description: 商品组
  12090. items:
  12091. $ref: '#/definitions/models.Goodsgroup'
  12092. type: array
  12093. loginAccount:
  12094. $ref: '#/definitions/models.Loginaccount'
  12095. description: 登录账号
  12096. type: object
  12097. markets:
  12098. description: 市场
  12099. items:
  12100. $ref: '#/definitions/models.Market'
  12101. type: array
  12102. systemParams:
  12103. description: 系统参数
  12104. items:
  12105. $ref: '#/definitions/models.Systemparam'
  12106. type: array
  12107. userAccount:
  12108. $ref: '#/definitions/models.Useraccount'
  12109. description: 用户账号
  12110. type: object
  12111. userInfo:
  12112. $ref: '#/definitions/models.Userinfo'
  12113. description: 用户信息
  12114. type: object
  12115. username:
  12116. description: 用户姓名
  12117. type: string
  12118. type: object
  12119. info:
  12120. contact: {}
  12121. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  12122. license: {}
  12123. termsOfService: http://muchinfo.cn
  12124. title: MTP2.0 查询服务 API
  12125. version: "1.0"
  12126. paths:
  12127. /CPTrade/QueryCPTradeMyBidInfos:
  12128. get:
  12129. parameters:
  12130. - description: 资金账户
  12131. in: query
  12132. name: accountid
  12133. required: true
  12134. type: integer
  12135. - description: 预售市场ID
  12136. in: query
  12137. name: marketid
  12138. type: integer
  12139. - description: 预售商品ID
  12140. in: query
  12141. name: goodsid
  12142. type: integer
  12143. produces:
  12144. - application/json
  12145. responses:
  12146. "200":
  12147. description: OK
  12148. schema:
  12149. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  12150. "500":
  12151. description: Internal Server Error
  12152. schema:
  12153. $ref: '#/definitions/app.Response'
  12154. security:
  12155. - ApiKeyAuth: []
  12156. summary: 查询产能预售我的出价信息
  12157. tags:
  12158. - 产能预售
  12159. /CPTrade/QueryCPTradeOrderDetail:
  12160. get:
  12161. parameters:
  12162. - description: 预售商品ID
  12163. in: query
  12164. name: goodsid
  12165. type: integer
  12166. - description: 预售市场ID
  12167. in: query
  12168. name: marketid
  12169. type: integer
  12170. - description: 预售商品ID列表 - 格式:1,2,3
  12171. in: query
  12172. name: goodsids
  12173. type: string
  12174. produces:
  12175. - application/json
  12176. responses:
  12177. "200":
  12178. description: OK
  12179. schema:
  12180. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  12181. "500":
  12182. description: Internal Server Error
  12183. schema:
  12184. $ref: '#/definitions/app.Response'
  12185. security:
  12186. - ApiKeyAuth: []
  12187. summary: 查询产能预售委托单信息
  12188. tags:
  12189. - 产能预售
  12190. /CPTrade/QueryMyCPTradeGoods:
  12191. get:
  12192. parameters:
  12193. - description: 资金账户
  12194. in: query
  12195. name: accountid
  12196. required: true
  12197. type: integer
  12198. produces:
  12199. - application/json
  12200. responses:
  12201. "200":
  12202. description: OK
  12203. schema:
  12204. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  12205. "500":
  12206. description: Internal Server Error
  12207. schema:
  12208. $ref: '#/definitions/app.Response'
  12209. security:
  12210. - ApiKeyAuth: []
  12211. summary: 查询我的预售信息
  12212. tags:
  12213. - 产能预售
  12214. /CPTrade/QueryPositionCancel:
  12215. get:
  12216. parameters:
  12217. - description: 账户ID
  12218. in: query
  12219. name: userid
  12220. required: true
  12221. type: integer
  12222. - description: 注销ID
  12223. in: query
  12224. name: cancelid
  12225. type: integer
  12226. - description: 资金账户ID
  12227. in: query
  12228. name: accountid
  12229. type: integer
  12230. produces:
  12231. - application/json
  12232. responses:
  12233. "200":
  12234. description: OK
  12235. schema:
  12236. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  12237. "500":
  12238. description: Internal Server Error
  12239. schema:
  12240. $ref: '#/definitions/app.Response'
  12241. security:
  12242. - ApiKeyAuth: []
  12243. summary: 查询远期订单注销申请信息
  12244. tags:
  12245. - 产能预售
  12246. /CPTrade/QueryPreasleApply:
  12247. get:
  12248. parameters:
  12249. - description: 账户ID
  12250. in: query
  12251. name: userid
  12252. required: true
  12253. type: integer
  12254. - description: 申请ID
  12255. in: query
  12256. name: applyid
  12257. type: integer
  12258. - description: 资金账户ID
  12259. in: query
  12260. name: accountid
  12261. type: integer
  12262. produces:
  12263. - application/json
  12264. responses:
  12265. "200":
  12266. description: OK
  12267. schema:
  12268. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  12269. "500":
  12270. description: Internal Server Error
  12271. schema:
  12272. $ref: '#/definitions/app.Response'
  12273. security:
  12274. - ApiKeyAuth: []
  12275. summary: 查询产能预售申请信息
  12276. tags:
  12277. - 产能预售
  12278. /CPTrade/QueryPresaleGoodsEx:
  12279. get:
  12280. parameters:
  12281. - description: 预售商品ID
  12282. in: query
  12283. name: goodsid
  12284. type: integer
  12285. - description: 预售市场ID
  12286. in: query
  12287. name: marketid
  12288. type: integer
  12289. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  12290. in: query
  12291. name: presalemode
  12292. type: integer
  12293. - description: 预售商品ID列表 - 格式:1,2,3
  12294. in: query
  12295. name: goodsids
  12296. type: string
  12297. - description: 预售商品代码
  12298. in: query
  12299. name: goodscode
  12300. type: string
  12301. produces:
  12302. - application/json
  12303. responses:
  12304. "200":
  12305. description: OK
  12306. schema:
  12307. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  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/QueryUserGoodsData:
  12318. get:
  12319. parameters:
  12320. - description: 资金账户ID
  12321. in: query
  12322. name: accountid
  12323. required: true
  12324. type: integer
  12325. produces:
  12326. - application/json
  12327. responses:
  12328. "200":
  12329. description: OK
  12330. schema:
  12331. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  12332. "500":
  12333. description: Internal Server Error
  12334. schema:
  12335. $ref: '#/definitions/app.Response'
  12336. security:
  12337. - ApiKeyAuth: []
  12338. summary: 查询远期订单信息
  12339. tags:
  12340. - 产能预售
  12341. /Common/GetAllEnums:
  12342. get:
  12343. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  12344. parameters:
  12345. - description: 起始自增ID
  12346. in: query
  12347. name: autoid
  12348. type: integer
  12349. produces:
  12350. - application/json
  12351. responses:
  12352. "200":
  12353. description: OK
  12354. schema:
  12355. $ref: '#/definitions/models.Enumdicitem'
  12356. "500":
  12357. description: Internal Server Error
  12358. schema:
  12359. $ref: '#/definitions/app.Response'
  12360. summary: 获取所有枚举信息
  12361. tags:
  12362. - 通用服务
  12363. /Common/GetClientMenus:
  12364. get:
  12365. parameters:
  12366. - description: 登录账号
  12367. in: query
  12368. name: loginID
  12369. required: true
  12370. type: integer
  12371. - description: 终端类型,0:PC 1:Mobile
  12372. in: query
  12373. name: clientType
  12374. type: integer
  12375. produces:
  12376. - application/json
  12377. responses:
  12378. "200":
  12379. description: OK
  12380. schema:
  12381. items:
  12382. $ref: '#/definitions/common.ClientMenu'
  12383. type: array
  12384. "500":
  12385. description: Internal Server Error
  12386. schema:
  12387. $ref: '#/definitions/app.Response'
  12388. security:
  12389. - ApiKeyAuth: []
  12390. summary: 获取交易端菜单
  12391. tags:
  12392. - 通用服务
  12393. /Common/GetDivisions:
  12394. get:
  12395. produces:
  12396. - application/json
  12397. responses:
  12398. "200":
  12399. description: OK
  12400. schema:
  12401. $ref: '#/definitions/models.Division'
  12402. "500":
  12403. description: Internal Server Error
  12404. schema:
  12405. $ref: '#/definitions/app.Response'
  12406. summary: 查询区域信息
  12407. tags:
  12408. - 通用服务
  12409. /Common/GetServerTime:
  12410. get:
  12411. produces:
  12412. - application/json
  12413. responses:
  12414. "200":
  12415. description: OK
  12416. schema:
  12417. $ref: '#/definitions/app.Response'
  12418. "500":
  12419. description: Internal Server Error
  12420. schema:
  12421. $ref: '#/definitions/app.Response'
  12422. summary: 获取服务器时间
  12423. tags:
  12424. - 通用服务
  12425. /Common/NoticeReaded:
  12426. post:
  12427. parameters:
  12428. - description: 登录账号
  12429. in: query
  12430. name: loginID
  12431. required: true
  12432. type: integer
  12433. - description: 通知公告ID
  12434. in: query
  12435. name: noticeID
  12436. required: true
  12437. type: integer
  12438. produces:
  12439. - application/json
  12440. responses:
  12441. "200":
  12442. description: OK
  12443. schema:
  12444. $ref: '#/definitions/app.Response'
  12445. "500":
  12446. description: Internal Server Error
  12447. schema:
  12448. $ref: '#/definitions/app.Response'
  12449. security:
  12450. - ApiKeyAuth: []
  12451. summary: 通知公告设置已读请求
  12452. tags:
  12453. - 通用服务
  12454. /Common/QueryErrorInfos:
  12455. get:
  12456. description: 如果传入rowNumber,则返回此rowNumber后的数据
  12457. parameters:
  12458. - description: 起始行号前索引
  12459. in: query
  12460. name: rowNumber
  12461. type: string
  12462. produces:
  12463. - application/json
  12464. responses:
  12465. "200":
  12466. description: OK
  12467. schema:
  12468. $ref: '#/definitions/models.QueryErrorInfosRsp'
  12469. "500":
  12470. description: Internal Server Error
  12471. schema:
  12472. $ref: '#/definitions/app.Response'
  12473. summary: 获取数据库错误信息
  12474. tags:
  12475. - 通用服务
  12476. /Common/QueryImageConfigs:
  12477. get:
  12478. parameters:
  12479. - description: 类型 - 1:App首页轮播 2:我的
  12480. in: query
  12481. name: imageType
  12482. type: integer
  12483. produces:
  12484. - application/json
  12485. responses:
  12486. "200":
  12487. description: OK
  12488. schema:
  12489. $ref: '#/definitions/common.QueryImageConfigsRsp'
  12490. "500":
  12491. description: Internal Server Error
  12492. schema:
  12493. $ref: '#/definitions/app.Response'
  12494. summary: 查询轮播图配置信息
  12495. tags:
  12496. - 通用服务
  12497. /Common/QueryNotice:
  12498. get:
  12499. parameters:
  12500. - description: 页码
  12501. in: query
  12502. name: page
  12503. type: integer
  12504. - description: 每页条数
  12505. in: query
  12506. name: pagesize
  12507. type: integer
  12508. - description: 登录账号
  12509. in: query
  12510. name: loginID
  12511. required: true
  12512. type: integer
  12513. - description: 消息类型 - 1:公告通知 2:系统消息
  12514. in: query
  12515. name: msgType
  12516. type: integer
  12517. - description: 是否只获取未读信息
  12518. in: query
  12519. name: onlyUnRead
  12520. type: boolean
  12521. - description: 自增ID,传入后会返回这个ID后面的记录
  12522. in: query
  12523. name: lastID
  12524. type: integer
  12525. produces:
  12526. - application/json
  12527. responses:
  12528. "200":
  12529. description: OK
  12530. schema:
  12531. $ref: '#/definitions/common.QueryNoticeRsp'
  12532. "500":
  12533. description: Internal Server Error
  12534. schema:
  12535. $ref: '#/definitions/app.Response'
  12536. security:
  12537. - ApiKeyAuth: []
  12538. summary: 通知公告系统消息查询
  12539. tags:
  12540. - 通用服务
  12541. /Common/QueryProvincesAndCities:
  12542. get:
  12543. parameters:
  12544. - description: 省ID
  12545. in: query
  12546. name: provinceID
  12547. type: integer
  12548. produces:
  12549. - application/json
  12550. responses:
  12551. "200":
  12552. description: OK
  12553. schema:
  12554. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  12555. "500":
  12556. description: Internal Server Error
  12557. schema:
  12558. $ref: '#/definitions/app.Response'
  12559. summary: 查询省市信息(不包括区)
  12560. tags:
  12561. - 通用服务
  12562. /Common/QueryTableDefine:
  12563. get:
  12564. parameters:
  12565. - description: 表key
  12566. in: query
  12567. name: tableKey
  12568. type: string
  12569. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  12570. in: query
  12571. name: tableType
  12572. type: integer
  12573. produces:
  12574. - application/json
  12575. responses:
  12576. "200":
  12577. description: OK
  12578. schema:
  12579. $ref: '#/definitions/common.QueryTableDefineRsp'
  12580. "500":
  12581. description: Internal Server Error
  12582. schema:
  12583. $ref: '#/definitions/app.Response'
  12584. summary: 查询交易端列表头信息
  12585. tags:
  12586. - 通用服务
  12587. /Common/QueryTraderMenu:
  12588. get:
  12589. parameters:
  12590. - description: 登录账号
  12591. in: query
  12592. name: loginid
  12593. required: true
  12594. type: integer
  12595. produces:
  12596. - application/json
  12597. responses:
  12598. "200":
  12599. description: OK
  12600. schema:
  12601. $ref: '#/definitions/common.QueryTraderMenuRsp'
  12602. "500":
  12603. description: Internal Server Error
  12604. schema:
  12605. $ref: '#/definitions/app.Response'
  12606. summary: 查询交易端菜单
  12607. tags:
  12608. - 通用服务
  12609. /Delivery/QueryDeliveryRelation:
  12610. get:
  12611. parameters:
  12612. - description: 商品ID
  12613. in: query
  12614. name: goodsid
  12615. type: integer
  12616. - description: 品种ID
  12617. in: query
  12618. name: deliverygoodsid
  12619. type: integer
  12620. - description: 市场ID
  12621. in: query
  12622. name: marketid
  12623. type: integer
  12624. produces:
  12625. - application/json
  12626. responses:
  12627. "200":
  12628. description: OK
  12629. schema:
  12630. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  12631. "500":
  12632. description: Internal Server Error
  12633. schema:
  12634. $ref: '#/definitions/app.Response'
  12635. security:
  12636. - ApiKeyAuth: []
  12637. summary: 查询商品交割关系表
  12638. tags:
  12639. - 交割服务
  12640. /Ermcp/GetErmcpGoods:
  12641. get:
  12642. parameters:
  12643. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  12644. in: query
  12645. name: lastUpdateTime
  12646. type: string
  12647. produces:
  12648. - application/json
  12649. responses:
  12650. "200":
  12651. description: OK
  12652. schema:
  12653. $ref: '#/definitions/models.Goods'
  12654. "500":
  12655. description: Internal Server Error
  12656. schema:
  12657. $ref: '#/definitions/app.Response'
  12658. security:
  12659. - ApiKeyAuth: []
  12660. summary: 查询企业风管期货商品信息
  12661. tags:
  12662. - 企业风险管理(app)
  12663. /Ermcp/GetErmcpGoodsSortByPosition:
  12664. get:
  12665. parameters:
  12666. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  12667. in: query
  12668. name: sortIndex
  12669. type: string
  12670. produces:
  12671. - application/json
  12672. responses:
  12673. "200":
  12674. description: OK
  12675. schema:
  12676. $ref: '#/definitions/models.Goodssortbypreposition'
  12677. "500":
  12678. description: Internal Server Error
  12679. schema:
  12680. $ref: '#/definitions/app.Response'
  12681. security:
  12682. - ApiKeyAuth: []
  12683. summary: 查询企业风管期货主力、次主力商品信息
  12684. tags:
  12685. - 企业风险管理(app)
  12686. /Ermcp/GetErmcpOutAccountStatus:
  12687. get:
  12688. parameters:
  12689. - description: 登录账号
  12690. in: query
  12691. name: loginID
  12692. required: true
  12693. type: integer
  12694. produces:
  12695. - application/json
  12696. responses:
  12697. "200":
  12698. description: OK
  12699. schema:
  12700. $ref: '#/definitions/models.Hedgemarketopenlog'
  12701. "500":
  12702. description: Internal Server Error
  12703. schema:
  12704. $ref: '#/definitions/app.Response'
  12705. security:
  12706. - ApiKeyAuth: []
  12707. summary: 获取目标登录账号当前对冲账号在线状态
  12708. tags:
  12709. - 企业风险管理(app)
  12710. /Ermcp/GetErmcpRoleFuncMenuLists:
  12711. get:
  12712. parameters:
  12713. - description: 登录账号
  12714. in: query
  12715. name: loginID
  12716. required: true
  12717. type: integer
  12718. produces:
  12719. - application/json
  12720. responses:
  12721. "200":
  12722. description: OK
  12723. schema:
  12724. $ref: '#/definitions/models.Funcmenulist'
  12725. "500":
  12726. description: Internal Server Error
  12727. schema:
  12728. $ref: '#/definitions/app.Response'
  12729. security:
  12730. - ApiKeyAuth: []
  12731. summary: 获取企业风管终端权限
  12732. tags:
  12733. - 企业风险管理(app)
  12734. /Ermcp/QryReportAreaSpotPL:
  12735. get:
  12736. parameters:
  12737. - description: 用户ID
  12738. in: query
  12739. name: userid
  12740. required: true
  12741. type: integer
  12742. - description: 查询类型 1-日报表 2-月报表
  12743. in: query
  12744. name: querytype
  12745. required: true
  12746. type: integer
  12747. - description: 查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)
  12748. in: query
  12749. name: querydate
  12750. required: true
  12751. type: string
  12752. - description: 现货商品ID
  12753. in: query
  12754. name: wrstandardid
  12755. type: integer
  12756. - description: 品牌ID
  12757. in: query
  12758. name: spotgoodsbrandid
  12759. type: integer
  12760. - description: 型号ID
  12761. in: query
  12762. name: spotgoodsmodelid
  12763. type: integer
  12764. produces:
  12765. - application/json
  12766. responses:
  12767. "200":
  12768. description: OK
  12769. schema:
  12770. items:
  12771. $ref: '#/definitions/models.ErmcpReportAreaSpotPL'
  12772. type: array
  12773. "500":
  12774. description: Internal Server Error
  12775. schema:
  12776. $ref: '#/definitions/app.Response'
  12777. security:
  12778. - ApiKeyAuth: []
  12779. summary: 查询现货损益报表(现货损益报表)
  12780. tags:
  12781. - 企业风险管理(app)
  12782. /Ermcp/QryReportDayExposure:
  12783. get:
  12784. parameters:
  12785. - description: 用户ID
  12786. in: query
  12787. name: userid
  12788. required: true
  12789. type: integer
  12790. - description: 交易日(格式:yyyyMMdd)
  12791. in: query
  12792. name: tradedate
  12793. required: true
  12794. type: string
  12795. produces:
  12796. - application/json
  12797. responses:
  12798. "200":
  12799. description: OK
  12800. schema:
  12801. items:
  12802. $ref: '#/definitions/ermcp.QryReportExposureDayRsp'
  12803. type: array
  12804. "500":
  12805. description: Internal Server Error
  12806. schema:
  12807. $ref: '#/definitions/app.Response'
  12808. security:
  12809. - ApiKeyAuth: []
  12810. summary: 查询敞口日报表(菜单:报表查询/敞口报表/敞口日报表)
  12811. tags:
  12812. - 企业风险管理(app)
  12813. /Ermcp/QryReportDayFinance:
  12814. get:
  12815. parameters:
  12816. - description: 用户ID
  12817. in: query
  12818. name: userid
  12819. required: true
  12820. type: integer
  12821. - description: 交易日(格式:yyyyMMdd)
  12822. in: query
  12823. name: tradedate
  12824. required: true
  12825. type: string
  12826. produces:
  12827. - application/json
  12828. responses:
  12829. "200":
  12830. description: OK
  12831. schema:
  12832. items:
  12833. $ref: '#/definitions/ermcp.QryReportFinanceDayRsp'
  12834. type: array
  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/QryReportDayFinanceFp:
  12845. get:
  12846. parameters:
  12847. - description: 用户ID
  12848. in: query
  12849. name: userid
  12850. required: true
  12851. type: integer
  12852. - description: 交易日(格式:yyyyMMdd)
  12853. in: query
  12854. name: tradedate
  12855. required: true
  12856. type: string
  12857. produces:
  12858. - application/json
  12859. responses:
  12860. "200":
  12861. description: OK
  12862. schema:
  12863. items:
  12864. $ref: '#/definitions/ermcp.QryReportFinanceKxRsp'
  12865. type: array
  12866. "500":
  12867. description: Internal Server Error
  12868. schema:
  12869. $ref: '#/definitions/app.Response'
  12870. security:
  12871. - ApiKeyAuth: []
  12872. summary: 查询财务日报表发票(菜单:报表查询/财务报表/日报表/发票)
  12873. tags:
  12874. - 企业风险管理(app)
  12875. /Ermcp/QryReportDayFinanceKx:
  12876. get:
  12877. parameters:
  12878. - description: 用户ID
  12879. in: query
  12880. name: userid
  12881. required: true
  12882. type: integer
  12883. - description: 交易日(格式:yyyyMMdd)
  12884. in: query
  12885. name: tradedate
  12886. required: true
  12887. type: string
  12888. produces:
  12889. - application/json
  12890. responses:
  12891. "200":
  12892. description: OK
  12893. schema:
  12894. items:
  12895. $ref: '#/definitions/ermcp.QryReportFinanceKxRsp'
  12896. type: array
  12897. "500":
  12898. description: Internal Server Error
  12899. schema:
  12900. $ref: '#/definitions/app.Response'
  12901. security:
  12902. - ApiKeyAuth: []
  12903. summary: 查询财务日报表款项(菜单:报表查询/财务报表/日报表/款项)
  12904. tags:
  12905. - 企业风险管理(app)
  12906. /Ermcp/QryReportDaySpot:
  12907. get:
  12908. parameters:
  12909. - description: 用户ID
  12910. in: query
  12911. name: userid
  12912. required: true
  12913. type: integer
  12914. - description: 交易日(格式:yyyyMMdd)
  12915. in: query
  12916. name: tradedate
  12917. required: true
  12918. type: string
  12919. produces:
  12920. - application/json
  12921. responses:
  12922. "200":
  12923. description: OK
  12924. schema:
  12925. items:
  12926. $ref: '#/definitions/ermcp.QryReportSpotDayRsp'
  12927. type: array
  12928. "500":
  12929. description: Internal Server Error
  12930. schema:
  12931. $ref: '#/definitions/app.Response'
  12932. security:
  12933. - ApiKeyAuth: []
  12934. summary: 查询现货日报表(菜单:报表查询/现货报表/现货日报表)
  12935. tags:
  12936. - 企业风险管理(app)
  12937. /Ermcp/QryReportDaySpotDetail:
  12938. get:
  12939. parameters:
  12940. - description: 用户ID
  12941. in: query
  12942. name: userid
  12943. required: true
  12944. type: integer
  12945. - description: 现货商品id
  12946. in: query
  12947. name: wrstandardid
  12948. required: true
  12949. type: integer
  12950. - description: 交易日(格式:yyyyMMdd)
  12951. in: query
  12952. name: tradedate
  12953. required: true
  12954. type: string
  12955. produces:
  12956. - application/json
  12957. responses:
  12958. "200":
  12959. description: OK
  12960. schema:
  12961. items:
  12962. $ref: '#/definitions/ermcp.QryReportDaySpotDetailRsp'
  12963. type: array
  12964. "500":
  12965. description: Internal Server Error
  12966. schema:
  12967. $ref: '#/definitions/app.Response'
  12968. security:
  12969. - ApiKeyAuth: []
  12970. summary: 查询现货日报表详情(菜单:报表查询/现货报表/现货日报表详情)
  12971. tags:
  12972. - 企业风险管理(app)
  12973. /Ermcp/QryReportMonthFinance:
  12974. get:
  12975. parameters:
  12976. - description: 用户ID
  12977. in: query
  12978. name: userid
  12979. required: true
  12980. type: integer
  12981. - description: 周期时间:月(格式:yyyyMM)
  12982. in: query
  12983. name: cycletime
  12984. required: true
  12985. type: string
  12986. produces:
  12987. - application/json
  12988. responses:
  12989. "200":
  12990. description: OK
  12991. schema:
  12992. items:
  12993. $ref: '#/definitions/ermcp.QryReportFinanceMonRsp'
  12994. type: array
  12995. "500":
  12996. description: Internal Server Error
  12997. schema:
  12998. $ref: '#/definitions/app.Response'
  12999. security:
  13000. - ApiKeyAuth: []
  13001. summary: 查询财务月报表(菜单:报表查询/财务报表/月报表)
  13002. tags:
  13003. - 企业风险管理(app)
  13004. /Ermcp/QryReportMonthSpot:
  13005. get:
  13006. parameters:
  13007. - description: 用户ID
  13008. in: query
  13009. name: userid
  13010. required: true
  13011. type: integer
  13012. - description: 周期时间:月(格式:yyyyMM)
  13013. in: query
  13014. name: cycletime
  13015. required: true
  13016. type: string
  13017. produces:
  13018. - application/json
  13019. responses:
  13020. "200":
  13021. description: OK
  13022. schema:
  13023. items:
  13024. $ref: '#/definitions/ermcp.QryReportSpotMonRsp'
  13025. type: array
  13026. "500":
  13027. description: Internal Server Error
  13028. schema:
  13029. $ref: '#/definitions/app.Response'
  13030. security:
  13031. - ApiKeyAuth: []
  13032. summary: 查询现货月报表(菜单:报表查询/现货报表/现货月报表)
  13033. tags:
  13034. - 企业风险管理(app)
  13035. /Ermcp/QryReportMonthSpotDetail:
  13036. get:
  13037. parameters:
  13038. - description: 用户ID
  13039. in: query
  13040. name: userid
  13041. required: true
  13042. type: integer
  13043. - description: 现货商品id
  13044. in: query
  13045. name: wrstandardid
  13046. required: true
  13047. type: integer
  13048. - description: 周期时间:月(格式:yyyyMM)
  13049. in: query
  13050. name: cycletime
  13051. required: true
  13052. type: string
  13053. produces:
  13054. - application/json
  13055. responses:
  13056. "200":
  13057. description: OK
  13058. schema:
  13059. items:
  13060. $ref: '#/definitions/ermcp.QryReportSpotMonthDetailRsp'
  13061. type: array
  13062. "500":
  13063. description: Internal Server Error
  13064. schema:
  13065. $ref: '#/definitions/app.Response'
  13066. security:
  13067. - ApiKeyAuth: []
  13068. summary: 查询现货月报表详情(菜单:报表查询/现货月报表/现货月报表详情)
  13069. tags:
  13070. - 企业风险管理(app)
  13071. /Ermcp/QueryAccMgrBizGroupSet:
  13072. get:
  13073. parameters:
  13074. - description: 用户ID
  13075. in: query
  13076. name: userid
  13077. required: true
  13078. type: integer
  13079. produces:
  13080. - application/json
  13081. responses:
  13082. "200":
  13083. description: OK
  13084. schema:
  13085. items:
  13086. $ref: '#/definitions/models.ErmcpBizGroupEx'
  13087. type: array
  13088. "500":
  13089. description: Internal Server Error
  13090. schema:
  13091. $ref: '#/definitions/app.Response'
  13092. security:
  13093. - ApiKeyAuth: []
  13094. summary: 查询业务类型分组(账户管理/账户设置)
  13095. tags:
  13096. - 企业风险管理(app)
  13097. /Ermcp/QueryAccMgrLoginUser:
  13098. get:
  13099. parameters:
  13100. - description: 用户ID
  13101. in: query
  13102. name: userid
  13103. required: true
  13104. type: integer
  13105. produces:
  13106. - application/json
  13107. responses:
  13108. "200":
  13109. description: OK
  13110. schema:
  13111. items:
  13112. $ref: '#/definitions/models.ErmcpLoginUserEx'
  13113. type: array
  13114. "500":
  13115. description: Internal Server Error
  13116. schema:
  13117. $ref: '#/definitions/app.Response'
  13118. security:
  13119. - ApiKeyAuth: []
  13120. summary: 查询账户管理登录账号(账户管理/登录账号)
  13121. tags:
  13122. - 企业风险管理(app)
  13123. /Ermcp/QueryAccMgrMainAccountInfo:
  13124. get:
  13125. parameters:
  13126. - description: 用户ID
  13127. in: query
  13128. name: userid
  13129. type: integer
  13130. - description: 主账号id
  13131. in: query
  13132. name: accountid
  13133. type: integer
  13134. produces:
  13135. - application/json
  13136. responses:
  13137. "200":
  13138. description: OK
  13139. schema:
  13140. items:
  13141. $ref: '#/definitions/models.MainAccountInfo'
  13142. type: array
  13143. "500":
  13144. description: Internal Server Error
  13145. schema:
  13146. $ref: '#/definitions/app.Response'
  13147. security:
  13148. - ApiKeyAuth: []
  13149. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  13150. tags:
  13151. - 企业风险管理(app)
  13152. /Ermcp/QueryAccMgrRole:
  13153. get:
  13154. parameters:
  13155. - description: 用户ID
  13156. in: query
  13157. name: userid
  13158. required: true
  13159. type: integer
  13160. produces:
  13161. - application/json
  13162. responses:
  13163. "200":
  13164. description: OK
  13165. schema:
  13166. items:
  13167. $ref: '#/definitions/models.ErmcpRole'
  13168. type: array
  13169. "500":
  13170. description: Internal Server Error
  13171. schema:
  13172. $ref: '#/definitions/app.Response'
  13173. security:
  13174. - ApiKeyAuth: []
  13175. summary: 查询账户管理角色设置(账户管理/角色设置)
  13176. tags:
  13177. - 企业风险管理(app)
  13178. /Ermcp/QueryAccMgrRoleMenu:
  13179. get:
  13180. parameters:
  13181. - description: 用户ID
  13182. in: query
  13183. name: userid
  13184. required: true
  13185. type: integer
  13186. - description: 角色id(可多个,逗号隔开)
  13187. in: query
  13188. name: roleid
  13189. type: string
  13190. produces:
  13191. - application/json
  13192. responses:
  13193. "200":
  13194. description: OK
  13195. schema:
  13196. items:
  13197. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  13198. type: array
  13199. "500":
  13200. description: Internal Server Error
  13201. schema:
  13202. $ref: '#/definitions/app.Response'
  13203. security:
  13204. - ApiKeyAuth: []
  13205. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  13206. tags:
  13207. - 企业风险管理(app)
  13208. /Ermcp/QueryAccMgrTaAccountInfo:
  13209. get:
  13210. parameters:
  13211. - description: 用户ID
  13212. in: query
  13213. name: userid
  13214. required: true
  13215. type: integer
  13216. - description: 账号id
  13217. in: query
  13218. name: accountid
  13219. type: integer
  13220. produces:
  13221. - application/json
  13222. responses:
  13223. "200":
  13224. description: OK
  13225. schema:
  13226. items:
  13227. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  13228. type: array
  13229. "500":
  13230. description: Internal Server Error
  13231. schema:
  13232. $ref: '#/definitions/app.Response'
  13233. security:
  13234. - ApiKeyAuth: []
  13235. summary: 查询账户管理授信(账户管理/账户设置/授信)
  13236. tags:
  13237. - 企业风险管理(app)
  13238. /Ermcp/QueryAccMgrTaaccount:
  13239. get:
  13240. parameters:
  13241. - description: 用户ID
  13242. in: query
  13243. name: userid
  13244. required: true
  13245. type: integer
  13246. produces:
  13247. - application/json
  13248. responses:
  13249. "200":
  13250. description: OK
  13251. schema:
  13252. items:
  13253. $ref: '#/definitions/models.ErmcpTaAccountEx'
  13254. type: array
  13255. "500":
  13256. description: Internal Server Error
  13257. schema:
  13258. $ref: '#/definitions/app.Response'
  13259. security:
  13260. - ApiKeyAuth: []
  13261. summary: 查询账户管理期货账号(账户管理/期货账号)
  13262. tags:
  13263. - 企业风险管理(app)
  13264. /Ermcp/QueryAreaStock:
  13265. get:
  13266. parameters:
  13267. - description: 用户ID
  13268. in: query
  13269. name: userid
  13270. required: true
  13271. type: integer
  13272. produces:
  13273. - application/json
  13274. responses:
  13275. "200":
  13276. description: OK
  13277. schema:
  13278. items:
  13279. $ref: '#/definitions/models.ErmcpAreaStock'
  13280. type: array
  13281. "500":
  13282. description: Internal Server Error
  13283. schema:
  13284. $ref: '#/definitions/app.Response'
  13285. security:
  13286. - ApiKeyAuth: []
  13287. summary: 查询机构库存(库存管理/当前库存)
  13288. tags:
  13289. - 企业风险管理(app)
  13290. /Ermcp/QueryAreaStockApply:
  13291. get:
  13292. parameters:
  13293. - description: 用户ID
  13294. in: query
  13295. name: userid
  13296. required: true
  13297. type: integer
  13298. - description: 出入库类型(可多项,逗号隔开) 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  13299. in: query
  13300. name: inouttype
  13301. type: string
  13302. - description: 合同ID
  13303. in: query
  13304. name: spotcontractid
  13305. type: integer
  13306. - description: 现货商品ID
  13307. in: query
  13308. name: wrstandardid
  13309. type: integer
  13310. - description: 品牌ID
  13311. in: query
  13312. name: spotgoodsbrandid
  13313. type: integer
  13314. - description: 型号ID
  13315. in: query
  13316. name: spotgoodsmodelid
  13317. type: integer
  13318. - description: 仓库ID
  13319. in: query
  13320. name: warehouseinfoid
  13321. type: integer
  13322. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13323. in: query
  13324. name: applystatus
  13325. type: string
  13326. produces:
  13327. - application/json
  13328. responses:
  13329. "200":
  13330. description: OK
  13331. schema:
  13332. items:
  13333. $ref: '#/definitions/ermcp.QryAreaStockApplyRsp'
  13334. type: array
  13335. "500":
  13336. description: Internal Server Error
  13337. schema:
  13338. $ref: '#/definitions/app.Response'
  13339. security:
  13340. - ApiKeyAuth: []
  13341. summary: 查询库存申请(出入库记录|库存审核)
  13342. tags:
  13343. - 企业风险管理(app)
  13344. /Ermcp/QueryAreaStockApplySum:
  13345. get:
  13346. parameters:
  13347. - description: 合同ID
  13348. in: query
  13349. name: spotcontractid
  13350. type: integer
  13351. produces:
  13352. - application/json
  13353. responses:
  13354. "200":
  13355. description: OK
  13356. schema:
  13357. items:
  13358. $ref: '#/definitions/ermcp.QueryAreaStockApplySumRsp'
  13359. type: array
  13360. "500":
  13361. description: Internal Server Error
  13362. schema:
  13363. $ref: '#/definitions/app.Response'
  13364. security:
  13365. - ApiKeyAuth: []
  13366. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  13367. tags:
  13368. - 企业风险管理(app)
  13369. /Ermcp/QueryAreaStockReport:
  13370. get:
  13371. parameters:
  13372. - description: 用户ID
  13373. in: query
  13374. name: userid
  13375. required: true
  13376. type: integer
  13377. - description: 查询类型 1-日报表 2-月报表
  13378. in: query
  13379. name: querytype
  13380. required: true
  13381. type: integer
  13382. - description: 查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)
  13383. in: query
  13384. name: querydate
  13385. required: true
  13386. type: string
  13387. - description: 现货商品ID
  13388. in: query
  13389. name: wrstandardid
  13390. type: integer
  13391. - description: 品牌ID
  13392. in: query
  13393. name: spotgoodsbrandid
  13394. type: integer
  13395. - description: 型号ID
  13396. in: query
  13397. name: spotgoodsmodelid
  13398. type: integer
  13399. - description: 仓库ID
  13400. in: query
  13401. name: warehouseinfoid
  13402. type: integer
  13403. produces:
  13404. - application/json
  13405. responses:
  13406. "200":
  13407. description: OK
  13408. schema:
  13409. items:
  13410. $ref: '#/definitions/models.ErmcpAreaStockReport'
  13411. type: array
  13412. "500":
  13413. description: Internal Server Error
  13414. schema:
  13415. $ref: '#/definitions/app.Response'
  13416. security:
  13417. - ApiKeyAuth: []
  13418. summary: 查询库存报表
  13419. tags:
  13420. - 企业风险管理(app)
  13421. /Ermcp/QueryAreaStockReportDetail:
  13422. get:
  13423. parameters:
  13424. - description: 用户ID
  13425. in: query
  13426. name: userid
  13427. required: true
  13428. type: integer
  13429. - description: 查询类型 1-日报表明细 2-月报表明细
  13430. in: query
  13431. name: querytype
  13432. required: true
  13433. type: integer
  13434. - description: 明细类型 1:入库明细(采购入库+生产入库) 2:出库明细(销售出库+生产出库)
  13435. in: query
  13436. name: detailtype
  13437. required: true
  13438. type: integer
  13439. - description: 查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)
  13440. in: query
  13441. name: querydate
  13442. required: true
  13443. type: string
  13444. - description: 现货商品ID
  13445. in: query
  13446. name: wrstandardid
  13447. type: integer
  13448. - description: 品牌ID
  13449. in: query
  13450. name: spotgoodsbrandid
  13451. type: integer
  13452. - description: 型号ID
  13453. in: query
  13454. name: spotgoodsmodelid
  13455. type: integer
  13456. - description: 仓库ID
  13457. in: query
  13458. name: warehouseinfoid
  13459. type: integer
  13460. produces:
  13461. - application/json
  13462. responses:
  13463. "200":
  13464. description: OK
  13465. schema:
  13466. items:
  13467. $ref: '#/definitions/models.ErmcpAreaStockApply'
  13468. type: array
  13469. "500":
  13470. description: Internal Server Error
  13471. schema:
  13472. $ref: '#/definitions/app.Response'
  13473. security:
  13474. - ApiKeyAuth: []
  13475. summary: 查询库存报表明细
  13476. tags:
  13477. - 企业风险管理(app)
  13478. /Ermcp/QueryAvaildGoodsGroup:
  13479. get:
  13480. parameters:
  13481. - description: 所属机构ID
  13482. in: query
  13483. name: userid
  13484. required: true
  13485. type: integer
  13486. produces:
  13487. - application/json
  13488. responses:
  13489. "200":
  13490. description: OK
  13491. schema:
  13492. items:
  13493. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  13494. type: array
  13495. "500":
  13496. description: Internal Server Error
  13497. schema:
  13498. $ref: '#/definitions/app.Response'
  13499. security:
  13500. - ApiKeyAuth: []
  13501. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  13502. tags:
  13503. - 企业风险管理(app)
  13504. /Ermcp/QueryBusinessDj:
  13505. get:
  13506. parameters:
  13507. - description: 用户ID
  13508. in: query
  13509. name: UserId
  13510. required: true
  13511. type: integer
  13512. - description: 现货合同ID, 不填则查所有
  13513. in: query
  13514. name: relatedid
  13515. type: string
  13516. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13517. in: query
  13518. name: applystatus
  13519. type: string
  13520. produces:
  13521. - application/json
  13522. responses:
  13523. "200":
  13524. description: OK
  13525. schema:
  13526. items:
  13527. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  13528. type: array
  13529. "500":
  13530. description: Internal Server Error
  13531. schema:
  13532. $ref: '#/definitions/app.Response'
  13533. security:
  13534. - ApiKeyAuth: []
  13535. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  13536. tags:
  13537. - 企业风险管理(app)
  13538. /Ermcp/QueryBusinessFp:
  13539. get:
  13540. parameters:
  13541. - description: 用户ID
  13542. in: query
  13543. name: UserId
  13544. required: true
  13545. type: integer
  13546. - description: 现货合同ID, 不填则查所有
  13547. in: query
  13548. name: relatedid
  13549. type: string
  13550. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13551. in: query
  13552. name: applystatus
  13553. type: string
  13554. produces:
  13555. - application/json
  13556. responses:
  13557. "200":
  13558. description: OK
  13559. schema:
  13560. items:
  13561. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  13562. type: array
  13563. "500":
  13564. description: Internal Server Error
  13565. schema:
  13566. $ref: '#/definitions/app.Response'
  13567. security:
  13568. - ApiKeyAuth: []
  13569. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  13570. tags:
  13571. - 企业风险管理(app)
  13572. /Ermcp/QueryBusinessJs:
  13573. get:
  13574. parameters:
  13575. - description: 用户ID
  13576. in: query
  13577. name: UserId
  13578. required: true
  13579. type: integer
  13580. - description: 现货合同ID, 不填则查所有
  13581. in: query
  13582. name: relatedid
  13583. type: string
  13584. - description: 操作申请id
  13585. in: query
  13586. name: operateapplyid
  13587. type: string
  13588. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13589. in: query
  13590. name: applystatus
  13591. type: string
  13592. produces:
  13593. - application/json
  13594. responses:
  13595. "200":
  13596. description: OK
  13597. schema:
  13598. items:
  13599. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  13600. type: array
  13601. "500":
  13602. description: Internal Server Error
  13603. schema:
  13604. $ref: '#/definitions/app.Response'
  13605. security:
  13606. - ApiKeyAuth: []
  13607. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  13608. tags:
  13609. - 企业风险管理(app)
  13610. /Ermcp/QueryBusinessJsEx:
  13611. get:
  13612. parameters:
  13613. - description: 用户ID
  13614. in: query
  13615. name: UserId
  13616. required: true
  13617. type: integer
  13618. - description: 现货合同ID, 不填则查所有
  13619. in: query
  13620. name: relatedid
  13621. type: string
  13622. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13623. in: query
  13624. name: applystatus
  13625. type: string
  13626. produces:
  13627. - application/json
  13628. responses:
  13629. "200":
  13630. description: OK
  13631. schema:
  13632. items:
  13633. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  13634. type: array
  13635. "500":
  13636. description: Internal Server Error
  13637. schema:
  13638. $ref: '#/definitions/app.Response'
  13639. security:
  13640. - ApiKeyAuth: []
  13641. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  13642. tags:
  13643. - 企业风险管理(app)
  13644. /Ermcp/QueryBusinessKx:
  13645. get:
  13646. parameters:
  13647. - description: 用户ID
  13648. in: query
  13649. name: UserId
  13650. required: true
  13651. type: integer
  13652. - description: 现货合同ID, 不填则查所有
  13653. in: query
  13654. name: relatedid
  13655. type: string
  13656. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13657. in: query
  13658. name: applystatus
  13659. type: string
  13660. produces:
  13661. - application/json
  13662. responses:
  13663. "200":
  13664. description: OK
  13665. schema:
  13666. items:
  13667. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  13668. type: array
  13669. "500":
  13670. description: Internal Server Error
  13671. schema:
  13672. $ref: '#/definitions/app.Response'
  13673. security:
  13674. - ApiKeyAuth: []
  13675. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  13676. tags:
  13677. - 企业风险管理(app)
  13678. /Ermcp/QueryChangeLog:
  13679. get:
  13680. parameters:
  13681. - description: 合同ID
  13682. in: query
  13683. name: RelatedId
  13684. required: true
  13685. type: string
  13686. produces:
  13687. - application/json
  13688. responses:
  13689. "200":
  13690. description: OK
  13691. schema:
  13692. items:
  13693. $ref: '#/definitions/ermcp.QryOPLogRsp'
  13694. type: array
  13695. "500":
  13696. description: Internal Server Error
  13697. schema:
  13698. $ref: '#/definitions/app.Response'
  13699. security:
  13700. - ApiKeyAuth: []
  13701. summary: 查询变更记录
  13702. tags:
  13703. - 企业风险管理(app)
  13704. /Ermcp/QueryContract:
  13705. get:
  13706. parameters:
  13707. - description: 用户ID
  13708. in: query
  13709. name: userId
  13710. required: true
  13711. type: integer
  13712. - description: 合同类型 1-采购, -1-销售
  13713. in: query
  13714. name: contracttype
  13715. required: true
  13716. type: integer
  13717. - description: 查询类型 1-全部 2-待点价 3-履约结算
  13718. in: query
  13719. name: querytype
  13720. required: true
  13721. type: integer
  13722. - description: 合同ID(SpotContractId)
  13723. in: query
  13724. name: contractid
  13725. type: string
  13726. produces:
  13727. - application/json
  13728. responses:
  13729. "200":
  13730. description: OK
  13731. schema:
  13732. items:
  13733. $ref: '#/definitions/ermcp.QryErmcpRsp'
  13734. type: array
  13735. "500":
  13736. description: Internal Server Error
  13737. schema:
  13738. $ref: '#/definitions/app.Response'
  13739. security:
  13740. - ApiKeyAuth: []
  13741. summary: 查询合同(采购和销售)
  13742. tags:
  13743. - 企业风险管理(app)
  13744. /Ermcp/QueryErmcpHisOrderDetails:
  13745. get:
  13746. parameters:
  13747. - description: 资金账户ID
  13748. in: query
  13749. name: accountID
  13750. required: true
  13751. type: integer
  13752. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  13753. in: query
  13754. name: startDate
  13755. type: string
  13756. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  13757. in: query
  13758. name: endDate
  13759. type: string
  13760. produces:
  13761. - application/json
  13762. responses:
  13763. "200":
  13764. description: OK
  13765. schema:
  13766. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  13767. "500":
  13768. description: Internal Server Error
  13769. schema:
  13770. $ref: '#/definitions/app.Response'
  13771. security:
  13772. - ApiKeyAuth: []
  13773. summary: 获取企业风管期货历史委托单信息
  13774. tags:
  13775. - 企业风险管理(app)
  13776. /Ermcp/QueryErmcpHisTradeDetails:
  13777. get:
  13778. parameters:
  13779. - description: 资金账户ID
  13780. in: query
  13781. name: accountID
  13782. required: true
  13783. type: integer
  13784. - description: 商品ID
  13785. in: query
  13786. name: goodsID
  13787. type: integer
  13788. - description: 买卖方向,0:买 1:卖
  13789. in: query
  13790. name: buyOrSell
  13791. type: integer
  13792. - description: 关联委托单号
  13793. in: query
  13794. name: orderID
  13795. type: integer
  13796. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  13797. in: query
  13798. name: startDate
  13799. type: string
  13800. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  13801. in: query
  13802. name: endDate
  13803. type: string
  13804. produces:
  13805. - application/json
  13806. responses:
  13807. "200":
  13808. description: OK
  13809. schema:
  13810. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  13811. "500":
  13812. description: Internal Server Error
  13813. schema:
  13814. $ref: '#/definitions/app.Response'
  13815. security:
  13816. - ApiKeyAuth: []
  13817. summary: 获取企业风管期货历史成交单信息
  13818. tags:
  13819. - 企业风险管理(app)
  13820. /Ermcp/QueryErmcpInnerHolderDetails:
  13821. get:
  13822. parameters:
  13823. - description: 资金账户ID
  13824. in: query
  13825. name: accountID
  13826. required: true
  13827. type: integer
  13828. - description: 商品ID
  13829. in: query
  13830. name: goodsID
  13831. type: integer
  13832. - description: 买卖方向,0:买 1:卖
  13833. in: query
  13834. name: buyOrSell
  13835. type: integer
  13836. produces:
  13837. - application/json
  13838. responses:
  13839. "200":
  13840. description: OK
  13841. schema:
  13842. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  13843. "500":
  13844. description: Internal Server Error
  13845. schema:
  13846. $ref: '#/definitions/app.Response'
  13847. security:
  13848. - ApiKeyAuth: []
  13849. summary: 获取企业风管期货内部持仓单信息
  13850. tags:
  13851. - 企业风险管理(app)
  13852. /Ermcp/QueryErmcpOrderDetails:
  13853. get:
  13854. parameters:
  13855. - description: 资金账户ID
  13856. in: query
  13857. name: accountID
  13858. required: true
  13859. type: integer
  13860. produces:
  13861. - application/json
  13862. responses:
  13863. "200":
  13864. description: OK
  13865. schema:
  13866. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  13867. "500":
  13868. description: Internal Server Error
  13869. schema:
  13870. $ref: '#/definitions/app.Response'
  13871. security:
  13872. - ApiKeyAuth: []
  13873. summary: 获取企业风管期货委托单信息
  13874. tags:
  13875. - 企业风险管理(app)
  13876. /Ermcp/QueryErmcpTradeDetails:
  13877. get:
  13878. parameters:
  13879. - description: 资金账户ID
  13880. in: query
  13881. name: accountID
  13882. required: true
  13883. type: integer
  13884. - description: 商品ID
  13885. in: query
  13886. name: goodsID
  13887. type: integer
  13888. - description: 买卖方向,0:买 1:卖
  13889. in: query
  13890. name: buyOrSell
  13891. type: integer
  13892. - description: 关联委托单号
  13893. in: query
  13894. name: orderID
  13895. type: integer
  13896. produces:
  13897. - application/json
  13898. responses:
  13899. "200":
  13900. description: OK
  13901. schema:
  13902. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  13903. "500":
  13904. description: Internal Server Error
  13905. schema:
  13906. $ref: '#/definitions/app.Response'
  13907. security:
  13908. - ApiKeyAuth: []
  13909. summary: 获取企业风管期货成交单信息
  13910. tags:
  13911. - 企业风险管理(app)
  13912. /Ermcp/QueryErmcpTradePosition:
  13913. get:
  13914. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  13915. parameters:
  13916. - description: 资金账户ID
  13917. in: query
  13918. name: accountID
  13919. required: true
  13920. type: integer
  13921. - description: 所属市场ID
  13922. in: query
  13923. name: marketID
  13924. type: integer
  13925. produces:
  13926. - application/json
  13927. responses:
  13928. "200":
  13929. description: OK
  13930. schema:
  13931. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  13932. "500":
  13933. description: Internal Server Error
  13934. schema:
  13935. $ref: '#/definitions/app.Response'
  13936. security:
  13937. - ApiKeyAuth: []
  13938. summary: 获取企业风管期货持仓头寸信息
  13939. tags:
  13940. - 企业风险管理(app)
  13941. /Ermcp/QueryExposureDetail:
  13942. get:
  13943. parameters:
  13944. - description: 所属机构ID
  13945. in: query
  13946. name: areaUserId
  13947. required: true
  13948. type: integer
  13949. - description: 套保商品
  13950. in: query
  13951. name: middleGoodsId
  13952. required: true
  13953. type: integer
  13954. produces:
  13955. - application/json
  13956. responses:
  13957. "200":
  13958. description: OK
  13959. schema:
  13960. items:
  13961. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  13962. type: array
  13963. "500":
  13964. description: Internal Server Error
  13965. schema:
  13966. $ref: '#/definitions/app.Response'
  13967. security:
  13968. - ApiKeyAuth: []
  13969. summary: 查询敞口现货明细
  13970. tags:
  13971. - 企业风险管理(app)
  13972. /Ermcp/QueryExposureHedgePosition:
  13973. get:
  13974. parameters:
  13975. - description: 所属机构ID
  13976. in: query
  13977. name: areaUserId
  13978. required: true
  13979. type: integer
  13980. produces:
  13981. - application/json
  13982. responses:
  13983. "200":
  13984. description: OK
  13985. schema:
  13986. items:
  13987. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  13988. type: array
  13989. "500":
  13990. description: Internal Server Error
  13991. schema:
  13992. $ref: '#/definitions/app.Response'
  13993. security:
  13994. - ApiKeyAuth: []
  13995. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  13996. tags:
  13997. - 企业风险管理(app)
  13998. /Ermcp/QueryExposureHedgePositionDetail:
  13999. get:
  14000. parameters:
  14001. - description: 所属机构ID
  14002. in: query
  14003. name: areaUserId
  14004. required: true
  14005. type: integer
  14006. - description: 商品id
  14007. in: query
  14008. name: goodsId
  14009. required: true
  14010. type: integer
  14011. produces:
  14012. - application/json
  14013. responses:
  14014. "200":
  14015. description: OK
  14016. schema:
  14017. items:
  14018. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  14019. type: array
  14020. "500":
  14021. description: Internal Server Error
  14022. schema:
  14023. $ref: '#/definitions/app.Response'
  14024. security:
  14025. - ApiKeyAuth: []
  14026. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  14027. tags:
  14028. - 企业风险管理(app)
  14029. /Ermcp/QueryExposureSpot:
  14030. get:
  14031. parameters:
  14032. - description: 所属机构ID
  14033. in: query
  14034. name: areaUserId
  14035. required: true
  14036. type: integer
  14037. produces:
  14038. - application/json
  14039. responses:
  14040. "200":
  14041. description: OK
  14042. schema:
  14043. items:
  14044. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  14045. type: array
  14046. "500":
  14047. description: Internal Server Error
  14048. schema:
  14049. $ref: '#/definitions/app.Response'
  14050. security:
  14051. - ApiKeyAuth: []
  14052. summary: 查询敞口现货头寸(敞口/现货头寸)
  14053. tags:
  14054. - 企业风险管理(app)
  14055. /Ermcp/QueryExposureSpotDetail:
  14056. get:
  14057. parameters:
  14058. - description: 所属机构ID
  14059. in: query
  14060. name: areaUserId
  14061. required: true
  14062. type: integer
  14063. - description: 现货品种ID
  14064. in: query
  14065. name: wrstandardId
  14066. required: true
  14067. type: integer
  14068. produces:
  14069. - application/json
  14070. responses:
  14071. "200":
  14072. description: OK
  14073. schema:
  14074. items:
  14075. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  14076. type: array
  14077. "500":
  14078. description: Internal Server Error
  14079. schema:
  14080. $ref: '#/definitions/app.Response'
  14081. security:
  14082. - ApiKeyAuth: []
  14083. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  14084. tags:
  14085. - 企业风险管理(app)
  14086. /Ermcp/QueryFuturesCompany:
  14087. get:
  14088. produces:
  14089. - application/json
  14090. responses:
  14091. "200":
  14092. description: OK
  14093. schema:
  14094. items:
  14095. $ref: '#/definitions/models.ErmcpFuturesCompany'
  14096. type: array
  14097. "500":
  14098. description: Internal Server Error
  14099. schema:
  14100. $ref: '#/definitions/app.Response'
  14101. security:
  14102. - ApiKeyAuth: []
  14103. summary: 查询期货公司
  14104. tags:
  14105. - 企业风险管理(app)
  14106. /Ermcp/QueryGGConvertConfig:
  14107. get:
  14108. parameters:
  14109. - description: 品种id(不填则查所有)
  14110. in: query
  14111. name: goodsgroupid
  14112. type: integer
  14113. produces:
  14114. - application/json
  14115. responses:
  14116. "200":
  14117. description: OK
  14118. schema:
  14119. items:
  14120. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  14121. type: array
  14122. "500":
  14123. description: Internal Server Error
  14124. schema:
  14125. $ref: '#/definitions/app.Response'
  14126. security:
  14127. - ApiKeyAuth: []
  14128. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  14129. tags:
  14130. - 企业风险管理(app)
  14131. /Ermcp/QueryGoodsBrand:
  14132. get:
  14133. parameters:
  14134. - description: 用户ID
  14135. in: query
  14136. name: userid
  14137. required: true
  14138. type: integer
  14139. - description: 现货商品ID
  14140. in: query
  14141. name: wrstandardid
  14142. type: integer
  14143. produces:
  14144. - application/json
  14145. responses:
  14146. "200":
  14147. description: OK
  14148. schema:
  14149. items:
  14150. $ref: '#/definitions/models.ErmcpGoodsBrand'
  14151. type: array
  14152. "500":
  14153. description: Internal Server Error
  14154. schema:
  14155. $ref: '#/definitions/app.Response'
  14156. security:
  14157. - ApiKeyAuth: []
  14158. summary: 查询商品品牌
  14159. tags:
  14160. - 企业风险管理(app)
  14161. /Ermcp/QueryGoodsModel:
  14162. get:
  14163. parameters:
  14164. - description: 用户ID
  14165. in: query
  14166. name: userid
  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/models.ErmcpGoodsModel'
  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/QueryHedgePlan:
  14188. get:
  14189. parameters:
  14190. - description: 用户ID
  14191. in: query
  14192. name: userId
  14193. required: true
  14194. type: integer
  14195. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  14196. in: query
  14197. name: HedgePlanStatus
  14198. required: true
  14199. type: string
  14200. produces:
  14201. - application/json
  14202. responses:
  14203. "200":
  14204. description: OK
  14205. schema:
  14206. items:
  14207. $ref: '#/definitions/ermcp.QryHedgePlanRsp'
  14208. type: array
  14209. "500":
  14210. description: Internal Server Error
  14211. schema:
  14212. $ref: '#/definitions/app.Response'
  14213. security:
  14214. - ApiKeyAuth: []
  14215. summary: 查询套保计划
  14216. tags:
  14217. - 企业风险管理(app)
  14218. /Ermcp/QueryHisExposure:
  14219. get:
  14220. parameters:
  14221. - description: 所属机构ID
  14222. in: query
  14223. name: areaUserId
  14224. required: true
  14225. type: integer
  14226. - description: 每个品种记录数
  14227. in: query
  14228. name: lastNum
  14229. required: true
  14230. type: integer
  14231. produces:
  14232. - application/json
  14233. responses:
  14234. "200":
  14235. description: OK
  14236. schema:
  14237. items:
  14238. $ref: '#/definitions/ermcp.HisExposureRsp'
  14239. type: array
  14240. "500":
  14241. description: Internal Server Error
  14242. schema:
  14243. $ref: '#/definitions/app.Response'
  14244. security:
  14245. - ApiKeyAuth: []
  14246. summary: 查询历史敞口(菜单:敞口/历史敞口)
  14247. tags:
  14248. - 企业风险管理(app)
  14249. /Ermcp/QueryMiddleGoods:
  14250. get:
  14251. parameters:
  14252. - description: 所属机构ID
  14253. in: query
  14254. name: userid
  14255. required: true
  14256. type: integer
  14257. - description: 状态 0-停用 1-正常
  14258. in: query
  14259. name: status
  14260. required: true
  14261. type: integer
  14262. produces:
  14263. - application/json
  14264. responses:
  14265. "200":
  14266. description: OK
  14267. schema:
  14268. items:
  14269. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  14270. type: array
  14271. "500":
  14272. description: Internal Server Error
  14273. schema:
  14274. $ref: '#/definitions/app.Response'
  14275. security:
  14276. - ApiKeyAuth: []
  14277. summary: 查询套保品种(菜单:套保品种)
  14278. tags:
  14279. - 企业风险管理(app)
  14280. /Ermcp/QueryMiddleGoodsChangeLog:
  14281. get:
  14282. parameters:
  14283. - description: 所属机构ID
  14284. in: query
  14285. name: userid
  14286. required: true
  14287. type: integer
  14288. - description: 套保品种id
  14289. in: query
  14290. name: middlegoodsid
  14291. required: true
  14292. type: integer
  14293. produces:
  14294. - application/json
  14295. responses:
  14296. "200":
  14297. description: OK
  14298. schema:
  14299. items:
  14300. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  14301. type: array
  14302. "500":
  14303. description: Internal Server Error
  14304. schema:
  14305. $ref: '#/definitions/app.Response'
  14306. security:
  14307. - ApiKeyAuth: []
  14308. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  14309. tags:
  14310. - 企业风险管理(app)
  14311. /Ermcp/QueryMiddleGoodsDetail:
  14312. get:
  14313. parameters:
  14314. - description: 所属机构ID
  14315. in: query
  14316. name: userid
  14317. required: true
  14318. type: integer
  14319. - description: 套保品种id
  14320. in: query
  14321. name: middlegoodsid
  14322. type: integer
  14323. produces:
  14324. - application/json
  14325. responses:
  14326. "200":
  14327. description: OK
  14328. schema:
  14329. items:
  14330. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  14331. type: array
  14332. "500":
  14333. description: Internal Server Error
  14334. schema:
  14335. $ref: '#/definitions/app.Response'
  14336. security:
  14337. - ApiKeyAuth: []
  14338. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  14339. tags:
  14340. - 企业风险管理(app)
  14341. /Ermcp/QueryPendingAuditInfo:
  14342. get:
  14343. parameters:
  14344. - description: 用户ID
  14345. in: query
  14346. name: UserId
  14347. required: true
  14348. type: integer
  14349. produces:
  14350. - application/json
  14351. responses:
  14352. "200":
  14353. description: OK
  14354. schema:
  14355. items:
  14356. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  14357. type: array
  14358. "500":
  14359. description: Internal Server Error
  14360. schema:
  14361. $ref: '#/definitions/app.Response'
  14362. security:
  14363. - ApiKeyAuth: []
  14364. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  14365. tags:
  14366. - 企业风险管理(app)
  14367. /Ermcp/QueryRealtimeExposure:
  14368. get:
  14369. parameters:
  14370. - description: 所属机构ID
  14371. in: query
  14372. name: AreaUserID
  14373. required: true
  14374. type: integer
  14375. produces:
  14376. - application/json
  14377. responses:
  14378. "200":
  14379. description: OK
  14380. schema:
  14381. items:
  14382. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  14383. type: array
  14384. "500":
  14385. description: Internal Server Error
  14386. schema:
  14387. $ref: '#/definitions/app.Response'
  14388. security:
  14389. - ApiKeyAuth: []
  14390. summary: 查询实时敞口
  14391. tags:
  14392. - 企业风险管理(app)
  14393. /Ermcp/QueryRealtimeExposurePosition:
  14394. get:
  14395. parameters:
  14396. - description: 所属机构ID
  14397. in: query
  14398. name: areaUserId
  14399. required: true
  14400. type: integer
  14401. - description: 套保商品ID
  14402. in: query
  14403. name: middleGoodsId
  14404. required: true
  14405. type: integer
  14406. produces:
  14407. - application/json
  14408. responses:
  14409. "200":
  14410. description: OK
  14411. schema:
  14412. items:
  14413. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  14414. type: array
  14415. "500":
  14416. description: Internal Server Error
  14417. schema:
  14418. $ref: '#/definitions/app.Response'
  14419. security:
  14420. - ApiKeyAuth: []
  14421. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  14422. tags:
  14423. - 企业风险管理(app)
  14424. /Ermcp/QuerySpotContract:
  14425. get:
  14426. parameters:
  14427. - description: 用户ID
  14428. in: query
  14429. name: userId
  14430. required: true
  14431. type: integer
  14432. - description: 查询类型 1-未提交 2-待审核 3-履约中 4-已完成
  14433. in: query
  14434. name: QueryType
  14435. required: true
  14436. type: integer
  14437. produces:
  14438. - application/json
  14439. responses:
  14440. "200":
  14441. description: OK
  14442. schema:
  14443. items:
  14444. $ref: '#/definitions/ermcp.QrySpotContractRsp'
  14445. type: array
  14446. "500":
  14447. description: Internal Server Error
  14448. schema:
  14449. $ref: '#/definitions/app.Response'
  14450. security:
  14451. - ApiKeyAuth: []
  14452. summary: 查询现货合同(对应现货合同菜单)
  14453. tags:
  14454. - 企业风险管理(app)
  14455. /Ermcp/QuerySpotGoodsPrice:
  14456. get:
  14457. parameters:
  14458. - description: 用户ID
  14459. in: query
  14460. name: userid
  14461. required: true
  14462. type: integer
  14463. produces:
  14464. - application/json
  14465. responses:
  14466. "200":
  14467. description: OK
  14468. schema:
  14469. items:
  14470. $ref: '#/definitions/models.ErmcpSpotGoodsPrice'
  14471. type: array
  14472. "500":
  14473. description: Internal Server Error
  14474. schema:
  14475. $ref: '#/definitions/app.Response'
  14476. security:
  14477. - ApiKeyAuth: []
  14478. summary: 查询现货市价(现货市价)
  14479. tags:
  14480. - 企业风险管理(app)
  14481. /Ermcp/QuerySpotGoodsPriceLog:
  14482. get:
  14483. parameters:
  14484. - description: 用户ID
  14485. in: query
  14486. name: userid
  14487. required: true
  14488. type: integer
  14489. - description: 现货商品ID
  14490. in: query
  14491. name: wrstandardid
  14492. required: true
  14493. type: integer
  14494. produces:
  14495. - application/json
  14496. responses:
  14497. "200":
  14498. description: OK
  14499. schema:
  14500. items:
  14501. $ref: '#/definitions/models.ErmcpSpotGoodsPriceLog'
  14502. type: array
  14503. "500":
  14504. description: Internal Server Error
  14505. schema:
  14506. $ref: '#/definitions/app.Response'
  14507. security:
  14508. - ApiKeyAuth: []
  14509. summary: 查询现货市价详情(现货市价/详情)
  14510. tags:
  14511. - 企业风险管理(app)
  14512. /Ermcp/QueryTradeConfigTMP:
  14513. get:
  14514. parameters:
  14515. - description: 所属机构id
  14516. in: query
  14517. name: areauserid
  14518. type: integer
  14519. produces:
  14520. - application/json
  14521. responses:
  14522. "200":
  14523. description: OK
  14524. schema:
  14525. items:
  14526. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  14527. type: array
  14528. "500":
  14529. description: Internal Server Error
  14530. schema:
  14531. $ref: '#/definitions/app.Response'
  14532. security:
  14533. - ApiKeyAuth: []
  14534. summary: 查询交易模板配置
  14535. tags:
  14536. - 企业风险管理(app)
  14537. /Ermcp/QueryUserInfo:
  14538. get:
  14539. parameters:
  14540. - description: 所属机构用户ID
  14541. in: query
  14542. name: MemberUserID
  14543. required: true
  14544. type: integer
  14545. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  14546. in: query
  14547. name: queryType
  14548. required: true
  14549. type: integer
  14550. produces:
  14551. - application/json
  14552. responses:
  14553. "200":
  14554. description: OK
  14555. schema:
  14556. items:
  14557. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  14558. type: array
  14559. "500":
  14560. description: Internal Server Error
  14561. schema:
  14562. $ref: '#/definitions/app.Response'
  14563. security:
  14564. - ApiKeyAuth: []
  14565. summary: 查询客户资料
  14566. tags:
  14567. - 企业风险管理(app)
  14568. /Ermcp/QueryWarehouseInfo:
  14569. get:
  14570. parameters:
  14571. - description: 用户ID
  14572. in: query
  14573. name: userid
  14574. required: true
  14575. type: integer
  14576. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  14577. in: query
  14578. name: status
  14579. type: string
  14580. produces:
  14581. - application/json
  14582. responses:
  14583. "200":
  14584. description: OK
  14585. schema:
  14586. items:
  14587. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  14588. type: array
  14589. "500":
  14590. description: Internal Server Error
  14591. schema:
  14592. $ref: '#/definitions/app.Response'
  14593. security:
  14594. - ApiKeyAuth: []
  14595. summary: 查询仓库信息
  14596. tags:
  14597. - 企业风险管理(app)
  14598. /Ermcp/QueryWrStandard:
  14599. get:
  14600. parameters:
  14601. - description: 所属机构ID
  14602. in: query
  14603. name: userid
  14604. required: true
  14605. type: integer
  14606. - description: 状态 0-停用 1-正常
  14607. in: query
  14608. name: status
  14609. required: true
  14610. type: integer
  14611. produces:
  14612. - application/json
  14613. responses:
  14614. "200":
  14615. description: OK
  14616. schema:
  14617. items:
  14618. $ref: '#/definitions/ermcp.QryWrStandardRsp'
  14619. type: array
  14620. "500":
  14621. description: Internal Server Error
  14622. schema:
  14623. $ref: '#/definitions/app.Response'
  14624. security:
  14625. - ApiKeyAuth: []
  14626. summary: 查询现货商品
  14627. tags:
  14628. - 企业风险管理(app)
  14629. /Ermcp/QueryWrStandardDetail:
  14630. get:
  14631. parameters:
  14632. - description: 所属机构ID
  14633. in: query
  14634. name: userid
  14635. required: true
  14636. type: integer
  14637. - description: 现货商品ID
  14638. in: query
  14639. name: wrstandardid
  14640. type: integer
  14641. - description: 可不填, 1-查询关联交易商品
  14642. in: query
  14643. name: goods
  14644. type: integer
  14645. produces:
  14646. - application/json
  14647. responses:
  14648. "200":
  14649. description: OK
  14650. schema:
  14651. items:
  14652. $ref: '#/definitions/ermcp.QryWrStandardDetailRsp'
  14653. type: array
  14654. "500":
  14655. description: Internal Server Error
  14656. schema:
  14657. $ref: '#/definitions/app.Response'
  14658. security:
  14659. - ApiKeyAuth: []
  14660. summary: 查询现货商品详情(菜单:现货品种/现货品种详情)
  14661. tags:
  14662. - 企业风险管理(app)
  14663. /Ermcp3/QryReportAreaSpotPL:
  14664. get:
  14665. parameters:
  14666. - description: 用户ID
  14667. in: query
  14668. name: userid
  14669. required: true
  14670. type: integer
  14671. - description: 查询类型 1-日报表 2-月报表
  14672. in: query
  14673. name: querytype
  14674. required: true
  14675. type: integer
  14676. - description: 查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)
  14677. in: query
  14678. name: querydate
  14679. required: true
  14680. type: string
  14681. - description: 现货商品ID
  14682. in: query
  14683. name: deliverygoodsid
  14684. type: integer
  14685. - description: 品牌ID
  14686. in: query
  14687. name: spotgoodsbrandid
  14688. type: integer
  14689. - description: 品类ID
  14690. in: query
  14691. name: wrstandardid
  14692. type: integer
  14693. produces:
  14694. - application/json
  14695. responses:
  14696. "200":
  14697. description: OK
  14698. schema:
  14699. items:
  14700. $ref: '#/definitions/models.Ermcp3ReportAreaSpotPL'
  14701. type: array
  14702. "500":
  14703. description: Internal Server Error
  14704. schema:
  14705. $ref: '#/definitions/app.Response'
  14706. security:
  14707. - ApiKeyAuth: []
  14708. summary: 查询现货损益报表(现货损益报表)
  14709. tags:
  14710. - 企业风险管理v3(app)
  14711. /Ermcp3/QryReportDayFinanceFp:
  14712. get:
  14713. parameters:
  14714. - description: 用户ID
  14715. in: query
  14716. name: userid
  14717. required: true
  14718. type: integer
  14719. - description: 交易日(格式:yyyyMMdd)
  14720. in: query
  14721. name: tradedate
  14722. required: true
  14723. type: string
  14724. produces:
  14725. - application/json
  14726. responses:
  14727. "200":
  14728. description: OK
  14729. schema:
  14730. items:
  14731. $ref: '#/definitions/models.Ermcp3ReportOPLog'
  14732. type: array
  14733. "500":
  14734. description: Internal Server Error
  14735. schema:
  14736. $ref: '#/definitions/app.Response'
  14737. security:
  14738. - ApiKeyAuth: []
  14739. summary: 查询财务日报表发票(菜单:报表查询/财务报表/日报表/发票)
  14740. tags:
  14741. - 企业风险管理v3(app)
  14742. /Ermcp3/QryReportDayFinanceKx:
  14743. get:
  14744. parameters:
  14745. - description: 用户ID
  14746. in: query
  14747. name: userid
  14748. required: true
  14749. type: integer
  14750. - description: 交易日(格式:yyyyMMdd)
  14751. in: query
  14752. name: tradedate
  14753. required: true
  14754. type: string
  14755. produces:
  14756. - application/json
  14757. responses:
  14758. "200":
  14759. description: OK
  14760. schema:
  14761. items:
  14762. $ref: '#/definitions/models.Ermcp3ReportOPLog'
  14763. type: array
  14764. "500":
  14765. description: Internal Server Error
  14766. schema:
  14767. $ref: '#/definitions/app.Response'
  14768. security:
  14769. - ApiKeyAuth: []
  14770. summary: 查询财务日报表款项(菜单:报表查询/财务报表/日报表/款项)
  14771. tags:
  14772. - 企业风险管理v3(app)
  14773. /Ermcp3/QryReportDaySpot:
  14774. get:
  14775. parameters:
  14776. - description: 用户ID
  14777. in: query
  14778. name: userid
  14779. required: true
  14780. type: integer
  14781. - description: 交易日(格式:yyyyMMdd)
  14782. in: query
  14783. name: tradedate
  14784. required: true
  14785. type: string
  14786. produces:
  14787. - application/json
  14788. responses:
  14789. "200":
  14790. description: OK
  14791. schema:
  14792. items:
  14793. $ref: '#/definitions/models.Ermcp3ReportDaySpot'
  14794. type: array
  14795. "500":
  14796. description: Internal Server Error
  14797. schema:
  14798. $ref: '#/definitions/app.Response'
  14799. security:
  14800. - ApiKeyAuth: []
  14801. summary: 查询现货日报表(菜单:报表查询/现货报表/现货日报表)
  14802. tags:
  14803. - 企业风险管理v3(app)
  14804. /Ermcp3/QryReportDaySpotDetail:
  14805. get:
  14806. parameters:
  14807. - description: 用户ID
  14808. in: query
  14809. name: userid
  14810. required: true
  14811. type: integer
  14812. - description: 现货商品id
  14813. in: query
  14814. name: deliverygoodsid
  14815. required: true
  14816. type: integer
  14817. - description: 交易日(格式:yyyyMMdd)
  14818. in: query
  14819. name: tradedate
  14820. required: true
  14821. type: string
  14822. produces:
  14823. - application/json
  14824. responses:
  14825. "200":
  14826. description: OK
  14827. schema:
  14828. items:
  14829. $ref: '#/definitions/models.Ermcp3ReportOPLog'
  14830. type: array
  14831. "500":
  14832. description: Internal Server Error
  14833. schema:
  14834. $ref: '#/definitions/app.Response'
  14835. security:
  14836. - ApiKeyAuth: []
  14837. summary: 查询现货日报表详情(菜单:报表查询/现货报表/现货日报表详情)
  14838. tags:
  14839. - 企业风险管理v3(app)
  14840. /Ermcp3/QryReportMonthSpot:
  14841. get:
  14842. parameters:
  14843. - description: 用户ID
  14844. in: query
  14845. name: userid
  14846. required: true
  14847. type: integer
  14848. - description: 周期时间:月(格式:yyyyMM)
  14849. in: query
  14850. name: cycletime
  14851. required: true
  14852. type: string
  14853. produces:
  14854. - application/json
  14855. responses:
  14856. "200":
  14857. description: OK
  14858. schema:
  14859. items:
  14860. $ref: '#/definitions/models.Ermcp3ReportMonSpot'
  14861. type: array
  14862. "500":
  14863. description: Internal Server Error
  14864. schema:
  14865. $ref: '#/definitions/app.Response'
  14866. security:
  14867. - ApiKeyAuth: []
  14868. summary: 查询现货月报表(菜单:报表查询/现货报表/现货月报表)
  14869. tags:
  14870. - 企业风险管理v3(app)
  14871. /Ermcp3/QryReportMonthSpotDetail:
  14872. get:
  14873. parameters:
  14874. - description: 用户ID
  14875. in: query
  14876. name: userid
  14877. required: true
  14878. type: integer
  14879. - description: 现货商品id
  14880. in: query
  14881. name: deliverygoodsid
  14882. required: true
  14883. type: integer
  14884. - description: 周期时间:月(格式:yyyyMM)
  14885. in: query
  14886. name: cycletime
  14887. required: true
  14888. type: string
  14889. produces:
  14890. - application/json
  14891. responses:
  14892. "200":
  14893. description: OK
  14894. schema:
  14895. items:
  14896. $ref: '#/definitions/models.Ermcp3ReportDaySpot'
  14897. type: array
  14898. "500":
  14899. description: Internal Server Error
  14900. schema:
  14901. $ref: '#/definitions/app.Response'
  14902. security:
  14903. - ApiKeyAuth: []
  14904. summary: 查询现货月报表详情(菜单:报表查询/现货月报表/现货月报表详情)
  14905. tags:
  14906. - 企业风险管理v3(app)
  14907. /Ermcp3/QueryAreaStock:
  14908. get:
  14909. parameters:
  14910. - description: 用户ID
  14911. in: query
  14912. name: userid
  14913. required: true
  14914. type: integer
  14915. produces:
  14916. - application/json
  14917. responses:
  14918. "200":
  14919. description: OK
  14920. schema:
  14921. items:
  14922. $ref: '#/definitions/models.Ermcp3AreaStock'
  14923. type: array
  14924. "500":
  14925. description: Internal Server Error
  14926. schema:
  14927. $ref: '#/definitions/app.Response'
  14928. security:
  14929. - ApiKeyAuth: []
  14930. summary: 查询机构库存(库存管理/当前库存)
  14931. tags:
  14932. - 企业风险管理v3(app)
  14933. /Ermcp3/QueryAreaStockApply:
  14934. get:
  14935. parameters:
  14936. - description: 用户ID
  14937. in: query
  14938. name: userid
  14939. required: true
  14940. type: integer
  14941. - description: 现货商品ID
  14942. in: query
  14943. name: deliverygoodsid
  14944. type: integer
  14945. - description: 出入库类型(可多项,逗号隔开) 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  14946. in: query
  14947. name: inouttype
  14948. type: string
  14949. - description: 合同ID
  14950. in: query
  14951. name: spotcontractid
  14952. type: integer
  14953. - description: 品类ID
  14954. in: query
  14955. name: wrstandardid
  14956. type: integer
  14957. - description: 品牌ID
  14958. in: query
  14959. name: spotgoodsbrandid
  14960. type: integer
  14961. - description: 仓库ID
  14962. in: query
  14963. name: warehouseinfoid
  14964. type: integer
  14965. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  14966. in: query
  14967. name: applystatus
  14968. type: string
  14969. produces:
  14970. - application/json
  14971. responses:
  14972. "200":
  14973. description: OK
  14974. schema:
  14975. items:
  14976. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  14977. type: array
  14978. "500":
  14979. description: Internal Server Error
  14980. schema:
  14981. $ref: '#/definitions/app.Response'
  14982. security:
  14983. - ApiKeyAuth: []
  14984. summary: 查询库存申请(出入库记录|库存审核)
  14985. tags:
  14986. - 企业风险管理v3(app)
  14987. /Ermcp3/QueryAreaStockApplySum:
  14988. get:
  14989. parameters:
  14990. - description: 合同ID
  14991. in: query
  14992. name: spotcontractid
  14993. type: integer
  14994. produces:
  14995. - application/json
  14996. responses:
  14997. "200":
  14998. description: OK
  14999. schema:
  15000. items:
  15001. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  15002. type: array
  15003. "500":
  15004. description: Internal Server Error
  15005. schema:
  15006. $ref: '#/definitions/app.Response'
  15007. security:
  15008. - ApiKeyAuth: []
  15009. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  15010. tags:
  15011. - 企业风险管理v3(app)
  15012. /Ermcp3/QueryAreaStockReport:
  15013. get:
  15014. parameters:
  15015. - description: 用户ID
  15016. in: query
  15017. name: userid
  15018. required: true
  15019. type: integer
  15020. - description: 查询类型 1-日报表 2-月报表
  15021. in: query
  15022. name: querytype
  15023. required: true
  15024. type: integer
  15025. - description: 查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)
  15026. in: query
  15027. name: querydate
  15028. required: true
  15029. type: string
  15030. - description: 现货商品ID
  15031. in: query
  15032. name: deliverygoodsid
  15033. type: integer
  15034. - description: 品类ID
  15035. in: query
  15036. name: wrstandardid
  15037. type: integer
  15038. - description: 品牌ID
  15039. in: query
  15040. name: spotgoodsbrandid
  15041. type: integer
  15042. - description: 仓库ID
  15043. in: query
  15044. name: warehouseinfoid
  15045. type: integer
  15046. produces:
  15047. - application/json
  15048. responses:
  15049. "200":
  15050. description: OK
  15051. schema:
  15052. items:
  15053. $ref: '#/definitions/models.Ermcp3AreaStockReport'
  15054. type: array
  15055. "500":
  15056. description: Internal Server Error
  15057. schema:
  15058. $ref: '#/definitions/app.Response'
  15059. security:
  15060. - ApiKeyAuth: []
  15061. summary: 查询库存报表
  15062. tags:
  15063. - 企业风险管理v3(app)
  15064. /Ermcp3/QueryAreaStockReportDetail:
  15065. get:
  15066. parameters:
  15067. - description: 用户ID
  15068. in: query
  15069. name: userid
  15070. required: true
  15071. type: integer
  15072. - description: 查询类型 1-日报表明细 2-月报表明细
  15073. in: query
  15074. name: querytype
  15075. required: true
  15076. type: integer
  15077. - description: 明细类型 1:入库明细(采购入库+生产入库) 2:出库明细(销售出库+生产出库)
  15078. in: query
  15079. name: detailtype
  15080. required: true
  15081. type: integer
  15082. - description: 查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)
  15083. in: query
  15084. name: querydate
  15085. required: true
  15086. type: string
  15087. - description: 现货商品ID
  15088. in: query
  15089. name: deliverygoodsid
  15090. type: integer
  15091. - description: 品类ID
  15092. in: query
  15093. name: wrstandardid
  15094. type: integer
  15095. - description: 品牌ID
  15096. in: query
  15097. name: spotgoodsbrandid
  15098. type: integer
  15099. - description: 仓库ID
  15100. in: query
  15101. name: warehouseinfoid
  15102. type: integer
  15103. produces:
  15104. - application/json
  15105. responses:
  15106. "200":
  15107. description: OK
  15108. schema:
  15109. items:
  15110. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  15111. type: array
  15112. "500":
  15113. description: Internal Server Error
  15114. schema:
  15115. $ref: '#/definitions/app.Response'
  15116. security:
  15117. - ApiKeyAuth: []
  15118. summary: 查询库存报表明细
  15119. tags:
  15120. - 企业风险管理v3(app)
  15121. /Ermcp3/QueryDGFactoryItem:
  15122. get:
  15123. parameters:
  15124. - description: 所属机构ID
  15125. in: query
  15126. name: areauserid
  15127. type: integer
  15128. - description: 选择项ID(SEQ_DGFACTORYITEM)
  15129. in: query
  15130. name: dgfactoryitemid
  15131. type: integer
  15132. - description: 现货品种ID
  15133. in: query
  15134. name: deliverygoodsid
  15135. type: integer
  15136. - description: 要素项类型
  15137. in: query
  15138. name: dgfactoryitemtypeid
  15139. type: integer
  15140. - description: 顺序
  15141. in: query
  15142. name: orderindex
  15143. type: integer
  15144. produces:
  15145. - application/json
  15146. responses:
  15147. "200":
  15148. description: OK
  15149. schema:
  15150. items:
  15151. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  15152. type: array
  15153. "500":
  15154. description: Internal Server Error
  15155. schema:
  15156. $ref: '#/definitions/app.Response'
  15157. security:
  15158. - ApiKeyAuth: []
  15159. summary: 查询品种要素定义项
  15160. tags:
  15161. - 企业风险管理v3(app)
  15162. /Ermcp3/QueryDeliveryGoods:
  15163. get:
  15164. parameters:
  15165. - description: 所属机构id
  15166. in: query
  15167. name: areauserid
  15168. required: true
  15169. type: integer
  15170. - description: 排除已配置的现货商品 1-排除
  15171. in: query
  15172. name: excludecfg
  15173. type: integer
  15174. produces:
  15175. - application/json
  15176. responses:
  15177. "200":
  15178. description: OK
  15179. schema:
  15180. items:
  15181. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  15182. type: array
  15183. "500":
  15184. description: Internal Server Error
  15185. schema:
  15186. $ref: '#/definitions/app.Response'
  15187. security:
  15188. - ApiKeyAuth: []
  15189. summary: 查询现货商品
  15190. tags:
  15191. - 企业风险管理v3(app)
  15192. /Ermcp3/QueryDeliveryGoodsDetail:
  15193. get:
  15194. parameters:
  15195. - description: 所属机构id
  15196. in: query
  15197. name: areauserid
  15198. required: true
  15199. type: integer
  15200. - description: 现货商品id
  15201. in: query
  15202. name: deliverygoodsid
  15203. type: integer
  15204. - description: 是否查询关联交易商品 1-查询
  15205. in: query
  15206. name: qrytradegoods
  15207. type: integer
  15208. produces:
  15209. - application/json
  15210. responses:
  15211. "200":
  15212. description: OK
  15213. schema:
  15214. items:
  15215. $ref: '#/definitions/models.ErmcpDeliveryGoodsDetail'
  15216. type: array
  15217. "500":
  15218. description: Internal Server Error
  15219. schema:
  15220. $ref: '#/definitions/app.Response'
  15221. security:
  15222. - ApiKeyAuth: []
  15223. summary: 查询现货商品详情
  15224. tags:
  15225. - 企业风险管理v3(app)
  15226. /Ermcp3/QueryExposureDetail:
  15227. get:
  15228. parameters:
  15229. - description: 所属机构ID
  15230. in: query
  15231. name: areaUserId
  15232. required: true
  15233. type: integer
  15234. - description: 套保商品
  15235. in: query
  15236. name: middleGoodsId
  15237. required: true
  15238. type: integer
  15239. produces:
  15240. - application/json
  15241. responses:
  15242. "200":
  15243. description: OK
  15244. schema:
  15245. items:
  15246. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  15247. type: array
  15248. "500":
  15249. description: Internal Server Error
  15250. schema:
  15251. $ref: '#/definitions/app.Response'
  15252. security:
  15253. - ApiKeyAuth: []
  15254. summary: 查询敞口现货明细
  15255. tags:
  15256. - 企业风险管理v3(app)
  15257. /Ermcp3/QueryExposureSpot:
  15258. get:
  15259. parameters:
  15260. - description: 所属机构ID
  15261. in: query
  15262. name: areauserid
  15263. required: true
  15264. type: integer
  15265. produces:
  15266. - application/json
  15267. responses:
  15268. "200":
  15269. description: OK
  15270. schema:
  15271. items:
  15272. $ref: '#/definitions/models.Ermcp3AreaSpot'
  15273. type: array
  15274. "500":
  15275. description: Internal Server Error
  15276. schema:
  15277. $ref: '#/definitions/app.Response'
  15278. security:
  15279. - ApiKeyAuth: []
  15280. summary: 查询敞口现货头寸(敞口/现货头寸)
  15281. tags:
  15282. - 企业风险管理v3(app)
  15283. /Ermcp3/QueryExposureSpotDetail:
  15284. get:
  15285. parameters:
  15286. - description: 所属机构ID
  15287. in: query
  15288. name: areauserid
  15289. required: true
  15290. type: integer
  15291. - description: 现货品种ID
  15292. in: query
  15293. name: deliverygoodsid
  15294. required: true
  15295. type: integer
  15296. produces:
  15297. - application/json
  15298. responses:
  15299. "200":
  15300. description: OK
  15301. schema:
  15302. items:
  15303. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  15304. type: array
  15305. "500":
  15306. description: Internal Server Error
  15307. schema:
  15308. $ref: '#/definitions/app.Response'
  15309. security:
  15310. - ApiKeyAuth: []
  15311. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  15312. tags:
  15313. - 企业风险管理v3(app)
  15314. /Ermcp3/QueryGoodsGroup:
  15315. get:
  15316. parameters:
  15317. - description: 所属机构id
  15318. in: query
  15319. name: areauserid
  15320. required: true
  15321. type: integer
  15322. - description: 排除套保品中已关联的商品组 1-排除
  15323. in: query
  15324. name: excludecfg
  15325. type: integer
  15326. produces:
  15327. - application/json
  15328. responses:
  15329. "200":
  15330. description: OK
  15331. schema:
  15332. items:
  15333. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  15334. type: array
  15335. "500":
  15336. description: Internal Server Error
  15337. schema:
  15338. $ref: '#/definitions/app.Response'
  15339. security:
  15340. - ApiKeyAuth: []
  15341. summary: 查询期货商品组
  15342. tags:
  15343. - 企业风险管理v3(app)
  15344. /Ermcp3/QueryGoodsWrstandard:
  15345. get:
  15346. parameters:
  15347. - description: 所属机构ID
  15348. in: query
  15349. name: areauserid
  15350. required: true
  15351. type: integer
  15352. - description: 现货商品id
  15353. in: query
  15354. name: deliverygoodsid
  15355. type: integer
  15356. produces:
  15357. - application/json
  15358. responses:
  15359. "200":
  15360. description: OK
  15361. schema:
  15362. items:
  15363. $ref: '#/definitions/models.Ermcp3Wrstandard'
  15364. type: array
  15365. "500":
  15366. description: Internal Server Error
  15367. schema:
  15368. $ref: '#/definitions/app.Response'
  15369. security:
  15370. - ApiKeyAuth: []
  15371. summary: 查询商品品类
  15372. tags:
  15373. - 企业风险管理v3(app)
  15374. /Ermcp3/QueryGoodsbrand:
  15375. get:
  15376. parameters:
  15377. - description: 所属机构ID
  15378. in: query
  15379. name: areauserid
  15380. required: true
  15381. type: integer
  15382. produces:
  15383. - application/json
  15384. responses:
  15385. "200":
  15386. description: OK
  15387. schema:
  15388. items:
  15389. $ref: '#/definitions/models.Ermcp3Brand'
  15390. type: array
  15391. "500":
  15392. description: Internal Server Error
  15393. schema:
  15394. $ref: '#/definitions/app.Response'
  15395. security:
  15396. - ApiKeyAuth: []
  15397. summary: 查询商品品牌
  15398. tags:
  15399. - 企业风险管理v3(app)
  15400. /Ermcp3/QueryHedgePlan:
  15401. get:
  15402. parameters:
  15403. - description: 用户ID
  15404. in: query
  15405. name: userid
  15406. required: true
  15407. type: integer
  15408. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  15409. in: query
  15410. name: hedgeplanstatus
  15411. required: true
  15412. type: string
  15413. produces:
  15414. - application/json
  15415. responses:
  15416. "200":
  15417. description: OK
  15418. schema:
  15419. items:
  15420. $ref: '#/definitions/models.Ermcp3HedgePlan'
  15421. type: array
  15422. "500":
  15423. description: Internal Server Error
  15424. schema:
  15425. $ref: '#/definitions/app.Response'
  15426. security:
  15427. - ApiKeyAuth: []
  15428. summary: 查询套保计划
  15429. tags:
  15430. - 企业风险管理v3(app)
  15431. /Ermcp3/QuerySpotContract:
  15432. get:
  15433. parameters:
  15434. - description: 所属机构ID
  15435. in: query
  15436. name: areauserid
  15437. required: true
  15438. type: integer
  15439. - description: 查询类型 1-未提交 2-待审核 3-履约中 4-已完成
  15440. in: query
  15441. name: querytype
  15442. required: true
  15443. type: integer
  15444. - description: 用户ID
  15445. in: query
  15446. name: userid
  15447. type: integer
  15448. - description: 用户类型 2-机构 7-企业成员
  15449. in: query
  15450. name: usertype
  15451. type: integer
  15452. - description: 合同ID(SpotContractId)
  15453. in: query
  15454. name: contractid
  15455. type: string
  15456. produces:
  15457. - application/json
  15458. responses:
  15459. "200":
  15460. description: OK
  15461. schema:
  15462. items:
  15463. $ref: '#/definitions/models.Ermcp3Contract'
  15464. type: array
  15465. "500":
  15466. description: Internal Server Error
  15467. schema:
  15468. $ref: '#/definitions/app.Response'
  15469. security:
  15470. - ApiKeyAuth: []
  15471. summary: 查询现货合同
  15472. tags:
  15473. - 企业风险管理v3(app)
  15474. /Ermcp3/QuerySpotContractBS:
  15475. get:
  15476. parameters:
  15477. - description: 所属机构ID
  15478. in: query
  15479. name: areauserid
  15480. required: true
  15481. type: integer
  15482. - description: 合同类型 1-采购, -1-销售
  15483. in: query
  15484. name: contracttype
  15485. required: true
  15486. type: integer
  15487. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  15488. in: query
  15489. name: querytype
  15490. required: true
  15491. type: integer
  15492. - description: 用户ID
  15493. in: query
  15494. name: userid
  15495. type: integer
  15496. - description: 用户类型 2-机构 7-企业成员
  15497. in: query
  15498. name: usertype
  15499. type: integer
  15500. - description: 合同ID(SpotContractId)
  15501. in: query
  15502. name: contractid
  15503. type: string
  15504. produces:
  15505. - application/json
  15506. responses:
  15507. "200":
  15508. description: OK
  15509. schema:
  15510. items:
  15511. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  15512. type: array
  15513. "500":
  15514. description: Internal Server Error
  15515. schema:
  15516. $ref: '#/definitions/app.Response'
  15517. security:
  15518. - ApiKeyAuth: []
  15519. summary: 查询合同(采购/销售)
  15520. tags:
  15521. - 企业风险管理v3(app)
  15522. /Ermcp3/QuerySpotGoodsPrice:
  15523. get:
  15524. parameters:
  15525. - description: 用户ID
  15526. in: query
  15527. name: userid
  15528. required: true
  15529. type: integer
  15530. produces:
  15531. - application/json
  15532. responses:
  15533. "200":
  15534. description: OK
  15535. schema:
  15536. items:
  15537. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  15538. type: array
  15539. "500":
  15540. description: Internal Server Error
  15541. schema:
  15542. $ref: '#/definitions/app.Response'
  15543. security:
  15544. - ApiKeyAuth: []
  15545. summary: 查询现货市价(现货市价)
  15546. tags:
  15547. - 企业风险管理v3(app)
  15548. /Ermcp3/QuerySpotGoodsPriceLog:
  15549. get:
  15550. parameters:
  15551. - description: 用户ID
  15552. in: query
  15553. name: userid
  15554. required: true
  15555. type: integer
  15556. - description: 现货商品ID
  15557. in: query
  15558. name: deliverygoodsid
  15559. required: true
  15560. type: integer
  15561. produces:
  15562. - application/json
  15563. responses:
  15564. "200":
  15565. description: OK
  15566. schema:
  15567. items:
  15568. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  15569. type: array
  15570. "500":
  15571. description: Internal Server Error
  15572. schema:
  15573. $ref: '#/definitions/app.Response'
  15574. security:
  15575. - ApiKeyAuth: []
  15576. summary: 查询现货市价详情(现货市价/详情)
  15577. tags:
  15578. - 企业风险管理v3(app)
  15579. /Erms2/QueryArbitrageStrategy:
  15580. get:
  15581. parameters:
  15582. - description: 账户ID
  15583. in: query
  15584. name: userid
  15585. required: true
  15586. type: integer
  15587. - description: 商品组ID(品种ID)
  15588. in: query
  15589. name: goodsgroupid
  15590. type: string
  15591. produces:
  15592. - application/json
  15593. responses:
  15594. "200":
  15595. description: OK
  15596. schema:
  15597. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  15598. "500":
  15599. description: Internal Server Error
  15600. schema:
  15601. $ref: '#/definitions/app.Response'
  15602. security:
  15603. - ApiKeyAuth: []
  15604. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  15605. tags:
  15606. - 风险管理
  15607. /Erms2/QueryInnerTradeDetail:
  15608. get:
  15609. parameters:
  15610. - description: 资金账户
  15611. in: query
  15612. name: accountid
  15613. required: true
  15614. type: integer
  15615. produces:
  15616. - application/json
  15617. responses:
  15618. "200":
  15619. description: OK
  15620. schema:
  15621. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  15622. "500":
  15623. description: Internal Server Error
  15624. schema:
  15625. $ref: '#/definitions/app.Response'
  15626. security:
  15627. - ApiKeyAuth: []
  15628. summary: 查询内部成交单信息
  15629. tags:
  15630. - 风险管理
  15631. /Erms2/QuerySpotContract:
  15632. get:
  15633. parameters:
  15634. - description: 策略申请ID
  15635. in: query
  15636. name: asapplyid
  15637. required: true
  15638. type: integer
  15639. - description: 现货合同ID
  15640. in: query
  15641. name: spotcontractid
  15642. type: integer
  15643. produces:
  15644. - application/json
  15645. responses:
  15646. "200":
  15647. description: OK
  15648. schema:
  15649. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  15650. "500":
  15651. description: Internal Server Error
  15652. schema:
  15653. $ref: '#/definitions/app.Response'
  15654. security:
  15655. - ApiKeyAuth: []
  15656. summary: 查询现货合同表信息(指定策略ID、未结束的)
  15657. tags:
  15658. - 风险管理
  15659. /Erms3/AddErms2ASApply:
  15660. post:
  15661. parameters:
  15662. - description: 申请参数
  15663. in: body
  15664. name: jsonBody
  15665. required: true
  15666. schema:
  15667. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  15668. produces:
  15669. - application/json
  15670. responses:
  15671. "200":
  15672. description: OK
  15673. schema:
  15674. $ref: '#/definitions/app.Response'
  15675. "500":
  15676. description: Internal Server Error
  15677. schema:
  15678. $ref: '#/definitions/app.Response'
  15679. security:
  15680. - ApiKeyAuth: []
  15681. summary: 新增期现套利业务申请
  15682. tags:
  15683. - 风险管理v3
  15684. /Erms3/AddErms2SpotTradeApply:
  15685. post:
  15686. parameters:
  15687. - description: 申请参数
  15688. in: body
  15689. name: jsonBody
  15690. required: true
  15691. schema:
  15692. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  15693. produces:
  15694. - application/json
  15695. responses:
  15696. "200":
  15697. description: OK
  15698. schema:
  15699. $ref: '#/definitions/app.Response'
  15700. "500":
  15701. description: Internal Server Error
  15702. schema:
  15703. $ref: '#/definitions/app.Response'
  15704. security:
  15705. - ApiKeyAuth: []
  15706. summary: 新增现货贸易业务申请
  15707. tags:
  15708. - 风险管理v3
  15709. /Erms3/AddSpotContractApply:
  15710. post:
  15711. parameters:
  15712. - description: 申请参数
  15713. in: body
  15714. name: jsonBody
  15715. required: true
  15716. schema:
  15717. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  15718. produces:
  15719. - application/json
  15720. responses:
  15721. "200":
  15722. description: OK
  15723. schema:
  15724. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  15725. "500":
  15726. description: Internal Server Error
  15727. schema:
  15728. $ref: '#/definitions/app.Response'
  15729. security:
  15730. - ApiKeyAuth: []
  15731. summary: 新增现货合同申请
  15732. tags:
  15733. - 风险管理v3
  15734. /Erms3/AddUserInfoApply:
  15735. post:
  15736. parameters:
  15737. - description: 用户信息
  15738. in: body
  15739. name: jsonBody
  15740. required: true
  15741. schema:
  15742. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  15743. produces:
  15744. - application/json
  15745. responses:
  15746. "200":
  15747. description: OK
  15748. schema:
  15749. $ref: '#/definitions/app.Response'
  15750. "500":
  15751. description: Internal Server Error
  15752. schema:
  15753. $ref: '#/definitions/app.Response'
  15754. security:
  15755. - ApiKeyAuth: []
  15756. summary: 新增客户申请
  15757. tags:
  15758. - 风险管理v3
  15759. /Erms3/ModifyUserInfoApply:
  15760. post:
  15761. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  15762. int, "userstate": 2 }'
  15763. parameters:
  15764. - description: 用户信息
  15765. in: body
  15766. name: jsonBody
  15767. required: true
  15768. schema:
  15769. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  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/QueryBusinessInfo:
  15787. get:
  15788. parameters:
  15789. - description: 资金账号ID列表,用逗号分隔
  15790. in: query
  15791. name: accountids
  15792. required: true
  15793. type: string
  15794. - description: 状态,0为未结束 1为已结束
  15795. in: query
  15796. name: status
  15797. required: true
  15798. type: integer
  15799. produces:
  15800. - application/json
  15801. responses:
  15802. "200":
  15803. description: OK
  15804. schema:
  15805. items:
  15806. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  15807. type: array
  15808. "500":
  15809. description: Internal Server Error
  15810. schema:
  15811. $ref: '#/definitions/app.Response'
  15812. security:
  15813. - ApiKeyAuth: []
  15814. summary: 查询业务表单数据
  15815. tags:
  15816. - 风险管理v3
  15817. /Erms3/QueryPendingAuditContract:
  15818. get:
  15819. parameters:
  15820. - description: 资金账号ID列表,逗号隔开
  15821. in: query
  15822. name: accountids
  15823. required: true
  15824. type: string
  15825. - description: 合同类型 1-采购 -1-销售
  15826. in: query
  15827. name: contracttype
  15828. required: true
  15829. type: integer
  15830. - description: 合同模式 1-普通 2-回购
  15831. in: query
  15832. name: contractmode
  15833. required: true
  15834. type: integer
  15835. produces:
  15836. - application/json
  15837. responses:
  15838. "200":
  15839. description: OK
  15840. schema:
  15841. items:
  15842. $ref: '#/definitions/erms3.QryAuditContractRsp'
  15843. type: array
  15844. "500":
  15845. description: Internal Server Error
  15846. schema:
  15847. $ref: '#/definitions/app.Response'
  15848. security:
  15849. - ApiKeyAuth: []
  15850. summary: 查询待审核合同
  15851. tags:
  15852. - 风险管理v3
  15853. /Erms3/QueryPendingBusiness:
  15854. get:
  15855. parameters:
  15856. - description: 资金账号ID列表,逗号隔开
  15857. in: query
  15858. name: accountids
  15859. required: true
  15860. type: string
  15861. produces:
  15862. - application/json
  15863. responses:
  15864. "200":
  15865. description: OK
  15866. schema:
  15867. items:
  15868. $ref: '#/definitions/erms3.QryPendingBizRsp'
  15869. type: array
  15870. "500":
  15871. description: Internal Server Error
  15872. schema:
  15873. $ref: '#/definitions/app.Response'
  15874. security:
  15875. - ApiKeyAuth: []
  15876. summary: 查询待审核基差贸易业务
  15877. tags:
  15878. - 风险管理v3
  15879. /Erms3/QuerySpotContractAppleForm:
  15880. get:
  15881. parameters:
  15882. - description: 登录账号
  15883. in: query
  15884. name: loginID
  15885. required: true
  15886. type: integer
  15887. produces:
  15888. - application/json
  15889. responses:
  15890. "200":
  15891. description: OK
  15892. schema:
  15893. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  15894. "500":
  15895. description: Internal Server Error
  15896. schema:
  15897. $ref: '#/definitions/app.Response'
  15898. security:
  15899. - ApiKeyAuth: []
  15900. summary: 查询合同申请表单数据
  15901. tags:
  15902. - 风险管理v3
  15903. /Erms3/QuerySpotContractDetail:
  15904. get:
  15905. parameters:
  15906. - description: 资金账号ID列表,用逗号分隔
  15907. in: query
  15908. name: accountids
  15909. required: true
  15910. type: string
  15911. - description: 合同类型,1为采购合同 -1为销售合同
  15912. in: query
  15913. name: contracttype
  15914. required: true
  15915. type: integer
  15916. - description: 合同模式,1为普通合同 2为回购销售合同
  15917. in: query
  15918. name: contractmode
  15919. required: true
  15920. type: integer
  15921. - description: 状态,0为履约中 1为已完成
  15922. in: query
  15923. name: status
  15924. required: true
  15925. type: integer
  15926. produces:
  15927. - application/json
  15928. responses:
  15929. "200":
  15930. description: OK
  15931. schema:
  15932. items:
  15933. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  15934. type: array
  15935. "500":
  15936. description: Internal Server Error
  15937. schema:
  15938. $ref: '#/definitions/app.Response'
  15939. security:
  15940. - ApiKeyAuth: []
  15941. summary: 查询合同详细信息
  15942. tags:
  15943. - 风险管理v3
  15944. /Erms3/QueryUserInfoApplies:
  15945. get:
  15946. parameters:
  15947. - description: 页码
  15948. in: query
  15949. name: page
  15950. type: integer
  15951. - description: 每页条数
  15952. in: query
  15953. name: pagesize
  15954. type: integer
  15955. - description: 客户名称,支持模糊查询
  15956. in: query
  15957. name: userName
  15958. type: string
  15959. produces:
  15960. - application/json
  15961. responses:
  15962. "200":
  15963. description: OK
  15964. schema:
  15965. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  15966. "500":
  15967. description: Internal Server Error
  15968. schema:
  15969. $ref: '#/definitions/app.Response'
  15970. security:
  15971. - ApiKeyAuth: []
  15972. summary: 客户申请信息查询
  15973. tags:
  15974. - 风险管理v3
  15975. /Erms3/QueryUserInfos:
  15976. get:
  15977. parameters:
  15978. - description: 页码
  15979. in: query
  15980. name: page
  15981. type: integer
  15982. - description: 每页条数
  15983. in: query
  15984. name: pagesize
  15985. type: integer
  15986. - description: 客户名称,支持模糊查询
  15987. in: query
  15988. name: userName
  15989. type: string
  15990. produces:
  15991. - application/json
  15992. responses:
  15993. "200":
  15994. description: OK
  15995. schema:
  15996. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  15997. "500":
  15998. description: Internal Server Error
  15999. schema:
  16000. $ref: '#/definitions/app.Response'
  16001. security:
  16002. - ApiKeyAuth: []
  16003. summary: 客户信息查询
  16004. tags:
  16005. - 风险管理v3
  16006. /HSBY/GetHsbyMyCount:
  16007. get:
  16008. description: 说明: 不包括已完成的数量。
  16009. parameters:
  16010. - description: 资金账户列表,格式:1,2,3
  16011. in: query
  16012. name: accountIDs
  16013. required: true
  16014. type: string
  16015. produces:
  16016. - application/json
  16017. responses:
  16018. "200":
  16019. description: OK
  16020. schema:
  16021. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  16022. "500":
  16023. description: Internal Server Error
  16024. schema:
  16025. $ref: '#/definitions/app.Response'
  16026. security:
  16027. - ApiKeyAuth: []
  16028. summary: 获取我的订单与包裹数量
  16029. tags:
  16030. - 定制【海商报业】
  16031. /HSBY/QueryClientFixedADConfigs:
  16032. get:
  16033. produces:
  16034. - application/json
  16035. responses:
  16036. "200":
  16037. description: OK
  16038. schema:
  16039. $ref: '#/definitions/models.Clientfixedadconfig'
  16040. "500":
  16041. description: Internal Server Error
  16042. schema:
  16043. $ref: '#/definitions/app.Response'
  16044. security:
  16045. - ApiKeyAuth: []
  16046. summary: 获取终端固定广告配置
  16047. tags:
  16048. - 定制【海商报业】
  16049. /HSBY/QueryHsbyBuyMyTradeDetail:
  16050. get:
  16051. parameters:
  16052. - description: 页码
  16053. in: query
  16054. name: page
  16055. type: integer
  16056. - description: 每页条数
  16057. in: query
  16058. name: pagesize
  16059. type: integer
  16060. - description: 资金账户列表,格式:1,2,3
  16061. in: query
  16062. name: accountIDs
  16063. required: true
  16064. type: string
  16065. produces:
  16066. - application/json
  16067. responses:
  16068. "200":
  16069. description: OK
  16070. schema:
  16071. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  16072. "500":
  16073. description: Internal Server Error
  16074. schema:
  16075. $ref: '#/definitions/app.Response'
  16076. security:
  16077. - ApiKeyAuth: []
  16078. summary: 查询"我的订单 - 已完成"单据信息
  16079. tags:
  16080. - 定制【海商报业】
  16081. /HSBY/QueryHsbyGoodsOrderDetails:
  16082. get:
  16083. description: 说明:查询结果已按委托价格和委托时间排序
  16084. parameters:
  16085. - description: 商品ID
  16086. in: query
  16087. name: goodsID
  16088. required: true
  16089. type: integer
  16090. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  16091. in: query
  16092. name: accountIDs
  16093. type: string
  16094. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  16095. in: query
  16096. name: buyOrSell
  16097. type: integer
  16098. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  16099. in: query
  16100. name: price
  16101. type: number
  16102. - description: 档位,不传则默认为3档
  16103. in: query
  16104. name: speed
  16105. type: integer
  16106. produces:
  16107. - application/json
  16108. responses:
  16109. "200":
  16110. description: OK
  16111. schema:
  16112. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  16113. "500":
  16114. description: Internal Server Error
  16115. schema:
  16116. $ref: '#/definitions/app.Response'
  16117. security:
  16118. - ApiKeyAuth: []
  16119. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  16120. tags:
  16121. - 定制【海商报业】
  16122. /HSBY/QueryHsbyListingGoodsDetail:
  16123. get:
  16124. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  16125. parameters:
  16126. - description: 商品ID
  16127. in: query
  16128. name: goodsID
  16129. required: true
  16130. type: integer
  16131. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  16132. in: query
  16133. name: accountID
  16134. type: integer
  16135. produces:
  16136. - application/json
  16137. responses:
  16138. "200":
  16139. description: OK
  16140. schema:
  16141. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  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/QueryHsbyMarketGoodsDetail:
  16152. get:
  16153. parameters:
  16154. - description: 委托单号
  16155. in: query
  16156. name: orderID
  16157. required: true
  16158. type: integer
  16159. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  16160. in: query
  16161. name: accountID
  16162. type: integer
  16163. produces:
  16164. - application/json
  16165. responses:
  16166. "200":
  16167. description: OK
  16168. schema:
  16169. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  16170. "500":
  16171. description: Internal Server Error
  16172. schema:
  16173. $ref: '#/definitions/app.Response'
  16174. security:
  16175. - ApiKeyAuth: []
  16176. summary: 查询三级市场(商城)商品信息详情
  16177. tags:
  16178. - 定制【海商报业】
  16179. /HSBY/QueryHsbyMarketGoodses:
  16180. get:
  16181. parameters:
  16182. - description: 页码
  16183. in: query
  16184. name: page
  16185. type: integer
  16186. - description: 每页条数
  16187. in: query
  16188. name: pagesize
  16189. type: integer
  16190. - description: 市场ID列表,格式:1,2,3
  16191. in: query
  16192. name: marketIDs
  16193. required: true
  16194. type: string
  16195. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  16196. in: query
  16197. name: accountID
  16198. required: true
  16199. type: integer
  16200. - description: 类别ID
  16201. in: query
  16202. name: categoryID
  16203. type: integer
  16204. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  16205. in: query
  16206. name: goodsIDs
  16207. type: string
  16208. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  16209. in: query
  16210. name: couponTypeID
  16211. type: integer
  16212. produces:
  16213. - application/json
  16214. responses:
  16215. "200":
  16216. description: OK
  16217. schema:
  16218. $ref: '#/definitions/models.HsbyMarketGoods'
  16219. "500":
  16220. description: Internal Server Error
  16221. schema:
  16222. $ref: '#/definitions/app.Response'
  16223. security:
  16224. - ApiKeyAuth: []
  16225. summary: 查询特卖商品列表(三级商城)
  16226. tags:
  16227. - 定制【海商报业】
  16228. /HSBY/QueryHsbyMarkets:
  16229. get:
  16230. produces:
  16231. - application/json
  16232. responses:
  16233. "200":
  16234. description: OK
  16235. schema:
  16236. $ref: '#/definitions/models.HsbyMarketInfo'
  16237. "500":
  16238. description: Internal Server Error
  16239. schema:
  16240. $ref: '#/definitions/app.Response'
  16241. security:
  16242. - ApiKeyAuth: []
  16243. summary: 查询海商报业相关市场信息
  16244. tags:
  16245. - 定制【海商报业】
  16246. /HSBY/QueryHsbyMyBuyOrderDetails:
  16247. get:
  16248. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  16249. parameters:
  16250. - description: 资金账户列表,格式:1,2,3
  16251. in: query
  16252. name: accountIDs
  16253. required: true
  16254. type: string
  16255. produces:
  16256. - application/json
  16257. responses:
  16258. "200":
  16259. description: OK
  16260. schema:
  16261. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  16262. "500":
  16263. description: Internal Server Error
  16264. schema:
  16265. $ref: '#/definitions/app.Response'
  16266. security:
  16267. - ApiKeyAuth: []
  16268. summary: 查询“我的订单”信息
  16269. tags:
  16270. - 定制【海商报业】
  16271. /HSBY/QueryHsbyMyGoods:
  16272. get:
  16273. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  16274. parameters:
  16275. - description: 资金账户列表,格式:1,2,3
  16276. in: query
  16277. name: accountIDs
  16278. required: true
  16279. type: string
  16280. produces:
  16281. - application/json
  16282. responses:
  16283. "200":
  16284. description: OK
  16285. schema:
  16286. $ref: '#/definitions/models.HsbyMyGoods'
  16287. "500":
  16288. description: Internal Server Error
  16289. schema:
  16290. $ref: '#/definitions/app.Response'
  16291. security:
  16292. - ApiKeyAuth: []
  16293. summary: 查询“我的商品”信息
  16294. tags:
  16295. - 定制【海商报业】
  16296. /HSBY/QueryHsbyMyPackages:
  16297. get:
  16298. parameters:
  16299. - description: 资金账户列表,格式:1,2,3
  16300. in: query
  16301. name: accountIDs
  16302. required: true
  16303. type: string
  16304. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  16305. in: query
  16306. name: takeOrderStatus
  16307. type: integer
  16308. produces:
  16309. - application/json
  16310. responses:
  16311. "200":
  16312. description: OK
  16313. schema:
  16314. $ref: '#/definitions/models.HsbyMyPackage'
  16315. "500":
  16316. description: Internal Server Error
  16317. schema:
  16318. $ref: '#/definitions/app.Response'
  16319. security:
  16320. - ApiKeyAuth: []
  16321. summary: 查询我的包裹信息
  16322. tags:
  16323. - 定制【海商报业】
  16324. /HSBY/QueryHsbyPreGoodsDetail:
  16325. get:
  16326. parameters:
  16327. - description: 商品ID
  16328. in: query
  16329. name: goodsID
  16330. required: true
  16331. type: integer
  16332. - description: 资金账户,主要用于获取预售商品购买上限
  16333. in: query
  16334. name: accountID
  16335. type: integer
  16336. produces:
  16337. - application/json
  16338. responses:
  16339. "200":
  16340. description: OK
  16341. schema:
  16342. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  16343. "500":
  16344. description: Internal Server Error
  16345. schema:
  16346. $ref: '#/definitions/app.Response'
  16347. security:
  16348. - ApiKeyAuth: []
  16349. summary: 查询一级市场(预售)商品信息详情
  16350. tags:
  16351. - 定制【海商报业】
  16352. /HSBY/QueryHsbyPreGoodses:
  16353. get:
  16354. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  16355. parameters:
  16356. - description: 页码
  16357. in: query
  16358. name: page
  16359. type: integer
  16360. - description: 每页条数
  16361. in: query
  16362. name: pagesize
  16363. type: integer
  16364. - description: 市场ID列表,格式:1,2,3
  16365. in: query
  16366. name: marketIDs
  16367. required: true
  16368. type: string
  16369. - description: 目的地(省)ID
  16370. in: query
  16371. name: descProvinceID
  16372. type: integer
  16373. - description: 目的地(市)ID
  16374. in: query
  16375. name: descCityID
  16376. type: integer
  16377. produces:
  16378. - application/json
  16379. responses:
  16380. "200":
  16381. description: OK
  16382. schema:
  16383. $ref: '#/definitions/models.HsbyPreGoods'
  16384. "500":
  16385. description: Internal Server Error
  16386. schema:
  16387. $ref: '#/definitions/app.Response'
  16388. security:
  16389. - ApiKeyAuth: []
  16390. summary: 查询新品上市商品列表(一级市场预售)
  16391. tags:
  16392. - 定制【海商报业】
  16393. /HSBY/QueryHsbySellMyDetails:
  16394. get:
  16395. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  16396. parameters:
  16397. - description: 页码
  16398. in: query
  16399. name: page
  16400. type: integer
  16401. - description: 每页条数
  16402. in: query
  16403. name: pagesize
  16404. type: integer
  16405. - description: 资金账户列表,格式:1,2,3
  16406. in: query
  16407. name: accountIDs
  16408. required: true
  16409. type: string
  16410. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  16411. in: query
  16412. name: orderType
  16413. type: integer
  16414. produces:
  16415. - application/json
  16416. responses:
  16417. "200":
  16418. description: OK
  16419. schema:
  16420. $ref: '#/definitions/models.HsbySellMyDetail'
  16421. "500":
  16422. description: Internal Server Error
  16423. schema:
  16424. $ref: '#/definitions/app.Response'
  16425. security:
  16426. - ApiKeyAuth: []
  16427. summary: 查询"我的闲置"单据信息
  16428. tags:
  16429. - 定制【海商报业】
  16430. /HSBY/QueryHsbyTopGoodses:
  16431. get:
  16432. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  16433. parameters:
  16434. - description: 页码
  16435. in: query
  16436. name: page
  16437. type: integer
  16438. - description: 每页条数
  16439. in: query
  16440. name: pagesize
  16441. type: integer
  16442. - description: 市场ID列表,格式:1,2,3
  16443. in: query
  16444. name: marketIDs
  16445. required: true
  16446. type: string
  16447. - description: 目的地(省)ID
  16448. in: query
  16449. name: descProvinceID
  16450. type: integer
  16451. - description: 目的地(市)ID
  16452. in: query
  16453. name: descCityID
  16454. type: integer
  16455. produces:
  16456. - application/json
  16457. responses:
  16458. "200":
  16459. description: OK
  16460. schema:
  16461. $ref: '#/definitions/models.HsbyTopGoods'
  16462. "500":
  16463. description: Internal Server Error
  16464. schema:
  16465. $ref: '#/definitions/app.Response'
  16466. security:
  16467. - ApiKeyAuth: []
  16468. summary: 查询热卖商品列表(二级市场挂牌点选)
  16469. tags:
  16470. - 定制【海商报业】
  16471. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  16472. get:
  16473. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  16474. parameters:
  16475. - description: 商品ID
  16476. in: query
  16477. name: goodsID
  16478. required: true
  16479. type: integer
  16480. produces:
  16481. - application/json
  16482. responses:
  16483. "200":
  16484. description: OK
  16485. schema:
  16486. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  16487. "500":
  16488. description: Internal Server Error
  16489. schema:
  16490. $ref: '#/definitions/app.Response'
  16491. security:
  16492. - ApiKeyAuth: []
  16493. summary: 查询游客三级市场(商城)商品信息详情
  16494. tags:
  16495. - 定制【海商报业】
  16496. /HSBY/QueryHsbyVisitorMarketGoodses:
  16497. get:
  16498. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  16499. parameters:
  16500. - description: 页码
  16501. in: query
  16502. name: page
  16503. type: integer
  16504. - description: 每页条数
  16505. in: query
  16506. name: pagesize
  16507. type: integer
  16508. - description: 市场ID列表,格式:1,2,3
  16509. in: query
  16510. name: marketIDs
  16511. required: true
  16512. type: string
  16513. - description: 类别ID
  16514. in: query
  16515. name: categoryID
  16516. type: integer
  16517. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  16518. in: query
  16519. name: goodsIDs
  16520. type: string
  16521. produces:
  16522. - application/json
  16523. responses:
  16524. "200":
  16525. description: OK
  16526. schema:
  16527. $ref: '#/definitions/models.HsbyMarketGoods'
  16528. "500":
  16529. description: Internal Server Error
  16530. schema:
  16531. $ref: '#/definitions/app.Response'
  16532. security:
  16533. - ApiKeyAuth: []
  16534. summary: 查询游客特卖商品列表(三级商城)
  16535. tags:
  16536. - 定制【海商报业】
  16537. /HSBY/QueryMyCollectionOrders:
  16538. get:
  16539. parameters:
  16540. - description: 页码
  16541. in: query
  16542. name: page
  16543. type: integer
  16544. - description: 每页条数
  16545. in: query
  16546. name: pagesize
  16547. type: integer
  16548. - description: 资金账户,格式:1,2,3
  16549. in: query
  16550. name: accountIDs
  16551. required: true
  16552. type: string
  16553. produces:
  16554. - application/json
  16555. responses:
  16556. "200":
  16557. description: OK
  16558. schema:
  16559. $ref: '#/definitions/models.HsbySellCollectionOrder'
  16560. "500":
  16561. description: Internal Server Error
  16562. schema:
  16563. $ref: '#/definitions/app.Response'
  16564. security:
  16565. - ApiKeyAuth: []
  16566. summary: 我的闲置中收款信息查询
  16567. tags:
  16568. - 定制【海商报业】
  16569. /HSBY/QueryMyCouponHolds:
  16570. get:
  16571. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  16572. parameters:
  16573. - description: 资金账户列表,格式:1,2,3
  16574. in: query
  16575. name: accountIDs
  16576. required: true
  16577. type: string
  16578. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  16579. in: query
  16580. name: holdStatus
  16581. type: string
  16582. produces:
  16583. - application/json
  16584. responses:
  16585. "200":
  16586. description: OK
  16587. schema:
  16588. $ref: '#/definitions/models.MyCouponHold'
  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/QueryMyCoupons:
  16599. get:
  16600. parameters:
  16601. - description: 资金账户列表,格式:1,2,3
  16602. in: query
  16603. name: accountIDs
  16604. required: true
  16605. type: string
  16606. - description: 商品ID, 一般与sellUserID配套传入
  16607. in: query
  16608. name: goodsID
  16609. type: integer
  16610. - description: 卖方UserID
  16611. in: query
  16612. name: sellUserID
  16613. type: integer
  16614. produces:
  16615. - application/json
  16616. responses:
  16617. "200":
  16618. description: OK
  16619. schema:
  16620. $ref: '#/definitions/models.MyCoupon'
  16621. "500":
  16622. description: Internal Server Error
  16623. schema:
  16624. $ref: '#/definitions/app.Response'
  16625. security:
  16626. - ApiKeyAuth: []
  16627. summary: 我的优惠卷查询
  16628. tags:
  16629. - 定制【海商报业】
  16630. /HSBY/QueryMyPayOrders:
  16631. get:
  16632. parameters:
  16633. - description: 页码
  16634. in: query
  16635. name: page
  16636. type: integer
  16637. - description: 每页条数
  16638. in: query
  16639. name: pagesize
  16640. type: integer
  16641. - description: 资金账户列表,格式:1,2,3
  16642. in: query
  16643. name: accountIDs
  16644. required: true
  16645. type: string
  16646. - description: 买方委托单号
  16647. in: query
  16648. name: buyOrderID
  16649. type: integer
  16650. - description: 卖方委托单号
  16651. in: query
  16652. name: sellOrderID
  16653. type: integer
  16654. produces:
  16655. - application/json
  16656. responses:
  16657. "200":
  16658. description: OK
  16659. schema:
  16660. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  16661. "500":
  16662. description: Internal Server Error
  16663. schema:
  16664. $ref: '#/definitions/app.Response'
  16665. security:
  16666. - ApiKeyAuth: []
  16667. summary: 获取我的订单中待付款信息
  16668. tags:
  16669. - 定制【海商报业】
  16670. /HSBY/QueryMyUsedCoupon:
  16671. get:
  16672. parameters:
  16673. - description: 资金账户列表,格式:1,2,3
  16674. in: query
  16675. name: accountIDs
  16676. required: true
  16677. type: string
  16678. produces:
  16679. - application/json
  16680. responses:
  16681. "200":
  16682. description: OK
  16683. schema:
  16684. $ref: '#/definitions/models.MyUsedCoupon'
  16685. "500":
  16686. description: Internal Server Error
  16687. schema:
  16688. $ref: '#/definitions/app.Response'
  16689. security:
  16690. - ApiKeyAuth: []
  16691. summary: 已使用优惠卷查询
  16692. tags:
  16693. - 定制【海商报业】
  16694. /HSBY/QueryProvincesAndCities:
  16695. get:
  16696. description: 查询结果只包括二级市场商品已关连的省市信息。
  16697. parameters:
  16698. - description: 省ID
  16699. in: query
  16700. name: provinceID
  16701. type: integer
  16702. produces:
  16703. - application/json
  16704. responses:
  16705. "200":
  16706. description: OK
  16707. schema:
  16708. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  16709. "500":
  16710. description: Internal Server Error
  16711. schema:
  16712. $ref: '#/definitions/app.Response'
  16713. security:
  16714. - ApiKeyAuth: []
  16715. summary: 查询省市信息(不包括区)
  16716. tags:
  16717. - 定制【海商报业】
  16718. /HSBY/SetHsbyMyPackagesStatus:
  16719. post:
  16720. parameters:
  16721. - description: 提货单号
  16722. in: query
  16723. name: takeOrderID
  16724. required: true
  16725. type: string
  16726. - description: 资金账号
  16727. in: query
  16728. name: accountID
  16729. required: true
  16730. type: integer
  16731. produces:
  16732. - application/json
  16733. responses:
  16734. "200":
  16735. description: OK
  16736. schema:
  16737. $ref: '#/definitions/app.Response'
  16738. "500":
  16739. description: Internal Server Error
  16740. schema:
  16741. $ref: '#/definitions/app.Response'
  16742. security:
  16743. - ApiKeyAuth: []
  16744. summary: 设置我的包裹已收货状态
  16745. tags:
  16746. - 定制【海商报业】
  16747. /Market/QueryGoodsesByLoginID:
  16748. get:
  16749. parameters:
  16750. - description: 登录账号
  16751. in: query
  16752. name: loginID
  16753. required: true
  16754. type: integer
  16755. - description: 市场ID列表,格式:1,2,3
  16756. in: query
  16757. name: marketIDs
  16758. type: string
  16759. produces:
  16760. - application/json
  16761. responses:
  16762. "200":
  16763. description: OK
  16764. schema:
  16765. $ref: '#/definitions/models.Goods'
  16766. "500":
  16767. description: Internal Server Error
  16768. schema:
  16769. $ref: '#/definitions/app.Response'
  16770. security:
  16771. - ApiKeyAuth: []
  16772. summary: 获取登录账号有权限的商品信息
  16773. tags:
  16774. - 通用市场
  16775. /Market/QueryMarketRun:
  16776. get:
  16777. parameters:
  16778. - description: 市场ID,不传返回所有
  16779. in: query
  16780. name: marketID
  16781. type: integer
  16782. produces:
  16783. - application/json
  16784. responses:
  16785. "200":
  16786. description: OK
  16787. schema:
  16788. $ref: '#/definitions/models.Marketrun'
  16789. "500":
  16790. description: Internal Server Error
  16791. schema:
  16792. $ref: '#/definitions/app.Response'
  16793. security:
  16794. - ApiKeyAuth: []
  16795. summary: 查询市场运行信息
  16796. tags:
  16797. - 通用市场
  16798. /Market/QueryMarketsByLoginID:
  16799. get:
  16800. parameters:
  16801. - description: 登录账号
  16802. in: query
  16803. name: loginID
  16804. required: true
  16805. type: integer
  16806. produces:
  16807. - application/json
  16808. responses:
  16809. "200":
  16810. description: OK
  16811. schema:
  16812. $ref: '#/definitions/models.Market'
  16813. "500":
  16814. description: Internal Server Error
  16815. schema:
  16816. $ref: '#/definitions/app.Response'
  16817. security:
  16818. - ApiKeyAuth: []
  16819. summary: 获取登录账号有权限的市场信息
  16820. tags:
  16821. - 通用市场
  16822. /Order/QueryHisTradeDetail:
  16823. get:
  16824. parameters:
  16825. - description: 资金账户 - 格式:1,2,3
  16826. in: query
  16827. name: accountID
  16828. required: true
  16829. type: string
  16830. - description: 成交单号
  16831. in: query
  16832. name: tradeID
  16833. type: integer
  16834. - description: 委托单号
  16835. in: query
  16836. name: orderID
  16837. type: integer
  16838. - description: 交易模式 - 格式:1,2,3
  16839. in: query
  16840. name: tradeMode
  16841. type: string
  16842. - description: 委托单据类型
  16843. in: query
  16844. name: buildType
  16845. type: integer
  16846. - description: 成交类别 - 格式:1,2,3
  16847. in: query
  16848. name: tradeType
  16849. type: string
  16850. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  16851. in: query
  16852. name: startDate
  16853. type: string
  16854. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  16855. in: query
  16856. name: endDate
  16857. type: string
  16858. produces:
  16859. - application/json
  16860. responses:
  16861. "200":
  16862. description: OK
  16863. schema:
  16864. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  16865. "500":
  16866. description: Internal Server Error
  16867. schema:
  16868. $ref: '#/definitions/app.Response'
  16869. security:
  16870. - ApiKeyAuth: []
  16871. summary: 历史成交单查询(合约市场)
  16872. tags:
  16873. - 通用单据
  16874. /Order/QueryHisTradeOrderDetail:
  16875. get:
  16876. parameters:
  16877. - description: 资金账户 - 格式:1,2,3
  16878. in: query
  16879. name: accountID
  16880. required: true
  16881. type: string
  16882. - description: 交易模式 - 格式:1,2,3
  16883. in: query
  16884. name: tradeMode
  16885. type: string
  16886. - description: 委托状态 - 格式:1,2,3
  16887. in: query
  16888. name: orderStatus
  16889. type: string
  16890. - description: 委托单号
  16891. in: query
  16892. name: orderID
  16893. type: integer
  16894. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  16895. in: query
  16896. name: startDate
  16897. type: string
  16898. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  16899. in: query
  16900. name: endDate
  16901. type: string
  16902. produces:
  16903. - application/json
  16904. responses:
  16905. "200":
  16906. description: OK
  16907. schema:
  16908. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  16909. "500":
  16910. description: Internal Server Error
  16911. schema:
  16912. $ref: '#/definitions/app.Response'
  16913. security:
  16914. - ApiKeyAuth: []
  16915. summary: 历史委托单查询请求(合约市场)
  16916. tags:
  16917. - 通用单据
  16918. /Order/QueryTradeDetail:
  16919. get:
  16920. parameters:
  16921. - description: 资金账户 - 格式:1,2,3
  16922. in: query
  16923. name: accountID
  16924. required: true
  16925. type: string
  16926. - description: 成交单号
  16927. in: query
  16928. name: tradeID
  16929. type: integer
  16930. - description: 委托单号
  16931. in: query
  16932. name: orderID
  16933. type: integer
  16934. - description: 交易模式 - 格式:1,2,3
  16935. in: query
  16936. name: tradeMode
  16937. type: string
  16938. - description: 委托单据类型
  16939. in: query
  16940. name: buildType
  16941. type: integer
  16942. - description: 成交类别 - 格式:1,2,3
  16943. in: query
  16944. name: tradeType
  16945. type: string
  16946. produces:
  16947. - application/json
  16948. responses:
  16949. "200":
  16950. description: OK
  16951. schema:
  16952. $ref: '#/definitions/order.QueryTradeDetailRsp'
  16953. "500":
  16954. description: Internal Server Error
  16955. schema:
  16956. $ref: '#/definitions/app.Response'
  16957. security:
  16958. - ApiKeyAuth: []
  16959. summary: 成交单查询(合约市场)
  16960. tags:
  16961. - 通用单据
  16962. /Order/QueryTradeOrderDetail:
  16963. get:
  16964. parameters:
  16965. - description: 资金账户 - 格式:1,2,3
  16966. in: query
  16967. name: accountID
  16968. required: true
  16969. type: string
  16970. - description: 交易模式 - 格式:1,2,3
  16971. in: query
  16972. name: tradeMode
  16973. type: string
  16974. - description: 委托状态 - 格式:1,2,3
  16975. in: query
  16976. name: orderStatus
  16977. type: string
  16978. - description: 委托单号
  16979. in: query
  16980. name: orderID
  16981. type: integer
  16982. produces:
  16983. - application/json
  16984. responses:
  16985. "200":
  16986. description: OK
  16987. schema:
  16988. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  16989. "500":
  16990. description: Internal Server Error
  16991. schema:
  16992. $ref: '#/definitions/app.Response'
  16993. security:
  16994. - ApiKeyAuth: []
  16995. summary: 委托单查询请求(合约市场)
  16996. tags:
  16997. - 通用单据
  16998. /Order/QueryTradePosition:
  16999. get:
  17000. parameters:
  17001. - description: 资金账户 - 格式:1,2,3
  17002. in: query
  17003. name: accountID
  17004. required: true
  17005. type: string
  17006. - description: 交易模式 - 格式:1,2,3
  17007. in: query
  17008. name: tradeMode
  17009. type: string
  17010. produces:
  17011. - application/json
  17012. responses:
  17013. "200":
  17014. description: OK
  17015. schema:
  17016. $ref: '#/definitions/order.QueryTradePositionRsp'
  17017. "500":
  17018. description: Internal Server Error
  17019. schema:
  17020. $ref: '#/definitions/app.Response'
  17021. security:
  17022. - ApiKeyAuth: []
  17023. summary: 持仓汇总查询(合约市场)
  17024. tags:
  17025. - 通用单据
  17026. /Quote/QueryHistoryDatas:
  17027. get:
  17028. parameters:
  17029. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  17030. 日线'
  17031. in: query
  17032. name: cycleType
  17033. required: true
  17034. type: integer
  17035. - description: 商品代码
  17036. in: query
  17037. name: goodsCode
  17038. required: true
  17039. type: string
  17040. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  17041. in: query
  17042. name: startTime
  17043. type: string
  17044. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  17045. in: query
  17046. name: endTime
  17047. type: string
  17048. - description: 条数
  17049. in: query
  17050. name: count
  17051. type: integer
  17052. - description: 是否按时间顺序排序(默认为时间倒序排序)
  17053. in: query
  17054. name: isAsc
  17055. type: boolean
  17056. produces:
  17057. - application/json
  17058. responses:
  17059. "200":
  17060. description: OK
  17061. schema:
  17062. $ref: '#/definitions/quote.HistoryData'
  17063. "500":
  17064. description: Internal Server Error
  17065. schema:
  17066. $ref: '#/definitions/app.Response'
  17067. security:
  17068. - ApiKeyAuth: []
  17069. summary: 查询行情历史数据
  17070. tags:
  17071. - 行情服务
  17072. /Quote/QueryHistoryTikDatas:
  17073. get:
  17074. parameters:
  17075. - description: 商品代码
  17076. in: query
  17077. name: goodsCode
  17078. required: true
  17079. type: string
  17080. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  17081. in: query
  17082. name: startTime
  17083. type: string
  17084. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  17085. in: query
  17086. name: endTime
  17087. type: string
  17088. - description: 条数
  17089. in: query
  17090. name: count
  17091. type: integer
  17092. - description: 是否按时间顺序排序(默认为时间倒序排序)
  17093. in: query
  17094. name: isAsc
  17095. type: boolean
  17096. produces:
  17097. - application/json
  17098. responses:
  17099. "200":
  17100. description: OK
  17101. schema:
  17102. $ref: '#/definitions/quote.HistoryTikData'
  17103. "500":
  17104. description: Internal Server Error
  17105. schema:
  17106. $ref: '#/definitions/app.Response'
  17107. security:
  17108. - ApiKeyAuth: []
  17109. summary: 查询行情Tik数据
  17110. tags:
  17111. - 行情服务
  17112. /Quote/QueryQuoteDay:
  17113. get:
  17114. parameters:
  17115. - description: 商品代码列表,格式:CU2102,CU2103,AL2107
  17116. in: query
  17117. name: goodsCodes
  17118. required: true
  17119. type: string
  17120. produces:
  17121. - application/json
  17122. responses:
  17123. "200":
  17124. description: OK
  17125. schema:
  17126. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  17127. "500":
  17128. description: Internal Server Error
  17129. schema:
  17130. $ref: '#/definitions/app.Response'
  17131. security:
  17132. - ApiKeyAuth: []
  17133. summary: 获取商品盘面信息
  17134. tags:
  17135. - 行情服务
  17136. /Quote/QueryTSData:
  17137. get:
  17138. parameters:
  17139. - description: 商品代码
  17140. in: query
  17141. name: goodsCode
  17142. required: true
  17143. type: string
  17144. produces:
  17145. - application/json
  17146. responses:
  17147. "200":
  17148. description: OK
  17149. schema:
  17150. $ref: '#/definitions/quote.QueryTSDataRsp'
  17151. "500":
  17152. description: Internal Server Error
  17153. schema:
  17154. $ref: '#/definitions/app.Response'
  17155. security:
  17156. - ApiKeyAuth: []
  17157. summary: 分时图数据查询
  17158. tags:
  17159. - 行情服务
  17160. /SZDZ/QueryConvertConfig:
  17161. get:
  17162. parameters:
  17163. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  17164. 6:交易转花生米(不设置)
  17165. in: query
  17166. name: convertType
  17167. type: integer
  17168. - description: 外部商品代码[JD\PD]
  17169. in: query
  17170. name: outerGoodsCode
  17171. type: string
  17172. - description: 内部商品ID列表[交易],格式:1,2,3
  17173. in: query
  17174. name: innerGoodsIDs
  17175. type: string
  17176. produces:
  17177. - application/json
  17178. responses:
  17179. "200":
  17180. description: OK
  17181. schema:
  17182. $ref: '#/definitions/models.Szdz3convertconfig'
  17183. "500":
  17184. description: Internal Server Error
  17185. schema:
  17186. $ref: '#/definitions/app.Response'
  17187. security:
  17188. - ApiKeyAuth: []
  17189. summary: 查询交易系统转换设置
  17190. tags:
  17191. - 定制【尚志大宗】
  17192. /SZDZ/QueryConvertLog:
  17193. get:
  17194. parameters:
  17195. - description: 资金账户 - 格式:1,2,3
  17196. in: query
  17197. name: accountID
  17198. required: true
  17199. type: string
  17200. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  17201. in: query
  17202. name: startDate
  17203. type: string
  17204. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  17205. in: query
  17206. name: endDate
  17207. type: string
  17208. produces:
  17209. - application/json
  17210. responses:
  17211. "200":
  17212. description: OK
  17213. schema:
  17214. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  17215. "500":
  17216. description: Internal Server Error
  17217. schema:
  17218. $ref: '#/definitions/app.Response'
  17219. security:
  17220. - ApiKeyAuth: []
  17221. summary: 交易系统转换流水查询
  17222. tags:
  17223. - 定制【尚志大宗】
  17224. /SZDZ/QueryGoodsPickup:
  17225. get:
  17226. parameters:
  17227. - description: 资金账户 - 格式:1,2,3
  17228. in: query
  17229. name: accountID
  17230. required: true
  17231. type: string
  17232. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  17233. in: query
  17234. name: takeOrderStatus
  17235. type: integer
  17236. produces:
  17237. - application/json
  17238. responses:
  17239. "200":
  17240. description: OK
  17241. schema:
  17242. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  17243. "500":
  17244. description: Internal Server Error
  17245. schema:
  17246. $ref: '#/definitions/app.Response'
  17247. security:
  17248. - ApiKeyAuth: []
  17249. summary: 商品提货单查询
  17250. tags:
  17251. - 定制【尚志大宗】
  17252. /SZDZ/QueryRecieptOrder:
  17253. get:
  17254. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  17255. parameters:
  17256. - description: 页码
  17257. in: query
  17258. name: page
  17259. type: integer
  17260. - description: 每页条数
  17261. in: query
  17262. name: pagesize
  17263. type: integer
  17264. - description: 商品ID
  17265. in: query
  17266. name: goodsID
  17267. required: true
  17268. type: integer
  17269. - description: 所属账户名称
  17270. in: query
  17271. name: accountName
  17272. type: string
  17273. - description: 市场ID
  17274. in: query
  17275. name: marketID
  17276. type: integer
  17277. - description: 方向 - 0:买 1:卖
  17278. in: query
  17279. name: buyorsell
  17280. required: true
  17281. type: integer
  17282. produces:
  17283. - application/json
  17284. responses:
  17285. "200":
  17286. description: OK
  17287. schema:
  17288. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  17289. "500":
  17290. description: Internal Server Error
  17291. schema:
  17292. $ref: '#/definitions/app.Response'
  17293. security:
  17294. - ApiKeyAuth: []
  17295. summary: 点选挂牌委托单据查询(摘牌大厅)
  17296. tags:
  17297. - 定制【尚志大宗】
  17298. /SZDZ/QuerySZDZTradePosition:
  17299. get:
  17300. parameters:
  17301. - description: 资金账户
  17302. in: query
  17303. name: accountID
  17304. required: true
  17305. type: integer
  17306. produces:
  17307. - application/json
  17308. responses:
  17309. "200":
  17310. description: OK
  17311. schema:
  17312. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  17313. "500":
  17314. description: Internal Server Error
  17315. schema:
  17316. $ref: '#/definitions/app.Response'
  17317. security:
  17318. - ApiKeyAuth: []
  17319. summary: 持仓汇总查询(尚志大宗)
  17320. tags:
  17321. - 定制【尚志大宗】
  17322. /SZDZ/SearchWhite:
  17323. get:
  17324. parameters:
  17325. - description: 用户ID
  17326. in: query
  17327. name: userID
  17328. required: true
  17329. type: integer
  17330. produces:
  17331. - application/json
  17332. responses:
  17333. "200":
  17334. description: OK
  17335. schema:
  17336. $ref: '#/definitions/models.Szdz3searchwhitelist'
  17337. "500":
  17338. description: Internal Server Error
  17339. schema:
  17340. $ref: '#/definitions/app.Response'
  17341. security:
  17342. - ApiKeyAuth: []
  17343. summary: 搜索白名单
  17344. tags:
  17345. - 定制【尚志大宗】
  17346. /Search/SearchGoodses:
  17347. get:
  17348. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  17349. parameters:
  17350. - description: 检索内容
  17351. in: query
  17352. name: content
  17353. required: true
  17354. type: string
  17355. - description: 交易模式,格式:1,2,3
  17356. in: query
  17357. name: tradeModes
  17358. type: string
  17359. produces:
  17360. - application/json
  17361. responses:
  17362. "200":
  17363. description: OK
  17364. schema:
  17365. $ref: '#/definitions/models.SearchGoods'
  17366. "500":
  17367. description: Internal Server Error
  17368. schema:
  17369. $ref: '#/definitions/app.Response'
  17370. summary: 检索商品信息
  17371. tags:
  17372. - 检索服务
  17373. /TaAccount/GetTaAccounts:
  17374. get:
  17375. parameters:
  17376. - description: 登录账户
  17377. in: query
  17378. name: loginID
  17379. required: true
  17380. type: integer
  17381. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  17382. in: query
  17383. name: taAccountType
  17384. type: integer
  17385. produces:
  17386. - application/json
  17387. responses:
  17388. "200":
  17389. description: OK
  17390. schema:
  17391. $ref: '#/definitions/models.Taaccount'
  17392. "500":
  17393. description: Internal Server Error
  17394. schema:
  17395. $ref: '#/definitions/app.Response'
  17396. security:
  17397. - ApiKeyAuth: []
  17398. summary: 获取资金账户信息
  17399. tags:
  17400. - 资金账户
  17401. /TaAccount/QueryAmountLog:
  17402. get:
  17403. parameters:
  17404. - description: 页码
  17405. in: query
  17406. name: page
  17407. type: integer
  17408. - description: 每页条数
  17409. in: query
  17410. name: pagesize
  17411. type: integer
  17412. - description: 资金账户 - 格式:1,2,3
  17413. in: query
  17414. name: accountID
  17415. required: true
  17416. type: string
  17417. - description: 资金操作类型 - 格式:1,2,3
  17418. in: query
  17419. name: OperateType
  17420. type: string
  17421. produces:
  17422. - application/json
  17423. responses:
  17424. "200":
  17425. description: OK
  17426. schema:
  17427. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  17428. "500":
  17429. description: Internal Server Error
  17430. schema:
  17431. $ref: '#/definitions/app.Response'
  17432. security:
  17433. - ApiKeyAuth: []
  17434. summary: 资金流水查询(当前)
  17435. tags:
  17436. - 资金账户
  17437. /TaAccount/QueryHisAmountLog:
  17438. get:
  17439. parameters:
  17440. - description: 页码
  17441. in: query
  17442. name: page
  17443. type: integer
  17444. - description: 每页条数
  17445. in: query
  17446. name: pagesize
  17447. type: integer
  17448. - description: 资金账户 - 格式:1,2,3
  17449. in: query
  17450. name: accountID
  17451. required: true
  17452. type: string
  17453. - description: 资金操作类型 - 格式:1,2,3
  17454. in: query
  17455. name: OperateType
  17456. type: string
  17457. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  17458. in: query
  17459. name: startDate
  17460. type: string
  17461. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  17462. in: query
  17463. name: endDate
  17464. type: string
  17465. produces:
  17466. - application/json
  17467. responses:
  17468. "200":
  17469. description: OK
  17470. schema:
  17471. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  17472. "500":
  17473. description: Internal Server Error
  17474. schema:
  17475. $ref: '#/definitions/app.Response'
  17476. security:
  17477. - ApiKeyAuth: []
  17478. summary: 资金流水查询(历史)
  17479. tags:
  17480. - 资金账户
  17481. /Trade/QueryRecieptOrder:
  17482. get:
  17483. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  17484. parameters:
  17485. - description: 页码
  17486. in: query
  17487. name: page
  17488. type: integer
  17489. - description: 每页条数
  17490. in: query
  17491. name: pagesize
  17492. type: integer
  17493. - description: 商品ID
  17494. in: query
  17495. name: goodsID
  17496. required: true
  17497. type: integer
  17498. - description: 所属账户名称
  17499. in: query
  17500. name: accountName
  17501. type: string
  17502. - description: 市场ID
  17503. in: query
  17504. name: marketID
  17505. type: integer
  17506. - description: 方向 - 0:买 1:卖
  17507. in: query
  17508. name: buyorsell
  17509. required: true
  17510. type: integer
  17511. produces:
  17512. - application/json
  17513. responses:
  17514. "200":
  17515. description: OK
  17516. schema:
  17517. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  17518. "500":
  17519. description: Internal Server Error
  17520. schema:
  17521. $ref: '#/definitions/app.Response'
  17522. security:
  17523. - ApiKeyAuth: []
  17524. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  17525. tags:
  17526. - 通用交易
  17527. /User/AddMessageBoard:
  17528. post:
  17529. parameters:
  17530. - description: 用户ID
  17531. in: query
  17532. name: userID
  17533. required: true
  17534. type: integer
  17535. - description: 留言信息
  17536. in: query
  17537. name: message
  17538. required: true
  17539. type: string
  17540. - description: 联系电话
  17541. in: query
  17542. name: contactNum
  17543. required: true
  17544. type: string
  17545. produces:
  17546. - application/json
  17547. responses:
  17548. "200":
  17549. description: OK
  17550. schema:
  17551. $ref: '#/definitions/app.Response'
  17552. "500":
  17553. description: Internal Server Error
  17554. schema:
  17555. $ref: '#/definitions/app.Response'
  17556. security:
  17557. - ApiKeyAuth: []
  17558. summary: 添加用户留言板信息
  17559. tags:
  17560. - 用户信息
  17561. /User/AddUserFavoriteGoods:
  17562. post:
  17563. parameters:
  17564. - description: 用户ID
  17565. in: query
  17566. name: userID
  17567. required: true
  17568. type: integer
  17569. - description: 商品ID
  17570. in: query
  17571. name: goodsID
  17572. required: true
  17573. type: integer
  17574. produces:
  17575. - application/json
  17576. responses:
  17577. "200":
  17578. description: OK
  17579. schema:
  17580. $ref: '#/definitions/app.Response'
  17581. "500":
  17582. description: Internal Server Error
  17583. schema:
  17584. $ref: '#/definitions/app.Response'
  17585. security:
  17586. - ApiKeyAuth: []
  17587. summary: 添加用户商品收藏信息
  17588. tags:
  17589. - 用户信息
  17590. /User/GetLoginID:
  17591. get:
  17592. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  17593. parameters:
  17594. - description: 登录代码
  17595. in: query
  17596. name: username
  17597. required: true
  17598. type: string
  17599. produces:
  17600. - application/json
  17601. responses:
  17602. "200":
  17603. description: OK
  17604. schema:
  17605. $ref: '#/definitions/app.Response'
  17606. "500":
  17607. description: Internal Server Error
  17608. schema:
  17609. $ref: '#/definitions/app.Response'
  17610. summary: 获取登录ID
  17611. tags:
  17612. - 用户信息
  17613. /User/GetUserAccount:
  17614. get:
  17615. parameters:
  17616. - description: 用户ID
  17617. in: query
  17618. name: userID
  17619. required: true
  17620. type: integer
  17621. produces:
  17622. - application/json
  17623. responses:
  17624. "200":
  17625. description: OK
  17626. schema:
  17627. $ref: '#/definitions/models.Useraccount'
  17628. "500":
  17629. description: Internal Server Error
  17630. schema:
  17631. $ref: '#/definitions/app.Response'
  17632. security:
  17633. - ApiKeyAuth: []
  17634. summary: 获取用户账号信息
  17635. tags:
  17636. - 用户信息
  17637. /User/GetUserAuthStatus:
  17638. get:
  17639. parameters:
  17640. - description: 用户ID
  17641. in: query
  17642. name: userID
  17643. required: true
  17644. type: integer
  17645. produces:
  17646. - application/json
  17647. responses:
  17648. "200":
  17649. description: OK
  17650. schema:
  17651. $ref: '#/definitions/app.Response'
  17652. "500":
  17653. description: Internal Server Error
  17654. schema:
  17655. $ref: '#/definitions/app.Response'
  17656. security:
  17657. - ApiKeyAuth: []
  17658. summary: 获取用户实名认证状态
  17659. tags:
  17660. - 用户信息
  17661. /User/LoginQuery:
  17662. get:
  17663. parameters:
  17664. - description: 登录账号
  17665. in: query
  17666. name: loginID
  17667. required: true
  17668. type: integer
  17669. produces:
  17670. - application/json
  17671. responses:
  17672. "200":
  17673. description: OK
  17674. schema:
  17675. $ref: '#/definitions/user.LoginQueryRsp'
  17676. "500":
  17677. description: Internal Server Error
  17678. schema:
  17679. $ref: '#/definitions/app.Response'
  17680. security:
  17681. - ApiKeyAuth: []
  17682. summary: 账户登录后信息查询
  17683. tags:
  17684. - 用户信息
  17685. /User/QueryMessageBoard:
  17686. get:
  17687. parameters:
  17688. - description: 用户ID
  17689. in: query
  17690. name: userID
  17691. required: true
  17692. type: integer
  17693. produces:
  17694. - application/json
  17695. responses:
  17696. "200":
  17697. description: OK
  17698. schema:
  17699. $ref: '#/definitions/models.Messageboard'
  17700. "500":
  17701. description: Internal Server Error
  17702. schema:
  17703. $ref: '#/definitions/app.Response'
  17704. security:
  17705. - ApiKeyAuth: []
  17706. summary: 获取用户留言板信息
  17707. tags:
  17708. - 用户信息
  17709. /User/QueryUserFavoriteGoodses:
  17710. get:
  17711. parameters:
  17712. - description: 用户ID
  17713. in: query
  17714. name: userID
  17715. required: true
  17716. type: integer
  17717. produces:
  17718. - application/json
  17719. responses:
  17720. "200":
  17721. description: OK
  17722. schema:
  17723. $ref: '#/definitions/models.Userfavoritegoods'
  17724. "500":
  17725. description: Internal Server Error
  17726. schema:
  17727. $ref: '#/definitions/app.Response'
  17728. security:
  17729. - ApiKeyAuth: []
  17730. summary: 获取用户商品收藏信息
  17731. tags:
  17732. - 用户信息
  17733. /User/QueryUserInfo:
  17734. get:
  17735. parameters:
  17736. - description: 用户ID
  17737. in: query
  17738. name: userID
  17739. required: true
  17740. type: integer
  17741. - description: 是否解密
  17742. in: query
  17743. name: isDecrypt
  17744. type: boolean
  17745. produces:
  17746. - application/json
  17747. responses:
  17748. "200":
  17749. description: OK
  17750. schema:
  17751. $ref: '#/definitions/models.Userinfo'
  17752. "500":
  17753. description: Internal Server Error
  17754. schema:
  17755. $ref: '#/definitions/app.Response'
  17756. security:
  17757. - ApiKeyAuth: []
  17758. summary: 获取用户信息
  17759. tags:
  17760. - 用户信息
  17761. /User/QueryUserReferNum:
  17762. get:
  17763. parameters:
  17764. - description: 用户ID
  17765. in: query
  17766. name: userID
  17767. required: true
  17768. type: integer
  17769. produces:
  17770. - application/json
  17771. responses:
  17772. "200":
  17773. description: OK
  17774. schema:
  17775. $ref: '#/definitions/app.Response'
  17776. "500":
  17777. description: Internal Server Error
  17778. schema:
  17779. $ref: '#/definitions/app.Response'
  17780. summary: 获取用户邀请码
  17781. tags:
  17782. - 用户信息
  17783. /User/RemoveUserFavoriteGoods:
  17784. post:
  17785. parameters:
  17786. - description: 用户ID
  17787. in: query
  17788. name: userID
  17789. required: true
  17790. type: integer
  17791. - description: 商品ID
  17792. in: query
  17793. name: goodsID
  17794. required: true
  17795. type: integer
  17796. produces:
  17797. - application/json
  17798. responses:
  17799. "200":
  17800. description: OK
  17801. schema:
  17802. $ref: '#/definitions/app.Response'
  17803. "500":
  17804. description: Internal Server Error
  17805. schema:
  17806. $ref: '#/definitions/app.Response'
  17807. security:
  17808. - ApiKeyAuth: []
  17809. summary: 移除用户商品收藏信息
  17810. tags:
  17811. - 用户信息
  17812. /User/UpdateUserAccountStatus:
  17813. post:
  17814. parameters:
  17815. - description: 用户ID
  17816. in: query
  17817. name: userID
  17818. required: true
  17819. type: integer
  17820. - description: 账户状态 - 4:正常 6:注销(停用)
  17821. in: query
  17822. name: accountStatus
  17823. required: true
  17824. type: integer
  17825. produces:
  17826. - application/json
  17827. responses:
  17828. "200":
  17829. description: OK
  17830. schema:
  17831. $ref: '#/definitions/app.Response'
  17832. "500":
  17833. description: Internal Server Error
  17834. schema:
  17835. $ref: '#/definitions/app.Response'
  17836. security:
  17837. - ApiKeyAuth: []
  17838. summary: 更新用户状态
  17839. tags:
  17840. - 用户信息
  17841. /WRTrade/GetAllDeliveryGoods:
  17842. get:
  17843. produces:
  17844. - application/json
  17845. - application/json
  17846. responses:
  17847. "200":
  17848. description: OK
  17849. schema:
  17850. $ref: '#/definitions/app.Response'
  17851. "500":
  17852. description: Internal Server Error
  17853. schema:
  17854. $ref: '#/definitions/app.Response'
  17855. security:
  17856. - ApiKeyAuth: []
  17857. - ApiKeyAuth: []
  17858. summary: 获取带仓单分类的种类信息
  17859. tags:
  17860. - 仓单贸易
  17861. - 仓单贸易
  17862. securityDefinitions:
  17863. ApiKeyAuth:
  17864. in: header
  17865. name: Authorization
  17866. type: apiKey
  17867. swagger: "2.0"