swagger.yaml 473 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286
  1. basePath: /api
  2. definitions:
  3. app.Response:
  4. properties:
  5. code:
  6. type: integer
  7. data:
  8. type: object
  9. msg:
  10. type: string
  11. page:
  12. description: 页码
  13. type: integer
  14. pagesize:
  15. description: 每页条数
  16. type: integer
  17. total:
  18. description: 总条数
  19. type: integer
  20. type: object
  21. common.ClientMenu:
  22. properties:
  23. children:
  24. description: 子菜单列表
  25. items:
  26. $ref: '#/definitions/common.ClientMenu'
  27. type: array
  28. code:
  29. description: ID
  30. type: string
  31. isshow:
  32. description: 是否显示
  33. type: boolean
  34. rulekey:
  35. description: 对应权限主键,对应FUNCMENULIST表RESOURCECODE
  36. type: string
  37. sort:
  38. description: 排序
  39. type: integer
  40. title:
  41. description: 标题
  42. type: string
  43. type:
  44. description: 类型,1:菜单 2:按钮
  45. type: integer
  46. type: object
  47. common.QueryImageConfigsRsp:
  48. properties:
  49. areauserid:
  50. description: 所属机构ID
  51. type: integer
  52. configid:
  53. description: 配置ID(SEQ_SZDZ2_IMAGECONFIG)
  54. type: integer
  55. createdate:
  56. description: 创建时间
  57. type: string
  58. creatorid:
  59. description: 创建人
  60. type: integer
  61. imagepath:
  62. description: 图片
  63. type: string
  64. imagetype:
  65. description: 类型 - 1:首页轮播(移动) 2:我的(移动)
  66. type: integer
  67. isshow:
  68. description: 是否展示 - 0:不展示 1:展示
  69. type: integer
  70. marketid:
  71. description: 市场ID
  72. type: integer
  73. modifierid:
  74. description: 操作人
  75. type: integer
  76. sort:
  77. description: 排序
  78. type: integer
  79. title:
  80. description: 标题
  81. type: string
  82. trademode:
  83. description: 交易模式
  84. type: integer
  85. updatedate:
  86. description: 修改时间
  87. type: string
  88. url:
  89. description: 链接(地址或商品ID)
  90. type: string
  91. urltype:
  92. description: 链接类型 - 1:直接地址 2:商品ID
  93. type: integer
  94. required:
  95. - configid
  96. type: object
  97. common.QueryNoticeRsp:
  98. properties:
  99. auditoruserid:
  100. description: 审核人
  101. type: integer
  102. auditremark:
  103. description: 审核备注
  104. type: string
  105. audittime:
  106. description: 审核日期
  107. type: string
  108. autoid:
  109. description: 自增ID
  110. type: integer
  111. content:
  112. description: 内容
  113. type: string
  114. createtime:
  115. description: 创建时间
  116. type: string
  117. creatorid:
  118. description: 建仓人
  119. type: integer
  120. endtime:
  121. description: 结束时间
  122. type: string
  123. istop:
  124. description: 是否置顶 - 0:不置顶 1:置顶
  125. type: integer
  126. msgiconurl:
  127. description: 消息图标Url
  128. type: string
  129. msgtype:
  130. description: 消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知
  131. type: integer
  132. publisher:
  133. description: 消息发布者
  134. type: string
  135. readed:
  136. description: 是否已读
  137. type: boolean
  138. scheduletime:
  139. description: 计划发送时间
  140. type: string
  141. sendtype:
  142. description: 推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)
  143. type: integer
  144. sentstatus:
  145. description: 推送状态 - 0:未推送 1:已推送 2:审核拒绝
  146. type: integer
  147. title:
  148. description: 标题
  149. type: string
  150. userid:
  151. description: 会员/投资者ID推送方式 为 个人时,填写投资者ID
  152. type: integer
  153. required:
  154. - autoid
  155. type: object
  156. common.QueryProvincesAndCitiesRsp:
  157. properties:
  158. cities:
  159. description: 市
  160. items:
  161. $ref: '#/definitions/models.Division'
  162. type: array
  163. province:
  164. $ref: '#/definitions/models.Division'
  165. description: 省
  166. type: object
  167. type: object
  168. common.QueryTableDefineRsp:
  169. properties:
  170. columns:
  171. description: 列头信息数组
  172. items:
  173. $ref: '#/definitions/models.Tablecolumnconfig'
  174. type: array
  175. remark:
  176. description: Remark
  177. type: string
  178. tabelmenu:
  179. description: 列表菜单
  180. type: string
  181. tablekey:
  182. description: 列表Key
  183. type: string
  184. tablename:
  185. description: 列表名称
  186. type: string
  187. tabletype:
  188. description: 列表类型 - 1:管理端 2:终端
  189. type: integer
  190. required:
  191. - tablekey
  192. type: object
  193. common.QueryTraderMenuRsp:
  194. properties:
  195. OperationMenu:
  196. description: 功能菜单
  197. items:
  198. $ref: '#/definitions/models.OperationPrimaryMenu'
  199. type: array
  200. QuoteMenu:
  201. description: 报价牌分类菜单
  202. items:
  203. $ref: '#/definitions/models.QuotePrimaryMenu'
  204. type: array
  205. type: object
  206. cptrade.Cptradepositioncancel:
  207. properties:
  208. accountid:
  209. description: 申请人账户ID
  210. type: integer
  211. applystatus:
  212. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  213. type: integer
  214. applytime:
  215. description: 申请时间
  216. type: string
  217. cancelid:
  218. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  219. type: integer
  220. cancelqty:
  221. description: 注销数量
  222. type: integer
  223. createtime:
  224. description: 创建时间
  225. type: string
  226. creatorid:
  227. description: 创建人ID
  228. type: integer
  229. creatorname:
  230. description: 创建人
  231. type: string
  232. goodscode:
  233. description: 订单商品代码
  234. type: string
  235. goodsid:
  236. description: 商品ID
  237. type: integer
  238. goodsname:
  239. description: 订单商品名称
  240. type: string
  241. goodunit:
  242. description: 报价单位
  243. type: string
  244. handlestatus:
  245. description: 处理状态
  246. type: integer
  247. marketid:
  248. description: 市场ID
  249. type: integer
  250. marketname:
  251. description: 市场名称
  252. type: string
  253. tradedate:
  254. description: 交易日(yyyyMMdd)
  255. type: string
  256. userid:
  257. description: 申请人ID
  258. type: integer
  259. required:
  260. - cancelid
  261. type: object
  262. cptrade.Cptradepresaleapply:
  263. properties:
  264. accountid:
  265. description: 申请人账户ID
  266. type: integer
  267. applyid:
  268. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  269. type: integer
  270. applyremark:
  271. description: 申请备注
  272. type: string
  273. applystatus:
  274. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  275. type: integer
  276. applytime:
  277. description: 申请时间
  278. type: string
  279. attachmenturl:
  280. description: 附件地址
  281. type: string
  282. endtime:
  283. description: 预售结束时间
  284. type: string
  285. goodscode:
  286. description: 商品代码
  287. type: string
  288. goodsid:
  289. description: 商品ID
  290. type: integer
  291. goodsname:
  292. description: 商品名称
  293. type: string
  294. goodunit:
  295. description: 报价单位
  296. type: string
  297. handlestatus:
  298. description: 处理状态
  299. type: integer
  300. marketid:
  301. description: 预售市场ID
  302. type: integer
  303. marketname:
  304. description: 预售市场名称
  305. type: string
  306. presaleqty:
  307. description: 预售数量
  308. type: integer
  309. relatedgoodscode:
  310. description: 关联交易合约代码
  311. type: string
  312. relatedgoodsid:
  313. description: 关联交易合约ID
  314. type: integer
  315. relatedgoodsname:
  316. description: 关联交易合约名称
  317. type: string
  318. starttime:
  319. description: 预售开始时间
  320. type: string
  321. tradedate:
  322. description: 交易日(yyyyMMdd)
  323. type: string
  324. trademode:
  325. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  326. type: integer
  327. userid:
  328. description: 申请人ID
  329. type: integer
  330. required:
  331. - applyid
  332. type: object
  333. cptrade.Cptradeusergoodsdata:
  334. properties:
  335. EnabledQty:
  336. description: 可用量
  337. type: integer
  338. GoodsCode:
  339. description: 订单商品代码
  340. type: string
  341. GoodsName:
  342. description: 订单商品名称
  343. type: string
  344. WRStandardCode:
  345. description: 仓单标准代码
  346. type: string
  347. WRStandardName:
  348. description: 仓单标准名称
  349. type: string
  350. accountid:
  351. description: 账户ID
  352. type: integer
  353. cancelqty:
  354. description: 注销量
  355. type: integer
  356. curpresaleqty:
  357. description: 当前预售量
  358. type: integer
  359. deliveryqty:
  360. description: 交割量
  361. type: integer
  362. freezeamount:
  363. description: 冻结金额
  364. type: number
  365. goodsid:
  366. description: 商品ID
  367. type: integer
  368. goodunit:
  369. description: 报价单位
  370. type: string
  371. hasspotfreeze:
  372. description: 是否有现货冻结 - 0:否 1:有
  373. type: integer
  374. inqty:
  375. description: 转入量(总数量)
  376. type: integer
  377. marketid:
  378. description: 市场ID
  379. type: integer
  380. presaledamount:
  381. description: 已预售总金额
  382. type: integer
  383. presaledqty:
  384. description: 已预售量
  385. type: integer
  386. userid:
  387. description: 用户ID
  388. type: integer
  389. wrstandardid:
  390. description: 仓单标准ID
  391. type: integer
  392. required:
  393. - accountid
  394. - goodsid
  395. type: object
  396. cptrade.QueryCPTradeMyBidRsp:
  397. properties:
  398. accountid:
  399. description: 账户ID[报价币种]
  400. type: integer
  401. goodsid:
  402. description: 商品ID
  403. type: integer
  404. goodunit:
  405. description: 报价单位
  406. type: string
  407. marketid:
  408. description: 市场ID
  409. type: integer
  410. orderid:
  411. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  412. type: integer
  413. orderprice:
  414. description: 委托价格
  415. type: number
  416. orderqty:
  417. description: 委托数量
  418. type: integer
  419. ordertime:
  420. description: 委托时间
  421. type: string
  422. ordertotalprice:
  423. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  424. type: number
  425. ordertotalweight:
  426. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  427. type: integer
  428. totaltotalprice:
  429. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  430. type: number
  431. tradeprice:
  432. description: 成交价格
  433. type: number
  434. tradeqty:
  435. description: 成交数量
  436. type: integer
  437. required:
  438. - accountid
  439. - goodsid
  440. - marketid
  441. - orderid
  442. - orderqty
  443. - ordertime
  444. - tradeprice
  445. - tradeqty
  446. type: object
  447. cptrade.QueryCPTradeOrderDetailRsq:
  448. properties:
  449. accountid:
  450. description: 账户ID[报价币种]
  451. type: integer
  452. buildtype:
  453. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  454. type: integer
  455. buyorsell:
  456. description: 买卖 - 0:买 1:卖
  457. type: integer
  458. cancelorderid:
  459. description: 撤单单号(撤单时填写)
  460. type: integer
  461. cancelqty:
  462. description: 撤单数量
  463. type: integer
  464. clientordertime:
  465. description: 客户端委托时间
  466. type: string
  467. clientticket:
  468. description: 客户端流水号
  469. type: string
  470. clienttype:
  471. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  472. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  473. type: integer
  474. closeexchagechargevalue:
  475. description: 平仓交易所手续费设置值
  476. type: number
  477. closefeealgorithm:
  478. description: 平仓手续费收取方式 1:比率 2:固定
  479. type: integer
  480. closefreezecharge:
  481. description: 平仓冻结手续费(先建后平操作,需要记录)
  482. type: number
  483. closememberchargevalue:
  484. description: 平仓会员手续费设置值
  485. type: number
  486. closeqty:
  487. description: 平仓数量(先建后平操作 需要记录)
  488. type: integer
  489. closetradeqty:
  490. description: 平仓成交数量(先建后平操作,需要记录)
  491. type: integer
  492. closeunfreezecharge:
  493. description: 平仓解冻手续费(先建后平操作,需要记录)
  494. type: number
  495. delistingtype:
  496. description: 摘牌类型 - 1:价格最优 2:点选成交
  497. type: integer
  498. freezecharge:
  499. description: 冻结手续费
  500. type: number
  501. freezemargin:
  502. description: 冻结保证金(冻结交易金额)
  503. type: number
  504. gcaccountid:
  505. description: 账户ID[合约币种]
  506. type: integer
  507. goodsid:
  508. description: 商品ID
  509. type: integer
  510. isconfirmexercise:
  511. description: 是否确认行权- 0:否 1:是
  512. type: integer
  513. ispreexercise:
  514. description: 是否预申报- 0:否 1:是
  515. type: integer
  516. listingselecttype:
  517. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  518. type: integer
  519. marginalgorithm:
  520. description: 保证金收取方式 1:比率 2:固定
  521. type: integer
  522. marginvalue:
  523. description: 即市保证金设置值
  524. type: number
  525. marketid:
  526. description: 市场ID
  527. type: integer
  528. marketmaxsub:
  529. description: 市价最大偏移范围
  530. type: number
  531. memberuserid:
  532. description: 所属会员UserID
  533. type: integer
  534. openexchagechargevalue:
  535. description: 建仓交易所手续费设置值
  536. type: number
  537. openfeealgorithm:
  538. description: 建仓手续费收取方式 1:比率 2:固定
  539. type: integer
  540. openfreezecharge:
  541. description: 开仓冻结手续费(先建后平操作,需要记录)
  542. type: number
  543. openmemberchargevalue:
  544. description: 建仓会员手续费设置值
  545. type: number
  546. openqty:
  547. description: 开仓数量(先建后平操作,需要记录)
  548. type: integer
  549. opentradeqty:
  550. description: 开仓成交数量(先建后平操作,需要记录)
  551. type: integer
  552. openunfreezecharge:
  553. description: 开仓解冻手续费(先建后平操作,需要记录)
  554. type: number
  555. operatetype:
  556. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  557. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  558. 15:管理端协议转让
  559. type: integer
  560. operatorid:
  561. description: 登录账号(LoginID)
  562. type: integer
  563. optiontype:
  564. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  565. type: integer
  566. orderprice:
  567. description: 委托价格
  568. type: number
  569. orderqty:
  570. description: 委托数量
  571. type: integer
  572. ordersrc:
  573. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  574. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  575. type: integer
  576. orderstatus:
  577. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  578. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  579. 16:成交失败违约(荷兰式竞拍专用)
  580. type: integer
  581. ordertime:
  582. description: 委托时间
  583. type: string
  584. preexerciseprice:
  585. description: 预申报价格
  586. type: number
  587. premium:
  588. description: 权利金
  589. type: number
  590. preorderid:
  591. description: 关联预埋单号(止盈止损单时填写)
  592. type: integer
  593. pricemode:
  594. description: '取价方式 - 1:市价 2: 限价'
  595. type: integer
  596. quoteid:
  597. description: 报价单ID
  598. type: integer
  599. relatedid:
  600. description: 关联单号(交割单)
  601. type: integer
  602. retcode:
  603. description: 错误代码
  604. type: integer
  605. sessionid:
  606. description: 会话ID
  607. type: integer
  608. strorderid:
  609. description: 委托单号
  610. type: string
  611. tradedate:
  612. description: 交易日(yyyyMMdd)
  613. type: string
  614. tradeproperty:
  615. description: 交易属性
  616. type: integer
  617. tradeqty:
  618. description: 成交数量
  619. type: integer
  620. unfreezecharge:
  621. description: 解冻手续费
  622. type: number
  623. unfreezemargin:
  624. description: 解冻保证金
  625. type: number
  626. updatetime:
  627. description: 更新时间
  628. type: string
  629. uuid:
  630. description: 发起端唯一id
  631. type: string
  632. validtime:
  633. description: 有效期限
  634. type: string
  635. validtype:
  636. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  637. type: integer
  638. volumetype:
  639. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  640. type: integer
  641. required:
  642. - accountid
  643. - buildtype
  644. - buyorsell
  645. - goodsid
  646. - marketid
  647. - memberuserid
  648. - operatetype
  649. - orderqty
  650. - ordertime
  651. - pricemode
  652. - strorderid
  653. - tradedate
  654. - validtype
  655. type: object
  656. cptrade.QueryMyCPTradeGoodsRsp:
  657. properties:
  658. accountid:
  659. description: 卖方账户ID
  660. type: integer
  661. agreeunit:
  662. description: 合约单位
  663. type: number
  664. applyid:
  665. description: 关联申请ID
  666. type: integer
  667. attachmenturl:
  668. description: 附件地址
  669. type: string
  670. createtime:
  671. description: 创建时间
  672. type: string
  673. currencyid:
  674. description: 报价货币ID
  675. type: integer
  676. decimalplace:
  677. description: 报价小数位
  678. type: integer
  679. endtime:
  680. description: 预售结束时间
  681. type: string
  682. floorprice:
  683. description: 底价[大宗式竞拍]
  684. type: number
  685. goodscode:
  686. description: 商品代码(预售)
  687. type: string
  688. goodsdetail:
  689. description: 详情[大宗]
  690. type: string
  691. goodsid:
  692. description: 商品ID(自增ID SEQ_GOODS)
  693. type: integer
  694. goodsname:
  695. description: 商品名称(预售)
  696. type: string
  697. goodunit:
  698. description: 报价单位
  699. type: string
  700. goodunitid:
  701. description: 报价单位ID
  702. type: integer
  703. marketid:
  704. description: 所属市场ID
  705. type: integer
  706. marketname:
  707. description: 预售市场名称
  708. type: string
  709. presaledamount:
  710. description: 已预售总金额(预售结束时更新)
  711. type: number
  712. presaledqty:
  713. description: 已预售量(预售结束时更新)
  714. type: integer
  715. presalemode:
  716. description: 预售模式 - 1:一口价 2:大宗式竞拍
  717. type: integer
  718. presaleqty:
  719. description: 预售数量
  720. type: integer
  721. refprice:
  722. description: 参考价格[一口价]
  723. type: number
  724. relatedgoodscode:
  725. description: 商品代码(订单)
  726. type: string
  727. relatedgoodsid:
  728. description: 关联交易合约ID
  729. type: integer
  730. relatedgoodsname:
  731. description: 商品名称(订单)
  732. type: string
  733. relatedmarketid:
  734. description: 关联交易合约市场ID
  735. type: integer
  736. sellstatus:
  737. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  738. type: integer
  739. startprice:
  740. description: 起拍价[大宗式竞拍]
  741. type: number
  742. starttime:
  743. description: 预售开始时间
  744. type: string
  745. tradedate:
  746. description: 交易日(yyyyMMdd)
  747. type: string
  748. tradeprice:
  749. description: 成交价[大宗]
  750. type: number
  751. userid:
  752. description: 卖方用户ID
  753. type: integer
  754. required:
  755. - goodscode
  756. - goodsid
  757. - goodsname
  758. - marketid
  759. - relatedgoodscode
  760. - relatedgoodsname
  761. type: object
  762. cptrade.QueryPresaleGoodsExRsp:
  763. properties:
  764. attachmenturl:
  765. description: 附件地址
  766. type: string
  767. createtime:
  768. description: 创建时间
  769. type: string
  770. endtime:
  771. description: 预售结束时间
  772. type: string
  773. floorprice:
  774. description: 底价[大宗式竞拍]
  775. type: number
  776. goodsdetail:
  777. description: 详情[大宗]
  778. type: string
  779. goodsid:
  780. description: 商品ID(预售)
  781. type: integer
  782. goodunit:
  783. description: 报价单位
  784. type: string
  785. marketid:
  786. description: 预售市场ID - 根据预售模式选择市场
  787. type: integer
  788. presaledamount:
  789. description: 已预售总金额(预售结束时更新)
  790. type: number
  791. presaledqty:
  792. description: 已预售量(预售结束时更新)
  793. type: integer
  794. presalemode:
  795. description: 预售模式 - 1:一口价 2:大宗式竞拍
  796. type: integer
  797. presaleqty:
  798. description: 预售数量
  799. type: integer
  800. refprice:
  801. description: 参考价格[一口价]
  802. type: number
  803. relatedgoodsid:
  804. description: 关联交易合约ID
  805. type: integer
  806. relatedmarketid:
  807. description: 关联交易合约市场ID
  808. type: integer
  809. sellstatus:
  810. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  811. type: integer
  812. startprice:
  813. description: 起拍价[大宗式竞拍]
  814. type: number
  815. starttime:
  816. description: 预售开始时间
  817. type: string
  818. tradedate:
  819. description: 交易日(yyyyMMdd)
  820. type: string
  821. tradeprice:
  822. description: 成交价[大宗]
  823. type: number
  824. required:
  825. - goodsid
  826. type: object
  827. delivery.QueryDeliveryRelationRsp:
  828. properties:
  829. begindate:
  830. description: 起始日期(yyyyMMdd)
  831. type: string
  832. buytemplateid:
  833. description: 买履约计划模板ID
  834. type: integer
  835. deliverygoodscode:
  836. description: 品种代码
  837. type: string
  838. deliverygoodsid:
  839. description: 交割商品
  840. type: integer
  841. deliverygoodsname:
  842. description: 品种名称
  843. type: string
  844. deliverymode:
  845. description: 交割方式 - 1:点选式 2:申报式
  846. type: integer
  847. deliverypricerule:
  848. description: 交割价规则- 1:行情价 2:建仓价
  849. type: integer
  850. deliverytype:
  851. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  852. type: integer
  853. enddate:
  854. description: 结束日期(yyyyMMdd)
  855. type: string
  856. goodscode:
  857. description: 商品代码
  858. type: string
  859. goodsid:
  860. description: 交易合约ID
  861. type: integer
  862. goodsname:
  863. description: 商品名称
  864. type: string
  865. marketid:
  866. description: 市场ID
  867. type: integer
  868. mindeliveryqty:
  869. description: 最小交割系数(K)
  870. type: integer
  871. p2deliveryprice:
  872. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  873. type: number
  874. p2deliveryratio:
  875. description: P2合约系数(p)
  876. type: integer
  877. p2goodsid:
  878. description: P2合约ID
  879. type: integer
  880. p2pricemode:
  881. description: P2合约价格方式 - 1:商品价 2:固定值
  882. type: integer
  883. pdeliveryprice:
  884. description: P合约价格(商品价时填写0,固定值时填写固定值)
  885. type: number
  886. pdeliveryratio:
  887. description: P合约系数(n)
  888. type: integer
  889. pgoodsid:
  890. description: P合约ID
  891. type: integer
  892. ppricemode:
  893. description: P合约价格方式 - 1:商品价 2:固定值
  894. type: integer
  895. rratio:
  896. description: 兑换系数(R)
  897. type: integer
  898. rratio1:
  899. description: 兑换系数(交易合约)(R1)
  900. type: integer
  901. rratio2:
  902. description: 兑换系数(仓单标准)(R2)
  903. type: integer
  904. selltemplateid:
  905. description: 卖履约计划模板ID
  906. type: integer
  907. wrstandardid:
  908. description: 仓单标准ID
  909. type: integer
  910. xdeliveryratio:
  911. description: 交易合约系数(m)
  912. type: integer
  913. required:
  914. - begindate
  915. - enddate
  916. - goodsid
  917. - mindeliveryqty
  918. - xdeliveryratio
  919. type: object
  920. ermcp.ExposureDetailRsp:
  921. $ref: '#/definitions/models.ErmcpExposureDetailModel'
  922. ermcp.ExposureHedgePosDetailRsp:
  923. $ref: '#/definitions/models.ErmcpHedgePositionDetail'
  924. ermcp.ExposureHedgePositionRsp:
  925. $ref: '#/definitions/models.ErmcpHedgePosition'
  926. ermcp.ExposureSpotDetailRsp:
  927. $ref: '#/definitions/models.ErmcpAreaSpotDetailModel'
  928. ermcp.ExposureSpotRsp:
  929. $ref: '#/definitions/models.AreaSpotModel'
  930. ermcp.HisExposureRsp:
  931. $ref: '#/definitions/models.ErmcpHisExposureS'
  932. ermcp.PendingAuditCntRsp:
  933. $ref: '#/definitions/models.ErmcpPendingAudit'
  934. ermcp.QryAreaStockApplyRsp:
  935. $ref: '#/definitions/models.ErmcpAreaStockApply'
  936. ermcp.QryAvalidGPRsp:
  937. $ref: '#/definitions/models.ErmcpAvalidGoodsGroupModel'
  938. ermcp.QryBusinessDjRsp:
  939. properties:
  940. amount:
  941. description: 点价金额=(点价价格+升贴水)*点价数量
  942. type: number
  943. applyid:
  944. description: 申请人
  945. type: string
  946. applyname:
  947. description: 申请人名称
  948. type: string
  949. applystatus:
  950. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  951. type: integer
  952. applytime:
  953. description: 申请时间
  954. type: string
  955. attachurl:
  956. description: 附件
  957. type: string
  958. auditid:
  959. description: 审核人ID
  960. type: string
  961. auditname:
  962. description: 审核人名称
  963. type: string
  964. audittime:
  965. description: 审核时间
  966. type: string
  967. buyusername:
  968. description: 采购方名称
  969. type: string
  970. contractno:
  971. description: 合同编号
  972. type: string
  973. contractstatus:
  974. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  975. type: integer
  976. contracttype:
  977. description: 现货合同类型 - 1:采购 -1:销售
  978. type: integer
  979. deliverygoodscode:
  980. description: 现货品种代码
  981. type: string
  982. deliverygoodsid:
  983. description: 现货商品ID
  984. type: integer
  985. deliverygoodsname:
  986. description: 现货品种名称
  987. type: string
  988. enumdicname:
  989. description: 单位名称
  990. type: string
  991. goodscode:
  992. description: 点价合约
  993. type: string
  994. goodsname:
  995. description: 商品名称
  996. type: string
  997. operateapplyid:
  998. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  999. type: string
  1000. operateapplytype:
  1001. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1002. type: integer
  1003. pricedPrice:
  1004. description: 点价价格(非必填)
  1005. type: number
  1006. pricedQty:
  1007. description: 点价数量(非必填)
  1008. type: number
  1009. pricemove:
  1010. description: 升贴水
  1011. type: number
  1012. pricetype:
  1013. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1014. type: integer
  1015. relatedid:
  1016. description: 现货合同ID
  1017. type: string
  1018. sellusername:
  1019. description: 销售方名字
  1020. type: string
  1021. userid:
  1022. description: 用户ID
  1023. type: integer
  1024. wrstandardcode:
  1025. description: 品类代码
  1026. type: string
  1027. wrstandardid:
  1028. description: 品类id
  1029. type: integer
  1030. wrstandardname:
  1031. description: 品类名称
  1032. type: string
  1033. type: object
  1034. ermcp.QryBussinessFpRsp:
  1035. properties:
  1036. applyid:
  1037. description: 申请人
  1038. type: string
  1039. applyname:
  1040. description: 申请人名称
  1041. type: string
  1042. applystatus:
  1043. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1044. type: integer
  1045. applytime:
  1046. description: 申请时间
  1047. type: string
  1048. attachurl:
  1049. description: 附件
  1050. type: string
  1051. auditid:
  1052. description: 审核人ID
  1053. type: string
  1054. auditname:
  1055. description: 审核人名称
  1056. type: string
  1057. audittime:
  1058. description: 审核时间
  1059. type: string
  1060. buyusername:
  1061. description: 采购方名称
  1062. type: string
  1063. contractno:
  1064. description: 合同编号
  1065. type: string
  1066. contractstatus:
  1067. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1068. type: integer
  1069. contracttype:
  1070. description: 现货合同类型 - 1:采购 -1:销售
  1071. type: integer
  1072. deliverygoodscode:
  1073. description: 现货品种代码
  1074. type: string
  1075. deliverygoodsid:
  1076. description: 现货商品ID
  1077. type: integer
  1078. deliverygoodsname:
  1079. description: 现货品种名称
  1080. type: string
  1081. enumdicname:
  1082. description: 单位名称
  1083. type: string
  1084. goodscode:
  1085. description: 点价合约
  1086. type: string
  1087. goodsname:
  1088. description: 商品名称
  1089. type: string
  1090. invoiceAmount:
  1091. description: 已开收票金额(销售为开票,采购为收票)
  1092. type: number
  1093. operateapplyid:
  1094. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1095. type: string
  1096. operateapplytype:
  1097. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1098. type: integer
  1099. pricemove:
  1100. description: 升贴水
  1101. type: number
  1102. pricetype:
  1103. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1104. type: integer
  1105. relatedid:
  1106. description: 现货合同ID
  1107. type: string
  1108. sellusername:
  1109. description: 销售方名字
  1110. type: string
  1111. userid:
  1112. description: 用户ID
  1113. type: integer
  1114. wrstandardcode:
  1115. description: 品类代码
  1116. type: string
  1117. wrstandardid:
  1118. description: 品类id
  1119. type: integer
  1120. wrstandardname:
  1121. description: 品类名称
  1122. type: string
  1123. type: object
  1124. ermcp.QryBussinessJsExRsp:
  1125. properties:
  1126. applyid:
  1127. description: 申请人
  1128. type: string
  1129. applyname:
  1130. description: 申请人名称
  1131. type: string
  1132. applystatus:
  1133. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1134. type: integer
  1135. applytime:
  1136. description: 申请时间
  1137. type: string
  1138. attachurl:
  1139. description: 附件
  1140. type: string
  1141. auditid:
  1142. description: 审核人ID
  1143. type: string
  1144. auditname:
  1145. description: 审核人名称
  1146. type: string
  1147. audittime:
  1148. description: 审核时间
  1149. type: string
  1150. buyusername:
  1151. description: 采购方名称
  1152. type: string
  1153. contractno:
  1154. description: 合同编号
  1155. type: string
  1156. contractstatus:
  1157. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1158. type: integer
  1159. contracttype:
  1160. description: 现货合同类型 - 1:采购 -1:销售
  1161. type: integer
  1162. deliverygoodscode:
  1163. description: 现货品种代码
  1164. type: string
  1165. deliverygoodsid:
  1166. description: 现货商品ID
  1167. type: integer
  1168. deliverygoodsname:
  1169. description: 现货品种名称
  1170. type: string
  1171. enumdicname:
  1172. description: 单位名称
  1173. type: string
  1174. goodscode:
  1175. description: 点价合约
  1176. type: string
  1177. goodsname:
  1178. description: 商品名称
  1179. type: string
  1180. operateapplyid:
  1181. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1182. type: string
  1183. operateapplytype:
  1184. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1185. type: integer
  1186. pricemove:
  1187. description: 升贴水
  1188. type: number
  1189. pricetype:
  1190. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1191. type: integer
  1192. reckontype:
  1193. description: 结算类型
  1194. type: string
  1195. reckonvalue:
  1196. description: 值
  1197. type: number
  1198. relatedid:
  1199. description: 现货合同ID
  1200. type: string
  1201. sellusername:
  1202. description: 销售方名字
  1203. type: string
  1204. userid:
  1205. description: 用户ID
  1206. type: integer
  1207. wrstandardcode:
  1208. description: 品类代码
  1209. type: string
  1210. wrstandardid:
  1211. description: 品类id
  1212. type: integer
  1213. wrstandardname:
  1214. description: 品类名称
  1215. type: string
  1216. type: object
  1217. ermcp.QryBussinessJsRsp:
  1218. properties:
  1219. addmargin:
  1220. description: 追加保证金(非必填)
  1221. type: number
  1222. applyid:
  1223. description: 申请人
  1224. type: string
  1225. applyname:
  1226. description: 申请人名称
  1227. type: string
  1228. applystatus:
  1229. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1230. type: integer
  1231. applytime:
  1232. description: 申请时间
  1233. type: string
  1234. attachurl:
  1235. description: 附件
  1236. type: string
  1237. auditid:
  1238. description: 审核人ID
  1239. type: string
  1240. auditname:
  1241. description: 审核人名称
  1242. type: string
  1243. audittime:
  1244. description: 审核时间
  1245. type: string
  1246. buyusername:
  1247. description: 采购方名称
  1248. type: string
  1249. contractno:
  1250. description: 合同编号
  1251. type: string
  1252. contractstatus:
  1253. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1254. type: integer
  1255. contracttype:
  1256. description: 现货合同类型 - 1:采购 -1:销售
  1257. type: integer
  1258. decmargin:
  1259. description: 减少保证金(非必填)
  1260. type: number
  1261. deliverygoodscode:
  1262. description: 现货品种代码
  1263. type: string
  1264. deliverygoodsid:
  1265. description: 现货商品ID
  1266. type: integer
  1267. deliverygoodsname:
  1268. description: 现货品种名称
  1269. type: string
  1270. enumdicname:
  1271. description: 单位名称
  1272. type: string
  1273. goodscode:
  1274. description: 点价合约
  1275. type: string
  1276. goodsname:
  1277. description: 商品名称
  1278. type: string
  1279. operateapplyid:
  1280. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1281. type: string
  1282. operateapplytype:
  1283. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1284. type: integer
  1285. pricemove:
  1286. description: 升贴水
  1287. type: number
  1288. pricetype:
  1289. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1290. type: integer
  1291. reckonadjustamount:
  1292. description: 结算调整金额(非必填)
  1293. type: number
  1294. reckonosamount:
  1295. description: 结算溢短金额(非必填)
  1296. type: number
  1297. reckonotheramount:
  1298. description: 结算其他费用(非必填)
  1299. type: number
  1300. reckonrealqty:
  1301. description: 结算实际数量(非必填)
  1302. type: number
  1303. relatedid:
  1304. description: 现货合同ID
  1305. type: string
  1306. sellusername:
  1307. description: 销售方名字
  1308. type: string
  1309. userid:
  1310. description: 用户ID
  1311. type: integer
  1312. wrstandardcode:
  1313. description: 品类代码
  1314. type: string
  1315. wrstandardid:
  1316. description: 品类id
  1317. type: integer
  1318. wrstandardname:
  1319. description: 品类名称
  1320. type: string
  1321. type: object
  1322. ermcp.QryBussinessKxRsp:
  1323. properties:
  1324. applyid:
  1325. description: 申请人
  1326. type: string
  1327. applyname:
  1328. description: 申请人名称
  1329. type: string
  1330. applystatus:
  1331. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1332. type: integer
  1333. applytime:
  1334. description: 申请时间
  1335. type: string
  1336. attachurl:
  1337. description: 附件
  1338. type: string
  1339. auditid:
  1340. description: 审核人ID
  1341. type: string
  1342. auditname:
  1343. description: 审核人名称
  1344. type: string
  1345. audittime:
  1346. description: 审核时间
  1347. type: string
  1348. buyusername:
  1349. description: 采购方名称
  1350. type: string
  1351. contractno:
  1352. description: 合同编号
  1353. type: string
  1354. contractstatus:
  1355. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1356. type: integer
  1357. contracttype:
  1358. description: 现货合同类型 - 1:采购 -1:销售
  1359. type: integer
  1360. deductamount:
  1361. description: 退款(非必填)
  1362. type: number
  1363. deliverygoodscode:
  1364. description: 现货品种代码
  1365. type: string
  1366. deliverygoodsid:
  1367. description: 现货商品ID
  1368. type: integer
  1369. deliverygoodsname:
  1370. description: 现货品种名称
  1371. type: string
  1372. enumdicname:
  1373. description: 单位名称
  1374. type: string
  1375. goodscode:
  1376. description: 点价合约
  1377. type: string
  1378. goodsname:
  1379. description: 商品名称
  1380. type: string
  1381. kxtype:
  1382. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1383. type: integer
  1384. operateapplyid:
  1385. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1386. type: string
  1387. operateapplytype:
  1388. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1389. type: integer
  1390. payamount:
  1391. description: 收付款(非必填)
  1392. type: number
  1393. pricemove:
  1394. description: 升贴水
  1395. type: number
  1396. pricetype:
  1397. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1398. type: integer
  1399. relatedid:
  1400. description: 现货合同ID
  1401. type: string
  1402. sellusername:
  1403. description: 销售方名字
  1404. type: string
  1405. userid:
  1406. description: 用户ID
  1407. type: integer
  1408. wrstandardcode:
  1409. description: 品类代码
  1410. type: string
  1411. wrstandardid:
  1412. description: 品类id
  1413. type: integer
  1414. wrstandardname:
  1415. description: 品类名称
  1416. type: string
  1417. type: object
  1418. ermcp.QryErmcpRsp:
  1419. $ref: '#/definitions/models.ErmcpModel'
  1420. ermcp.QryGGCovertCfgRsp:
  1421. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  1422. ermcp.QryHedgePlanRsp:
  1423. $ref: '#/definitions/models.ErmcpHedgePlan'
  1424. ermcp.QryMGChangeLogRsp:
  1425. $ref: '#/definitions/models.ErmcpMiddleGoodsChangeLog'
  1426. ermcp.QryMiddleGoodsDetailRsp:
  1427. $ref: '#/definitions/models.ErmcpMiddleGoodsDetail'
  1428. ermcp.QryMiddleGoodsRsp:
  1429. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  1430. ermcp.QryOPLogRsp:
  1431. $ref: '#/definitions/models.ErmcpOPLogModel'
  1432. ermcp.QryReportDaySpotDetailRsp:
  1433. $ref: '#/definitions/models.ErmcpReportOPLog'
  1434. ermcp.QryReportExposureDayRsp:
  1435. $ref: '#/definitions/models.ErmcpReportDayExposure'
  1436. ermcp.QryReportFinanceDayRsp:
  1437. $ref: '#/definitions/models.ErmcpReportDayFR'
  1438. ermcp.QryReportFinanceKxRsp:
  1439. $ref: '#/definitions/models.ErmcpReportOPLog'
  1440. ermcp.QryReportFinanceMonRsp:
  1441. $ref: '#/definitions/models.ErmcpReportMonthFR'
  1442. ermcp.QryReportSpotDayRsp:
  1443. $ref: '#/definitions/models.ErmcpReportDaySpot'
  1444. ermcp.QryReportSpotMonRsp:
  1445. $ref: '#/definitions/models.ErmcpReportMonSpot'
  1446. ermcp.QryReportSpotMonthDetailRsp:
  1447. $ref: '#/definitions/models.ErmcpReportDaySpot'
  1448. ermcp.QrySpotContractRsp:
  1449. $ref: '#/definitions/models.ErmcpSpotContractModel'
  1450. ermcp.QryUserInfoRsp:
  1451. $ref: '#/definitions/models.ErmcpUserModel'
  1452. ermcp.QryWarehouseRsp:
  1453. $ref: '#/definitions/models.ErmcpWareHouseInfo'
  1454. ermcp.QryWrStandardDetailRsp:
  1455. $ref: '#/definitions/models.ErmcpWrstandDetail'
  1456. ermcp.QryWrStandardRsp:
  1457. $ref: '#/definitions/models.ErmcpWrstandard'
  1458. ermcp.QueryAreaStockApplySumRsp:
  1459. $ref: '#/definitions/models.ErmcpAreaStockApplySum'
  1460. ermcp.QueryErmcpTradePositionRsp:
  1461. properties:
  1462. agreeunit:
  1463. description: 合约单位
  1464. type: number
  1465. buyorsell:
  1466. description: 方向 - 0:买 1:卖
  1467. type: integer
  1468. curpositionqty:
  1469. description: 持仓(总仓数量, 期末头寸)
  1470. type: integer
  1471. curtdposition:
  1472. description: 今仓数量(期末今日头寸)
  1473. type: integer
  1474. curtdpositionenabled:
  1475. description: 今仓可用
  1476. type: integer
  1477. decimalplace:
  1478. description: 报价小数位
  1479. type: integer
  1480. enableqty:
  1481. description: 可用(总仓可用)
  1482. type: integer
  1483. exexchangename:
  1484. description: 外部交易所名称
  1485. type: string
  1486. goodscode:
  1487. description: 商品代码(内部)
  1488. type: string
  1489. goodsid:
  1490. description: 商品ID(自增ID SEQ_GOODS)
  1491. type: integer
  1492. goodsname:
  1493. description: 商品名称
  1494. type: string
  1495. last:
  1496. description: 现价
  1497. type: number
  1498. marketid:
  1499. description: 所属市场ID
  1500. type: integer
  1501. openaverageprice:
  1502. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  1503. type: number
  1504. opencost:
  1505. description: 开仓成本
  1506. type: number
  1507. openpl:
  1508. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向
  1509. = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  1510. type: number
  1511. outgoodscode:
  1512. description: 商品代码(外部)
  1513. type: string
  1514. positionaverageprice:
  1515. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  1516. type: number
  1517. positioncost:
  1518. description: 持仓成本
  1519. type: number
  1520. positionpl:
  1521. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向
  1522. = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  1523. type: number
  1524. positionplrate:
  1525. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  1526. type: number
  1527. usedmargin:
  1528. description: 占用保证金
  1529. type: number
  1530. type: object
  1531. ermcp.RealtimeExposurePositionRsp:
  1532. $ref: '#/definitions/models.ErmcpExposurePostion'
  1533. ermcp.RealtimeExposureRsp:
  1534. $ref: '#/definitions/models.ErmcpRealExposureModel'
  1535. erms2.QueryArbitrageStrategyRsp:
  1536. properties:
  1537. applybasis:
  1538. description: 申请基差
  1539. type: number
  1540. asapplyid:
  1541. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  1542. type: string
  1543. asname:
  1544. description: 策略名称
  1545. type: string
  1546. asno:
  1547. description: 策略编号
  1548. type: string
  1549. basischangepl:
  1550. description: 基差变动损益[结算更新]
  1551. type: number
  1552. biztype:
  1553. description: 业务类型 - 1:正向套利 -1:反向套利
  1554. type: integer
  1555. closetradedate:
  1556. description: 完结交易日(yyyyMMdd)
  1557. type: string
  1558. curbasis:
  1559. description: 当前基差[结算更新]
  1560. type: number
  1561. deliverygoodsid:
  1562. description: 现货品种ID
  1563. type: integer
  1564. futureavgprice:
  1565. description: 期货建仓均价
  1566. type: number
  1567. futurecloseamount:
  1568. description: 期货平仓金额
  1569. type: number
  1570. futurecloseqty:
  1571. description: 期货平仓数量
  1572. type: number
  1573. futureopenamount:
  1574. description: 期货开仓金额
  1575. type: number
  1576. futureopenqty:
  1577. description: 期货开仓数量
  1578. type: number
  1579. futurepl:
  1580. description: 期货总盈亏[结算更新]
  1581. type: number
  1582. futureqty:
  1583. description: 期货持仓数量
  1584. type: number
  1585. futurequote:
  1586. description: 期货额度
  1587. type: number
  1588. goodsgroupid:
  1589. description: 期货品种ID
  1590. type: integer
  1591. marketid:
  1592. description: 市场ID
  1593. type: integer
  1594. netexposure:
  1595. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  1596. type: number
  1597. netexposurepl:
  1598. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  1599. type: number
  1600. netexposurerate:
  1601. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  1602. type: number
  1603. openbasis:
  1604. description: 建仓基差
  1605. type: number
  1606. pricedspotqty:
  1607. description: 已定价现货数量
  1608. type: number
  1609. pricedspotqtynotax:
  1610. description: 已定价现货不含税数量
  1611. type: number
  1612. remark:
  1613. description: 备注
  1614. type: string
  1615. spotavgprice:
  1616. description: 现货均价
  1617. type: number
  1618. spotbuyamount:
  1619. description: 现货采购金额
  1620. type: number
  1621. spotbuyqty:
  1622. description: 现货采购数量
  1623. type: number
  1624. spotpl:
  1625. description: 现货总盈亏[结算更新]
  1626. type: number
  1627. spotquota:
  1628. description: 现货额度
  1629. type: number
  1630. spotsellamount:
  1631. description: 现货销售金额
  1632. type: number
  1633. spotsellqty:
  1634. description: 现货销售数量
  1635. type: number
  1636. spotusedquota:
  1637. description: 现货占用资金
  1638. type: number
  1639. strategystatus:
  1640. description: 策略状态 - 0:未结束 1:已结束
  1641. type: integer
  1642. totalpl:
  1643. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  1644. type: number
  1645. tradedate:
  1646. description: 交易日(yyyyMMdd)
  1647. type: string
  1648. updatetime:
  1649. description: 更新时间
  1650. type: string
  1651. usedquota:
  1652. description: 已占用资金
  1653. type: number
  1654. userid:
  1655. description: 所属机构
  1656. type: integer
  1657. required:
  1658. - asapplyid
  1659. type: object
  1660. erms2.QueryInnerTradeDetailRsp:
  1661. properties:
  1662. accountid:
  1663. description: 账号ID
  1664. type: integer
  1665. agreeunit:
  1666. description: 合约单位
  1667. type: number
  1668. asapplyid:
  1669. description: 策略申请ID
  1670. type: integer
  1671. asname:
  1672. description: 策略名称
  1673. type: string
  1674. asno:
  1675. description: 策略编号
  1676. type: string
  1677. buyorsell:
  1678. description: 方向 - 0:买 1:卖
  1679. type: integer
  1680. channelbuildtype:
  1681. description: 委托单据类型 0:无 1:建仓 2:平仓
  1682. type: integer
  1683. closetype:
  1684. description: 平仓方式 - 0:无 1:平今 2:平昨
  1685. type: integer
  1686. decimalplace:
  1687. description: 报价小数位
  1688. type: integer
  1689. detailtype:
  1690. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  1691. type: integer
  1692. exexchangecode:
  1693. description: 外部交易所代码
  1694. type: string
  1695. exexchangename:
  1696. description: 外部交易所名称
  1697. type: string
  1698. goodscode:
  1699. description: 商品代码(合约)
  1700. type: string
  1701. goodsgroupid:
  1702. description: 商品组ID(品种ID)
  1703. type: integer
  1704. goodsgroupname:
  1705. description: 商品组名称(品种)
  1706. type: string
  1707. goodsid:
  1708. description: 商品ID
  1709. type: integer
  1710. goodsname:
  1711. description: 商品名称(合约)
  1712. type: string
  1713. goodunit:
  1714. description: 报价单位
  1715. type: string
  1716. marketid:
  1717. description: 市场ID
  1718. type: integer
  1719. orderid:
  1720. description: 委托单号
  1721. type: string
  1722. outgoodscode:
  1723. description: 商品代码(外部)
  1724. type: string
  1725. relatedouttradeid:
  1726. description: 关联外部成交单ID
  1727. type: string
  1728. remark:
  1729. description: 备注
  1730. type: string
  1731. spotcontractid:
  1732. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  1733. type: integer
  1734. spotcontractno:
  1735. description: 现货合同编号
  1736. type: string
  1737. tradeid:
  1738. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  1739. type: string
  1740. tradeprice:
  1741. description: 成交价格
  1742. type: number
  1743. tradeqty:
  1744. description: 成交数量
  1745. type: integer
  1746. tradetime:
  1747. description: 成交时间
  1748. type: string
  1749. updatetime:
  1750. description: 更新时间
  1751. type: string
  1752. required:
  1753. - asapplyid
  1754. - buyorsell
  1755. - goodscode
  1756. - goodsgroupid
  1757. - goodsgroupname
  1758. - goodsname
  1759. - tradeid
  1760. type: object
  1761. erms2.QuerySpotContractRsp:
  1762. properties:
  1763. accountid:
  1764. description: 资金账户ID
  1765. type: integer
  1766. areauserid:
  1767. description: 所属机构
  1768. type: integer
  1769. closedate:
  1770. description: 终止日期
  1771. type: string
  1772. closeremark:
  1773. description: 结束备注
  1774. type: string
  1775. closetradedate:
  1776. description: 完结交易日(yyyyMMdd)
  1777. type: string
  1778. closetype:
  1779. description: 终止类型 - 1:违约 2:提前终止
  1780. type: integer
  1781. contractamount:
  1782. description: 合同金额
  1783. type: number
  1784. contractattachment:
  1785. description: 合同附件
  1786. type: string
  1787. contractno:
  1788. description: 现货合同编号
  1789. type: string
  1790. contractqty:
  1791. description: 合同数量(数值) (用于计算)
  1792. type: number
  1793. contractqtychar:
  1794. description: 合同数量\已订价数量 (用于显示)
  1795. type: string
  1796. contractstatus:
  1797. description: 合同状态 - 0:未结束 1:已结束
  1798. type: integer
  1799. contracttype:
  1800. description: 现货合同类型 - 1:采购合同 -1:销售合同
  1801. type: integer
  1802. customeraccountid:
  1803. description: 客户资金账户ID
  1804. type: integer
  1805. customeruserid:
  1806. description: 客户ID
  1807. type: integer
  1808. deliverygoodsdesc:
  1809. description: 品种说明
  1810. type: string
  1811. deliverygoodsid:
  1812. description: 现货品种ID
  1813. type: integer
  1814. handlestatus:
  1815. description: 处理状态
  1816. type: integer
  1817. invoiceatt:
  1818. description: 发票附件
  1819. type: string
  1820. invoicedatetime:
  1821. description: 开收票更新时间
  1822. type: string
  1823. invoiceopentime:
  1824. description: 开票时间
  1825. type: string
  1826. invoiceremark:
  1827. description: 发票备注
  1828. type: string
  1829. invoicestatus:
  1830. description: 开收票状态 - 0:未开票 1:已开票
  1831. type: integer
  1832. lastdate:
  1833. description: 交货时间
  1834. type: string
  1835. marketid:
  1836. description: 市场ID
  1837. type: integer
  1838. paydatetime:
  1839. description: 收付款更新时间
  1840. type: string
  1841. payremark:
  1842. description: 收付款备注
  1843. type: string
  1844. paystatus:
  1845. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  1846. type: integer
  1847. positionqty:
  1848. description: 头寸数量 - 合同数量去小数部分
  1849. type: integer
  1850. producttype:
  1851. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  1852. type: integer
  1853. relatedqty:
  1854. description: 已关联数量
  1855. type: number
  1856. relatedstatus:
  1857. description: 关联完结状态 - 0:未结束 1:已结束
  1858. type: integer
  1859. remark:
  1860. description: 备注
  1861. type: string
  1862. signdate:
  1863. description: 签订日期
  1864. type: string
  1865. spotcontractid:
  1866. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  1867. type: string
  1868. spotdatetime:
  1869. description: 收发货更新时间
  1870. type: string
  1871. spotprice:
  1872. description: 价格
  1873. type: number
  1874. spotremark:
  1875. description: 收发货备注
  1876. type: string
  1877. spotstatus:
  1878. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  1879. type: integer
  1880. tradedate:
  1881. description: 交易日(yyyyMMdd)
  1882. type: string
  1883. userid:
  1884. description: 业务员用户ID
  1885. type: integer
  1886. warehouseid:
  1887. description: 仓库ID
  1888. type: integer
  1889. wrfactortypeid:
  1890. description: 仓单要素类型ID
  1891. type: integer
  1892. wrstandardid:
  1893. description: 仓单标准ID(SEQ_WRSTANDARD)
  1894. type: integer
  1895. required:
  1896. - spotcontractid
  1897. type: object
  1898. erms3.AddErms2ASApplyReq:
  1899. properties:
  1900. applybasis:
  1901. description: 申请基差
  1902. type: number
  1903. applystatus:
  1904. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  1905. type: integer
  1906. asapplyid:
  1907. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  1908. type: integer
  1909. asname:
  1910. description: 策略名称
  1911. type: string
  1912. asno:
  1913. description: 策略编号
  1914. type: string
  1915. auditid:
  1916. description: 审核人
  1917. type: integer
  1918. auditremark:
  1919. description: 审核备注
  1920. type: string
  1921. audittime:
  1922. description: 审核时间
  1923. type: string
  1924. biztype:
  1925. description: 业务类型 - 1:正向套利 2:反向套利
  1926. type: integer
  1927. createtime:
  1928. description: 创建时间
  1929. type: string
  1930. creatorid:
  1931. description: 创建人
  1932. type: integer
  1933. deliverygoodsid:
  1934. description: 现货品种ID
  1935. type: integer
  1936. futurequote:
  1937. description: 期货额度
  1938. type: number
  1939. goodsgroupid:
  1940. description: 期货品种ID
  1941. type: integer
  1942. marketid:
  1943. description: 市场ID
  1944. type: integer
  1945. remark:
  1946. description: 备注
  1947. type: string
  1948. spotquota:
  1949. description: 现货额度
  1950. type: number
  1951. tradedate:
  1952. description: 交易日(yyyyMMdd)
  1953. type: string
  1954. userid:
  1955. description: 所属机构
  1956. type: integer
  1957. required:
  1958. - asapplyid
  1959. type: object
  1960. erms3.AddErms2SpotTradeApplyReq:
  1961. properties:
  1962. applyjsondetail:
  1963. description: 申请明细(JSON)
  1964. type: string
  1965. applystatus:
  1966. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  1967. type: integer
  1968. areauserid:
  1969. description: 所属机构
  1970. type: integer
  1971. auditid:
  1972. description: 审核人
  1973. type: integer
  1974. auditremark:
  1975. description: 审核备注
  1976. type: string
  1977. audittime:
  1978. description: 审核时间
  1979. type: string
  1980. createtime:
  1981. description: 创建时间
  1982. type: string
  1983. creatorid:
  1984. description: 创建人
  1985. type: integer
  1986. deliverygoodsid:
  1987. description: 现货品种ID
  1988. type: integer
  1989. futureaccountid:
  1990. description: 期货资金账户
  1991. type: integer
  1992. goodsgroupid:
  1993. description: 期货品种
  1994. type: integer
  1995. marketid:
  1996. description: 市场ID
  1997. type: integer
  1998. remark:
  1999. description: 备注
  2000. type: string
  2001. spotaccountid:
  2002. description: 现货资金账户
  2003. type: integer
  2004. spottradeid:
  2005. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  2006. type: integer
  2007. spottradename:
  2008. description: 业务名称
  2009. type: string
  2010. spottradeno:
  2011. description: 业务编号
  2012. type: string
  2013. tradedate:
  2014. description: 交易日(yyyyMMdd)
  2015. type: string
  2016. wrstandardid:
  2017. description: 仓单标准ID
  2018. type: integer
  2019. required:
  2020. - spottradeid
  2021. type: object
  2022. erms3.AddSpotContractApplyReq:
  2023. properties:
  2024. accountid:
  2025. description: 资金账户ID
  2026. type: integer
  2027. areauserid:
  2028. description: 所属机构
  2029. type: integer
  2030. contractattachment:
  2031. description: 合同附件
  2032. type: string
  2033. contractno:
  2034. description: 现货合同编号
  2035. type: string
  2036. contracttype:
  2037. description: 现货合同类型 - 1:采购 -1:销售
  2038. type: integer
  2039. creatorid:
  2040. description: 申请人
  2041. type: integer
  2042. customeraccountid:
  2043. description: 客户资金账户ID
  2044. type: integer
  2045. customeruserid:
  2046. description: 客户ID
  2047. type: integer
  2048. details:
  2049. description: 明细
  2050. items:
  2051. $ref: '#/definitions/erms3.SoptContractDetail'
  2052. type: array
  2053. orimargin:
  2054. description: 初始保证金
  2055. type: number
  2056. remark:
  2057. description: 备注
  2058. type: string
  2059. signdate:
  2060. description: 签订日期
  2061. type: string
  2062. required:
  2063. - accountid
  2064. - areauserid
  2065. - contractno
  2066. - contracttype
  2067. - customeraccountid
  2068. - customeruserid
  2069. - details
  2070. - orimargin
  2071. - signdate
  2072. type: object
  2073. erms3.AddSpotContractApplyRsp:
  2074. properties:
  2075. contractno:
  2076. description: 现货合同编号
  2077. type: string
  2078. spotcontractid:
  2079. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  2080. type: integer
  2081. required:
  2082. - contractno
  2083. type: object
  2084. erms3.AddUserInfoApplyReq:
  2085. properties:
  2086. accountid:
  2087. description: 交易系统帐号Id (加密存储)
  2088. type: integer
  2089. areacode:
  2090. description: 机构代码
  2091. type: string
  2092. areaid:
  2093. description: 机构Id
  2094. type: integer
  2095. attachment1:
  2096. description: 附件1
  2097. type: string
  2098. attachment2:
  2099. description: 附件2
  2100. type: string
  2101. attachment3:
  2102. description: 附件3
  2103. type: string
  2104. attachment4:
  2105. description: 附件4
  2106. type: string
  2107. attachment5:
  2108. description: 附件5
  2109. type: string
  2110. auditedby:
  2111. description: 审核人
  2112. type: string
  2113. auditime:
  2114. description: 审核时间
  2115. type: string
  2116. bankaccount:
  2117. description: 银行帐号 (加密存储)
  2118. type: string
  2119. bankaccountname:
  2120. description: 收款人名称
  2121. type: string
  2122. bankcardbackphotourl:
  2123. description: 银行卡背面照地址
  2124. type: string
  2125. bankcardfrontphotourl:
  2126. description: 银行卡正面照地址
  2127. type: string
  2128. bankid:
  2129. description: 银行编码
  2130. type: string
  2131. bankname:
  2132. description: 银行名称
  2133. type: string
  2134. bankpictureurl:
  2135. description: 银行卡正面地址
  2136. type: string
  2137. biznature:
  2138. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2139. type: integer
  2140. bizscope:
  2141. description: 企业经营范围(企业)
  2142. type: string
  2143. biztype:
  2144. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2145. type: integer
  2146. brokerid:
  2147. description: 经纪人ID(加密存储)
  2148. type: string
  2149. cardaddress:
  2150. description: 证件地址 (加密存储)
  2151. type: string
  2152. cardbackphotourl:
  2153. description: 背面证件照地址
  2154. type: string
  2155. cardfrontphotourl:
  2156. description: 正面证件照地址
  2157. type: string
  2158. cardnum:
  2159. description: 证件号码 (加密存储)
  2160. type: string
  2161. cardtype:
  2162. description: 证件类型
  2163. type: integer
  2164. cityid:
  2165. description: 市
  2166. type: integer
  2167. company:
  2168. description: 公司(个人)
  2169. type: string
  2170. contactcardbackphotourl:
  2171. description: 联系人证件背面图片地址
  2172. type: string
  2173. contactcardfrontphotourl:
  2174. description: 联系人证件正面图片地址
  2175. type: string
  2176. contactname:
  2177. description: 联系人
  2178. type: string
  2179. countryid:
  2180. description: 国家
  2181. type: integer
  2182. createtime:
  2183. description: 开户申请时间
  2184. type: string
  2185. cusbankid:
  2186. description: 签约类型
  2187. type: string
  2188. cusbankname:
  2189. description: 签约类型名称
  2190. type: string
  2191. customername:
  2192. description: 客户名称(企业名称)
  2193. type: string
  2194. districtid:
  2195. description: 地区
  2196. type: integer
  2197. email:
  2198. description: Email地址(加密存储)
  2199. type: string
  2200. halfbodyphotourl:
  2201. description: 半身照地址
  2202. type: string
  2203. headurl:
  2204. description: 头像地址
  2205. type: string
  2206. ipaddress:
  2207. description: IP地址
  2208. type: string
  2209. isvalidate:
  2210. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  2211. type: string
  2212. legalcardbackphotourl:
  2213. description: 法人身份证背面照地址
  2214. type: string
  2215. legalcardfrontphotourl:
  2216. description: 法人身份证正面照地址
  2217. type: string
  2218. legalpersonname:
  2219. description: 法人姓名(企业)
  2220. type: string
  2221. logincode:
  2222. description: 登录帐号 (加密存储)
  2223. type: string
  2224. memberareaid:
  2225. description: 所属会员ID
  2226. type: integer
  2227. mobile2:
  2228. description: 手机号码[明文-尚志]
  2229. type: string
  2230. mobilephone:
  2231. description: 手机号码 (加密存储)
  2232. type: string
  2233. modifiedby:
  2234. description: 修改人帐号
  2235. type: integer
  2236. modifiedtime:
  2237. description: 修改时间
  2238. type: string
  2239. nickname:
  2240. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  2241. type: string
  2242. openmode:
  2243. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  2244. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  2245. type: integer
  2246. otherurl:
  2247. description: 其它图片地址[使用分号分隔]
  2248. type: string
  2249. postalcode:
  2250. description: 邮政编码
  2251. type: string
  2252. provinceid:
  2253. description: 省
  2254. type: integer
  2255. proxystatementurl:
  2256. description: 授权委托书
  2257. type: string
  2258. qq:
  2259. description: QQ(加密存储
  2260. type: string
  2261. referral:
  2262. description: 推荐人编码
  2263. type: string
  2264. remark:
  2265. description: 备注
  2266. type: string
  2267. removebeforestatus:
  2268. description: REMOVEBEFORESTATUS
  2269. type: integer
  2270. sex:
  2271. description: 性别 - 0:女 1:男
  2272. type: integer
  2273. signedstatus:
  2274. description: 账户一号签签约状态
  2275. type: integer
  2276. signpdfurl:
  2277. description: 签约pdf文件
  2278. type: string
  2279. subbranch:
  2280. description: 开户支行
  2281. type: string
  2282. telphone:
  2283. description: 联系电话(加密存储)
  2284. type: string
  2285. userid:
  2286. description: 用户ID(自增ID)
  2287. type: integer
  2288. userinfotype:
  2289. description: 用户信息类型 - 1:个人 2:企业
  2290. type: integer
  2291. username:
  2292. description: 用户姓名
  2293. type: string
  2294. userstate:
  2295. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2296. type: integer
  2297. usertype:
  2298. description: 用户类型 - 1:投资者 2:机构
  2299. type: integer
  2300. videourl:
  2301. description: 视频地址
  2302. type: string
  2303. wechat:
  2304. description: 微信号 (加密存储)
  2305. type: string
  2306. required:
  2307. - userid
  2308. type: object
  2309. erms3.CustomerInfo:
  2310. properties:
  2311. accountids:
  2312. description: 资金账户ID列表
  2313. items:
  2314. type: integer
  2315. type: array
  2316. customername:
  2317. description: 名称(企业名称)
  2318. type: string
  2319. mobile:
  2320. description: 手机号码
  2321. type: string
  2322. userid:
  2323. description: 用户ID
  2324. type: integer
  2325. required:
  2326. - userid
  2327. type: object
  2328. erms3.ModifyUserInfoApplyReq:
  2329. properties:
  2330. accountid:
  2331. description: 交易系统帐号Id (加密存储)
  2332. type: integer
  2333. areacode:
  2334. description: 机构代码
  2335. type: string
  2336. areaid:
  2337. description: 机构Id
  2338. type: integer
  2339. attachment1:
  2340. description: 附件1
  2341. type: string
  2342. attachment2:
  2343. description: 附件2
  2344. type: string
  2345. attachment3:
  2346. description: 附件3
  2347. type: string
  2348. attachment4:
  2349. description: 附件4
  2350. type: string
  2351. attachment5:
  2352. description: 附件5
  2353. type: string
  2354. auditedby:
  2355. description: 审核人
  2356. type: string
  2357. auditime:
  2358. description: 审核时间
  2359. type: string
  2360. bankaccount:
  2361. description: 银行帐号 (加密存储)
  2362. type: string
  2363. bankaccountname:
  2364. description: 收款人名称
  2365. type: string
  2366. bankcardbackphotourl:
  2367. description: 银行卡背面照地址
  2368. type: string
  2369. bankcardfrontphotourl:
  2370. description: 银行卡正面照地址
  2371. type: string
  2372. bankid:
  2373. description: 银行编码
  2374. type: string
  2375. bankname:
  2376. description: 银行名称
  2377. type: string
  2378. bankpictureurl:
  2379. description: 银行卡正面地址
  2380. type: string
  2381. biznature:
  2382. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2383. type: integer
  2384. bizscope:
  2385. description: 企业经营范围(企业)
  2386. type: string
  2387. biztype:
  2388. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2389. type: integer
  2390. brokerid:
  2391. description: 经纪人ID(加密存储)
  2392. type: string
  2393. cardaddress:
  2394. description: 证件地址 (加密存储)
  2395. type: string
  2396. cardbackphotourl:
  2397. description: 背面证件照地址
  2398. type: string
  2399. cardfrontphotourl:
  2400. description: 正面证件照地址
  2401. type: string
  2402. cardnum:
  2403. description: 证件号码 (加密存储)
  2404. type: string
  2405. cardtype:
  2406. description: 证件类型
  2407. type: integer
  2408. cityid:
  2409. description: 市
  2410. type: integer
  2411. company:
  2412. description: 公司(个人)
  2413. type: string
  2414. contactcardbackphotourl:
  2415. description: 联系人证件背面图片地址
  2416. type: string
  2417. contactcardfrontphotourl:
  2418. description: 联系人证件正面图片地址
  2419. type: string
  2420. contactname:
  2421. description: 联系人
  2422. type: string
  2423. countryid:
  2424. description: 国家
  2425. type: integer
  2426. createtime:
  2427. description: 开户申请时间
  2428. type: string
  2429. cusbankid:
  2430. description: 签约类型
  2431. type: string
  2432. cusbankname:
  2433. description: 签约类型名称
  2434. type: string
  2435. customername:
  2436. description: 客户名称(企业名称)
  2437. type: string
  2438. districtid:
  2439. description: 地区
  2440. type: integer
  2441. email:
  2442. description: Email地址(加密存储)
  2443. type: string
  2444. halfbodyphotourl:
  2445. description: 半身照地址
  2446. type: string
  2447. headurl:
  2448. description: 头像地址
  2449. type: string
  2450. ipaddress:
  2451. description: IP地址
  2452. type: string
  2453. isvalidate:
  2454. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  2455. type: string
  2456. legalcardbackphotourl:
  2457. description: 法人身份证背面照地址
  2458. type: string
  2459. legalcardfrontphotourl:
  2460. description: 法人身份证正面照地址
  2461. type: string
  2462. legalpersonname:
  2463. description: 法人姓名(企业)
  2464. type: string
  2465. logincode:
  2466. description: 登录帐号 (加密存储)
  2467. type: string
  2468. memberareaid:
  2469. description: 所属会员ID
  2470. type: integer
  2471. mobile2:
  2472. description: 手机号码[明文-尚志]
  2473. type: string
  2474. mobilephone:
  2475. description: 手机号码 (加密存储)
  2476. type: string
  2477. modifiedby:
  2478. description: 修改人帐号
  2479. type: integer
  2480. modifiedtime:
  2481. description: 修改时间
  2482. type: string
  2483. nickname:
  2484. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  2485. type: string
  2486. openmode:
  2487. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  2488. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  2489. type: integer
  2490. otherurl:
  2491. description: 其它图片地址[使用分号分隔]
  2492. type: string
  2493. postalcode:
  2494. description: 邮政编码
  2495. type: string
  2496. provinceid:
  2497. description: 省
  2498. type: integer
  2499. proxystatementurl:
  2500. description: 授权委托书
  2501. type: string
  2502. qq:
  2503. description: QQ(加密存储
  2504. type: string
  2505. referral:
  2506. description: 推荐人编码
  2507. type: string
  2508. remark:
  2509. description: 备注
  2510. type: string
  2511. removebeforestatus:
  2512. description: REMOVEBEFORESTATUS
  2513. type: integer
  2514. sex:
  2515. description: 性别 - 0:女 1:男
  2516. type: integer
  2517. signedstatus:
  2518. description: 账户一号签签约状态
  2519. type: integer
  2520. signpdfurl:
  2521. description: 签约pdf文件
  2522. type: string
  2523. subbranch:
  2524. description: 开户支行
  2525. type: string
  2526. telphone:
  2527. description: 联系电话(加密存储)
  2528. type: string
  2529. userid:
  2530. description: 用户ID(自增ID)
  2531. type: integer
  2532. userinfotype:
  2533. description: 用户信息类型 - 1:个人 2:企业
  2534. type: integer
  2535. username:
  2536. description: 用户姓名
  2537. type: string
  2538. userstate:
  2539. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2540. type: integer
  2541. usertype:
  2542. description: 用户类型 - 1:投资者 2:机构
  2543. type: integer
  2544. videourl:
  2545. description: 视频地址
  2546. type: string
  2547. wechat:
  2548. description: 微信号 (加密存储)
  2549. type: string
  2550. required:
  2551. - userid
  2552. type: object
  2553. erms3.QryAuditContractRsp:
  2554. properties:
  2555. accountid:
  2556. description: 交易员ID
  2557. type: string
  2558. applystatus:
  2559. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2560. type: integer
  2561. curdeliveryqty:
  2562. description: 未交收量
  2563. type: integer
  2564. customername:
  2565. description: 采购方ID
  2566. type: string
  2567. deliverygoodsid:
  2568. description: 品种ID
  2569. type: string
  2570. deliveryqty:
  2571. description: 交收量
  2572. type: integer
  2573. enumdicname:
  2574. description: 单位名称
  2575. type: string
  2576. matchaccountid:
  2577. description: 业务员ID
  2578. type: string
  2579. matchcustomername:
  2580. description: 销售方ID
  2581. type: string
  2582. pricedqty:
  2583. description: 定价量
  2584. type: number
  2585. signdate:
  2586. description: 签订日期
  2587. type: string
  2588. spotcontractid:
  2589. description: 合同ID
  2590. type: string
  2591. totaldqty:
  2592. description: 合同量
  2593. type: number
  2594. unpricedqty:
  2595. description: 未定价量
  2596. type: number
  2597. wrstandardname:
  2598. description: 商品名称
  2599. type: string
  2600. required:
  2601. - matchcustomername
  2602. - spotcontractid
  2603. type: object
  2604. erms3.QryPendingBizRsp:
  2605. $ref: '#/definitions/models.PendingAuditBizModel'
  2606. erms3.QueryBusinessInfoRsp:
  2607. properties:
  2608. businessid:
  2609. description: 业务ID.
  2610. type: integer
  2611. buyamount:
  2612. description: 采购额.
  2613. type: number
  2614. buyqty:
  2615. description: 采购量.
  2616. type: string
  2617. futurepl:
  2618. description: 期货盈亏.
  2619. type: number
  2620. futureqty:
  2621. description: 期货敞口.
  2622. type: string
  2623. goodsid:
  2624. description: 商品名称/商品代码.
  2625. type: string
  2626. hedgingqty:
  2627. description: 套保量.
  2628. type: string
  2629. sellamount:
  2630. description: 销售额.
  2631. type: number
  2632. sellqty:
  2633. description: 销售量.
  2634. type: string
  2635. spotmarketvalue:
  2636. description: 现货市值.
  2637. type: number
  2638. spotpl:
  2639. description: 浮动权益.
  2640. type: number
  2641. spotqty:
  2642. description: 现货量.
  2643. type: string
  2644. statu:
  2645. description: 状态,0-未结束 1-已结束.
  2646. type: integer
  2647. totalpl:
  2648. description: 总盈亏.
  2649. type: number
  2650. totalqty:
  2651. description: 总敞口.
  2652. type: string
  2653. type:
  2654. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  2655. type: integer
  2656. type: object
  2657. erms3.QuerySpotContractAppleFormRsp:
  2658. properties:
  2659. goodses:
  2660. description: 合约列表
  2661. items:
  2662. $ref: '#/definitions/models.GoodsIDAndName'
  2663. type: array
  2664. oppositeusers:
  2665. description: 对方账号列表
  2666. items:
  2667. $ref: '#/definitions/erms3.CustomerInfo'
  2668. type: array
  2669. ouruser:
  2670. $ref: '#/definitions/erms3.CustomerInfo'
  2671. description: 我方账号
  2672. type: object
  2673. warehouseinfos:
  2674. description: 仓库信息列表
  2675. items:
  2676. $ref: '#/definitions/models.Warehouseinfo'
  2677. type: array
  2678. wrstandards:
  2679. description: 仓单标准列表
  2680. items:
  2681. $ref: '#/definitions/models.WRStandardInfo'
  2682. type: array
  2683. type: object
  2684. erms3.QuerySpotContractInfoRsp:
  2685. properties:
  2686. accountid:
  2687. description: 表示交易员ID.
  2688. type: integer
  2689. curdeliveryqty:
  2690. description: 表示未交收量.
  2691. type: number
  2692. customername:
  2693. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  2694. type: string
  2695. deliverygoodsid:
  2696. description: 表示品种ID.
  2697. type: string
  2698. deliveryqty:
  2699. description: 表示交收量.
  2700. type: number
  2701. matchaccountid:
  2702. description: 表示业务员ID.
  2703. type: integer
  2704. matchcustomername:
  2705. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  2706. type: string
  2707. priceqty:
  2708. description: 表示定价量.
  2709. type: number
  2710. relatedbizid:
  2711. description: 表示业务ID.
  2712. type: string
  2713. signdate:
  2714. description: 表示签订日期.
  2715. type: string
  2716. spotcontractid:
  2717. description: 合同ID
  2718. type: string
  2719. status:
  2720. description: 表示状态,0-履约中 1-已完成.
  2721. type: integer
  2722. totalqty:
  2723. description: 表示合同量.
  2724. type: number
  2725. unpricedqty:
  2726. description: 表示未定价量.
  2727. type: number
  2728. wrstandardname:
  2729. description: 表示商品ID.
  2730. type: string
  2731. type: object
  2732. erms3.QueryUserInfoAppliesRsp:
  2733. properties:
  2734. biznature:
  2735. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2736. type: integer
  2737. contactname:
  2738. description: 联系人
  2739. type: string
  2740. createtime:
  2741. description: 开户申请时间
  2742. type: string
  2743. userid:
  2744. description: 用户ID(自增ID)
  2745. type: integer
  2746. userinfotype:
  2747. description: 用户信息类型 - 1:个人 2:企业
  2748. type: integer
  2749. username:
  2750. description: 用户姓名
  2751. type: string
  2752. userstate:
  2753. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2754. type: integer
  2755. required:
  2756. - userid
  2757. type: object
  2758. erms3.QueryUserInfosRsp:
  2759. properties:
  2760. biznature:
  2761. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2762. type: integer
  2763. contactname:
  2764. description: 联系人
  2765. type: string
  2766. customername:
  2767. description: 客户名称(企业名称)
  2768. type: string
  2769. userid:
  2770. description: 用户ID
  2771. type: integer
  2772. userinfotype:
  2773. description: 用户信息类型 - 1:个人 2:企业
  2774. type: integer
  2775. userstatus:
  2776. description: 用户状态 - 1:正常 2:注销
  2777. type: integer
  2778. required:
  2779. - userid
  2780. type: object
  2781. erms3.SoptContractDetail:
  2782. properties:
  2783. deliverygoodsdesc:
  2784. description: 现货品种说明
  2785. type: string
  2786. deliverygoodsid:
  2787. description: 现货品种ID
  2788. type: integer
  2789. deliverygoodsname:
  2790. description: 现货品种名称
  2791. type: string
  2792. pointdesc:
  2793. description: 点价描述
  2794. type: string
  2795. producttype:
  2796. description: 产品类型 1:标准仓单 2:等标 3:非标
  2797. type: integer
  2798. producttypename:
  2799. description: 产品类型名称
  2800. type: string
  2801. spotPointOrderVoList:
  2802. description: 点价列表
  2803. items:
  2804. $ref: '#/definitions/erms3.SpotPointOrder'
  2805. type: array
  2806. spotPriceOrderList:
  2807. description: 定价列表
  2808. items:
  2809. $ref: '#/definitions/erms3.SpotPriceOrder'
  2810. type: array
  2811. unitname:
  2812. description: 单位名称
  2813. type: string
  2814. warehouseid:
  2815. description: 仓库ID
  2816. type: integer
  2817. warehousename:
  2818. description: 仓库名称
  2819. type: string
  2820. wrstandardid:
  2821. description: 交易标的ID
  2822. type: integer
  2823. wrstandardname:
  2824. description: 交易标的名称
  2825. type: string
  2826. required:
  2827. - deliverygoodsid
  2828. - producttype
  2829. - unitname
  2830. - warehouseid
  2831. - wrstandardid
  2832. - wrstandardname
  2833. type: object
  2834. erms3.SpotPointOrder:
  2835. properties:
  2836. basic:
  2837. description: 基差
  2838. type: number
  2839. deliveryenddate:
  2840. description: 交收结束日期
  2841. type: string
  2842. deliverystartdate:
  2843. description: 交收开始日期
  2844. type: string
  2845. enddate:
  2846. description: 点价结束日期
  2847. type: string
  2848. goodsid:
  2849. description: 商品ID
  2850. type: integer
  2851. goodsname:
  2852. description: 商品名称
  2853. type: string
  2854. qty:
  2855. description: 数量
  2856. type: number
  2857. startdate:
  2858. description: 点价开始日期
  2859. type: string
  2860. required:
  2861. - basic
  2862. - goodsid
  2863. - qty
  2864. type: object
  2865. erms3.SpotPriceOrder:
  2866. properties:
  2867. amount:
  2868. description: 金额
  2869. type: number
  2870. deliveryenddate:
  2871. description: 交收结束日期
  2872. type: string
  2873. deliverystartdate:
  2874. description: 交收开始日期
  2875. type: string
  2876. price:
  2877. description: 价格
  2878. type: number
  2879. qty:
  2880. description: 数量
  2881. type: number
  2882. required:
  2883. - amount
  2884. - price
  2885. - qty
  2886. type: object
  2887. hsby.GetHsbyMyCountRsp:
  2888. properties:
  2889. myCouponCount:
  2890. description: 我的优惠卷数量
  2891. type: integer
  2892. myOrderDetailListingCount:
  2893. description: 我的订单求购中数量
  2894. type: integer
  2895. myOrderDetailPreCount:
  2896. description: 我的订单抢购中数量
  2897. type: integer
  2898. myPackageUnReceiveCount:
  2899. description: 我的包裹待收货数量
  2900. type: integer
  2901. myPackageUnSendCount:
  2902. description: 我的包裹待发货数量
  2903. type: integer
  2904. myPayOrderCount:
  2905. description: 我的订单待付款数量
  2906. type: integer
  2907. type: object
  2908. hsby.QueryProvincesAndCitiesRsp:
  2909. properties:
  2910. cities:
  2911. description: 市
  2912. items:
  2913. $ref: '#/definitions/models.Division'
  2914. type: array
  2915. province:
  2916. $ref: '#/definitions/models.Division'
  2917. description: 省
  2918. type: object
  2919. type: object
  2920. models.AreaSpotModel:
  2921. properties:
  2922. areauserid:
  2923. description: 所属机构
  2924. type: integer
  2925. decreaseqty:
  2926. description: 减少数量=-(销售已定价数量+采购计划数量)
  2927. type: number
  2928. increaseqty:
  2929. description: 增加数量=销售计划数量+采购已定价数量
  2930. type: number
  2931. oritoalspotqty:
  2932. description: 昨日数量
  2933. type: number
  2934. totalspotqty:
  2935. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  2936. type: number
  2937. updatetime:
  2938. description: 更新时间
  2939. type: string
  2940. wrstandardcode:
  2941. description: 现货品种代码
  2942. type: string
  2943. wrstandardid:
  2944. description: 现货商品ID
  2945. type: integer
  2946. wrstandardname:
  2947. description: 现货品种
  2948. type: string
  2949. type: object
  2950. models.Clientfixedadconfig:
  2951. properties:
  2952. adsort:
  2953. description: 排序
  2954. type: integer
  2955. adtype:
  2956. description: 广告位类型 - 1:新品抢购(HSBY)
  2957. type: integer
  2958. areauserid:
  2959. description: 所属机构ID
  2960. type: integer
  2961. createdate:
  2962. description: 创建时间
  2963. type: string
  2964. creatorid:
  2965. description: 创建人
  2966. type: integer
  2967. imagepath:
  2968. description: 图片
  2969. type: string
  2970. isshow:
  2971. description: 是否展示 - 0:不展示 1:展示
  2972. type: integer
  2973. modifierid:
  2974. description: 操作人
  2975. type: integer
  2976. recsize:
  2977. description: 推荐尺寸
  2978. type: string
  2979. title:
  2980. description: 标题
  2981. type: string
  2982. updatedate:
  2983. description: 更新时间
  2984. type: string
  2985. urlcontent:
  2986. description: 链接(地址或商品ID)
  2987. type: string
  2988. urltype:
  2989. description: 链接类型 - 1:直接地址 2:商品ID
  2990. type: integer
  2991. required:
  2992. - adsort
  2993. - adtype
  2994. type: object
  2995. models.Division:
  2996. properties:
  2997. autoid:
  2998. description: 自增ID
  2999. type: integer
  3000. divisioncode:
  3001. description: 行政代码
  3002. type: string
  3003. divisionlevel:
  3004. description: 行政级别
  3005. type: string
  3006. divisionname:
  3007. description: 行政名称
  3008. type: string
  3009. modifierid:
  3010. description: 修改人
  3011. type: integer
  3012. modifytime:
  3013. description: 修改时间
  3014. type: string
  3015. parentcode:
  3016. description: 上级行政代码
  3017. type: string
  3018. pathname:
  3019. description: 路径名称
  3020. type: string
  3021. postcode:
  3022. description: 邮政编码
  3023. type: string
  3024. separablename:
  3025. description: 可拆分的全称
  3026. type: string
  3027. shortcode:
  3028. description: 地区简码
  3029. type: string
  3030. required:
  3031. - autoid
  3032. - divisioncode
  3033. type: object
  3034. models.Enumdicitem:
  3035. properties:
  3036. autoid:
  3037. description: 自增ID
  3038. type: integer
  3039. bankmappedvalue:
  3040. description: 银行服务对应值
  3041. type: string
  3042. enumdiccode:
  3043. description: 所属枚举代码
  3044. type: string
  3045. enumdicid:
  3046. description: 所属枚举ID
  3047. type: integer
  3048. enumdicname:
  3049. description: 枚举项名称
  3050. type: string
  3051. enumitemname:
  3052. description: 枚举项值
  3053. type: integer
  3054. enumitemstatus:
  3055. description: 枚举项状态 - 1.启用 2.不启用
  3056. type: integer
  3057. enumitemvalue:
  3058. description: 通用值 - [币种通用简写]
  3059. type: string
  3060. param1:
  3061. description: 参数1[币种:币种小数位]
  3062. type: string
  3063. param2:
  3064. description: 参数1[币种:币种显示单位]
  3065. type: string
  3066. remark:
  3067. description: 备注
  3068. type: string
  3069. required:
  3070. - autoid
  3071. - enumdiccode
  3072. - enumdicid
  3073. - enumitemname
  3074. type: object
  3075. models.Ermcp3AreaSpot:
  3076. properties:
  3077. areauserid:
  3078. description: 所属机构
  3079. type: integer
  3080. decreaseqty:
  3081. description: 减少数量=-(销售已定价数量+采购计划数量)
  3082. type: number
  3083. deliverygoodscode:
  3084. description: 现货品种代码
  3085. type: string
  3086. deliverygoodsid:
  3087. description: 现货品种id
  3088. type: integer
  3089. deliverygoodsname:
  3090. description: 现货品种名称
  3091. type: string
  3092. increaseqty:
  3093. description: 增加数量=销售计划数量+采购已定价数量
  3094. type: number
  3095. oritoalspotqty:
  3096. description: 昨日数量
  3097. type: number
  3098. totalspotqty:
  3099. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  3100. type: number
  3101. updatetime:
  3102. description: 更新时间
  3103. type: string
  3104. type: object
  3105. models.Ermcp3AreaSpotDetail:
  3106. properties:
  3107. contracttype:
  3108. description: 合同类型 1-采购 -1-销售
  3109. type: integer
  3110. createtime:
  3111. description: 创建时间
  3112. type: string
  3113. deliverygoodscode:
  3114. description: 现货品种代码
  3115. type: string
  3116. deliverygoodsid:
  3117. description: 现货品种id
  3118. type: integer
  3119. deliverygoodsname:
  3120. description: 现货品种名称
  3121. type: string
  3122. enumdicname:
  3123. description: 现货商品单位名称
  3124. type: string
  3125. logtype:
  3126. description: 记录类型 1-套保 2-现货合同
  3127. type: integer
  3128. qty:
  3129. description: 数量
  3130. type: number
  3131. recordname:
  3132. description: 类型名称
  3133. type: string
  3134. relatedid:
  3135. description: 套保计划ID/现货合同ID
  3136. type: string
  3137. relatedno:
  3138. description: 编号
  3139. type: string
  3140. strtime:
  3141. description: 时间
  3142. type: string
  3143. type: object
  3144. models.Ermcp3AreaStockApply:
  3145. properties:
  3146. applyid:
  3147. description: 申请人
  3148. type: integer
  3149. applyname:
  3150. description: 申请人名称
  3151. type: string
  3152. applyremark:
  3153. description: 申请备注
  3154. type: string
  3155. applysrc:
  3156. description: 申请来源 - 1:管理端 2:终端
  3157. type: integer
  3158. applystatus:
  3159. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  3160. type: integer
  3161. applytime:
  3162. description: 申请时间
  3163. type: string
  3164. auditid:
  3165. description: 审核人
  3166. type: integer
  3167. auditname:
  3168. description: 审核人名称
  3169. type: string
  3170. auditremark:
  3171. description: 审核备注
  3172. type: string
  3173. auditsrc:
  3174. description: 审核来源 - 1:管理端 2:终端
  3175. type: integer
  3176. audittime:
  3177. description: 审核时间
  3178. type: string
  3179. audittradedate:
  3180. description: 审核交易日(yyyyMMdd)
  3181. type: string
  3182. brandname:
  3183. description: 品牌名称
  3184. type: string
  3185. buyuserid:
  3186. description: 采购方userid
  3187. type: integer
  3188. buyusername:
  3189. description: 采购方名称
  3190. type: string
  3191. contractno:
  3192. description: 合同编号
  3193. type: string
  3194. contractqty:
  3195. description: 合同量
  3196. type: number
  3197. contracttype:
  3198. description: 现货合同类型 - 1:采购 -1:销售
  3199. type: integer
  3200. deliverygoodscode:
  3201. description: 现货品种代码
  3202. type: string
  3203. deliverygoodsid:
  3204. description: 现货品种id
  3205. type: integer
  3206. deliverygoodsname:
  3207. description: 现货品种名称
  3208. type: string
  3209. enumdicname:
  3210. description: 现货商品单位名称
  3211. type: string
  3212. inoutapplyid:
  3213. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  3214. type: string
  3215. inouttype:
  3216. description: 出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  3217. type: integer
  3218. pricetype:
  3219. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  3220. type: integer
  3221. qty:
  3222. description: 数量
  3223. type: number
  3224. selluserid:
  3225. description: 销售方userid
  3226. type: integer
  3227. sellusername:
  3228. description: 销售方名称
  3229. type: string
  3230. spotcontractid:
  3231. description: 关联现货合同ID
  3232. type: string
  3233. spotgoodsbrandid:
  3234. description: 现货品牌ID
  3235. type: integer
  3236. unitid:
  3237. description: 单位id
  3238. type: integer
  3239. userid:
  3240. description: 机构ID
  3241. type: integer
  3242. warehousecode:
  3243. description: 仓库代码
  3244. type: string
  3245. warehouseinfoid:
  3246. description: 现货仓库ID
  3247. type: string
  3248. warehousename:
  3249. description: 仓库名称
  3250. type: string
  3251. warehousetype:
  3252. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3253. type: integer
  3254. wrstandardcode:
  3255. description: 品类代码
  3256. type: string
  3257. wrstandardid:
  3258. description: 品类ID
  3259. type: string
  3260. wrstandardname:
  3261. description: 品类名称
  3262. type: string
  3263. type: object
  3264. models.Ermcp3AreaStockApplySum:
  3265. properties:
  3266. brandname:
  3267. description: 品牌名称
  3268. type: string
  3269. inouttype:
  3270. description: 出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  3271. type: integer
  3272. spotcontractid:
  3273. description: 关联现货合同ID
  3274. type: string
  3275. spotgoodsbrandid:
  3276. description: 品牌id
  3277. type: integer
  3278. totalqty:
  3279. description: 总数量
  3280. type: number
  3281. wrstandardid:
  3282. description: 品类id
  3283. type: integer
  3284. wrstandardname:
  3285. description: 品类名称
  3286. type: string
  3287. type: object
  3288. models.Ermcp3AreaStockReport:
  3289. properties:
  3290. brandname:
  3291. description: 品牌名称
  3292. type: string
  3293. curstock:
  3294. description: 期末库存量
  3295. type: number
  3296. deliverygoodscode:
  3297. description: 现货品种代码
  3298. type: string
  3299. deliverygoodsid:
  3300. description: 现货品种id
  3301. type: integer
  3302. deliverygoodsname:
  3303. description: 现货品种名称
  3304. type: string
  3305. enumdicname:
  3306. description: 单位名称
  3307. type: string
  3308. goodsunitid:
  3309. description: 现货单位id
  3310. type: integer
  3311. oristock:
  3312. description: 期初库存量
  3313. type: number
  3314. spotgoodsbrandid:
  3315. description: 现货品牌ID
  3316. type: integer
  3317. todaybuyinqty:
  3318. description: 今日采购入库量
  3319. type: number
  3320. todayproduceinqty:
  3321. description: 今日生产入库量
  3322. type: number
  3323. todayproduceoutqty:
  3324. description: 今日生产出库量
  3325. type: number
  3326. todayselloutqty:
  3327. description: 今日销售出库量
  3328. type: number
  3329. unitid:
  3330. description: 品类单位id
  3331. type: integer
  3332. updatetime:
  3333. description: 更新时间
  3334. type: string
  3335. userid:
  3336. description: 机构ID
  3337. type: integer
  3338. username:
  3339. description: 机构名称
  3340. type: string
  3341. warehousecode:
  3342. description: 仓库代码
  3343. type: string
  3344. warehouseinfoid:
  3345. description: 仓库ID
  3346. type: string
  3347. warehousename:
  3348. description: 仓库名称
  3349. type: string
  3350. warehousetype:
  3351. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3352. type: integer
  3353. wrstandardcode:
  3354. description: 品类代码
  3355. type: string
  3356. wrstandardid:
  3357. description: 品类ID
  3358. type: string
  3359. wrstandardname:
  3360. description: 品类名称
  3361. type: string
  3362. type: object
  3363. models.Ermcp3Brand:
  3364. properties:
  3365. areauserid:
  3366. description: 用户id
  3367. type: integer
  3368. brandid:
  3369. description: 品牌id
  3370. type: integer
  3371. brandname:
  3372. description: 品牌名称
  3373. type: string
  3374. deliverygoodsid:
  3375. description: 品种ID
  3376. type: integer
  3377. type: object
  3378. models.Ermcp3Contract:
  3379. properties:
  3380. accountid:
  3381. description: 期货账户id
  3382. type: string
  3383. amount:
  3384. description: 金额 [1:一口价、3:暂定价]
  3385. type: number
  3386. attachment:
  3387. description: 附件
  3388. type: string
  3389. auditremark:
  3390. description: 审核意见
  3391. type: string
  3392. audittime:
  3393. description: 审核时间
  3394. type: string
  3395. biztype:
  3396. description: 业务类型 1-套保 2-套利
  3397. type: integer
  3398. brandname:
  3399. description: 品牌名称
  3400. type: string
  3401. buynickname:
  3402. description: 销售方昵称
  3403. type: string
  3404. buyuserid:
  3405. description: 采购方ID
  3406. type: integer
  3407. buyusername:
  3408. description: 采购方名称
  3409. type: string
  3410. contracctstatus:
  3411. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  3412. type: integer
  3413. contractmargin:
  3414. description: 合同保证金
  3415. type: number
  3416. contractno:
  3417. description: 现货合同编号
  3418. type: string
  3419. contracttype:
  3420. description: 现货合同类型 - 1:采购 -1:销售
  3421. type: integer
  3422. convertfactor:
  3423. description: 标仓系数(品类)
  3424. type: number
  3425. createtime:
  3426. description: 创建时间
  3427. type: string
  3428. deliveryenddate:
  3429. description: 交收期(结束)
  3430. type: string
  3431. deliverygoodscode:
  3432. description: 现货品种代码
  3433. type: string
  3434. deliverygoodsid:
  3435. description: 现货品种ID
  3436. type: integer
  3437. deliverygoodsname:
  3438. description: 现货品种名称
  3439. type: string
  3440. deliverystartdate:
  3441. description: 交收期(开始)
  3442. type: string
  3443. enddate:
  3444. description: 点价结束日期 [2:点价 3:暂定价]
  3445. type: string
  3446. enumdicname:
  3447. description: 单位名称
  3448. type: string
  3449. goodscode:
  3450. description: 点价合约代码
  3451. type: string
  3452. goodsid:
  3453. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  3454. type: integer
  3455. goodsname:
  3456. description: 点价商品名称
  3457. type: string
  3458. margin:
  3459. description: 当前保证金
  3460. type: number
  3461. meruserid:
  3462. description: 业务员id
  3463. type: integer
  3464. meruserlogincode:
  3465. description: 业务员登录代码
  3466. type: string
  3467. price:
  3468. description: 价格\暂定价 [1:一口价、3:暂定价]
  3469. type: number
  3470. pricemove:
  3471. description: 升贴水 [2:点价 3:暂定价]
  3472. type: number
  3473. pricetype:
  3474. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  3475. type: integer
  3476. producttype:
  3477. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  3478. type: integer
  3479. qty:
  3480. description: 数量
  3481. type: number
  3482. remark:
  3483. description: 备注
  3484. type: string
  3485. saleuserid:
  3486. description: 销售员id
  3487. type: integer
  3488. saleuserlogincode:
  3489. description: 销售员登录代码
  3490. type: string
  3491. sellnickname:
  3492. description: 采购方昵称
  3493. type: string
  3494. selluserid:
  3495. description: 销售方ID
  3496. type: integer
  3497. sellusername:
  3498. description: 销售方名称
  3499. type: string
  3500. spotcontractid:
  3501. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  3502. type: string
  3503. spotgoodsbrandid:
  3504. description: 现货品牌ID(DGFactoryItem表的ID)
  3505. type: integer
  3506. spotgoodsdesc:
  3507. description: 商品型号
  3508. type: string
  3509. startdate:
  3510. description: 点价开始日期 [2:点价 3:暂定价]
  3511. type: string
  3512. tradeuserid:
  3513. description: 交易员id
  3514. type: integer
  3515. tradeuserlogincode:
  3516. description: 交易员登录代码
  3517. type: string
  3518. unitid:
  3519. description: 单位id(取品类上的单位id)
  3520. type: integer
  3521. updatetime:
  3522. description: 更新时间
  3523. type: string
  3524. userid:
  3525. description: 所属机构ID
  3526. type: integer
  3527. wrstandardcode:
  3528. description: 品类代码
  3529. type: string
  3530. wrstandardid:
  3531. description: 品类ID
  3532. type: integer
  3533. wrstandardname:
  3534. description: 品类名称
  3535. type: string
  3536. type: object
  3537. models.Ermcp3ExposureDetail:
  3538. properties:
  3539. areauserid:
  3540. description: 机构ID
  3541. type: integer
  3542. changeQty:
  3543. description: 套保变动量
  3544. type: number
  3545. contracttype:
  3546. description: 现货合同类型 - 1:采购 -1:销售
  3547. type: integer
  3548. convertfactor:
  3549. description: 标仓系数
  3550. type: number
  3551. convertratio:
  3552. description: 套保系数
  3553. type: number
  3554. createtime:
  3555. description: 时间
  3556. type: string
  3557. deliverygoodscode:
  3558. description: 现货品种代码
  3559. type: string
  3560. deliverygoodsid:
  3561. description: 现货品种id
  3562. type: integer
  3563. deliverygoodsname:
  3564. description: 现货品种名称
  3565. type: string
  3566. enumdicname:
  3567. description: 现货商品单位名称
  3568. type: string
  3569. logtype:
  3570. description: 类型 - 1:套保计划 2:现货合同
  3571. type: integer
  3572. middlegoodsId:
  3573. description: 套保商品id
  3574. type: integer
  3575. middlegoodscode:
  3576. description: 套保商品代码
  3577. type: string
  3578. middlegoodsname:
  3579. description: 套保商品名称
  3580. type: string
  3581. qty:
  3582. description: 数量
  3583. type: number
  3584. relateNo:
  3585. description: 现货合同/套保计划编号
  3586. type: string
  3587. type: object
  3588. models.Ermcp3ReportAreaSpotPL:
  3589. properties:
  3590. actualpl:
  3591. description: 实际损益
  3592. type: number
  3593. areauserid:
  3594. description: 所属机构
  3595. type: integer
  3596. brandname:
  3597. description: 品牌名称
  3598. type: string
  3599. curamount:
  3600. description: 期末额
  3601. type: number
  3602. curaverageprice:
  3603. description: 期末均价
  3604. type: number
  3605. curbuyamount:
  3606. description: 期末采购总额(采购额)
  3607. type: number
  3608. curbuyqty:
  3609. description: 期末采购总量
  3610. type: number
  3611. curmarketvalue:
  3612. description: 参考市值
  3613. type: number
  3614. curqty:
  3615. description: 期末量
  3616. type: number
  3617. cursellamount:
  3618. description: 期末销售总额(销售额)
  3619. type: number
  3620. cursellqty:
  3621. description: 期末销售总量
  3622. type: number
  3623. curspotprice:
  3624. description: 参考市价
  3625. type: number
  3626. deliverygoodscode:
  3627. description: 现货品种代码
  3628. type: string
  3629. deliverygoodsid:
  3630. description: 现货品种id
  3631. type: integer
  3632. deliverygoodsname:
  3633. description: 现货品种名称
  3634. type: string
  3635. enumdicname:
  3636. description: 现货商品单位名称
  3637. type: string
  3638. floatpl:
  3639. description: 浮动损益
  3640. type: number
  3641. gbenumdicname:
  3642. description: 品类单位名称
  3643. type: string
  3644. gbunitid:
  3645. description: 现货单位id
  3646. type: integer
  3647. modelname:
  3648. description: 品类名称
  3649. type: string
  3650. oriamount:
  3651. description: 期初额
  3652. type: number
  3653. oriaverageprice:
  3654. description: 期初均价
  3655. type: number
  3656. oribuyamount:
  3657. description: 期初采购总额
  3658. type: number
  3659. oribuyqty:
  3660. description: 期初采购总量
  3661. type: number
  3662. oriqty:
  3663. description: 期初量
  3664. type: number
  3665. orisellamount:
  3666. description: 期初销售总额
  3667. type: number
  3668. orisellqty:
  3669. description: 期初销售总量
  3670. type: number
  3671. spotgoodsbrandid:
  3672. description: 现货品牌ID
  3673. type: integer
  3674. todaybuyamount:
  3675. description: 今日采购额
  3676. type: number
  3677. todaybuyaverageprice:
  3678. description: 今日采购均价(采购均价)
  3679. type: number
  3680. todaybuyqty:
  3681. description: 今日采购量(采购增量)
  3682. type: number
  3683. todaysellamount:
  3684. description: 今日销售额
  3685. type: number
  3686. todaysellaverageprice:
  3687. description: 今日销售均价(销售均价)
  3688. type: number
  3689. todaysellqty:
  3690. description: 今日销售量(销售增量)
  3691. type: number
  3692. unitid:
  3693. description: 品类单位id
  3694. type: integer
  3695. updatetime:
  3696. description: 更新时间
  3697. type: string
  3698. wrstandardcode:
  3699. description: 品类代码
  3700. type: string
  3701. wrstandardid:
  3702. description: 品类ID
  3703. type: integer
  3704. wrstandardname:
  3705. description: 品类名称
  3706. type: string
  3707. type: object
  3708. models.Ermcp3ReportDaySpot:
  3709. properties:
  3710. areauserid:
  3711. description: 所属机构T
  3712. type: integer
  3713. buyinqty:
  3714. description: 采购入库量
  3715. type: number
  3716. deliverygoodscode:
  3717. description: 现货品种代码
  3718. type: string
  3719. deliverygoodsid:
  3720. description: 现货品种id
  3721. type: integer
  3722. deliverygoodsname:
  3723. description: 现货品种名称
  3724. type: string
  3725. enumdicname:
  3726. description: 现货商品单位名称
  3727. type: string
  3728. reckondate:
  3729. description: 日照时期(yyyyMMdd)
  3730. type: string
  3731. selloutqty:
  3732. description: 销售出库量
  3733. type: number
  3734. todaybuyreckonqty:
  3735. description: 采购确定量
  3736. type: number
  3737. todaysellreckonqty:
  3738. description: 销售确定量
  3739. type: number
  3740. totalbuypricedqty:
  3741. description: 采购定价量 = 期末 - 期初
  3742. type: number
  3743. totalsellpricedqty:
  3744. description: 销售定价量 = 期末 - 期初
  3745. type: number
  3746. type: object
  3747. models.Ermcp3ReportMonSpot:
  3748. properties:
  3749. areauserid:
  3750. description: 所属机构id
  3751. type: integer
  3752. buyinqty:
  3753. description: 采购入库量
  3754. type: number
  3755. cycletime:
  3756. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  3757. type: string
  3758. cycletype:
  3759. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  3760. type: integer
  3761. deliverygoodscode:
  3762. description: 现货品种代码
  3763. type: string
  3764. deliverygoodsid:
  3765. description: 现货品种id
  3766. type: integer
  3767. deliverygoodsname:
  3768. description: 现货品种名称
  3769. type: string
  3770. enumdicname:
  3771. description: 现货商品单位名称
  3772. type: string
  3773. selloutqty:
  3774. description: 销售出库量
  3775. type: number
  3776. todaybuyreckonqty:
  3777. description: 采购确定量
  3778. type: number
  3779. todaysellreckonqty:
  3780. description: 销售确定量
  3781. type: number
  3782. totalbuypricedqty:
  3783. description: 采购定价量 = 期末 - 期初
  3784. type: number
  3785. totalsellpricedqty:
  3786. description: 销售定价量 = 期末 - 期初
  3787. type: number
  3788. type: object
  3789. models.Ermcp3ReportOPLog:
  3790. properties:
  3791. applyid:
  3792. description: 操作人
  3793. type: integer
  3794. applyname:
  3795. description: 操作人名称
  3796. type: string
  3797. biztype:
  3798. description: 业务类型 - 1:套保计划 2:现货合同
  3799. type: integer
  3800. brandname:
  3801. description: 品牌名称
  3802. type: string
  3803. contracttype:
  3804. description: 现货合同类型 - 1:采购 -1:销售
  3805. type: integer
  3806. deliverygoodscode:
  3807. description: 现货品种代码
  3808. type: string
  3809. deliverygoodsid:
  3810. description: 现货品种id
  3811. type: integer
  3812. deliverygoodsname:
  3813. description: 现货品种名称
  3814. type: string
  3815. enumdicName:
  3816. description: 单位名称
  3817. type: string
  3818. logdatetime:
  3819. description: 流水日期(时间)
  3820. type: string
  3821. logid:
  3822. description: 流水ID(604+Unix秒时间戳(10位)+xxxxxx)
  3823. type: string
  3824. logtypename:
  3825. description: 合同类型(名称)
  3826. type: string
  3827. logvalue:
  3828. description: 数值
  3829. type: string
  3830. operatelogtype:
  3831. description: 操作流水类型 -
  3832. type: integer
  3833. optypename:
  3834. description: 流水类型名称
  3835. type: string
  3836. relatedid:
  3837. description: 现货合同ID\套保计划
  3838. type: string
  3839. relatedno:
  3840. description: 合同编号
  3841. type: string
  3842. tradedate:
  3843. description: 交易日(yyyyMMdd)
  3844. type: string
  3845. userid:
  3846. description: 机构ID
  3847. type: integer
  3848. type: object
  3849. models.Ermcp3SellBuyContract:
  3850. properties:
  3851. accountname:
  3852. description: 账户名称
  3853. type: string
  3854. attachment:
  3855. description: 附件
  3856. type: string
  3857. audittime:
  3858. description: 审核时间
  3859. type: string
  3860. brandname:
  3861. description: 品牌名称
  3862. type: string
  3863. contracctstatus:
  3864. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  3865. type: integer
  3866. contractmargin:
  3867. description: 合同保证金
  3868. type: number
  3869. contractno:
  3870. description: 合同编号
  3871. type: string
  3872. contracttype:
  3873. description: 合同类型 1-采购, -1-销售
  3874. type: integer
  3875. convertfactor:
  3876. description: 标仓系数(品类)
  3877. type: number
  3878. createtime:
  3879. description: 创建时间
  3880. type: string
  3881. daikaiamount:
  3882. description: 应收(开)票额
  3883. type: number
  3884. deliveryenddate:
  3885. description: 交割结束日
  3886. type: string
  3887. deliverygoodscode:
  3888. description: 现货品种代码
  3889. type: string
  3890. deliverygoodsid:
  3891. description: 现货商品ID
  3892. type: integer
  3893. deliverygoodsname:
  3894. description: 现货品种名称
  3895. type: string
  3896. deliverystartdate:
  3897. description: 交割开始日
  3898. type: string
  3899. enddate:
  3900. description: 点价结束日
  3901. type: string
  3902. enumdicname:
  3903. description: 单位名称
  3904. type: string
  3905. goodscode:
  3906. description: 点价商品代码
  3907. type: string
  3908. goodsid:
  3909. description: 点价商品ID
  3910. type: integer
  3911. goodsname:
  3912. description: 点价商品名称
  3913. type: string
  3914. invoiceamount:
  3915. description: 已开票额
  3916. type: number
  3917. loanamount:
  3918. description: 贷款总额=已定价额+调整金额
  3919. type: number
  3920. margin:
  3921. description: 保证金
  3922. type: number
  3923. payamount:
  3924. description: 已收付额(收款或付款)
  3925. type: number
  3926. preinvoiceamount:
  3927. description: 预收(开)票额
  3928. type: number
  3929. prepayamount:
  3930. description: 预收付额
  3931. type: number
  3932. price:
  3933. description: 价格
  3934. type: number
  3935. pricedamount:
  3936. description: 已定价额
  3937. type: number
  3938. pricedavg:
  3939. description: 已点均价
  3940. type: number
  3941. pricedqty:
  3942. description: 已定价量
  3943. type: number
  3944. pricemove:
  3945. description: 升贴水
  3946. type: number
  3947. pricetype:
  3948. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  3949. type: integer
  3950. producttype:
  3951. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  3952. type: integer
  3953. qty:
  3954. description: 合同量
  3955. type: number
  3956. reckonadjustamount:
  3957. description: 调整金额
  3958. type: number
  3959. reckonedamount:
  3960. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  3961. type: number
  3962. reckonotheramount:
  3963. description: 其它费用
  3964. type: number
  3965. reckonrealqty:
  3966. description: 已确定量
  3967. type: number
  3968. remark:
  3969. description: 备注
  3970. type: string
  3971. spotcontractid:
  3972. description: 合同ID
  3973. type: string
  3974. spotgoodsbrandid:
  3975. description: 现货品牌ID(DGFactoryItem表的ID)
  3976. type: integer
  3977. spotgoodsdesc:
  3978. description: 商品型号(商品规格)
  3979. type: string
  3980. startdate:
  3981. description: 点价开始日
  3982. type: string
  3983. totalamount:
  3984. description: 合计总额
  3985. type: number
  3986. unpayamount:
  3987. description: 应收付款额(应支付或应收款)
  3988. type: number
  3989. unpricedqty:
  3990. description: 未定价量
  3991. type: number
  3992. unsureqty:
  3993. description: 未确定量
  3994. type: number
  3995. userid:
  3996. description: 机构ID
  3997. type: integer
  3998. wrstandardcode:
  3999. description: 品类代码
  4000. type: string
  4001. wrstandardid:
  4002. description: 品类ID
  4003. type: integer
  4004. wrstandardname:
  4005. description: 品类名称
  4006. type: string
  4007. type: object
  4008. models.Ermcp3Wrstandard:
  4009. properties:
  4010. areauserid:
  4011. description: 所属机构
  4012. type: integer
  4013. createtime:
  4014. description: 创建时间
  4015. type: string
  4016. creatorid:
  4017. description: 创建人
  4018. type: integer
  4019. deliverygoodsid:
  4020. description: 现货品种ID
  4021. type: integer
  4022. enumdicname:
  4023. description: 品类单位名称
  4024. type: string
  4025. isvalid:
  4026. description: 是否有效 0-无效(停用) 1-有效(正常)
  4027. type: integer
  4028. minivalue:
  4029. description: 最小变动值
  4030. type: integer
  4031. minivaluedp:
  4032. description: 最小变动值小数位
  4033. type: integer
  4034. realminivalue:
  4035. description: 实际最小变动值
  4036. type: integer
  4037. realminivaluedp:
  4038. description: 实际最小变动值小数位
  4039. type: integer
  4040. remark:
  4041. description: 备注
  4042. type: string
  4043. unitid:
  4044. description: 品类单位ID
  4045. type: integer
  4046. updatetime:
  4047. description: 更新时间
  4048. type: string
  4049. wrstandardcode:
  4050. description: 品类代码
  4051. type: string
  4052. wrstandardid:
  4053. description: 品类ID(SEQ_WRSTANDARD)
  4054. type: integer
  4055. wrstandardname:
  4056. description: 品类名称
  4057. type: string
  4058. type: object
  4059. models.ErmcpAreaSpotDetailModel:
  4060. properties:
  4061. contracttype:
  4062. description: 合同类型 1-采购 -1-销售
  4063. type: integer
  4064. createtime:
  4065. description: 创建时间
  4066. type: string
  4067. enumdicname:
  4068. description: 现货商品单位名称
  4069. type: string
  4070. logtype:
  4071. description: 记录类型 1-套保 2-现货合同
  4072. type: integer
  4073. qty:
  4074. description: 数量
  4075. type: number
  4076. recordname:
  4077. description: 类型名称
  4078. type: string
  4079. relatedid:
  4080. description: 套保计划ID/现货合同ID
  4081. type: string
  4082. relatedno:
  4083. description: 编号
  4084. type: string
  4085. strtime:
  4086. description: 时间
  4087. type: string
  4088. wrstandardcode:
  4089. description: 现货商品代码
  4090. type: string
  4091. wrstandardname:
  4092. description: 现货商品名称
  4093. type: string
  4094. type: object
  4095. models.ErmcpAreaStock:
  4096. properties:
  4097. brandname:
  4098. description: 品牌名称
  4099. type: string
  4100. curstock:
  4101. description: 期末库存量(今日量)
  4102. type: number
  4103. deliverygoodsid:
  4104. description: 现货品种ID
  4105. type: integer
  4106. enumdicname:
  4107. description: 单位名称
  4108. type: string
  4109. modelname:
  4110. description: 型号名称
  4111. type: string
  4112. oristock:
  4113. description: 期初库存量(昨日量)
  4114. type: number
  4115. spotgoodsbrandid:
  4116. description: 现货品牌ID
  4117. type: integer
  4118. spotgoodsmodelid:
  4119. description: 现货型号ID
  4120. type: integer
  4121. todaybuyinqty:
  4122. description: 今日采购入库量
  4123. type: number
  4124. todayproduceinqty:
  4125. description: 今日生产入库量
  4126. type: number
  4127. todayproduceoutqty:
  4128. description: 今日生产出库量
  4129. type: number
  4130. todayselloutqty:
  4131. description: 今日销售出库量
  4132. type: number
  4133. unitid:
  4134. description: 单位id
  4135. type: integer
  4136. updatetime:
  4137. description: 更新时间
  4138. type: string
  4139. userid:
  4140. description: 机构ID
  4141. type: integer
  4142. username:
  4143. description: 机构名称
  4144. type: string
  4145. warehousecode:
  4146. description: 仓库代码
  4147. type: string
  4148. warehouseinfoid:
  4149. description: 仓库ID
  4150. type: string
  4151. warehousename:
  4152. description: 仓库名称
  4153. type: string
  4154. warehousetype:
  4155. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4156. type: integer
  4157. wrstandardcode:
  4158. description: 现货商品代码
  4159. type: string
  4160. wrstandardid:
  4161. description: 现货商品ID
  4162. type: string
  4163. wrstandardname:
  4164. description: 现货商品名称
  4165. type: string
  4166. type: object
  4167. models.ErmcpAreaStockApply:
  4168. properties:
  4169. applyid:
  4170. description: 申请人
  4171. type: integer
  4172. applyname:
  4173. description: 申请人名称
  4174. type: string
  4175. applyremark:
  4176. description: 申请备注
  4177. type: string
  4178. applysrc:
  4179. description: 申请来源 - 1:管理端 2:终端
  4180. type: integer
  4181. applystatus:
  4182. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  4183. type: integer
  4184. applytime:
  4185. description: 申请时间
  4186. type: string
  4187. auditid:
  4188. description: 审核人
  4189. type: integer
  4190. auditname:
  4191. description: 审核人名称
  4192. type: string
  4193. auditremark:
  4194. description: 审核备注
  4195. type: string
  4196. auditsrc:
  4197. description: 审核来源 - 1:管理端 2:终端
  4198. type: integer
  4199. audittime:
  4200. description: 审核时间
  4201. type: string
  4202. audittradedate:
  4203. description: 审核交易日(yyyyMMdd)
  4204. type: string
  4205. brandname:
  4206. description: 品牌名称
  4207. type: string
  4208. buyuserid:
  4209. description: 采购方userid
  4210. type: integer
  4211. buyusername:
  4212. description: 采购方名称
  4213. type: string
  4214. contractno:
  4215. description: 合同编号
  4216. type: string
  4217. contractqty:
  4218. description: 合同量
  4219. type: number
  4220. contracttype:
  4221. description: 现货合同类型 - 1:采购 -1:销售
  4222. type: integer
  4223. deliverygoodsid:
  4224. description: 现货品种ID
  4225. type: integer
  4226. enumdicname:
  4227. description: 现货商品单位名称
  4228. type: string
  4229. inoutapplyid:
  4230. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  4231. type: string
  4232. inouttype:
  4233. description: 出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  4234. type: integer
  4235. modelname:
  4236. description: 型号名称
  4237. type: string
  4238. pricetype:
  4239. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4240. type: integer
  4241. qty:
  4242. description: 数量
  4243. type: number
  4244. selluserid:
  4245. description: 销售方userid
  4246. type: integer
  4247. sellusername:
  4248. description: 销售方名称
  4249. type: string
  4250. spotcontractid:
  4251. description: 关联现货合同ID
  4252. type: string
  4253. spotgoodsbrandid:
  4254. description: 现货品牌ID
  4255. type: integer
  4256. spotgoodsmodelid:
  4257. description: 现货型号ID
  4258. type: integer
  4259. unitid:
  4260. description: 单位id
  4261. type: integer
  4262. userid:
  4263. description: 机构ID
  4264. type: integer
  4265. warehousecode:
  4266. description: 仓库代码
  4267. type: string
  4268. warehouseinfoid:
  4269. description: 现货仓库ID
  4270. type: string
  4271. warehousename:
  4272. description: 仓库名称
  4273. type: string
  4274. warehousetype:
  4275. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4276. type: integer
  4277. wrstandardcode:
  4278. description: 现货商品代码
  4279. type: string
  4280. wrstandardid:
  4281. description: 现货商品ID
  4282. type: string
  4283. wrstandardname:
  4284. description: 现货商品名称
  4285. type: string
  4286. type: object
  4287. models.ErmcpAreaStockApplySum:
  4288. properties:
  4289. brandname:
  4290. description: 品牌名称
  4291. type: string
  4292. inouttype:
  4293. description: 出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  4294. type: integer
  4295. modelname:
  4296. description: 型号名称
  4297. type: string
  4298. spotcontractid:
  4299. description: 关联现货合同ID
  4300. type: string
  4301. spotgoodsbrandid:
  4302. description: 品牌id
  4303. type: integer
  4304. spotgoodsmodelid:
  4305. description: 型号id
  4306. type: integer
  4307. totalqty:
  4308. description: 总数量
  4309. type: number
  4310. type: object
  4311. models.ErmcpAreaStockReport:
  4312. properties:
  4313. brandname:
  4314. description: 品牌名称
  4315. type: string
  4316. curstock:
  4317. description: 期末库存量
  4318. type: number
  4319. deliverygoodsid:
  4320. description: 现货品种ID
  4321. type: integer
  4322. enumdicname:
  4323. description: 单位名称
  4324. type: string
  4325. modelname:
  4326. description: 型号名称
  4327. type: string
  4328. oristock:
  4329. description: 期初库存量
  4330. type: number
  4331. spotgoodsbrandid:
  4332. description: 现货品牌ID
  4333. type: integer
  4334. spotgoodsmodelid:
  4335. description: 现货型号ID
  4336. type: integer
  4337. todaybuyinqty:
  4338. description: 今日采购入库量
  4339. type: number
  4340. todayproduceinqty:
  4341. description: 今日生产入库量
  4342. type: number
  4343. todayproduceoutqty:
  4344. description: 今日生产出库量
  4345. type: number
  4346. todayselloutqty:
  4347. description: 今日销售出库量
  4348. type: number
  4349. unitid:
  4350. description: 单位id
  4351. type: integer
  4352. updatetime:
  4353. description: 更新时间
  4354. type: string
  4355. userid:
  4356. description: 机构ID
  4357. type: integer
  4358. username:
  4359. description: 机构名称
  4360. type: string
  4361. warehousecode:
  4362. description: 仓库代码
  4363. type: string
  4364. warehouseinfoid:
  4365. description: 仓库ID
  4366. type: string
  4367. warehousename:
  4368. description: 仓库名称
  4369. type: string
  4370. warehousetype:
  4371. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4372. type: integer
  4373. wrstandardcode:
  4374. description: 现货商品代码
  4375. type: string
  4376. wrstandardid:
  4377. description: 现货商品ID
  4378. type: string
  4379. wrstandardname:
  4380. description: 现货商品名称
  4381. type: string
  4382. type: object
  4383. models.ErmcpAvalidGoodsGroupModel:
  4384. properties:
  4385. goodsgroupid:
  4386. description: 期货品种id
  4387. type: integer
  4388. goodsgroupname:
  4389. description: 期货品种名称
  4390. type: string
  4391. goodunitid:
  4392. description: 品种单位id
  4393. type: integer
  4394. goodunitname:
  4395. description: 品种单位名称
  4396. type: string
  4397. outergroupcode:
  4398. description: 期货品种代码
  4399. type: string
  4400. type: object
  4401. models.ErmcpBizGroupEx:
  4402. properties:
  4403. acclist:
  4404. description: 账号列表
  4405. items:
  4406. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  4407. type: array
  4408. bizgroupid:
  4409. description: 业务分组id
  4410. type: integer
  4411. biztype:
  4412. description: 业务类型 1-套保 2-套利
  4413. type: integer
  4414. wrlist:
  4415. description: 现货商品表
  4416. items:
  4417. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  4418. type: array
  4419. type: object
  4420. models.ErmcpBizGroupSpotGoods:
  4421. properties:
  4422. areauserid:
  4423. description: 所属机构id
  4424. type: integer
  4425. bizgroupid:
  4426. description: 分组id
  4427. type: integer
  4428. biztype:
  4429. description: 业务类型 1-套保 2-套利
  4430. type: integer
  4431. deliverygoodscode:
  4432. description: 现货商品代码
  4433. type: string
  4434. deliverygoodsid:
  4435. description: 现货商品id
  4436. type: integer
  4437. deliverygoodsname:
  4438. description: 现货商品名称
  4439. type: string
  4440. unitid:
  4441. description: 现货商品单位id
  4442. type: integer
  4443. type: object
  4444. models.ErmcpBizGroupTaAccount:
  4445. properties:
  4446. accountid:
  4447. description: 账号id
  4448. type: string
  4449. accountname:
  4450. description: 账号名称
  4451. type: string
  4452. areauserid:
  4453. description: 所属机构id
  4454. type: integer
  4455. bizgroupid:
  4456. description: 业务分组id
  4457. type: integer
  4458. ismain:
  4459. description: 是否主账号 1-是 0-否
  4460. type: integer
  4461. type: object
  4462. models.ErmcpDGFactoryItem:
  4463. properties:
  4464. areauserid:
  4465. description: 用户id
  4466. type: integer
  4467. deliverygoodsid:
  4468. description: 现货品种ID
  4469. type: integer
  4470. dgfactoryitemid:
  4471. description: 选择项ID(SEQ_DGFACTORYITEM)
  4472. type: integer
  4473. dgfactoryitemtypeid:
  4474. description: 要素项类型
  4475. type: integer
  4476. dgfactoryitemvalue:
  4477. description: 要素项值(类型为仓库时填写仓库名称)
  4478. type: string
  4479. isvalid:
  4480. description: 是否有效 - 0:无效 1:有效
  4481. type: integer
  4482. orderindex:
  4483. description: 顺序
  4484. type: integer
  4485. warehouseid:
  4486. description: 仓库ID(类型为仓库时填写)
  4487. type: integer
  4488. type: object
  4489. models.ErmcpDeliveryGoods:
  4490. properties:
  4491. agreeunit:
  4492. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  4493. type: integer
  4494. areauserid:
  4495. description: 所属机构
  4496. type: integer
  4497. auditflag:
  4498. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  4499. type: integer
  4500. categoryid:
  4501. description: 类别ID(SEQ_WRCATEGORY)
  4502. type: integer
  4503. deliverygoodscode:
  4504. description: 现货品种代码
  4505. type: string
  4506. deliverygoodsid:
  4507. description: 现货品种ID(SEQ_DELIVERYGOODS)
  4508. type: integer
  4509. deliverygoodsname:
  4510. description: 现货品种名称
  4511. type: string
  4512. deliverygoodstype:
  4513. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  4514. type: integer
  4515. dgstatus:
  4516. description: 品种状态 - 作废 - 0:未激活 1:正常
  4517. type: integer
  4518. enumdicname:
  4519. description: 现货品种单位名称
  4520. type: string
  4521. goodsunitid:
  4522. description: 现货品种单位ID
  4523. type: integer
  4524. isvalid:
  4525. description: 是否有效 - 0:无效 1:有效
  4526. type: integer
  4527. qtydecimalplace:
  4528. description: 成交量小数位
  4529. type: integer
  4530. standardqty:
  4531. description: 标准数量(库位数量) [标准品特有]
  4532. type: integer
  4533. standardqtyrange:
  4534. description: 标准数量偏差范围 [标准品特有]
  4535. type: integer
  4536. type: object
  4537. models.ErmcpDeliveryGoodsDetail:
  4538. properties:
  4539. data:
  4540. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  4541. description: 现货商品基本信息(交割品种)
  4542. type: object
  4543. gblist:
  4544. description: 品牌列表
  4545. items:
  4546. $ref: '#/definitions/models.Ermcp3Brand'
  4547. type: array
  4548. gmlist:
  4549. description: 品类列表(仓单标准)
  4550. items:
  4551. $ref: '#/definitions/models.ErmcpWrstandard'
  4552. type: array
  4553. goodslist:
  4554. description: 关联交易商品列表
  4555. items:
  4556. $ref: '#/definitions/models.ErmcpRelatedGoods'
  4557. type: array
  4558. wrslist:
  4559. description: 套保信息列表
  4560. items:
  4561. $ref: '#/definitions/models.WRSConverTDetail'
  4562. type: array
  4563. type: object
  4564. models.ErmcpExposureDetailModel:
  4565. properties:
  4566. areauserid:
  4567. description: 机构ID
  4568. type: integer
  4569. changeQty:
  4570. description: 套保变动量
  4571. type: number
  4572. contracttype:
  4573. description: 现货合同类型 - 1:采购 -1:销售
  4574. type: integer
  4575. convertfactor:
  4576. description: 标仓系数
  4577. type: number
  4578. convertratio:
  4579. description: 套保系数
  4580. type: number
  4581. createtime:
  4582. description: 时间
  4583. type: string
  4584. enumdicname:
  4585. description: 现货商品单位名称
  4586. type: string
  4587. logtype:
  4588. description: 类型 - 1:套保计划 2:现货合同
  4589. type: integer
  4590. middlegoodsId:
  4591. description: 套保商品id
  4592. type: integer
  4593. middlegoodscode:
  4594. description: 套保商品代码
  4595. type: string
  4596. middlegoodsname:
  4597. description: 套保商品名称
  4598. type: string
  4599. qty:
  4600. description: 数量
  4601. type: number
  4602. relateNo:
  4603. description: 现货合同/套保计划编号
  4604. type: string
  4605. wrstandardcode:
  4606. description: 现货商品代码
  4607. type: string
  4608. wrstandardid:
  4609. description: 现货商品ID
  4610. type: integer
  4611. wrstandardname:
  4612. description: 现货商品名称
  4613. type: string
  4614. type: object
  4615. models.ErmcpExposurePostion:
  4616. properties:
  4617. agreeunit:
  4618. description: 合约单位
  4619. type: string
  4620. areauserid:
  4621. description: 所属机构id
  4622. type: integer
  4623. convertratio:
  4624. description: 期货品种系数(折算系数)
  4625. type: number
  4626. curqty:
  4627. description: 当前持仓
  4628. type: integer
  4629. diffhedgeqty:
  4630. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  4631. type: number
  4632. diffqty:
  4633. description: 持仓变动量=当前持仓-昨日持仓
  4634. type: integer
  4635. goodscode:
  4636. description: 商品代码
  4637. type: string
  4638. goodsid:
  4639. description: 商品id
  4640. type: integer
  4641. goodsname:
  4642. description: 商品名称
  4643. type: string
  4644. middlegoodsid:
  4645. description: 套保商品id
  4646. type: integer
  4647. ydqty:
  4648. description: 昨日持仓
  4649. type: integer
  4650. type: object
  4651. models.ErmcpFuturesCompany:
  4652. properties:
  4653. brokerid:
  4654. description: 经纪公司代码
  4655. type: string
  4656. channeladdress:
  4657. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  4658. type: string
  4659. channelid:
  4660. description: 对冲渠道ID
  4661. type: string
  4662. createtime:
  4663. description: 创建时间
  4664. type: string
  4665. creatorid:
  4666. description: 创建人
  4667. type: string
  4668. fcid:
  4669. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  4670. type: integer
  4671. fcname:
  4672. description: 期货公司名称
  4673. type: string
  4674. isvalid:
  4675. description: 是否有效 - 0:无效 1:有效
  4676. type: integer
  4677. mhpaddress:
  4678. description: MHP服务地址(IP:Port)
  4679. type: string
  4680. riskrulegroupid:
  4681. description: 风控规则组ID
  4682. type: string
  4683. tradefeetmpid:
  4684. description: 手续费模板ID[TradeConfigTmpType为2]
  4685. type: string
  4686. trademargintmpid:
  4687. description: 保证金模板ID [TradeConfigTmpType为1]
  4688. type: string
  4689. traderatetmpid:
  4690. description: 汇率模板ID[TradeConfigTmpType为3]
  4691. type: string
  4692. updatetime:
  4693. description: 更新时间
  4694. type: string
  4695. updatorid:
  4696. description: 更新人
  4697. type: string
  4698. type: object
  4699. models.ErmcpGGConvertCfg:
  4700. properties:
  4701. convertratio:
  4702. description: 折算系数
  4703. type: number
  4704. destgoodsgroupid:
  4705. description: 目标品种ID
  4706. type: integer
  4707. dstcode:
  4708. description: 目录品种代码
  4709. type: string
  4710. dstexchangecode:
  4711. description: 目标期货交易所
  4712. type: string
  4713. dstname:
  4714. description: 目标品种名称
  4715. type: string
  4716. dstunitid:
  4717. description: 目标品种单位ID
  4718. type: integer
  4719. dstunitidname:
  4720. description: 目标品种单位名称
  4721. type: string
  4722. modifytime:
  4723. description: 修改时间
  4724. type: string
  4725. srccode:
  4726. description: 源品种代码
  4727. type: string
  4728. srcexchangecode:
  4729. description: 源期货交易所
  4730. type: string
  4731. srcgoodsgroupid:
  4732. description: 源品种ID
  4733. type: integer
  4734. srcname:
  4735. description: 源品种名称
  4736. type: string
  4737. srcunitid:
  4738. description: 源品种单位ID
  4739. type: integer
  4740. srcunitidname:
  4741. description: 源品种单位名称
  4742. type: string
  4743. type: object
  4744. models.ErmcpGoodsBrand:
  4745. properties:
  4746. areauserid:
  4747. description: 所属机构
  4748. type: integer
  4749. brandid:
  4750. description: BrandID(SEQ_SPOTGOODSBRAND)
  4751. type: integer
  4752. brandname:
  4753. description: 品牌名称
  4754. type: string
  4755. createtime:
  4756. description: 创建时间
  4757. type: string
  4758. creatorid:
  4759. description: 创建人
  4760. type: integer
  4761. creatorsrc:
  4762. description: 创建人来源 - 1:管理端 2:终端
  4763. type: integer
  4764. deliverygoodsid:
  4765. description: 现货品种ID
  4766. type: integer
  4767. isvalid:
  4768. description: 是否有效 - 0:无效 1:有效
  4769. type: integer
  4770. updatetime:
  4771. description: 更新时间
  4772. type: string
  4773. updatorid:
  4774. description: 更新人
  4775. type: integer
  4776. updatorsrc:
  4777. description: 更新人来源 - 1:管理端 2:终端
  4778. type: integer
  4779. wrstandardid:
  4780. description: 现货商品ID
  4781. type: integer
  4782. type: object
  4783. models.ErmcpGoodsModel:
  4784. properties:
  4785. areauserid:
  4786. description: 所属机构
  4787. type: integer
  4788. convertfactor:
  4789. description: 标仓系数
  4790. type: number
  4791. createtime:
  4792. description: 创建时间
  4793. type: string
  4794. creatorid:
  4795. description: 创建人
  4796. type: integer
  4797. creatorsrc:
  4798. description: 创建人来源 - 1:管理端 2:终端
  4799. type: integer
  4800. deliverygoodsid:
  4801. description: 现货品种ID
  4802. type: integer
  4803. isvalid:
  4804. description: 是否有效 - 0:无效 1:有效
  4805. type: integer
  4806. modelid:
  4807. description: ModelID(SEQ_SPOTGOODSMODEL)
  4808. type: integer
  4809. modelname:
  4810. description: 型号名称
  4811. type: string
  4812. updatetime:
  4813. description: 更新时间
  4814. type: string
  4815. updatorid:
  4816. description: 更新人
  4817. type: integer
  4818. updatorsrc:
  4819. description: 更新人来源 - 1:管理端 2:终端
  4820. type: integer
  4821. wrstandardid:
  4822. description: 现货商品ID
  4823. type: integer
  4824. type: object
  4825. models.ErmcpHedgePlan:
  4826. properties:
  4827. areauserid:
  4828. description: 用户ID
  4829. type: integer
  4830. audittime:
  4831. description: 审核时间
  4832. type: string
  4833. contracttype:
  4834. description: 计划类型 - 1:采购 -1:销售
  4835. type: integer
  4836. convertfactor:
  4837. description: 标仓系数
  4838. type: number
  4839. createtime:
  4840. description: 创建时间
  4841. type: string
  4842. deliverygoodsid:
  4843. description: 现货品种ID
  4844. type: integer
  4845. deliverygoodsname:
  4846. description: 现货品种名称
  4847. type: string
  4848. enumdicname:
  4849. description: 单位名称
  4850. type: string
  4851. hedgeplanid:
  4852. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  4853. type: string
  4854. hedgeplanno:
  4855. description: 套保计划编号(名称)
  4856. type: string
  4857. hedgeplanstatus:
  4858. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4859. type: integer
  4860. planqty:
  4861. description: 计划数量
  4862. type: number
  4863. plantime:
  4864. description: 计划时间
  4865. type: string
  4866. producttype:
  4867. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  4868. type: integer
  4869. remark:
  4870. description: 备注
  4871. type: string
  4872. spotgoodsdesc:
  4873. description: 商品型号
  4874. type: string
  4875. unitid:
  4876. description: 单位id
  4877. type: integer
  4878. updatetime:
  4879. description: 更新时间
  4880. type: string
  4881. wrstandardid:
  4882. description: 现货商品ID
  4883. type: integer
  4884. wrstandardname:
  4885. description: 现货商品名称
  4886. type: string
  4887. type: object
  4888. models.ErmcpHedgePosition:
  4889. properties:
  4890. accountid:
  4891. description: 资金账号[外部母账户]
  4892. type: integer
  4893. curbuyposition:
  4894. description: 期末买头寸
  4895. type: integer
  4896. cursellposition:
  4897. description: 期末卖头寸
  4898. type: integer
  4899. curtdbuyposition:
  4900. description: 期末今日买头寸
  4901. type: integer
  4902. curtdsellposition:
  4903. description: 期末今日卖头寸
  4904. type: integer
  4905. curydbuyposition:
  4906. description: 期末上日买头寸
  4907. type: integer
  4908. curydsellposition:
  4909. description: 期末上日卖头寸
  4910. type: integer
  4911. decreaseqty:
  4912. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  4913. type: integer
  4914. fretdbuyposition:
  4915. description: 冻结今日买头寸
  4916. type: integer
  4917. fretdsellposition:
  4918. description: 冻结今日卖头寸
  4919. type: integer
  4920. freydbuyposition:
  4921. description: 冻结上日买头寸
  4922. type: integer
  4923. freydsellposition:
  4924. description: 冻结上日卖头寸
  4925. type: integer
  4926. goodscode:
  4927. description: 商品代码
  4928. type: string
  4929. goodsid:
  4930. description: 商品id
  4931. type: integer
  4932. goodsname:
  4933. description: 商品名称
  4934. type: string
  4935. hedgeaccountcode:
  4936. description: 对冲账号
  4937. type: string
  4938. hedgegoodsid:
  4939. description: 对冲合约ID
  4940. type: integer
  4941. increaseqty:
  4942. description: 增加数量 = 期末买头寸 - 期初买头寸
  4943. type: integer
  4944. marketid:
  4945. description: 市场ID
  4946. type: integer
  4947. relateduserid:
  4948. description: 关联用户id
  4949. type: integer
  4950. totalcurqty:
  4951. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  4952. type: integer
  4953. totalydqty:
  4954. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  4955. type: integer
  4956. tradedate:
  4957. description: 交易日(yyyyMMdd)
  4958. type: string
  4959. ydbuyposition:
  4960. description: 期初买头寸
  4961. type: integer
  4962. ydsellposition:
  4963. description: 期初卖头寸
  4964. type: integer
  4965. type: object
  4966. models.ErmcpHedgePositionDetail:
  4967. properties:
  4968. buyorsell:
  4969. description: 买卖方向 0-买 1-卖
  4970. type: integer
  4971. channelbuildtype:
  4972. description: 开平方向 1-建仓 2-平仓
  4973. type: integer
  4974. goodscode:
  4975. description: 商品代码
  4976. type: string
  4977. goodsname:
  4978. description: 商品名称
  4979. type: string
  4980. hedgegoodsid:
  4981. description: 商品id
  4982. type: integer
  4983. tradeqty:
  4984. description: 数量(成交数量)
  4985. type: integer
  4986. tradetime:
  4987. description: 时间(成交时间)
  4988. type: string
  4989. type: object
  4990. models.ErmcpHisExposure:
  4991. properties:
  4992. needhedgeexposoure:
  4993. description: 应套保敞口
  4994. type: number
  4995. reckondate:
  4996. description: 日照时期(yyyyMMdd)
  4997. type: string
  4998. totalexposure:
  4999. description: 总敞口
  5000. type: number
  5001. type: object
  5002. models.ErmcpHisExposureS:
  5003. properties:
  5004. data:
  5005. description: 历史敞口
  5006. items:
  5007. $ref: '#/definitions/models.ErmcpHisExposure'
  5008. type: array
  5009. enumdicname:
  5010. description: 单位名称
  5011. type: string
  5012. middlegoodscode:
  5013. description: 套保品种代码
  5014. type: string
  5015. middlegoodsid:
  5016. description: 套保品种ID
  5017. type: integer
  5018. middlegoodsname:
  5019. description: 套保品种名称
  5020. type: string
  5021. type: object
  5022. models.ErmcpLoginUser:
  5023. properties:
  5024. accountname:
  5025. description: 用户名称
  5026. type: string
  5027. clientroleid:
  5028. description: 角色id(usertype=2)
  5029. type: integer
  5030. createtime:
  5031. description: 创建时间
  5032. type: string
  5033. logincode:
  5034. description: 登录代码
  5035. type: string
  5036. loginid:
  5037. description: 登录id(LOGINID)
  5038. type: integer
  5039. loginstatus:
  5040. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  5041. type: integer
  5042. memberuserid:
  5043. description: 所属会员id
  5044. type: integer
  5045. modifytime:
  5046. description: 修改时间
  5047. type: string
  5048. rolename:
  5049. description: 角色名称
  5050. type: string
  5051. rolestatus:
  5052. description: 角色状态 1-启用 2-停用
  5053. type: integer
  5054. roletype:
  5055. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  5056. type: string
  5057. userid:
  5058. description: 用户id
  5059. type: integer
  5060. usertype:
  5061. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  5062. type: integer
  5063. type: object
  5064. models.ErmcpLoginUserEx:
  5065. properties:
  5066. roleid:
  5067. description: 角色id
  5068. type: integer
  5069. rolename:
  5070. description: 角色名称
  5071. type: string
  5072. userlist:
  5073. description: 用户列表
  5074. items:
  5075. $ref: '#/definitions/models.ErmcpLoginUser'
  5076. type: array
  5077. usertype:
  5078. description: 用户类型 2-机构 7-企业成员(云平台)
  5079. type: integer
  5080. type: object
  5081. models.ErmcpMiddleGoodsChangeLog:
  5082. properties:
  5083. aftervalue:
  5084. description: 变更后
  5085. type: number
  5086. applyid:
  5087. description: 操作人
  5088. type: integer
  5089. applyname:
  5090. description: 操作人名称
  5091. type: string
  5092. applysrc:
  5093. description: 操作来源 - 1:管理端 2:终端
  5094. type: integer
  5095. beforevalue:
  5096. description: 变更前
  5097. type: number
  5098. changelogtype:
  5099. description: 变更流水类型 - 1:套保比率变更
  5100. type: integer
  5101. handlestatus:
  5102. description: 处理状态
  5103. type: integer
  5104. logdatetime:
  5105. description: 流水日期
  5106. type: string
  5107. logid:
  5108. description: 流水ID
  5109. type: integer
  5110. logremark:
  5111. description: 流水备注
  5112. type: string
  5113. middlegoodsid:
  5114. description: 套保品种ID
  5115. type: integer
  5116. tradedate:
  5117. description: 交易日(yyyyMMdd)
  5118. type: string
  5119. updatetime:
  5120. description: 更新时间
  5121. type: string
  5122. type: object
  5123. models.ErmcpMiddleGoodsDetail:
  5124. properties:
  5125. cvList:
  5126. description: 期货品种折算列表
  5127. items:
  5128. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  5129. type: array
  5130. mg:
  5131. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  5132. description: 套保品种基本信息
  5133. type: object
  5134. wrcList:
  5135. description: 现货品种列表(现货商品折算配置)
  5136. items:
  5137. $ref: '#/definitions/models.WRSConverTDetail'
  5138. type: array
  5139. type: object
  5140. models.ErmcpMiddleGoodsModel:
  5141. properties:
  5142. areauserid:
  5143. description: 机构用户ID
  5144. type: integer
  5145. createtime:
  5146. description: 修改时间
  5147. type: string
  5148. enumdicname:
  5149. description: 单位名称
  5150. type: string
  5151. evaluateratio:
  5152. description: 估价系数
  5153. type: number
  5154. goodsgroupid:
  5155. description: 关联期货品种ID
  5156. type: integer
  5157. isvalid:
  5158. description: 状态 0-无效(停用) 1-有效(正常)
  5159. type: integer
  5160. middlegoodscode:
  5161. description: 套保品种代码
  5162. type: string
  5163. middlegoodsid:
  5164. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  5165. type: integer
  5166. middlegoodsname:
  5167. description: 套保品种名称
  5168. type: string
  5169. modifytime:
  5170. description: 修改时间
  5171. type: string
  5172. needhedgeratio:
  5173. description: 套保比率
  5174. type: number
  5175. qtydecimalplace:
  5176. description: 数量小数位
  5177. type: integer
  5178. relatedgoodsid:
  5179. description: 关联交易商品ID
  5180. type: integer
  5181. relatedgoodstype:
  5182. description: 关联商品类型 - 1:期货合约 2:现货品种
  5183. type: integer
  5184. remark:
  5185. description: 备注
  5186. type: string
  5187. type: object
  5188. models.ErmcpModel:
  5189. properties:
  5190. accountname:
  5191. description: 账户名称
  5192. type: string
  5193. attachment:
  5194. description: 附件
  5195. type: string
  5196. audittime:
  5197. description: 审核时间
  5198. type: string
  5199. brandname:
  5200. description: 品牌名称
  5201. type: string
  5202. contracctstatus:
  5203. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5204. type: integer
  5205. contractmargin:
  5206. description: 合同保证金
  5207. type: number
  5208. contractno:
  5209. description: 合同编号
  5210. type: string
  5211. contracttype:
  5212. description: 合同类型 1-采购, -1-销售
  5213. type: integer
  5214. convertfactor:
  5215. description: 标仓系数
  5216. type: number
  5217. createtime:
  5218. description: 创建时间
  5219. type: string
  5220. daikaiamount:
  5221. description: 应收(开)票额
  5222. type: number
  5223. deliveryenddate:
  5224. description: 交割结束日
  5225. type: string
  5226. deliverygoodscode:
  5227. description: 现货品种代码
  5228. type: string
  5229. deliverygoodsid:
  5230. description: 现货商品ID
  5231. type: integer
  5232. deliverygoodsname:
  5233. description: 现货品种名称
  5234. type: string
  5235. deliverystartdate:
  5236. description: 交割开始日
  5237. type: string
  5238. enddate:
  5239. description: 点价结束日
  5240. type: string
  5241. enumdicname:
  5242. description: 单位名称
  5243. type: string
  5244. goodscode:
  5245. description: 点价商品代码
  5246. type: string
  5247. goodsid:
  5248. description: 点价商品ID
  5249. type: integer
  5250. goodsname:
  5251. description: 点价商品名称
  5252. type: string
  5253. invoiceamount:
  5254. description: 已开票额
  5255. type: number
  5256. loanamount:
  5257. description: 贷款总额=已定价额+调整金额
  5258. type: number
  5259. margin:
  5260. description: 保证金
  5261. type: number
  5262. modelname:
  5263. description: 型号名称
  5264. type: string
  5265. payamount:
  5266. description: 已收付额(收款或付款)
  5267. type: number
  5268. preinvoiceamount:
  5269. description: 预收(开)票额
  5270. type: number
  5271. prepayamount:
  5272. description: 预收付额
  5273. type: number
  5274. price:
  5275. description: 价格
  5276. type: number
  5277. pricedamount:
  5278. description: 已定价额
  5279. type: number
  5280. pricedavg:
  5281. description: 已点均价
  5282. type: number
  5283. pricedqty:
  5284. description: 已定价量
  5285. type: number
  5286. pricemove:
  5287. description: 升贴水
  5288. type: number
  5289. pricetype:
  5290. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  5291. type: integer
  5292. producttype:
  5293. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5294. type: integer
  5295. qty:
  5296. description: 合同量
  5297. type: number
  5298. reckonadjustamount:
  5299. description: 调整金额
  5300. type: number
  5301. reckonedamount:
  5302. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  5303. type: number
  5304. reckonotheramount:
  5305. description: 其它费用
  5306. type: number
  5307. reckonrealqty:
  5308. description: 已确定量
  5309. type: number
  5310. remark:
  5311. description: 备注
  5312. type: string
  5313. spotcontractid:
  5314. description: 合同ID
  5315. type: string
  5316. spotgoodsbrandid:
  5317. description: 现货品牌ID
  5318. type: integer
  5319. spotgoodsdesc:
  5320. description: 商品型号(商品规格)
  5321. type: string
  5322. spotgoodsmodelid:
  5323. description: 现货型号ID
  5324. type: integer
  5325. startdate:
  5326. description: 点价开始日
  5327. type: string
  5328. totalamount:
  5329. description: 合计总额
  5330. type: number
  5331. unpayamount:
  5332. description: 应收付款额(应支付或应收款)
  5333. type: number
  5334. unpricedqty:
  5335. description: 未定价量
  5336. type: number
  5337. unsureqty:
  5338. description: 未确定量
  5339. type: number
  5340. userid:
  5341. description: 用户ID
  5342. type: integer
  5343. wrstandardcode:
  5344. description: 现货商品代码
  5345. type: string
  5346. wrstandardid:
  5347. description: 现货商品ID
  5348. type: integer
  5349. wrstandardname:
  5350. description: 现货商品名称
  5351. type: string
  5352. type: object
  5353. models.ErmcpOPLogModel:
  5354. properties:
  5355. aftervalue:
  5356. description: 变更后
  5357. type: number
  5358. applyid:
  5359. description: 操作人ID
  5360. type: string
  5361. applyname:
  5362. description: 操作人名称
  5363. type: string
  5364. beforevalue:
  5365. description: 变更前
  5366. type: number
  5367. biztype:
  5368. description: 业务类型 - 1:套保计划 2:现货合同
  5369. type: integer
  5370. contracttype:
  5371. description: 现货合同类型 - 1:采购 -1:销售
  5372. type: integer
  5373. logvalue:
  5374. description: 数值
  5375. type: number
  5376. operatelogtype:
  5377. description: 操作流水类型
  5378. type: integer
  5379. operatelogtypedesc:
  5380. description: 操作流水类型名称
  5381. type: string
  5382. relatedid:
  5383. description: 现货合同ID\套保计划
  5384. type: string
  5385. updatetime:
  5386. description: 更新时间
  5387. type: string
  5388. type: object
  5389. models.ErmcpPendingAudit:
  5390. properties:
  5391. areastockqty:
  5392. description: '待审核数量: 库存申请'
  5393. type: integer
  5394. businessdjqty:
  5395. description: '待审核数量: 点价'
  5396. type: integer
  5397. businessfpqty:
  5398. description: '待审核数量: 发票'
  5399. type: integer
  5400. businessjsqty:
  5401. description: '待审核数量: 结算'
  5402. type: integer
  5403. businesskxqty:
  5404. description: '待审核数量: 款项'
  5405. type: integer
  5406. hedgeplanqty:
  5407. description: '待审核数量: 套保计划'
  5408. type: integer
  5409. spotcontractqty:
  5410. description: '待审核数量: 现货合同'
  5411. type: integer
  5412. userqty:
  5413. description: '待审核数量: 用户'
  5414. type: integer
  5415. type: object
  5416. models.ErmcpRealExposureModel:
  5417. properties:
  5418. AreaUserID:
  5419. description: 所属机构
  5420. type: integer
  5421. BuyFutureQty:
  5422. description: 买入期货数量
  5423. type: number
  5424. BuyPlanQty:
  5425. description: 采购计划数量
  5426. type: number
  5427. BuyPricedQty:
  5428. description: 采购合同已定价数量
  5429. type: number
  5430. MiddleGoodsCode:
  5431. description: 套保品种代码
  5432. type: string
  5433. MiddleGoodsHedgeRatio:
  5434. description: 应套保比例
  5435. type: number
  5436. MiddleGoodsID:
  5437. description: 套保品种
  5438. type: integer
  5439. MiddleGoodsName:
  5440. description: 套保品种名称
  5441. type: string
  5442. NeedHedgeExposoure:
  5443. description: 应套保敞口
  5444. type: number
  5445. NeedHedgeRatio:
  5446. description: 应套保敞口比例
  5447. type: number
  5448. OriBuyFutureQty:
  5449. description: 期初买入期货数量
  5450. type: number
  5451. OriBuyPlanQty:
  5452. description: 期初采购计划数量
  5453. type: number
  5454. OriBuyPricedQty:
  5455. description: 期初采购合同已定价数量
  5456. type: number
  5457. OriSellFutureQty:
  5458. description: 期初卖出期货数量
  5459. type: number
  5460. OriSellPlanQty:
  5461. description: 期初销售计划数量
  5462. type: number
  5463. OriSellPricedQty:
  5464. description: 期初销售合同已定价数量
  5465. type: number
  5466. SellFutureQty:
  5467. description: 卖出期货数量
  5468. type: number
  5469. SellPlanQty:
  5470. description: 销售计划数量
  5471. type: number
  5472. SellPricedQty:
  5473. description: 销售合同已定价数量
  5474. type: number
  5475. TotalExposure:
  5476. description: 总敞口
  5477. type: number
  5478. TotalFutureQty:
  5479. description: 期货数量
  5480. type: number
  5481. TotalHedgeRatio:
  5482. description: 敞口比例
  5483. type: number
  5484. TotalNeedHedgeQty:
  5485. description: 期货应套保量
  5486. type: number
  5487. TotalSpotQty:
  5488. description: 现货数量
  5489. type: number
  5490. diffFutuQty:
  5491. description: 今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)
  5492. type: number
  5493. diffSpotQty:
  5494. description: 今日变动量(现货) = 现货数量 - 期初现货数量
  5495. type: number
  5496. enumdicname:
  5497. description: 单位名称
  5498. type: string
  5499. oriTotalFutuQty:
  5500. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  5501. type: number
  5502. oriTotalSpotQty:
  5503. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  5504. type: number
  5505. type: object
  5506. models.ErmcpRelatedGoods:
  5507. properties:
  5508. deliverygoodsid:
  5509. description: 品种ID
  5510. type: integer
  5511. goodscode:
  5512. description: 商品代码
  5513. type: string
  5514. goodsid:
  5515. description: 商品id
  5516. type: integer
  5517. goodsname:
  5518. description: 商品名称
  5519. type: string
  5520. type: object
  5521. models.ErmcpReportAreaSpotPL:
  5522. properties:
  5523. actualpl:
  5524. description: 实际损益
  5525. type: number
  5526. areauserid:
  5527. description: 所属机构
  5528. type: integer
  5529. brandname:
  5530. description: 品牌名称
  5531. type: string
  5532. curamount:
  5533. description: 期末额
  5534. type: number
  5535. curaverageprice:
  5536. description: 期末均价
  5537. type: number
  5538. curbuyamount:
  5539. description: 期末采购总额(采购额)
  5540. type: number
  5541. curbuyqty:
  5542. description: 期末采购总量
  5543. type: number
  5544. curmarketvalue:
  5545. description: 参考市值
  5546. type: number
  5547. curqty:
  5548. description: 期末量
  5549. type: number
  5550. cursellamount:
  5551. description: 期末销售总额(销售额)
  5552. type: number
  5553. cursellqty:
  5554. description: 期末销售总量
  5555. type: number
  5556. curspotprice:
  5557. description: 参考市价
  5558. type: number
  5559. enumdicname:
  5560. description: 现货商品单位名称
  5561. type: string
  5562. floatpl:
  5563. description: 浮动损益
  5564. type: number
  5565. gbenumdicname:
  5566. description: 品类单位名称
  5567. type: string
  5568. gbunitid:
  5569. description: 品类单位id
  5570. type: integer
  5571. modelname:
  5572. description: 品类名称
  5573. type: string
  5574. oriamount:
  5575. description: 期初额
  5576. type: number
  5577. oriaverageprice:
  5578. description: 期初均价
  5579. type: number
  5580. oribuyamount:
  5581. description: 期初采购总额
  5582. type: number
  5583. oribuyqty:
  5584. description: 期初采购总量
  5585. type: number
  5586. oriqty:
  5587. description: 期初量
  5588. type: number
  5589. orisellamount:
  5590. description: 期初销售总额
  5591. type: number
  5592. orisellqty:
  5593. description: 期初销售总量
  5594. type: number
  5595. spotgoodsbrandid:
  5596. description: 现货品牌ID
  5597. type: integer
  5598. spotgoodsmodelid:
  5599. description: 现货品类ID
  5600. type: integer
  5601. todaybuyamount:
  5602. description: 今日采购额
  5603. type: number
  5604. todaybuyaverageprice:
  5605. description: 今日采购均价(采购均价)
  5606. type: number
  5607. todaybuyqty:
  5608. description: 今日采购量(采购增量)
  5609. type: number
  5610. todaysellamount:
  5611. description: 今日销售额
  5612. type: number
  5613. todaysellaverageprice:
  5614. description: 今日销售均价(销售均价)
  5615. type: number
  5616. todaysellqty:
  5617. description: 今日销售量(销售增量)
  5618. type: number
  5619. unitid:
  5620. description: 现货商品单位id
  5621. type: integer
  5622. updatetime:
  5623. description: 更新时间
  5624. type: string
  5625. wrstandardcode:
  5626. description: 现货商品代码
  5627. type: string
  5628. wrstandardid:
  5629. description: 现货商品ID
  5630. type: integer
  5631. wrstandardname:
  5632. description: 现货商品名称
  5633. type: string
  5634. type: object
  5635. models.ErmcpReportDayExposure:
  5636. properties:
  5637. areauserid:
  5638. description: 所属机构
  5639. type: integer
  5640. buyfutureqty:
  5641. description: 买入期货数量
  5642. type: number
  5643. buyplanqty:
  5644. description: 采购计划数量
  5645. type: number
  5646. buypricedqty:
  5647. description: 采购合同已定价数量
  5648. type: number
  5649. diffFutuQty:
  5650. description: 今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)
  5651. type: number
  5652. diffSpotQty:
  5653. description: 今日变动量(现货) = 现货数量 - 期初现货数量
  5654. type: number
  5655. enumdicname:
  5656. description: 单位名称
  5657. type: string
  5658. middlegoodscode:
  5659. description: 套保品种代码
  5660. type: string
  5661. middlegoodshedgeratio:
  5662. description: 应套保比例
  5663. type: number
  5664. middlegoodsid:
  5665. description: 套保品种ID
  5666. type: integer
  5667. middlegoodsname:
  5668. description: 套保品种名称
  5669. type: string
  5670. needhedgeexposoure:
  5671. description: 应套保敞口
  5672. type: number
  5673. needhedgeratio:
  5674. description: 应套保敞口比例
  5675. type: number
  5676. oriTotalFutuQty:
  5677. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  5678. type: number
  5679. oriTotalSpotQty:
  5680. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  5681. type: number
  5682. oribuyfutureqty:
  5683. description: 期初买入期货数量
  5684. type: number
  5685. oribuyplanqty:
  5686. description: 期初采购计划数量
  5687. type: number
  5688. oribuypricedqty:
  5689. description: 期初采购合同已定价数量
  5690. type: number
  5691. orisellfutureqty:
  5692. description: 期初卖出期货数量
  5693. type: number
  5694. orisellplanqty:
  5695. description: 期初销售计划数量
  5696. type: number
  5697. orisellpricedqty:
  5698. description: 期初销售合同已定价数量
  5699. type: number
  5700. reckondate:
  5701. description: 日照时期(yyyyMMdd)
  5702. type: string
  5703. sellfutureqty:
  5704. description: 卖出期货数量
  5705. type: number
  5706. sellplanqty:
  5707. description: 销售计划数量
  5708. type: number
  5709. sellpricedqty:
  5710. description: 销售合同已定价数量
  5711. type: number
  5712. totalexposure:
  5713. description: 总敞口
  5714. type: number
  5715. totalfutureqty:
  5716. description: 期货数量
  5717. type: number
  5718. totalhedgeratio:
  5719. description: 敞口比例
  5720. type: number
  5721. totalneedhedgeqty:
  5722. description: 期货应套保量
  5723. type: number
  5724. totalspotqty:
  5725. description: 现货数量
  5726. type: number
  5727. type: object
  5728. models.ErmcpReportDayFR:
  5729. properties:
  5730. areauserid:
  5731. description: 所属机构
  5732. type: integer
  5733. collectinvoiceamount:
  5734. description: 今日开票金额
  5735. type: number
  5736. collectinvoicecount:
  5737. description: 今日开票笔数
  5738. type: integer
  5739. collectmoneyamount:
  5740. description: 今日收款金额
  5741. type: number
  5742. collectmoneycount:
  5743. description: 今日收款笔数
  5744. type: integer
  5745. payinvoiceamount:
  5746. description: 今日收票金额
  5747. type: number
  5748. payinvoicecount:
  5749. description: 今日收票笔数
  5750. type: integer
  5751. paymoneyamount:
  5752. description: 今日付款金额
  5753. type: number
  5754. paymoneycount:
  5755. description: 今日付款笔数
  5756. type: integer
  5757. reckondate:
  5758. description: 日照时期(yyyyMMdd)
  5759. type: string
  5760. updatetime:
  5761. description: 更新时间
  5762. type: string
  5763. type: object
  5764. models.ErmcpReportDaySpot:
  5765. properties:
  5766. areauserid:
  5767. description: 所属机构T
  5768. type: integer
  5769. buyinqty:
  5770. description: 采购入库量
  5771. type: number
  5772. enumdicname:
  5773. description: 现货商品单位名称
  5774. type: string
  5775. reckondate:
  5776. description: 日照时期(yyyyMMdd)
  5777. type: string
  5778. selloutqty:
  5779. description: 销售出库量
  5780. type: number
  5781. todaybuyreckonqty:
  5782. description: 采购确定量
  5783. type: number
  5784. todaysellreckonqty:
  5785. description: 销售确定量
  5786. type: number
  5787. totalbuypricedqty:
  5788. description: 采购定价量 = 期末 - 期初
  5789. type: number
  5790. totalsellpricedqty:
  5791. description: 销售定价量 = 期末 - 期初
  5792. type: number
  5793. wrstandardcode:
  5794. description: 现货商品代码
  5795. type: string
  5796. wrstandardid:
  5797. description: 现货商品ID
  5798. type: integer
  5799. wrstandardname:
  5800. description: 现货商品名称
  5801. type: string
  5802. type: object
  5803. models.ErmcpReportMonSpot:
  5804. properties:
  5805. areauserid:
  5806. description: 所属机构T
  5807. type: integer
  5808. buyinqty:
  5809. description: 采购入库量
  5810. type: number
  5811. cycletime:
  5812. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5813. type: string
  5814. cycletype:
  5815. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5816. type: integer
  5817. enumdicname:
  5818. description: 现货商品单位名称
  5819. type: string
  5820. selloutqty:
  5821. description: 销售出库量
  5822. type: number
  5823. todaybuyreckonqty:
  5824. description: 采购确定量
  5825. type: number
  5826. todaysellreckonqty:
  5827. description: 销售确定量
  5828. type: number
  5829. totalbuypricedqty:
  5830. description: 采购定价量 = 期末 - 期初
  5831. type: number
  5832. totalsellpricedqty:
  5833. description: 销售定价量 = 期末 - 期初
  5834. type: number
  5835. wrstandardcode:
  5836. description: 现货商品代码
  5837. type: string
  5838. wrstandardid:
  5839. description: 现货商品ID
  5840. type: integer
  5841. wrstandardname:
  5842. description: 现货商品名称
  5843. type: string
  5844. type: object
  5845. models.ErmcpReportMonthFR:
  5846. properties:
  5847. areauserid:
  5848. description: 所属机构【原值】
  5849. type: integer
  5850. collectinvoiceamount:
  5851. description: 今日开票金额【汇总】
  5852. type: number
  5853. collectinvoicecount:
  5854. description: 今日开票笔数【汇总】
  5855. type: integer
  5856. collectmoneyamount:
  5857. description: 今日收款金额【汇总】
  5858. type: number
  5859. collectmoneycount:
  5860. description: 今日收款笔数 【汇总】
  5861. type: integer
  5862. cycletime:
  5863. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5864. type: string
  5865. cycletype:
  5866. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5867. type: integer
  5868. dayFr:
  5869. description: 日报表明细
  5870. items:
  5871. $ref: '#/definitions/models.ErmcpReportDayFR'
  5872. type: array
  5873. payinvoiceamount:
  5874. description: 今日收票金额【汇总】
  5875. type: number
  5876. payinvoicecount:
  5877. description: 今日收票笔数【汇总】
  5878. type: integer
  5879. paymoneyamount:
  5880. description: 今日付款金额【汇总】
  5881. type: number
  5882. paymoneycount:
  5883. description: 今日付款笔数【汇总】
  5884. type: integer
  5885. updatetime:
  5886. description: 更新时间
  5887. type: string
  5888. type: object
  5889. models.ErmcpReportOPLog:
  5890. properties:
  5891. applyid:
  5892. description: 操作人
  5893. type: integer
  5894. applyname:
  5895. description: 操作人名称
  5896. type: string
  5897. biztype:
  5898. description: 业务类型 - 1:套保计划 2:现货合同
  5899. type: integer
  5900. brandname:
  5901. description: 品牌名称
  5902. type: string
  5903. contracttype:
  5904. description: 现货合同类型 - 1:采购 -1:销售
  5905. type: integer
  5906. enumdicName:
  5907. description: 单位名称
  5908. type: string
  5909. logdatetime:
  5910. description: 流水日期(时间)
  5911. type: string
  5912. logid:
  5913. description: 流水ID(604+Unix秒时间戳(10位)+xxxxxx)
  5914. type: string
  5915. logtypename:
  5916. description: 合同类型(名称)
  5917. type: string
  5918. logvalue:
  5919. description: 数值
  5920. type: string
  5921. modelname:
  5922. description: 型号名称
  5923. type: string
  5924. operatelogtype:
  5925. description: 操作流水类型 -
  5926. type: integer
  5927. optypename:
  5928. description: 流水类型名称
  5929. type: string
  5930. relatedid:
  5931. description: 现货合同ID\套保计划
  5932. type: string
  5933. relatedno:
  5934. description: 合同编号
  5935. type: string
  5936. tradedate:
  5937. description: 交易日(yyyyMMdd)
  5938. type: string
  5939. userid:
  5940. description: 机构ID
  5941. type: integer
  5942. wrstandardcode:
  5943. description: 现货商品代码
  5944. type: string
  5945. wrstandardid:
  5946. description: 现货商品ID
  5947. type: integer
  5948. wrstandardname:
  5949. description: 现货商品名称
  5950. type: string
  5951. type: object
  5952. models.ErmcpRole:
  5953. properties:
  5954. areauserid:
  5955. description: 所属机构
  5956. type: integer
  5957. autoid:
  5958. description: 角色ID(自增ID)
  5959. type: integer
  5960. modifierid:
  5961. description: 修改人(创建人)
  5962. type: integer
  5963. modifiername:
  5964. description: 修改人名称
  5965. type: string
  5966. modifytime:
  5967. description: 修改时间(创建时间)
  5968. type: string
  5969. rolename:
  5970. description: 角色名称
  5971. type: string
  5972. rolestatus:
  5973. description: 角色状态 - 1:启用 2:停用
  5974. type: integer
  5975. roletype:
  5976. description: 角色类型 - 1- 管理端 2- 交易端
  5977. type: integer
  5978. type: object
  5979. models.ErmcpRoleMenu:
  5980. properties:
  5981. iconame:
  5982. description: 菜单图标
  5983. type: string
  5984. menutype:
  5985. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  5986. type: integer
  5987. parentcode:
  5988. description: 上级资源代码
  5989. type: string
  5990. remark:
  5991. description: 菜单备注
  5992. type: string
  5993. resourcecode:
  5994. description: 菜单代码
  5995. type: string
  5996. resourcelevel:
  5997. description: 级别
  5998. type: integer
  5999. resourcename:
  6000. description: 菜单名称
  6001. type: string
  6002. roleid:
  6003. description: 角色id
  6004. type: integer
  6005. sort:
  6006. description: 排序
  6007. type: integer
  6008. url:
  6009. description: URL
  6010. type: string
  6011. userid:
  6012. description: 用户id
  6013. type: integer
  6014. type: object
  6015. models.ErmcpRoleMenuEx:
  6016. properties:
  6017. menu:
  6018. $ref: '#/definitions/models.ErmcpRoleMenu'
  6019. description: 父级菜单
  6020. type: object
  6021. subMenu:
  6022. description: 子级菜单
  6023. items:
  6024. $ref: '#/definitions/models.ErmcpRoleMenu'
  6025. type: array
  6026. type: object
  6027. models.ErmcpSpotContractModel:
  6028. properties:
  6029. amount:
  6030. description: 金额 [1:一口价、3:暂定价]
  6031. type: number
  6032. attachment:
  6033. description: 附件
  6034. type: string
  6035. auditremark:
  6036. description: 审核意见
  6037. type: string
  6038. audittime:
  6039. description: 审核时间
  6040. type: string
  6041. brandname:
  6042. description: 品牌名称
  6043. type: string
  6044. buyuserid:
  6045. description: 采购方ID
  6046. type: integer
  6047. buyusername:
  6048. description: 采购方名称
  6049. type: string
  6050. contracctstatus:
  6051. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  6052. type: integer
  6053. contractmargin:
  6054. description: 合同保证金
  6055. type: number
  6056. contractno:
  6057. description: 现货合同编号
  6058. type: string
  6059. contracttype:
  6060. description: 现货合同类型 - 1:采购 -1:销售
  6061. type: integer
  6062. convertfactor:
  6063. description: 标仓系数
  6064. type: number
  6065. createtime:
  6066. description: 创建时间
  6067. type: string
  6068. deliveryenddate:
  6069. description: 交收期(结束)
  6070. type: string
  6071. deliverygoodscode:
  6072. description: 现货品种代码
  6073. type: string
  6074. deliverygoodsid:
  6075. description: 现货品种ID
  6076. type: integer
  6077. deliverygoodsname:
  6078. description: 现货品种名称
  6079. type: string
  6080. deliverystartdate:
  6081. description: 交收期(开始)
  6082. type: string
  6083. enddate:
  6084. description: 点价结束日期 [2:点价 3:暂定价]
  6085. type: string
  6086. enumdicname:
  6087. description: 单位名称
  6088. type: string
  6089. goodscode:
  6090. description: 点价合约代码
  6091. type: string
  6092. goodsid:
  6093. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  6094. type: integer
  6095. goodsname:
  6096. description: 点价商品名称
  6097. type: string
  6098. margin:
  6099. description: 当前保证金
  6100. type: number
  6101. modelname:
  6102. description: 型号名称
  6103. type: string
  6104. price:
  6105. description: 价格\暂定价 [1:一口价、3:暂定价]
  6106. type: number
  6107. pricemove:
  6108. description: 升贴水 [2:点价 3:暂定价]
  6109. type: number
  6110. pricetype:
  6111. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  6112. type: integer
  6113. producttype:
  6114. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  6115. type: integer
  6116. qty:
  6117. description: 数量
  6118. type: number
  6119. remark:
  6120. description: 备注
  6121. type: string
  6122. selluserid:
  6123. description: 销售方ID
  6124. type: integer
  6125. sellusername:
  6126. description: 销售方名称
  6127. type: string
  6128. spotcontractid:
  6129. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  6130. type: string
  6131. spotgoodsbrandid:
  6132. description: 现货品牌ID
  6133. type: integer
  6134. spotgoodsdesc:
  6135. description: 商品型号
  6136. type: string
  6137. spotgoodsmodelid:
  6138. description: 现货型号ID
  6139. type: integer
  6140. startdate:
  6141. description: 点价开始日期 [2:点价 3:暂定价]
  6142. type: string
  6143. updatetime:
  6144. description: 更新时间
  6145. type: string
  6146. userid:
  6147. description: 机构ID
  6148. type: integer
  6149. wrstandardcode:
  6150. description: 现货商品代码
  6151. type: string
  6152. wrstandardid:
  6153. description: 现货商品ID
  6154. type: integer
  6155. wrstandardname:
  6156. description: 现货商品名称
  6157. type: string
  6158. type: object
  6159. models.ErmcpSpotGoodsPrice:
  6160. properties:
  6161. areauserid:
  6162. description: 所属机构id
  6163. type: integer
  6164. brandname:
  6165. description: 品牌名称
  6166. type: string
  6167. currencyid:
  6168. description: 报价货币ID
  6169. type: integer
  6170. enumdicname:
  6171. description: 现货商品单位名称
  6172. type: string
  6173. gbenumdicname:
  6174. description: 品类单位名称
  6175. type: string
  6176. gmunitid:
  6177. description: 品类单位id
  6178. type: integer
  6179. isvalid:
  6180. description: 是否有效 - 0:无效 1:有效
  6181. type: integer
  6182. modelname:
  6183. description: 品类名称
  6184. type: string
  6185. operateid:
  6186. description: 最后操作人
  6187. type: integer
  6188. operatesrc:
  6189. description: 最后操作来源 - 1:管理端 2:终端
  6190. type: integer
  6191. operatetime:
  6192. description: 最后操作时间
  6193. type: string
  6194. operatorname:
  6195. description: 操作人名称
  6196. type: string
  6197. spotgoodsbrandid:
  6198. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  6199. type: integer
  6200. spotgoodsmodelid:
  6201. description: 现货品类ID(通用则为0)
  6202. type: integer
  6203. spotgoodsprice:
  6204. description: 现货价格
  6205. type: number
  6206. tradedate:
  6207. description: 交易日(yyyyMMdd)
  6208. type: string
  6209. unitid:
  6210. description: 现货商品单位id
  6211. type: integer
  6212. wrstandardcode:
  6213. description: 现货商品代码
  6214. type: string
  6215. wrstandardid:
  6216. description: 现货商品ID
  6217. type: integer
  6218. wrstandardname:
  6219. description: 现货商品名称
  6220. type: string
  6221. type: object
  6222. models.ErmcpSpotGoodsPriceLog:
  6223. properties:
  6224. areauserid:
  6225. description: 所属机构id
  6226. type: integer
  6227. brandname:
  6228. description: 品牌名称
  6229. type: string
  6230. currencyid:
  6231. description: 报价货币ID
  6232. type: integer
  6233. enumdicname:
  6234. description: 现货商品单位名称
  6235. type: string
  6236. gbenumdicname:
  6237. description: 品类单位名称
  6238. type: string
  6239. gmunitid:
  6240. description: 品类单位id
  6241. type: integer
  6242. logid:
  6243. description: 日志id
  6244. type: integer
  6245. modelname:
  6246. description: 品类名称
  6247. type: string
  6248. operateid:
  6249. description: 最后操作人
  6250. type: integer
  6251. operatesrc:
  6252. description: 最后操作来源 - 1:管理端 2:终端
  6253. type: integer
  6254. operatetime:
  6255. description: 最后操作时间
  6256. type: string
  6257. operatorname:
  6258. description: 操作人名称
  6259. type: string
  6260. spotgoodsbrandid:
  6261. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  6262. type: integer
  6263. spotgoodsmodelid:
  6264. description: 现货品类ID(通用则为0)
  6265. type: integer
  6266. spotgoodsprice:
  6267. description: 现货价格
  6268. type: number
  6269. tradedate:
  6270. description: 交易日(yyyyMMdd)
  6271. type: string
  6272. unitid:
  6273. description: 现货商品单位id
  6274. type: integer
  6275. wrstandardcode:
  6276. description: 现货商品代码
  6277. type: string
  6278. wrstandardid:
  6279. description: 现货商品ID
  6280. type: integer
  6281. wrstandardname:
  6282. description: 现货商品名称
  6283. type: string
  6284. type: object
  6285. models.ErmcpTaAccount:
  6286. properties:
  6287. accountid:
  6288. description: 账户id
  6289. type: integer
  6290. accountname:
  6291. description: 账户名称
  6292. type: string
  6293. currencyid:
  6294. description: 币种id
  6295. type: integer
  6296. ismain:
  6297. description: 是否主账户 0-否 1-是
  6298. type: integer
  6299. parentaccountid:
  6300. description: 父账户id
  6301. type: integer
  6302. relateduserid:
  6303. description: 关联userid
  6304. type: integer
  6305. tradestatus:
  6306. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  6307. type: integer
  6308. type: object
  6309. models.ErmcpTaAccountEx:
  6310. properties:
  6311. mainAcc:
  6312. $ref: '#/definitions/models.ErmcpTaAccount'
  6313. description: 主账号
  6314. type: object
  6315. subacclist:
  6316. description: 子账号列表
  6317. items:
  6318. $ref: '#/definitions/models.ErmcpTaAccount'
  6319. type: array
  6320. type: object
  6321. models.ErmcpTaAccountInfo:
  6322. properties:
  6323. accountid:
  6324. description: 资金账户ID
  6325. type: integer
  6326. accountname:
  6327. description: 账户名称
  6328. type: string
  6329. balance:
  6330. description: 期初余额
  6331. type: number
  6332. capitalbalance:
  6333. description: 本金余额[外部子账户实际出入金余额]
  6334. type: number
  6335. closepl:
  6336. description: 今日平仓盈亏
  6337. type: number
  6338. creditdecrease:
  6339. description: 今日授信减少
  6340. type: number
  6341. creditincrease:
  6342. description: 今日授信增加
  6343. type: number
  6344. curdebt:
  6345. description: 期末欠款
  6346. type: number
  6347. currencyid:
  6348. description: 货币ID
  6349. type: integer
  6350. currentbalance:
  6351. description: 期末余额
  6352. type: number
  6353. freezecharge:
  6354. description: 手续费冻结
  6355. type: number
  6356. freezemargin:
  6357. description: 冻结保证金
  6358. type: number
  6359. fromaccountid:
  6360. description: 所属上级账户
  6361. type: integer
  6362. inamount:
  6363. description: 今日入金金额(包括三方入金)
  6364. type: number
  6365. ismain:
  6366. description: 是否母账号 0:不是母账户 1:是母账户
  6367. type: integer
  6368. mortgagecredit:
  6369. description: 授信金额
  6370. type: number
  6371. oridebt:
  6372. description: 期初欠款
  6373. type: number
  6374. orifreezecharge:
  6375. description: 期初手续费冻结
  6376. type: number
  6377. orifreezemargin:
  6378. description: 期初冻结保证金
  6379. type: number
  6380. orimortgagecredit:
  6381. description: 期初授信金额
  6382. type: number
  6383. oriothercredit:
  6384. description: 期初其它授信金额
  6385. type: number
  6386. oriotherfreezemargin:
  6387. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  6388. type: number
  6389. orioutamountfreeze:
  6390. description: 期初出金冻结
  6391. type: number
  6392. oriusedmargin:
  6393. description: 期初占用保证金
  6394. type: number
  6395. othercredit:
  6396. description: 其它授信金额
  6397. type: number
  6398. othercreditdecrease:
  6399. description: 今日其它授信减少
  6400. type: number
  6401. othercreditincrease:
  6402. description: 今日其它授信增加
  6403. type: number
  6404. otherfreezemargin:
  6405. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  6406. type: number
  6407. outamount:
  6408. description: 今日出金金额(包括三方出金)
  6409. type: number
  6410. outamountfreeze:
  6411. description: 出金冻结
  6412. type: number
  6413. outthreshold:
  6414. description: 出金阈值
  6415. type: number
  6416. parentaccountid:
  6417. description: 所属根账号
  6418. type: integer
  6419. paycharge:
  6420. description: 今日手续费支出
  6421. type: number
  6422. relateduserid:
  6423. description: 关联用户
  6424. type: integer
  6425. signstatus:
  6426. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  6427. type: integer
  6428. sublevelpath:
  6429. description: 账号层级路径(逗号分隔,首尾加逗号)
  6430. type: string
  6431. taaccounttype:
  6432. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  6433. type: integer
  6434. thirdinamount:
  6435. description: 今日三方入金
  6436. type: number
  6437. thirdoutamount:
  6438. description: 今日三方出金
  6439. type: number
  6440. tradestatus:
  6441. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  6442. type: integer
  6443. transferamount:
  6444. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  6445. type: number
  6446. usedmargin:
  6447. description: 占用保证金
  6448. type: number
  6449. userid:
  6450. description: 用户ID
  6451. type: integer
  6452. type: object
  6453. models.ErmcpTradeConfigTMP:
  6454. properties:
  6455. areauserid:
  6456. description: 所属机构
  6457. type: integer
  6458. basiccurrencyid:
  6459. description: 基本币种ID[汇率] - 目标币种
  6460. type: integer
  6461. mainaccountid:
  6462. description: 主账户ID
  6463. type: integer
  6464. modifierid:
  6465. description: 修改人
  6466. type: integer
  6467. remark:
  6468. description: 备注
  6469. type: string
  6470. tradeconfigtmpid:
  6471. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  6472. type: integer
  6473. tradeconfigtmpname:
  6474. description: 交易配置模板名称
  6475. type: string
  6476. tradeconfigtmptype:
  6477. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  6478. type: integer
  6479. updatetime:
  6480. description: 更新时间
  6481. type: string
  6482. type: object
  6483. models.ErmcpUserModel:
  6484. properties:
  6485. address:
  6486. description: 通讯地址
  6487. type: string
  6488. attachment1:
  6489. description: 附件1
  6490. type: string
  6491. audittime:
  6492. description: 审核时间
  6493. type: string
  6494. cardfrontphotourl:
  6495. description: 证件正面图片地址
  6496. type: string
  6497. cardnum:
  6498. description: 证件号码
  6499. type: string
  6500. cardtype:
  6501. description: 证件类型
  6502. type: integer
  6503. cardtypename:
  6504. description: 证件类型名称
  6505. type: string
  6506. cityid:
  6507. description: 市
  6508. type: integer
  6509. countryid:
  6510. description: 国家
  6511. type: integer
  6512. createtime:
  6513. description: 创建时间
  6514. type: string
  6515. customername:
  6516. description: 企业名称
  6517. type: string
  6518. districtid:
  6519. description: 区域
  6520. type: integer
  6521. memberuserid:
  6522. description: 所属机构ID
  6523. type: integer
  6524. mobile:
  6525. description: 手机号码
  6526. type: string
  6527. modifytime:
  6528. description: 修改时间
  6529. type: string
  6530. nickname:
  6531. description: 昵称
  6532. type: string
  6533. provinceid:
  6534. description: 省
  6535. type: integer
  6536. remark:
  6537. description: 备注
  6538. type: string
  6539. status:
  6540. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  6541. type: integer
  6542. statusdesc:
  6543. description: 账户状态中文描述
  6544. type: string
  6545. telphone:
  6546. description: 联系电话
  6547. type: string
  6548. userid:
  6549. description: 用户ID
  6550. type: integer
  6551. userinfotype:
  6552. description: 客户类型
  6553. type: string
  6554. type: object
  6555. models.ErmcpWareHouseInfo:
  6556. properties:
  6557. address:
  6558. description: 详细地址
  6559. type: string
  6560. areauserid:
  6561. description: 所属机构
  6562. type: integer
  6563. autoid:
  6564. description: 自增ID(仓库ID)
  6565. type: integer
  6566. cityid:
  6567. description: 市
  6568. type: integer
  6569. contactname:
  6570. description: 联系人
  6571. type: string
  6572. contactnum:
  6573. description: 联系电话
  6574. type: string
  6575. countryid:
  6576. description: 国家
  6577. type: integer
  6578. createtime:
  6579. description: 创建时间
  6580. type: string
  6581. districtid:
  6582. description: 区
  6583. type: integer
  6584. hasvideo:
  6585. description: 是否有视频 - 0:无 1:有
  6586. type: integer
  6587. provinceid:
  6588. description: 省
  6589. type: integer
  6590. remark:
  6591. description: 审核备注
  6592. type: string
  6593. videourl:
  6594. description: 视频地址
  6595. type: string
  6596. warehousecode:
  6597. description: 仓库代码
  6598. type: string
  6599. warehousename:
  6600. description: 仓库名称
  6601. type: string
  6602. warehousestatus:
  6603. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  6604. type: integer
  6605. warehousetype:
  6606. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  6607. type: integer
  6608. type: object
  6609. models.ErmcpWrstandDetail:
  6610. properties:
  6611. gbList:
  6612. description: 品牌列表
  6613. items:
  6614. $ref: '#/definitions/models.GoodsBrand'
  6615. type: array
  6616. goodsList:
  6617. description: 关联交易商品列表
  6618. items:
  6619. $ref: '#/definitions/models.RelatedGoodsEx'
  6620. type: array
  6621. gtList:
  6622. description: 型号列表
  6623. items:
  6624. $ref: '#/definitions/models.GoodsTypeModel'
  6625. type: array
  6626. wrd:
  6627. $ref: '#/definitions/models.ErmcpWrstandard'
  6628. description: 基本信息
  6629. type: object
  6630. wrsList:
  6631. description: 套保信息列表
  6632. items:
  6633. $ref: '#/definitions/models.WRSConverTDetail'
  6634. type: array
  6635. type: object
  6636. models.ErmcpWrstandard:
  6637. properties:
  6638. areauserid:
  6639. description: 所属机构
  6640. type: integer
  6641. createtime:
  6642. description: 创建时间
  6643. type: string
  6644. creatorid:
  6645. description: 创建人
  6646. type: integer
  6647. deliverygoodsid:
  6648. description: 品种ID
  6649. type: integer
  6650. enumdicname:
  6651. description: 单位名称
  6652. type: string
  6653. isvalid:
  6654. description: 是否有效 0-无效(停用) 1-有效(正常)
  6655. type: integer
  6656. minivalue:
  6657. description: 最小变动值
  6658. type: integer
  6659. minivaluedp:
  6660. description: 最小变动值小数位
  6661. type: integer
  6662. realminivalue:
  6663. description: 实际最小变动值
  6664. type: integer
  6665. realminivaluedp:
  6666. description: 实际最小变动值小数位
  6667. type: integer
  6668. remark:
  6669. description: 备注
  6670. type: string
  6671. unitid:
  6672. description: 单位ID
  6673. type: integer
  6674. updatetime:
  6675. description: 更新时间
  6676. type: string
  6677. wrstandardcode:
  6678. description: 现货商品代码
  6679. type: string
  6680. wrstandardid:
  6681. description: 现货商品ID(SEQ_WRSTANDARD)
  6682. type: integer
  6683. wrstandardname:
  6684. description: 现货商品名称
  6685. type: string
  6686. type: object
  6687. models.Externalexchange:
  6688. properties:
  6689. autoid:
  6690. description: AutoID - SEQ_EXTERNALEXCHANGE
  6691. type: integer
  6692. exchangefullname:
  6693. description: 外部交易所全称
  6694. type: string
  6695. exexchangecode:
  6696. description: 外部交易所代码
  6697. type: string
  6698. exexchangename:
  6699. description: 外部交易所名称(简称)
  6700. type: string
  6701. ismarketprice:
  6702. description: 是否支持市价 - 0:不支持 1:支持
  6703. type: integer
  6704. quotegear:
  6705. description: 行情档位(1-10)
  6706. type: integer
  6707. showbrokerflag:
  6708. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  6709. type: integer
  6710. updatetime:
  6711. description: 更新时间
  6712. type: string
  6713. required:
  6714. - autoid
  6715. type: object
  6716. models.Funcmenulist:
  6717. properties:
  6718. iconame:
  6719. description: 菜单图标
  6720. type: string
  6721. menutype:
  6722. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  6723. type: integer
  6724. parentcode:
  6725. description: 上级资源代码
  6726. type: string
  6727. remark:
  6728. description: 备注
  6729. type: string
  6730. resourcecode:
  6731. description: 资源代码
  6732. type: string
  6733. resourcelevel:
  6734. description: 级别 1-一级 2-二级 3-三级 4-四级
  6735. type: integer
  6736. resourcename:
  6737. description: 资源名
  6738. type: string
  6739. sort:
  6740. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  6741. type: integer
  6742. url:
  6743. description: URL
  6744. type: string
  6745. required:
  6746. - resourcecode
  6747. type: object
  6748. models.Goods:
  6749. properties:
  6750. agreeunit:
  6751. description: 合约单位
  6752. type: number
  6753. auditaccountid:
  6754. description: 审核操作员账号
  6755. type: integer
  6756. audittime:
  6757. description: 审核时间
  6758. type: string
  6759. cancelaccountid:
  6760. description: 注销操作员账号
  6761. type: integer
  6762. canceltime:
  6763. description: 注销时间
  6764. type: string
  6765. closepricemode:
  6766. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  6767. type: integer
  6768. closepriceparam:
  6769. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  6770. type: number
  6771. createtime:
  6772. description: 创建时间
  6773. type: string
  6774. creatorid:
  6775. description: 创建人
  6776. type: integer
  6777. currencyid:
  6778. description: 报价货币ID
  6779. type: integer
  6780. cutmode:
  6781. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  6782. type: integer
  6783. decimalplace:
  6784. description: 报价小数位
  6785. type: integer
  6786. delistingdate:
  6787. description: 商品退市时间(状态:退市) -- 已作废
  6788. type: string
  6789. delistingmode:
  6790. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  6791. type: integer
  6792. deliveryflag:
  6793. description: 交割标志 - 0:不可交割 1:可交割
  6794. type: integer
  6795. forceclosemode:
  6796. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  6797. type: integer
  6798. forceclosevalue:
  6799. description: 定期强平参数 [收益权]
  6800. type: integer
  6801. goodscode:
  6802. description: 商品代码(内部)
  6803. type: string
  6804. goodscurrencyid:
  6805. description: 合约货币ID
  6806. type: integer
  6807. goodsgroupid:
  6808. description: 所属商品组ID
  6809. type: integer
  6810. goodsid:
  6811. description: 商品ID(自增ID SEQ_GOODS)
  6812. type: integer
  6813. goodsname:
  6814. description: 商品名称
  6815. type: string
  6816. goodsquotetype:
  6817. description: '合约报价类型: 1-直接报价 2-间接报价'
  6818. type: integer
  6819. goodsstatus:
  6820. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  6821. type: integer
  6822. goodstradetype:
  6823. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  6824. type: integer
  6825. goodunitid:
  6826. description: 报价单位ID
  6827. type: integer
  6828. hasquoter:
  6829. description: 是否有报价商 - 0:无报价商 1:有报价商
  6830. type: integer
  6831. hqprotecttime:
  6832. description: 行情保护时间(秒)
  6833. type: integer
  6834. innerdealmode:
  6835. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  6836. type: integer
  6837. isbuylimited:
  6838. description: 是否限制建仓量 - 0:不限制 1:限制
  6839. type: integer
  6840. lasttradedate:
  6841. description: 最后交易日期(状态:待退市)
  6842. type: string
  6843. listingdate:
  6844. description: 交易开始日期
  6845. type: string
  6846. marketid:
  6847. description: 所属市场ID
  6848. type: integer
  6849. modifierid:
  6850. description: 修改人
  6851. type: integer
  6852. modifystatus:
  6853. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  6854. type: integer
  6855. modifytime:
  6856. description: 修改时间
  6857. type: string
  6858. outerdealmode:
  6859. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  6860. type: integer
  6861. outgoodscode:
  6862. description: 商品代码(外部)
  6863. type: string
  6864. qtydecimalplace:
  6865. description: 成交量小数位
  6866. type: integer
  6867. quotegear:
  6868. description: 行情档位(1-10)
  6869. type: integer
  6870. quoteminunit:
  6871. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6872. type: integer
  6873. quoteshowtype:
  6874. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  6875. type: integer
  6876. quoteshowtypeinterval:
  6877. description: 行情报价间隔时间(秒)(成交价时为0)
  6878. type: integer
  6879. remark:
  6880. description: 备注
  6881. type: string
  6882. required:
  6883. - goodscode
  6884. - goodsid
  6885. - goodsname
  6886. - marketid
  6887. type: object
  6888. models.GoodsBrand:
  6889. properties:
  6890. brandid:
  6891. description: 品牌ID
  6892. type: integer
  6893. brandname:
  6894. description: 品牌名称
  6895. type: string
  6896. isvalid:
  6897. description: 是否有效 - 0:无效 1:有效
  6898. type: integer
  6899. type: object
  6900. models.GoodsIDAndName:
  6901. properties:
  6902. goodscode:
  6903. description: 商品代码(内部)
  6904. type: string
  6905. goodsid:
  6906. description: 商品ID(自增ID SEQ_GOODS)
  6907. type: integer
  6908. goodsname:
  6909. description: 商品名称
  6910. type: string
  6911. marketid:
  6912. description: 所属市场ID
  6913. type: integer
  6914. required:
  6915. - goodscode
  6916. - goodsid
  6917. - goodsname
  6918. - marketid
  6919. type: object
  6920. models.GoodsTypeModel:
  6921. properties:
  6922. convertfactor:
  6923. description: 标仓系数
  6924. type: number
  6925. modelid:
  6926. description: 型号ID
  6927. type: integer
  6928. modelname:
  6929. description: 型号名称
  6930. type: string
  6931. updatetime:
  6932. description: 更新时间
  6933. type: string
  6934. type: object
  6935. models.Goodsgroup:
  6936. properties:
  6937. agreeunit:
  6938. description: 合约单位
  6939. type: number
  6940. canshort:
  6941. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  6942. type: integer
  6943. closepricemode:
  6944. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  6945. type: integer
  6946. closepriceparam:
  6947. description: 强平最新价浮动比例 - 方式为2时使用
  6948. type: number
  6949. createtime:
  6950. description: 创建时间
  6951. type: string
  6952. creatorid:
  6953. description: 创建人
  6954. type: integer
  6955. currencyid:
  6956. description: 报价货币ID
  6957. type: integer
  6958. decimalplace:
  6959. description: 报价小数位
  6960. type: integer
  6961. exercisetype:
  6962. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  6963. type: integer
  6964. exexchangeid:
  6965. description: 外部交易所ID[通道交易]
  6966. type: integer
  6967. goodsgroupid:
  6968. description: 商品组ID(自增ID)
  6969. type: integer
  6970. goodsgroupname:
  6971. description: 商品组名称
  6972. type: string
  6973. goodsgroupstatus:
  6974. description: 商品组状态 - 1:正常 2:注销
  6975. type: integer
  6976. goodunitid:
  6977. description: 报价单位ID
  6978. type: integer
  6979. innerdealmode:
  6980. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  6981. type: integer
  6982. isbuylimited:
  6983. description: 是否限制建仓量 - 0:不限制 1:限制
  6984. type: integer
  6985. marketid:
  6986. description: 所属市场ID
  6987. type: integer
  6988. modifierid:
  6989. description: 修改人
  6990. type: integer
  6991. modifytime:
  6992. description: 修改时间
  6993. type: string
  6994. outerdealmode:
  6995. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  6996. type: integer
  6997. outergroupcode:
  6998. description: 外部商品组代码[通道交易]
  6999. type: string
  7000. premiumdecimalplace:
  7001. description: 权利金小数位[场外期权]
  7002. type: integer
  7003. premiumspreadalgorithm:
  7004. description: 权利金点差方式[场外期权] 1:比率 2:固定
  7005. type: integer
  7006. premiumspreadvalue:
  7007. description: 权利金点差值[场外期权]
  7008. type: number
  7009. qtydecimalplace:
  7010. description: 成交量小数位
  7011. type: integer
  7012. quotegear:
  7013. description: 行情档位(1-10)
  7014. type: integer
  7015. quoteminunit:
  7016. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7017. type: integer
  7018. quoterid:
  7019. description: 报价商ID[场外期权]
  7020. type: integer
  7021. quotesourcegroupid:
  7022. description: 所属行情源分组ID[参考行情市场用\通道交易]
  7023. type: integer
  7024. syncgoodsqty:
  7025. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  7026. type: integer
  7027. required:
  7028. - goodsgroupid
  7029. - goodsgroupname
  7030. - goodsgroupstatus
  7031. - marketid
  7032. type: object
  7033. models.Goodssortbypreposition:
  7034. properties:
  7035. goodscode:
  7036. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  7037. type: string
  7038. goodsgroupcode:
  7039. description: 品种代码
  7040. type: string
  7041. prepositionqty:
  7042. description: 昨持仓量
  7043. type: integer
  7044. sortindex:
  7045. description: 排序
  7046. type: integer
  7047. tradedate:
  7048. description: 交易日
  7049. type: string
  7050. updatetime:
  7051. description: 更新时间
  7052. type: string
  7053. required:
  7054. - goodscode
  7055. - tradedate
  7056. type: object
  7057. models.Hedgeinnerholderdetail:
  7058. properties:
  7059. accountid:
  7060. description: 账号ID
  7061. type: integer
  7062. buyorsell:
  7063. description: 方向 - 0:买 1:卖
  7064. type: integer
  7065. freezeqty:
  7066. description: 冻结数量 - 按单平使用
  7067. type: integer
  7068. goodsid:
  7069. description: 商品ID
  7070. type: integer
  7071. holderamount:
  7072. description: 持仓金额 [商品币种]
  7073. type: number
  7074. holderdays:
  7075. description: 剩余冻结天数
  7076. type: integer
  7077. holderprice:
  7078. description: 持仓价格
  7079. type: number
  7080. holderqty:
  7081. description: 持仓数量
  7082. type: integer
  7083. marketid:
  7084. description: 市场ID
  7085. type: integer
  7086. openprice:
  7087. description: 建仓价格
  7088. type: number
  7089. openqty:
  7090. description: 建仓数量
  7091. type: integer
  7092. parentaccountid:
  7093. description: 所属母账户
  7094. type: integer
  7095. releaseamount:
  7096. description: 释放持仓金额[商品币种]
  7097. type: number
  7098. tradeamount:
  7099. description: 成交金额[账户]
  7100. type: number
  7101. tradedate:
  7102. description: 交易日(yyyyMMdd)
  7103. type: string
  7104. tradeid:
  7105. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7106. type: string
  7107. tradetime:
  7108. description: 交易时间
  7109. type: string
  7110. required:
  7111. - buyorsell
  7112. - tradeid
  7113. type: object
  7114. models.HsbyBuyMyPayOrder:
  7115. properties:
  7116. agreeunit:
  7117. description: 合约单位
  7118. type: number
  7119. buyaccountid:
  7120. description: 买方账号ID[报价币种]
  7121. type: integer
  7122. buyorderid:
  7123. description: 买方委托单号
  7124. type: string
  7125. createtime:
  7126. description: 创建时间
  7127. type: string
  7128. currencysign:
  7129. description: 货币符号
  7130. type: string
  7131. decimalplace:
  7132. description: 报价小数位
  7133. type: integer
  7134. goodscode:
  7135. description: 商品代码(内部)
  7136. type: string
  7137. goodsid:
  7138. description: 商品ID
  7139. type: integer
  7140. goodsname:
  7141. description: 商品名称
  7142. type: string
  7143. marketid:
  7144. description: 市场ID
  7145. type: integer
  7146. offamount:
  7147. description: 优惠金额
  7148. type: number
  7149. originalamount:
  7150. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  7151. type: number
  7152. payamount:
  7153. description: 支付金额 = TradeAmount + TradeCharge
  7154. type: number
  7155. payflag:
  7156. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  7157. type: integer
  7158. paylimitedtime:
  7159. description: 支付期限
  7160. type: string
  7161. paytime:
  7162. description: 付款时间
  7163. type: string
  7164. picurls1:
  7165. description: 预售商品介绍图片[多张用逗号分隔]
  7166. type: string
  7167. picurls2:
  7168. description: 挂牌商品介绍图片[多张用逗号分隔]
  7169. type: string
  7170. sellaccountid:
  7171. description: 卖方账号ID[报价币种]
  7172. type: integer
  7173. sellorderid:
  7174. description: 卖方委托单号
  7175. type: string
  7176. tradeamount:
  7177. description: 成交金额
  7178. type: number
  7179. tradecharge:
  7180. description: 成交手续费(买方)
  7181. type: number
  7182. tradedate:
  7183. description: 交易日(yyyyMMdd)
  7184. type: string
  7185. tradeid:
  7186. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7187. type: string
  7188. trademode:
  7189. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7190. 21:竞拍-大宗式 22:受托竞价
  7191. type: integer
  7192. tradeprice:
  7193. description: 成交价格
  7194. type: number
  7195. tradeqty:
  7196. description: 成交数量
  7197. type: integer
  7198. vendorname1:
  7199. description: 预售商品供应商名称
  7200. type: string
  7201. vendorname2:
  7202. description: 挂牌商品供应商名称
  7203. type: string
  7204. required:
  7205. - goodscode
  7206. - goodsname
  7207. - tradeid
  7208. - trademode
  7209. type: object
  7210. models.HsbyBuyMyTradeDetail:
  7211. properties:
  7212. accountid:
  7213. description: 账户ID[报价币种]
  7214. type: integer
  7215. agreeunit:
  7216. description: 合约单位
  7217. type: number
  7218. amount:
  7219. description: 金额 = 价格 * 数量 * 合约单位
  7220. type: number
  7221. buyorsell:
  7222. description: 买卖 - 0:买 1:卖
  7223. type: integer
  7224. currencysign:
  7225. description: 货币符号
  7226. type: string
  7227. decimalplace:
  7228. description: 报价小数位
  7229. type: integer
  7230. goodscode:
  7231. description: 商品代码(内部)
  7232. type: string
  7233. goodsid:
  7234. description: 商品ID
  7235. type: integer
  7236. goodsname:
  7237. description: 商品名称
  7238. type: string
  7239. marketid:
  7240. description: 市场ID
  7241. type: integer
  7242. orderamount:
  7243. description: 委托金额
  7244. type: number
  7245. orderid:
  7246. description: 单号(成交单号)
  7247. type: string
  7248. picurls1:
  7249. description: 预售商品介绍图片[多张用逗号分隔]
  7250. type: string
  7251. picurls2:
  7252. description: 挂牌商品介绍图片[多张用逗号分隔]
  7253. type: string
  7254. price:
  7255. description: 价格
  7256. type: number
  7257. qty:
  7258. description: 数量
  7259. type: integer
  7260. time:
  7261. description: 时间
  7262. type: string
  7263. trademode:
  7264. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7265. 21:竞拍-大宗式 22:受托竞价
  7266. type: integer
  7267. vendorname1:
  7268. description: 预售商品供应商名称
  7269. type: string
  7270. vendorname2:
  7271. description: 挂牌商品供应商名称
  7272. type: string
  7273. required:
  7274. - accountid
  7275. - buyorsell
  7276. - goodscode
  7277. - goodsid
  7278. - goodsname
  7279. - marketid
  7280. - orderid
  7281. - qty
  7282. - time
  7283. - trademode
  7284. type: object
  7285. models.HsbyGoodsOrderDetail:
  7286. properties:
  7287. buyorsell:
  7288. description: 买卖 - 0:买 1:卖
  7289. type: integer
  7290. currencysign:
  7291. description: 货币符号
  7292. type: string
  7293. customername:
  7294. description: 客户名称(企业名称),已脱敏
  7295. type: string
  7296. enableqty:
  7297. description: 可用数量
  7298. type: integer
  7299. goodunit:
  7300. description: 报价单位
  7301. type: string
  7302. orderid:
  7303. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7304. type: string
  7305. orderprice:
  7306. description: 委托价格
  7307. type: number
  7308. ordertime:
  7309. description: 委托时间
  7310. type: string
  7311. required:
  7312. - buyorsell
  7313. - orderid
  7314. - ordertime
  7315. type: object
  7316. models.HsbyListingGoodsDetail:
  7317. properties:
  7318. agreeunit:
  7319. description: 合约单位
  7320. type: number
  7321. buymaxqty:
  7322. description: 购买上限 [71] - 0为不限
  7323. type: integer
  7324. currency:
  7325. description: 货币
  7326. type: string
  7327. currencysign:
  7328. description: 货币符号
  7329. type: string
  7330. decimalplace:
  7331. description: 报价小数位
  7332. type: integer
  7333. desccityid:
  7334. description: 目的地(市)ID
  7335. type: integer
  7336. descprovinceid:
  7337. description: 目的地(省)ID
  7338. type: integer
  7339. goodscode:
  7340. description: 商品代码(内部)
  7341. type: string
  7342. goodsdesc:
  7343. description: 商品详情
  7344. type: string
  7345. goodsid:
  7346. description: 商品ID(自增ID SEQ_GOODS)
  7347. type: integer
  7348. goodsname:
  7349. description: 商品名称
  7350. type: string
  7351. goodsprice:
  7352. description: 商品价格
  7353. type: number
  7354. hotindex:
  7355. description: 景点热度
  7356. type: integer
  7357. last:
  7358. description: 现价
  7359. type: number
  7360. limitdown:
  7361. description: 跌停价
  7362. type: number
  7363. limitup:
  7364. description: 涨停价
  7365. type: number
  7366. lotsize:
  7367. description: 手数最小变动单位
  7368. type: integer
  7369. marketid:
  7370. description: 所属市场ID
  7371. type: integer
  7372. picurls:
  7373. description: 介绍图片[多张用逗号分隔]
  7374. type: string
  7375. quoteminunit:
  7376. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7377. type: integer
  7378. stepvalue:
  7379. description: 价格最小变动单位
  7380. type: number
  7381. trademode:
  7382. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7383. 21:竞拍-大宗式 22:受托竞价
  7384. type: integer
  7385. vendorattr:
  7386. description: 供应商附件(多张,逗号分隔)
  7387. type: string
  7388. vendorname:
  7389. description: 供应商名称
  7390. type: string
  7391. vendorphone:
  7392. description: 供应商客服电话
  7393. type: string
  7394. videourls:
  7395. description: 介绍视频[多张用逗号分隔]
  7396. type: string
  7397. required:
  7398. - goodscode
  7399. - goodsid
  7400. - goodsname
  7401. - marketid
  7402. - trademode
  7403. type: object
  7404. models.HsbyMarketGoods:
  7405. properties:
  7406. accountid:
  7407. description: 账户ID[报价币种]
  7408. type: integer
  7409. agreeunit:
  7410. description: 合约单位
  7411. type: number
  7412. buyorsell:
  7413. description: 买卖 - 0:买 1:卖
  7414. type: integer
  7415. categoryid:
  7416. description: 类别ID(WRCATEGORY)
  7417. type: integer
  7418. currency:
  7419. description: 货币
  7420. type: string
  7421. currencysign:
  7422. description: 货币符号
  7423. type: string
  7424. customername:
  7425. description: 卖家名称
  7426. type: string
  7427. decimalplace:
  7428. description: 报价小数位
  7429. type: integer
  7430. goodscode:
  7431. description: 商品代码(内部)
  7432. type: string
  7433. goodsid:
  7434. description: 商品ID
  7435. type: integer
  7436. goodsname:
  7437. description: 商品名称
  7438. type: string
  7439. goodsprice:
  7440. description: 商品价格
  7441. type: number
  7442. hascoupon:
  7443. description: 是否可用优惠卷
  7444. type: boolean
  7445. hotindex:
  7446. description: 景点热度
  7447. type: integer
  7448. marketid:
  7449. description: 市场ID
  7450. type: integer
  7451. orderid:
  7452. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7453. type: string
  7454. orderprice:
  7455. description: 委托价格
  7456. type: number
  7457. orderstatus:
  7458. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  7459. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  7460. 16:成交失败违约(荷兰式竞拍专用)
  7461. type: integer
  7462. picurls:
  7463. description: 介绍图片[多张用逗号分隔]
  7464. type: string
  7465. quoteminunit:
  7466. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7467. type: integer
  7468. sellUserID:
  7469. description: 卖方UserID
  7470. type: integer
  7471. trademode:
  7472. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7473. 21:竞拍-大宗式 22:受托竞价
  7474. type: integer
  7475. videourls:
  7476. description: 介绍视频[多张用逗号分隔]
  7477. type: string
  7478. required:
  7479. - accountid
  7480. - buyorsell
  7481. - goodscode
  7482. - goodsid
  7483. - goodsname
  7484. - marketid
  7485. - orderid
  7486. - trademode
  7487. type: object
  7488. models.HsbyMarketGoodsDetail:
  7489. properties:
  7490. accountid:
  7491. description: 账户ID[报价币种]
  7492. type: integer
  7493. agreeunit:
  7494. description: 合约单位
  7495. type: number
  7496. buymaxqty:
  7497. description: 购买上限 [71] - 0为不限
  7498. type: integer
  7499. buyorsell:
  7500. description: 买卖 - 0:买 1:卖
  7501. type: integer
  7502. cancelqty:
  7503. description: 撤单数量
  7504. type: integer
  7505. categoryid:
  7506. description: 类别ID(WRCATEGORY)
  7507. type: integer
  7508. currency:
  7509. description: 货币
  7510. type: string
  7511. currencysign:
  7512. description: 货币符号
  7513. type: string
  7514. customername:
  7515. description: 卖家名称
  7516. type: string
  7517. decimalplace:
  7518. description: 报价小数位
  7519. type: integer
  7520. goodscode:
  7521. description: 商品代码(内部)
  7522. type: string
  7523. goodsdesc:
  7524. description: 商品详情
  7525. type: string
  7526. goodsid:
  7527. description: 商品ID
  7528. type: integer
  7529. goodsname:
  7530. description: 商品名称
  7531. type: string
  7532. goodsprice:
  7533. description: 商品价格
  7534. type: number
  7535. hotindex:
  7536. description: 景点热度
  7537. type: integer
  7538. lotsize:
  7539. description: 手数最小变动单位
  7540. type: integer
  7541. marketid:
  7542. description: 市场ID
  7543. type: integer
  7544. orderid:
  7545. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7546. type: string
  7547. orderprice:
  7548. description: 委托价格
  7549. type: number
  7550. orderqty:
  7551. description: 委托数量
  7552. type: integer
  7553. orderstatus:
  7554. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  7555. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  7556. 16:成交失败违约(荷兰式竞拍专用)
  7557. type: integer
  7558. picurls:
  7559. description: 介绍图片[多张用逗号分隔]
  7560. type: string
  7561. quoteminunit:
  7562. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7563. type: integer
  7564. sellUserID:
  7565. description: 卖方UserID
  7566. type: integer
  7567. trademode:
  7568. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7569. 21:竞拍-大宗式 22:受托竞价
  7570. type: integer
  7571. tradeqty:
  7572. description: 成交数量
  7573. type: integer
  7574. vendorattr:
  7575. description: 供应商附件(多张,逗号分隔)
  7576. type: string
  7577. vendorname:
  7578. description: 供应商名称
  7579. type: string
  7580. vendorphone:
  7581. description: 供应商客服电话
  7582. type: string
  7583. videourls:
  7584. description: 介绍视频[多张用逗号分隔]
  7585. type: string
  7586. required:
  7587. - accountid
  7588. - buyorsell
  7589. - goodscode
  7590. - goodsid
  7591. - goodsname
  7592. - marketid
  7593. - orderid
  7594. - orderqty
  7595. - trademode
  7596. type: object
  7597. models.HsbyMarketInfo:
  7598. properties:
  7599. marketid:
  7600. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  7601. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  7602. type: integer
  7603. marketname:
  7604. description: 市场名称
  7605. type: string
  7606. marketstatus:
  7607. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  7608. type: integer
  7609. trademode:
  7610. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7611. 21:竞拍-大宗式 22:受托竞价
  7612. type: integer
  7613. required:
  7614. - marketid
  7615. - marketstatus
  7616. - trademode
  7617. type: object
  7618. models.HsbyMyGoods:
  7619. properties:
  7620. accountid:
  7621. description: 账号Id
  7622. type: integer
  7623. agreeunit:
  7624. description: 合约单位
  7625. type: number
  7626. buyaverageprice:
  7627. description: 持仓均价
  7628. type: number
  7629. buycurholderamount:
  7630. description: 买当前持仓总金额[商品币种]
  7631. type: number
  7632. buycurpositionqty:
  7633. description: 买当前持仓总数量
  7634. type: integer
  7635. buymaxqty:
  7636. description: 购买上限 [71] - 0为不限
  7637. type: integer
  7638. currencysign:
  7639. description: 货币符号
  7640. type: string
  7641. decimalplace:
  7642. description: 报价小数位
  7643. type: integer
  7644. enableqty:
  7645. description: 可用数量
  7646. type: integer
  7647. goodscode:
  7648. description: 商品代码(内部)
  7649. type: string
  7650. goodsid:
  7651. description: 商品Id
  7652. type: integer
  7653. goodsname:
  7654. description: 商品名称
  7655. type: string
  7656. goodsprice:
  7657. description: 商品价格
  7658. type: number
  7659. goodsstatus:
  7660. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  7661. type: integer
  7662. last:
  7663. description: 现价(仅使用于挂牌点选)
  7664. type: number
  7665. limitdown:
  7666. description: 跌停价(仅使用于挂牌点选)
  7667. type: number
  7668. limitup:
  7669. description: 涨停价(仅使用于挂牌点选)
  7670. type: number
  7671. lotsize:
  7672. description: 手数最小变动单位
  7673. type: integer
  7674. marketid:
  7675. description: 所属市场ID
  7676. type: integer
  7677. picurls:
  7678. description: 介绍图片[多张用逗号分隔]
  7679. type: string
  7680. quoteminunit:
  7681. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7682. type: integer
  7683. stepvalue:
  7684. description: 价格最小变动单位
  7685. type: number
  7686. trademode:
  7687. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7688. 21:竞拍-大宗式 22:受托竞价
  7689. type: integer
  7690. required:
  7691. - accountid
  7692. - goodscode
  7693. - goodsid
  7694. - goodsname
  7695. - marketid
  7696. - trademode
  7697. type: object
  7698. models.HsbyMyPackage:
  7699. properties:
  7700. accountid:
  7701. description: 账户ID
  7702. type: integer
  7703. address:
  7704. description: 提货人详细地址
  7705. type: string
  7706. agreeunit:
  7707. description: 合约单位
  7708. type: number
  7709. amount:
  7710. description: 提货金额
  7711. type: number
  7712. auditer:
  7713. description: 审核人
  7714. type: integer
  7715. audittime:
  7716. description: 审核时间
  7717. type: string
  7718. averageprice:
  7719. description: 均价
  7720. type: number
  7721. cardnum:
  7722. description: 提货人证件号码
  7723. type: string
  7724. cardtypeid:
  7725. description: 提货人证件类型
  7726. type: integer
  7727. checkremark:
  7728. description: 审核备注
  7729. type: string
  7730. currencysign:
  7731. description: 货币符号
  7732. type: string
  7733. decimalplace:
  7734. description: 报价小数位
  7735. type: integer
  7736. goodscode:
  7737. description: 商品代码(内部)
  7738. type: string
  7739. goodsid:
  7740. description: 商品ID
  7741. type: integer
  7742. goodsname:
  7743. description: 商品名称
  7744. type: string
  7745. handlestatus:
  7746. description: 处理状态
  7747. type: integer
  7748. marketid:
  7749. description: 市场ID
  7750. type: integer
  7751. phonenum:
  7752. description: 提货人联系方式
  7753. type: string
  7754. picurls:
  7755. description: 介绍图片[多张用逗号分隔]
  7756. type: string
  7757. qty:
  7758. description: 提货数量
  7759. type: number
  7760. recivername:
  7761. description: 提货人姓名
  7762. type: string
  7763. reqtime:
  7764. description: 更新时间
  7765. type: string
  7766. takemode:
  7767. description: 提货方式 - 2:自提 3:配送
  7768. type: integer
  7769. takeorderid:
  7770. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  7771. type: string
  7772. takeorderstatus:
  7773. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  7774. type: integer
  7775. takeremark:
  7776. description: 提货备注
  7777. type: string
  7778. tradedate:
  7779. description: 交易日(yyyyMMdd)
  7780. type: string
  7781. trademode:
  7782. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7783. 21:竞拍-大宗式 22:受托竞价
  7784. type: integer
  7785. userid:
  7786. description: 用户ID
  7787. type: integer
  7788. vendorname:
  7789. description: 供应商名称
  7790. type: string
  7791. required:
  7792. - goodscode
  7793. - goodsname
  7794. - takeorderid
  7795. - trademode
  7796. type: object
  7797. models.HsbyPreGoods:
  7798. properties:
  7799. agreeunit:
  7800. description: 合约单位
  7801. type: number
  7802. currency:
  7803. description: 货币
  7804. type: string
  7805. currencysign:
  7806. description: 货币符号
  7807. type: string
  7808. decimalplace:
  7809. description: 报价小数位
  7810. type: integer
  7811. desccityid:
  7812. description: 目的地(市)
  7813. type: integer
  7814. descprovinceid:
  7815. description: 目的地(省)
  7816. type: integer
  7817. enableqty:
  7818. description: 剩余数量
  7819. type: integer
  7820. goodscode:
  7821. description: 商品代码(内部)
  7822. type: string
  7823. goodsid:
  7824. description: 商品ID(自增ID SEQ_GOODS)
  7825. type: integer
  7826. goodsname:
  7827. description: 商品名称
  7828. type: string
  7829. goodsstatus:
  7830. description: 商品状态- 2:未上市 3:上市
  7831. type: integer
  7832. lasttradedate:
  7833. description: 最后交易日期(状态:待退市)
  7834. type: string
  7835. listingdate:
  7836. description: 交易开始日期
  7837. type: string
  7838. marketid:
  7839. description: 所属市场ID
  7840. type: integer
  7841. picurls:
  7842. description: 介绍图片[多张用逗号分隔]
  7843. type: string
  7844. presaledqty:
  7845. description: 已预售量(预售结束时更新)
  7846. type: integer
  7847. presaleqty:
  7848. description: 预售数量
  7849. type: integer
  7850. quoteminunit:
  7851. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7852. type: integer
  7853. refprice:
  7854. description: 参考价格[一口价]
  7855. type: number
  7856. relatedgoodsid:
  7857. description: 关联交易合约ID
  7858. type: integer
  7859. trademode:
  7860. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7861. 21:竞拍-大宗式 22:受托竞价
  7862. type: integer
  7863. videourls:
  7864. description: 介绍视频[多张用逗号分隔]
  7865. type: string
  7866. required:
  7867. - goodscode
  7868. - goodsid
  7869. - goodsname
  7870. - marketid
  7871. - trademode
  7872. type: object
  7873. models.HsbyPreGoodsDetail:
  7874. properties:
  7875. agreeunit:
  7876. description: 合约单位
  7877. type: number
  7878. buymaxqty:
  7879. description: 购买上限 [71] - 0为不限
  7880. type: integer
  7881. currency:
  7882. description: 货币
  7883. type: string
  7884. currencysign:
  7885. description: 货币符号
  7886. type: string
  7887. customername:
  7888. description: 发行单位
  7889. type: string
  7890. decimalplace:
  7891. description: 报价小数位
  7892. type: integer
  7893. desccityid:
  7894. description: 目的地(市)ID
  7895. type: integer
  7896. descprovinceid:
  7897. description: 目的地(省)ID
  7898. type: integer
  7899. enableqty:
  7900. description: 剩余数量
  7901. type: integer
  7902. goodscode:
  7903. description: 商品代码(内部)
  7904. type: string
  7905. goodsdesc:
  7906. description: 商品详情
  7907. type: string
  7908. goodsid:
  7909. description: 商品ID(自增ID SEQ_GOODS)
  7910. type: integer
  7911. goodsname:
  7912. description: 商品名称
  7913. type: string
  7914. goodsstatus:
  7915. description: 商品状态- 2:未上市 3:上市
  7916. type: integer
  7917. goodunit:
  7918. description: 报价单位
  7919. type: string
  7920. lasttradedate:
  7921. description: 最后交易日期(状态:待退市)
  7922. type: string
  7923. listingdate:
  7924. description: 交易开始日期
  7925. type: string
  7926. lotsize:
  7927. description: 手数最小变动单位
  7928. type: integer
  7929. marketid:
  7930. description: 所属市场ID
  7931. type: integer
  7932. picurls:
  7933. description: 介绍图片[多张用逗号分隔]
  7934. type: string
  7935. presaledqty:
  7936. description: 已预售量(预售结束时更新)
  7937. type: integer
  7938. presaleqty:
  7939. description: 预售数量
  7940. type: integer
  7941. quoteminunit:
  7942. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7943. type: integer
  7944. refprice:
  7945. description: 参考价格[一口价]
  7946. type: number
  7947. relatedgoodsid:
  7948. description: 关联交易合约ID
  7949. type: integer
  7950. stepvalue:
  7951. description: 价格最小变动单位
  7952. type: number
  7953. trademode:
  7954. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7955. 21:竞拍-大宗式 22:受托竞价
  7956. type: integer
  7957. vendorattr:
  7958. description: 供应商附件(多张,逗号分隔)
  7959. type: string
  7960. vendorname:
  7961. description: 供应商名称
  7962. type: string
  7963. vendorphone:
  7964. description: 供应商客服电话
  7965. type: string
  7966. videourls:
  7967. description: 介绍视频[多张用逗号分隔]
  7968. type: string
  7969. required:
  7970. - goodscode
  7971. - goodsid
  7972. - goodsname
  7973. - marketid
  7974. - trademode
  7975. type: object
  7976. models.HsbySellCollectionOrder:
  7977. properties:
  7978. agreeunit:
  7979. description: 合约单位
  7980. type: number
  7981. buyaccountid:
  7982. description: 买方账号ID[报价币种]
  7983. type: integer
  7984. buyorderid:
  7985. description: 买方委托单号
  7986. type: string
  7987. createtime:
  7988. description: 创建时间
  7989. type: string
  7990. currencysign:
  7991. description: 货币符号
  7992. type: string
  7993. decimalplace:
  7994. description: 报价小数位
  7995. type: integer
  7996. goodscode:
  7997. description: 商品代码(内部)
  7998. type: string
  7999. goodsid:
  8000. description: 商品ID
  8001. type: integer
  8002. goodsname:
  8003. description: 商品名称
  8004. type: string
  8005. marketid:
  8006. description: 市场ID
  8007. type: integer
  8008. offamount:
  8009. description: 优惠金额
  8010. type: number
  8011. payamount:
  8012. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  8013. type: number
  8014. payflag:
  8015. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  8016. type: integer
  8017. paylimitedtime:
  8018. description: 支付期限
  8019. type: string
  8020. paytime:
  8021. description: 付款时间
  8022. type: string
  8023. picurls:
  8024. description: 商品介绍图片[多张用逗号分隔]
  8025. type: string
  8026. sellaccountid:
  8027. description: 卖方账号ID[报价币种]
  8028. type: integer
  8029. sellorderid:
  8030. description: 卖方委托单号
  8031. type: string
  8032. tradeamount:
  8033. description: 成交金额
  8034. type: number
  8035. tradecharge:
  8036. description: 成交手续费(买方)
  8037. type: number
  8038. tradedate:
  8039. description: 交易日(yyyyMMdd)
  8040. type: string
  8041. tradeid:
  8042. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8043. type: string
  8044. trademode:
  8045. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8046. 21:竞拍-大宗式 22:受托竞价
  8047. type: integer
  8048. tradeprice:
  8049. description: 成交价格
  8050. type: number
  8051. tradeqty:
  8052. description: 成交数量
  8053. type: integer
  8054. required:
  8055. - goodscode
  8056. - goodsname
  8057. - tradeid
  8058. - trademode
  8059. type: object
  8060. models.HsbySellMyDetail:
  8061. properties:
  8062. accountid:
  8063. description: 账户ID[报价币种]
  8064. type: integer
  8065. agreeunit:
  8066. description: 合约单位
  8067. type: number
  8068. buyorsell:
  8069. description: 买卖 - 0:买 1:卖
  8070. type: integer
  8071. currencysign:
  8072. description: 货币符号
  8073. type: string
  8074. decimalplace:
  8075. description: 报价小数位
  8076. type: integer
  8077. goodscode:
  8078. description: 商品代码(内部)
  8079. type: string
  8080. goodsid:
  8081. description: 商品ID
  8082. type: integer
  8083. goodsname:
  8084. description: 商品名称
  8085. type: string
  8086. marketid:
  8087. description: 市场ID
  8088. type: integer
  8089. orderid:
  8090. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  8091. type: string
  8092. ordertype:
  8093. description: 单据类型:0 - 发布中, 1 - 已完成
  8094. type: integer
  8095. picurls:
  8096. description: 介绍图片[多张用逗号分隔]
  8097. type: string
  8098. price:
  8099. description: 价格
  8100. type: number
  8101. qty:
  8102. description: 数量
  8103. type: integer
  8104. time:
  8105. description: 时间
  8106. type: string
  8107. trademode:
  8108. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8109. 21:竞拍-大宗式 22:受托竞价
  8110. type: integer
  8111. vendorname:
  8112. description: 供应商名称
  8113. type: string
  8114. required:
  8115. - accountid
  8116. - buyorsell
  8117. - goodscode
  8118. - goodsid
  8119. - goodsname
  8120. - marketid
  8121. - orderid
  8122. - time
  8123. - trademode
  8124. type: object
  8125. models.HsbyTopGoods:
  8126. properties:
  8127. agreeunit:
  8128. description: 合约单位
  8129. type: number
  8130. currency:
  8131. description: 货币
  8132. type: string
  8133. currencysign:
  8134. description: 货币符号
  8135. type: string
  8136. decimalplace:
  8137. description: 报价小数位
  8138. type: integer
  8139. desccityid:
  8140. description: 目的地(市)
  8141. type: integer
  8142. descprovinceid:
  8143. description: 目的地(省)
  8144. type: integer
  8145. goodscode:
  8146. description: 商品代码(内部)
  8147. type: string
  8148. goodsid:
  8149. description: 商品ID(自增ID SEQ_GOODS)
  8150. type: integer
  8151. goodsname:
  8152. description: 商品名称
  8153. type: string
  8154. hotindex:
  8155. description: 景点热度
  8156. type: integer
  8157. last:
  8158. description: 现价
  8159. type: number
  8160. marketid:
  8161. description: 所属市场ID
  8162. type: integer
  8163. picurls:
  8164. description: 介绍图片[多张用逗号分隔]
  8165. type: string
  8166. quoteminunit:
  8167. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8168. type: integer
  8169. trademode:
  8170. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8171. 21:竞拍-大宗式 22:受托竞价
  8172. type: integer
  8173. videourls:
  8174. description: 介绍视频[多张用逗号分隔]
  8175. type: string
  8176. required:
  8177. - goodscode
  8178. - goodsid
  8179. - goodsname
  8180. - marketid
  8181. - trademode
  8182. type: object
  8183. models.HybsMyBuyOrderDetail:
  8184. properties:
  8185. accountid:
  8186. description: 账户ID[报价币种]
  8187. type: integer
  8188. agreeunit:
  8189. description: 合约单位
  8190. type: number
  8191. buyorsell:
  8192. description: 买卖 - 0:买 1:卖
  8193. type: integer
  8194. cancelqty:
  8195. description: 撤单数量
  8196. type: integer
  8197. currencysign:
  8198. description: 货币符号
  8199. type: string
  8200. decimalplace:
  8201. description: 报价小数位
  8202. type: integer
  8203. goodscode:
  8204. description: 商品代码(内部)
  8205. type: string
  8206. goodsid:
  8207. description: 商品ID
  8208. type: integer
  8209. goodsname:
  8210. description: 商品名称
  8211. type: string
  8212. listingselecttype:
  8213. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  8214. type: integer
  8215. marketid:
  8216. description: 市场ID
  8217. type: integer
  8218. mybuystatus:
  8219. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  8220. type: integer
  8221. orderamount:
  8222. description: 委托金额
  8223. type: number
  8224. orderid:
  8225. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8226. type: string
  8227. orderprice:
  8228. description: 委托价格
  8229. type: number
  8230. orderqty:
  8231. description: 委托数量
  8232. type: integer
  8233. orderstatus:
  8234. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8235. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8236. 16:成交失败违约(荷兰式竞拍专用)
  8237. type: integer
  8238. ordertime:
  8239. description: 委托时间
  8240. type: string
  8241. picurls1:
  8242. description: 预售商品介绍图片[多张用逗号分隔]
  8243. type: string
  8244. picurls2:
  8245. description: 挂牌商品介绍图片[多张用逗号分隔]
  8246. type: string
  8247. trademode:
  8248. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8249. 21:竞拍-大宗式 22:受托竞价
  8250. type: integer
  8251. tradeqty:
  8252. description: 成交数量
  8253. type: integer
  8254. vendorname1:
  8255. description: 预售商品供应商名称
  8256. type: string
  8257. vendorname2:
  8258. description: 挂牌商品供应商名称
  8259. type: string
  8260. required:
  8261. - accountid
  8262. - buyorsell
  8263. - goodscode
  8264. - goodsid
  8265. - goodsname
  8266. - marketid
  8267. - orderid
  8268. - orderqty
  8269. - ordertime
  8270. - trademode
  8271. type: object
  8272. models.Loginaccount:
  8273. properties:
  8274. canoutin:
  8275. description: 是否可出入金 - 0:不可 1:可
  8276. type: integer
  8277. clientroleid:
  8278. description: 终端角色ID
  8279. type: integer
  8280. haslogined:
  8281. description: 是否已登录 - 0:未登录 1:已登录
  8282. type: integer
  8283. hasupdatedpwd:
  8284. description: 是否已更改密码 - 0:未修改 1:已修改
  8285. type: integer
  8286. lastloginip:
  8287. description: 最新登录地址
  8288. type: string
  8289. lastloginmode:
  8290. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  8291. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  8292. type: integer
  8293. lastloginremark:
  8294. description: 最新登录描述
  8295. type: string
  8296. lastlogintime:
  8297. description: 最新登录时间
  8298. type: string
  8299. logincode:
  8300. description: 登录代码
  8301. type: string
  8302. loginfailnum:
  8303. description: 连续登录失败次数(登录成功时清零)
  8304. type: integer
  8305. loginid:
  8306. description: 登陆账号
  8307. type: integer
  8308. loginport:
  8309. description: 最新登录端口
  8310. type: integer
  8311. loginstatus:
  8312. description: 登录账号状态 1:正常 2:冻结 3:无效
  8313. type: integer
  8314. loginusertype:
  8315. description: 登录账号类型 - 1:投资者 2:机构交易员
  8316. type: integer
  8317. modifierid:
  8318. description: 修改人
  8319. type: integer
  8320. modifytime:
  8321. description: 修改时间
  8322. type: string
  8323. pwdwrongcount:
  8324. description: 密码错误次数
  8325. type: integer
  8326. taaccountrighttype:
  8327. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  8328. type: integer
  8329. unfreezetime:
  8330. description: 账户解冻时间
  8331. type: string
  8332. userid:
  8333. description: 用户ID
  8334. type: integer
  8335. required:
  8336. - loginid
  8337. type: object
  8338. models.MainAccountInfo:
  8339. properties:
  8340. accountid:
  8341. description: 账号id
  8342. type: string
  8343. appid:
  8344. description: AppID
  8345. type: string
  8346. authcode:
  8347. description: 授权码
  8348. type: string
  8349. brokerid:
  8350. description: 经纪商id
  8351. type: string
  8352. fcid:
  8353. description: 期货公司id
  8354. type: integer
  8355. fcname:
  8356. description: 期货公司代码
  8357. type: string
  8358. hedgeaccountcode:
  8359. description: 外部账号代码
  8360. type: string
  8361. hedgeaccountpwd:
  8362. description: 密码
  8363. type: string
  8364. ismain:
  8365. description: 是否主账号
  8366. type: integer
  8367. relateduserid:
  8368. description: 关联用户id
  8369. type: integer
  8370. type: object
  8371. models.Market:
  8372. properties:
  8373. auctionwrtype:
  8374. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  8375. type: integer
  8376. canacceptquote:
  8377. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  8378. type: integer
  8379. cangoodsexercise:
  8380. description: '[期权]是否可现货行权- 0:否 1:是'
  8381. type: integer
  8382. cangoodsexercisetype:
  8383. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  8384. type: integer
  8385. canmanualquotestrike:
  8386. description: 是否可手动报行权价- 0:否 1:是 [期权]
  8387. type: integer
  8388. canmutistage:
  8389. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  8390. type: integer
  8391. canpreexercise:
  8392. description: '[期权]是否可预申报- 0:否 1:是'
  8393. type: integer
  8394. clearinterval:
  8395. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  8396. type: integer
  8397. contracttmp:
  8398. description: 合同模板[荷兰式][竞价式][仓单贸易]
  8399. type: string
  8400. exchareaid:
  8401. description: 所属交易所,可以没有
  8402. type: integer
  8403. goodstype:
  8404. description: 商品类型 - 1:交易商品 2:仓单商品
  8405. type: integer
  8406. hasrebate:
  8407. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  8408. type: integer
  8409. hastradecredit:
  8410. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  8411. type: integer
  8412. haswr:
  8413. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  8414. type: integer
  8415. isdeductmargin:
  8416. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  8417. type: integer
  8418. isrecordsource:
  8419. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  8420. type: integer
  8421. isreleasemargin:
  8422. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  8423. type: integer
  8424. marginformula:
  8425. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  8426. type: integer
  8427. marginformula2:
  8428. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  8429. type: integer
  8430. marketid:
  8431. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  8432. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  8433. type: integer
  8434. marketname:
  8435. description: 市场名称
  8436. type: string
  8437. marketserviceid:
  8438. description: 市场服务ID
  8439. type: integer
  8440. marketstatus:
  8441. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  8442. type: integer
  8443. markettype:
  8444. description: 市场类型- 1:非交易服务 2:交易服务
  8445. type: integer
  8446. matchermode:
  8447. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  8448. type: integer
  8449. openmethod:
  8450. description: 开盘模式 - 0 自动 1手动
  8451. type: integer
  8452. otcuserid:
  8453. description: 场外期权做市商[场外期权]
  8454. type: integer
  8455. outersynctime:
  8456. description: 外部同步时间点(h24:mi:ss)[场外期权]
  8457. type: string
  8458. pendingflag:
  8459. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  8460. type: integer
  8461. pendingtime:
  8462. description: 待开市时间[通道交易-对冲](HH:mm)
  8463. type: string
  8464. performancetempid:
  8465. description: 履约计划模板ID - 作废
  8466. type: integer
  8467. premiumquotemode:
  8468. description: 权利金报价方式 - 1:自动 2:手动
  8469. type: integer
  8470. rebateratio:
  8471. description: 返利比率[竞价式]
  8472. type: number
  8473. reckonorder:
  8474. description: 结算顺序
  8475. type: integer
  8476. reckonpricealgorithm:
  8477. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  8478. 6.卖一价 7.买一卖一均价 8.外部结算价'
  8479. type: integer
  8480. reckonpriceparam:
  8481. description: 结算价参数
  8482. type: integer
  8483. reckontime:
  8484. description: 结算时间[通道交易-对冲](HH:mm)
  8485. type: string
  8486. roleprioritytype:
  8487. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  8488. type: integer
  8489. selllistingauditflag:
  8490. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  8491. type: integer
  8492. trademarkettype:
  8493. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  8494. type: integer
  8495. trademode:
  8496. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8497. 21:竞拍-大宗式 22:受托竞价
  8498. type: integer
  8499. tradeproperty:
  8500. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  8501. 8:场外期权
  8502. type: integer
  8503. tradetype:
  8504. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  8505. type: integer
  8506. required:
  8507. - marketid
  8508. - marketstatus
  8509. - openmethod
  8510. - reckonpricealgorithm
  8511. - trademode
  8512. - tradeproperty
  8513. type: object
  8514. models.Marketrun:
  8515. properties:
  8516. afternexttradedate:
  8517. description: 下下交易日
  8518. type: string
  8519. clearquoteflag:
  8520. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  8521. type: integer
  8522. lastreckondate:
  8523. description: 最新交易日(结算成功)
  8524. type: string
  8525. machinedate:
  8526. description: 机器时间
  8527. type: string
  8528. manualflag:
  8529. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  8530. type: integer
  8531. marketid:
  8532. description: 市场ID
  8533. type: integer
  8534. nexttradedate:
  8535. description: 下一交易日
  8536. type: string
  8537. pretradedate:
  8538. description: 上一交易日
  8539. type: string
  8540. reckonflag:
  8541. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  8542. type: integer
  8543. runstatus:
  8544. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  8545. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  8546. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  8547. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  8548. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  8549. 62.今日免清算
  8550. type: integer
  8551. sectionid:
  8552. description: 时间段号[多时段时用]
  8553. type: integer
  8554. tradedate:
  8555. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  8556. type: string
  8557. tradedate2:
  8558. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  8559. type: string
  8560. updatetime:
  8561. description: 更新时间
  8562. type: string
  8563. required:
  8564. - marketid
  8565. - nexttradedate
  8566. - reckonflag
  8567. - runstatus
  8568. - tradedate
  8569. - tradedate2
  8570. type: object
  8571. models.Messageboard:
  8572. properties:
  8573. contactnum:
  8574. description: 联系电话
  8575. type: string
  8576. createtime:
  8577. description: 创建时间
  8578. type: string
  8579. message:
  8580. description: 留言信息
  8581. type: string
  8582. messageboardid:
  8583. description: 留言簿ID(SEQ_MessageBoard)
  8584. type: integer
  8585. userid:
  8586. description: 用户ID
  8587. type: integer
  8588. required:
  8589. - messageboardid
  8590. type: object
  8591. models.MyCoupon:
  8592. properties:
  8593. accountid:
  8594. description: 资金账户ID
  8595. type: integer
  8596. areauserid:
  8597. description: 所属机构
  8598. type: integer
  8599. conditionvalue:
  8600. description: 条件阈值(可为0)
  8601. type: number
  8602. couponcategroy:
  8603. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  8604. type: integer
  8605. couponname:
  8606. description: 优惠券名称
  8607. type: string
  8608. coupontypeid:
  8609. description: 优惠券类型ID
  8610. type: string
  8611. couponvalue:
  8612. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  8613. type: number
  8614. curfreezeqty:
  8615. description: 期末冻结数量
  8616. type: integer
  8617. curqty:
  8618. description: 期末数量
  8619. type: integer
  8620. isgeneral:
  8621. description: 是否通用券 - 0:否 1:是
  8622. type: integer
  8623. isunusable:
  8624. description: 是否不可用
  8625. type: boolean
  8626. limitedflag:
  8627. description: 是否指定商品 - 0:不限 1:限制
  8628. type: integer
  8629. limitedgoodsids:
  8630. description: 指定商品IDs[逗号分隔,前后加逗号]
  8631. type: string
  8632. orifreezeqty:
  8633. description: 期初冻结数量
  8634. type: integer
  8635. oriqty:
  8636. description: 期初数量
  8637. type: integer
  8638. reasontype:
  8639. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  8640. type: integer
  8641. todaydecrease:
  8642. description: 今日减少
  8643. type: integer
  8644. todayincrease:
  8645. description: 今日增加
  8646. type: integer
  8647. userid:
  8648. description: 用户ID
  8649. type: integer
  8650. userscope:
  8651. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  8652. type: string
  8653. required:
  8654. - accountid
  8655. - coupontypeid
  8656. type: object
  8657. models.MyCouponHold:
  8658. properties:
  8659. accountid:
  8660. description: 资金账户ID
  8661. type: integer
  8662. conditionvalue:
  8663. description: 条件阈值(可为0)
  8664. type: number
  8665. couponcategroy:
  8666. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  8667. type: integer
  8668. couponholdid:
  8669. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  8670. type: string
  8671. couponname:
  8672. description: 优惠券名称
  8673. type: string
  8674. coupontypeid:
  8675. description: 优惠券类型ID - SEQ_COUPONTYPE
  8676. type: string
  8677. couponvalue:
  8678. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  8679. type: number
  8680. createtime:
  8681. description: 创建时间
  8682. type: string
  8683. enddate:
  8684. description: 结束日期
  8685. type: string
  8686. giveapplyid:
  8687. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  8688. type: integer
  8689. holdstatus:
  8690. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  8691. type: integer
  8692. isgeneral:
  8693. description: 是否通用券 - 0:否 1:是
  8694. type: integer
  8695. limitedflag:
  8696. description: 是否指定商品 - 0:不限 1:限制
  8697. type: integer
  8698. limitedgoodsids:
  8699. description: 指定商品IDs[逗号分隔]
  8700. type: string
  8701. qty:
  8702. description: 数量(按1平铺)
  8703. type: integer
  8704. startdate:
  8705. description: 开始日期
  8706. type: string
  8707. userid:
  8708. description: 用户ID
  8709. type: integer
  8710. userscope:
  8711. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  8712. type: string
  8713. required:
  8714. - couponholdid
  8715. type: object
  8716. models.MyUsedCoupon:
  8717. properties:
  8718. accountid:
  8719. description: 资金账户ID(买方)
  8720. type: integer
  8721. conditionvalue:
  8722. description: 条件阈值(可为0)
  8723. type: number
  8724. couponcategroy:
  8725. description: 种类 - 1:现金券 2:折扣券
  8726. type: integer
  8727. couponname:
  8728. description: 优惠券名称
  8729. type: string
  8730. coupontypeid:
  8731. description: 优惠券类型ID(买方)
  8732. type: string
  8733. couponvalue:
  8734. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  8735. type: number
  8736. createtime:
  8737. description: 创建时间
  8738. type: string
  8739. goodsid:
  8740. description: 商品ID
  8741. type: integer
  8742. handlestatus:
  8743. description: 处理状态
  8744. type: integer
  8745. marketid:
  8746. description: 市场ID
  8747. type: integer
  8748. offamount:
  8749. description: 优惠金额
  8750. type: number
  8751. orderid:
  8752. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8753. type: string
  8754. sellaccountid:
  8755. description: 资金账户ID(卖方)
  8756. type: integer
  8757. tradeamount:
  8758. description: 成交金额
  8759. type: number
  8760. tradeid:
  8761. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8762. type: string
  8763. usedqty:
  8764. description: 使用数量
  8765. type: integer
  8766. required:
  8767. - coupontypeid
  8768. - orderid
  8769. type: object
  8770. models.OperationPrimaryMenu:
  8771. properties:
  8772. Children:
  8773. description: 二级功能菜单
  8774. items:
  8775. $ref: '#/definitions/models.OperationSecondaryMenu'
  8776. type: array
  8777. Key:
  8778. description: 菜单KEY
  8779. type: string
  8780. Label:
  8781. description: 菜单标题
  8782. type: string
  8783. type: object
  8784. models.OperationSecondaryMenu:
  8785. properties:
  8786. Key:
  8787. description: 菜单KEY
  8788. type: string
  8789. Label:
  8790. description: 菜单标题
  8791. type: string
  8792. TabList:
  8793. description: 三级功能菜单
  8794. items:
  8795. $ref: '#/definitions/models.OperationTabMenu'
  8796. type: array
  8797. type: object
  8798. models.OperationTabMenu:
  8799. properties:
  8800. Key:
  8801. description: 菜单KEY
  8802. type: string
  8803. Label:
  8804. description: 菜单标题
  8805. type: string
  8806. type: object
  8807. models.PendingAuditBizModel:
  8808. properties:
  8809. accountid:
  8810. description: 现货账户
  8811. type: string
  8812. areaname:
  8813. description: 所属部门
  8814. type: string
  8815. bizid:
  8816. description: 业务ID
  8817. type: string
  8818. bizname:
  8819. description: 业务名称
  8820. type: string
  8821. status:
  8822. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  8823. type: integer
  8824. type:
  8825. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  8826. type: integer
  8827. type: object
  8828. models.QueryErrorInfosRsp:
  8829. properties:
  8830. description:
  8831. description: 异常描述
  8832. type: string
  8833. errorcode:
  8834. description: 异常代码
  8835. type: string
  8836. errorid:
  8837. description: 异常ID
  8838. type: integer
  8839. modulecode:
  8840. description: 所属模块
  8841. type: string
  8842. operatecode:
  8843. description: 所属操作
  8844. type: string
  8845. rownumber:
  8846. description: 行号
  8847. type: string
  8848. required:
  8849. - errorid
  8850. type: object
  8851. models.QueryHedgeOrderDetailRsp:
  8852. properties:
  8853. accountid:
  8854. description: 账户ID
  8855. type: integer
  8856. buyorsell:
  8857. description: 买卖 - 0:买 1:卖
  8858. type: integer
  8859. cancellogincode:
  8860. description: 撤单人
  8861. type: string
  8862. channelbuildtype:
  8863. description: 开平标志 - 0:无 1:建仓 2:平仓
  8864. type: integer
  8865. channelinnerorderstatus:
  8866. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  8867. 9:全部成交
  8868. type: integer
  8869. channeloperatetype:
  8870. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  8871. type: integer
  8872. closetype:
  8873. description: 平仓方式 - 0:无 1:平今 2:平昨
  8874. type: integer
  8875. curexchangerate:
  8876. description: 当前汇率
  8877. type: number
  8878. exchangefullname:
  8879. description: 外部交易所全称
  8880. type: string
  8881. goodscode:
  8882. description: 商品代码(内部)
  8883. type: string
  8884. goodsid:
  8885. description: 商品ID
  8886. type: integer
  8887. goodsname:
  8888. description: 商品名称
  8889. type: string
  8890. marketid:
  8891. description: 市场ID
  8892. type: integer
  8893. openfreezemargin:
  8894. description: 冻结保证金(冻结交易金额)
  8895. type: number
  8896. orderid:
  8897. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8898. type: string
  8899. orderlogincode:
  8900. description: 委托人
  8901. type: string
  8902. orderprice:
  8903. description: 委托价格(账户)
  8904. type: number
  8905. orderqty:
  8906. description: 委托数量
  8907. type: integer
  8908. ordertime:
  8909. description: 委托时间
  8910. type: string
  8911. pricemode:
  8912. description: '取价方式 - 1:市价 2: 限价'
  8913. type: integer
  8914. tradedate:
  8915. description: 交易日(yyyyMMdd)
  8916. type: string
  8917. tradeqty:
  8918. description: 成交数量
  8919. type: integer
  8920. type: object
  8921. models.QueryHedgeTradeDetailRsp:
  8922. properties:
  8923. accountid:
  8924. description: 账号ID
  8925. type: integer
  8926. buyorsell:
  8927. description: 方向 - 0:买 1:卖
  8928. type: integer
  8929. channelbuildtype:
  8930. description: 委托单据类型 0:无 1:建仓 2:平仓
  8931. type: integer
  8932. closecharge:
  8933. description: 平仓手续费(账户)
  8934. type: number
  8935. closecharge2:
  8936. description: 平仓手续费(商品)
  8937. type: number
  8938. closepl:
  8939. description: 平仓盈亏(账户)
  8940. type: number
  8941. closepl2:
  8942. description: 平仓盈亏(商品)
  8943. type: number
  8944. closepl3:
  8945. description: 平仓盈亏(账户)(逐笔)
  8946. type: number
  8947. closepl4:
  8948. description: 平仓盈亏(商品)(逐笔)
  8949. type: number
  8950. closetype:
  8951. description: 平仓方式 - 0:无 1:平今 2:平昨
  8952. type: integer
  8953. curexchangerate:
  8954. description: 当前汇率
  8955. type: number
  8956. exchangefullname:
  8957. description: 外部交易所全称
  8958. type: string
  8959. goodscode:
  8960. description: 商品代码(内部)
  8961. type: string
  8962. goodsid:
  8963. description: 商品ID
  8964. type: integer
  8965. goodsname:
  8966. description: 商品名称
  8967. type: string
  8968. marketid:
  8969. description: 市场ID
  8970. type: integer
  8971. opencharge:
  8972. description: 建仓手续费(账户)
  8973. type: number
  8974. opencharge2:
  8975. description: 建仓手续费(商品)
  8976. type: number
  8977. orderid:
  8978. description: 委托单号
  8979. type: string
  8980. orderlogincode:
  8981. description: 委托人
  8982. type: string
  8983. tradeamount:
  8984. description: 成交金额(账户)
  8985. type: number
  8986. tradedate:
  8987. description: 交易日(yyyyMMdd)
  8988. type: string
  8989. tradeid:
  8990. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8991. type: string
  8992. tradeprice:
  8993. description: 成交价格
  8994. type: number
  8995. tradeqty:
  8996. description: 成交数量
  8997. type: integer
  8998. tradetime:
  8999. description: 成交时间
  9000. type: string
  9001. tradetype:
  9002. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  9003. type: integer
  9004. type: object
  9005. models.QuotePrimaryMenu:
  9006. properties:
  9007. Index:
  9008. description: 序号
  9009. type: integer
  9010. Key:
  9011. description: 键名
  9012. type: string
  9013. Name:
  9014. description: 菜单名称
  9015. type: string
  9016. SubMenus:
  9017. description: 子菜单
  9018. items:
  9019. $ref: '#/definitions/models.QuoteSecondaryMenu'
  9020. type: array
  9021. SubTitleType:
  9022. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  9023. type: integer
  9024. TradeModes:
  9025. description: 包含市场交易类型
  9026. type: string
  9027. type: object
  9028. models.QuoteSecondaryMenu:
  9029. properties:
  9030. ExExchangeCode:
  9031. description: 外部交易所代码
  9032. type: string
  9033. ExExchangeID:
  9034. description: 外部交易所ID
  9035. type: integer
  9036. GoodsGroupIDs:
  9037. description: 商品组ID列表
  9038. items:
  9039. type: integer
  9040. type: array
  9041. Index:
  9042. description: 序号
  9043. type: integer
  9044. MarketID:
  9045. description: 市场ID
  9046. type: integer
  9047. MenuTitle:
  9048. description: 菜单标题(市场名称或外部交易所名称)
  9049. type: string
  9050. TradeMode:
  9051. description: 交易模式
  9052. type: integer
  9053. type: object
  9054. models.RelatedGoodsEx:
  9055. properties:
  9056. goodscode:
  9057. description: 商品代码
  9058. type: string
  9059. goodsid:
  9060. description: 商品id
  9061. type: integer
  9062. goodsname:
  9063. description: 商品名称
  9064. type: string
  9065. type: object
  9066. models.SearchGoods:
  9067. properties:
  9068. goodscode:
  9069. description: 商品代码(内部)
  9070. type: string
  9071. goodsid:
  9072. description: 商品ID(自增ID SEQ_GOODS)
  9073. type: integer
  9074. goodsname:
  9075. description: 商品名称
  9076. type: string
  9077. marketid:
  9078. description: 所属市场ID
  9079. type: integer
  9080. marketname:
  9081. description: 市场名称
  9082. type: string
  9083. trademode:
  9084. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9085. 21:竞拍-大宗式 22:受托竞价
  9086. type: integer
  9087. required:
  9088. - goodscode
  9089. - goodsid
  9090. - goodsname
  9091. - marketid
  9092. - trademode
  9093. type: object
  9094. models.Systemparam:
  9095. properties:
  9096. loginid:
  9097. description: 更新用户账号,登录账号
  9098. type: string
  9099. modifyflag:
  9100. description: 修改标志0 不允许修改 1 允许修改
  9101. type: integer
  9102. paramcode:
  9103. description: 参数代码
  9104. type: string
  9105. paramname:
  9106. description: 参数名
  9107. type: string
  9108. paramtype:
  9109. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  9110. type: integer
  9111. paramvalue:
  9112. description: 参数值
  9113. type: string
  9114. paramvalue2:
  9115. description: 参数值(CLOB)
  9116. type: string
  9117. regexpress:
  9118. description: 正则表达式
  9119. type: string
  9120. remark:
  9121. description: 备注
  9122. type: string
  9123. serverip:
  9124. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  9125. type: string
  9126. showflag:
  9127. description: 是否显示0 不显示 1 显示
  9128. type: integer
  9129. updatetime:
  9130. description: 更新时间
  9131. type: string
  9132. userid:
  9133. description: 更新用户ID
  9134. type: integer
  9135. required:
  9136. - paramcode
  9137. type: object
  9138. models.Szdz3convertconfig:
  9139. properties:
  9140. canin:
  9141. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  9142. type: integer
  9143. canout:
  9144. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  9145. type: integer
  9146. converttype:
  9147. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  9148. 6:交易转花生米(不设置)
  9149. type: integer
  9150. createtime:
  9151. description: 创建时间
  9152. type: string
  9153. creatorid:
  9154. description: 创建人
  9155. type: integer
  9156. daymaxvalue:
  9157. description: 当日最大转入限制
  9158. type: number
  9159. freezedays:
  9160. description: 冻结天数 [5:花生米转交易]
  9161. type: integer
  9162. innergoodsid:
  9163. description: 内部商品ID[交易]
  9164. type: integer
  9165. inratio:
  9166. description: 目标值
  9167. type: integer
  9168. modifierid:
  9169. description: 修改人
  9170. type: integer
  9171. modifytime:
  9172. description: 修改时间
  9173. type: string
  9174. outergoodscode:
  9175. description: 外部商品代码[JD\PD]
  9176. type: string
  9177. outratio:
  9178. description: 源值
  9179. type: integer
  9180. pddecimalplace:
  9181. description: PD小数位
  9182. type: integer
  9183. timemaxvalue:
  9184. description: 单次最大转入限制
  9185. type: number
  9186. timeminvalue:
  9187. description: 单次最小转入限制
  9188. type: number
  9189. required:
  9190. - converttype
  9191. - innergoodsid
  9192. - outergoodscode
  9193. type: object
  9194. models.Szdz3searchwhitelist:
  9195. properties:
  9196. createtime:
  9197. description: 创建时间
  9198. type: string
  9199. creatorid:
  9200. description: 创建人
  9201. type: integer
  9202. modifierid:
  9203. description: 修改人
  9204. type: integer
  9205. modifytime:
  9206. description: 修改时间
  9207. type: string
  9208. userid:
  9209. description: 用户ID
  9210. type: integer
  9211. required:
  9212. - userid
  9213. type: object
  9214. models.Taaccount:
  9215. properties:
  9216. accountflag:
  9217. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  9218. type: integer
  9219. accountid:
  9220. description: 资金账户ID
  9221. type: integer
  9222. accountname:
  9223. description: 账户名称
  9224. type: string
  9225. balance:
  9226. description: 期初余额
  9227. type: number
  9228. capitalbalance:
  9229. description: 本金余额[外部子账户实际出入金余额]
  9230. type: number
  9231. changeflag:
  9232. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  9233. type: integer
  9234. changetime:
  9235. description: 账户状态变更时间
  9236. type: string
  9237. closepl:
  9238. description: 今日平仓盈亏
  9239. type: number
  9240. creditdecrease:
  9241. description: 今日授信减少
  9242. type: number
  9243. creditincrease:
  9244. description: 今日授信增加
  9245. type: number
  9246. currencyid:
  9247. description: 货币ID
  9248. type: integer
  9249. currentbalance:
  9250. description: 期末余额
  9251. type: number
  9252. freezecharge:
  9253. description: 手续费冻结
  9254. type: number
  9255. freezemargin:
  9256. description: 冻结保证金
  9257. type: number
  9258. fromaccountid:
  9259. description: 所属上级账户
  9260. type: integer
  9261. inamount:
  9262. description: 今日入金金额(包括三方入金)
  9263. type: number
  9264. ismain:
  9265. description: 是否母账号 0:不是母账户 1:是母账户
  9266. type: integer
  9267. ismarketaccount:
  9268. description: 是否机构接单账号 0:不是 1:是
  9269. type: integer
  9270. isreckonaccount:
  9271. description: 是否机构分润账号 0:不是 1:是
  9272. type: integer
  9273. mortgagecredit:
  9274. description: 授信金额
  9275. type: number
  9276. orifreezecharge:
  9277. description: 期初手续费冻结
  9278. type: number
  9279. orifreezemargin:
  9280. description: 期初冻结保证金
  9281. type: number
  9282. orimortgagecredit:
  9283. description: 期初授信金额
  9284. type: number
  9285. oriothercredit:
  9286. description: 期初其它授信金额
  9287. type: number
  9288. oriotherfreezemargin:
  9289. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  9290. type: number
  9291. orioutamountfreeze:
  9292. description: 期初出金冻结
  9293. type: number
  9294. oriusedmargin:
  9295. description: 期初占用保证金
  9296. type: number
  9297. othercredit:
  9298. description: 其它授信金额
  9299. type: number
  9300. othercreditdecrease:
  9301. description: 今日其它授信减少
  9302. type: number
  9303. othercreditincrease:
  9304. description: 今日其它授信增加
  9305. type: number
  9306. otherfreezemargin:
  9307. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  9308. type: number
  9309. otherincome:
  9310. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  9311. type: number
  9312. otherpay:
  9313. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  9314. type: number
  9315. outamount:
  9316. description: 今日出金金额(包括三方出金)
  9317. type: number
  9318. outamountfreeze:
  9319. description: 出金冻结
  9320. type: number
  9321. outthreshold:
  9322. description: 出金阈值
  9323. type: number
  9324. parentaccountid:
  9325. description: 所属根账号
  9326. type: integer
  9327. paycharge:
  9328. description: 今日手续费支出
  9329. type: number
  9330. relatedaccountstatus:
  9331. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  9332. type: integer
  9333. relateduserid:
  9334. description: 关联用户
  9335. type: integer
  9336. serivcegroup:
  9337. description: 服务分组
  9338. type: integer
  9339. signstatus:
  9340. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  9341. type: integer
  9342. sublevelpath:
  9343. description: 账号层级路径(逗号分隔,首尾加逗号)
  9344. type: string
  9345. taaccounttype:
  9346. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  9347. type: integer
  9348. thirdinamount:
  9349. description: 今日三方入金
  9350. type: number
  9351. thirdoutamount:
  9352. description: 今日三方出金
  9353. type: number
  9354. tradestatus:
  9355. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9356. type: integer
  9357. tradestatuschangetime:
  9358. description: 激活时间
  9359. type: string
  9360. transferamount:
  9361. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  9362. type: number
  9363. usedmargin:
  9364. description: 占用保证金
  9365. type: number
  9366. userid:
  9367. description: 用户ID
  9368. type: integer
  9369. required:
  9370. - accountid
  9371. - userid
  9372. type: object
  9373. models.Tablecolumnconfig:
  9374. properties:
  9375. aligntype:
  9376. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  9377. type: integer
  9378. autoid:
  9379. description: AutoID
  9380. type: integer
  9381. columnfield:
  9382. description: 列字段
  9383. type: string
  9384. columntitle:
  9385. description: 列Title
  9386. type: string
  9387. columnwidth:
  9388. description: 列宽
  9389. type: string
  9390. formatterstring:
  9391. description: 格式化字符
  9392. type: string
  9393. formattertype:
  9394. description: 格式化类型
  9395. type: string
  9396. groupname:
  9397. description: 表头分组名称
  9398. type: string
  9399. isshow:
  9400. description: 是否显示 - 0:不显示 1:显示
  9401. type: integer
  9402. needsummary:
  9403. description: 是否需要汇总 - 0:不需要 1:需要
  9404. type: integer
  9405. orderindex:
  9406. description: 顺序
  9407. type: integer
  9408. remark:
  9409. description: 备注
  9410. type: string
  9411. summarytype:
  9412. description: 汇总类型 - 1:加总 2:最后一个
  9413. type: integer
  9414. tablekey:
  9415. description: 列表Key
  9416. type: string
  9417. required:
  9418. - autoid
  9419. type: object
  9420. models.Useraccount:
  9421. properties:
  9422. accountname:
  9423. description: 账户名称(机构名称)
  9424. type: string
  9425. accountstatus:
  9426. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  9427. type: integer
  9428. auditremark:
  9429. description: 审核备注
  9430. type: string
  9431. audittime:
  9432. description: 审核时间
  9433. type: string
  9434. audituserid:
  9435. description: 审核人
  9436. type: integer
  9437. broker:
  9438. description: 所属经纪人ID
  9439. type: integer
  9440. canceltime:
  9441. description: 销户时间
  9442. type: string
  9443. canceluserid:
  9444. description: 销户人
  9445. type: integer
  9446. createtime:
  9447. description: 创建时间
  9448. type: string
  9449. creatorid:
  9450. description: 创建人
  9451. type: integer
  9452. hasauth:
  9453. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  9454. type: integer
  9455. isanonymous:
  9456. description: 是否匿名下单 - 0:否 1:是
  9457. type: integer
  9458. maxinvestornum:
  9459. description: 最大用户数(经纪会员下投资者个数)
  9460. type: integer
  9461. memberuserid:
  9462. description: 所属会员ID
  9463. type: integer
  9464. modifierid:
  9465. description: 修改人
  9466. type: integer
  9467. modifyremark:
  9468. description: 变更备注
  9469. type: string
  9470. modifystatus:
  9471. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  9472. type: integer
  9473. modifytime:
  9474. description: 修改时间
  9475. type: string
  9476. parentuserid:
  9477. description: 所属机构ID
  9478. type: integer
  9479. reckonaccountid:
  9480. description: 默认结算资金账号ID(机构分润使用) 作废
  9481. type: integer
  9482. refercount:
  9483. description: 推荐总人数
  9484. type: integer
  9485. refereeuserid:
  9486. description: 推荐人ID
  9487. type: integer
  9488. refernum:
  9489. description: 推荐码
  9490. type: string
  9491. subarealevelpath:
  9492. description: 子机构层级路径(逗号分隔,首尾加逗号)
  9493. type: string
  9494. userid:
  9495. description: 用户ID
  9496. type: integer
  9497. usertype:
  9498. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  9499. type: integer
  9500. required:
  9501. - userid
  9502. type: object
  9503. models.Userfavoritegoods:
  9504. properties:
  9505. goodsid:
  9506. description: 商品ID
  9507. type: integer
  9508. required:
  9509. - goodsid
  9510. type: object
  9511. models.Userinfo:
  9512. properties:
  9513. address:
  9514. description: 地址
  9515. type: string
  9516. attachment1:
  9517. description: 附件1
  9518. type: string
  9519. attachment2:
  9520. description: 附件2
  9521. type: string
  9522. bankaccount:
  9523. description: 银行帐号 (加密存储)
  9524. type: string
  9525. bankaccountname:
  9526. description: 收款人名称
  9527. type: string
  9528. bankcardfrontphotourl:
  9529. description: 银行卡正面照地址
  9530. type: string
  9531. bankid:
  9532. description: 银行编码
  9533. type: string
  9534. bankname:
  9535. description: 银行名称
  9536. type: string
  9537. biznature:
  9538. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  9539. type: integer
  9540. bizscope:
  9541. description: 企业经营范围(企业)
  9542. type: string
  9543. cardbackphotourl:
  9544. description: 证件背面图片地址
  9545. type: string
  9546. cardfrontphotourl:
  9547. description: 证件正面图片地址
  9548. type: string
  9549. cardnum:
  9550. description: 证件号码(加密存储)
  9551. type: string
  9552. cardtypeid:
  9553. description: 证件类型ID
  9554. type: integer
  9555. cityid:
  9556. description: 市
  9557. type: integer
  9558. company:
  9559. description: 公司(个人)
  9560. type: string
  9561. contactname:
  9562. description: 联系人
  9563. type: string
  9564. countryid:
  9565. description: 国家
  9566. type: integer
  9567. createtime:
  9568. description: 创建时间
  9569. type: string
  9570. creatorid:
  9571. description: 创建人
  9572. type: integer
  9573. customername:
  9574. description: 客户名称(企业名称)
  9575. type: string
  9576. districtid:
  9577. description: 地区
  9578. type: integer
  9579. email:
  9580. description: 邮件(加密存储)
  9581. type: string
  9582. fax:
  9583. description: 传真(加密存储)
  9584. type: string
  9585. halfbodyphotourl:
  9586. description: 半身照地址
  9587. type: string
  9588. hasencrypt:
  9589. description: 数据是否已加密 - 0:未加密 1:已加密
  9590. type: integer
  9591. headurl:
  9592. description: 头像地址
  9593. type: string
  9594. legalcardbackphotourl:
  9595. description: 法人身份证背面照地址
  9596. type: string
  9597. legalcardfrontphotourl:
  9598. description: 法人身份证正面照地址
  9599. type: string
  9600. legalpersonname:
  9601. description: 法人姓名(企业)
  9602. type: string
  9603. mobile:
  9604. description: 手机号码(加密存储)
  9605. type: string
  9606. mobile2:
  9607. description: 手机号码[明文-尚志]
  9608. type: string
  9609. modifierid:
  9610. description: 修改人
  9611. type: integer
  9612. modifiertime:
  9613. description: 修改时间
  9614. type: string
  9615. needinvoice:
  9616. description: 是否需要发票 - 0:不需要 1:需要
  9617. type: integer
  9618. nickname:
  9619. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  9620. type: string
  9621. openmode:
  9622. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  9623. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  9624. type: integer
  9625. otherurl:
  9626. description: 其它图片地址[使用分号分隔]
  9627. type: string
  9628. postalcode:
  9629. description: 邮政编码
  9630. type: string
  9631. provinceid:
  9632. description: 省
  9633. type: integer
  9634. qq:
  9635. description: QQ(加密存储
  9636. type: string
  9637. remark:
  9638. description: 备注
  9639. type: string
  9640. sex:
  9641. description: '用户性别 0: 女 1: 男'
  9642. type: integer
  9643. signpdfurl:
  9644. description: 签约pdf文件
  9645. type: string
  9646. telphone:
  9647. description: 联系电话(加密存储)
  9648. type: string
  9649. userid:
  9650. description: 用户ID
  9651. type: integer
  9652. userinfotype:
  9653. description: 用户信息类型 - 1:个人 2:企业
  9654. type: integer
  9655. userstatus:
  9656. description: 用户状态 - 1:正常 2:注销
  9657. type: integer
  9658. usertype:
  9659. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  9660. type: integer
  9661. wechat:
  9662. description: 微信(加密存储)
  9663. type: string
  9664. wskhinfo:
  9665. description: 开户申请信息(JSON)
  9666. type: string
  9667. required:
  9668. - userid
  9669. type: object
  9670. models.WRSConverTDetail:
  9671. properties:
  9672. convertratio:
  9673. description: 套保系数
  9674. type: number
  9675. deliverygoodscode:
  9676. description: 现货商品代码
  9677. type: string
  9678. deliverygoodsid:
  9679. description: 现货品种ID
  9680. type: integer
  9681. deliverygoodsname:
  9682. description: 现货商品名称
  9683. type: string
  9684. enumdicname:
  9685. description: 单位名称
  9686. type: string
  9687. goodsunitid:
  9688. description: 套保品种单位id
  9689. type: integer
  9690. middlegoodscode:
  9691. description: 套保品种代码
  9692. type: string
  9693. middlegoodsid:
  9694. description: 套保品种ID
  9695. type: integer
  9696. middlegoodsname:
  9697. description: 套保品种名称
  9698. type: string
  9699. modifytime:
  9700. description: 修改时间
  9701. type: string
  9702. wrstandardid:
  9703. description: 品类ID
  9704. type: integer
  9705. type: object
  9706. models.WRStandardInfo:
  9707. properties:
  9708. areauserid:
  9709. description: 所属机构
  9710. type: integer
  9711. convertfactor:
  9712. description: 标仓系数
  9713. type: number
  9714. createtime:
  9715. description: 创建时间
  9716. type: string
  9717. creatorid:
  9718. description: 创建人
  9719. type: integer
  9720. deliverygoodsid:
  9721. description: 品种ID
  9722. type: integer
  9723. deliverygoodsname:
  9724. description: 交割商品名称
  9725. type: string
  9726. factoryitemjson:
  9727. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  9728. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  9729. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  9730. 逗号分隔'
  9731. type: string
  9732. isvalid:
  9733. description: 是否有效 - 0:无效 1:有效
  9734. type: integer
  9735. minivalue:
  9736. description: 最小变动值
  9737. type: integer
  9738. minivaluedp:
  9739. description: 最小变动值小数位
  9740. type: integer
  9741. realminivalue:
  9742. description: 实际最小变动值
  9743. type: integer
  9744. realminivaluedp:
  9745. description: 实际最小变动值小数位
  9746. type: integer
  9747. remark:
  9748. description: 备注
  9749. type: string
  9750. unitid:
  9751. description: 单位ID
  9752. type: integer
  9753. unitname:
  9754. description: 单位
  9755. type: string
  9756. updatetime:
  9757. description: 更新时间
  9758. type: string
  9759. updatorid:
  9760. description: 更新人
  9761. type: integer
  9762. wrsstatus:
  9763. description: 状态 - 作废 - 0:未激活 1:正常
  9764. type: integer
  9765. wrstandardcode:
  9766. description: 现货品类代码
  9767. type: string
  9768. wrstandardid:
  9769. description: 现货品类ID(SEQ_WRSTANDARD)
  9770. type: integer
  9771. wrstandardname:
  9772. description: 现货品类名称
  9773. type: string
  9774. required:
  9775. - wrstandardid
  9776. type: object
  9777. models.Warehouseinfo:
  9778. properties:
  9779. address:
  9780. description: 详细地址
  9781. type: string
  9782. areauserid:
  9783. description: 所属机构
  9784. type: integer
  9785. autoid:
  9786. description: 自增ID
  9787. type: integer
  9788. cityid:
  9789. description: 市
  9790. type: integer
  9791. contactname:
  9792. description: 联系人
  9793. type: string
  9794. contactnum:
  9795. description: 联系电话
  9796. type: string
  9797. countryid:
  9798. description: 国家
  9799. type: integer
  9800. createtime:
  9801. description: 创建时间
  9802. type: string
  9803. districtid:
  9804. description: 区
  9805. type: integer
  9806. hasvideo:
  9807. description: 是否有视频 - 0:无 1:有
  9808. type: integer
  9809. provinceid:
  9810. description: 省
  9811. type: integer
  9812. remark:
  9813. description: 审核备注
  9814. type: string
  9815. videourl:
  9816. description: 视频地址
  9817. type: string
  9818. warehousecode:
  9819. description: 仓库代码
  9820. type: string
  9821. warehousename:
  9822. description: 仓库名称
  9823. type: string
  9824. warehousestatus:
  9825. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  9826. type: integer
  9827. warehousetype:
  9828. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  9829. type: integer
  9830. required:
  9831. - autoid
  9832. - warehousecode
  9833. type: object
  9834. order.QueryHisTradeDetailRsp:
  9835. properties:
  9836. accountid:
  9837. description: 账户ID[报价币种]
  9838. type: integer
  9839. buildtype:
  9840. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  9841. type: integer
  9842. buyorsell:
  9843. description: 方向 - 0:买 1:卖
  9844. type: integer
  9845. charge:
  9846. description: 手续费
  9847. type: number
  9848. closecharge:
  9849. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  9850. type: number
  9851. closeexchagechargevalue:
  9852. description: 平仓交易所手续费设置值
  9853. type: number
  9854. closefeealgorithm:
  9855. description: 平仓手续费收取方式 1:比率 2:固定
  9856. type: integer
  9857. closememberchargevalue:
  9858. description: 平仓会员手续费设置值
  9859. type: number
  9860. closepl:
  9861. description: 平仓盈亏
  9862. type: number
  9863. closepl2:
  9864. description: 平仓盈亏[逐笔]
  9865. type: number
  9866. closeqty:
  9867. description: 平仓数量(先建后平操作 需要记录)
  9868. type: integer
  9869. creditamount:
  9870. description: 授信金额
  9871. type: number
  9872. gcaccountid:
  9873. description: 账户ID[合约币种]
  9874. type: integer
  9875. goodscode:
  9876. description: 商品代码
  9877. type: string
  9878. goodsid:
  9879. description: 商品ID
  9880. type: integer
  9881. goodsname:
  9882. description: 商品名称
  9883. type: string
  9884. histradedate:
  9885. description: 历史交易日
  9886. type: string
  9887. intclosepl:
  9888. description: 整型盈亏(用于交易结算试算平衡-收益权)
  9889. type: integer
  9890. isconfirmexercise:
  9891. description: 是否确认行权- 0:否 1:是
  9892. type: integer
  9893. ismain:
  9894. description: 是否主单 - 0:不是 1:是
  9895. type: integer
  9896. ispreexercise:
  9897. description: 是否预申报- 0:否 1:是
  9898. type: integer
  9899. isreckoned:
  9900. description: 是否结算 - 0:未结算 1:已结算
  9901. type: integer
  9902. isvaliddata:
  9903. description: 是否有效 - 0:无效 1:有效
  9904. type: integer
  9905. listingselecttype:
  9906. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  9907. type: integer
  9908. marketid:
  9909. description: 市场ID
  9910. type: integer
  9911. marketname:
  9912. description: 市场名称
  9913. type: string
  9914. matchaccountid:
  9915. description: 对手账号id
  9916. type: integer
  9917. memberuserid:
  9918. description: 会员id 个人投资者 需要填写
  9919. type: integer
  9920. opencharge:
  9921. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  9922. type: number
  9923. openexchagechargevalue:
  9924. description: 建仓交易所手续费设置值
  9925. type: number
  9926. openfeealgorithm:
  9927. description: 建仓手续费收取方式 1:比率 2:固定
  9928. type: integer
  9929. openmemberchargevalue:
  9930. description: 建仓会员手续费设置值
  9931. type: number
  9932. openqty:
  9933. description: 开仓数量(先建后平操作 需要记录)
  9934. type: integer
  9935. optiontype:
  9936. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  9937. type: integer
  9938. orderid:
  9939. description: 委托单号
  9940. type: string
  9941. performanceplanid:
  9942. description: 履约计划ID[期权]
  9943. type: integer
  9944. performancestatus:
  9945. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  9946. type: integer
  9947. preexerciseprice:
  9948. description: 预申报价格
  9949. type: number
  9950. premium:
  9951. description: 权利金 - [持仓单的权利金]
  9952. type: number
  9953. relatedouttradeid:
  9954. description: 关联外部成交单ID
  9955. type: integer
  9956. status:
  9957. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  9958. type: integer
  9959. tradeamount:
  9960. description: 成交金额[账户币种,用于所有权]
  9961. type: number
  9962. tradedate:
  9963. description: 交易日(yyyyMMdd)
  9964. type: string
  9965. tradeid:
  9966. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9967. type: string
  9968. trademode:
  9969. description: 交易模式
  9970. type: integer
  9971. tradeprice:
  9972. description: 成交价格
  9973. type: number
  9974. tradeproperty:
  9975. description: 交易属性
  9976. type: integer
  9977. tradeqty:
  9978. description: 成交数量
  9979. type: integer
  9980. tradetime:
  9981. description: 成交时间
  9982. type: string
  9983. tradetype:
  9984. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  9985. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  9986. type: integer
  9987. required:
  9988. - accountid
  9989. - buyorsell
  9990. - goodsid
  9991. - histradedate
  9992. - marketid
  9993. - memberuserid
  9994. - orderid
  9995. - tradeamount
  9996. - tradedate
  9997. - tradeid
  9998. - tradeprice
  9999. - tradeqty
  10000. - tradetime
  10001. type: object
  10002. order.QueryHisTradeOrderDetailRsp:
  10003. properties:
  10004. accountid:
  10005. description: 账户ID[报价币种]
  10006. type: integer
  10007. buildtype:
  10008. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  10009. type: integer
  10010. buyorsell:
  10011. description: 买卖 - 0:买 1:卖
  10012. type: integer
  10013. cancelorderid:
  10014. description: 撤单单号(撤单时填写)
  10015. type: string
  10016. cancelqty:
  10017. description: 撤单数量
  10018. type: integer
  10019. clientordertime:
  10020. description: 客户端委托时间
  10021. type: string
  10022. clientticket:
  10023. description: 客户端流水号
  10024. type: string
  10025. clienttype:
  10026. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  10027. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  10028. type: integer
  10029. closeexchagechargevalue:
  10030. description: 平仓交易所手续费设置值
  10031. type: number
  10032. closefeealgorithm:
  10033. description: 平仓手续费收取方式 1:比率 2:固定
  10034. type: integer
  10035. closefreezecharge:
  10036. description: 平仓冻结手续费(先建后平操作,需要记录)
  10037. type: number
  10038. closememberchargevalue:
  10039. description: 平仓会员手续费设置值
  10040. type: number
  10041. closeqty:
  10042. description: 平仓数量(先建后平操作 需要记录)
  10043. type: integer
  10044. closetradeqty:
  10045. description: 平仓成交数量(先建后平操作,需要记录)
  10046. type: integer
  10047. closeunfreezecharge:
  10048. description: 平仓解冻手续费(先建后平操作,需要记录)
  10049. type: number
  10050. delistingtype:
  10051. description: 摘牌类型 - 1:价格最优 2:点选成交
  10052. type: integer
  10053. freezecharge:
  10054. description: 冻结手续费
  10055. type: number
  10056. freezemargin:
  10057. description: 冻结保证金(冻结交易金额)
  10058. type: number
  10059. gcaccountid:
  10060. description: 账户ID[合约币种]
  10061. type: integer
  10062. goodscode:
  10063. description: 商品代码
  10064. type: string
  10065. goodsid:
  10066. description: 商品ID
  10067. type: integer
  10068. goodsname:
  10069. description: 商品名称
  10070. type: string
  10071. histradedate:
  10072. description: 历史交易日
  10073. type: string
  10074. isconfirmexercise:
  10075. description: 是否确认行权- 0:否 1:是
  10076. type: integer
  10077. ispreexercise:
  10078. description: 是否预申报- 0:否 1:是
  10079. type: integer
  10080. isvaliddata:
  10081. description: 是否有效 - 0:无效 1:有效
  10082. type: integer
  10083. listingselecttype:
  10084. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  10085. type: integer
  10086. marginalgorithm:
  10087. description: 保证金收取方式 1:比率 2:固定
  10088. type: integer
  10089. marginvalue:
  10090. description: 即市保证金设置值
  10091. type: number
  10092. marketid:
  10093. description: 市场ID
  10094. type: integer
  10095. marketmaxsub:
  10096. description: 市价最大偏移范围
  10097. type: number
  10098. marketname:
  10099. description: 市场名称
  10100. type: string
  10101. memberuserid:
  10102. description: 所属会员UserID
  10103. type: integer
  10104. openexchagechargevalue:
  10105. description: 建仓交易所手续费设置值
  10106. type: number
  10107. openfeealgorithm:
  10108. description: 建仓手续费收取方式 1:比率 2:固定
  10109. type: integer
  10110. openfreezecharge:
  10111. description: 开仓冻结手续费(先建后平操作,需要记录)
  10112. type: number
  10113. openmemberchargevalue:
  10114. description: 建仓会员手续费设置值
  10115. type: number
  10116. openqty:
  10117. description: 开仓数量(先建后平操作,需要记录)
  10118. type: integer
  10119. opentradeqty:
  10120. description: 开仓成交数量(先建后平操作,需要记录)
  10121. type: integer
  10122. openunfreezecharge:
  10123. description: 开仓解冻手续费(先建后平操作,需要记录)
  10124. type: number
  10125. operatetype:
  10126. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  10127. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  10128. 15:管理端协议转让
  10129. type: integer
  10130. operatorid:
  10131. description: 登录账号(LoginID)
  10132. type: integer
  10133. optiontype:
  10134. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  10135. type: integer
  10136. orderid:
  10137. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10138. type: string
  10139. orderprice:
  10140. description: 委托价格
  10141. type: number
  10142. orderqty:
  10143. description: 委托数量
  10144. type: integer
  10145. ordersrc:
  10146. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  10147. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  10148. type: integer
  10149. orderstatus:
  10150. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  10151. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  10152. 16:成交失败违约(荷兰式竞拍专用)
  10153. type: integer
  10154. ordertime:
  10155. description: 委托时间
  10156. type: string
  10157. preexerciseprice:
  10158. description: 预申报价格
  10159. type: number
  10160. premium:
  10161. description: 权利金
  10162. type: number
  10163. preorderid:
  10164. description: 关联预埋单号(止盈止损单时填写)
  10165. type: string
  10166. pricemode:
  10167. description: '取价方式 - 1:市价 2: 限价'
  10168. type: integer
  10169. quoteid:
  10170. description: 报价单ID
  10171. type: integer
  10172. relatedid:
  10173. description: 关联单号(交割单)
  10174. type: string
  10175. retcode:
  10176. description: 错误代码
  10177. type: integer
  10178. sessionid:
  10179. description: 会话ID
  10180. type: integer
  10181. tradedate:
  10182. description: 交易日(yyyyMMdd)
  10183. type: string
  10184. trademode:
  10185. description: 交易模式
  10186. type: integer
  10187. tradeproperty:
  10188. description: 交易属性
  10189. type: integer
  10190. tradeqty:
  10191. description: 成交数量
  10192. type: integer
  10193. unfreezecharge:
  10194. description: 解冻手续费
  10195. type: number
  10196. unfreezemargin:
  10197. description: 解冻保证金
  10198. type: number
  10199. updatetime:
  10200. description: 更新时间
  10201. type: string
  10202. uuid:
  10203. description: 发起端唯一id
  10204. type: string
  10205. validtime:
  10206. description: 有效期限
  10207. type: string
  10208. validtype:
  10209. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  10210. type: integer
  10211. volumetype:
  10212. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  10213. type: integer
  10214. required:
  10215. - accountid
  10216. - buildtype
  10217. - buyorsell
  10218. - goodsid
  10219. - histradedate
  10220. - marketid
  10221. - memberuserid
  10222. - operatetype
  10223. - orderid
  10224. - orderqty
  10225. - ordertime
  10226. - pricemode
  10227. - tradedate
  10228. - validtype
  10229. type: object
  10230. order.QueryTradeDetailRsp:
  10231. properties:
  10232. accountid:
  10233. description: 账户ID[报价币种]
  10234. type: integer
  10235. buildtype:
  10236. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  10237. type: integer
  10238. buyorsell:
  10239. description: 方向 - 0:买 1:卖
  10240. type: integer
  10241. charge:
  10242. description: 手续费
  10243. type: number
  10244. closecharge:
  10245. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  10246. type: number
  10247. closeexchagechargevalue:
  10248. description: 平仓交易所手续费设置值
  10249. type: number
  10250. closefeealgorithm:
  10251. description: 平仓手续费收取方式 1:比率 2:固定
  10252. type: integer
  10253. closememberchargevalue:
  10254. description: 平仓会员手续费设置值
  10255. type: number
  10256. closepl:
  10257. description: 平仓盈亏
  10258. type: number
  10259. closepl2:
  10260. description: 平仓盈亏[逐笔]
  10261. type: number
  10262. closeqty:
  10263. description: 平仓数量(先建后平操作 需要记录)
  10264. type: integer
  10265. creditamount:
  10266. description: 授信金额
  10267. type: number
  10268. gcaccountid:
  10269. description: 账户ID[合约币种]
  10270. type: integer
  10271. goodscode:
  10272. description: 商品代码
  10273. type: string
  10274. goodsid:
  10275. description: 商品ID
  10276. type: integer
  10277. goodsname:
  10278. description: 商品名称
  10279. type: string
  10280. intclosepl:
  10281. description: 整型盈亏(用于交易结算试算平衡-收益权)
  10282. type: integer
  10283. isconfirmexercise:
  10284. description: 是否确认行权- 0:否 1:是
  10285. type: integer
  10286. ismain:
  10287. description: 是否主单 - 0:不是 1:是
  10288. type: integer
  10289. ispreexercise:
  10290. description: 是否预申报- 0:否 1:是
  10291. type: integer
  10292. isreckoned:
  10293. description: 是否结算 - 0:未结算 1:已结算
  10294. type: integer
  10295. listingselecttype:
  10296. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  10297. type: integer
  10298. marketid:
  10299. description: 市场ID
  10300. type: integer
  10301. marketname:
  10302. description: 市场名称
  10303. type: string
  10304. matchaccountid:
  10305. description: 对手账号id
  10306. type: integer
  10307. memberuserid:
  10308. description: 会员id 个人投资者 需要填写
  10309. type: integer
  10310. opencharge:
  10311. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  10312. type: number
  10313. openexchagechargevalue:
  10314. description: 建仓交易所手续费设置值
  10315. type: number
  10316. openfeealgorithm:
  10317. description: 建仓手续费收取方式 1:比率 2:固定
  10318. type: integer
  10319. openmemberchargevalue:
  10320. description: 建仓会员手续费设置值
  10321. type: number
  10322. openqty:
  10323. description: 开仓数量(先建后平操作 需要记录)
  10324. type: integer
  10325. optiontype:
  10326. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  10327. type: integer
  10328. orderid:
  10329. description: 委托单号
  10330. type: string
  10331. performanceplanid:
  10332. description: 履约计划ID[期权]
  10333. type: integer
  10334. performancestatus:
  10335. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  10336. type: integer
  10337. preexerciseprice:
  10338. description: 预申报价格
  10339. type: number
  10340. premium:
  10341. description: 权利金 - [持仓单的权利金]
  10342. type: number
  10343. relatedouttradeid:
  10344. description: 关联外部成交单ID
  10345. type: integer
  10346. status:
  10347. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  10348. type: integer
  10349. tradeamount:
  10350. description: 成交金额[账户币种,用于所有权]
  10351. type: number
  10352. tradedate:
  10353. description: 交易日(yyyyMMdd)
  10354. type: string
  10355. tradeid:
  10356. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10357. type: string
  10358. trademode:
  10359. description: 交易模式
  10360. type: integer
  10361. tradeprice:
  10362. description: 成交价格
  10363. type: number
  10364. tradeproperty:
  10365. description: 交易属性
  10366. type: integer
  10367. tradeqty:
  10368. description: 成交数量
  10369. type: integer
  10370. tradetime:
  10371. description: 成交时间
  10372. type: string
  10373. tradetype:
  10374. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  10375. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  10376. type: integer
  10377. required:
  10378. - accountid
  10379. - buyorsell
  10380. - goodsid
  10381. - marketid
  10382. - memberuserid
  10383. - orderid
  10384. - tradeamount
  10385. - tradedate
  10386. - tradeid
  10387. - tradeprice
  10388. - tradeqty
  10389. - tradetime
  10390. type: object
  10391. order.QueryTradeOrderDetailRsp:
  10392. properties:
  10393. accountid:
  10394. description: 账户ID[报价币种]
  10395. type: integer
  10396. buildtype:
  10397. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  10398. type: integer
  10399. buyorsell:
  10400. description: 买卖 - 0:买 1:卖
  10401. type: integer
  10402. cancelorderid:
  10403. description: 撤单单号(撤单时填写)
  10404. type: string
  10405. cancelqty:
  10406. description: 撤单数量
  10407. type: integer
  10408. clienttype:
  10409. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  10410. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  10411. type: integer
  10412. closefreezecharge:
  10413. description: 平仓冻结手续费(先建后平操作,需要记录)
  10414. type: number
  10415. closeqty:
  10416. description: 平仓数量(先建后平操作 需要记录)
  10417. type: integer
  10418. closetradeqty:
  10419. description: 平仓成交数量(先建后平操作,需要记录)
  10420. type: integer
  10421. closeunfreezecharge:
  10422. description: 平仓解冻手续费(先建后平操作,需要记录)
  10423. type: number
  10424. delistingtype:
  10425. description: 摘牌类型 - 1:价格最优 2:点选成交
  10426. type: integer
  10427. enableqty:
  10428. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  10429. type: integer
  10430. freezecharge:
  10431. description: 冻结手续费
  10432. type: number
  10433. freezemargin:
  10434. description: 冻结保证金(冻结交易金额)
  10435. type: number
  10436. goodscode:
  10437. description: 商品代码
  10438. type: string
  10439. goodsid:
  10440. description: 商品ID
  10441. type: integer
  10442. goodsname:
  10443. description: 商品名称
  10444. type: string
  10445. listingselecttype:
  10446. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  10447. type: integer
  10448. marketid:
  10449. description: 市场ID
  10450. type: integer
  10451. marketname:
  10452. description: 市场名称
  10453. type: string
  10454. openfreezecharge:
  10455. description: 开仓冻结手续费(先建后平操作,需要记录)
  10456. type: number
  10457. openqty:
  10458. description: 开仓数量(先建后平操作,需要记录)
  10459. type: integer
  10460. opentradeqty:
  10461. description: 开仓成交数量(先建后平操作,需要记录)
  10462. type: integer
  10463. openunfreezecharge:
  10464. description: 开仓解冻手续费(先建后平操作,需要记录)
  10465. type: number
  10466. operatetype:
  10467. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  10468. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  10469. 15:管理端协议转让
  10470. type: integer
  10471. operatorid:
  10472. description: 登录账号(LoginID)
  10473. type: integer
  10474. orderid:
  10475. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10476. type: string
  10477. orderprice:
  10478. description: 委托价格
  10479. type: number
  10480. orderqty:
  10481. description: 委托数量
  10482. type: integer
  10483. ordersrc:
  10484. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  10485. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  10486. type: integer
  10487. orderstatus:
  10488. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  10489. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  10490. 16:成交失败违约(荷兰式竞拍专用)
  10491. type: integer
  10492. ordertime:
  10493. description: 委托时间
  10494. type: string
  10495. preorderid:
  10496. description: 关联预埋单号(止盈止损单时填写)
  10497. type: string
  10498. pricemode:
  10499. description: '取价方式 - 1:市价 2: 限价'
  10500. type: integer
  10501. relatedid:
  10502. description: 关联单号(交割单)
  10503. type: string
  10504. tradedate:
  10505. description: 交易日(yyyyMMdd)
  10506. type: string
  10507. trademode:
  10508. description: 交易模式
  10509. type: integer
  10510. tradeqty:
  10511. description: 成交数量
  10512. type: integer
  10513. unfreezecharge:
  10514. description: 解冻手续费
  10515. type: number
  10516. unfreezemargin:
  10517. description: 解冻保证金
  10518. type: number
  10519. validtime:
  10520. description: 有效期限
  10521. type: string
  10522. validtype:
  10523. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  10524. type: integer
  10525. volumetype:
  10526. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  10527. type: integer
  10528. required:
  10529. - accountid
  10530. - buildtype
  10531. - buyorsell
  10532. - goodsid
  10533. - marketid
  10534. - operatetype
  10535. - orderqty
  10536. - ordertime
  10537. - pricemode
  10538. - tradedate
  10539. - validtype
  10540. type: object
  10541. order.QueryTradePositionRsp:
  10542. properties:
  10543. accountid:
  10544. description: 资金账户
  10545. type: integer
  10546. agreeunit:
  10547. description: 合约单位
  10548. type: number
  10549. averageprice:
  10550. description: 持仓均价
  10551. type: number
  10552. buyorsell:
  10553. description: 方向 - 0:买 1:卖
  10554. type: integer
  10555. closetotalqty:
  10556. description: 平仓总数量
  10557. type: integer
  10558. curholderamount:
  10559. description: 当前持仓总金额[商品币种]
  10560. type: number
  10561. curpositionqty:
  10562. description: 当前持仓总数量
  10563. type: integer
  10564. currencyid:
  10565. description: 报价货币ID
  10566. type: integer
  10567. curtdposition:
  10568. description: 期末今日头寸
  10569. type: integer
  10570. decimalplace:
  10571. description: 报价小数位
  10572. type: integer
  10573. enableqty:
  10574. description: 可用量
  10575. type: integer
  10576. fretdposition:
  10577. description: 冻结今日头寸
  10578. type: integer
  10579. frozenqty:
  10580. description: 持仓冻结数量
  10581. type: integer
  10582. goodscode:
  10583. description: 商品代码
  10584. type: string
  10585. goodsid:
  10586. description: 商品Id
  10587. type: integer
  10588. goodsname:
  10589. description: 商品名称
  10590. type: string
  10591. goodunit:
  10592. description: 报价单位
  10593. type: string
  10594. goodunitid:
  10595. description: 报价单位ID
  10596. type: integer
  10597. holderamount:
  10598. description: 期初持仓总金额[商品币种]
  10599. type: number
  10600. marketid:
  10601. description: 所属市场ID
  10602. type: integer
  10603. openreqqty:
  10604. description: 开仓申请数量(用于比较最大持仓数量)
  10605. type: integer
  10606. opentotalqty:
  10607. description: 开仓总数量
  10608. type: integer
  10609. otherfrozenqty:
  10610. description: 持仓其他冻结数量(交割冻结)
  10611. type: integer
  10612. positionqty:
  10613. description: 期初持仓数量
  10614. type: integer
  10615. tnqty:
  10616. description: T+N冻结总量
  10617. type: integer
  10618. tnusedqty:
  10619. description: T+N使用量(可以使用T+N的冻结数量)
  10620. type: integer
  10621. trademode:
  10622. description: 交易模式
  10623. type: integer
  10624. usedmargin:
  10625. description: 占用保证金[商品币种]
  10626. type: number
  10627. required:
  10628. - goodsid
  10629. type: object
  10630. quote.HistoryData:
  10631. properties:
  10632. c:
  10633. description: 收盘价
  10634. type: number
  10635. f:
  10636. description: 是否补充数据
  10637. type: boolean
  10638. h:
  10639. description: 最高价
  10640. type: number
  10641. hv:
  10642. description: 持仓量
  10643. type: integer
  10644. l:
  10645. description: 最低价
  10646. type: number
  10647. o:
  10648. description: 开盘价
  10649. type: number
  10650. s:
  10651. description: 结算价,日线周期(包括)以上才有
  10652. type: number
  10653. ts:
  10654. description: 时间
  10655. type: string
  10656. tt:
  10657. description: 总金额
  10658. type: number
  10659. tv:
  10660. description: 总量
  10661. type: integer
  10662. type: object
  10663. quote.HistoryTikData:
  10664. properties:
  10665. AV:
  10666. description: 卖量
  10667. type: integer
  10668. Ask:
  10669. description: 卖价
  10670. type: number
  10671. BV:
  10672. description: 买量
  10673. type: integer
  10674. Bid:
  10675. description: 买价
  10676. type: number
  10677. HI:
  10678. description: 单笔持仓
  10679. type: integer
  10680. HV:
  10681. description: 持仓量
  10682. type: integer
  10683. PE:
  10684. description: 现价
  10685. type: number
  10686. TDR:
  10687. description: 交易方向,0:买 1:卖
  10688. type: integer
  10689. TK:
  10690. description: 交易类型
  10691. type: integer
  10692. TS:
  10693. description: 行情时间文本
  10694. type: string
  10695. TT:
  10696. description: 现金额
  10697. type: number
  10698. Vol:
  10699. description: 现量
  10700. type: integer
  10701. type: object
  10702. quote.QueryQuoteDayRsp:
  10703. properties:
  10704. ask:
  10705. description: 卖1
  10706. type: number
  10707. ask2:
  10708. description: 卖2
  10709. type: number
  10710. ask3:
  10711. description: 卖3
  10712. type: number
  10713. ask4:
  10714. description: 卖4
  10715. type: number
  10716. ask5:
  10717. description: 卖5
  10718. type: number
  10719. ask6:
  10720. description: 卖6
  10721. type: number
  10722. ask7:
  10723. description: 卖7
  10724. type: number
  10725. ask8:
  10726. description: 卖8
  10727. type: number
  10728. ask9:
  10729. description: 卖9
  10730. type: number
  10731. ask10:
  10732. description: 卖10
  10733. type: number
  10734. askorderid:
  10735. description: 卖单号1
  10736. type: integer
  10737. askorderid2:
  10738. description: 卖单号2
  10739. type: integer
  10740. askorderid3:
  10741. description: 卖单号3
  10742. type: integer
  10743. askorderid4:
  10744. description: 卖单号4
  10745. type: integer
  10746. askorderid5:
  10747. description: 卖单号5
  10748. type: integer
  10749. askordervolume:
  10750. description: 卖单量1
  10751. type: integer
  10752. askordervolume2:
  10753. description: 卖单量2
  10754. type: integer
  10755. askordervolume3:
  10756. description: 卖单量3
  10757. type: integer
  10758. askordervolume4:
  10759. description: 卖单量4
  10760. type: integer
  10761. askordervolume5:
  10762. description: 卖单量5
  10763. type: integer
  10764. askordervolume6:
  10765. description: 卖单量6
  10766. type: integer
  10767. askordervolume7:
  10768. description: 卖单量7
  10769. type: integer
  10770. askordervolume8:
  10771. description: 卖单量8
  10772. type: integer
  10773. askordervolume9:
  10774. description: 卖单量9
  10775. type: integer
  10776. askordervolume10:
  10777. description: 卖单量10
  10778. type: integer
  10779. askqueueinfo:
  10780. description: 大利市卖港股用
  10781. type: string
  10782. askvolume:
  10783. description: 卖量1
  10784. type: integer
  10785. askvolume2:
  10786. description: 卖量2
  10787. type: integer
  10788. askvolume3:
  10789. description: 卖量3
  10790. type: integer
  10791. askvolume4:
  10792. description: 卖量4
  10793. type: integer
  10794. askvolume5:
  10795. description: 卖量5
  10796. type: integer
  10797. askvolume6:
  10798. description: 卖量6
  10799. type: integer
  10800. askvolume7:
  10801. description: 卖量7
  10802. type: integer
  10803. askvolume8:
  10804. description: 卖量8
  10805. type: integer
  10806. askvolume9:
  10807. description: 卖量9
  10808. type: integer
  10809. askvolume10:
  10810. description: 卖量10
  10811. type: integer
  10812. averageprice:
  10813. description: 均价
  10814. type: number
  10815. bid:
  10816. description: 买1
  10817. type: number
  10818. bid2:
  10819. description: 买2
  10820. type: number
  10821. bid3:
  10822. description: 买3
  10823. type: number
  10824. bid4:
  10825. description: 买4
  10826. type: number
  10827. bid5:
  10828. description: 买5
  10829. type: number
  10830. bid6:
  10831. description: 买6
  10832. type: number
  10833. bid7:
  10834. description: 买7
  10835. type: number
  10836. bid8:
  10837. description: 买8
  10838. type: number
  10839. bid9:
  10840. description: 买9
  10841. type: number
  10842. bid10:
  10843. description: 买10
  10844. type: number
  10845. bidorderid:
  10846. description: 买单号1
  10847. type: integer
  10848. bidorderid2:
  10849. description: 买单号2
  10850. type: integer
  10851. bidorderid3:
  10852. description: 买单号3
  10853. type: integer
  10854. bidorderid4:
  10855. description: 买单号4
  10856. type: integer
  10857. bidorderid5:
  10858. description: 买单号5
  10859. type: integer
  10860. bidordervolume:
  10861. description: 买单量1
  10862. type: integer
  10863. bidordervolume2:
  10864. description: 买单量2
  10865. type: integer
  10866. bidordervolume3:
  10867. description: 买单量3
  10868. type: integer
  10869. bidordervolume4:
  10870. description: 买单量4
  10871. type: integer
  10872. bidordervolume5:
  10873. description: 买单量5
  10874. type: integer
  10875. bidordervolume6:
  10876. description: 买单量6
  10877. type: integer
  10878. bidordervolume7:
  10879. description: 买单量7
  10880. type: integer
  10881. bidordervolume8:
  10882. description: 买单量8
  10883. type: integer
  10884. bidordervolume9:
  10885. description: 买单量9
  10886. type: integer
  10887. bidordervolume10:
  10888. description: 买单量10
  10889. type: integer
  10890. bidqueueinfo:
  10891. description: 大利市买港股用
  10892. type: string
  10893. bidvolume:
  10894. description: 买量1
  10895. type: integer
  10896. bidvolume2:
  10897. description: 买量2
  10898. type: integer
  10899. bidvolume3:
  10900. description: 买量3
  10901. type: integer
  10902. bidvolume4:
  10903. description: 买量4
  10904. type: integer
  10905. bidvolume5:
  10906. description: 买量5
  10907. type: integer
  10908. bidvolume6:
  10909. description: 买量6
  10910. type: integer
  10911. bidvolume7:
  10912. description: 买量7
  10913. type: integer
  10914. bidvolume8:
  10915. description: 买量8
  10916. type: integer
  10917. bidvolume9:
  10918. description: 买量9
  10919. type: integer
  10920. bidvolume10:
  10921. description: 买量10
  10922. type: integer
  10923. calloptionpremiums:
  10924. description: 认购期权1
  10925. type: integer
  10926. calloptionpremiums2:
  10927. description: 认购期权2
  10928. type: integer
  10929. calloptionpremiums3:
  10930. description: 认购期权3
  10931. type: integer
  10932. calloptionpremiums4:
  10933. description: 认购期权4
  10934. type: integer
  10935. calloptionpremiums5:
  10936. description: 认购期权5
  10937. type: integer
  10938. cleartime:
  10939. description: 清盘时间
  10940. type: integer
  10941. exchangecode:
  10942. description: 交易所代码
  10943. type: integer
  10944. exchangedate:
  10945. description: 交易日
  10946. type: integer
  10947. goodscode:
  10948. description: 商品代码
  10949. type: string
  10950. grepmarketprice:
  10951. description: 暗盘价 港股专用
  10952. type: number
  10953. highest:
  10954. description: 最高价
  10955. type: number
  10956. holdincrement:
  10957. description: 单笔持仓
  10958. type: integer
  10959. holdvolume:
  10960. description: 持仓
  10961. type: integer
  10962. iep:
  10963. description: 平衡价 港股专用
  10964. type: number
  10965. iev:
  10966. description: 平衡量 港股专用
  10967. type: number
  10968. inventory:
  10969. description: 库存
  10970. type: integer
  10971. iscleared:
  10972. description: 是否清盘标志
  10973. type: integer
  10974. issettled:
  10975. description: 是否结算标志
  10976. type: integer
  10977. last:
  10978. description: 最新价
  10979. type: number
  10980. lastlot:
  10981. description: 最新成交手数
  10982. type: integer
  10983. lasttime:
  10984. description: 行情时间(只有现价变化行情时间才变化)
  10985. type: string
  10986. lastturnover:
  10987. description: 最新成交金额
  10988. type: number
  10989. lastvolume:
  10990. description: 最新成交量
  10991. type: integer
  10992. limitdown:
  10993. description: 跌停价
  10994. type: number
  10995. limitup:
  10996. description: 涨停价
  10997. type: number
  10998. lowest:
  10999. description: 最低价
  11000. type: number
  11001. nontotalholdervolume:
  11002. description: 非交易持仓量
  11003. type: integer
  11004. nontotallot:
  11005. description: 非交易总手数
  11006. type: integer
  11007. nontotalturnover:
  11008. description: 非交易总金额
  11009. type: integer
  11010. nontotalvolume:
  11011. description: 非交易总量
  11012. type: integer
  11013. opened:
  11014. description: 开盘价
  11015. type: number
  11016. opentime:
  11017. description: 开盘时间
  11018. type: string
  11019. orderid:
  11020. description: 序号
  11021. type: integer
  11022. preclose:
  11023. description: 昨收
  11024. type: number
  11025. preholdvolume:
  11026. description: 昨持仓
  11027. type: integer
  11028. presettle:
  11029. description: 昨结价
  11030. type: number
  11031. publictradetype:
  11032. description: 公共交易标志类型 港股专用
  11033. type: string
  11034. putoptionpremiums:
  11035. description: 认沽期权1
  11036. type: integer
  11037. putoptionpremiums2:
  11038. description: 认沽期权2
  11039. type: integer
  11040. putoptionpremiums3:
  11041. description: 认沽期权3
  11042. type: integer
  11043. putoptionpremiums4:
  11044. description: 认沽期权4
  11045. type: integer
  11046. putoptionpremiums5:
  11047. description: 认沽期权5
  11048. type: integer
  11049. settle:
  11050. description: 结算价
  11051. type: number
  11052. strikeprice:
  11053. description: 发行价
  11054. type: number
  11055. totalaskvolume:
  11056. description: 内盘
  11057. type: integer
  11058. totalbidvolume:
  11059. description: 外盘
  11060. type: integer
  11061. totallot:
  11062. description: 总手数
  11063. type: integer
  11064. totalturnover:
  11065. description: 总金额
  11066. type: number
  11067. totalvolume:
  11068. description: 总量
  11069. type: integer
  11070. utclasttime:
  11071. description: utc的行情时间
  11072. type: string
  11073. type: object
  11074. quote.QueryTSDataRsp:
  11075. properties:
  11076. Count:
  11077. description: 交易日应有数据个数
  11078. type: integer
  11079. decimalPlace:
  11080. description: 小数位
  11081. type: integer
  11082. endTime:
  11083. description: 结束时间
  11084. type: string
  11085. goodsCode:
  11086. description: 商品代码
  11087. type: string
  11088. historyDatas:
  11089. description: 历史数据
  11090. items:
  11091. $ref: '#/definitions/quote.HistoryData'
  11092. type: array
  11093. outGoodsCode:
  11094. description: 外部商品代码
  11095. type: string
  11096. preSettle:
  11097. description: 昨结价
  11098. type: number
  11099. runSteps:
  11100. description: 交易日开休市计划
  11101. items:
  11102. $ref: '#/definitions/quote.TSDataRunStep'
  11103. type: array
  11104. startTime:
  11105. description: 开始时间
  11106. type: string
  11107. tradeDate:
  11108. description: 交易日
  11109. type: string
  11110. type: object
  11111. quote.TSDataRunStep:
  11112. properties:
  11113. end:
  11114. description: 真实结束时间
  11115. type: string
  11116. endflag:
  11117. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  11118. type: integer
  11119. endtime:
  11120. description: 结束时间(HH:mm)
  11121. type: string
  11122. endweekday:
  11123. description: 结束周几
  11124. type: integer
  11125. groupid:
  11126. description: 分组ID
  11127. type: integer
  11128. runstep:
  11129. description: 运行阶段 - 2:连续交易
  11130. type: integer
  11131. sectionid:
  11132. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  11133. 结束时间=结算时间 结束周几=结算周几
  11134. type: integer
  11135. start:
  11136. description: 真实开始时间
  11137. type: string
  11138. startflag:
  11139. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  11140. type: integer
  11141. starttime:
  11142. description: 起始时间(HH:mm)
  11143. type: string
  11144. startweekday:
  11145. description: 起始周几
  11146. type: integer
  11147. tradeweekday:
  11148. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  11149. type: integer
  11150. type: object
  11151. szdz.QueryConvertLogRsp:
  11152. properties:
  11153. accountid:
  11154. description: 资金账户ID
  11155. type: integer
  11156. clientticket:
  11157. description: 客户端流水号
  11158. type: string
  11159. converttype:
  11160. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  11161. type: integer
  11162. createtime:
  11163. description: 记账时间
  11164. type: string
  11165. daymaxvalue:
  11166. description: 配置当日最大转入限制
  11167. type: number
  11168. daymaxvalue2:
  11169. description: 配置当日最大转入限制(转入)
  11170. type: number
  11171. goodscode:
  11172. description: 商品代码
  11173. type: string
  11174. goodsname:
  11175. description: 商品名称
  11176. type: string
  11177. handlestatus:
  11178. description: 处理状态
  11179. type: integer
  11180. innergoodsid:
  11181. description: 内部商品ID
  11182. type: integer
  11183. inratio:
  11184. description: 配置转入比值
  11185. type: integer
  11186. invalue:
  11187. description: 目标值
  11188. type: number
  11189. logid:
  11190. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11191. type: integer
  11192. mobile:
  11193. description: 手机号码(加密存储)
  11194. type: string
  11195. outergoodscode:
  11196. description: 外部商品代码[JD\PD]
  11197. type: string
  11198. outratio:
  11199. description: 配置转出比值
  11200. type: integer
  11201. outvalue:
  11202. description: 源值
  11203. type: number
  11204. pddecimalplace:
  11205. description: PD小数位
  11206. type: integer
  11207. qty:
  11208. description: 数量
  11209. type: string
  11210. remark:
  11211. description: 备注
  11212. type: string
  11213. sessionid:
  11214. description: 会话ID
  11215. type: integer
  11216. timemaxvalue:
  11217. description: 配置单次最大转入限制
  11218. type: number
  11219. timemaxvalue2:
  11220. description: 配置单次最大转入限制(转入)
  11221. type: number
  11222. timeminvalue:
  11223. description: 配置单次最小数量限制
  11224. type: number
  11225. timeminvalue2:
  11226. description: 配置单次最小数量限制(转入)
  11227. type: number
  11228. tradedate:
  11229. description: 交易日(yyyyMMdd)
  11230. type: string
  11231. userid:
  11232. description: 用户ID
  11233. type: integer
  11234. required:
  11235. - logid
  11236. type: object
  11237. szdz.QueryGoodsPickupRsp:
  11238. properties:
  11239. accountid:
  11240. description: 账户ID
  11241. type: integer
  11242. address:
  11243. description: 提货人详细地址
  11244. type: string
  11245. auditer:
  11246. description: 审核人
  11247. type: integer
  11248. audittime:
  11249. description: 审核时间
  11250. type: string
  11251. cardnum:
  11252. description: 提货人证件号码
  11253. type: string
  11254. cardtypeid:
  11255. description: 提货人证件类型
  11256. type: integer
  11257. checkremark:
  11258. description: 审核备注
  11259. type: string
  11260. goodscode:
  11261. description: 商品代码
  11262. type: string
  11263. goodsid:
  11264. description: 商品ID
  11265. type: integer
  11266. goodsname:
  11267. description: 商品名称
  11268. type: string
  11269. handlestatus:
  11270. description: 处理状态
  11271. type: integer
  11272. marketid:
  11273. description: 市场ID
  11274. type: integer
  11275. phonenum:
  11276. description: 提货人联系方式
  11277. type: string
  11278. qty:
  11279. description: 提货数量
  11280. type: number
  11281. recivername:
  11282. description: 提货人姓名
  11283. type: string
  11284. reqtime:
  11285. description: 更新时间
  11286. type: string
  11287. takemode:
  11288. description: 提货方式 - 2:自提 3:配送
  11289. type: integer
  11290. takeorderid:
  11291. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  11292. type: string
  11293. takeorderstatus:
  11294. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  11295. type: integer
  11296. takeremark:
  11297. description: 提货备注
  11298. type: string
  11299. tradedate:
  11300. description: 交易日(yyyyMMdd)
  11301. type: string
  11302. userid:
  11303. description: 用户ID
  11304. type: integer
  11305. required:
  11306. - takeorderid
  11307. type: object
  11308. szdz.QueryRecieptOrderRsp:
  11309. properties:
  11310. accountName:
  11311. description: 所属账号名称(已脱敏)
  11312. type: string
  11313. accountid:
  11314. description: 资金账号
  11315. type: integer
  11316. buyorsell:
  11317. description: 方向 - 0:买 1:卖
  11318. type: integer
  11319. enableqty:
  11320. description: 可摘数量
  11321. type: integer
  11322. goodscode:
  11323. description: 商品代码
  11324. type: string
  11325. goodsid:
  11326. description: 商品ID
  11327. type: integer
  11328. goodsname:
  11329. description: 商品名称
  11330. type: string
  11331. orderid:
  11332. description: 委托单号
  11333. type: string
  11334. orderprice:
  11335. description: 委托价格
  11336. type: number
  11337. ordertime:
  11338. description: 委托时间
  11339. type: string
  11340. tradedate:
  11341. description: 交易日(yyyyMMdd)
  11342. type: string
  11343. required:
  11344. - ordertime
  11345. type: object
  11346. szdz.QuerySZDZTradePositionRsp:
  11347. properties:
  11348. accountid:
  11349. description: 账号Id
  11350. type: integer
  11351. agreeunit:
  11352. description: 合约单位
  11353. type: number
  11354. averageprice:
  11355. description: 持仓均价
  11356. type: number
  11357. buyorsell:
  11358. description: 方向 - 0:买 1:卖
  11359. type: integer
  11360. closetotalqty:
  11361. description: 平仓总数量
  11362. type: integer
  11363. curholderamount:
  11364. description: 当前持仓总金额
  11365. type: number
  11366. curpositionqty:
  11367. description: 当前持仓总数量
  11368. type: integer
  11369. currencyid:
  11370. description: 报价货币ID
  11371. type: integer
  11372. curtdposition:
  11373. description: 期末今日头寸
  11374. type: integer
  11375. decimalplace:
  11376. description: 报价小数位
  11377. type: integer
  11378. enableqty:
  11379. description: 可用量
  11380. type: integer
  11381. fretdposition:
  11382. description: 冻结今日头寸
  11383. type: integer
  11384. frozenqty:
  11385. description: 持仓冻结数量
  11386. type: integer
  11387. goodscode:
  11388. description: 商品代码(内部)
  11389. type: string
  11390. goodsid:
  11391. description: 商品Id
  11392. type: integer
  11393. goodsname:
  11394. description: 商品名称
  11395. type: string
  11396. goodunit:
  11397. description: 报价单位
  11398. type: string
  11399. goodunitid:
  11400. description: 报价单位ID
  11401. type: integer
  11402. holderamount:
  11403. description: 期初持仓总金额
  11404. type: number
  11405. marketid:
  11406. description: 市场ID
  11407. type: integer
  11408. openreqqty:
  11409. description: 开仓申请数量
  11410. type: integer
  11411. opentotalqty:
  11412. description: 开仓总数量
  11413. type: integer
  11414. otherfrozenqty:
  11415. description: 持仓其他冻结数量(交割冻结)
  11416. type: integer
  11417. positionqty:
  11418. description: 期初持仓数量
  11419. type: integer
  11420. szdz3freezqty:
  11421. description: 尚志大宗转换冻结总数量
  11422. type: integer
  11423. tnqty:
  11424. description: T+N冻结总量
  11425. type: integer
  11426. tnusedqty:
  11427. description: T+N使用量
  11428. type: integer
  11429. trademode:
  11430. description: 交易模式
  11431. type: integer
  11432. usedmargin:
  11433. description: 占用保证金
  11434. type: number
  11435. type: object
  11436. taaccount.QueryAmountLogRsp:
  11437. properties:
  11438. OPERATETYPENAME:
  11439. description: 资金操作类型名称
  11440. type: string
  11441. accountid:
  11442. description: 资金账户ID
  11443. type: integer
  11444. agoodscode:
  11445. description: 竞拍商品代码
  11446. type: string
  11447. agoodsname:
  11448. description: 竞拍商品名称
  11449. type: string
  11450. amount:
  11451. description: 资金金额
  11452. type: number
  11453. amountadjusttype:
  11454. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  11455. type: integer
  11456. autoid:
  11457. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  11458. type: integer
  11459. balance:
  11460. description: 期初余额
  11461. type: number
  11462. businesscode:
  11463. description: 业务编号
  11464. type: integer
  11465. createtime:
  11466. description: 发生时间
  11467. type: string
  11468. currencyid:
  11469. description: 币种ID
  11470. type: integer
  11471. currentbalance:
  11472. description: 期末余额(变动后金额)
  11473. type: number
  11474. dgoodscode:
  11475. description: 交割商品代码
  11476. type: string
  11477. dgoodsname:
  11478. description: 交割商品名称
  11479. type: string
  11480. goodscode:
  11481. description: 商品代码
  11482. type: string
  11483. goodsid:
  11484. description: 商品ID
  11485. type: integer
  11486. goodsname:
  11487. description: 商品名称
  11488. type: string
  11489. marketid:
  11490. description: 市场ID
  11491. type: integer
  11492. marketname:
  11493. description: 市场名称
  11494. type: string
  11495. moneyticket:
  11496. description: 资金流水号:银行端流水号
  11497. type: integer
  11498. operatetype:
  11499. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  11500. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  11501. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  11502. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  11503. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  11504. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  11505. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  11506. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  11507. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  11508. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  11509. type: integer
  11510. relationorderid:
  11511. description: 关联单号
  11512. type: string
  11513. remark:
  11514. description: 备注
  11515. type: string
  11516. trademode:
  11517. description: 交易模式
  11518. type: integer
  11519. required:
  11520. - accountid
  11521. - amount
  11522. - amountadjusttype
  11523. - autoid
  11524. - balance
  11525. - createtime
  11526. - currentbalance
  11527. - operatetype
  11528. type: object
  11529. taaccount.QueryHisAmountLogRsp:
  11530. properties:
  11531. OPERATETYPENAME:
  11532. description: 资金操作类型名称
  11533. type: string
  11534. accountid:
  11535. description: 资金账户ID
  11536. type: integer
  11537. agoodscode:
  11538. description: 竞拍商品代码
  11539. type: string
  11540. agoodsname:
  11541. description: 竞拍商品名称
  11542. type: string
  11543. amount:
  11544. description: 资金金额
  11545. type: number
  11546. amountadjusttype:
  11547. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  11548. type: integer
  11549. autoid:
  11550. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  11551. type: integer
  11552. balance:
  11553. description: 期初余额
  11554. type: number
  11555. businesscode:
  11556. description: 业务编号
  11557. type: integer
  11558. createtime:
  11559. description: 发生时间
  11560. type: string
  11561. currencyid:
  11562. description: 币种ID
  11563. type: integer
  11564. currentbalance:
  11565. description: 期末余额(变动后金额)
  11566. type: number
  11567. dgoodscode:
  11568. description: 交割商品代码
  11569. type: string
  11570. dgoodsname:
  11571. description: 交割商品名称
  11572. type: string
  11573. goodscode:
  11574. description: 商品代码
  11575. type: string
  11576. goodsid:
  11577. description: 商品ID
  11578. type: integer
  11579. goodsname:
  11580. description: 商品名称
  11581. type: string
  11582. histradedate:
  11583. description: 历史交易日
  11584. type: string
  11585. isvaliddata:
  11586. description: 是否有效 - 0:无效 1:有效
  11587. type: integer
  11588. marketid:
  11589. description: 市场ID
  11590. type: integer
  11591. marketname:
  11592. description: 市场名称
  11593. type: string
  11594. moneyticket:
  11595. description: 资金流水号:银行端流水号
  11596. type: integer
  11597. operatetype:
  11598. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  11599. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  11600. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  11601. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  11602. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  11603. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  11604. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  11605. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  11606. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  11607. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  11608. type: integer
  11609. relationorderid:
  11610. description: 关联单号
  11611. type: string
  11612. remark:
  11613. description: 备注
  11614. type: string
  11615. trademode:
  11616. description: 交易模式
  11617. type: integer
  11618. required:
  11619. - accountid
  11620. - amount
  11621. - amountadjusttype
  11622. - autoid
  11623. - balance
  11624. - createtime
  11625. - currentbalance
  11626. - histradedate
  11627. - operatetype
  11628. type: object
  11629. trade.QueryRecieptOrderRsp:
  11630. properties:
  11631. accountName:
  11632. description: 所属账号名称(已脱敏)
  11633. type: string
  11634. accountid:
  11635. description: 资金账号
  11636. type: integer
  11637. buyorsell:
  11638. description: 方向 - 0:买 1:卖
  11639. type: integer
  11640. enableqty:
  11641. description: 可摘数量
  11642. type: integer
  11643. goodscode:
  11644. description: 商品代码
  11645. type: string
  11646. goodsid:
  11647. description: 商品ID
  11648. type: integer
  11649. goodsname:
  11650. description: 商品名称
  11651. type: string
  11652. orderid:
  11653. description: 委托单号
  11654. type: string
  11655. orderprice:
  11656. description: 委托价格
  11657. type: number
  11658. ordertime:
  11659. description: 委托时间
  11660. type: string
  11661. tradedate:
  11662. description: 交易日(yyyyMMdd)
  11663. type: string
  11664. required:
  11665. - ordertime
  11666. type: object
  11667. user.LoginQueryRsp:
  11668. properties:
  11669. externalExchanges:
  11670. description: 外部交易所
  11671. items:
  11672. $ref: '#/definitions/models.Externalexchange'
  11673. type: array
  11674. goodsgroups:
  11675. description: 商品组
  11676. items:
  11677. $ref: '#/definitions/models.Goodsgroup'
  11678. type: array
  11679. loginAccount:
  11680. $ref: '#/definitions/models.Loginaccount'
  11681. description: 登录账号
  11682. type: object
  11683. markets:
  11684. description: 市场
  11685. items:
  11686. $ref: '#/definitions/models.Market'
  11687. type: array
  11688. systemParams:
  11689. description: 系统参数
  11690. items:
  11691. $ref: '#/definitions/models.Systemparam'
  11692. type: array
  11693. userAccount:
  11694. $ref: '#/definitions/models.Useraccount'
  11695. description: 用户账号
  11696. type: object
  11697. userInfo:
  11698. $ref: '#/definitions/models.Userinfo'
  11699. description: 用户信息
  11700. type: object
  11701. username:
  11702. description: 用户姓名
  11703. type: string
  11704. type: object
  11705. info:
  11706. contact: {}
  11707. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  11708. license: {}
  11709. termsOfService: http://muchinfo.cn
  11710. title: MTP2.0 查询服务 API
  11711. version: "1.0"
  11712. paths:
  11713. /CPTrade/QueryCPTradeMyBidInfos:
  11714. get:
  11715. parameters:
  11716. - description: 资金账户
  11717. in: query
  11718. name: accountid
  11719. required: true
  11720. type: integer
  11721. - description: 预售市场ID
  11722. in: query
  11723. name: marketid
  11724. type: integer
  11725. - description: 预售商品ID
  11726. in: query
  11727. name: goodsid
  11728. type: integer
  11729. produces:
  11730. - application/json
  11731. responses:
  11732. "200":
  11733. description: OK
  11734. schema:
  11735. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  11736. "500":
  11737. description: Internal Server Error
  11738. schema:
  11739. $ref: '#/definitions/app.Response'
  11740. security:
  11741. - ApiKeyAuth: []
  11742. summary: 查询产能预售我的出价信息
  11743. tags:
  11744. - 产能预售
  11745. /CPTrade/QueryCPTradeOrderDetail:
  11746. get:
  11747. parameters:
  11748. - description: 预售商品ID
  11749. in: query
  11750. name: goodsid
  11751. type: integer
  11752. - description: 预售市场ID
  11753. in: query
  11754. name: marketid
  11755. type: integer
  11756. - description: 预售商品ID列表 - 格式:1,2,3
  11757. in: query
  11758. name: goodsids
  11759. type: string
  11760. produces:
  11761. - application/json
  11762. responses:
  11763. "200":
  11764. description: OK
  11765. schema:
  11766. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  11767. "500":
  11768. description: Internal Server Error
  11769. schema:
  11770. $ref: '#/definitions/app.Response'
  11771. security:
  11772. - ApiKeyAuth: []
  11773. summary: 查询产能预售委托单信息
  11774. tags:
  11775. - 产能预售
  11776. /CPTrade/QueryMyCPTradeGoods:
  11777. get:
  11778. parameters:
  11779. - description: 资金账户
  11780. in: query
  11781. name: accountid
  11782. required: true
  11783. type: integer
  11784. produces:
  11785. - application/json
  11786. responses:
  11787. "200":
  11788. description: OK
  11789. schema:
  11790. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  11791. "500":
  11792. description: Internal Server Error
  11793. schema:
  11794. $ref: '#/definitions/app.Response'
  11795. security:
  11796. - ApiKeyAuth: []
  11797. summary: 查询我的预售信息
  11798. tags:
  11799. - 产能预售
  11800. /CPTrade/QueryPositionCancel:
  11801. get:
  11802. parameters:
  11803. - description: 账户ID
  11804. in: query
  11805. name: userid
  11806. required: true
  11807. type: integer
  11808. - description: 注销ID
  11809. in: query
  11810. name: cancelid
  11811. type: integer
  11812. - description: 资金账户ID
  11813. in: query
  11814. name: accountid
  11815. type: integer
  11816. produces:
  11817. - application/json
  11818. responses:
  11819. "200":
  11820. description: OK
  11821. schema:
  11822. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  11823. "500":
  11824. description: Internal Server Error
  11825. schema:
  11826. $ref: '#/definitions/app.Response'
  11827. security:
  11828. - ApiKeyAuth: []
  11829. summary: 查询远期订单注销申请信息
  11830. tags:
  11831. - 产能预售
  11832. /CPTrade/QueryPreasleApply:
  11833. get:
  11834. parameters:
  11835. - description: 账户ID
  11836. in: query
  11837. name: userid
  11838. required: true
  11839. type: integer
  11840. - description: 申请ID
  11841. in: query
  11842. name: applyid
  11843. type: integer
  11844. - description: 资金账户ID
  11845. in: query
  11846. name: accountid
  11847. type: integer
  11848. produces:
  11849. - application/json
  11850. responses:
  11851. "200":
  11852. description: OK
  11853. schema:
  11854. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  11855. "500":
  11856. description: Internal Server Error
  11857. schema:
  11858. $ref: '#/definitions/app.Response'
  11859. security:
  11860. - ApiKeyAuth: []
  11861. summary: 查询产能预售申请信息
  11862. tags:
  11863. - 产能预售
  11864. /CPTrade/QueryPresaleGoodsEx:
  11865. get:
  11866. parameters:
  11867. - description: 预售商品ID
  11868. in: query
  11869. name: goodsid
  11870. type: integer
  11871. - description: 预售市场ID
  11872. in: query
  11873. name: marketid
  11874. type: integer
  11875. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  11876. in: query
  11877. name: presalemode
  11878. type: integer
  11879. - description: 预售商品ID列表 - 格式:1,2,3
  11880. in: query
  11881. name: goodsids
  11882. type: string
  11883. - description: 预售商品代码
  11884. in: query
  11885. name: goodscode
  11886. type: string
  11887. produces:
  11888. - application/json
  11889. responses:
  11890. "200":
  11891. description: OK
  11892. schema:
  11893. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  11894. "500":
  11895. description: Internal Server Error
  11896. schema:
  11897. $ref: '#/definitions/app.Response'
  11898. security:
  11899. - ApiKeyAuth: []
  11900. summary: 查询产能预售商品扩展信息
  11901. tags:
  11902. - 产能预售
  11903. /CPTrade/QueryUserGoodsData:
  11904. get:
  11905. parameters:
  11906. - description: 资金账户ID
  11907. in: query
  11908. name: accountid
  11909. required: true
  11910. type: integer
  11911. produces:
  11912. - application/json
  11913. responses:
  11914. "200":
  11915. description: OK
  11916. schema:
  11917. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  11918. "500":
  11919. description: Internal Server Error
  11920. schema:
  11921. $ref: '#/definitions/app.Response'
  11922. security:
  11923. - ApiKeyAuth: []
  11924. summary: 查询远期订单信息
  11925. tags:
  11926. - 产能预售
  11927. /Common/GetAllEnums:
  11928. get:
  11929. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  11930. parameters:
  11931. - description: 起始自增ID
  11932. in: query
  11933. name: autoid
  11934. type: integer
  11935. produces:
  11936. - application/json
  11937. responses:
  11938. "200":
  11939. description: OK
  11940. schema:
  11941. $ref: '#/definitions/models.Enumdicitem'
  11942. "500":
  11943. description: Internal Server Error
  11944. schema:
  11945. $ref: '#/definitions/app.Response'
  11946. summary: 获取所有枚举信息
  11947. tags:
  11948. - 通用服务
  11949. /Common/GetClientMenus:
  11950. get:
  11951. parameters:
  11952. - description: 登录账号
  11953. in: query
  11954. name: loginID
  11955. required: true
  11956. type: integer
  11957. - description: 终端类型,0:PC 1:Mobile
  11958. in: query
  11959. name: clientType
  11960. type: integer
  11961. produces:
  11962. - application/json
  11963. responses:
  11964. "200":
  11965. description: OK
  11966. schema:
  11967. items:
  11968. $ref: '#/definitions/common.ClientMenu'
  11969. type: array
  11970. "500":
  11971. description: Internal Server Error
  11972. schema:
  11973. $ref: '#/definitions/app.Response'
  11974. security:
  11975. - ApiKeyAuth: []
  11976. summary: 获取交易端菜单
  11977. tags:
  11978. - 通用服务
  11979. /Common/GetDivisions:
  11980. get:
  11981. produces:
  11982. - application/json
  11983. responses:
  11984. "200":
  11985. description: OK
  11986. schema:
  11987. $ref: '#/definitions/models.Division'
  11988. "500":
  11989. description: Internal Server Error
  11990. schema:
  11991. $ref: '#/definitions/app.Response'
  11992. summary: 查询区域信息
  11993. tags:
  11994. - 通用服务
  11995. /Common/GetServerTime:
  11996. get:
  11997. produces:
  11998. - application/json
  11999. responses:
  12000. "200":
  12001. description: OK
  12002. schema:
  12003. $ref: '#/definitions/app.Response'
  12004. "500":
  12005. description: Internal Server Error
  12006. schema:
  12007. $ref: '#/definitions/app.Response'
  12008. summary: 获取服务器时间
  12009. tags:
  12010. - 通用服务
  12011. /Common/NoticeReaded:
  12012. post:
  12013. parameters:
  12014. - description: 登录账号
  12015. in: query
  12016. name: loginID
  12017. required: true
  12018. type: integer
  12019. - description: 通知公告ID
  12020. in: query
  12021. name: noticeID
  12022. required: true
  12023. type: integer
  12024. produces:
  12025. - application/json
  12026. responses:
  12027. "200":
  12028. description: OK
  12029. schema:
  12030. $ref: '#/definitions/app.Response'
  12031. "500":
  12032. description: Internal Server Error
  12033. schema:
  12034. $ref: '#/definitions/app.Response'
  12035. security:
  12036. - ApiKeyAuth: []
  12037. summary: 通知公告设置已读请求
  12038. tags:
  12039. - 通用服务
  12040. /Common/QueryErrorInfos:
  12041. get:
  12042. description: 如果传入rowNumber,则返回此rowNumber后的数据
  12043. parameters:
  12044. - description: 起始行号前索引
  12045. in: query
  12046. name: rowNumber
  12047. type: string
  12048. produces:
  12049. - application/json
  12050. responses:
  12051. "200":
  12052. description: OK
  12053. schema:
  12054. $ref: '#/definitions/models.QueryErrorInfosRsp'
  12055. "500":
  12056. description: Internal Server Error
  12057. schema:
  12058. $ref: '#/definitions/app.Response'
  12059. summary: 获取数据库错误信息
  12060. tags:
  12061. - 通用服务
  12062. /Common/QueryImageConfigs:
  12063. get:
  12064. parameters:
  12065. - description: 类型 - 1:App首页轮播 2:我的
  12066. in: query
  12067. name: imageType
  12068. type: integer
  12069. produces:
  12070. - application/json
  12071. responses:
  12072. "200":
  12073. description: OK
  12074. schema:
  12075. $ref: '#/definitions/common.QueryImageConfigsRsp'
  12076. "500":
  12077. description: Internal Server Error
  12078. schema:
  12079. $ref: '#/definitions/app.Response'
  12080. summary: 查询轮播图配置信息
  12081. tags:
  12082. - 通用服务
  12083. /Common/QueryNotice:
  12084. get:
  12085. parameters:
  12086. - description: 页码
  12087. in: query
  12088. name: page
  12089. type: integer
  12090. - description: 每页条数
  12091. in: query
  12092. name: pagesize
  12093. type: integer
  12094. - description: 登录账号
  12095. in: query
  12096. name: loginID
  12097. required: true
  12098. type: integer
  12099. - description: 消息类型 - 1:公告通知 2:系统消息
  12100. in: query
  12101. name: msgType
  12102. type: integer
  12103. - description: 是否只获取未读信息
  12104. in: query
  12105. name: onlyUnRead
  12106. type: boolean
  12107. - description: 自增ID,传入后会返回这个ID后面的记录
  12108. in: query
  12109. name: lastID
  12110. type: integer
  12111. produces:
  12112. - application/json
  12113. responses:
  12114. "200":
  12115. description: OK
  12116. schema:
  12117. $ref: '#/definitions/common.QueryNoticeRsp'
  12118. "500":
  12119. description: Internal Server Error
  12120. schema:
  12121. $ref: '#/definitions/app.Response'
  12122. security:
  12123. - ApiKeyAuth: []
  12124. summary: 通知公告系统消息查询
  12125. tags:
  12126. - 通用服务
  12127. /Common/QueryProvincesAndCities:
  12128. get:
  12129. parameters:
  12130. - description: 省ID
  12131. in: query
  12132. name: provinceID
  12133. type: integer
  12134. produces:
  12135. - application/json
  12136. responses:
  12137. "200":
  12138. description: OK
  12139. schema:
  12140. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  12141. "500":
  12142. description: Internal Server Error
  12143. schema:
  12144. $ref: '#/definitions/app.Response'
  12145. summary: 查询省市信息(不包括区)
  12146. tags:
  12147. - 通用服务
  12148. /Common/QueryTableDefine:
  12149. get:
  12150. parameters:
  12151. - description: 表key
  12152. in: query
  12153. name: tableKey
  12154. type: string
  12155. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  12156. in: query
  12157. name: tableType
  12158. type: integer
  12159. produces:
  12160. - application/json
  12161. responses:
  12162. "200":
  12163. description: OK
  12164. schema:
  12165. $ref: '#/definitions/common.QueryTableDefineRsp'
  12166. "500":
  12167. description: Internal Server Error
  12168. schema:
  12169. $ref: '#/definitions/app.Response'
  12170. summary: 查询交易端列表头信息
  12171. tags:
  12172. - 通用服务
  12173. /Common/QueryTraderMenu:
  12174. get:
  12175. parameters:
  12176. - description: 登录账号
  12177. in: query
  12178. name: loginid
  12179. required: true
  12180. type: integer
  12181. produces:
  12182. - application/json
  12183. responses:
  12184. "200":
  12185. description: OK
  12186. schema:
  12187. $ref: '#/definitions/common.QueryTraderMenuRsp'
  12188. "500":
  12189. description: Internal Server Error
  12190. schema:
  12191. $ref: '#/definitions/app.Response'
  12192. summary: 查询交易端菜单
  12193. tags:
  12194. - 通用服务
  12195. /Delivery/QueryDeliveryRelation:
  12196. get:
  12197. parameters:
  12198. - description: 商品ID
  12199. in: query
  12200. name: goodsid
  12201. type: integer
  12202. - description: 品种ID
  12203. in: query
  12204. name: deliverygoodsid
  12205. type: integer
  12206. - description: 市场ID
  12207. in: query
  12208. name: marketid
  12209. type: integer
  12210. produces:
  12211. - application/json
  12212. responses:
  12213. "200":
  12214. description: OK
  12215. schema:
  12216. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  12217. "500":
  12218. description: Internal Server Error
  12219. schema:
  12220. $ref: '#/definitions/app.Response'
  12221. security:
  12222. - ApiKeyAuth: []
  12223. summary: 查询商品交割关系表
  12224. tags:
  12225. - 交割服务
  12226. /Ermcp/GetErmcpGoods:
  12227. get:
  12228. parameters:
  12229. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  12230. in: query
  12231. name: lastUpdateTime
  12232. type: string
  12233. produces:
  12234. - application/json
  12235. responses:
  12236. "200":
  12237. description: OK
  12238. schema:
  12239. $ref: '#/definitions/models.Goods'
  12240. "500":
  12241. description: Internal Server Error
  12242. schema:
  12243. $ref: '#/definitions/app.Response'
  12244. security:
  12245. - ApiKeyAuth: []
  12246. summary: 查询企业风管期货商品信息
  12247. tags:
  12248. - 企业风险管理(app)
  12249. /Ermcp/GetErmcpGoodsSortByPosition:
  12250. get:
  12251. parameters:
  12252. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  12253. in: query
  12254. name: sortIndex
  12255. type: string
  12256. produces:
  12257. - application/json
  12258. responses:
  12259. "200":
  12260. description: OK
  12261. schema:
  12262. $ref: '#/definitions/models.Goodssortbypreposition'
  12263. "500":
  12264. description: Internal Server Error
  12265. schema:
  12266. $ref: '#/definitions/app.Response'
  12267. security:
  12268. - ApiKeyAuth: []
  12269. summary: 查询企业风管期货主力、次主力商品信息
  12270. tags:
  12271. - 企业风险管理(app)
  12272. /Ermcp/GetErmcpRoleFuncMenuLists:
  12273. get:
  12274. parameters:
  12275. - description: 登录账号
  12276. in: query
  12277. name: loginID
  12278. required: true
  12279. type: integer
  12280. produces:
  12281. - application/json
  12282. responses:
  12283. "200":
  12284. description: OK
  12285. schema:
  12286. $ref: '#/definitions/models.Funcmenulist'
  12287. "500":
  12288. description: Internal Server Error
  12289. schema:
  12290. $ref: '#/definitions/app.Response'
  12291. security:
  12292. - ApiKeyAuth: []
  12293. summary: 获取企业风管终端权限
  12294. tags:
  12295. - 企业风险管理(app)
  12296. /Ermcp/QryReportAreaSpotPL:
  12297. get:
  12298. parameters:
  12299. - description: 用户ID
  12300. in: query
  12301. name: userid
  12302. required: true
  12303. type: integer
  12304. - description: 查询类型 1-日报表 2-月报表
  12305. in: query
  12306. name: querytype
  12307. required: true
  12308. type: integer
  12309. - description: 查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)
  12310. in: query
  12311. name: querydate
  12312. required: true
  12313. type: string
  12314. - description: 现货商品ID
  12315. in: query
  12316. name: wrstandardid
  12317. type: integer
  12318. - description: 品牌ID
  12319. in: query
  12320. name: spotgoodsbrandid
  12321. type: integer
  12322. - description: 型号ID
  12323. in: query
  12324. name: spotgoodsmodelid
  12325. type: integer
  12326. produces:
  12327. - application/json
  12328. responses:
  12329. "200":
  12330. description: OK
  12331. schema:
  12332. items:
  12333. $ref: '#/definitions/models.ErmcpReportAreaSpotPL'
  12334. type: array
  12335. "500":
  12336. description: Internal Server Error
  12337. schema:
  12338. $ref: '#/definitions/app.Response'
  12339. security:
  12340. - ApiKeyAuth: []
  12341. summary: 查询现货损益报表(现货损益报表)
  12342. tags:
  12343. - 企业风险管理(app)
  12344. /Ermcp/QryReportDayExposure:
  12345. get:
  12346. parameters:
  12347. - description: 用户ID
  12348. in: query
  12349. name: userid
  12350. required: true
  12351. type: integer
  12352. - description: 交易日(格式:yyyyMMdd)
  12353. in: query
  12354. name: tradedate
  12355. required: true
  12356. type: string
  12357. produces:
  12358. - application/json
  12359. responses:
  12360. "200":
  12361. description: OK
  12362. schema:
  12363. items:
  12364. $ref: '#/definitions/ermcp.QryReportExposureDayRsp'
  12365. type: array
  12366. "500":
  12367. description: Internal Server Error
  12368. schema:
  12369. $ref: '#/definitions/app.Response'
  12370. security:
  12371. - ApiKeyAuth: []
  12372. summary: 查询敞口日报表(菜单:报表查询/敞口报表/敞口日报表)
  12373. tags:
  12374. - 企业风险管理(app)
  12375. /Ermcp/QryReportDayFinance:
  12376. get:
  12377. parameters:
  12378. - description: 用户ID
  12379. in: query
  12380. name: userid
  12381. required: true
  12382. type: integer
  12383. - description: 交易日(格式:yyyyMMdd)
  12384. in: query
  12385. name: tradedate
  12386. required: true
  12387. type: string
  12388. produces:
  12389. - application/json
  12390. responses:
  12391. "200":
  12392. description: OK
  12393. schema:
  12394. items:
  12395. $ref: '#/definitions/ermcp.QryReportFinanceDayRsp'
  12396. type: array
  12397. "500":
  12398. description: Internal Server Error
  12399. schema:
  12400. $ref: '#/definitions/app.Response'
  12401. security:
  12402. - ApiKeyAuth: []
  12403. summary: 查询财务日报表(菜单:报表查询/财务报表/日报表)
  12404. tags:
  12405. - 企业风险管理(app)
  12406. /Ermcp/QryReportDayFinanceFp:
  12407. get:
  12408. parameters:
  12409. - description: 用户ID
  12410. in: query
  12411. name: userid
  12412. required: true
  12413. type: integer
  12414. - description: 交易日(格式:yyyyMMdd)
  12415. in: query
  12416. name: tradedate
  12417. required: true
  12418. type: string
  12419. produces:
  12420. - application/json
  12421. responses:
  12422. "200":
  12423. description: OK
  12424. schema:
  12425. items:
  12426. $ref: '#/definitions/ermcp.QryReportFinanceKxRsp'
  12427. type: array
  12428. "500":
  12429. description: Internal Server Error
  12430. schema:
  12431. $ref: '#/definitions/app.Response'
  12432. security:
  12433. - ApiKeyAuth: []
  12434. summary: 查询财务日报表发票(菜单:报表查询/财务报表/日报表/发票)
  12435. tags:
  12436. - 企业风险管理(app)
  12437. /Ermcp/QryReportDayFinanceKx:
  12438. get:
  12439. parameters:
  12440. - description: 用户ID
  12441. in: query
  12442. name: userid
  12443. required: true
  12444. type: integer
  12445. - description: 交易日(格式:yyyyMMdd)
  12446. in: query
  12447. name: tradedate
  12448. required: true
  12449. type: string
  12450. produces:
  12451. - application/json
  12452. responses:
  12453. "200":
  12454. description: OK
  12455. schema:
  12456. items:
  12457. $ref: '#/definitions/ermcp.QryReportFinanceKxRsp'
  12458. type: array
  12459. "500":
  12460. description: Internal Server Error
  12461. schema:
  12462. $ref: '#/definitions/app.Response'
  12463. security:
  12464. - ApiKeyAuth: []
  12465. summary: 查询财务日报表款项(菜单:报表查询/财务报表/日报表/款项)
  12466. tags:
  12467. - 企业风险管理(app)
  12468. /Ermcp/QryReportDaySpot:
  12469. get:
  12470. parameters:
  12471. - description: 用户ID
  12472. in: query
  12473. name: userid
  12474. required: true
  12475. type: integer
  12476. - description: 交易日(格式:yyyyMMdd)
  12477. in: query
  12478. name: tradedate
  12479. required: true
  12480. type: string
  12481. produces:
  12482. - application/json
  12483. responses:
  12484. "200":
  12485. description: OK
  12486. schema:
  12487. items:
  12488. $ref: '#/definitions/ermcp.QryReportSpotDayRsp'
  12489. type: array
  12490. "500":
  12491. description: Internal Server Error
  12492. schema:
  12493. $ref: '#/definitions/app.Response'
  12494. security:
  12495. - ApiKeyAuth: []
  12496. summary: 查询现货日报表(菜单:报表查询/现货报表/现货日报表)
  12497. tags:
  12498. - 企业风险管理(app)
  12499. /Ermcp/QryReportDaySpotDetail:
  12500. get:
  12501. parameters:
  12502. - description: 用户ID
  12503. in: query
  12504. name: userid
  12505. required: true
  12506. type: integer
  12507. - description: 现货商品id
  12508. in: query
  12509. name: wrstandardid
  12510. required: true
  12511. type: integer
  12512. - description: 交易日(格式:yyyyMMdd)
  12513. in: query
  12514. name: tradedate
  12515. required: true
  12516. type: string
  12517. produces:
  12518. - application/json
  12519. responses:
  12520. "200":
  12521. description: OK
  12522. schema:
  12523. items:
  12524. $ref: '#/definitions/ermcp.QryReportDaySpotDetailRsp'
  12525. type: array
  12526. "500":
  12527. description: Internal Server Error
  12528. schema:
  12529. $ref: '#/definitions/app.Response'
  12530. security:
  12531. - ApiKeyAuth: []
  12532. summary: 查询现货日报表详情(菜单:报表查询/现货报表/现货日报表详情)
  12533. tags:
  12534. - 企业风险管理(app)
  12535. /Ermcp/QryReportMonthFinance:
  12536. get:
  12537. parameters:
  12538. - description: 用户ID
  12539. in: query
  12540. name: userid
  12541. required: true
  12542. type: integer
  12543. - description: 周期时间:月(格式:yyyyMM)
  12544. in: query
  12545. name: cycletime
  12546. required: true
  12547. type: string
  12548. produces:
  12549. - application/json
  12550. responses:
  12551. "200":
  12552. description: OK
  12553. schema:
  12554. items:
  12555. $ref: '#/definitions/ermcp.QryReportFinanceMonRsp'
  12556. type: array
  12557. "500":
  12558. description: Internal Server Error
  12559. schema:
  12560. $ref: '#/definitions/app.Response'
  12561. security:
  12562. - ApiKeyAuth: []
  12563. summary: 查询财务月报表(菜单:报表查询/财务报表/月报表)
  12564. tags:
  12565. - 企业风险管理(app)
  12566. /Ermcp/QryReportMonthSpot:
  12567. get:
  12568. parameters:
  12569. - description: 用户ID
  12570. in: query
  12571. name: userid
  12572. required: true
  12573. type: integer
  12574. - description: 周期时间:月(格式:yyyyMM)
  12575. in: query
  12576. name: cycletime
  12577. required: true
  12578. type: string
  12579. produces:
  12580. - application/json
  12581. responses:
  12582. "200":
  12583. description: OK
  12584. schema:
  12585. items:
  12586. $ref: '#/definitions/ermcp.QryReportSpotMonRsp'
  12587. type: array
  12588. "500":
  12589. description: Internal Server Error
  12590. schema:
  12591. $ref: '#/definitions/app.Response'
  12592. security:
  12593. - ApiKeyAuth: []
  12594. summary: 查询现货月报表(菜单:报表查询/现货报表/现货月报表)
  12595. tags:
  12596. - 企业风险管理(app)
  12597. /Ermcp/QryReportMonthSpotDetail:
  12598. get:
  12599. parameters:
  12600. - description: 用户ID
  12601. in: query
  12602. name: userid
  12603. required: true
  12604. type: integer
  12605. - description: 现货商品id
  12606. in: query
  12607. name: wrstandardid
  12608. required: true
  12609. type: integer
  12610. - description: 周期时间:月(格式:yyyyMM)
  12611. in: query
  12612. name: cycletime
  12613. required: true
  12614. type: string
  12615. produces:
  12616. - application/json
  12617. responses:
  12618. "200":
  12619. description: OK
  12620. schema:
  12621. items:
  12622. $ref: '#/definitions/ermcp.QryReportSpotMonthDetailRsp'
  12623. type: array
  12624. "500":
  12625. description: Internal Server Error
  12626. schema:
  12627. $ref: '#/definitions/app.Response'
  12628. security:
  12629. - ApiKeyAuth: []
  12630. summary: 查询现货月报表详情(菜单:报表查询/现货月报表/现货月报表详情)
  12631. tags:
  12632. - 企业风险管理(app)
  12633. /Ermcp/QueryAccMgrBizGroupSet:
  12634. get:
  12635. parameters:
  12636. - description: 用户ID
  12637. in: query
  12638. name: userid
  12639. required: true
  12640. type: integer
  12641. produces:
  12642. - application/json
  12643. responses:
  12644. "200":
  12645. description: OK
  12646. schema:
  12647. items:
  12648. $ref: '#/definitions/models.ErmcpBizGroupEx'
  12649. type: array
  12650. "500":
  12651. description: Internal Server Error
  12652. schema:
  12653. $ref: '#/definitions/app.Response'
  12654. security:
  12655. - ApiKeyAuth: []
  12656. summary: 查询业务类型分组(账户管理/账户设置)
  12657. tags:
  12658. - 企业风险管理(app)
  12659. /Ermcp/QueryAccMgrLoginUser:
  12660. get:
  12661. parameters:
  12662. - description: 用户ID
  12663. in: query
  12664. name: userid
  12665. required: true
  12666. type: integer
  12667. produces:
  12668. - application/json
  12669. responses:
  12670. "200":
  12671. description: OK
  12672. schema:
  12673. items:
  12674. $ref: '#/definitions/models.ErmcpLoginUserEx'
  12675. type: array
  12676. "500":
  12677. description: Internal Server Error
  12678. schema:
  12679. $ref: '#/definitions/app.Response'
  12680. security:
  12681. - ApiKeyAuth: []
  12682. summary: 查询账户管理登录账号(账户管理/登录账号)
  12683. tags:
  12684. - 企业风险管理(app)
  12685. /Ermcp/QueryAccMgrMainAccountInfo:
  12686. get:
  12687. parameters:
  12688. - description: 用户ID
  12689. in: query
  12690. name: userid
  12691. type: integer
  12692. - description: 主账号id
  12693. in: query
  12694. name: accountid
  12695. type: integer
  12696. produces:
  12697. - application/json
  12698. responses:
  12699. "200":
  12700. description: OK
  12701. schema:
  12702. items:
  12703. $ref: '#/definitions/models.MainAccountInfo'
  12704. type: array
  12705. "500":
  12706. description: Internal Server Error
  12707. schema:
  12708. $ref: '#/definitions/app.Response'
  12709. security:
  12710. - ApiKeyAuth: []
  12711. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  12712. tags:
  12713. - 企业风险管理(app)
  12714. /Ermcp/QueryAccMgrRole:
  12715. get:
  12716. parameters:
  12717. - description: 用户ID
  12718. in: query
  12719. name: userid
  12720. required: true
  12721. type: integer
  12722. produces:
  12723. - application/json
  12724. responses:
  12725. "200":
  12726. description: OK
  12727. schema:
  12728. items:
  12729. $ref: '#/definitions/models.ErmcpRole'
  12730. type: array
  12731. "500":
  12732. description: Internal Server Error
  12733. schema:
  12734. $ref: '#/definitions/app.Response'
  12735. security:
  12736. - ApiKeyAuth: []
  12737. summary: 查询账户管理角色设置(账户管理/角色设置)
  12738. tags:
  12739. - 企业风险管理(app)
  12740. /Ermcp/QueryAccMgrRoleMenu:
  12741. get:
  12742. parameters:
  12743. - description: 用户ID
  12744. in: query
  12745. name: userid
  12746. required: true
  12747. type: integer
  12748. - description: 角色id(可多个,逗号隔开)
  12749. in: query
  12750. name: roleid
  12751. type: string
  12752. produces:
  12753. - application/json
  12754. responses:
  12755. "200":
  12756. description: OK
  12757. schema:
  12758. items:
  12759. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  12760. type: array
  12761. "500":
  12762. description: Internal Server Error
  12763. schema:
  12764. $ref: '#/definitions/app.Response'
  12765. security:
  12766. - ApiKeyAuth: []
  12767. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  12768. tags:
  12769. - 企业风险管理(app)
  12770. /Ermcp/QueryAccMgrTaAccountInfo:
  12771. get:
  12772. parameters:
  12773. - description: 用户ID
  12774. in: query
  12775. name: userid
  12776. required: true
  12777. type: integer
  12778. - description: 账号id
  12779. in: query
  12780. name: accountid
  12781. type: integer
  12782. produces:
  12783. - application/json
  12784. responses:
  12785. "200":
  12786. description: OK
  12787. schema:
  12788. items:
  12789. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  12790. type: array
  12791. "500":
  12792. description: Internal Server Error
  12793. schema:
  12794. $ref: '#/definitions/app.Response'
  12795. security:
  12796. - ApiKeyAuth: []
  12797. summary: 查询账户管理授信(账户管理/账户设置/授信)
  12798. tags:
  12799. - 企业风险管理(app)
  12800. /Ermcp/QueryAccMgrTaaccount:
  12801. get:
  12802. parameters:
  12803. - description: 用户ID
  12804. in: query
  12805. name: userid
  12806. required: true
  12807. type: integer
  12808. produces:
  12809. - application/json
  12810. responses:
  12811. "200":
  12812. description: OK
  12813. schema:
  12814. items:
  12815. $ref: '#/definitions/models.ErmcpTaAccountEx'
  12816. type: array
  12817. "500":
  12818. description: Internal Server Error
  12819. schema:
  12820. $ref: '#/definitions/app.Response'
  12821. security:
  12822. - ApiKeyAuth: []
  12823. summary: 查询账户管理期货账号(账户管理/期货账号)
  12824. tags:
  12825. - 企业风险管理(app)
  12826. /Ermcp/QueryAreaStock:
  12827. get:
  12828. parameters:
  12829. - description: 用户ID
  12830. in: query
  12831. name: userid
  12832. required: true
  12833. type: integer
  12834. produces:
  12835. - application/json
  12836. responses:
  12837. "200":
  12838. description: OK
  12839. schema:
  12840. items:
  12841. $ref: '#/definitions/models.ErmcpAreaStock'
  12842. type: array
  12843. "500":
  12844. description: Internal Server Error
  12845. schema:
  12846. $ref: '#/definitions/app.Response'
  12847. security:
  12848. - ApiKeyAuth: []
  12849. summary: 查询机构库存(库存管理/当前库存)
  12850. tags:
  12851. - 企业风险管理(app)
  12852. /Ermcp/QueryAreaStockApply:
  12853. get:
  12854. parameters:
  12855. - description: 用户ID
  12856. in: query
  12857. name: userid
  12858. required: true
  12859. type: integer
  12860. - description: 出入库类型(可多项,逗号隔开) 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  12861. in: query
  12862. name: inouttype
  12863. type: string
  12864. - description: 合同ID
  12865. in: query
  12866. name: spotcontractid
  12867. type: integer
  12868. - description: 现货商品ID
  12869. in: query
  12870. name: wrstandardid
  12871. type: integer
  12872. - description: 品牌ID
  12873. in: query
  12874. name: spotgoodsbrandid
  12875. type: integer
  12876. - description: 型号ID
  12877. in: query
  12878. name: spotgoodsmodelid
  12879. type: integer
  12880. - description: 仓库ID
  12881. in: query
  12882. name: warehouseinfoid
  12883. type: integer
  12884. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  12885. in: query
  12886. name: applystatus
  12887. type: string
  12888. produces:
  12889. - application/json
  12890. responses:
  12891. "200":
  12892. description: OK
  12893. schema:
  12894. items:
  12895. $ref: '#/definitions/ermcp.QryAreaStockApplyRsp'
  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/QueryAreaStockApplySum:
  12907. get:
  12908. parameters:
  12909. - description: 合同ID
  12910. in: query
  12911. name: spotcontractid
  12912. type: integer
  12913. produces:
  12914. - application/json
  12915. responses:
  12916. "200":
  12917. description: OK
  12918. schema:
  12919. items:
  12920. $ref: '#/definitions/ermcp.QueryAreaStockApplySumRsp'
  12921. type: array
  12922. "500":
  12923. description: Internal Server Error
  12924. schema:
  12925. $ref: '#/definitions/app.Response'
  12926. security:
  12927. - ApiKeyAuth: []
  12928. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  12929. tags:
  12930. - 企业风险管理(app)
  12931. /Ermcp/QueryAreaStockReport:
  12932. get:
  12933. parameters:
  12934. - description: 用户ID
  12935. in: query
  12936. name: userid
  12937. required: true
  12938. type: integer
  12939. - description: 查询类型 1-日报表 2-月报表
  12940. in: query
  12941. name: querytype
  12942. required: true
  12943. type: integer
  12944. - description: 查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)
  12945. in: query
  12946. name: querydate
  12947. required: true
  12948. type: string
  12949. - description: 现货商品ID
  12950. in: query
  12951. name: wrstandardid
  12952. type: integer
  12953. - description: 品牌ID
  12954. in: query
  12955. name: spotgoodsbrandid
  12956. type: integer
  12957. - description: 型号ID
  12958. in: query
  12959. name: spotgoodsmodelid
  12960. type: integer
  12961. - description: 仓库ID
  12962. in: query
  12963. name: warehouseinfoid
  12964. type: integer
  12965. produces:
  12966. - application/json
  12967. responses:
  12968. "200":
  12969. description: OK
  12970. schema:
  12971. items:
  12972. $ref: '#/definitions/models.ErmcpAreaStockReport'
  12973. type: array
  12974. "500":
  12975. description: Internal Server Error
  12976. schema:
  12977. $ref: '#/definitions/app.Response'
  12978. security:
  12979. - ApiKeyAuth: []
  12980. summary: 查询库存报表
  12981. tags:
  12982. - 企业风险管理(app)
  12983. /Ermcp/QueryAreaStockReportDetail:
  12984. get:
  12985. parameters:
  12986. - description: 用户ID
  12987. in: query
  12988. name: userid
  12989. required: true
  12990. type: integer
  12991. - description: 查询类型 1-日报表明细 2-月报表明细
  12992. in: query
  12993. name: querytype
  12994. required: true
  12995. type: integer
  12996. - description: 明细类型 1:入库明细(采购入库+生产入库) 2:出库明细(销售出库+生产出库)
  12997. in: query
  12998. name: detailtype
  12999. required: true
  13000. type: integer
  13001. - description: 查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)
  13002. in: query
  13003. name: querydate
  13004. required: true
  13005. type: string
  13006. - description: 现货商品ID
  13007. in: query
  13008. name: wrstandardid
  13009. type: integer
  13010. - description: 品牌ID
  13011. in: query
  13012. name: spotgoodsbrandid
  13013. type: integer
  13014. - description: 型号ID
  13015. in: query
  13016. name: spotgoodsmodelid
  13017. type: integer
  13018. - description: 仓库ID
  13019. in: query
  13020. name: warehouseinfoid
  13021. type: integer
  13022. produces:
  13023. - application/json
  13024. responses:
  13025. "200":
  13026. description: OK
  13027. schema:
  13028. items:
  13029. $ref: '#/definitions/models.ErmcpAreaStockApply'
  13030. type: array
  13031. "500":
  13032. description: Internal Server Error
  13033. schema:
  13034. $ref: '#/definitions/app.Response'
  13035. security:
  13036. - ApiKeyAuth: []
  13037. summary: 查询库存报表明细
  13038. tags:
  13039. - 企业风险管理(app)
  13040. /Ermcp/QueryAvaildGoodsGroup:
  13041. get:
  13042. parameters:
  13043. - description: 所属机构ID
  13044. in: query
  13045. name: userid
  13046. required: true
  13047. type: integer
  13048. produces:
  13049. - application/json
  13050. responses:
  13051. "200":
  13052. description: OK
  13053. schema:
  13054. items:
  13055. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  13056. type: array
  13057. "500":
  13058. description: Internal Server Error
  13059. schema:
  13060. $ref: '#/definitions/app.Response'
  13061. security:
  13062. - ApiKeyAuth: []
  13063. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  13064. tags:
  13065. - 企业风险管理(app)
  13066. /Ermcp/QueryBusinessDj:
  13067. get:
  13068. parameters:
  13069. - description: 用户ID
  13070. in: query
  13071. name: UserId
  13072. required: true
  13073. type: integer
  13074. - description: 现货合同ID, 不填则查所有
  13075. in: query
  13076. name: relatedid
  13077. type: string
  13078. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13079. in: query
  13080. name: applystatus
  13081. type: string
  13082. produces:
  13083. - application/json
  13084. responses:
  13085. "200":
  13086. description: OK
  13087. schema:
  13088. items:
  13089. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  13090. type: array
  13091. "500":
  13092. description: Internal Server Error
  13093. schema:
  13094. $ref: '#/definitions/app.Response'
  13095. security:
  13096. - ApiKeyAuth: []
  13097. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  13098. tags:
  13099. - 企业风险管理(app)
  13100. /Ermcp/QueryBusinessFp:
  13101. get:
  13102. parameters:
  13103. - description: 用户ID
  13104. in: query
  13105. name: UserId
  13106. required: true
  13107. type: integer
  13108. - description: 现货合同ID, 不填则查所有
  13109. in: query
  13110. name: relatedid
  13111. type: string
  13112. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13113. in: query
  13114. name: applystatus
  13115. type: string
  13116. produces:
  13117. - application/json
  13118. responses:
  13119. "200":
  13120. description: OK
  13121. schema:
  13122. items:
  13123. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  13124. type: array
  13125. "500":
  13126. description: Internal Server Error
  13127. schema:
  13128. $ref: '#/definitions/app.Response'
  13129. security:
  13130. - ApiKeyAuth: []
  13131. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  13132. tags:
  13133. - 企业风险管理(app)
  13134. /Ermcp/QueryBusinessJs:
  13135. get:
  13136. parameters:
  13137. - description: 用户ID
  13138. in: query
  13139. name: UserId
  13140. required: true
  13141. type: integer
  13142. - description: 现货合同ID, 不填则查所有
  13143. in: query
  13144. name: relatedid
  13145. type: string
  13146. - description: 操作申请id
  13147. in: query
  13148. name: operateapplyid
  13149. type: string
  13150. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13151. in: query
  13152. name: applystatus
  13153. type: string
  13154. produces:
  13155. - application/json
  13156. responses:
  13157. "200":
  13158. description: OK
  13159. schema:
  13160. items:
  13161. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  13162. type: array
  13163. "500":
  13164. description: Internal Server Error
  13165. schema:
  13166. $ref: '#/definitions/app.Response'
  13167. security:
  13168. - ApiKeyAuth: []
  13169. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  13170. tags:
  13171. - 企业风险管理(app)
  13172. /Ermcp/QueryBusinessJsEx:
  13173. get:
  13174. parameters:
  13175. - description: 用户ID
  13176. in: query
  13177. name: UserId
  13178. required: true
  13179. type: integer
  13180. - description: 现货合同ID, 不填则查所有
  13181. in: query
  13182. name: relatedid
  13183. type: string
  13184. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13185. in: query
  13186. name: applystatus
  13187. type: string
  13188. produces:
  13189. - application/json
  13190. responses:
  13191. "200":
  13192. description: OK
  13193. schema:
  13194. items:
  13195. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  13196. type: array
  13197. "500":
  13198. description: Internal Server Error
  13199. schema:
  13200. $ref: '#/definitions/app.Response'
  13201. security:
  13202. - ApiKeyAuth: []
  13203. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  13204. tags:
  13205. - 企业风险管理(app)
  13206. /Ermcp/QueryBusinessKx:
  13207. get:
  13208. parameters:
  13209. - description: 用户ID
  13210. in: query
  13211. name: UserId
  13212. required: true
  13213. type: integer
  13214. - description: 现货合同ID, 不填则查所有
  13215. in: query
  13216. name: relatedid
  13217. type: string
  13218. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13219. in: query
  13220. name: applystatus
  13221. type: string
  13222. produces:
  13223. - application/json
  13224. responses:
  13225. "200":
  13226. description: OK
  13227. schema:
  13228. items:
  13229. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  13230. type: array
  13231. "500":
  13232. description: Internal Server Error
  13233. schema:
  13234. $ref: '#/definitions/app.Response'
  13235. security:
  13236. - ApiKeyAuth: []
  13237. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  13238. tags:
  13239. - 企业风险管理(app)
  13240. /Ermcp/QueryChangeLog:
  13241. get:
  13242. parameters:
  13243. - description: 合同ID
  13244. in: query
  13245. name: RelatedId
  13246. required: true
  13247. type: string
  13248. produces:
  13249. - application/json
  13250. responses:
  13251. "200":
  13252. description: OK
  13253. schema:
  13254. items:
  13255. $ref: '#/definitions/ermcp.QryOPLogRsp'
  13256. type: array
  13257. "500":
  13258. description: Internal Server Error
  13259. schema:
  13260. $ref: '#/definitions/app.Response'
  13261. security:
  13262. - ApiKeyAuth: []
  13263. summary: 查询变更记录
  13264. tags:
  13265. - 企业风险管理(app)
  13266. /Ermcp/QueryContract:
  13267. get:
  13268. parameters:
  13269. - description: 用户ID
  13270. in: query
  13271. name: userId
  13272. required: true
  13273. type: integer
  13274. - description: 合同类型 1-采购, -1-销售
  13275. in: query
  13276. name: contracttype
  13277. required: true
  13278. type: integer
  13279. - description: 查询类型 1-全部 2-待点价 3-履约结算
  13280. in: query
  13281. name: querytype
  13282. required: true
  13283. type: integer
  13284. - description: 合同ID(SpotContractId)
  13285. in: query
  13286. name: contractid
  13287. type: string
  13288. produces:
  13289. - application/json
  13290. responses:
  13291. "200":
  13292. description: OK
  13293. schema:
  13294. items:
  13295. $ref: '#/definitions/ermcp.QryErmcpRsp'
  13296. type: array
  13297. "500":
  13298. description: Internal Server Error
  13299. schema:
  13300. $ref: '#/definitions/app.Response'
  13301. security:
  13302. - ApiKeyAuth: []
  13303. summary: 查询合同(采购和销售)
  13304. tags:
  13305. - 企业风险管理(app)
  13306. /Ermcp/QueryErmcpHisOrderDetails:
  13307. get:
  13308. parameters:
  13309. - description: 资金账户ID
  13310. in: query
  13311. name: accountID
  13312. required: true
  13313. type: integer
  13314. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  13315. in: query
  13316. name: startDate
  13317. type: string
  13318. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  13319. in: query
  13320. name: endDate
  13321. type: string
  13322. produces:
  13323. - application/json
  13324. responses:
  13325. "200":
  13326. description: OK
  13327. schema:
  13328. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  13329. "500":
  13330. description: Internal Server Error
  13331. schema:
  13332. $ref: '#/definitions/app.Response'
  13333. security:
  13334. - ApiKeyAuth: []
  13335. summary: 获取企业风管期货历史委托单信息
  13336. tags:
  13337. - 企业风险管理(app)
  13338. /Ermcp/QueryErmcpHisTradeDetails:
  13339. get:
  13340. parameters:
  13341. - description: 资金账户ID
  13342. in: query
  13343. name: accountID
  13344. required: true
  13345. type: integer
  13346. - description: 商品ID
  13347. in: query
  13348. name: goodsID
  13349. type: integer
  13350. - description: 买卖方向,0:买 1:卖
  13351. in: query
  13352. name: buyOrSell
  13353. type: integer
  13354. - description: 关联委托单号
  13355. in: query
  13356. name: orderID
  13357. type: integer
  13358. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  13359. in: query
  13360. name: startDate
  13361. type: string
  13362. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  13363. in: query
  13364. name: endDate
  13365. type: string
  13366. produces:
  13367. - application/json
  13368. responses:
  13369. "200":
  13370. description: OK
  13371. schema:
  13372. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  13373. "500":
  13374. description: Internal Server Error
  13375. schema:
  13376. $ref: '#/definitions/app.Response'
  13377. security:
  13378. - ApiKeyAuth: []
  13379. summary: 获取企业风管期货历史成交单信息
  13380. tags:
  13381. - 企业风险管理(app)
  13382. /Ermcp/QueryErmcpInnerHolderDetails:
  13383. get:
  13384. parameters:
  13385. - description: 资金账户ID
  13386. in: query
  13387. name: accountID
  13388. required: true
  13389. type: integer
  13390. - description: 商品ID
  13391. in: query
  13392. name: goodsID
  13393. type: integer
  13394. - description: 买卖方向,0:买 1:卖
  13395. in: query
  13396. name: buyOrSell
  13397. type: integer
  13398. produces:
  13399. - application/json
  13400. responses:
  13401. "200":
  13402. description: OK
  13403. schema:
  13404. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  13405. "500":
  13406. description: Internal Server Error
  13407. schema:
  13408. $ref: '#/definitions/app.Response'
  13409. security:
  13410. - ApiKeyAuth: []
  13411. summary: 获取企业风管期货内部持仓单信息
  13412. tags:
  13413. - 企业风险管理(app)
  13414. /Ermcp/QueryErmcpOrderDetails:
  13415. get:
  13416. parameters:
  13417. - description: 资金账户ID
  13418. in: query
  13419. name: accountID
  13420. required: true
  13421. type: integer
  13422. produces:
  13423. - application/json
  13424. responses:
  13425. "200":
  13426. description: OK
  13427. schema:
  13428. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  13429. "500":
  13430. description: Internal Server Error
  13431. schema:
  13432. $ref: '#/definitions/app.Response'
  13433. security:
  13434. - ApiKeyAuth: []
  13435. summary: 获取企业风管期货委托单信息
  13436. tags:
  13437. - 企业风险管理(app)
  13438. /Ermcp/QueryErmcpTradeDetails:
  13439. get:
  13440. parameters:
  13441. - description: 资金账户ID
  13442. in: query
  13443. name: accountID
  13444. required: true
  13445. type: integer
  13446. - description: 商品ID
  13447. in: query
  13448. name: goodsID
  13449. type: integer
  13450. - description: 买卖方向,0:买 1:卖
  13451. in: query
  13452. name: buyOrSell
  13453. type: integer
  13454. - description: 关联委托单号
  13455. in: query
  13456. name: orderID
  13457. type: integer
  13458. produces:
  13459. - application/json
  13460. responses:
  13461. "200":
  13462. description: OK
  13463. schema:
  13464. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  13465. "500":
  13466. description: Internal Server Error
  13467. schema:
  13468. $ref: '#/definitions/app.Response'
  13469. security:
  13470. - ApiKeyAuth: []
  13471. summary: 获取企业风管期货成交单信息
  13472. tags:
  13473. - 企业风险管理(app)
  13474. /Ermcp/QueryErmcpTradePosition:
  13475. get:
  13476. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  13477. parameters:
  13478. - description: 资金账户ID
  13479. in: query
  13480. name: accountID
  13481. required: true
  13482. type: integer
  13483. - description: 所属市场ID
  13484. in: query
  13485. name: marketID
  13486. type: integer
  13487. produces:
  13488. - application/json
  13489. responses:
  13490. "200":
  13491. description: OK
  13492. schema:
  13493. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  13494. "500":
  13495. description: Internal Server Error
  13496. schema:
  13497. $ref: '#/definitions/app.Response'
  13498. security:
  13499. - ApiKeyAuth: []
  13500. summary: 获取企业风管期货持仓头寸信息
  13501. tags:
  13502. - 企业风险管理(app)
  13503. /Ermcp/QueryExposureDetail:
  13504. get:
  13505. parameters:
  13506. - description: 所属机构ID
  13507. in: query
  13508. name: areaUserId
  13509. required: true
  13510. type: integer
  13511. - description: 套保商品
  13512. in: query
  13513. name: middleGoodsId
  13514. required: true
  13515. type: integer
  13516. produces:
  13517. - application/json
  13518. responses:
  13519. "200":
  13520. description: OK
  13521. schema:
  13522. items:
  13523. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  13524. type: array
  13525. "500":
  13526. description: Internal Server Error
  13527. schema:
  13528. $ref: '#/definitions/app.Response'
  13529. security:
  13530. - ApiKeyAuth: []
  13531. summary: 查询敞口现货明细
  13532. tags:
  13533. - 企业风险管理(app)
  13534. /Ermcp/QueryExposureHedgePosition:
  13535. get:
  13536. parameters:
  13537. - description: 所属机构ID
  13538. in: query
  13539. name: areaUserId
  13540. required: true
  13541. type: integer
  13542. produces:
  13543. - application/json
  13544. responses:
  13545. "200":
  13546. description: OK
  13547. schema:
  13548. items:
  13549. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  13550. type: array
  13551. "500":
  13552. description: Internal Server Error
  13553. schema:
  13554. $ref: '#/definitions/app.Response'
  13555. security:
  13556. - ApiKeyAuth: []
  13557. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  13558. tags:
  13559. - 企业风险管理(app)
  13560. /Ermcp/QueryExposureHedgePositionDetail:
  13561. get:
  13562. parameters:
  13563. - description: 所属机构ID
  13564. in: query
  13565. name: areaUserId
  13566. required: true
  13567. type: integer
  13568. - description: 商品id
  13569. in: query
  13570. name: goodsId
  13571. required: true
  13572. type: integer
  13573. produces:
  13574. - application/json
  13575. responses:
  13576. "200":
  13577. description: OK
  13578. schema:
  13579. items:
  13580. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  13581. type: array
  13582. "500":
  13583. description: Internal Server Error
  13584. schema:
  13585. $ref: '#/definitions/app.Response'
  13586. security:
  13587. - ApiKeyAuth: []
  13588. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  13589. tags:
  13590. - 企业风险管理(app)
  13591. /Ermcp/QueryExposureSpot:
  13592. get:
  13593. parameters:
  13594. - description: 所属机构ID
  13595. in: query
  13596. name: areaUserId
  13597. required: true
  13598. type: integer
  13599. produces:
  13600. - application/json
  13601. responses:
  13602. "200":
  13603. description: OK
  13604. schema:
  13605. items:
  13606. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  13607. type: array
  13608. "500":
  13609. description: Internal Server Error
  13610. schema:
  13611. $ref: '#/definitions/app.Response'
  13612. security:
  13613. - ApiKeyAuth: []
  13614. summary: 查询敞口现货头寸(敞口/现货头寸)
  13615. tags:
  13616. - 企业风险管理(app)
  13617. /Ermcp/QueryExposureSpotDetail:
  13618. get:
  13619. parameters:
  13620. - description: 所属机构ID
  13621. in: query
  13622. name: areaUserId
  13623. required: true
  13624. type: integer
  13625. - description: 现货品种ID
  13626. in: query
  13627. name: wrstandardId
  13628. required: true
  13629. type: integer
  13630. produces:
  13631. - application/json
  13632. responses:
  13633. "200":
  13634. description: OK
  13635. schema:
  13636. items:
  13637. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  13638. type: array
  13639. "500":
  13640. description: Internal Server Error
  13641. schema:
  13642. $ref: '#/definitions/app.Response'
  13643. security:
  13644. - ApiKeyAuth: []
  13645. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  13646. tags:
  13647. - 企业风险管理(app)
  13648. /Ermcp/QueryFuturesCompany:
  13649. get:
  13650. produces:
  13651. - application/json
  13652. responses:
  13653. "200":
  13654. description: OK
  13655. schema:
  13656. items:
  13657. $ref: '#/definitions/models.ErmcpFuturesCompany'
  13658. type: array
  13659. "500":
  13660. description: Internal Server Error
  13661. schema:
  13662. $ref: '#/definitions/app.Response'
  13663. security:
  13664. - ApiKeyAuth: []
  13665. summary: 查询期货公司
  13666. tags:
  13667. - 企业风险管理(app)
  13668. /Ermcp/QueryGGConvertConfig:
  13669. get:
  13670. parameters:
  13671. - description: 品种id(不填则查所有)
  13672. in: query
  13673. name: goodsgroupid
  13674. type: integer
  13675. produces:
  13676. - application/json
  13677. responses:
  13678. "200":
  13679. description: OK
  13680. schema:
  13681. items:
  13682. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  13683. type: array
  13684. "500":
  13685. description: Internal Server Error
  13686. schema:
  13687. $ref: '#/definitions/app.Response'
  13688. security:
  13689. - ApiKeyAuth: []
  13690. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  13691. tags:
  13692. - 企业风险管理(app)
  13693. /Ermcp/QueryGoodsBrand:
  13694. get:
  13695. parameters:
  13696. - description: 用户ID
  13697. in: query
  13698. name: userid
  13699. required: true
  13700. type: integer
  13701. - description: 现货商品ID
  13702. in: query
  13703. name: wrstandardid
  13704. type: integer
  13705. produces:
  13706. - application/json
  13707. responses:
  13708. "200":
  13709. description: OK
  13710. schema:
  13711. items:
  13712. $ref: '#/definitions/models.ErmcpGoodsBrand'
  13713. type: array
  13714. "500":
  13715. description: Internal Server Error
  13716. schema:
  13717. $ref: '#/definitions/app.Response'
  13718. security:
  13719. - ApiKeyAuth: []
  13720. summary: 查询商品品牌
  13721. tags:
  13722. - 企业风险管理(app)
  13723. /Ermcp/QueryGoodsModel:
  13724. get:
  13725. parameters:
  13726. - description: 用户ID
  13727. in: query
  13728. name: userid
  13729. required: true
  13730. type: integer
  13731. produces:
  13732. - application/json
  13733. responses:
  13734. "200":
  13735. description: OK
  13736. schema:
  13737. items:
  13738. $ref: '#/definitions/models.ErmcpGoodsModel'
  13739. type: array
  13740. "500":
  13741. description: Internal Server Error
  13742. schema:
  13743. $ref: '#/definitions/app.Response'
  13744. security:
  13745. - ApiKeyAuth: []
  13746. summary: 查询商品型号
  13747. tags:
  13748. - 企业风险管理(app)
  13749. /Ermcp/QueryHedgePlan:
  13750. get:
  13751. parameters:
  13752. - description: 用户ID
  13753. in: query
  13754. name: userId
  13755. required: true
  13756. type: integer
  13757. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  13758. in: query
  13759. name: HedgePlanStatus
  13760. required: true
  13761. type: string
  13762. produces:
  13763. - application/json
  13764. responses:
  13765. "200":
  13766. description: OK
  13767. schema:
  13768. items:
  13769. $ref: '#/definitions/ermcp.QryHedgePlanRsp'
  13770. type: array
  13771. "500":
  13772. description: Internal Server Error
  13773. schema:
  13774. $ref: '#/definitions/app.Response'
  13775. security:
  13776. - ApiKeyAuth: []
  13777. summary: 查询套保计划
  13778. tags:
  13779. - 企业风险管理(app)
  13780. /Ermcp/QueryHisExposure:
  13781. get:
  13782. parameters:
  13783. - description: 所属机构ID
  13784. in: query
  13785. name: areaUserId
  13786. required: true
  13787. type: integer
  13788. - description: 每个品种记录数
  13789. in: query
  13790. name: lastNum
  13791. required: true
  13792. type: integer
  13793. produces:
  13794. - application/json
  13795. responses:
  13796. "200":
  13797. description: OK
  13798. schema:
  13799. items:
  13800. $ref: '#/definitions/ermcp.HisExposureRsp'
  13801. type: array
  13802. "500":
  13803. description: Internal Server Error
  13804. schema:
  13805. $ref: '#/definitions/app.Response'
  13806. security:
  13807. - ApiKeyAuth: []
  13808. summary: 查询历史敞口(菜单:敞口/历史敞口)
  13809. tags:
  13810. - 企业风险管理(app)
  13811. /Ermcp/QueryMiddleGoods:
  13812. get:
  13813. parameters:
  13814. - description: 所属机构ID
  13815. in: query
  13816. name: userid
  13817. required: true
  13818. type: integer
  13819. - description: 状态 0-停用 1-正常
  13820. in: query
  13821. name: status
  13822. required: true
  13823. type: integer
  13824. produces:
  13825. - application/json
  13826. responses:
  13827. "200":
  13828. description: OK
  13829. schema:
  13830. items:
  13831. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  13832. type: array
  13833. "500":
  13834. description: Internal Server Error
  13835. schema:
  13836. $ref: '#/definitions/app.Response'
  13837. security:
  13838. - ApiKeyAuth: []
  13839. summary: 查询套保品种(菜单:套保品种)
  13840. tags:
  13841. - 企业风险管理(app)
  13842. /Ermcp/QueryMiddleGoodsChangeLog:
  13843. get:
  13844. parameters:
  13845. - description: 所属机构ID
  13846. in: query
  13847. name: userid
  13848. required: true
  13849. type: integer
  13850. - description: 套保品种id
  13851. in: query
  13852. name: middlegoodsid
  13853. required: true
  13854. type: integer
  13855. produces:
  13856. - application/json
  13857. responses:
  13858. "200":
  13859. description: OK
  13860. schema:
  13861. items:
  13862. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  13863. type: array
  13864. "500":
  13865. description: Internal Server Error
  13866. schema:
  13867. $ref: '#/definitions/app.Response'
  13868. security:
  13869. - ApiKeyAuth: []
  13870. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  13871. tags:
  13872. - 企业风险管理(app)
  13873. /Ermcp/QueryMiddleGoodsDetail:
  13874. get:
  13875. parameters:
  13876. - description: 所属机构ID
  13877. in: query
  13878. name: userid
  13879. required: true
  13880. type: integer
  13881. - description: 套保品种id
  13882. in: query
  13883. name: middlegoodsid
  13884. type: integer
  13885. produces:
  13886. - application/json
  13887. responses:
  13888. "200":
  13889. description: OK
  13890. schema:
  13891. items:
  13892. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  13893. type: array
  13894. "500":
  13895. description: Internal Server Error
  13896. schema:
  13897. $ref: '#/definitions/app.Response'
  13898. security:
  13899. - ApiKeyAuth: []
  13900. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  13901. tags:
  13902. - 企业风险管理(app)
  13903. /Ermcp/QueryPendingAuditInfo:
  13904. get:
  13905. parameters:
  13906. - description: 用户ID
  13907. in: query
  13908. name: UserId
  13909. required: true
  13910. type: integer
  13911. produces:
  13912. - application/json
  13913. responses:
  13914. "200":
  13915. description: OK
  13916. schema:
  13917. items:
  13918. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  13919. type: array
  13920. "500":
  13921. description: Internal Server Error
  13922. schema:
  13923. $ref: '#/definitions/app.Response'
  13924. security:
  13925. - ApiKeyAuth: []
  13926. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  13927. tags:
  13928. - 企业风险管理(app)
  13929. /Ermcp/QueryRealtimeExposure:
  13930. get:
  13931. parameters:
  13932. - description: 所属机构ID
  13933. in: query
  13934. name: AreaUserID
  13935. required: true
  13936. type: integer
  13937. produces:
  13938. - application/json
  13939. responses:
  13940. "200":
  13941. description: OK
  13942. schema:
  13943. items:
  13944. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  13945. type: array
  13946. "500":
  13947. description: Internal Server Error
  13948. schema:
  13949. $ref: '#/definitions/app.Response'
  13950. security:
  13951. - ApiKeyAuth: []
  13952. summary: 查询实时敞口
  13953. tags:
  13954. - 企业风险管理(app)
  13955. /Ermcp/QueryRealtimeExposurePosition:
  13956. get:
  13957. parameters:
  13958. - description: 所属机构ID
  13959. in: query
  13960. name: areaUserId
  13961. required: true
  13962. type: integer
  13963. - description: 套保商品ID
  13964. in: query
  13965. name: middleGoodsId
  13966. required: true
  13967. type: integer
  13968. produces:
  13969. - application/json
  13970. responses:
  13971. "200":
  13972. description: OK
  13973. schema:
  13974. items:
  13975. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  13976. type: array
  13977. "500":
  13978. description: Internal Server Error
  13979. schema:
  13980. $ref: '#/definitions/app.Response'
  13981. security:
  13982. - ApiKeyAuth: []
  13983. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  13984. tags:
  13985. - 企业风险管理(app)
  13986. /Ermcp/QuerySpotContract:
  13987. get:
  13988. parameters:
  13989. - description: 用户ID
  13990. in: query
  13991. name: userId
  13992. required: true
  13993. type: integer
  13994. - description: 查询类型 1-未提交 2-待审核 3-履约中 4-已完成
  13995. in: query
  13996. name: QueryType
  13997. required: true
  13998. type: integer
  13999. produces:
  14000. - application/json
  14001. responses:
  14002. "200":
  14003. description: OK
  14004. schema:
  14005. items:
  14006. $ref: '#/definitions/ermcp.QrySpotContractRsp'
  14007. type: array
  14008. "500":
  14009. description: Internal Server Error
  14010. schema:
  14011. $ref: '#/definitions/app.Response'
  14012. security:
  14013. - ApiKeyAuth: []
  14014. summary: 查询现货合同(对应现货合同菜单)
  14015. tags:
  14016. - 企业风险管理(app)
  14017. /Ermcp/QuerySpotGoodsPrice:
  14018. get:
  14019. parameters:
  14020. - description: 用户ID
  14021. in: query
  14022. name: userid
  14023. required: true
  14024. type: integer
  14025. produces:
  14026. - application/json
  14027. responses:
  14028. "200":
  14029. description: OK
  14030. schema:
  14031. items:
  14032. $ref: '#/definitions/models.ErmcpSpotGoodsPrice'
  14033. type: array
  14034. "500":
  14035. description: Internal Server Error
  14036. schema:
  14037. $ref: '#/definitions/app.Response'
  14038. security:
  14039. - ApiKeyAuth: []
  14040. summary: 查询现货市价(现货市价)
  14041. tags:
  14042. - 企业风险管理(app)
  14043. /Ermcp/QuerySpotGoodsPriceLog:
  14044. get:
  14045. parameters:
  14046. - description: 用户ID
  14047. in: query
  14048. name: userid
  14049. required: true
  14050. type: integer
  14051. - description: 现货商品ID
  14052. in: query
  14053. name: wrstandardid
  14054. required: true
  14055. type: integer
  14056. produces:
  14057. - application/json
  14058. responses:
  14059. "200":
  14060. description: OK
  14061. schema:
  14062. items:
  14063. $ref: '#/definitions/models.ErmcpSpotGoodsPriceLog'
  14064. type: array
  14065. "500":
  14066. description: Internal Server Error
  14067. schema:
  14068. $ref: '#/definitions/app.Response'
  14069. security:
  14070. - ApiKeyAuth: []
  14071. summary: 查询现货市价详情(现货市价/详情)
  14072. tags:
  14073. - 企业风险管理(app)
  14074. /Ermcp/QueryTradeConfigTMP:
  14075. get:
  14076. parameters:
  14077. - description: 所属机构id
  14078. in: query
  14079. name: areauserid
  14080. required: true
  14081. type: integer
  14082. produces:
  14083. - application/json
  14084. responses:
  14085. "200":
  14086. description: OK
  14087. schema:
  14088. items:
  14089. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  14090. type: array
  14091. "500":
  14092. description: Internal Server Error
  14093. schema:
  14094. $ref: '#/definitions/app.Response'
  14095. security:
  14096. - ApiKeyAuth: []
  14097. summary: 查询交易模板配置
  14098. tags:
  14099. - 企业风险管理(app)
  14100. /Ermcp/QueryUserInfo:
  14101. get:
  14102. parameters:
  14103. - description: 所属机构用户ID
  14104. in: query
  14105. name: MemberUserID
  14106. required: true
  14107. type: integer
  14108. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  14109. in: query
  14110. name: queryType
  14111. required: true
  14112. type: integer
  14113. produces:
  14114. - application/json
  14115. responses:
  14116. "200":
  14117. description: OK
  14118. schema:
  14119. items:
  14120. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  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/QueryWarehouseInfo:
  14132. get:
  14133. parameters:
  14134. - description: 用户ID
  14135. in: query
  14136. name: userid
  14137. required: true
  14138. type: integer
  14139. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  14140. in: query
  14141. name: status
  14142. type: string
  14143. produces:
  14144. - application/json
  14145. responses:
  14146. "200":
  14147. description: OK
  14148. schema:
  14149. items:
  14150. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  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/QueryWrStandard:
  14162. get:
  14163. parameters:
  14164. - description: 所属机构ID
  14165. in: query
  14166. name: userid
  14167. required: true
  14168. type: integer
  14169. - description: 状态 0-停用 1-正常
  14170. in: query
  14171. name: status
  14172. required: true
  14173. type: integer
  14174. produces:
  14175. - application/json
  14176. responses:
  14177. "200":
  14178. description: OK
  14179. schema:
  14180. items:
  14181. $ref: '#/definitions/ermcp.QryWrStandardRsp'
  14182. type: array
  14183. "500":
  14184. description: Internal Server Error
  14185. schema:
  14186. $ref: '#/definitions/app.Response'
  14187. security:
  14188. - ApiKeyAuth: []
  14189. summary: 查询现货商品
  14190. tags:
  14191. - 企业风险管理(app)
  14192. /Ermcp/QueryWrStandardDetail:
  14193. get:
  14194. parameters:
  14195. - description: 所属机构ID
  14196. in: query
  14197. name: userid
  14198. required: true
  14199. type: integer
  14200. - description: 现货商品ID
  14201. in: query
  14202. name: wrstandardid
  14203. type: integer
  14204. - description: 可不填, 1-查询关联交易商品
  14205. in: query
  14206. name: goods
  14207. type: integer
  14208. produces:
  14209. - application/json
  14210. responses:
  14211. "200":
  14212. description: OK
  14213. schema:
  14214. items:
  14215. $ref: '#/definitions/ermcp.QryWrStandardDetailRsp'
  14216. type: array
  14217. "500":
  14218. description: Internal Server Error
  14219. schema:
  14220. $ref: '#/definitions/app.Response'
  14221. security:
  14222. - ApiKeyAuth: []
  14223. summary: 查询现货商品详情(菜单:现货品种/现货品种详情)
  14224. tags:
  14225. - 企业风险管理(app)
  14226. /Ermcp3/QryReportAreaSpotPL:
  14227. get:
  14228. parameters:
  14229. - description: 用户ID
  14230. in: query
  14231. name: userid
  14232. required: true
  14233. type: integer
  14234. - description: 查询类型 1-日报表 2-月报表
  14235. in: query
  14236. name: querytype
  14237. required: true
  14238. type: integer
  14239. - description: 查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)
  14240. in: query
  14241. name: querydate
  14242. required: true
  14243. type: string
  14244. - description: 现货商品ID
  14245. in: query
  14246. name: deliverygoodsid
  14247. type: integer
  14248. - description: 品牌ID
  14249. in: query
  14250. name: spotgoodsbrandid
  14251. type: integer
  14252. - description: 品类ID
  14253. in: query
  14254. name: wrstandardid
  14255. type: integer
  14256. produces:
  14257. - application/json
  14258. responses:
  14259. "200":
  14260. description: OK
  14261. schema:
  14262. items:
  14263. $ref: '#/definitions/models.Ermcp3ReportAreaSpotPL'
  14264. type: array
  14265. "500":
  14266. description: Internal Server Error
  14267. schema:
  14268. $ref: '#/definitions/app.Response'
  14269. security:
  14270. - ApiKeyAuth: []
  14271. summary: 查询现货损益报表(现货损益报表)
  14272. tags:
  14273. - 企业风险管理v3(app)
  14274. /Ermcp3/QryReportDayFinanceFp:
  14275. get:
  14276. parameters:
  14277. - description: 用户ID
  14278. in: query
  14279. name: userid
  14280. required: true
  14281. type: integer
  14282. - description: 交易日(格式:yyyyMMdd)
  14283. in: query
  14284. name: tradedate
  14285. required: true
  14286. type: string
  14287. produces:
  14288. - application/json
  14289. responses:
  14290. "200":
  14291. description: OK
  14292. schema:
  14293. items:
  14294. $ref: '#/definitions/models.Ermcp3ReportOPLog'
  14295. type: array
  14296. "500":
  14297. description: Internal Server Error
  14298. schema:
  14299. $ref: '#/definitions/app.Response'
  14300. security:
  14301. - ApiKeyAuth: []
  14302. summary: 查询财务日报表发票(菜单:报表查询/财务报表/日报表/发票)
  14303. tags:
  14304. - 企业风险管理v3(app)
  14305. /Ermcp3/QryReportDayFinanceKx:
  14306. get:
  14307. parameters:
  14308. - description: 用户ID
  14309. in: query
  14310. name: userid
  14311. required: true
  14312. type: integer
  14313. - description: 交易日(格式:yyyyMMdd)
  14314. in: query
  14315. name: tradedate
  14316. required: true
  14317. type: string
  14318. produces:
  14319. - application/json
  14320. responses:
  14321. "200":
  14322. description: OK
  14323. schema:
  14324. items:
  14325. $ref: '#/definitions/models.Ermcp3ReportOPLog'
  14326. type: array
  14327. "500":
  14328. description: Internal Server Error
  14329. schema:
  14330. $ref: '#/definitions/app.Response'
  14331. security:
  14332. - ApiKeyAuth: []
  14333. summary: 查询财务日报表款项(菜单:报表查询/财务报表/日报表/款项)
  14334. tags:
  14335. - 企业风险管理v3(app)
  14336. /Ermcp3/QryReportDaySpot:
  14337. get:
  14338. parameters:
  14339. - description: 用户ID
  14340. in: query
  14341. name: userid
  14342. required: true
  14343. type: integer
  14344. - description: 交易日(格式:yyyyMMdd)
  14345. in: query
  14346. name: tradedate
  14347. required: true
  14348. type: string
  14349. produces:
  14350. - application/json
  14351. responses:
  14352. "200":
  14353. description: OK
  14354. schema:
  14355. items:
  14356. $ref: '#/definitions/models.Ermcp3ReportDaySpot'
  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. - 企业风险管理v3(app)
  14367. /Ermcp3/QryReportDaySpotDetail:
  14368. get:
  14369. parameters:
  14370. - description: 用户ID
  14371. in: query
  14372. name: userid
  14373. required: true
  14374. type: integer
  14375. - description: 现货商品id
  14376. in: query
  14377. name: deliverygoodsid
  14378. required: true
  14379. type: integer
  14380. - description: 交易日(格式:yyyyMMdd)
  14381. in: query
  14382. name: tradedate
  14383. required: true
  14384. type: string
  14385. produces:
  14386. - application/json
  14387. responses:
  14388. "200":
  14389. description: OK
  14390. schema:
  14391. items:
  14392. $ref: '#/definitions/models.Ermcp3ReportOPLog'
  14393. type: array
  14394. "500":
  14395. description: Internal Server Error
  14396. schema:
  14397. $ref: '#/definitions/app.Response'
  14398. security:
  14399. - ApiKeyAuth: []
  14400. summary: 查询现货日报表详情(菜单:报表查询/现货报表/现货日报表详情)
  14401. tags:
  14402. - 企业风险管理v3(app)
  14403. /Ermcp3/QryReportMonthSpot:
  14404. get:
  14405. parameters:
  14406. - description: 用户ID
  14407. in: query
  14408. name: userid
  14409. required: true
  14410. type: integer
  14411. - description: 周期时间:月(格式:yyyyMM)
  14412. in: query
  14413. name: cycletime
  14414. required: true
  14415. type: string
  14416. produces:
  14417. - application/json
  14418. responses:
  14419. "200":
  14420. description: OK
  14421. schema:
  14422. items:
  14423. $ref: '#/definitions/models.Ermcp3ReportMonSpot'
  14424. type: array
  14425. "500":
  14426. description: Internal Server Error
  14427. schema:
  14428. $ref: '#/definitions/app.Response'
  14429. security:
  14430. - ApiKeyAuth: []
  14431. summary: 查询现货月报表(菜单:报表查询/现货报表/现货月报表)
  14432. tags:
  14433. - 企业风险管理v3(app)
  14434. /Ermcp3/QryReportMonthSpotDetail:
  14435. get:
  14436. parameters:
  14437. - description: 用户ID
  14438. in: query
  14439. name: userid
  14440. required: true
  14441. type: integer
  14442. - description: 现货商品id
  14443. in: query
  14444. name: deliverygoodsid
  14445. required: true
  14446. type: integer
  14447. - description: 周期时间:月(格式:yyyyMM)
  14448. in: query
  14449. name: cycletime
  14450. required: true
  14451. type: string
  14452. produces:
  14453. - application/json
  14454. responses:
  14455. "200":
  14456. description: OK
  14457. schema:
  14458. items:
  14459. $ref: '#/definitions/models.Ermcp3ReportDaySpot'
  14460. type: array
  14461. "500":
  14462. description: Internal Server Error
  14463. schema:
  14464. $ref: '#/definitions/app.Response'
  14465. security:
  14466. - ApiKeyAuth: []
  14467. summary: 查询现货月报表详情(菜单:报表查询/现货月报表/现货月报表详情)
  14468. tags:
  14469. - 企业风险管理v3(app)
  14470. /Ermcp3/QueryAreaStockApply:
  14471. get:
  14472. parameters:
  14473. - description: 用户ID
  14474. in: query
  14475. name: userid
  14476. required: true
  14477. type: integer
  14478. - description: 现货商品ID
  14479. in: query
  14480. name: deliverygoodsid
  14481. type: integer
  14482. - description: 出入库类型(可多项,逗号隔开) 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  14483. in: query
  14484. name: inouttype
  14485. type: string
  14486. - description: 合同ID
  14487. in: query
  14488. name: spotcontractid
  14489. type: integer
  14490. - description: 品类ID
  14491. in: query
  14492. name: wrstandardid
  14493. type: integer
  14494. - description: 品牌ID
  14495. in: query
  14496. name: spotgoodsbrandid
  14497. type: integer
  14498. - description: 仓库ID
  14499. in: query
  14500. name: warehouseinfoid
  14501. type: integer
  14502. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  14503. in: query
  14504. name: applystatus
  14505. type: string
  14506. produces:
  14507. - application/json
  14508. responses:
  14509. "200":
  14510. description: OK
  14511. schema:
  14512. items:
  14513. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  14514. type: array
  14515. "500":
  14516. description: Internal Server Error
  14517. schema:
  14518. $ref: '#/definitions/app.Response'
  14519. security:
  14520. - ApiKeyAuth: []
  14521. summary: 查询库存申请(出入库记录|库存审核)
  14522. tags:
  14523. - 企业风险管理v3(app)
  14524. /Ermcp3/QueryAreaStockApplySum:
  14525. get:
  14526. parameters:
  14527. - description: 合同ID
  14528. in: query
  14529. name: spotcontractid
  14530. type: integer
  14531. produces:
  14532. - application/json
  14533. responses:
  14534. "200":
  14535. description: OK
  14536. schema:
  14537. items:
  14538. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  14539. type: array
  14540. "500":
  14541. description: Internal Server Error
  14542. schema:
  14543. $ref: '#/definitions/app.Response'
  14544. security:
  14545. - ApiKeyAuth: []
  14546. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  14547. tags:
  14548. - 企业风险管理v3(app)
  14549. /Ermcp3/QueryAreaStockReport:
  14550. get:
  14551. parameters:
  14552. - description: 用户ID
  14553. in: query
  14554. name: userid
  14555. required: true
  14556. type: integer
  14557. - description: 查询类型 1-日报表 2-月报表
  14558. in: query
  14559. name: querytype
  14560. required: true
  14561. type: integer
  14562. - description: 查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)
  14563. in: query
  14564. name: querydate
  14565. required: true
  14566. type: string
  14567. - description: 现货商品ID
  14568. in: query
  14569. name: deliverygoodsid
  14570. type: integer
  14571. - description: 品类ID
  14572. in: query
  14573. name: wrstandardid
  14574. type: integer
  14575. - description: 品牌ID
  14576. in: query
  14577. name: spotgoodsbrandid
  14578. type: integer
  14579. - description: 仓库ID
  14580. in: query
  14581. name: warehouseinfoid
  14582. type: integer
  14583. produces:
  14584. - application/json
  14585. responses:
  14586. "200":
  14587. description: OK
  14588. schema:
  14589. items:
  14590. $ref: '#/definitions/models.Ermcp3AreaStockReport'
  14591. type: array
  14592. "500":
  14593. description: Internal Server Error
  14594. schema:
  14595. $ref: '#/definitions/app.Response'
  14596. security:
  14597. - ApiKeyAuth: []
  14598. summary: 查询库存报表
  14599. tags:
  14600. - 企业风险管理v3(app)
  14601. /Ermcp3/QueryAreaStockReportDetail:
  14602. get:
  14603. parameters:
  14604. - description: 用户ID
  14605. in: query
  14606. name: userid
  14607. required: true
  14608. type: integer
  14609. - description: 查询类型 1-日报表明细 2-月报表明细
  14610. in: query
  14611. name: querytype
  14612. required: true
  14613. type: integer
  14614. - description: 明细类型 1:入库明细(采购入库+生产入库) 2:出库明细(销售出库+生产出库)
  14615. in: query
  14616. name: detailtype
  14617. required: true
  14618. type: integer
  14619. - description: 查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)
  14620. in: query
  14621. name: querydate
  14622. required: true
  14623. type: string
  14624. - description: 现货商品ID
  14625. in: query
  14626. name: deliverygoodsid
  14627. type: integer
  14628. - description: 品类ID
  14629. in: query
  14630. name: wrstandardid
  14631. type: integer
  14632. - description: 品牌ID
  14633. in: query
  14634. name: spotgoodsbrandid
  14635. type: integer
  14636. - description: 仓库ID
  14637. in: query
  14638. name: warehouseinfoid
  14639. type: integer
  14640. produces:
  14641. - application/json
  14642. responses:
  14643. "200":
  14644. description: OK
  14645. schema:
  14646. items:
  14647. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  14648. type: array
  14649. "500":
  14650. description: Internal Server Error
  14651. schema:
  14652. $ref: '#/definitions/app.Response'
  14653. security:
  14654. - ApiKeyAuth: []
  14655. summary: 查询库存报表明细
  14656. tags:
  14657. - 企业风险管理v3(app)
  14658. /Ermcp3/QueryDGFactoryItem:
  14659. get:
  14660. parameters:
  14661. - description: 所属机构ID
  14662. in: query
  14663. name: areauserid
  14664. type: integer
  14665. - description: 选择项ID(SEQ_DGFACTORYITEM)
  14666. in: query
  14667. name: dgfactoryitemid
  14668. type: integer
  14669. - description: 现货品种ID
  14670. in: query
  14671. name: deliverygoodsid
  14672. type: integer
  14673. - description: 要素项类型
  14674. in: query
  14675. name: dgfactoryitemtypeid
  14676. type: integer
  14677. - description: 顺序
  14678. in: query
  14679. name: orderindex
  14680. type: integer
  14681. produces:
  14682. - application/json
  14683. responses:
  14684. "200":
  14685. description: OK
  14686. schema:
  14687. items:
  14688. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  14689. type: array
  14690. "500":
  14691. description: Internal Server Error
  14692. schema:
  14693. $ref: '#/definitions/app.Response'
  14694. security:
  14695. - ApiKeyAuth: []
  14696. summary: 查询品种要素定义项
  14697. tags:
  14698. - 企业风险管理v3(app)
  14699. /Ermcp3/QueryDeliveryGoods:
  14700. get:
  14701. parameters:
  14702. - description: 所属机构id
  14703. in: query
  14704. name: areauserid
  14705. required: true
  14706. type: integer
  14707. - description: 排除已配置的现货商品 1-排除
  14708. in: query
  14709. name: excludecfg
  14710. type: integer
  14711. produces:
  14712. - application/json
  14713. responses:
  14714. "200":
  14715. description: OK
  14716. schema:
  14717. items:
  14718. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  14719. type: array
  14720. "500":
  14721. description: Internal Server Error
  14722. schema:
  14723. $ref: '#/definitions/app.Response'
  14724. security:
  14725. - ApiKeyAuth: []
  14726. summary: 查询现货商品
  14727. tags:
  14728. - 企业风险管理v3(app)
  14729. /Ermcp3/QueryDeliveryGoodsDetail:
  14730. get:
  14731. parameters:
  14732. - description: 所属机构id
  14733. in: query
  14734. name: areauserid
  14735. required: true
  14736. type: integer
  14737. - description: 现货商品id
  14738. in: query
  14739. name: deliverygoodsid
  14740. type: integer
  14741. - description: 是否查询关联交易商品 1-查询
  14742. in: query
  14743. name: qrytradegoods
  14744. type: integer
  14745. produces:
  14746. - application/json
  14747. responses:
  14748. "200":
  14749. description: OK
  14750. schema:
  14751. items:
  14752. $ref: '#/definitions/models.ErmcpDeliveryGoodsDetail'
  14753. type: array
  14754. "500":
  14755. description: Internal Server Error
  14756. schema:
  14757. $ref: '#/definitions/app.Response'
  14758. security:
  14759. - ApiKeyAuth: []
  14760. summary: 查询现货商品详情
  14761. tags:
  14762. - 企业风险管理v3(app)
  14763. /Ermcp3/QueryExposureDetail:
  14764. get:
  14765. parameters:
  14766. - description: 所属机构ID
  14767. in: query
  14768. name: areaUserId
  14769. required: true
  14770. type: integer
  14771. - description: 套保商品
  14772. in: query
  14773. name: middleGoodsId
  14774. required: true
  14775. type: integer
  14776. produces:
  14777. - application/json
  14778. responses:
  14779. "200":
  14780. description: OK
  14781. schema:
  14782. items:
  14783. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  14784. type: array
  14785. "500":
  14786. description: Internal Server Error
  14787. schema:
  14788. $ref: '#/definitions/app.Response'
  14789. security:
  14790. - ApiKeyAuth: []
  14791. summary: 查询敞口现货明细
  14792. tags:
  14793. - 企业风险管理v3(app)
  14794. /Ermcp3/QueryExposureSpot:
  14795. get:
  14796. parameters:
  14797. - description: 所属机构ID
  14798. in: query
  14799. name: areaUserId
  14800. required: true
  14801. type: integer
  14802. produces:
  14803. - application/json
  14804. responses:
  14805. "200":
  14806. description: OK
  14807. schema:
  14808. items:
  14809. $ref: '#/definitions/models.Ermcp3AreaSpot'
  14810. type: array
  14811. "500":
  14812. description: Internal Server Error
  14813. schema:
  14814. $ref: '#/definitions/app.Response'
  14815. security:
  14816. - ApiKeyAuth: []
  14817. summary: 查询敞口现货头寸(敞口/现货头寸)
  14818. tags:
  14819. - 企业风险管理v3(app)
  14820. /Ermcp3/QueryExposureSpotDetail:
  14821. get:
  14822. parameters:
  14823. - description: 所属机构ID
  14824. in: query
  14825. name: areauserid
  14826. required: true
  14827. type: integer
  14828. - description: 现货品种ID
  14829. in: query
  14830. name: deliverygoodsid
  14831. required: true
  14832. type: integer
  14833. produces:
  14834. - application/json
  14835. responses:
  14836. "200":
  14837. description: OK
  14838. schema:
  14839. items:
  14840. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  14841. type: array
  14842. "500":
  14843. description: Internal Server Error
  14844. schema:
  14845. $ref: '#/definitions/app.Response'
  14846. security:
  14847. - ApiKeyAuth: []
  14848. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  14849. tags:
  14850. - 企业风险管理v3(app)
  14851. /Ermcp3/QueryGoodsWrstandard:
  14852. get:
  14853. parameters:
  14854. - description: 所属机构ID
  14855. in: query
  14856. name: areauserid
  14857. required: true
  14858. type: integer
  14859. - description: 现货商品id
  14860. in: query
  14861. name: deliverygoodsid
  14862. type: integer
  14863. produces:
  14864. - application/json
  14865. responses:
  14866. "200":
  14867. description: OK
  14868. schema:
  14869. items:
  14870. $ref: '#/definitions/models.Ermcp3Wrstandard'
  14871. type: array
  14872. "500":
  14873. description: Internal Server Error
  14874. schema:
  14875. $ref: '#/definitions/app.Response'
  14876. security:
  14877. - ApiKeyAuth: []
  14878. summary: 查询商品品类
  14879. tags:
  14880. - 企业风险管理v3(app)
  14881. /Ermcp3/QueryGoodsbrand:
  14882. get:
  14883. parameters:
  14884. - description: 所属机构ID
  14885. in: query
  14886. name: areauserid
  14887. required: true
  14888. type: integer
  14889. produces:
  14890. - application/json
  14891. responses:
  14892. "200":
  14893. description: OK
  14894. schema:
  14895. items:
  14896. $ref: '#/definitions/models.Ermcp3Brand'
  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/QuerySpotContract:
  14908. get:
  14909. parameters:
  14910. - description: 所属机构ID
  14911. in: query
  14912. name: areauserid
  14913. required: true
  14914. type: integer
  14915. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  14916. in: query
  14917. name: querytype
  14918. required: true
  14919. type: integer
  14920. - description: 用户ID
  14921. in: query
  14922. name: userid
  14923. type: integer
  14924. - description: 用户类型 2-机构 7-企业成员
  14925. in: query
  14926. name: usertype
  14927. type: integer
  14928. - description: 合同ID(SpotContractId)
  14929. in: query
  14930. name: contractid
  14931. type: string
  14932. produces:
  14933. - application/json
  14934. responses:
  14935. "200":
  14936. description: OK
  14937. schema:
  14938. items:
  14939. $ref: '#/definitions/models.Ermcp3Contract'
  14940. type: array
  14941. "500":
  14942. description: Internal Server Error
  14943. schema:
  14944. $ref: '#/definitions/app.Response'
  14945. security:
  14946. - ApiKeyAuth: []
  14947. summary: 查询现货合同
  14948. tags:
  14949. - 企业风险管理v3(app)
  14950. /Ermcp3/QuerySpotContractBS:
  14951. get:
  14952. parameters:
  14953. - description: 所属机构ID
  14954. in: query
  14955. name: areauserid
  14956. required: true
  14957. type: integer
  14958. - description: 合同类型 1-采购, -1-销售
  14959. in: query
  14960. name: contracttype
  14961. required: true
  14962. type: integer
  14963. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  14964. in: query
  14965. name: querytype
  14966. required: true
  14967. type: integer
  14968. - description: 用户ID
  14969. in: query
  14970. name: userid
  14971. type: integer
  14972. - description: 用户类型 2-机构 7-企业成员
  14973. in: query
  14974. name: usertype
  14975. type: integer
  14976. - description: 合同ID(SpotContractId)
  14977. in: query
  14978. name: contractid
  14979. type: string
  14980. produces:
  14981. - application/json
  14982. responses:
  14983. "200":
  14984. description: OK
  14985. schema:
  14986. items:
  14987. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  14988. type: array
  14989. "500":
  14990. description: Internal Server Error
  14991. schema:
  14992. $ref: '#/definitions/app.Response'
  14993. security:
  14994. - ApiKeyAuth: []
  14995. summary: 查询合同(采购/销售)
  14996. tags:
  14997. - 企业风险管理v3(app)
  14998. /Erms2/QueryArbitrageStrategy:
  14999. get:
  15000. parameters:
  15001. - description: 账户ID
  15002. in: query
  15003. name: userid
  15004. required: true
  15005. type: integer
  15006. - description: 商品组ID(品种ID)
  15007. in: query
  15008. name: goodsgroupid
  15009. type: string
  15010. produces:
  15011. - application/json
  15012. responses:
  15013. "200":
  15014. description: OK
  15015. schema:
  15016. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  15017. "500":
  15018. description: Internal Server Error
  15019. schema:
  15020. $ref: '#/definitions/app.Response'
  15021. security:
  15022. - ApiKeyAuth: []
  15023. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  15024. tags:
  15025. - 风险管理
  15026. /Erms2/QueryInnerTradeDetail:
  15027. get:
  15028. parameters:
  15029. - description: 资金账户
  15030. in: query
  15031. name: accountid
  15032. required: true
  15033. type: integer
  15034. produces:
  15035. - application/json
  15036. responses:
  15037. "200":
  15038. description: OK
  15039. schema:
  15040. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  15041. "500":
  15042. description: Internal Server Error
  15043. schema:
  15044. $ref: '#/definitions/app.Response'
  15045. security:
  15046. - ApiKeyAuth: []
  15047. summary: 查询内部成交单信息
  15048. tags:
  15049. - 风险管理
  15050. /Erms2/QuerySpotContract:
  15051. get:
  15052. parameters:
  15053. - description: 策略申请ID
  15054. in: query
  15055. name: asapplyid
  15056. required: true
  15057. type: integer
  15058. - description: 现货合同ID
  15059. in: query
  15060. name: spotcontractid
  15061. type: integer
  15062. produces:
  15063. - application/json
  15064. responses:
  15065. "200":
  15066. description: OK
  15067. schema:
  15068. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  15069. "500":
  15070. description: Internal Server Error
  15071. schema:
  15072. $ref: '#/definitions/app.Response'
  15073. security:
  15074. - ApiKeyAuth: []
  15075. summary: 查询现货合同表信息(指定策略ID、未结束的)
  15076. tags:
  15077. - 风险管理
  15078. /Erms3/AddErms2ASApply:
  15079. post:
  15080. parameters:
  15081. - description: 申请参数
  15082. in: body
  15083. name: jsonBody
  15084. required: true
  15085. schema:
  15086. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  15087. produces:
  15088. - application/json
  15089. responses:
  15090. "200":
  15091. description: OK
  15092. schema:
  15093. $ref: '#/definitions/app.Response'
  15094. "500":
  15095. description: Internal Server Error
  15096. schema:
  15097. $ref: '#/definitions/app.Response'
  15098. security:
  15099. - ApiKeyAuth: []
  15100. summary: 新增期现套利业务申请
  15101. tags:
  15102. - 风险管理v3
  15103. /Erms3/AddErms2SpotTradeApply:
  15104. post:
  15105. parameters:
  15106. - description: 申请参数
  15107. in: body
  15108. name: jsonBody
  15109. required: true
  15110. schema:
  15111. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  15112. produces:
  15113. - application/json
  15114. responses:
  15115. "200":
  15116. description: OK
  15117. schema:
  15118. $ref: '#/definitions/app.Response'
  15119. "500":
  15120. description: Internal Server Error
  15121. schema:
  15122. $ref: '#/definitions/app.Response'
  15123. security:
  15124. - ApiKeyAuth: []
  15125. summary: 新增现货贸易业务申请
  15126. tags:
  15127. - 风险管理v3
  15128. /Erms3/AddSpotContractApply:
  15129. post:
  15130. parameters:
  15131. - description: 申请参数
  15132. in: body
  15133. name: jsonBody
  15134. required: true
  15135. schema:
  15136. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  15137. produces:
  15138. - application/json
  15139. responses:
  15140. "200":
  15141. description: OK
  15142. schema:
  15143. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  15144. "500":
  15145. description: Internal Server Error
  15146. schema:
  15147. $ref: '#/definitions/app.Response'
  15148. security:
  15149. - ApiKeyAuth: []
  15150. summary: 新增现货合同申请
  15151. tags:
  15152. - 风险管理v3
  15153. /Erms3/AddUserInfoApply:
  15154. post:
  15155. parameters:
  15156. - description: 用户信息
  15157. in: body
  15158. name: jsonBody
  15159. required: true
  15160. schema:
  15161. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  15162. produces:
  15163. - application/json
  15164. responses:
  15165. "200":
  15166. description: OK
  15167. schema:
  15168. $ref: '#/definitions/app.Response'
  15169. "500":
  15170. description: Internal Server Error
  15171. schema:
  15172. $ref: '#/definitions/app.Response'
  15173. security:
  15174. - ApiKeyAuth: []
  15175. summary: 新增客户申请
  15176. tags:
  15177. - 风险管理v3
  15178. /Erms3/ModifyUserInfoApply:
  15179. post:
  15180. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  15181. int, "userstate": 2 }'
  15182. parameters:
  15183. - description: 用户信息
  15184. in: body
  15185. name: jsonBody
  15186. required: true
  15187. schema:
  15188. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  15189. produces:
  15190. - application/json
  15191. responses:
  15192. "200":
  15193. description: OK
  15194. schema:
  15195. $ref: '#/definitions/app.Response'
  15196. "500":
  15197. description: Internal Server Error
  15198. schema:
  15199. $ref: '#/definitions/app.Response'
  15200. security:
  15201. - ApiKeyAuth: []
  15202. summary: 修改客户申请
  15203. tags:
  15204. - 风险管理v3
  15205. /Erms3/QueryBusinessInfo:
  15206. get:
  15207. parameters:
  15208. - description: 资金账号ID列表,用逗号分隔
  15209. in: query
  15210. name: accountids
  15211. required: true
  15212. type: string
  15213. - description: 状态,0为未结束 1为已结束
  15214. in: query
  15215. name: status
  15216. required: true
  15217. type: integer
  15218. produces:
  15219. - application/json
  15220. responses:
  15221. "200":
  15222. description: OK
  15223. schema:
  15224. items:
  15225. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  15226. type: array
  15227. "500":
  15228. description: Internal Server Error
  15229. schema:
  15230. $ref: '#/definitions/app.Response'
  15231. security:
  15232. - ApiKeyAuth: []
  15233. summary: 查询业务表单数据
  15234. tags:
  15235. - 风险管理v3
  15236. /Erms3/QueryPendingAuditContract:
  15237. get:
  15238. parameters:
  15239. - description: 资金账号ID列表,逗号隔开
  15240. in: query
  15241. name: accountids
  15242. required: true
  15243. type: string
  15244. - description: 合同类型 1-采购 -1-销售
  15245. in: query
  15246. name: contracttype
  15247. required: true
  15248. type: integer
  15249. - description: 合同模式 1-普通 2-回购
  15250. in: query
  15251. name: contractmode
  15252. required: true
  15253. type: integer
  15254. produces:
  15255. - application/json
  15256. responses:
  15257. "200":
  15258. description: OK
  15259. schema:
  15260. items:
  15261. $ref: '#/definitions/erms3.QryAuditContractRsp'
  15262. type: array
  15263. "500":
  15264. description: Internal Server Error
  15265. schema:
  15266. $ref: '#/definitions/app.Response'
  15267. security:
  15268. - ApiKeyAuth: []
  15269. summary: 查询待审核合同
  15270. tags:
  15271. - 风险管理v3
  15272. /Erms3/QueryPendingBusiness:
  15273. get:
  15274. parameters:
  15275. - description: 资金账号ID列表,逗号隔开
  15276. in: query
  15277. name: accountids
  15278. required: true
  15279. type: string
  15280. produces:
  15281. - application/json
  15282. responses:
  15283. "200":
  15284. description: OK
  15285. schema:
  15286. items:
  15287. $ref: '#/definitions/erms3.QryPendingBizRsp'
  15288. type: array
  15289. "500":
  15290. description: Internal Server Error
  15291. schema:
  15292. $ref: '#/definitions/app.Response'
  15293. security:
  15294. - ApiKeyAuth: []
  15295. summary: 查询待审核基差贸易业务
  15296. tags:
  15297. - 风险管理v3
  15298. /Erms3/QuerySpotContractAppleForm:
  15299. get:
  15300. parameters:
  15301. - description: 登录账号
  15302. in: query
  15303. name: loginID
  15304. required: true
  15305. type: integer
  15306. produces:
  15307. - application/json
  15308. responses:
  15309. "200":
  15310. description: OK
  15311. schema:
  15312. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  15313. "500":
  15314. description: Internal Server Error
  15315. schema:
  15316. $ref: '#/definitions/app.Response'
  15317. security:
  15318. - ApiKeyAuth: []
  15319. summary: 查询合同申请表单数据
  15320. tags:
  15321. - 风险管理v3
  15322. /Erms3/QuerySpotContractDetail:
  15323. get:
  15324. parameters:
  15325. - description: 资金账号ID列表,用逗号分隔
  15326. in: query
  15327. name: accountids
  15328. required: true
  15329. type: string
  15330. - description: 合同类型,1为采购合同 -1为销售合同
  15331. in: query
  15332. name: contracttype
  15333. required: true
  15334. type: integer
  15335. - description: 合同模式,1为普通合同 2为回购销售合同
  15336. in: query
  15337. name: contractmode
  15338. required: true
  15339. type: integer
  15340. - description: 状态,0为履约中 1为已完成
  15341. in: query
  15342. name: status
  15343. required: true
  15344. type: integer
  15345. produces:
  15346. - application/json
  15347. responses:
  15348. "200":
  15349. description: OK
  15350. schema:
  15351. items:
  15352. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  15353. type: array
  15354. "500":
  15355. description: Internal Server Error
  15356. schema:
  15357. $ref: '#/definitions/app.Response'
  15358. security:
  15359. - ApiKeyAuth: []
  15360. summary: 查询合同详细信息
  15361. tags:
  15362. - 风险管理v3
  15363. /Erms3/QueryUserInfoApplies:
  15364. get:
  15365. parameters:
  15366. - description: 页码
  15367. in: query
  15368. name: page
  15369. type: integer
  15370. - description: 每页条数
  15371. in: query
  15372. name: pagesize
  15373. type: integer
  15374. - description: 客户名称,支持模糊查询
  15375. in: query
  15376. name: userName
  15377. type: string
  15378. produces:
  15379. - application/json
  15380. responses:
  15381. "200":
  15382. description: OK
  15383. schema:
  15384. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  15385. "500":
  15386. description: Internal Server Error
  15387. schema:
  15388. $ref: '#/definitions/app.Response'
  15389. security:
  15390. - ApiKeyAuth: []
  15391. summary: 客户申请信息查询
  15392. tags:
  15393. - 风险管理v3
  15394. /Erms3/QueryUserInfos:
  15395. get:
  15396. parameters:
  15397. - description: 页码
  15398. in: query
  15399. name: page
  15400. type: integer
  15401. - description: 每页条数
  15402. in: query
  15403. name: pagesize
  15404. type: integer
  15405. - description: 客户名称,支持模糊查询
  15406. in: query
  15407. name: userName
  15408. type: string
  15409. produces:
  15410. - application/json
  15411. responses:
  15412. "200":
  15413. description: OK
  15414. schema:
  15415. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  15416. "500":
  15417. description: Internal Server Error
  15418. schema:
  15419. $ref: '#/definitions/app.Response'
  15420. security:
  15421. - ApiKeyAuth: []
  15422. summary: 客户信息查询
  15423. tags:
  15424. - 风险管理v3
  15425. /HSBY/GetHsbyMyCount:
  15426. get:
  15427. description: 说明: 不包括已完成的数量。
  15428. parameters:
  15429. - description: 资金账户列表,格式:1,2,3
  15430. in: query
  15431. name: accountIDs
  15432. required: true
  15433. type: string
  15434. produces:
  15435. - application/json
  15436. responses:
  15437. "200":
  15438. description: OK
  15439. schema:
  15440. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  15441. "500":
  15442. description: Internal Server Error
  15443. schema:
  15444. $ref: '#/definitions/app.Response'
  15445. security:
  15446. - ApiKeyAuth: []
  15447. summary: 获取我的订单与包裹数量
  15448. tags:
  15449. - 定制【海商报业】
  15450. /HSBY/QueryClientFixedADConfigs:
  15451. get:
  15452. produces:
  15453. - application/json
  15454. responses:
  15455. "200":
  15456. description: OK
  15457. schema:
  15458. $ref: '#/definitions/models.Clientfixedadconfig'
  15459. "500":
  15460. description: Internal Server Error
  15461. schema:
  15462. $ref: '#/definitions/app.Response'
  15463. security:
  15464. - ApiKeyAuth: []
  15465. summary: 获取终端固定广告配置
  15466. tags:
  15467. - 定制【海商报业】
  15468. /HSBY/QueryHsbyBuyMyTradeDetail:
  15469. get:
  15470. parameters:
  15471. - description: 页码
  15472. in: query
  15473. name: page
  15474. type: integer
  15475. - description: 每页条数
  15476. in: query
  15477. name: pagesize
  15478. type: integer
  15479. - description: 资金账户列表,格式:1,2,3
  15480. in: query
  15481. name: accountIDs
  15482. required: true
  15483. type: string
  15484. produces:
  15485. - application/json
  15486. responses:
  15487. "200":
  15488. description: OK
  15489. schema:
  15490. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  15491. "500":
  15492. description: Internal Server Error
  15493. schema:
  15494. $ref: '#/definitions/app.Response'
  15495. security:
  15496. - ApiKeyAuth: []
  15497. summary: 查询"我的订单 - 已完成"单据信息
  15498. tags:
  15499. - 定制【海商报业】
  15500. /HSBY/QueryHsbyGoodsOrderDetails:
  15501. get:
  15502. description: 说明:查询结果已按委托价格和委托时间排序
  15503. parameters:
  15504. - description: 商品ID
  15505. in: query
  15506. name: goodsID
  15507. required: true
  15508. type: integer
  15509. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  15510. in: query
  15511. name: accountIDs
  15512. type: string
  15513. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  15514. in: query
  15515. name: buyOrSell
  15516. type: integer
  15517. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  15518. in: query
  15519. name: price
  15520. type: number
  15521. - description: 档位,不传则默认为3档
  15522. in: query
  15523. name: speed
  15524. type: integer
  15525. produces:
  15526. - application/json
  15527. responses:
  15528. "200":
  15529. description: OK
  15530. schema:
  15531. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  15532. "500":
  15533. description: Internal Server Error
  15534. schema:
  15535. $ref: '#/definitions/app.Response'
  15536. security:
  15537. - ApiKeyAuth: []
  15538. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  15539. tags:
  15540. - 定制【海商报业】
  15541. /HSBY/QueryHsbyListingGoodsDetail:
  15542. get:
  15543. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  15544. parameters:
  15545. - description: 商品ID
  15546. in: query
  15547. name: goodsID
  15548. required: true
  15549. type: integer
  15550. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  15551. in: query
  15552. name: accountID
  15553. type: integer
  15554. produces:
  15555. - application/json
  15556. responses:
  15557. "200":
  15558. description: OK
  15559. schema:
  15560. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  15561. "500":
  15562. description: Internal Server Error
  15563. schema:
  15564. $ref: '#/definitions/app.Response'
  15565. security:
  15566. - ApiKeyAuth: []
  15567. summary: 查询二级市场(挂牌点选)商品信息详情
  15568. tags:
  15569. - 定制【海商报业】
  15570. /HSBY/QueryHsbyMarketGoodsDetail:
  15571. get:
  15572. parameters:
  15573. - description: 委托单号
  15574. in: query
  15575. name: orderID
  15576. required: true
  15577. type: integer
  15578. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  15579. in: query
  15580. name: accountID
  15581. type: integer
  15582. produces:
  15583. - application/json
  15584. responses:
  15585. "200":
  15586. description: OK
  15587. schema:
  15588. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  15589. "500":
  15590. description: Internal Server Error
  15591. schema:
  15592. $ref: '#/definitions/app.Response'
  15593. security:
  15594. - ApiKeyAuth: []
  15595. summary: 查询三级市场(商城)商品信息详情
  15596. tags:
  15597. - 定制【海商报业】
  15598. /HSBY/QueryHsbyMarketGoodses:
  15599. get:
  15600. parameters:
  15601. - description: 页码
  15602. in: query
  15603. name: page
  15604. type: integer
  15605. - description: 每页条数
  15606. in: query
  15607. name: pagesize
  15608. type: integer
  15609. - description: 市场ID列表,格式:1,2,3
  15610. in: query
  15611. name: marketIDs
  15612. required: true
  15613. type: string
  15614. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  15615. in: query
  15616. name: accountID
  15617. required: true
  15618. type: integer
  15619. - description: 类别ID
  15620. in: query
  15621. name: categoryID
  15622. type: integer
  15623. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  15624. in: query
  15625. name: goodsIDs
  15626. type: string
  15627. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  15628. in: query
  15629. name: couponTypeID
  15630. type: integer
  15631. produces:
  15632. - application/json
  15633. responses:
  15634. "200":
  15635. description: OK
  15636. schema:
  15637. $ref: '#/definitions/models.HsbyMarketGoods'
  15638. "500":
  15639. description: Internal Server Error
  15640. schema:
  15641. $ref: '#/definitions/app.Response'
  15642. security:
  15643. - ApiKeyAuth: []
  15644. summary: 查询特卖商品列表(三级商城)
  15645. tags:
  15646. - 定制【海商报业】
  15647. /HSBY/QueryHsbyMarkets:
  15648. get:
  15649. produces:
  15650. - application/json
  15651. responses:
  15652. "200":
  15653. description: OK
  15654. schema:
  15655. $ref: '#/definitions/models.HsbyMarketInfo'
  15656. "500":
  15657. description: Internal Server Error
  15658. schema:
  15659. $ref: '#/definitions/app.Response'
  15660. security:
  15661. - ApiKeyAuth: []
  15662. summary: 查询海商报业相关市场信息
  15663. tags:
  15664. - 定制【海商报业】
  15665. /HSBY/QueryHsbyMyBuyOrderDetails:
  15666. get:
  15667. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  15668. parameters:
  15669. - description: 资金账户列表,格式:1,2,3
  15670. in: query
  15671. name: accountIDs
  15672. required: true
  15673. type: string
  15674. produces:
  15675. - application/json
  15676. responses:
  15677. "200":
  15678. description: OK
  15679. schema:
  15680. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  15681. "500":
  15682. description: Internal Server Error
  15683. schema:
  15684. $ref: '#/definitions/app.Response'
  15685. security:
  15686. - ApiKeyAuth: []
  15687. summary: 查询“我的订单”信息
  15688. tags:
  15689. - 定制【海商报业】
  15690. /HSBY/QueryHsbyMyGoods:
  15691. get:
  15692. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  15693. parameters:
  15694. - description: 资金账户列表,格式:1,2,3
  15695. in: query
  15696. name: accountIDs
  15697. required: true
  15698. type: string
  15699. produces:
  15700. - application/json
  15701. responses:
  15702. "200":
  15703. description: OK
  15704. schema:
  15705. $ref: '#/definitions/models.HsbyMyGoods'
  15706. "500":
  15707. description: Internal Server Error
  15708. schema:
  15709. $ref: '#/definitions/app.Response'
  15710. security:
  15711. - ApiKeyAuth: []
  15712. summary: 查询“我的商品”信息
  15713. tags:
  15714. - 定制【海商报业】
  15715. /HSBY/QueryHsbyMyPackages:
  15716. get:
  15717. parameters:
  15718. - description: 资金账户列表,格式:1,2,3
  15719. in: query
  15720. name: accountIDs
  15721. required: true
  15722. type: string
  15723. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  15724. in: query
  15725. name: takeOrderStatus
  15726. type: integer
  15727. produces:
  15728. - application/json
  15729. responses:
  15730. "200":
  15731. description: OK
  15732. schema:
  15733. $ref: '#/definitions/models.HsbyMyPackage'
  15734. "500":
  15735. description: Internal Server Error
  15736. schema:
  15737. $ref: '#/definitions/app.Response'
  15738. security:
  15739. - ApiKeyAuth: []
  15740. summary: 查询我的包裹信息
  15741. tags:
  15742. - 定制【海商报业】
  15743. /HSBY/QueryHsbyPreGoodsDetail:
  15744. get:
  15745. parameters:
  15746. - description: 商品ID
  15747. in: query
  15748. name: goodsID
  15749. required: true
  15750. type: integer
  15751. - description: 资金账户,主要用于获取预售商品购买上限
  15752. in: query
  15753. name: accountID
  15754. type: integer
  15755. produces:
  15756. - application/json
  15757. responses:
  15758. "200":
  15759. description: OK
  15760. schema:
  15761. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  15762. "500":
  15763. description: Internal Server Error
  15764. schema:
  15765. $ref: '#/definitions/app.Response'
  15766. security:
  15767. - ApiKeyAuth: []
  15768. summary: 查询一级市场(预售)商品信息详情
  15769. tags:
  15770. - 定制【海商报业】
  15771. /HSBY/QueryHsbyPreGoodses:
  15772. get:
  15773. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  15774. parameters:
  15775. - description: 页码
  15776. in: query
  15777. name: page
  15778. type: integer
  15779. - description: 每页条数
  15780. in: query
  15781. name: pagesize
  15782. type: integer
  15783. - description: 市场ID列表,格式:1,2,3
  15784. in: query
  15785. name: marketIDs
  15786. required: true
  15787. type: string
  15788. - description: 目的地(省)ID
  15789. in: query
  15790. name: descProvinceID
  15791. type: integer
  15792. - description: 目的地(市)ID
  15793. in: query
  15794. name: descCityID
  15795. type: integer
  15796. produces:
  15797. - application/json
  15798. responses:
  15799. "200":
  15800. description: OK
  15801. schema:
  15802. $ref: '#/definitions/models.HsbyPreGoods'
  15803. "500":
  15804. description: Internal Server Error
  15805. schema:
  15806. $ref: '#/definitions/app.Response'
  15807. security:
  15808. - ApiKeyAuth: []
  15809. summary: 查询新品上市商品列表(一级市场预售)
  15810. tags:
  15811. - 定制【海商报业】
  15812. /HSBY/QueryHsbySellMyDetails:
  15813. get:
  15814. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  15815. parameters:
  15816. - description: 页码
  15817. in: query
  15818. name: page
  15819. type: integer
  15820. - description: 每页条数
  15821. in: query
  15822. name: pagesize
  15823. type: integer
  15824. - description: 资金账户列表,格式:1,2,3
  15825. in: query
  15826. name: accountIDs
  15827. required: true
  15828. type: string
  15829. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  15830. in: query
  15831. name: orderType
  15832. type: integer
  15833. produces:
  15834. - application/json
  15835. responses:
  15836. "200":
  15837. description: OK
  15838. schema:
  15839. $ref: '#/definitions/models.HsbySellMyDetail'
  15840. "500":
  15841. description: Internal Server Error
  15842. schema:
  15843. $ref: '#/definitions/app.Response'
  15844. security:
  15845. - ApiKeyAuth: []
  15846. summary: 查询"我的闲置"单据信息
  15847. tags:
  15848. - 定制【海商报业】
  15849. /HSBY/QueryHsbyTopGoodses:
  15850. get:
  15851. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  15852. parameters:
  15853. - description: 页码
  15854. in: query
  15855. name: page
  15856. type: integer
  15857. - description: 每页条数
  15858. in: query
  15859. name: pagesize
  15860. type: integer
  15861. - description: 市场ID列表,格式:1,2,3
  15862. in: query
  15863. name: marketIDs
  15864. required: true
  15865. type: string
  15866. - description: 目的地(省)ID
  15867. in: query
  15868. name: descProvinceID
  15869. type: integer
  15870. - description: 目的地(市)ID
  15871. in: query
  15872. name: descCityID
  15873. type: integer
  15874. produces:
  15875. - application/json
  15876. responses:
  15877. "200":
  15878. description: OK
  15879. schema:
  15880. $ref: '#/definitions/models.HsbyTopGoods'
  15881. "500":
  15882. description: Internal Server Error
  15883. schema:
  15884. $ref: '#/definitions/app.Response'
  15885. security:
  15886. - ApiKeyAuth: []
  15887. summary: 查询热卖商品列表(二级市场挂牌点选)
  15888. tags:
  15889. - 定制【海商报业】
  15890. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  15891. get:
  15892. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  15893. parameters:
  15894. - description: 商品ID
  15895. in: query
  15896. name: goodsID
  15897. required: true
  15898. type: integer
  15899. produces:
  15900. - application/json
  15901. responses:
  15902. "200":
  15903. description: OK
  15904. schema:
  15905. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  15906. "500":
  15907. description: Internal Server Error
  15908. schema:
  15909. $ref: '#/definitions/app.Response'
  15910. security:
  15911. - ApiKeyAuth: []
  15912. summary: 查询游客三级市场(商城)商品信息详情
  15913. tags:
  15914. - 定制【海商报业】
  15915. /HSBY/QueryHsbyVisitorMarketGoodses:
  15916. get:
  15917. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  15918. parameters:
  15919. - description: 页码
  15920. in: query
  15921. name: page
  15922. type: integer
  15923. - description: 每页条数
  15924. in: query
  15925. name: pagesize
  15926. type: integer
  15927. - description: 市场ID列表,格式:1,2,3
  15928. in: query
  15929. name: marketIDs
  15930. required: true
  15931. type: string
  15932. - description: 类别ID
  15933. in: query
  15934. name: categoryID
  15935. type: integer
  15936. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  15937. in: query
  15938. name: goodsIDs
  15939. type: string
  15940. produces:
  15941. - application/json
  15942. responses:
  15943. "200":
  15944. description: OK
  15945. schema:
  15946. $ref: '#/definitions/models.HsbyMarketGoods'
  15947. "500":
  15948. description: Internal Server Error
  15949. schema:
  15950. $ref: '#/definitions/app.Response'
  15951. security:
  15952. - ApiKeyAuth: []
  15953. summary: 查询游客特卖商品列表(三级商城)
  15954. tags:
  15955. - 定制【海商报业】
  15956. /HSBY/QueryMyCollectionOrders:
  15957. get:
  15958. parameters:
  15959. - description: 页码
  15960. in: query
  15961. name: page
  15962. type: integer
  15963. - description: 每页条数
  15964. in: query
  15965. name: pagesize
  15966. type: integer
  15967. - description: 资金账户,格式:1,2,3
  15968. in: query
  15969. name: accountIDs
  15970. required: true
  15971. type: string
  15972. produces:
  15973. - application/json
  15974. responses:
  15975. "200":
  15976. description: OK
  15977. schema:
  15978. $ref: '#/definitions/models.HsbySellCollectionOrder'
  15979. "500":
  15980. description: Internal Server Error
  15981. schema:
  15982. $ref: '#/definitions/app.Response'
  15983. security:
  15984. - ApiKeyAuth: []
  15985. summary: 我的闲置中收款信息查询
  15986. tags:
  15987. - 定制【海商报业】
  15988. /HSBY/QueryMyCouponHolds:
  15989. get:
  15990. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  15991. parameters:
  15992. - description: 资金账户列表,格式:1,2,3
  15993. in: query
  15994. name: accountIDs
  15995. required: true
  15996. type: string
  15997. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  15998. in: query
  15999. name: holdStatus
  16000. type: string
  16001. produces:
  16002. - application/json
  16003. responses:
  16004. "200":
  16005. description: OK
  16006. schema:
  16007. $ref: '#/definitions/models.MyCouponHold'
  16008. "500":
  16009. description: Internal Server Error
  16010. schema:
  16011. $ref: '#/definitions/app.Response'
  16012. security:
  16013. - ApiKeyAuth: []
  16014. summary: 我的优惠卷持仓查询
  16015. tags:
  16016. - 定制【海商报业】
  16017. /HSBY/QueryMyCoupons:
  16018. get:
  16019. parameters:
  16020. - description: 资金账户列表,格式:1,2,3
  16021. in: query
  16022. name: accountIDs
  16023. required: true
  16024. type: string
  16025. - description: 商品ID, 一般与sellUserID配套传入
  16026. in: query
  16027. name: goodsID
  16028. type: integer
  16029. - description: 卖方UserID
  16030. in: query
  16031. name: sellUserID
  16032. type: integer
  16033. produces:
  16034. - application/json
  16035. responses:
  16036. "200":
  16037. description: OK
  16038. schema:
  16039. $ref: '#/definitions/models.MyCoupon'
  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/QueryMyPayOrders:
  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. - description: 买方委托单号
  16066. in: query
  16067. name: buyOrderID
  16068. type: integer
  16069. - description: 卖方委托单号
  16070. in: query
  16071. name: sellOrderID
  16072. type: integer
  16073. produces:
  16074. - application/json
  16075. responses:
  16076. "200":
  16077. description: OK
  16078. schema:
  16079. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  16080. "500":
  16081. description: Internal Server Error
  16082. schema:
  16083. $ref: '#/definitions/app.Response'
  16084. security:
  16085. - ApiKeyAuth: []
  16086. summary: 获取我的订单中待付款信息
  16087. tags:
  16088. - 定制【海商报业】
  16089. /HSBY/QueryMyUsedCoupon:
  16090. get:
  16091. parameters:
  16092. - description: 资金账户列表,格式:1,2,3
  16093. in: query
  16094. name: accountIDs
  16095. required: true
  16096. type: string
  16097. produces:
  16098. - application/json
  16099. responses:
  16100. "200":
  16101. description: OK
  16102. schema:
  16103. $ref: '#/definitions/models.MyUsedCoupon'
  16104. "500":
  16105. description: Internal Server Error
  16106. schema:
  16107. $ref: '#/definitions/app.Response'
  16108. security:
  16109. - ApiKeyAuth: []
  16110. summary: 已使用优惠卷查询
  16111. tags:
  16112. - 定制【海商报业】
  16113. /HSBY/QueryProvincesAndCities:
  16114. get:
  16115. description: 查询结果只包括二级市场商品已关连的省市信息。
  16116. parameters:
  16117. - description: 省ID
  16118. in: query
  16119. name: provinceID
  16120. type: integer
  16121. produces:
  16122. - application/json
  16123. responses:
  16124. "200":
  16125. description: OK
  16126. schema:
  16127. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  16128. "500":
  16129. description: Internal Server Error
  16130. schema:
  16131. $ref: '#/definitions/app.Response'
  16132. security:
  16133. - ApiKeyAuth: []
  16134. summary: 查询省市信息(不包括区)
  16135. tags:
  16136. - 定制【海商报业】
  16137. /HSBY/SetHsbyMyPackagesStatus:
  16138. post:
  16139. parameters:
  16140. - description: 提货单号
  16141. in: query
  16142. name: takeOrderID
  16143. required: true
  16144. type: string
  16145. - description: 资金账号
  16146. in: query
  16147. name: accountID
  16148. required: true
  16149. type: integer
  16150. produces:
  16151. - application/json
  16152. responses:
  16153. "200":
  16154. description: OK
  16155. schema:
  16156. $ref: '#/definitions/app.Response'
  16157. "500":
  16158. description: Internal Server Error
  16159. schema:
  16160. $ref: '#/definitions/app.Response'
  16161. security:
  16162. - ApiKeyAuth: []
  16163. summary: 设置我的包裹已收货状态
  16164. tags:
  16165. - 定制【海商报业】
  16166. /Market/QueryGoodsesByLoginID:
  16167. get:
  16168. parameters:
  16169. - description: 登录账号
  16170. in: query
  16171. name: loginID
  16172. required: true
  16173. type: integer
  16174. - description: 市场ID列表,格式:1,2,3
  16175. in: query
  16176. name: marketIDs
  16177. type: string
  16178. produces:
  16179. - application/json
  16180. responses:
  16181. "200":
  16182. description: OK
  16183. schema:
  16184. $ref: '#/definitions/models.Goods'
  16185. "500":
  16186. description: Internal Server Error
  16187. schema:
  16188. $ref: '#/definitions/app.Response'
  16189. security:
  16190. - ApiKeyAuth: []
  16191. summary: 获取登录账号有权限的商品信息
  16192. tags:
  16193. - 通用市场
  16194. /Market/QueryMarketRun:
  16195. get:
  16196. parameters:
  16197. - description: 市场ID,不传返回所有
  16198. in: query
  16199. name: marketID
  16200. type: integer
  16201. produces:
  16202. - application/json
  16203. responses:
  16204. "200":
  16205. description: OK
  16206. schema:
  16207. $ref: '#/definitions/models.Marketrun'
  16208. "500":
  16209. description: Internal Server Error
  16210. schema:
  16211. $ref: '#/definitions/app.Response'
  16212. security:
  16213. - ApiKeyAuth: []
  16214. summary: 查询市场运行信息
  16215. tags:
  16216. - 通用市场
  16217. /Market/QueryMarketsByLoginID:
  16218. get:
  16219. parameters:
  16220. - description: 登录账号
  16221. in: query
  16222. name: loginID
  16223. required: true
  16224. type: integer
  16225. produces:
  16226. - application/json
  16227. responses:
  16228. "200":
  16229. description: OK
  16230. schema:
  16231. $ref: '#/definitions/models.Market'
  16232. "500":
  16233. description: Internal Server Error
  16234. schema:
  16235. $ref: '#/definitions/app.Response'
  16236. security:
  16237. - ApiKeyAuth: []
  16238. summary: 获取登录账号有权限的市场信息
  16239. tags:
  16240. - 通用市场
  16241. /Order/QueryHisTradeDetail:
  16242. get:
  16243. parameters:
  16244. - description: 资金账户 - 格式:1,2,3
  16245. in: query
  16246. name: accountID
  16247. required: true
  16248. type: string
  16249. - description: 成交单号
  16250. in: query
  16251. name: tradeID
  16252. type: integer
  16253. - description: 委托单号
  16254. in: query
  16255. name: orderID
  16256. type: integer
  16257. - description: 交易模式 - 格式:1,2,3
  16258. in: query
  16259. name: tradeMode
  16260. type: string
  16261. - description: 委托单据类型
  16262. in: query
  16263. name: buildType
  16264. type: integer
  16265. - description: 成交类别 - 格式:1,2,3
  16266. in: query
  16267. name: tradeType
  16268. type: string
  16269. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  16270. in: query
  16271. name: startDate
  16272. type: string
  16273. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  16274. in: query
  16275. name: endDate
  16276. type: string
  16277. produces:
  16278. - application/json
  16279. responses:
  16280. "200":
  16281. description: OK
  16282. schema:
  16283. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  16284. "500":
  16285. description: Internal Server Error
  16286. schema:
  16287. $ref: '#/definitions/app.Response'
  16288. security:
  16289. - ApiKeyAuth: []
  16290. summary: 历史成交单查询(合约市场)
  16291. tags:
  16292. - 通用单据
  16293. /Order/QueryHisTradeOrderDetail:
  16294. get:
  16295. parameters:
  16296. - description: 资金账户 - 格式:1,2,3
  16297. in: query
  16298. name: accountID
  16299. required: true
  16300. type: string
  16301. - description: 交易模式 - 格式:1,2,3
  16302. in: query
  16303. name: tradeMode
  16304. type: string
  16305. - description: 委托状态 - 格式:1,2,3
  16306. in: query
  16307. name: orderStatus
  16308. type: string
  16309. - description: 委托单号
  16310. in: query
  16311. name: orderID
  16312. type: integer
  16313. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  16314. in: query
  16315. name: startDate
  16316. type: string
  16317. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  16318. in: query
  16319. name: endDate
  16320. type: string
  16321. produces:
  16322. - application/json
  16323. responses:
  16324. "200":
  16325. description: OK
  16326. schema:
  16327. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  16328. "500":
  16329. description: Internal Server Error
  16330. schema:
  16331. $ref: '#/definitions/app.Response'
  16332. security:
  16333. - ApiKeyAuth: []
  16334. summary: 历史委托单查询请求(合约市场)
  16335. tags:
  16336. - 通用单据
  16337. /Order/QueryTradeDetail:
  16338. get:
  16339. parameters:
  16340. - description: 资金账户 - 格式:1,2,3
  16341. in: query
  16342. name: accountID
  16343. required: true
  16344. type: string
  16345. - description: 成交单号
  16346. in: query
  16347. name: tradeID
  16348. type: integer
  16349. - description: 委托单号
  16350. in: query
  16351. name: orderID
  16352. type: integer
  16353. - description: 交易模式 - 格式:1,2,3
  16354. in: query
  16355. name: tradeMode
  16356. type: string
  16357. - description: 委托单据类型
  16358. in: query
  16359. name: buildType
  16360. type: integer
  16361. - description: 成交类别 - 格式:1,2,3
  16362. in: query
  16363. name: tradeType
  16364. type: string
  16365. produces:
  16366. - application/json
  16367. responses:
  16368. "200":
  16369. description: OK
  16370. schema:
  16371. $ref: '#/definitions/order.QueryTradeDetailRsp'
  16372. "500":
  16373. description: Internal Server Error
  16374. schema:
  16375. $ref: '#/definitions/app.Response'
  16376. security:
  16377. - ApiKeyAuth: []
  16378. summary: 成交单查询(合约市场)
  16379. tags:
  16380. - 通用单据
  16381. /Order/QueryTradeOrderDetail:
  16382. get:
  16383. parameters:
  16384. - description: 资金账户 - 格式:1,2,3
  16385. in: query
  16386. name: accountID
  16387. required: true
  16388. type: string
  16389. - description: 交易模式 - 格式:1,2,3
  16390. in: query
  16391. name: tradeMode
  16392. type: string
  16393. - description: 委托状态 - 格式:1,2,3
  16394. in: query
  16395. name: orderStatus
  16396. type: string
  16397. - description: 委托单号
  16398. in: query
  16399. name: orderID
  16400. type: integer
  16401. produces:
  16402. - application/json
  16403. responses:
  16404. "200":
  16405. description: OK
  16406. schema:
  16407. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  16408. "500":
  16409. description: Internal Server Error
  16410. schema:
  16411. $ref: '#/definitions/app.Response'
  16412. security:
  16413. - ApiKeyAuth: []
  16414. summary: 委托单查询请求(合约市场)
  16415. tags:
  16416. - 通用单据
  16417. /Order/QueryTradePosition:
  16418. get:
  16419. parameters:
  16420. - description: 资金账户 - 格式:1,2,3
  16421. in: query
  16422. name: accountID
  16423. required: true
  16424. type: string
  16425. - description: 交易模式 - 格式:1,2,3
  16426. in: query
  16427. name: tradeMode
  16428. type: string
  16429. produces:
  16430. - application/json
  16431. responses:
  16432. "200":
  16433. description: OK
  16434. schema:
  16435. $ref: '#/definitions/order.QueryTradePositionRsp'
  16436. "500":
  16437. description: Internal Server Error
  16438. schema:
  16439. $ref: '#/definitions/app.Response'
  16440. security:
  16441. - ApiKeyAuth: []
  16442. summary: 持仓汇总查询(合约市场)
  16443. tags:
  16444. - 通用单据
  16445. /Quote/QueryHistoryDatas:
  16446. get:
  16447. parameters:
  16448. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  16449. 日线'
  16450. in: query
  16451. name: cycleType
  16452. required: true
  16453. type: integer
  16454. - description: 商品代码
  16455. in: query
  16456. name: goodsCode
  16457. required: true
  16458. type: string
  16459. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  16460. in: query
  16461. name: startTime
  16462. type: string
  16463. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  16464. in: query
  16465. name: endTime
  16466. type: string
  16467. - description: 条数
  16468. in: query
  16469. name: count
  16470. type: integer
  16471. - description: 是否按时间顺序排序(默认为时间倒序排序)
  16472. in: query
  16473. name: isAsc
  16474. type: boolean
  16475. produces:
  16476. - application/json
  16477. responses:
  16478. "200":
  16479. description: OK
  16480. schema:
  16481. $ref: '#/definitions/quote.HistoryData'
  16482. "500":
  16483. description: Internal Server Error
  16484. schema:
  16485. $ref: '#/definitions/app.Response'
  16486. security:
  16487. - ApiKeyAuth: []
  16488. summary: 查询行情历史数据
  16489. tags:
  16490. - 行情服务
  16491. /Quote/QueryHistoryTikDatas:
  16492. get:
  16493. parameters:
  16494. - description: 商品代码
  16495. in: query
  16496. name: goodsCode
  16497. required: true
  16498. type: string
  16499. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  16500. in: query
  16501. name: startTime
  16502. type: string
  16503. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  16504. in: query
  16505. name: endTime
  16506. type: string
  16507. - description: 条数
  16508. in: query
  16509. name: count
  16510. type: integer
  16511. - description: 是否按时间顺序排序(默认为时间倒序排序)
  16512. in: query
  16513. name: isAsc
  16514. type: boolean
  16515. produces:
  16516. - application/json
  16517. responses:
  16518. "200":
  16519. description: OK
  16520. schema:
  16521. $ref: '#/definitions/quote.HistoryTikData'
  16522. "500":
  16523. description: Internal Server Error
  16524. schema:
  16525. $ref: '#/definitions/app.Response'
  16526. security:
  16527. - ApiKeyAuth: []
  16528. summary: 查询行情Tik数据
  16529. tags:
  16530. - 行情服务
  16531. /Quote/QueryQuoteDay:
  16532. get:
  16533. parameters:
  16534. - description: 商品代码列表,格式:CU2102,CU2103,AL2107
  16535. in: query
  16536. name: goodsCodes
  16537. required: true
  16538. type: string
  16539. produces:
  16540. - application/json
  16541. responses:
  16542. "200":
  16543. description: OK
  16544. schema:
  16545. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  16546. "500":
  16547. description: Internal Server Error
  16548. schema:
  16549. $ref: '#/definitions/app.Response'
  16550. security:
  16551. - ApiKeyAuth: []
  16552. summary: 获取商品盘面信息
  16553. tags:
  16554. - 行情服务
  16555. /Quote/QueryTSData:
  16556. get:
  16557. parameters:
  16558. - description: 商品代码
  16559. in: query
  16560. name: goodsCode
  16561. required: true
  16562. type: string
  16563. produces:
  16564. - application/json
  16565. responses:
  16566. "200":
  16567. description: OK
  16568. schema:
  16569. $ref: '#/definitions/quote.QueryTSDataRsp'
  16570. "500":
  16571. description: Internal Server Error
  16572. schema:
  16573. $ref: '#/definitions/app.Response'
  16574. security:
  16575. - ApiKeyAuth: []
  16576. summary: 分时图数据查询
  16577. tags:
  16578. - 行情服务
  16579. /SZDZ/QueryConvertConfig:
  16580. get:
  16581. parameters:
  16582. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  16583. 6:交易转花生米(不设置)
  16584. in: query
  16585. name: convertType
  16586. type: integer
  16587. - description: 外部商品代码[JD\PD]
  16588. in: query
  16589. name: outerGoodsCode
  16590. type: string
  16591. - description: 内部商品ID列表[交易],格式:1,2,3
  16592. in: query
  16593. name: innerGoodsIDs
  16594. type: string
  16595. produces:
  16596. - application/json
  16597. responses:
  16598. "200":
  16599. description: OK
  16600. schema:
  16601. $ref: '#/definitions/models.Szdz3convertconfig'
  16602. "500":
  16603. description: Internal Server Error
  16604. schema:
  16605. $ref: '#/definitions/app.Response'
  16606. security:
  16607. - ApiKeyAuth: []
  16608. summary: 查询交易系统转换设置
  16609. tags:
  16610. - 定制【尚志大宗】
  16611. /SZDZ/QueryConvertLog:
  16612. get:
  16613. parameters:
  16614. - description: 资金账户 - 格式:1,2,3
  16615. in: query
  16616. name: accountID
  16617. required: true
  16618. type: string
  16619. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  16620. in: query
  16621. name: startDate
  16622. type: string
  16623. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  16624. in: query
  16625. name: endDate
  16626. type: string
  16627. produces:
  16628. - application/json
  16629. responses:
  16630. "200":
  16631. description: OK
  16632. schema:
  16633. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  16634. "500":
  16635. description: Internal Server Error
  16636. schema:
  16637. $ref: '#/definitions/app.Response'
  16638. security:
  16639. - ApiKeyAuth: []
  16640. summary: 交易系统转换流水查询
  16641. tags:
  16642. - 定制【尚志大宗】
  16643. /SZDZ/QueryGoodsPickup:
  16644. get:
  16645. parameters:
  16646. - description: 资金账户 - 格式:1,2,3
  16647. in: query
  16648. name: accountID
  16649. required: true
  16650. type: string
  16651. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  16652. in: query
  16653. name: takeOrderStatus
  16654. type: integer
  16655. produces:
  16656. - application/json
  16657. responses:
  16658. "200":
  16659. description: OK
  16660. schema:
  16661. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  16662. "500":
  16663. description: Internal Server Error
  16664. schema:
  16665. $ref: '#/definitions/app.Response'
  16666. security:
  16667. - ApiKeyAuth: []
  16668. summary: 商品提货单查询
  16669. tags:
  16670. - 定制【尚志大宗】
  16671. /SZDZ/QueryRecieptOrder:
  16672. get:
  16673. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  16674. parameters:
  16675. - description: 页码
  16676. in: query
  16677. name: page
  16678. type: integer
  16679. - description: 每页条数
  16680. in: query
  16681. name: pagesize
  16682. type: integer
  16683. - description: 商品ID
  16684. in: query
  16685. name: goodsID
  16686. required: true
  16687. type: integer
  16688. - description: 所属账户名称
  16689. in: query
  16690. name: accountName
  16691. type: string
  16692. - description: 市场ID
  16693. in: query
  16694. name: marketID
  16695. type: integer
  16696. - description: 方向 - 0:买 1:卖
  16697. in: query
  16698. name: buyorsell
  16699. required: true
  16700. type: integer
  16701. produces:
  16702. - application/json
  16703. responses:
  16704. "200":
  16705. description: OK
  16706. schema:
  16707. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  16708. "500":
  16709. description: Internal Server Error
  16710. schema:
  16711. $ref: '#/definitions/app.Response'
  16712. security:
  16713. - ApiKeyAuth: []
  16714. summary: 点选挂牌委托单据查询(摘牌大厅)
  16715. tags:
  16716. - 定制【尚志大宗】
  16717. /SZDZ/QuerySZDZTradePosition:
  16718. get:
  16719. parameters:
  16720. - description: 资金账户
  16721. in: query
  16722. name: accountID
  16723. required: true
  16724. type: integer
  16725. produces:
  16726. - application/json
  16727. responses:
  16728. "200":
  16729. description: OK
  16730. schema:
  16731. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  16732. "500":
  16733. description: Internal Server Error
  16734. schema:
  16735. $ref: '#/definitions/app.Response'
  16736. security:
  16737. - ApiKeyAuth: []
  16738. summary: 持仓汇总查询(尚志大宗)
  16739. tags:
  16740. - 定制【尚志大宗】
  16741. /SZDZ/SearchWhite:
  16742. get:
  16743. parameters:
  16744. - description: 用户ID
  16745. in: query
  16746. name: userID
  16747. required: true
  16748. type: integer
  16749. produces:
  16750. - application/json
  16751. responses:
  16752. "200":
  16753. description: OK
  16754. schema:
  16755. $ref: '#/definitions/models.Szdz3searchwhitelist'
  16756. "500":
  16757. description: Internal Server Error
  16758. schema:
  16759. $ref: '#/definitions/app.Response'
  16760. security:
  16761. - ApiKeyAuth: []
  16762. summary: 搜索白名单
  16763. tags:
  16764. - 定制【尚志大宗】
  16765. /Search/SearchGoodses:
  16766. get:
  16767. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  16768. parameters:
  16769. - description: 检索内容
  16770. in: query
  16771. name: content
  16772. required: true
  16773. type: string
  16774. - description: 交易模式,格式:1,2,3
  16775. in: query
  16776. name: tradeModes
  16777. type: string
  16778. produces:
  16779. - application/json
  16780. responses:
  16781. "200":
  16782. description: OK
  16783. schema:
  16784. $ref: '#/definitions/models.SearchGoods'
  16785. "500":
  16786. description: Internal Server Error
  16787. schema:
  16788. $ref: '#/definitions/app.Response'
  16789. summary: 检索商品信息
  16790. tags:
  16791. - 检索服务
  16792. /TaAccount/GetTaAccounts:
  16793. get:
  16794. parameters:
  16795. - description: 登录账户
  16796. in: query
  16797. name: loginID
  16798. required: true
  16799. type: integer
  16800. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  16801. in: query
  16802. name: taAccountType
  16803. type: integer
  16804. produces:
  16805. - application/json
  16806. responses:
  16807. "200":
  16808. description: OK
  16809. schema:
  16810. $ref: '#/definitions/models.Taaccount'
  16811. "500":
  16812. description: Internal Server Error
  16813. schema:
  16814. $ref: '#/definitions/app.Response'
  16815. security:
  16816. - ApiKeyAuth: []
  16817. summary: 获取资金账户信息
  16818. tags:
  16819. - 资金账户
  16820. /TaAccount/QueryAmountLog:
  16821. get:
  16822. parameters:
  16823. - description: 页码
  16824. in: query
  16825. name: page
  16826. type: integer
  16827. - description: 每页条数
  16828. in: query
  16829. name: pagesize
  16830. type: integer
  16831. - description: 资金账户 - 格式:1,2,3
  16832. in: query
  16833. name: accountID
  16834. required: true
  16835. type: string
  16836. - description: 资金操作类型 - 格式:1,2,3
  16837. in: query
  16838. name: OperateType
  16839. type: string
  16840. produces:
  16841. - application/json
  16842. responses:
  16843. "200":
  16844. description: OK
  16845. schema:
  16846. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  16847. "500":
  16848. description: Internal Server Error
  16849. schema:
  16850. $ref: '#/definitions/app.Response'
  16851. security:
  16852. - ApiKeyAuth: []
  16853. summary: 资金流水查询(当前)
  16854. tags:
  16855. - 资金账户
  16856. /TaAccount/QueryHisAmountLog:
  16857. get:
  16858. parameters:
  16859. - description: 页码
  16860. in: query
  16861. name: page
  16862. type: integer
  16863. - description: 每页条数
  16864. in: query
  16865. name: pagesize
  16866. type: integer
  16867. - description: 资金账户 - 格式:1,2,3
  16868. in: query
  16869. name: accountID
  16870. required: true
  16871. type: string
  16872. - description: 资金操作类型 - 格式:1,2,3
  16873. in: query
  16874. name: OperateType
  16875. type: string
  16876. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  16877. in: query
  16878. name: startDate
  16879. type: string
  16880. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  16881. in: query
  16882. name: endDate
  16883. type: string
  16884. produces:
  16885. - application/json
  16886. responses:
  16887. "200":
  16888. description: OK
  16889. schema:
  16890. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  16891. "500":
  16892. description: Internal Server Error
  16893. schema:
  16894. $ref: '#/definitions/app.Response'
  16895. security:
  16896. - ApiKeyAuth: []
  16897. summary: 资金流水查询(历史)
  16898. tags:
  16899. - 资金账户
  16900. /Trade/QueryRecieptOrder:
  16901. get:
  16902. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  16903. parameters:
  16904. - description: 页码
  16905. in: query
  16906. name: page
  16907. type: integer
  16908. - description: 每页条数
  16909. in: query
  16910. name: pagesize
  16911. type: integer
  16912. - description: 商品ID
  16913. in: query
  16914. name: goodsID
  16915. required: true
  16916. type: integer
  16917. - description: 所属账户名称
  16918. in: query
  16919. name: accountName
  16920. type: string
  16921. - description: 市场ID
  16922. in: query
  16923. name: marketID
  16924. type: integer
  16925. - description: 方向 - 0:买 1:卖
  16926. in: query
  16927. name: buyorsell
  16928. required: true
  16929. type: integer
  16930. produces:
  16931. - application/json
  16932. responses:
  16933. "200":
  16934. description: OK
  16935. schema:
  16936. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  16937. "500":
  16938. description: Internal Server Error
  16939. schema:
  16940. $ref: '#/definitions/app.Response'
  16941. security:
  16942. - ApiKeyAuth: []
  16943. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  16944. tags:
  16945. - 通用交易
  16946. /User/AddMessageBoard:
  16947. post:
  16948. parameters:
  16949. - description: 用户ID
  16950. in: query
  16951. name: userID
  16952. required: true
  16953. type: integer
  16954. - description: 留言信息
  16955. in: query
  16956. name: message
  16957. required: true
  16958. type: string
  16959. - description: 联系电话
  16960. in: query
  16961. name: contactNum
  16962. required: true
  16963. type: string
  16964. produces:
  16965. - application/json
  16966. responses:
  16967. "200":
  16968. description: OK
  16969. schema:
  16970. $ref: '#/definitions/app.Response'
  16971. "500":
  16972. description: Internal Server Error
  16973. schema:
  16974. $ref: '#/definitions/app.Response'
  16975. security:
  16976. - ApiKeyAuth: []
  16977. summary: 添加用户留言板信息
  16978. tags:
  16979. - 用户信息
  16980. /User/AddUserFavoriteGoods:
  16981. post:
  16982. parameters:
  16983. - description: 用户ID
  16984. in: query
  16985. name: userID
  16986. required: true
  16987. type: integer
  16988. - description: 商品ID
  16989. in: query
  16990. name: goodsID
  16991. required: true
  16992. type: integer
  16993. produces:
  16994. - application/json
  16995. responses:
  16996. "200":
  16997. description: OK
  16998. schema:
  16999. $ref: '#/definitions/app.Response'
  17000. "500":
  17001. description: Internal Server Error
  17002. schema:
  17003. $ref: '#/definitions/app.Response'
  17004. security:
  17005. - ApiKeyAuth: []
  17006. summary: 添加用户商品收藏信息
  17007. tags:
  17008. - 用户信息
  17009. /User/GetLoginID:
  17010. get:
  17011. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  17012. parameters:
  17013. - description: 登录代码
  17014. in: query
  17015. name: username
  17016. required: true
  17017. type: string
  17018. produces:
  17019. - application/json
  17020. responses:
  17021. "200":
  17022. description: OK
  17023. schema:
  17024. $ref: '#/definitions/app.Response'
  17025. "500":
  17026. description: Internal Server Error
  17027. schema:
  17028. $ref: '#/definitions/app.Response'
  17029. summary: 获取登录ID
  17030. tags:
  17031. - 用户信息
  17032. /User/GetUserAccount:
  17033. get:
  17034. parameters:
  17035. - description: 用户ID
  17036. in: query
  17037. name: userID
  17038. required: true
  17039. type: integer
  17040. produces:
  17041. - application/json
  17042. responses:
  17043. "200":
  17044. description: OK
  17045. schema:
  17046. $ref: '#/definitions/models.Useraccount'
  17047. "500":
  17048. description: Internal Server Error
  17049. schema:
  17050. $ref: '#/definitions/app.Response'
  17051. security:
  17052. - ApiKeyAuth: []
  17053. summary: 获取用户账号信息
  17054. tags:
  17055. - 用户信息
  17056. /User/GetUserAuthStatus:
  17057. get:
  17058. parameters:
  17059. - description: 用户ID
  17060. in: query
  17061. name: userID
  17062. required: true
  17063. type: integer
  17064. produces:
  17065. - application/json
  17066. responses:
  17067. "200":
  17068. description: OK
  17069. schema:
  17070. $ref: '#/definitions/app.Response'
  17071. "500":
  17072. description: Internal Server Error
  17073. schema:
  17074. $ref: '#/definitions/app.Response'
  17075. security:
  17076. - ApiKeyAuth: []
  17077. summary: 获取用户实名认证状态
  17078. tags:
  17079. - 用户信息
  17080. /User/LoginQuery:
  17081. get:
  17082. parameters:
  17083. - description: 登录账号
  17084. in: query
  17085. name: loginID
  17086. required: true
  17087. type: integer
  17088. produces:
  17089. - application/json
  17090. responses:
  17091. "200":
  17092. description: OK
  17093. schema:
  17094. $ref: '#/definitions/user.LoginQueryRsp'
  17095. "500":
  17096. description: Internal Server Error
  17097. schema:
  17098. $ref: '#/definitions/app.Response'
  17099. security:
  17100. - ApiKeyAuth: []
  17101. summary: 账户登录后信息查询
  17102. tags:
  17103. - 用户信息
  17104. /User/QueryMessageBoard:
  17105. get:
  17106. parameters:
  17107. - description: 用户ID
  17108. in: query
  17109. name: userID
  17110. required: true
  17111. type: integer
  17112. produces:
  17113. - application/json
  17114. responses:
  17115. "200":
  17116. description: OK
  17117. schema:
  17118. $ref: '#/definitions/models.Messageboard'
  17119. "500":
  17120. description: Internal Server Error
  17121. schema:
  17122. $ref: '#/definitions/app.Response'
  17123. security:
  17124. - ApiKeyAuth: []
  17125. summary: 获取用户留言板信息
  17126. tags:
  17127. - 用户信息
  17128. /User/QueryUserFavoriteGoodses:
  17129. get:
  17130. parameters:
  17131. - description: 用户ID
  17132. in: query
  17133. name: userID
  17134. required: true
  17135. type: integer
  17136. produces:
  17137. - application/json
  17138. responses:
  17139. "200":
  17140. description: OK
  17141. schema:
  17142. $ref: '#/definitions/models.Userfavoritegoods'
  17143. "500":
  17144. description: Internal Server Error
  17145. schema:
  17146. $ref: '#/definitions/app.Response'
  17147. security:
  17148. - ApiKeyAuth: []
  17149. summary: 获取用户商品收藏信息
  17150. tags:
  17151. - 用户信息
  17152. /User/QueryUserInfo:
  17153. get:
  17154. parameters:
  17155. - description: 用户ID
  17156. in: query
  17157. name: userID
  17158. required: true
  17159. type: integer
  17160. - description: 是否解密
  17161. in: query
  17162. name: isDecrypt
  17163. type: boolean
  17164. produces:
  17165. - application/json
  17166. responses:
  17167. "200":
  17168. description: OK
  17169. schema:
  17170. $ref: '#/definitions/models.Userinfo'
  17171. "500":
  17172. description: Internal Server Error
  17173. schema:
  17174. $ref: '#/definitions/app.Response'
  17175. security:
  17176. - ApiKeyAuth: []
  17177. summary: 获取用户信息
  17178. tags:
  17179. - 用户信息
  17180. /User/QueryUserReferNum:
  17181. get:
  17182. parameters:
  17183. - description: 用户ID
  17184. in: query
  17185. name: userID
  17186. required: true
  17187. type: integer
  17188. produces:
  17189. - application/json
  17190. responses:
  17191. "200":
  17192. description: OK
  17193. schema:
  17194. $ref: '#/definitions/app.Response'
  17195. "500":
  17196. description: Internal Server Error
  17197. schema:
  17198. $ref: '#/definitions/app.Response'
  17199. summary: 获取用户邀请码
  17200. tags:
  17201. - 用户信息
  17202. /User/RemoveUserFavoriteGoods:
  17203. post:
  17204. parameters:
  17205. - description: 用户ID
  17206. in: query
  17207. name: userID
  17208. required: true
  17209. type: integer
  17210. - description: 商品ID
  17211. in: query
  17212. name: goodsID
  17213. required: true
  17214. type: integer
  17215. produces:
  17216. - application/json
  17217. responses:
  17218. "200":
  17219. description: OK
  17220. schema:
  17221. $ref: '#/definitions/app.Response'
  17222. "500":
  17223. description: Internal Server Error
  17224. schema:
  17225. $ref: '#/definitions/app.Response'
  17226. security:
  17227. - ApiKeyAuth: []
  17228. summary: 移除用户商品收藏信息
  17229. tags:
  17230. - 用户信息
  17231. /User/UpdateUserAccountStatus:
  17232. post:
  17233. parameters:
  17234. - description: 用户ID
  17235. in: query
  17236. name: userID
  17237. required: true
  17238. type: integer
  17239. - description: 账户状态 - 4:正常 6:注销(停用)
  17240. in: query
  17241. name: accountStatus
  17242. required: true
  17243. type: integer
  17244. produces:
  17245. - application/json
  17246. responses:
  17247. "200":
  17248. description: OK
  17249. schema:
  17250. $ref: '#/definitions/app.Response'
  17251. "500":
  17252. description: Internal Server Error
  17253. schema:
  17254. $ref: '#/definitions/app.Response'
  17255. security:
  17256. - ApiKeyAuth: []
  17257. summary: 更新用户状态
  17258. tags:
  17259. - 用户信息
  17260. /WRTrade/GetAllDeliveryGoods:
  17261. get:
  17262. produces:
  17263. - application/json
  17264. - application/json
  17265. responses:
  17266. "200":
  17267. description: OK
  17268. schema:
  17269. $ref: '#/definitions/app.Response'
  17270. "500":
  17271. description: Internal Server Error
  17272. schema:
  17273. $ref: '#/definitions/app.Response'
  17274. security:
  17275. - ApiKeyAuth: []
  17276. - ApiKeyAuth: []
  17277. summary: 获取带仓单分类的种类信息
  17278. tags:
  17279. - 仓单贸易
  17280. - 仓单贸易
  17281. securityDefinitions:
  17282. ApiKeyAuth:
  17283. in: header
  17284. name: Authorization
  17285. type: apiKey
  17286. swagger: "2.0"