swagger.yaml 463 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802
  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.QryAvalidGPRsp:
  935. $ref: '#/definitions/models.ErmcpAvalidGoodsGroupModel'
  936. ermcp.QryBusinessDjRsp:
  937. properties:
  938. amount:
  939. description: 点价金额=(点价价格+升贴水)*点价数量
  940. type: number
  941. applyid:
  942. description: 申请人
  943. type: string
  944. applyname:
  945. description: 申请人名称
  946. type: string
  947. applystatus:
  948. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  949. type: integer
  950. applytime:
  951. description: 申请时间
  952. type: string
  953. attachurl:
  954. description: 附件
  955. type: string
  956. auditid:
  957. description: 审核人ID
  958. type: string
  959. auditname:
  960. description: 审核人名称
  961. type: string
  962. audittime:
  963. description: 审核时间
  964. type: string
  965. buyusername:
  966. description: 采购方名称
  967. type: string
  968. contractno:
  969. description: 合同编号
  970. type: string
  971. contractstatus:
  972. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  973. type: integer
  974. contracttype:
  975. description: 现货合同类型 - 1:采购 -1:销售
  976. type: integer
  977. deliverygoodscode:
  978. description: 现货品种代码
  979. type: string
  980. deliverygoodsid:
  981. description: 现货商品ID
  982. type: integer
  983. deliverygoodsname:
  984. description: 现货品种名称
  985. type: string
  986. enumdicname:
  987. description: 单位名称
  988. type: string
  989. goodscode:
  990. description: 点价合约
  991. type: string
  992. goodsname:
  993. description: 商品名称
  994. type: string
  995. operateapplyid:
  996. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  997. type: string
  998. operateapplytype:
  999. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1000. type: integer
  1001. pricedPrice:
  1002. description: 点价价格(非必填)
  1003. type: number
  1004. pricedQty:
  1005. description: 点价数量(非必填)
  1006. type: number
  1007. pricemove:
  1008. description: 升贴水
  1009. type: number
  1010. pricetype:
  1011. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1012. type: integer
  1013. relatedid:
  1014. description: 现货合同ID
  1015. type: string
  1016. sellusername:
  1017. description: 销售方名字
  1018. type: string
  1019. userid:
  1020. description: 用户ID
  1021. type: integer
  1022. wrstandardcode:
  1023. description: 品类代码
  1024. type: string
  1025. wrstandardid:
  1026. description: 品类id
  1027. type: integer
  1028. wrstandardname:
  1029. description: 品类名称
  1030. type: string
  1031. type: object
  1032. ermcp.QryBussinessFpRsp:
  1033. properties:
  1034. applyid:
  1035. description: 申请人
  1036. type: string
  1037. applyname:
  1038. description: 申请人名称
  1039. type: string
  1040. applystatus:
  1041. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1042. type: integer
  1043. applytime:
  1044. description: 申请时间
  1045. type: string
  1046. attachurl:
  1047. description: 附件
  1048. type: string
  1049. auditid:
  1050. description: 审核人ID
  1051. type: string
  1052. auditname:
  1053. description: 审核人名称
  1054. type: string
  1055. audittime:
  1056. description: 审核时间
  1057. type: string
  1058. buyusername:
  1059. description: 采购方名称
  1060. type: string
  1061. contractno:
  1062. description: 合同编号
  1063. type: string
  1064. contractstatus:
  1065. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1066. type: integer
  1067. contracttype:
  1068. description: 现货合同类型 - 1:采购 -1:销售
  1069. type: integer
  1070. deliverygoodscode:
  1071. description: 现货品种代码
  1072. type: string
  1073. deliverygoodsid:
  1074. description: 现货商品ID
  1075. type: integer
  1076. deliverygoodsname:
  1077. description: 现货品种名称
  1078. type: string
  1079. enumdicname:
  1080. description: 单位名称
  1081. type: string
  1082. goodscode:
  1083. description: 点价合约
  1084. type: string
  1085. goodsname:
  1086. description: 商品名称
  1087. type: string
  1088. invoiceAmount:
  1089. description: 已开收票金额(销售为开票,采购为收票)
  1090. type: number
  1091. operateapplyid:
  1092. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1093. type: string
  1094. operateapplytype:
  1095. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1096. type: integer
  1097. pricemove:
  1098. description: 升贴水
  1099. type: number
  1100. pricetype:
  1101. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1102. type: integer
  1103. relatedid:
  1104. description: 现货合同ID
  1105. type: string
  1106. sellusername:
  1107. description: 销售方名字
  1108. type: string
  1109. userid:
  1110. description: 用户ID
  1111. type: integer
  1112. wrstandardcode:
  1113. description: 品类代码
  1114. type: string
  1115. wrstandardid:
  1116. description: 品类id
  1117. type: integer
  1118. wrstandardname:
  1119. description: 品类名称
  1120. type: string
  1121. type: object
  1122. ermcp.QryBussinessJsExRsp:
  1123. properties:
  1124. applyid:
  1125. description: 申请人
  1126. type: string
  1127. applyname:
  1128. description: 申请人名称
  1129. type: string
  1130. applystatus:
  1131. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1132. type: integer
  1133. applytime:
  1134. description: 申请时间
  1135. type: string
  1136. attachurl:
  1137. description: 附件
  1138. type: string
  1139. auditid:
  1140. description: 审核人ID
  1141. type: string
  1142. auditname:
  1143. description: 审核人名称
  1144. type: string
  1145. audittime:
  1146. description: 审核时间
  1147. type: string
  1148. buyusername:
  1149. description: 采购方名称
  1150. type: string
  1151. contractno:
  1152. description: 合同编号
  1153. type: string
  1154. contractstatus:
  1155. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1156. type: integer
  1157. contracttype:
  1158. description: 现货合同类型 - 1:采购 -1:销售
  1159. type: integer
  1160. deliverygoodscode:
  1161. description: 现货品种代码
  1162. type: string
  1163. deliverygoodsid:
  1164. description: 现货商品ID
  1165. type: integer
  1166. deliverygoodsname:
  1167. description: 现货品种名称
  1168. type: string
  1169. enumdicname:
  1170. description: 单位名称
  1171. type: string
  1172. goodscode:
  1173. description: 点价合约
  1174. type: string
  1175. goodsname:
  1176. description: 商品名称
  1177. type: string
  1178. operateapplyid:
  1179. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1180. type: string
  1181. operateapplytype:
  1182. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1183. type: integer
  1184. pricemove:
  1185. description: 升贴水
  1186. type: number
  1187. pricetype:
  1188. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1189. type: integer
  1190. reckontype:
  1191. description: 结算类型
  1192. type: string
  1193. reckonvalue:
  1194. description: 值
  1195. type: number
  1196. relatedid:
  1197. description: 现货合同ID
  1198. type: string
  1199. sellusername:
  1200. description: 销售方名字
  1201. type: string
  1202. userid:
  1203. description: 用户ID
  1204. type: integer
  1205. wrstandardcode:
  1206. description: 品类代码
  1207. type: string
  1208. wrstandardid:
  1209. description: 品类id
  1210. type: integer
  1211. wrstandardname:
  1212. description: 品类名称
  1213. type: string
  1214. type: object
  1215. ermcp.QryBussinessJsRsp:
  1216. properties:
  1217. addmargin:
  1218. description: 追加保证金(非必填)
  1219. type: number
  1220. applyid:
  1221. description: 申请人
  1222. type: string
  1223. applyname:
  1224. description: 申请人名称
  1225. type: string
  1226. applystatus:
  1227. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1228. type: integer
  1229. applytime:
  1230. description: 申请时间
  1231. type: string
  1232. attachurl:
  1233. description: 附件
  1234. type: string
  1235. auditid:
  1236. description: 审核人ID
  1237. type: string
  1238. auditname:
  1239. description: 审核人名称
  1240. type: string
  1241. audittime:
  1242. description: 审核时间
  1243. type: string
  1244. buyusername:
  1245. description: 采购方名称
  1246. type: string
  1247. contractno:
  1248. description: 合同编号
  1249. type: string
  1250. contractstatus:
  1251. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1252. type: integer
  1253. contracttype:
  1254. description: 现货合同类型 - 1:采购 -1:销售
  1255. type: integer
  1256. decmargin:
  1257. description: 减少保证金(非必填)
  1258. type: number
  1259. deliverygoodscode:
  1260. description: 现货品种代码
  1261. type: string
  1262. deliverygoodsid:
  1263. description: 现货商品ID
  1264. type: integer
  1265. deliverygoodsname:
  1266. description: 现货品种名称
  1267. type: string
  1268. enumdicname:
  1269. description: 单位名称
  1270. type: string
  1271. goodscode:
  1272. description: 点价合约
  1273. type: string
  1274. goodsname:
  1275. description: 商品名称
  1276. type: string
  1277. operateapplyid:
  1278. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1279. type: string
  1280. operateapplytype:
  1281. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1282. type: integer
  1283. pricemove:
  1284. description: 升贴水
  1285. type: number
  1286. pricetype:
  1287. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1288. type: integer
  1289. reckonadjustamount:
  1290. description: 结算调整金额(非必填)
  1291. type: number
  1292. reckonosamount:
  1293. description: 结算溢短金额(非必填)
  1294. type: number
  1295. reckonotheramount:
  1296. description: 结算其他费用(非必填)
  1297. type: number
  1298. reckonrealqty:
  1299. description: 结算实际数量(非必填)
  1300. type: number
  1301. relatedid:
  1302. description: 现货合同ID
  1303. type: string
  1304. sellusername:
  1305. description: 销售方名字
  1306. type: string
  1307. userid:
  1308. description: 用户ID
  1309. type: integer
  1310. wrstandardcode:
  1311. description: 品类代码
  1312. type: string
  1313. wrstandardid:
  1314. description: 品类id
  1315. type: integer
  1316. wrstandardname:
  1317. description: 品类名称
  1318. type: string
  1319. type: object
  1320. ermcp.QryBussinessKxRsp:
  1321. properties:
  1322. applyid:
  1323. description: 申请人
  1324. type: string
  1325. applyname:
  1326. description: 申请人名称
  1327. type: string
  1328. applystatus:
  1329. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1330. type: integer
  1331. applytime:
  1332. description: 申请时间
  1333. type: string
  1334. attachurl:
  1335. description: 附件
  1336. type: string
  1337. auditid:
  1338. description: 审核人ID
  1339. type: string
  1340. auditname:
  1341. description: 审核人名称
  1342. type: string
  1343. audittime:
  1344. description: 审核时间
  1345. type: string
  1346. buyusername:
  1347. description: 采购方名称
  1348. type: string
  1349. contractno:
  1350. description: 合同编号
  1351. type: string
  1352. contractstatus:
  1353. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1354. type: integer
  1355. contracttype:
  1356. description: 现货合同类型 - 1:采购 -1:销售
  1357. type: integer
  1358. deductamount:
  1359. description: 退款(非必填)
  1360. type: number
  1361. deliverygoodscode:
  1362. description: 现货品种代码
  1363. type: string
  1364. deliverygoodsid:
  1365. description: 现货商品ID
  1366. type: integer
  1367. deliverygoodsname:
  1368. description: 现货品种名称
  1369. type: string
  1370. enumdicname:
  1371. description: 单位名称
  1372. type: string
  1373. goodscode:
  1374. description: 点价合约
  1375. type: string
  1376. goodsname:
  1377. description: 商品名称
  1378. type: string
  1379. kxtype:
  1380. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1381. type: integer
  1382. operateapplyid:
  1383. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1384. type: string
  1385. operateapplytype:
  1386. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1387. type: integer
  1388. payamount:
  1389. description: 收付款(非必填)
  1390. type: number
  1391. pricemove:
  1392. description: 升贴水
  1393. type: number
  1394. pricetype:
  1395. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1396. type: integer
  1397. relatedid:
  1398. description: 现货合同ID
  1399. type: string
  1400. sellusername:
  1401. description: 销售方名字
  1402. type: string
  1403. userid:
  1404. description: 用户ID
  1405. type: integer
  1406. wrstandardcode:
  1407. description: 品类代码
  1408. type: string
  1409. wrstandardid:
  1410. description: 品类id
  1411. type: integer
  1412. wrstandardname:
  1413. description: 品类名称
  1414. type: string
  1415. type: object
  1416. ermcp.QryGGCovertCfgRsp:
  1417. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  1418. ermcp.QryMGChangeLogRsp:
  1419. $ref: '#/definitions/models.ErmcpMiddleGoodsChangeLog'
  1420. ermcp.QryMiddleGoodsDetailRsp:
  1421. $ref: '#/definitions/models.ErmcpMiddleGoodsDetail'
  1422. ermcp.QryMiddleGoodsRsp:
  1423. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  1424. ermcp.QryOPLogRsp:
  1425. $ref: '#/definitions/models.ErmcpOPLogModel'
  1426. ermcp.QryUserInfoRsp:
  1427. $ref: '#/definitions/models.ErmcpUserModel'
  1428. ermcp.QryWarehouseRsp:
  1429. $ref: '#/definitions/models.ErmcpWareHouseInfo'
  1430. ermcp.QueryErmcpTradePositionRsp:
  1431. properties:
  1432. agreeunit:
  1433. description: 合约单位
  1434. type: number
  1435. buyorsell:
  1436. description: 方向 - 0:买 1:卖
  1437. type: integer
  1438. curpositionqty:
  1439. description: 持仓(总仓数量, 期末头寸)
  1440. type: integer
  1441. curtdposition:
  1442. description: 今仓数量(期末今日头寸)
  1443. type: integer
  1444. curtdpositionenabled:
  1445. description: 今仓可用
  1446. type: integer
  1447. decimalplace:
  1448. description: 报价小数位
  1449. type: integer
  1450. enableqty:
  1451. description: 可用(总仓可用)
  1452. type: integer
  1453. exexchangename:
  1454. description: 外部交易所名称
  1455. type: string
  1456. goodscode:
  1457. description: 商品代码(内部)
  1458. type: string
  1459. goodsid:
  1460. description: 商品ID(自增ID SEQ_GOODS)
  1461. type: integer
  1462. goodsname:
  1463. description: 商品名称
  1464. type: string
  1465. last:
  1466. description: 现价
  1467. type: number
  1468. marketid:
  1469. description: 所属市场ID
  1470. type: integer
  1471. openaverageprice:
  1472. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  1473. type: number
  1474. opencost:
  1475. description: 开仓成本
  1476. type: number
  1477. openpl:
  1478. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向
  1479. = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  1480. type: number
  1481. outgoodscode:
  1482. description: 商品代码(外部)
  1483. type: string
  1484. positionaverageprice:
  1485. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  1486. type: number
  1487. positioncost:
  1488. description: 持仓成本
  1489. type: number
  1490. positionpl:
  1491. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向
  1492. = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  1493. type: number
  1494. positionplrate:
  1495. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  1496. type: number
  1497. usedmargin:
  1498. description: 占用保证金
  1499. type: number
  1500. type: object
  1501. ermcp.RealtimeExposurePositionRsp:
  1502. $ref: '#/definitions/models.ErmcpExposurePostion'
  1503. ermcp.RealtimeExposureRsp:
  1504. $ref: '#/definitions/models.ErmcpRealExposureModel'
  1505. erms2.QueryArbitrageStrategyRsp:
  1506. properties:
  1507. applybasis:
  1508. description: 申请基差
  1509. type: number
  1510. asapplyid:
  1511. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  1512. type: string
  1513. asname:
  1514. description: 策略名称
  1515. type: string
  1516. asno:
  1517. description: 策略编号
  1518. type: string
  1519. basischangepl:
  1520. description: 基差变动损益[结算更新]
  1521. type: number
  1522. biztype:
  1523. description: 业务类型 - 1:正向套利 -1:反向套利
  1524. type: integer
  1525. closetradedate:
  1526. description: 完结交易日(yyyyMMdd)
  1527. type: string
  1528. curbasis:
  1529. description: 当前基差[结算更新]
  1530. type: number
  1531. deliverygoodsid:
  1532. description: 现货品种ID
  1533. type: integer
  1534. futureavgprice:
  1535. description: 期货建仓均价
  1536. type: number
  1537. futurecloseamount:
  1538. description: 期货平仓金额
  1539. type: number
  1540. futurecloseqty:
  1541. description: 期货平仓数量
  1542. type: number
  1543. futureopenamount:
  1544. description: 期货开仓金额
  1545. type: number
  1546. futureopenqty:
  1547. description: 期货开仓数量
  1548. type: number
  1549. futurepl:
  1550. description: 期货总盈亏[结算更新]
  1551. type: number
  1552. futureqty:
  1553. description: 期货持仓数量
  1554. type: number
  1555. futurequote:
  1556. description: 期货额度
  1557. type: number
  1558. goodsgroupid:
  1559. description: 期货品种ID
  1560. type: integer
  1561. marketid:
  1562. description: 市场ID
  1563. type: integer
  1564. netexposure:
  1565. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  1566. type: number
  1567. netexposurepl:
  1568. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  1569. type: number
  1570. netexposurerate:
  1571. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  1572. type: number
  1573. openbasis:
  1574. description: 建仓基差
  1575. type: number
  1576. pricedspotqty:
  1577. description: 已定价现货数量
  1578. type: number
  1579. pricedspotqtynotax:
  1580. description: 已定价现货不含税数量
  1581. type: number
  1582. remark:
  1583. description: 备注
  1584. type: string
  1585. spotavgprice:
  1586. description: 现货均价
  1587. type: number
  1588. spotbuyamount:
  1589. description: 现货采购金额
  1590. type: number
  1591. spotbuyqty:
  1592. description: 现货采购数量
  1593. type: number
  1594. spotpl:
  1595. description: 现货总盈亏[结算更新]
  1596. type: number
  1597. spotquota:
  1598. description: 现货额度
  1599. type: number
  1600. spotsellamount:
  1601. description: 现货销售金额
  1602. type: number
  1603. spotsellqty:
  1604. description: 现货销售数量
  1605. type: number
  1606. spotusedquota:
  1607. description: 现货占用资金
  1608. type: number
  1609. strategystatus:
  1610. description: 策略状态 - 0:未结束 1:已结束
  1611. type: integer
  1612. totalpl:
  1613. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  1614. type: number
  1615. tradedate:
  1616. description: 交易日(yyyyMMdd)
  1617. type: string
  1618. updatetime:
  1619. description: 更新时间
  1620. type: string
  1621. usedquota:
  1622. description: 已占用资金
  1623. type: number
  1624. userid:
  1625. description: 所属机构
  1626. type: integer
  1627. required:
  1628. - asapplyid
  1629. type: object
  1630. erms2.QueryInnerTradeDetailRsp:
  1631. properties:
  1632. accountid:
  1633. description: 账号ID
  1634. type: integer
  1635. agreeunit:
  1636. description: 合约单位
  1637. type: number
  1638. asapplyid:
  1639. description: 策略申请ID
  1640. type: integer
  1641. asname:
  1642. description: 策略名称
  1643. type: string
  1644. asno:
  1645. description: 策略编号
  1646. type: string
  1647. buyorsell:
  1648. description: 方向 - 0:买 1:卖
  1649. type: integer
  1650. channelbuildtype:
  1651. description: 委托单据类型 0:无 1:建仓 2:平仓
  1652. type: integer
  1653. closetype:
  1654. description: 平仓方式 - 0:无 1:平今 2:平昨
  1655. type: integer
  1656. decimalplace:
  1657. description: 报价小数位
  1658. type: integer
  1659. detailtype:
  1660. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  1661. type: integer
  1662. exexchangecode:
  1663. description: 外部交易所代码
  1664. type: string
  1665. exexchangename:
  1666. description: 外部交易所名称
  1667. type: string
  1668. goodscode:
  1669. description: 商品代码(合约)
  1670. type: string
  1671. goodsgroupid:
  1672. description: 商品组ID(品种ID)
  1673. type: integer
  1674. goodsgroupname:
  1675. description: 商品组名称(品种)
  1676. type: string
  1677. goodsid:
  1678. description: 商品ID
  1679. type: integer
  1680. goodsname:
  1681. description: 商品名称(合约)
  1682. type: string
  1683. goodunit:
  1684. description: 报价单位
  1685. type: string
  1686. marketid:
  1687. description: 市场ID
  1688. type: integer
  1689. orderid:
  1690. description: 委托单号
  1691. type: string
  1692. outgoodscode:
  1693. description: 商品代码(外部)
  1694. type: string
  1695. relatedouttradeid:
  1696. description: 关联外部成交单ID
  1697. type: string
  1698. remark:
  1699. description: 备注
  1700. type: string
  1701. spotcontractid:
  1702. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  1703. type: integer
  1704. spotcontractno:
  1705. description: 现货合同编号
  1706. type: string
  1707. tradeid:
  1708. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  1709. type: string
  1710. tradeprice:
  1711. description: 成交价格
  1712. type: number
  1713. tradeqty:
  1714. description: 成交数量
  1715. type: integer
  1716. tradetime:
  1717. description: 成交时间
  1718. type: string
  1719. updatetime:
  1720. description: 更新时间
  1721. type: string
  1722. required:
  1723. - asapplyid
  1724. - buyorsell
  1725. - goodscode
  1726. - goodsgroupid
  1727. - goodsgroupname
  1728. - goodsname
  1729. - tradeid
  1730. type: object
  1731. erms2.QuerySpotContractRsp:
  1732. properties:
  1733. accountid:
  1734. description: 资金账户ID
  1735. type: integer
  1736. areauserid:
  1737. description: 所属机构
  1738. type: integer
  1739. closedate:
  1740. description: 终止日期
  1741. type: string
  1742. closeremark:
  1743. description: 结束备注
  1744. type: string
  1745. closetradedate:
  1746. description: 完结交易日(yyyyMMdd)
  1747. type: string
  1748. closetype:
  1749. description: 终止类型 - 1:违约 2:提前终止
  1750. type: integer
  1751. contractamount:
  1752. description: 合同金额
  1753. type: number
  1754. contractattachment:
  1755. description: 合同附件
  1756. type: string
  1757. contractno:
  1758. description: 现货合同编号
  1759. type: string
  1760. contractqty:
  1761. description: 合同数量(数值) (用于计算)
  1762. type: number
  1763. contractqtychar:
  1764. description: 合同数量\已订价数量 (用于显示)
  1765. type: string
  1766. contractstatus:
  1767. description: 合同状态 - 0:未结束 1:已结束
  1768. type: integer
  1769. contracttype:
  1770. description: 现货合同类型 - 1:采购合同 -1:销售合同
  1771. type: integer
  1772. customeraccountid:
  1773. description: 客户资金账户ID
  1774. type: integer
  1775. customeruserid:
  1776. description: 客户ID
  1777. type: integer
  1778. deliverygoodsdesc:
  1779. description: 品种说明
  1780. type: string
  1781. deliverygoodsid:
  1782. description: 现货品种ID
  1783. type: integer
  1784. handlestatus:
  1785. description: 处理状态
  1786. type: integer
  1787. invoiceatt:
  1788. description: 发票附件
  1789. type: string
  1790. invoicedatetime:
  1791. description: 开收票更新时间
  1792. type: string
  1793. invoiceopentime:
  1794. description: 开票时间
  1795. type: string
  1796. invoiceremark:
  1797. description: 发票备注
  1798. type: string
  1799. invoicestatus:
  1800. description: 开收票状态 - 0:未开票 1:已开票
  1801. type: integer
  1802. lastdate:
  1803. description: 交货时间
  1804. type: string
  1805. marketid:
  1806. description: 市场ID
  1807. type: integer
  1808. paydatetime:
  1809. description: 收付款更新时间
  1810. type: string
  1811. payremark:
  1812. description: 收付款备注
  1813. type: string
  1814. paystatus:
  1815. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  1816. type: integer
  1817. positionqty:
  1818. description: 头寸数量 - 合同数量去小数部分
  1819. type: integer
  1820. producttype:
  1821. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  1822. type: integer
  1823. relatedqty:
  1824. description: 已关联数量
  1825. type: number
  1826. relatedstatus:
  1827. description: 关联完结状态 - 0:未结束 1:已结束
  1828. type: integer
  1829. remark:
  1830. description: 备注
  1831. type: string
  1832. signdate:
  1833. description: 签订日期
  1834. type: string
  1835. spotcontractid:
  1836. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  1837. type: string
  1838. spotdatetime:
  1839. description: 收发货更新时间
  1840. type: string
  1841. spotprice:
  1842. description: 价格
  1843. type: number
  1844. spotremark:
  1845. description: 收发货备注
  1846. type: string
  1847. spotstatus:
  1848. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  1849. type: integer
  1850. tradedate:
  1851. description: 交易日(yyyyMMdd)
  1852. type: string
  1853. userid:
  1854. description: 业务员用户ID
  1855. type: integer
  1856. warehouseid:
  1857. description: 仓库ID
  1858. type: integer
  1859. wrfactortypeid:
  1860. description: 仓单要素类型ID
  1861. type: integer
  1862. wrstandardid:
  1863. description: 仓单标准ID(SEQ_WRSTANDARD)
  1864. type: integer
  1865. required:
  1866. - spotcontractid
  1867. type: object
  1868. erms3.AddErms2ASApplyReq:
  1869. properties:
  1870. applybasis:
  1871. description: 申请基差
  1872. type: number
  1873. applystatus:
  1874. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  1875. type: integer
  1876. asapplyid:
  1877. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  1878. type: integer
  1879. asname:
  1880. description: 策略名称
  1881. type: string
  1882. asno:
  1883. description: 策略编号
  1884. type: string
  1885. auditid:
  1886. description: 审核人
  1887. type: integer
  1888. auditremark:
  1889. description: 审核备注
  1890. type: string
  1891. audittime:
  1892. description: 审核时间
  1893. type: string
  1894. biztype:
  1895. description: 业务类型 - 1:正向套利 2:反向套利
  1896. type: integer
  1897. createtime:
  1898. description: 创建时间
  1899. type: string
  1900. creatorid:
  1901. description: 创建人
  1902. type: integer
  1903. deliverygoodsid:
  1904. description: 现货品种ID
  1905. type: integer
  1906. futurequote:
  1907. description: 期货额度
  1908. type: number
  1909. goodsgroupid:
  1910. description: 期货品种ID
  1911. type: integer
  1912. marketid:
  1913. description: 市场ID
  1914. type: integer
  1915. remark:
  1916. description: 备注
  1917. type: string
  1918. spotquota:
  1919. description: 现货额度
  1920. type: number
  1921. tradedate:
  1922. description: 交易日(yyyyMMdd)
  1923. type: string
  1924. userid:
  1925. description: 所属机构
  1926. type: integer
  1927. required:
  1928. - asapplyid
  1929. type: object
  1930. erms3.AddErms2SpotTradeApplyReq:
  1931. properties:
  1932. applyjsondetail:
  1933. description: 申请明细(JSON)
  1934. type: string
  1935. applystatus:
  1936. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  1937. type: integer
  1938. areauserid:
  1939. description: 所属机构
  1940. type: integer
  1941. auditid:
  1942. description: 审核人
  1943. type: integer
  1944. auditremark:
  1945. description: 审核备注
  1946. type: string
  1947. audittime:
  1948. description: 审核时间
  1949. type: string
  1950. createtime:
  1951. description: 创建时间
  1952. type: string
  1953. creatorid:
  1954. description: 创建人
  1955. type: integer
  1956. deliverygoodsid:
  1957. description: 现货品种ID
  1958. type: integer
  1959. futureaccountid:
  1960. description: 期货资金账户
  1961. type: integer
  1962. goodsgroupid:
  1963. description: 期货品种
  1964. type: integer
  1965. marketid:
  1966. description: 市场ID
  1967. type: integer
  1968. remark:
  1969. description: 备注
  1970. type: string
  1971. spotaccountid:
  1972. description: 现货资金账户
  1973. type: integer
  1974. spottradeid:
  1975. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  1976. type: integer
  1977. spottradename:
  1978. description: 业务名称
  1979. type: string
  1980. spottradeno:
  1981. description: 业务编号
  1982. type: string
  1983. tradedate:
  1984. description: 交易日(yyyyMMdd)
  1985. type: string
  1986. wrstandardid:
  1987. description: 仓单标准ID
  1988. type: integer
  1989. required:
  1990. - spottradeid
  1991. type: object
  1992. erms3.AddSpotContractApplyReq:
  1993. properties:
  1994. accountid:
  1995. description: 资金账户ID
  1996. type: integer
  1997. areauserid:
  1998. description: 所属机构
  1999. type: integer
  2000. contractattachment:
  2001. description: 合同附件
  2002. type: string
  2003. contractno:
  2004. description: 现货合同编号
  2005. type: string
  2006. contracttype:
  2007. description: 现货合同类型 - 1:采购 -1:销售
  2008. type: integer
  2009. creatorid:
  2010. description: 申请人
  2011. type: integer
  2012. customeraccountid:
  2013. description: 客户资金账户ID
  2014. type: integer
  2015. customeruserid:
  2016. description: 客户ID
  2017. type: integer
  2018. details:
  2019. description: 明细
  2020. items:
  2021. $ref: '#/definitions/erms3.SoptContractDetail'
  2022. type: array
  2023. orimargin:
  2024. description: 初始保证金
  2025. type: number
  2026. remark:
  2027. description: 备注
  2028. type: string
  2029. signdate:
  2030. description: 签订日期
  2031. type: string
  2032. required:
  2033. - accountid
  2034. - areauserid
  2035. - contractno
  2036. - contracttype
  2037. - customeraccountid
  2038. - customeruserid
  2039. - details
  2040. - orimargin
  2041. - signdate
  2042. type: object
  2043. erms3.AddSpotContractApplyRsp:
  2044. properties:
  2045. contractno:
  2046. description: 现货合同编号
  2047. type: string
  2048. spotcontractid:
  2049. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  2050. type: integer
  2051. required:
  2052. - contractno
  2053. type: object
  2054. erms3.AddUserInfoApplyReq:
  2055. properties:
  2056. accountid:
  2057. description: 交易系统帐号Id (加密存储)
  2058. type: integer
  2059. areacode:
  2060. description: 机构代码
  2061. type: string
  2062. areaid:
  2063. description: 机构Id
  2064. type: integer
  2065. attachment1:
  2066. description: 附件1
  2067. type: string
  2068. attachment2:
  2069. description: 附件2
  2070. type: string
  2071. attachment3:
  2072. description: 附件3
  2073. type: string
  2074. attachment4:
  2075. description: 附件4
  2076. type: string
  2077. attachment5:
  2078. description: 附件5
  2079. type: string
  2080. auditedby:
  2081. description: 审核人
  2082. type: string
  2083. auditime:
  2084. description: 审核时间
  2085. type: string
  2086. auditsrc:
  2087. description: 审核来源 - 1:管理端 2:终端
  2088. type: integer
  2089. bankaccount:
  2090. description: 银行帐号 (加密存储)
  2091. type: string
  2092. bankaccountname:
  2093. description: 收款人名称
  2094. type: string
  2095. bankcardbackphotourl:
  2096. description: 银行卡背面照地址
  2097. type: string
  2098. bankcardfrontphotourl:
  2099. description: 银行卡正面照地址
  2100. type: string
  2101. bankid:
  2102. description: 银行编码
  2103. type: string
  2104. bankname:
  2105. description: 银行名称
  2106. type: string
  2107. bankpictureurl:
  2108. description: 银行卡正面地址
  2109. type: string
  2110. biznature:
  2111. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2112. type: integer
  2113. bizscope:
  2114. description: 企业经营范围(企业)
  2115. type: string
  2116. biztype:
  2117. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2118. type: integer
  2119. brokerid:
  2120. description: 经纪人ID(加密存储)
  2121. type: string
  2122. cardaddress:
  2123. description: 证件地址 (加密存储)
  2124. type: string
  2125. cardbackphotourl:
  2126. description: 背面证件照地址
  2127. type: string
  2128. cardfrontphotourl:
  2129. description: 正面证件照地址
  2130. type: string
  2131. cardnum:
  2132. description: 证件号码 (加密存储)
  2133. type: string
  2134. cardtype:
  2135. description: 证件类型
  2136. type: integer
  2137. cityid:
  2138. description: 市
  2139. type: integer
  2140. company:
  2141. description: 公司(个人)
  2142. type: string
  2143. contactcardbackphotourl:
  2144. description: 联系人证件背面图片地址
  2145. type: string
  2146. contactcardfrontphotourl:
  2147. description: 联系人证件正面图片地址
  2148. type: string
  2149. contactname:
  2150. description: 联系人
  2151. type: string
  2152. countryid:
  2153. description: 国家
  2154. type: integer
  2155. createtime:
  2156. description: 开户申请时间
  2157. type: string
  2158. cusbankid:
  2159. description: 签约类型
  2160. type: string
  2161. cusbankname:
  2162. description: 签约类型名称
  2163. type: string
  2164. customername:
  2165. description: 客户名称(企业名称)
  2166. type: string
  2167. districtid:
  2168. description: 地区
  2169. type: integer
  2170. email:
  2171. description: Email地址(加密存储)
  2172. type: string
  2173. halfbodyphotourl:
  2174. description: 半身照地址
  2175. type: string
  2176. headurl:
  2177. description: 头像地址
  2178. type: string
  2179. ipaddress:
  2180. description: IP地址
  2181. type: string
  2182. isvalidate:
  2183. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  2184. type: string
  2185. legalcardbackphotourl:
  2186. description: 法人身份证背面照地址
  2187. type: string
  2188. legalcardfrontphotourl:
  2189. description: 法人身份证正面照地址
  2190. type: string
  2191. legalpersonname:
  2192. description: 法人姓名(企业)
  2193. type: string
  2194. logincode:
  2195. description: 登录帐号 (加密存储)
  2196. type: string
  2197. memberareaid:
  2198. description: 所属会员ID
  2199. type: integer
  2200. mobile2:
  2201. description: 手机号码[明文-尚志]
  2202. type: string
  2203. mobilephone:
  2204. description: 手机号码 (加密存储)
  2205. type: string
  2206. modifiedby:
  2207. description: 修改人帐号
  2208. type: integer
  2209. modifiedtime:
  2210. description: 修改时间
  2211. type: string
  2212. nickname:
  2213. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  2214. type: string
  2215. openmode:
  2216. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  2217. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  2218. type: integer
  2219. otherurl:
  2220. description: 其它图片地址[使用分号分隔]
  2221. type: string
  2222. postalcode:
  2223. description: 邮政编码
  2224. type: string
  2225. provinceid:
  2226. description: 省
  2227. type: integer
  2228. proxystatementurl:
  2229. description: 授权委托书
  2230. type: string
  2231. qq:
  2232. description: QQ(加密存储
  2233. type: string
  2234. referral:
  2235. description: 推荐人编码
  2236. type: string
  2237. remark:
  2238. description: 备注
  2239. type: string
  2240. removebeforestatus:
  2241. description: REMOVEBEFORESTATUS
  2242. type: integer
  2243. sex:
  2244. description: 性别 - 0:女 1:男
  2245. type: integer
  2246. signedstatus:
  2247. description: 账户一号签签约状态
  2248. type: integer
  2249. signpdfurl:
  2250. description: 签约pdf文件
  2251. type: string
  2252. subbranch:
  2253. description: 开户支行
  2254. type: string
  2255. taxpayernum:
  2256. description: 纳税人识别号
  2257. type: string
  2258. telphone:
  2259. description: 联系电话(加密存储)
  2260. type: string
  2261. userid:
  2262. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  2263. type: integer
  2264. userinfotype:
  2265. description: 用户信息类型 - 1:个人 2:企业
  2266. type: integer
  2267. username:
  2268. description: 用户姓名
  2269. type: string
  2270. userstate:
  2271. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2272. type: integer
  2273. usertype:
  2274. description: 用户类型 - 1:投资者 2:机构
  2275. type: integer
  2276. videourl:
  2277. description: 视频地址
  2278. type: string
  2279. wechat:
  2280. description: 微信号 (加密存储)
  2281. type: string
  2282. required:
  2283. - userid
  2284. type: object
  2285. erms3.CustomerInfo:
  2286. properties:
  2287. accountids:
  2288. description: 资金账户ID列表
  2289. items:
  2290. type: integer
  2291. type: array
  2292. customername:
  2293. description: 名称(企业名称)
  2294. type: string
  2295. mobile:
  2296. description: 手机号码
  2297. type: string
  2298. userid:
  2299. description: 用户ID
  2300. type: integer
  2301. required:
  2302. - userid
  2303. type: object
  2304. erms3.ModifyUserInfoApplyReq:
  2305. properties:
  2306. accountid:
  2307. description: 交易系统帐号Id (加密存储)
  2308. type: integer
  2309. areacode:
  2310. description: 机构代码
  2311. type: string
  2312. areaid:
  2313. description: 机构Id
  2314. type: integer
  2315. attachment1:
  2316. description: 附件1
  2317. type: string
  2318. attachment2:
  2319. description: 附件2
  2320. type: string
  2321. attachment3:
  2322. description: 附件3
  2323. type: string
  2324. attachment4:
  2325. description: 附件4
  2326. type: string
  2327. attachment5:
  2328. description: 附件5
  2329. type: string
  2330. auditedby:
  2331. description: 审核人
  2332. type: string
  2333. auditime:
  2334. description: 审核时间
  2335. type: string
  2336. auditsrc:
  2337. description: 审核来源 - 1:管理端 2:终端
  2338. type: integer
  2339. bankaccount:
  2340. description: 银行帐号 (加密存储)
  2341. type: string
  2342. bankaccountname:
  2343. description: 收款人名称
  2344. type: string
  2345. bankcardbackphotourl:
  2346. description: 银行卡背面照地址
  2347. type: string
  2348. bankcardfrontphotourl:
  2349. description: 银行卡正面照地址
  2350. type: string
  2351. bankid:
  2352. description: 银行编码
  2353. type: string
  2354. bankname:
  2355. description: 银行名称
  2356. type: string
  2357. bankpictureurl:
  2358. description: 银行卡正面地址
  2359. type: string
  2360. biznature:
  2361. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2362. type: integer
  2363. bizscope:
  2364. description: 企业经营范围(企业)
  2365. type: string
  2366. biztype:
  2367. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2368. type: integer
  2369. brokerid:
  2370. description: 经纪人ID(加密存储)
  2371. type: string
  2372. cardaddress:
  2373. description: 证件地址 (加密存储)
  2374. type: string
  2375. cardbackphotourl:
  2376. description: 背面证件照地址
  2377. type: string
  2378. cardfrontphotourl:
  2379. description: 正面证件照地址
  2380. type: string
  2381. cardnum:
  2382. description: 证件号码 (加密存储)
  2383. type: string
  2384. cardtype:
  2385. description: 证件类型
  2386. type: integer
  2387. cityid:
  2388. description: 市
  2389. type: integer
  2390. company:
  2391. description: 公司(个人)
  2392. type: string
  2393. contactcardbackphotourl:
  2394. description: 联系人证件背面图片地址
  2395. type: string
  2396. contactcardfrontphotourl:
  2397. description: 联系人证件正面图片地址
  2398. type: string
  2399. contactname:
  2400. description: 联系人
  2401. type: string
  2402. countryid:
  2403. description: 国家
  2404. type: integer
  2405. createtime:
  2406. description: 开户申请时间
  2407. type: string
  2408. cusbankid:
  2409. description: 签约类型
  2410. type: string
  2411. cusbankname:
  2412. description: 签约类型名称
  2413. type: string
  2414. customername:
  2415. description: 客户名称(企业名称)
  2416. type: string
  2417. districtid:
  2418. description: 地区
  2419. type: integer
  2420. email:
  2421. description: Email地址(加密存储)
  2422. type: string
  2423. halfbodyphotourl:
  2424. description: 半身照地址
  2425. type: string
  2426. headurl:
  2427. description: 头像地址
  2428. type: string
  2429. ipaddress:
  2430. description: IP地址
  2431. type: string
  2432. isvalidate:
  2433. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  2434. type: string
  2435. legalcardbackphotourl:
  2436. description: 法人身份证背面照地址
  2437. type: string
  2438. legalcardfrontphotourl:
  2439. description: 法人身份证正面照地址
  2440. type: string
  2441. legalpersonname:
  2442. description: 法人姓名(企业)
  2443. type: string
  2444. logincode:
  2445. description: 登录帐号 (加密存储)
  2446. type: string
  2447. memberareaid:
  2448. description: 所属会员ID
  2449. type: integer
  2450. mobile2:
  2451. description: 手机号码[明文-尚志]
  2452. type: string
  2453. mobilephone:
  2454. description: 手机号码 (加密存储)
  2455. type: string
  2456. modifiedby:
  2457. description: 修改人帐号
  2458. type: integer
  2459. modifiedtime:
  2460. description: 修改时间
  2461. type: string
  2462. nickname:
  2463. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  2464. type: string
  2465. openmode:
  2466. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  2467. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  2468. type: integer
  2469. otherurl:
  2470. description: 其它图片地址[使用分号分隔]
  2471. type: string
  2472. postalcode:
  2473. description: 邮政编码
  2474. type: string
  2475. provinceid:
  2476. description: 省
  2477. type: integer
  2478. proxystatementurl:
  2479. description: 授权委托书
  2480. type: string
  2481. qq:
  2482. description: QQ(加密存储
  2483. type: string
  2484. referral:
  2485. description: 推荐人编码
  2486. type: string
  2487. remark:
  2488. description: 备注
  2489. type: string
  2490. removebeforestatus:
  2491. description: REMOVEBEFORESTATUS
  2492. type: integer
  2493. sex:
  2494. description: 性别 - 0:女 1:男
  2495. type: integer
  2496. signedstatus:
  2497. description: 账户一号签签约状态
  2498. type: integer
  2499. signpdfurl:
  2500. description: 签约pdf文件
  2501. type: string
  2502. subbranch:
  2503. description: 开户支行
  2504. type: string
  2505. taxpayernum:
  2506. description: 纳税人识别号
  2507. type: string
  2508. telphone:
  2509. description: 联系电话(加密存储)
  2510. type: string
  2511. userid:
  2512. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  2513. type: integer
  2514. userinfotype:
  2515. description: 用户信息类型 - 1:个人 2:企业
  2516. type: integer
  2517. username:
  2518. description: 用户姓名
  2519. type: string
  2520. userstate:
  2521. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2522. type: integer
  2523. usertype:
  2524. description: 用户类型 - 1:投资者 2:机构
  2525. type: integer
  2526. videourl:
  2527. description: 视频地址
  2528. type: string
  2529. wechat:
  2530. description: 微信号 (加密存储)
  2531. type: string
  2532. required:
  2533. - userid
  2534. type: object
  2535. erms3.QryAuditContractRsp:
  2536. properties:
  2537. accountid:
  2538. description: 交易员ID
  2539. type: string
  2540. applystatus:
  2541. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2542. type: integer
  2543. curdeliveryqty:
  2544. description: 未交收量
  2545. type: integer
  2546. customername:
  2547. description: 采购方ID
  2548. type: string
  2549. deliverygoodsid:
  2550. description: 品种ID
  2551. type: string
  2552. deliveryqty:
  2553. description: 交收量
  2554. type: integer
  2555. enumdicname:
  2556. description: 单位名称
  2557. type: string
  2558. matchaccountid:
  2559. description: 业务员ID
  2560. type: string
  2561. matchcustomername:
  2562. description: 销售方ID
  2563. type: string
  2564. pricedqty:
  2565. description: 定价量
  2566. type: number
  2567. signdate:
  2568. description: 签订日期
  2569. type: string
  2570. spotcontractid:
  2571. description: 合同ID
  2572. type: string
  2573. totaldqty:
  2574. description: 合同量
  2575. type: number
  2576. unpricedqty:
  2577. description: 未定价量
  2578. type: number
  2579. wrstandardname:
  2580. description: 商品名称
  2581. type: string
  2582. required:
  2583. - matchcustomername
  2584. - spotcontractid
  2585. type: object
  2586. erms3.QryPendingBizRsp:
  2587. $ref: '#/definitions/models.PendingAuditBizModel'
  2588. erms3.QueryBusinessInfoRsp:
  2589. properties:
  2590. businessid:
  2591. description: 业务ID.
  2592. type: integer
  2593. buyamount:
  2594. description: 采购额.
  2595. type: number
  2596. buyqty:
  2597. description: 采购量.
  2598. type: string
  2599. futurepl:
  2600. description: 期货盈亏.
  2601. type: number
  2602. futureqty:
  2603. description: 期货敞口.
  2604. type: string
  2605. goodsid:
  2606. description: 商品名称/商品代码.
  2607. type: string
  2608. hedgingqty:
  2609. description: 套保量.
  2610. type: string
  2611. sellamount:
  2612. description: 销售额.
  2613. type: number
  2614. sellqty:
  2615. description: 销售量.
  2616. type: string
  2617. spotmarketvalue:
  2618. description: 现货市值.
  2619. type: number
  2620. spotpl:
  2621. description: 浮动权益.
  2622. type: number
  2623. spotqty:
  2624. description: 现货量.
  2625. type: string
  2626. statu:
  2627. description: 状态,0-未结束 1-已结束.
  2628. type: integer
  2629. totalpl:
  2630. description: 总盈亏.
  2631. type: number
  2632. totalqty:
  2633. description: 总敞口.
  2634. type: string
  2635. type:
  2636. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  2637. type: integer
  2638. type: object
  2639. erms3.QuerySpotContractAppleFormRsp:
  2640. properties:
  2641. goodses:
  2642. description: 合约列表
  2643. items:
  2644. $ref: '#/definitions/models.GoodsIDAndName'
  2645. type: array
  2646. oppositeusers:
  2647. description: 对方账号列表
  2648. items:
  2649. $ref: '#/definitions/erms3.CustomerInfo'
  2650. type: array
  2651. ouruser:
  2652. $ref: '#/definitions/erms3.CustomerInfo'
  2653. description: 我方账号
  2654. type: object
  2655. warehouseinfos:
  2656. description: 仓库信息列表
  2657. items:
  2658. $ref: '#/definitions/models.Warehouseinfo'
  2659. type: array
  2660. wrstandards:
  2661. description: 仓单标准列表
  2662. items:
  2663. $ref: '#/definitions/models.WRStandardInfo'
  2664. type: array
  2665. type: object
  2666. erms3.QuerySpotContractInfoRsp:
  2667. properties:
  2668. accountid:
  2669. description: 表示交易员ID.
  2670. type: integer
  2671. curdeliveryqty:
  2672. description: 表示未交收量.
  2673. type: number
  2674. customername:
  2675. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  2676. type: string
  2677. deliverygoodsid:
  2678. description: 表示品种ID.
  2679. type: string
  2680. deliveryqty:
  2681. description: 表示交收量.
  2682. type: number
  2683. matchaccountid:
  2684. description: 表示业务员ID.
  2685. type: integer
  2686. matchcustomername:
  2687. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  2688. type: string
  2689. priceqty:
  2690. description: 表示定价量.
  2691. type: number
  2692. relatedbizid:
  2693. description: 表示业务ID.
  2694. type: string
  2695. signdate:
  2696. description: 表示签订日期.
  2697. type: string
  2698. spotcontractid:
  2699. description: 合同ID
  2700. type: string
  2701. status:
  2702. description: 表示状态,0-履约中 1-已完成.
  2703. type: integer
  2704. totalqty:
  2705. description: 表示合同量.
  2706. type: number
  2707. unpricedqty:
  2708. description: 表示未定价量.
  2709. type: number
  2710. wrstandardname:
  2711. description: 表示商品ID.
  2712. type: string
  2713. type: object
  2714. erms3.QueryUserInfoAppliesRsp:
  2715. properties:
  2716. biznature:
  2717. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2718. type: integer
  2719. contactname:
  2720. description: 联系人
  2721. type: string
  2722. createtime:
  2723. description: 开户申请时间
  2724. type: string
  2725. userid:
  2726. description: 用户ID(自增ID)
  2727. type: integer
  2728. userinfotype:
  2729. description: 用户信息类型 - 1:个人 2:企业
  2730. type: integer
  2731. username:
  2732. description: 用户姓名
  2733. type: string
  2734. userstate:
  2735. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2736. type: integer
  2737. required:
  2738. - userid
  2739. type: object
  2740. erms3.QueryUserInfosRsp:
  2741. properties:
  2742. biznature:
  2743. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2744. type: integer
  2745. contactname:
  2746. description: 联系人
  2747. type: string
  2748. customername:
  2749. description: 客户名称(企业名称)
  2750. type: string
  2751. userid:
  2752. description: 用户ID
  2753. type: integer
  2754. userinfotype:
  2755. description: 用户信息类型 - 1:个人 2:企业
  2756. type: integer
  2757. userstatus:
  2758. description: 用户状态 - 1:正常 2:注销
  2759. type: integer
  2760. required:
  2761. - userid
  2762. type: object
  2763. erms3.SoptContractDetail:
  2764. properties:
  2765. deliverygoodsdesc:
  2766. description: 现货品种说明
  2767. type: string
  2768. deliverygoodsid:
  2769. description: 现货品种ID
  2770. type: integer
  2771. deliverygoodsname:
  2772. description: 现货品种名称
  2773. type: string
  2774. pointdesc:
  2775. description: 点价描述
  2776. type: string
  2777. producttype:
  2778. description: 产品类型 1:标准仓单 2:等标 3:非标
  2779. type: integer
  2780. producttypename:
  2781. description: 产品类型名称
  2782. type: string
  2783. spotPointOrderVoList:
  2784. description: 点价列表
  2785. items:
  2786. $ref: '#/definitions/erms3.SpotPointOrder'
  2787. type: array
  2788. spotPriceOrderList:
  2789. description: 定价列表
  2790. items:
  2791. $ref: '#/definitions/erms3.SpotPriceOrder'
  2792. type: array
  2793. unitname:
  2794. description: 单位名称
  2795. type: string
  2796. warehouseid:
  2797. description: 仓库ID
  2798. type: integer
  2799. warehousename:
  2800. description: 仓库名称
  2801. type: string
  2802. wrstandardid:
  2803. description: 交易标的ID
  2804. type: integer
  2805. wrstandardname:
  2806. description: 交易标的名称
  2807. type: string
  2808. required:
  2809. - deliverygoodsid
  2810. - producttype
  2811. - unitname
  2812. - warehouseid
  2813. - wrstandardid
  2814. - wrstandardname
  2815. type: object
  2816. erms3.SpotPointOrder:
  2817. properties:
  2818. basic:
  2819. description: 基差
  2820. type: number
  2821. deliveryenddate:
  2822. description: 交收结束日期
  2823. type: string
  2824. deliverystartdate:
  2825. description: 交收开始日期
  2826. type: string
  2827. enddate:
  2828. description: 点价结束日期
  2829. type: string
  2830. goodsid:
  2831. description: 商品ID
  2832. type: integer
  2833. goodsname:
  2834. description: 商品名称
  2835. type: string
  2836. qty:
  2837. description: 数量
  2838. type: number
  2839. startdate:
  2840. description: 点价开始日期
  2841. type: string
  2842. required:
  2843. - basic
  2844. - goodsid
  2845. - qty
  2846. type: object
  2847. erms3.SpotPriceOrder:
  2848. properties:
  2849. amount:
  2850. description: 金额
  2851. type: number
  2852. deliveryenddate:
  2853. description: 交收结束日期
  2854. type: string
  2855. deliverystartdate:
  2856. description: 交收开始日期
  2857. type: string
  2858. price:
  2859. description: 价格
  2860. type: number
  2861. qty:
  2862. description: 数量
  2863. type: number
  2864. required:
  2865. - amount
  2866. - price
  2867. - qty
  2868. type: object
  2869. hsby.GetHsbyMyCountRsp:
  2870. properties:
  2871. myCouponCount:
  2872. description: 我的优惠卷数量
  2873. type: integer
  2874. myOrderDetailListingCount:
  2875. description: 我的订单求购中数量
  2876. type: integer
  2877. myOrderDetailPreCount:
  2878. description: 我的订单抢购中数量
  2879. type: integer
  2880. myPackageUnReceiveCount:
  2881. description: 我的包裹待收货数量
  2882. type: integer
  2883. myPackageUnSendCount:
  2884. description: 我的包裹待发货数量
  2885. type: integer
  2886. myPayOrderCount:
  2887. description: 我的订单待付款数量
  2888. type: integer
  2889. type: object
  2890. hsby.QueryProvincesAndCitiesRsp:
  2891. properties:
  2892. cities:
  2893. description: 市
  2894. items:
  2895. $ref: '#/definitions/models.Division'
  2896. type: array
  2897. province:
  2898. $ref: '#/definitions/models.Division'
  2899. description: 省
  2900. type: object
  2901. type: object
  2902. models.AreaSpotModel:
  2903. properties:
  2904. areauserid:
  2905. description: 所属机构
  2906. type: integer
  2907. decreaseqty:
  2908. description: 减少数量=-(销售已定价数量+采购计划数量)
  2909. type: number
  2910. increaseqty:
  2911. description: 增加数量=销售计划数量+采购已定价数量
  2912. type: number
  2913. oritoalspotqty:
  2914. description: 昨日数量
  2915. type: number
  2916. totalspotqty:
  2917. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  2918. type: number
  2919. updatetime:
  2920. description: 更新时间
  2921. type: string
  2922. wrstandardcode:
  2923. description: 现货品种代码
  2924. type: string
  2925. wrstandardid:
  2926. description: 现货商品ID
  2927. type: integer
  2928. wrstandardname:
  2929. description: 现货品种
  2930. type: string
  2931. type: object
  2932. models.Arearole:
  2933. properties:
  2934. createtime:
  2935. description: 创建时间
  2936. type: string
  2937. creatorid:
  2938. description: 创建人ID
  2939. type: integer
  2940. isreturnscore:
  2941. description: 是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还
  2942. type: integer
  2943. modifierid:
  2944. description: 修改人ID
  2945. type: integer
  2946. modifytime:
  2947. description: 修改时间
  2948. type: string
  2949. orgtype:
  2950. description: 组织机构类型 1:机构 2:交易员
  2951. type: integer
  2952. outuserid:
  2953. description: 外部账户[场外期权做市商]
  2954. type: string
  2955. parentuserid:
  2956. description: 上级组织机构(组织机构)
  2957. type: integer
  2958. roletype:
  2959. description: 角色类型 - 1:交易所 2:运营机构 3:营销中心 4:仓库机构 5:三方服务机构 6:自营会员 7:经纪会员 8:做市会员
  2960. 9:产业会员 10:金融机构 11:商城店铺 12:子机构 13:报价商 14:积分服务商 15:供货商 16:圈内会员 17:物流机构 18:报价配置机构
  2961. 19:场外期权做市商 20:组织机构 21:顶级机构 22:业务员 23:跟单员 24:交易员
  2962. type: integer
  2963. rootuserid:
  2964. description: 顶级组织机构用户ID(组织机构)
  2965. type: integer
  2966. shoppassword:
  2967. description: 商城店铺登陆密码(商城店铺角色使用)
  2968. type: string
  2969. sublevelpath:
  2970. description: 组织机构层级路径(逗号分隔,首尾加逗号)
  2971. type: string
  2972. tradeaccountid:
  2973. description: 默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount
  2974. type: integer
  2975. transurl:
  2976. description: 物流地址(物流机构)
  2977. type: string
  2978. userid:
  2979. description: 机构用户ID其他做市关系,都设置为 1
  2980. type: integer
  2981. required:
  2982. - roletype
  2983. - userid
  2984. type: object
  2985. models.Clientfixedadconfig:
  2986. properties:
  2987. adsort:
  2988. description: 排序
  2989. type: integer
  2990. adtype:
  2991. description: 广告位类型 - 1:新品抢购(HSBY)
  2992. type: integer
  2993. areauserid:
  2994. description: 所属机构ID
  2995. type: integer
  2996. createdate:
  2997. description: 创建时间
  2998. type: string
  2999. creatorid:
  3000. description: 创建人
  3001. type: integer
  3002. imagepath:
  3003. description: 图片
  3004. type: string
  3005. isshow:
  3006. description: 是否展示 - 0:不展示 1:展示
  3007. type: integer
  3008. modifierid:
  3009. description: 操作人
  3010. type: integer
  3011. recsize:
  3012. description: 推荐尺寸
  3013. type: string
  3014. title:
  3015. description: 标题
  3016. type: string
  3017. updatedate:
  3018. description: 更新时间
  3019. type: string
  3020. urlcontent:
  3021. description: 链接(地址或商品ID)
  3022. type: string
  3023. urltype:
  3024. description: 链接类型 - 1:直接地址 2:商品ID
  3025. type: integer
  3026. required:
  3027. - adsort
  3028. - adtype
  3029. type: object
  3030. models.Division:
  3031. properties:
  3032. autoid:
  3033. description: 自增ID
  3034. type: integer
  3035. divisioncode:
  3036. description: 行政代码
  3037. type: string
  3038. divisionlevel:
  3039. description: 行政级别
  3040. type: string
  3041. divisionname:
  3042. description: 行政名称
  3043. type: string
  3044. modifierid:
  3045. description: 修改人
  3046. type: integer
  3047. modifytime:
  3048. description: 修改时间
  3049. type: string
  3050. parentcode:
  3051. description: 上级行政代码
  3052. type: string
  3053. pathname:
  3054. description: 路径名称
  3055. type: string
  3056. postcode:
  3057. description: 邮政编码
  3058. type: string
  3059. separablename:
  3060. description: 可拆分的全称
  3061. type: string
  3062. shortcode:
  3063. description: 地区简码
  3064. type: string
  3065. required:
  3066. - autoid
  3067. - divisioncode
  3068. type: object
  3069. models.Enumdicitem:
  3070. properties:
  3071. autoid:
  3072. description: 自增ID
  3073. type: integer
  3074. bankmappedvalue:
  3075. description: 银行服务对应值
  3076. type: string
  3077. enumdiccode:
  3078. description: 所属枚举代码
  3079. type: string
  3080. enumdicid:
  3081. description: 所属枚举ID
  3082. type: integer
  3083. enumdicname:
  3084. description: 枚举项名称
  3085. type: string
  3086. enumitemname:
  3087. description: 枚举项值
  3088. type: integer
  3089. enumitemstatus:
  3090. description: 枚举项状态 - 1.启用 2.不启用
  3091. type: integer
  3092. enumitemvalue:
  3093. description: 通用值 - [币种通用简写]
  3094. type: string
  3095. param1:
  3096. description: 参数1[币种:币种小数位]
  3097. type: string
  3098. param2:
  3099. description: 参数1[币种:币种显示单位]
  3100. type: string
  3101. remark:
  3102. description: 备注
  3103. type: string
  3104. required:
  3105. - autoid
  3106. - enumdiccode
  3107. - enumdicid
  3108. - enumitemname
  3109. type: object
  3110. models.Ermcp3AreaSpot:
  3111. properties:
  3112. areauserid:
  3113. description: 所属机构
  3114. type: integer
  3115. decreaseqty:
  3116. description: 减少数量=-(销售已定价数量+采购计划数量)
  3117. type: number
  3118. deliverygoodscode:
  3119. description: 现货品种代码
  3120. type: string
  3121. deliverygoodsid:
  3122. description: 现货品种id
  3123. type: integer
  3124. deliverygoodsname:
  3125. description: 现货品种名称
  3126. type: string
  3127. enumdicname:
  3128. description: 单位名称
  3129. type: string
  3130. goodsunitid:
  3131. description: 现货品种单位id
  3132. type: integer
  3133. increaseqty:
  3134. description: 增加数量=销售计划数量+采购已定价数量
  3135. type: number
  3136. oritoalspotqty:
  3137. description: 昨日数量
  3138. type: number
  3139. totalspotqty:
  3140. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  3141. type: number
  3142. updatetime:
  3143. description: 更新时间
  3144. type: string
  3145. type: object
  3146. models.Ermcp3AreaSpotDetail:
  3147. properties:
  3148. contracttype:
  3149. description: 合同类型 1-采购 -1-销售
  3150. type: integer
  3151. createtime:
  3152. description: 创建时间
  3153. type: string
  3154. deliverygoodscode:
  3155. description: 现货品种代码
  3156. type: string
  3157. deliverygoodsid:
  3158. description: 现货品种id
  3159. type: integer
  3160. deliverygoodsname:
  3161. description: 现货品种名称
  3162. type: string
  3163. enumdicname:
  3164. description: 现货商品单位名称
  3165. type: string
  3166. logtype:
  3167. description: 记录类型 1-套保 2-现货合同
  3168. type: integer
  3169. qty:
  3170. description: 数量
  3171. type: number
  3172. recordname:
  3173. description: 类型名称
  3174. type: string
  3175. relatedid:
  3176. description: 套保计划ID/现货合同ID
  3177. type: string
  3178. relatedno:
  3179. description: 编号
  3180. type: string
  3181. strtime:
  3182. description: 时间
  3183. type: string
  3184. type: object
  3185. models.Ermcp3AreaSpotPLReport:
  3186. properties:
  3187. accountid:
  3188. description: 期货账户ID (作废, 默认为0)
  3189. type: integer
  3190. accountname:
  3191. description: 机构名称
  3192. type: string
  3193. actualpl:
  3194. description: 现货损益
  3195. type: number
  3196. areauserid:
  3197. description: 所属机构\交易用户ID
  3198. type: integer
  3199. begindate:
  3200. description: 开始交易日
  3201. type: string
  3202. biztype:
  3203. description: 业务类型 - 1:套保 2:套利
  3204. type: integer
  3205. brandname:
  3206. description: 品牌名称
  3207. type: string
  3208. curamount:
  3209. description: 期末额
  3210. type: number
  3211. curaverageprice:
  3212. description: 期末均价
  3213. type: number
  3214. curbuyamount:
  3215. description: 期末采购总额
  3216. type: number
  3217. curbuyqty:
  3218. description: 期末采购总量
  3219. type: number
  3220. curmarketvalue:
  3221. description: 参考市值(期末市值)
  3222. type: number
  3223. curqty:
  3224. description: 期末量
  3225. type: number
  3226. currencyid:
  3227. description: 结算币种ID【原值】
  3228. type: integer
  3229. currencyname:
  3230. description: 币种名称
  3231. type: string
  3232. cursellamount:
  3233. description: 期末销售总额
  3234. type: number
  3235. cursellqty:
  3236. description: 期末销售总量
  3237. type: number
  3238. curspotprice:
  3239. description: 参考市价(最新价)
  3240. type: number
  3241. cycletime:
  3242. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  3243. type: string
  3244. cycletype:
  3245. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  3246. type: integer
  3247. deliverygoodscode:
  3248. description: 现货商品代码
  3249. type: string
  3250. deliverygoodsid:
  3251. description: 现货品种ID
  3252. type: integer
  3253. deliverygoodsname:
  3254. description: 现货商品名称
  3255. type: string
  3256. enddate:
  3257. description: 结束交易日
  3258. type: string
  3259. enumdicname:
  3260. description: 现货商品单位名称
  3261. type: string
  3262. floatpl:
  3263. description: 浮动损益
  3264. type: number
  3265. goodsunitid:
  3266. description: 现货商品单位id
  3267. type: integer
  3268. oriamount:
  3269. description: 期初额
  3270. type: number
  3271. oriaverageprice:
  3272. description: 期初均价
  3273. type: number
  3274. oribuyamount:
  3275. description: 期初采购总额
  3276. type: number
  3277. oribuyqty:
  3278. description: 期初采购总量
  3279. type: number
  3280. oriqty:
  3281. description: 期初量
  3282. type: number
  3283. orisellamount:
  3284. description: 期初销售总额
  3285. type: number
  3286. orisellqty:
  3287. description: 期初销售总量
  3288. type: number
  3289. reckondate:
  3290. description: 日照时期(yyyyMMdd)
  3291. type: string
  3292. spotgoodsbrandid:
  3293. description: 现货品牌ID
  3294. type: integer
  3295. todaybuyamount:
  3296. description: 今日采购额(今采购额)
  3297. type: number
  3298. todaybuyaverageprice:
  3299. description: 今日采购均价
  3300. type: number
  3301. todaybuyqty:
  3302. description: 今日采购量(今采购量)
  3303. type: number
  3304. todayinqty:
  3305. description: 今日入库量(今入库量)
  3306. type: number
  3307. todayoutqty:
  3308. description: 今日出库量(今出库量)
  3309. type: number
  3310. todaysellamount:
  3311. description: 今日销售额(今销售额)
  3312. type: number
  3313. todaysellaverageprice:
  3314. description: 今日销售均价
  3315. type: number
  3316. todaysellqty:
  3317. description: 今日销售量(今销售量)
  3318. type: number
  3319. unitid:
  3320. description: 品类单位id
  3321. type: integer
  3322. unitidname:
  3323. description: 品类单位名称
  3324. type: string
  3325. updatetime:
  3326. description: 更新时间
  3327. type: string
  3328. wrfactortypeid:
  3329. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  3330. type: integer
  3331. wrstandardcode:
  3332. description: 品类代码
  3333. type: string
  3334. wrstandardid:
  3335. description: 现货品类ID
  3336. type: integer
  3337. wrstandardname:
  3338. description: 品类名称
  3339. type: string
  3340. type: object
  3341. models.Ermcp3AreaStock:
  3342. properties:
  3343. brandname:
  3344. description: 品牌名称
  3345. type: string
  3346. curstock:
  3347. description: 期末库存量(今日量)
  3348. type: number
  3349. deliverygoodscode:
  3350. description: 现货品种代码
  3351. type: string
  3352. deliverygoodsid:
  3353. description: 现货品种id
  3354. type: integer
  3355. deliverygoodsname:
  3356. description: 现货品种名称
  3357. type: string
  3358. enumdicname:
  3359. description: 单位名称
  3360. type: string
  3361. goodsunitid:
  3362. description: 现货商品单位id
  3363. type: integer
  3364. oristock:
  3365. description: 期初库存量(昨日量)
  3366. type: number
  3367. spotgoodsbrandid:
  3368. description: 现货品牌ID
  3369. type: integer
  3370. todaybuyinqty:
  3371. description: 今日采购入库量
  3372. type: number
  3373. todayproduceinqty:
  3374. description: 今日生产入库量
  3375. type: number
  3376. todayproduceoutqty:
  3377. description: 今日生产出库量
  3378. type: number
  3379. todayselloutqty:
  3380. description: 今日销售出库量
  3381. type: number
  3382. unitid:
  3383. description: 单位id
  3384. type: integer
  3385. updatetime:
  3386. description: 更新时间
  3387. type: string
  3388. userid:
  3389. description: 机构ID
  3390. type: integer
  3391. username:
  3392. description: 机构名称
  3393. type: string
  3394. warehousecode:
  3395. description: 仓库代码
  3396. type: string
  3397. warehouseinfoid:
  3398. description: 仓库ID
  3399. type: string
  3400. warehousename:
  3401. description: 仓库名称
  3402. type: string
  3403. warehousetype:
  3404. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3405. type: integer
  3406. wrstandardcode:
  3407. description: 品类代码
  3408. type: string
  3409. wrstandardid:
  3410. description: 品类ID
  3411. type: string
  3412. wrstandardname:
  3413. description: 品类名称
  3414. type: string
  3415. required:
  3416. - userid
  3417. type: object
  3418. models.Ermcp3AreaStockApply:
  3419. properties:
  3420. applyid:
  3421. description: 申请人
  3422. type: integer
  3423. applyname:
  3424. description: 申请人名称
  3425. type: string
  3426. applyremark:
  3427. description: 申请备注
  3428. type: string
  3429. applysrc:
  3430. description: 申请来源 - 1:管理端 2:终端
  3431. type: integer
  3432. applystatus:
  3433. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  3434. type: integer
  3435. applytime:
  3436. description: 申请时间
  3437. type: string
  3438. auditid:
  3439. description: 审核人
  3440. type: integer
  3441. auditname:
  3442. description: 审核人名称
  3443. type: string
  3444. auditremark:
  3445. description: 审核备注
  3446. type: string
  3447. auditsrc:
  3448. description: 审核来源 - 1:管理端 2:终端
  3449. type: integer
  3450. audittime:
  3451. description: 审核时间
  3452. type: string
  3453. audittradedate:
  3454. description: 审核交易日(yyyyMMdd)
  3455. type: string
  3456. brandname:
  3457. description: 品牌名称
  3458. type: string
  3459. buynickname:
  3460. description: 采购方昵称
  3461. type: string
  3462. buyuserid:
  3463. description: 采购方userid
  3464. type: integer
  3465. buyusername:
  3466. description: 采购方名称
  3467. type: string
  3468. contractno:
  3469. description: 合同编号
  3470. type: string
  3471. contractqty:
  3472. description: 合同量
  3473. type: number
  3474. contracttype:
  3475. description: 现货合同类型 - 1:采购 -1:销售
  3476. type: integer
  3477. deliverygoodscode:
  3478. description: 现货品种代码
  3479. type: string
  3480. deliverygoodsid:
  3481. description: 现货品种id
  3482. type: integer
  3483. deliverygoodsname:
  3484. description: 现货品种名称
  3485. type: string
  3486. detailjson:
  3487. description: 明细数据
  3488. type: string
  3489. enumdicname:
  3490. description: 现货商品单位名称
  3491. type: string
  3492. inoutapplyid:
  3493. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  3494. type: string
  3495. inouttype:
  3496. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  3497. type: integer
  3498. pricetype:
  3499. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  3500. type: integer
  3501. qty:
  3502. description: 数量
  3503. type: number
  3504. sellnickname:
  3505. description: 销售方昵称
  3506. type: string
  3507. selluserid:
  3508. description: 销售方userid
  3509. type: integer
  3510. sellusername:
  3511. description: 销售方名称
  3512. type: string
  3513. spotcontractid:
  3514. description: 关联现货合同ID
  3515. type: string
  3516. spotgoodsbrandid:
  3517. description: 现货品牌ID
  3518. type: integer
  3519. unitid:
  3520. description: 单位id
  3521. type: integer
  3522. userid:
  3523. description: 机构ID
  3524. type: integer
  3525. warehousecode:
  3526. description: 仓库代码
  3527. type: string
  3528. warehouseinfoid:
  3529. description: 现货仓库ID
  3530. type: string
  3531. warehousename:
  3532. description: 仓库名称
  3533. type: string
  3534. warehousetype:
  3535. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3536. type: integer
  3537. wrstandardcode:
  3538. description: 品类代码
  3539. type: string
  3540. wrstandardid:
  3541. description: 品类ID
  3542. type: integer
  3543. wrstandardname:
  3544. description: 品类名称
  3545. type: string
  3546. type: object
  3547. models.Ermcp3AreaStockApplySum:
  3548. properties:
  3549. brandname:
  3550. description: 品牌名称
  3551. type: string
  3552. inouttype:
  3553. description: 出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  3554. type: integer
  3555. spotcontractid:
  3556. description: 关联现货合同ID
  3557. type: string
  3558. spotgoodsbrandid:
  3559. description: 品牌id
  3560. type: integer
  3561. totalqty:
  3562. description: 总数量
  3563. type: number
  3564. wrstandardid:
  3565. description: 品类id
  3566. type: integer
  3567. wrstandardname:
  3568. description: 品类名称
  3569. type: string
  3570. type: object
  3571. models.Ermcp3AreaStockReportEx:
  3572. properties:
  3573. begindate:
  3574. description: 开始交易日
  3575. type: string
  3576. brandname:
  3577. description: 品牌名称
  3578. type: string
  3579. curstock:
  3580. description: 期末库存量
  3581. type: number
  3582. cycletime:
  3583. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  3584. type: string
  3585. cycletype:
  3586. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  3587. type: integer
  3588. deliverygoodscode:
  3589. description: 现货品种代码
  3590. type: string
  3591. deliverygoodsid:
  3592. description: 现货品种id
  3593. type: integer
  3594. deliverygoodsname:
  3595. description: 现货品种名称
  3596. type: string
  3597. diffqty:
  3598. description: 库存变化量 = 期末 - 期初
  3599. type: number
  3600. enddate:
  3601. description: 结束交易日
  3602. type: string
  3603. enumdicname:
  3604. description: 单位名称
  3605. type: string
  3606. goodsunitid:
  3607. description: 现货单位id
  3608. type: integer
  3609. oristock:
  3610. description: 期初库存量
  3611. type: number
  3612. reckondate:
  3613. description: 日照时期(yyyyMMdd)
  3614. type: string
  3615. spotgoodsbrandid:
  3616. description: 现货品牌ID
  3617. type: integer
  3618. todaybuyinqty:
  3619. description: 今采购入库量
  3620. type: number
  3621. todayproduceinqty:
  3622. description: 今内部入库量
  3623. type: number
  3624. todayproduceoutqty:
  3625. description: 今内部出库量
  3626. type: number
  3627. todayselloutqty:
  3628. description: 今销售出库量
  3629. type: number
  3630. unbuyinqty:
  3631. description: 采购未入库量(数据库未找到相关字段?)
  3632. type: number
  3633. unitid:
  3634. description: 品类单位id
  3635. type: integer
  3636. unselloutqty:
  3637. description: 销售未出库量(数据库未找到相关字段?)
  3638. type: number
  3639. updatetime:
  3640. description: 更新时间
  3641. type: string
  3642. userid:
  3643. description: 机构ID
  3644. type: integer
  3645. username:
  3646. description: 机构名称
  3647. type: string
  3648. warehousecode:
  3649. description: 仓库代码
  3650. type: string
  3651. warehouseinfoid:
  3652. description: 仓库ID
  3653. type: string
  3654. warehousename:
  3655. description: 仓库名称
  3656. type: string
  3657. warehousetype:
  3658. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3659. type: integer
  3660. wrstandardcode:
  3661. description: 品类代码
  3662. type: string
  3663. wrstandardid:
  3664. description: 品类ID
  3665. type: integer
  3666. wrstandardname:
  3667. description: 品类名称
  3668. type: string
  3669. type: object
  3670. models.Ermcp3ArealSumPL:
  3671. properties:
  3672. areauserid:
  3673. description: 所属机构\交易用户ID
  3674. type: integer
  3675. begindate:
  3676. description: 开始交易日
  3677. type: string
  3678. currencyid:
  3679. description: 结算币种ID
  3680. type: integer
  3681. currencyname:
  3682. description: 币种名称
  3683. type: string
  3684. cycletime:
  3685. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  3686. type: string
  3687. cycletype:
  3688. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  3689. type: integer
  3690. enddate:
  3691. description: 结束交易日
  3692. type: string
  3693. enumdicname:
  3694. description: 单位名称(套保品种)
  3695. type: string
  3696. futureactualpl:
  3697. description: 期货损益
  3698. type: number
  3699. futurefloatpl:
  3700. description: 期货浮动损益
  3701. type: number
  3702. goodsunitid:
  3703. description: 套保品种单位id
  3704. type: integer
  3705. middlegoodscode:
  3706. description: 套保品种代码
  3707. type: string
  3708. middlegoodsid:
  3709. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  3710. type: integer
  3711. middlegoodsname:
  3712. description: 套保品种名称
  3713. type: string
  3714. reckondate:
  3715. description: 日照时期(yyyyMMdd)
  3716. type: string
  3717. spotactualpl:
  3718. description: 现货损益
  3719. type: number
  3720. spotfloatpl:
  3721. description: 现货浮动损益
  3722. type: number
  3723. sumactualpl:
  3724. description: 实际损益 = (ActualPL + FutureActualPL)
  3725. type: number
  3726. sumpl:
  3727. description: 汇总损益
  3728. type: number
  3729. updatetime:
  3730. description: 更新时间
  3731. type: string
  3732. type: object
  3733. models.Ermcp3Brand:
  3734. properties:
  3735. areauserid:
  3736. description: 用户id
  3737. type: integer
  3738. brandid:
  3739. description: 品牌id
  3740. type: integer
  3741. brandname:
  3742. description: 品牌名称
  3743. type: string
  3744. deliverygoodsid:
  3745. description: 品种ID
  3746. type: integer
  3747. type: object
  3748. models.Ermcp3Contract:
  3749. properties:
  3750. accountid:
  3751. description: 期货账户id
  3752. type: string
  3753. amount:
  3754. description: 金额 [1:一口价、3:暂定价]
  3755. type: number
  3756. attachment:
  3757. description: 附件
  3758. type: string
  3759. auditremark:
  3760. description: 审核意见
  3761. type: string
  3762. audittime:
  3763. description: 审核时间
  3764. type: string
  3765. biztype:
  3766. description: 业务类型 1-套保 2-套利
  3767. type: integer
  3768. brandname:
  3769. description: 品牌名称
  3770. type: string
  3771. buynickname:
  3772. description: 销售方昵称
  3773. type: string
  3774. buyuserid:
  3775. description: 采购方ID
  3776. type: integer
  3777. buyusername:
  3778. description: 采购方名称
  3779. type: string
  3780. contracctstatus:
  3781. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  3782. type: integer
  3783. contractmargin:
  3784. description: 合同保证金
  3785. type: number
  3786. contractno:
  3787. description: 现货合同编号
  3788. type: string
  3789. contracttype:
  3790. description: 现货合同类型 - 1:采购 -1:销售
  3791. type: integer
  3792. convertfactor:
  3793. description: 标仓系数(品类)
  3794. type: number
  3795. createtime:
  3796. description: 创建时间
  3797. type: string
  3798. currencyid:
  3799. description: 币种id
  3800. type: integer
  3801. currencyname:
  3802. description: 币种名称
  3803. type: string
  3804. deliveryenddate:
  3805. description: 交收期(结束)
  3806. type: string
  3807. deliverygoodscode:
  3808. description: 现货品种代码
  3809. type: string
  3810. deliverygoodsid:
  3811. description: 现货品种ID
  3812. type: integer
  3813. deliverygoodsname:
  3814. description: 现货品种名称
  3815. type: string
  3816. deliverystartdate:
  3817. description: 交收期(开始)
  3818. type: string
  3819. enddate:
  3820. description: 点价结束日期 [2:点价 3:暂定价]
  3821. type: string
  3822. enumdicname:
  3823. description: 单位名称
  3824. type: string
  3825. goodscode:
  3826. description: 点价合约代码
  3827. type: string
  3828. goodsid:
  3829. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  3830. type: integer
  3831. goodsname:
  3832. description: 点价商品名称
  3833. type: string
  3834. margin:
  3835. description: 当前保证金
  3836. type: number
  3837. meruserid:
  3838. description: 跟单员id
  3839. type: integer
  3840. meruserlogincode:
  3841. description: 跟单员登录代码
  3842. type: string
  3843. price:
  3844. description: 价格\暂定价 [1:一口价、3:暂定价]
  3845. type: number
  3846. pricemove:
  3847. description: 升贴水 [2:点价 3:暂定价]
  3848. type: number
  3849. pricetype:
  3850. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  3851. type: integer
  3852. producttype:
  3853. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  3854. type: integer
  3855. qty:
  3856. description: 数量
  3857. type: number
  3858. remark:
  3859. description: 备注
  3860. type: string
  3861. saleuserid:
  3862. description: 业务员id
  3863. type: integer
  3864. saleuserlogincode:
  3865. description: 业务员登录代码
  3866. type: string
  3867. sellnickname:
  3868. description: 采购方昵称
  3869. type: string
  3870. selluserid:
  3871. description: 销售方ID
  3872. type: integer
  3873. sellusername:
  3874. description: 销售方名称
  3875. type: string
  3876. spotcontractid:
  3877. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  3878. type: string
  3879. spotgoodsbrandid:
  3880. description: 现货品牌ID(DGFactoryItem表的ID)
  3881. type: integer
  3882. spotgoodsdesc:
  3883. description: 商品型号
  3884. type: string
  3885. startdate:
  3886. description: 点价开始日期 [2:点价 3:暂定价]
  3887. type: string
  3888. tradeuserid:
  3889. description: 交易员id
  3890. type: integer
  3891. tradeuserlogincode:
  3892. description: 交易员登录代码
  3893. type: string
  3894. tradeusername:
  3895. description: 交易员名称
  3896. type: string
  3897. unitid:
  3898. description: 单位id(取品类上的单位id)
  3899. type: integer
  3900. updatetime:
  3901. description: 更新时间
  3902. type: string
  3903. userid:
  3904. description: 所属机构ID
  3905. type: integer
  3906. wrstandardcode:
  3907. description: 品类代码
  3908. type: string
  3909. wrstandardid:
  3910. description: 品类ID
  3911. type: integer
  3912. wrstandardname:
  3913. description: 品类名称
  3914. type: string
  3915. type: object
  3916. models.Ermcp3ExposureContractDetail:
  3917. properties:
  3918. biztype:
  3919. description: 业务类型 1-套保 2-套利
  3920. type: integer
  3921. brandname:
  3922. description: 品牌名称
  3923. type: string
  3924. buyuserid:
  3925. description: 采购方id
  3926. type: integer
  3927. buyusername:
  3928. description: 采购方名称
  3929. type: string
  3930. contractno:
  3931. description: 合同编号
  3932. type: string
  3933. contracttype:
  3934. description: 现货合同类型 - 1:采购 -1:销售
  3935. type: integer
  3936. convertratio:
  3937. description: 折算系数(套保品种)
  3938. type: number
  3939. curqty:
  3940. description: 今定价量
  3941. type: number
  3942. deliverygoodscode:
  3943. description: 现货商品代码
  3944. type: string
  3945. deliverygoodsid:
  3946. description: 现货商品id
  3947. type: integer
  3948. deliverygoodsname:
  3949. description: 现货商品名称
  3950. type: string
  3951. diffqty:
  3952. description: 套保品种今变动量
  3953. type: number
  3954. enumdicname:
  3955. description: 单位名称
  3956. type: string
  3957. middlegoodscode:
  3958. description: 套保品种代码
  3959. type: string
  3960. middlegoodsid:
  3961. description: 套保品种id
  3962. type: integer
  3963. middlegoodsname:
  3964. description: 套保品种名称
  3965. type: string
  3966. needarbitrageratio:
  3967. description: 应套利比例
  3968. type: number
  3969. needhedgeratio:
  3970. description: 应套保比例
  3971. type: number
  3972. pricedqty:
  3973. description: 已定价量
  3974. type: number
  3975. qty:
  3976. description: 合同量
  3977. type: number
  3978. selluserid:
  3979. description: 销售方id
  3980. type: integer
  3981. sellusername:
  3982. description: 销售方名称
  3983. type: string
  3984. spotcontractid:
  3985. description: 合同id
  3986. type: string
  3987. tradedate:
  3988. description: 交易日
  3989. type: string
  3990. unitid:
  3991. description: 品类单位id
  3992. type: integer
  3993. userid:
  3994. description: 机构id
  3995. type: integer
  3996. wrstandardcode:
  3997. description: 品类代码
  3998. type: string
  3999. wrstandardid:
  4000. description: 品类id
  4001. type: integer
  4002. wrstandardname:
  4003. description: 品类名称
  4004. type: string
  4005. type: object
  4006. models.Ermcp3ExposureDetail:
  4007. properties:
  4008. areauserid:
  4009. description: 机构ID
  4010. type: integer
  4011. changeQty:
  4012. description: 套保变动量
  4013. type: number
  4014. contracttype:
  4015. description: 现货合同类型 - 1:采购 -1:销售
  4016. type: integer
  4017. convertfactor:
  4018. description: 标仓系数
  4019. type: number
  4020. convertratio:
  4021. description: 套保系数
  4022. type: number
  4023. createtime:
  4024. description: 时间
  4025. type: string
  4026. deliverygoodscode:
  4027. description: 现货品种代码
  4028. type: string
  4029. deliverygoodsid:
  4030. description: 现货品种id
  4031. type: integer
  4032. deliverygoodsname:
  4033. description: 现货品种名称
  4034. type: string
  4035. enumdicname:
  4036. description: 现货商品单位名称
  4037. type: string
  4038. logtype:
  4039. description: 类型 - 1:套保计划 2:现货合同
  4040. type: integer
  4041. mgunitid:
  4042. description: 套保品种单位id
  4043. type: integer
  4044. mgunitidname:
  4045. description: 套保品种单位名称
  4046. type: string
  4047. middlegoodsId:
  4048. description: 套保商品id
  4049. type: integer
  4050. middlegoodscode:
  4051. description: 套保商品代码
  4052. type: string
  4053. middlegoodsname:
  4054. description: 套保商品名称
  4055. type: string
  4056. qty:
  4057. description: 数量
  4058. type: number
  4059. relateNo:
  4060. description: 现货合同/套保计划编号
  4061. type: string
  4062. type: object
  4063. models.Ermcp3ExposureHedgeplanDetail:
  4064. properties:
  4065. biztype:
  4066. description: 业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利
  4067. type: integer
  4068. changqty:
  4069. description: 应套保总量变化量
  4070. type: number
  4071. contracttype:
  4072. description: 计划类型 - 1:采购 -1:销售
  4073. type: integer
  4074. convertratio:
  4075. description: 折算系数(套保品种)
  4076. type: number
  4077. deliverygoodscode:
  4078. description: 现货商品代码
  4079. type: string
  4080. deliverygoodsid:
  4081. description: 现货商品id
  4082. type: integer
  4083. deliverygoodsname:
  4084. description: 现货商吕名称
  4085. type: string
  4086. dgunitid:
  4087. description: 现货商品单位id
  4088. type: integer
  4089. dgunitidname:
  4090. description: 单位名称(现货商品)
  4091. type: string
  4092. diffqty:
  4093. description: 套保品种今变动量
  4094. type: number
  4095. enumdicname:
  4096. description: 单位名称(品类)
  4097. type: string
  4098. hedgeplanid:
  4099. description: 套保计划id
  4100. type: string
  4101. hedgeplanno:
  4102. description: 套保计划编号
  4103. type: string
  4104. hedgeplanstatus:
  4105. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4106. type: integer
  4107. mgunitidname:
  4108. description: 单位名称(套保商品)
  4109. type: string
  4110. middlegoodscode:
  4111. description: 套保品种代码
  4112. type: string
  4113. middlegoodsid:
  4114. description: 套保品种id
  4115. type: integer
  4116. middlegoodsname:
  4117. description: 套保品种名称
  4118. type: string
  4119. needarbitrageratio:
  4120. description: 应套利比例
  4121. type: number
  4122. needhedgeratio:
  4123. description: 应套保比例
  4124. type: number
  4125. pricedqty:
  4126. description: 已定价量
  4127. type: number
  4128. qty:
  4129. description: 合同量
  4130. type: number
  4131. tradedate:
  4132. description: 交易日(登记日)
  4133. type: string
  4134. unitid:
  4135. description: 品类单位id
  4136. type: integer
  4137. userid:
  4138. description: 机构id
  4139. type: integer
  4140. wrstandardcode:
  4141. description: 品类代码
  4142. type: string
  4143. wrstandardid:
  4144. description: 品类id
  4145. type: integer
  4146. wrstandardname:
  4147. description: 品类名称
  4148. type: string
  4149. type: object
  4150. models.Ermcp3ExpourseReport:
  4151. properties:
  4152. accountid:
  4153. description: 期货账户ID (作废, 默认为0)
  4154. type: integer
  4155. accountname:
  4156. description: 机构名称
  4157. type: string
  4158. arbitrageqty:
  4159. description: 套利量
  4160. type: number
  4161. areauserid:
  4162. description: 所属机构\交易用户ID
  4163. type: integer
  4164. begindate:
  4165. description: 开始交易日
  4166. type: string
  4167. buyfutureqty:
  4168. description: 买入期货数量
  4169. type: number
  4170. buyplanqty:
  4171. description: 采购计划数量
  4172. type: number
  4173. buypricedqty:
  4174. description: 采购合同已定价数量
  4175. type: number
  4176. cycletime:
  4177. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4178. type: string
  4179. cycletype:
  4180. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4181. type: integer
  4182. diffexposure:
  4183. description: 变动量(套保敞口)
  4184. type: number
  4185. difffutuqty:
  4186. description: 变动量(期货)
  4187. type: number
  4188. diffhedgeqty:
  4189. description: 变动量(现货应套保总量)
  4190. type: number
  4191. diffmgqtya:
  4192. description: 套保变动量
  4193. type: number
  4194. diffmgqtyb:
  4195. description: 套利变动量
  4196. type: number
  4197. diffqty:
  4198. description: 变动量(总敞口)
  4199. type: number
  4200. diffspotqty:
  4201. description: 变动量(现货)
  4202. type: number
  4203. enddate:
  4204. description: 结束交易日
  4205. type: string
  4206. enumdicname:
  4207. description: 单位名称
  4208. type: string
  4209. hedgeqty:
  4210. description: 套保量
  4211. type: number
  4212. mgneedhedgeratio:
  4213. description: 套保比例(套保品的)
  4214. type: number
  4215. middlegoodsid:
  4216. description: 套保品种ID
  4217. type: integer
  4218. middlegoodsname:
  4219. description: 套保商品名称
  4220. type: string
  4221. middlgoodscode:
  4222. description: 套保商品代码
  4223. type: string
  4224. needarbitrageqty:
  4225. description: 应套利量
  4226. type: number
  4227. needarbitrageratio:
  4228. description: 套利比例(套保品的)
  4229. type: number
  4230. needhedgeexposoure:
  4231. description: 应套保敞口(套保敞口)
  4232. type: number
  4233. needhedgeqty:
  4234. description: 应套保量
  4235. type: number
  4236. needhedgeratio:
  4237. description: 应套保敞口比例
  4238. type: number
  4239. oriarbitrageqty:
  4240. description: 期初套利量
  4241. type: number
  4242. oribuyfutureqty:
  4243. description: 期初买入期货数量
  4244. type: number
  4245. oribuyplanqty:
  4246. description: 期初采购计划数量
  4247. type: number
  4248. oribuypricedqty:
  4249. description: 期初采购合同已定价数量
  4250. type: number
  4251. orihedgeqty:
  4252. description: 期初套保量
  4253. type: number
  4254. orineedarbitrageqty:
  4255. description: 期初应套利量
  4256. type: number
  4257. orineedhedgeexposoure:
  4258. description: 期初应套保敞口
  4259. type: number
  4260. orineedhedgeqty:
  4261. description: 期初应套保量
  4262. type: number
  4263. orisellfutureqty:
  4264. description: 期初卖出期货数量
  4265. type: number
  4266. orisellplanqty:
  4267. description: 期初销售计划数量
  4268. type: number
  4269. orisellpricedqty:
  4270. description: 期初销售合同已定价数量
  4271. type: number
  4272. oritotalexposure:
  4273. description: 期初实时总敞口
  4274. type: number
  4275. oritotalfutureqty:
  4276. description: 期初期货头寸总量
  4277. type: number
  4278. oritotalneedhedgeqty:
  4279. description: 期初应套保总量
  4280. type: number
  4281. oritotalspotqty:
  4282. description: 期初现货头寸总量
  4283. type: number
  4284. reckondate:
  4285. description: 日照时期(yyyyMMdd)
  4286. type: string
  4287. sellfutureqty:
  4288. description: 卖出期货数量
  4289. type: number
  4290. sellplanqty:
  4291. description: 销售计划数量
  4292. type: number
  4293. sellpricedqty:
  4294. description: 销售合同已定价数量
  4295. type: number
  4296. totalexposure:
  4297. description: 实时总敞口(总敞口)
  4298. type: number
  4299. totalfutureqty:
  4300. description: 期货头寸总量(期货总量)
  4301. type: number
  4302. totalhedgeratio:
  4303. description: 敞口比例
  4304. type: number
  4305. totalneedhedgeqty:
  4306. description: 应套保总量(现货应套保总量)
  4307. type: number
  4308. totalspotqty:
  4309. description: 现货头寸总量
  4310. type: number
  4311. unitid:
  4312. description: 单位id
  4313. type: integer
  4314. updatetime:
  4315. description: 更新时间
  4316. type: string
  4317. type: object
  4318. models.Ermcp3FinanceReport:
  4319. properties:
  4320. areauserid:
  4321. description: 所属机构\交易用户ID
  4322. type: integer
  4323. begindate:
  4324. description: 开始交易日
  4325. type: string
  4326. biztype:
  4327. description: 业务类型 - 1:套保 2:套利
  4328. type: integer
  4329. brandname:
  4330. description: 品牌名称
  4331. type: string
  4332. buypreinvoicedamount:
  4333. description: 采购预收票额(预收票额)
  4334. type: number
  4335. buyprepaidamount:
  4336. description: 采购预付款额(预付货款额)
  4337. type: number
  4338. buytodayinvoiceamount:
  4339. description: 采购今收票额(今收票额)
  4340. type: number
  4341. buytodayrefundamount:
  4342. description: 采购今收退款额(今收退款额)
  4343. type: number
  4344. buytodaysettleamount:
  4345. description: 采购今付款额(今付货款额)
  4346. type: number
  4347. buyuninvoicedamount:
  4348. description: 采购应收票额(应收票额)
  4349. type: number
  4350. buyunpaidamount:
  4351. description: 采购应付款额(应付货款额)
  4352. type: number
  4353. currencyid:
  4354. description: 结算币种ID
  4355. type: integer
  4356. currencyname:
  4357. description: 币种名称
  4358. type: string
  4359. cycletime:
  4360. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4361. type: string
  4362. cycletype:
  4363. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4364. type: integer
  4365. deliverygoodscode:
  4366. description: 现货品种代码
  4367. type: string
  4368. deliverygoodsid:
  4369. description: 现货品种ID
  4370. type: integer
  4371. deliverygoodsname:
  4372. description: 现货品种名称
  4373. type: string
  4374. enddate:
  4375. description: 结束交易日
  4376. type: string
  4377. reckondate:
  4378. description: 日照时期(yyyyMMdd)
  4379. type: string
  4380. sellpreinvoicedamount:
  4381. description: 销售预开票额(预开票额)
  4382. type: number
  4383. sellprepaidamount:
  4384. description: 销售预收款额(预收货款额)
  4385. type: number
  4386. selltodayinvoiceamount:
  4387. description: 销售今开票额(今开票额)
  4388. type: number
  4389. selltodayrefundamount:
  4390. description: 销售今付退款额(今付退款额)
  4391. type: number
  4392. selltodaysettleamount:
  4393. description: 销售今收款额(今收货款额)
  4394. type: number
  4395. selluninvoicedamount:
  4396. description: 销售应开票额(应开票额)
  4397. type: number
  4398. sellunpaidamount:
  4399. description: 销售应收款额(应收货款额)
  4400. type: number
  4401. spotgoodsbrandid:
  4402. description: 现货品牌ID
  4403. type: integer
  4404. todaypaysum:
  4405. description: 今付款合计
  4406. type: number
  4407. todayreceivesum:
  4408. description: 今收款合计
  4409. type: number
  4410. updatetime:
  4411. description: 更新时间
  4412. type: string
  4413. wrfactortypeid:
  4414. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4415. type: integer
  4416. wrstandardcode:
  4417. description: 品类代码
  4418. type: string
  4419. wrstandardid:
  4420. description: 现货商品ID
  4421. type: integer
  4422. wrstandardname:
  4423. description: 品类名称
  4424. type: string
  4425. type: object
  4426. models.Ermcp3Goods:
  4427. properties:
  4428. agreeunit:
  4429. description: 合约单位(合约乘数)
  4430. type: number
  4431. enumdicname:
  4432. description: 单位名称
  4433. type: string
  4434. exexchangecode:
  4435. description: 交易所代码
  4436. type: string
  4437. goodscode:
  4438. description: 期货商品代码
  4439. type: string
  4440. goodsid:
  4441. description: 期货商品id
  4442. type: integer
  4443. goodsname:
  4444. description: 期货商品名称
  4445. type: string
  4446. type: object
  4447. models.Ermcp3GoodsGroup:
  4448. properties:
  4449. agreeunit:
  4450. description: 合约单位
  4451. type: number
  4452. areauserid:
  4453. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  4454. type: integer
  4455. canshort:
  4456. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  4457. type: integer
  4458. closepricemode:
  4459. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  4460. type: integer
  4461. createtime:
  4462. description: 创建时间
  4463. type: string
  4464. creatorid:
  4465. description: 创建人
  4466. type: integer
  4467. currencyid:
  4468. description: 报价货币ID
  4469. type: integer
  4470. decimalplace:
  4471. description: 报价小数位
  4472. type: integer
  4473. enumdicname:
  4474. description: 单位名称
  4475. type: string
  4476. excludecfg:
  4477. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  4478. type: integer
  4479. exexchangeid:
  4480. description: 外部交易所ID[通道交易]
  4481. type: integer
  4482. goodsgroupid:
  4483. description: 商品组ID(自增ID)
  4484. type: integer
  4485. goodsgroupname:
  4486. description: 商品组名称
  4487. type: string
  4488. goodsgroupstatus:
  4489. description: 商品组状态 - 1:正常 2:注销
  4490. type: integer
  4491. goodunitid:
  4492. description: 报价单位ID
  4493. type: integer
  4494. groupcategroyid:
  4495. description: 品种分类ID
  4496. type: integer
  4497. innerdealmode:
  4498. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  4499. type: integer
  4500. marketid:
  4501. description: 所属市场ID
  4502. type: integer
  4503. modifierid:
  4504. description: 修改人
  4505. type: integer
  4506. modifytime:
  4507. description: 修改时间
  4508. type: string
  4509. outerdealmode:
  4510. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  4511. type: integer
  4512. outergroupcode:
  4513. description: 外部商品组代码[通道交易]
  4514. type: string
  4515. quoteminunit:
  4516. description: 行情最小变动单位 [整数,报价小数位一起使用]
  4517. type: integer
  4518. quotesourcegroupid:
  4519. description: 所属行情源分组ID[参考行情市场用\通道交易]
  4520. type: integer
  4521. syncgoodsqty:
  4522. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  4523. type: integer
  4524. required:
  4525. - areauserid
  4526. type: object
  4527. models.Ermcp3GoodsGroupEx:
  4528. properties:
  4529. convertratio:
  4530. description: 折算系数(品种系数)
  4531. type: number
  4532. enumdicname:
  4533. description: 单位名称
  4534. type: string
  4535. exexchangecode:
  4536. description: 交易所代码
  4537. type: string
  4538. glist:
  4539. description: 合约列表
  4540. items:
  4541. $ref: '#/definitions/models.Ermcp3Goods'
  4542. type: array
  4543. goodsgroupid:
  4544. description: 商品组id
  4545. type: integer
  4546. goodsgroupname:
  4547. description: 商品组名称
  4548. type: string
  4549. goodsunitid:
  4550. description: 单位id
  4551. type: integer
  4552. middlegoodsid:
  4553. description: 套保商品id
  4554. type: integer
  4555. type: object
  4556. models.Ermcp3HedgePlan:
  4557. properties:
  4558. accountid:
  4559. description: 资金账号
  4560. type: integer
  4561. areauserid:
  4562. description: 用户ID
  4563. type: integer
  4564. audittime:
  4565. description: 审核时间
  4566. type: string
  4567. contracttype:
  4568. description: 计划类型 - 1:采购 -1:销售
  4569. type: integer
  4570. convertfactor:
  4571. description: 标仓系数
  4572. type: number
  4573. createtime:
  4574. description: 创建时间
  4575. type: string
  4576. currencyid:
  4577. description: 币种id
  4578. type: integer
  4579. currencyname:
  4580. description: 币种名称
  4581. type: string
  4582. deliverygoodscode:
  4583. description: 现货品种代码
  4584. type: string
  4585. deliverygoodsid:
  4586. description: 现货品种ID
  4587. type: integer
  4588. deliverygoodsname:
  4589. description: 现货品种名称
  4590. type: string
  4591. enumdicname:
  4592. description: 单位名称(现货商品)
  4593. type: string
  4594. hedgeplanid:
  4595. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  4596. type: string
  4597. hedgeplanno:
  4598. description: 套保计划编号(名称)
  4599. type: string
  4600. hedgeplanstatus:
  4601. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4602. type: integer
  4603. planqty:
  4604. description: 计划数量
  4605. type: number
  4606. plantime:
  4607. description: 计划时间
  4608. type: string
  4609. producttype:
  4610. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  4611. type: integer
  4612. remark:
  4613. description: 备注
  4614. type: string
  4615. spotgoodsdesc:
  4616. description: 商品型号
  4617. type: string
  4618. taaccountname:
  4619. description: 资金账号名称
  4620. type: string
  4621. tradeuserid:
  4622. description: 交易用户id
  4623. type: integer
  4624. tradeusername:
  4625. description: 交易用户名称
  4626. type: string
  4627. unitid:
  4628. description: 单位id(现货商品)
  4629. type: integer
  4630. updatetime:
  4631. description: 更新时间
  4632. type: string
  4633. wrstandardcode:
  4634. description: 品类代码
  4635. type: string
  4636. wrstandardid:
  4637. description: 品类id
  4638. type: integer
  4639. wrstandardname:
  4640. description: 品类名称
  4641. type: string
  4642. wrunitid:
  4643. description: 品类单位id
  4644. type: integer
  4645. wrunitidame:
  4646. description: 品类单位名称
  4647. type: string
  4648. type: object
  4649. models.Ermcp3MiddleGoodsDetail2:
  4650. properties:
  4651. convertratio:
  4652. description: 套保系数(折算系数)
  4653. type: number
  4654. gplist:
  4655. description: 关联商品组列表
  4656. items:
  4657. $ref: '#/definitions/models.Ermcp3GoodsGroupEx'
  4658. type: array
  4659. mg:
  4660. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  4661. description: 套保商品信息
  4662. type: object
  4663. type: object
  4664. models.Ermcp3MiddleGoodsDetailEx:
  4665. properties:
  4666. dglist:
  4667. description: 关联的现货品种列表
  4668. items:
  4669. $ref: '#/definitions/models.ErmcpDeliveryGoodsDetail2'
  4670. type: array
  4671. gplist:
  4672. description: 关联商品组列表
  4673. items:
  4674. $ref: '#/definitions/models.Ermcp3GoodsGroupEx'
  4675. type: array
  4676. mg:
  4677. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  4678. description: 套保商品信息
  4679. type: object
  4680. type: object
  4681. models.Ermcp3SellBuyContract:
  4682. properties:
  4683. accountid:
  4684. description: 期货账户id
  4685. type: string
  4686. accountname:
  4687. description: 账户名称
  4688. type: string
  4689. attachment:
  4690. description: 附件
  4691. type: string
  4692. audittime:
  4693. description: 审核时间
  4694. type: string
  4695. biztype:
  4696. description: 业务类型 1-套保 2-套利
  4697. type: integer
  4698. brandname:
  4699. description: 品牌名称
  4700. type: string
  4701. contracctstatus:
  4702. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4703. type: integer
  4704. contractmargin:
  4705. description: 合同保证金
  4706. type: number
  4707. contractno:
  4708. description: 合同编号
  4709. type: string
  4710. contracttype:
  4711. description: 合同类型 1-采购, -1-销售
  4712. type: integer
  4713. convertfactor:
  4714. description: 标仓系数(品类)
  4715. type: number
  4716. createtime:
  4717. description: 创建时间
  4718. type: string
  4719. currencyid:
  4720. description: 币种id
  4721. type: integer
  4722. currencyname:
  4723. description: 币种名称
  4724. type: string
  4725. daikaiamount:
  4726. description: 应收(开)票额
  4727. type: number
  4728. deliveryenddate:
  4729. description: 交割结束日
  4730. type: string
  4731. deliverygoodscode:
  4732. description: 现货品种代码
  4733. type: string
  4734. deliverygoodsid:
  4735. description: 现货商品ID
  4736. type: integer
  4737. deliverygoodsname:
  4738. description: 现货品种名称
  4739. type: string
  4740. deliverystartdate:
  4741. description: 交割开始日
  4742. type: string
  4743. enddate:
  4744. description: 点价结束日
  4745. type: string
  4746. enumdicname:
  4747. description: 单位名称
  4748. type: string
  4749. goodscode:
  4750. description: 点价商品代码
  4751. type: string
  4752. goodsid:
  4753. description: 点价商品ID
  4754. type: integer
  4755. goodsname:
  4756. description: 点价商品名称
  4757. type: string
  4758. invoiceamount:
  4759. description: 已开票额
  4760. type: number
  4761. loanamount:
  4762. description: 贷款总额=已定价额+调整金额
  4763. type: number
  4764. margin:
  4765. description: 保证金
  4766. type: number
  4767. meruserid:
  4768. description: 跟单员id
  4769. type: integer
  4770. meruserlogincode:
  4771. description: 跟单员登录代码
  4772. type: string
  4773. nickname:
  4774. description: 账户昵称
  4775. type: string
  4776. payamount:
  4777. description: 已收付额(收款或付款)
  4778. type: number
  4779. preinvoiceamount:
  4780. description: 预收(开)票额
  4781. type: number
  4782. prepayamount:
  4783. description: 预收付额
  4784. type: number
  4785. price:
  4786. description: 价格
  4787. type: number
  4788. pricedamount:
  4789. description: 已定价额
  4790. type: number
  4791. pricedavg:
  4792. description: 已点均价
  4793. type: number
  4794. pricedqty:
  4795. description: 已定价量
  4796. type: number
  4797. pricemove:
  4798. description: 升贴水
  4799. type: number
  4800. pricetype:
  4801. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4802. type: integer
  4803. producttype:
  4804. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  4805. type: integer
  4806. qty:
  4807. description: 合同量
  4808. type: number
  4809. reckonadjustamount:
  4810. description: 调整金额
  4811. type: number
  4812. reckonedamount:
  4813. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  4814. type: number
  4815. reckonotheramount:
  4816. description: 其它费用
  4817. type: number
  4818. reckonrealqty:
  4819. description: 已确定量
  4820. type: number
  4821. remark:
  4822. description: 备注
  4823. type: string
  4824. saleuserid:
  4825. description: 业务员id
  4826. type: integer
  4827. saleuserlogincode:
  4828. description: 业务员登录代码
  4829. type: string
  4830. spotcontractid:
  4831. description: 合同ID
  4832. type: string
  4833. spotgoodsbrandid:
  4834. description: 现货品牌ID(DGFactoryItem表的ID)
  4835. type: integer
  4836. spotgoodsdesc:
  4837. description: 商品型号(商品规格)
  4838. type: string
  4839. startdate:
  4840. description: 点价开始日
  4841. type: string
  4842. totalamount:
  4843. description: 合计总额
  4844. type: number
  4845. tradeuserid:
  4846. description: 交易员id
  4847. type: integer
  4848. tradeuserlogincode:
  4849. description: 交易员登录代码
  4850. type: string
  4851. tradeusername:
  4852. description: 交易员名称
  4853. type: string
  4854. unpayamount:
  4855. description: 应收付款额(应支付或应收款)
  4856. type: number
  4857. unpricedqty:
  4858. description: 未定价量
  4859. type: number
  4860. unsureqty:
  4861. description: 未确定量
  4862. type: number
  4863. userid:
  4864. description: 机构ID
  4865. type: integer
  4866. wrstandardcode:
  4867. description: 品类代码
  4868. type: string
  4869. wrstandardid:
  4870. description: 品类ID
  4871. type: integer
  4872. wrstandardname:
  4873. description: 品类名称
  4874. type: string
  4875. type: object
  4876. models.Ermcp3SpotGoodsPrice:
  4877. properties:
  4878. areauserid:
  4879. description: 所属机构id
  4880. type: integer
  4881. brandname:
  4882. description: 品牌名称
  4883. type: string
  4884. currencyid:
  4885. description: 报价货币ID
  4886. type: integer
  4887. currencyname:
  4888. description: 币种名称
  4889. type: string
  4890. deliverygoodscode:
  4891. description: 现货商品代码
  4892. type: string
  4893. deliverygoodsid:
  4894. description: 现货商品id
  4895. type: integer
  4896. deliverygoodsname:
  4897. description: 现货商品名称
  4898. type: string
  4899. enumdicname:
  4900. description: 现货商品单位名称
  4901. type: string
  4902. gbenumdicname:
  4903. description: 品类单位名称
  4904. type: string
  4905. gmunitid:
  4906. description: 品类单位id
  4907. type: integer
  4908. isvalid:
  4909. description: 是否有效 - 0:无效 1:有效
  4910. type: integer
  4911. operateid:
  4912. description: 最后操作人
  4913. type: integer
  4914. operatesrc:
  4915. description: 最后操作来源 - 1:管理端 2:终端
  4916. type: integer
  4917. operatetime:
  4918. description: 最后操作时间
  4919. type: string
  4920. operatorname:
  4921. description: 操作人名称
  4922. type: string
  4923. spotgoodsbrandid:
  4924. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  4925. type: integer
  4926. spotgoodsprice:
  4927. description: 现货价格
  4928. type: number
  4929. tradedate:
  4930. description: 交易日(yyyyMMdd)
  4931. type: string
  4932. unitid:
  4933. description: 现货商品单位id
  4934. type: integer
  4935. wrstandardcode:
  4936. description: 品类代码
  4937. type: string
  4938. wrstandardid:
  4939. description: 现货品类ID(通用则为0)
  4940. type: integer
  4941. wrstandardname:
  4942. description: 品类名称
  4943. type: string
  4944. type: object
  4945. models.Ermcp3SpotGoodsPriceLog:
  4946. properties:
  4947. areauserid:
  4948. description: 所属机构id
  4949. type: integer
  4950. brandname:
  4951. description: 品牌名称
  4952. type: string
  4953. currencyid:
  4954. description: 报价货币ID
  4955. type: integer
  4956. deliverygoodscode:
  4957. description: 现货商品代码
  4958. type: string
  4959. deliverygoodsid:
  4960. description: 现货商品id
  4961. type: integer
  4962. deliverygoodsname:
  4963. description: 现货商品名称
  4964. type: string
  4965. enumdicname:
  4966. description: 现货商品单位名称
  4967. type: string
  4968. gbenumdicname:
  4969. description: 品类单位名称
  4970. type: string
  4971. gmunitid:
  4972. description: 品类单位id
  4973. type: integer
  4974. logid:
  4975. description: 日志id
  4976. type: integer
  4977. operateid:
  4978. description: 最后操作人
  4979. type: integer
  4980. operatesrc:
  4981. description: 最后操作来源 - 1:管理端 2:终端
  4982. type: integer
  4983. operatetime:
  4984. description: 最后操作时间
  4985. type: string
  4986. operatorname:
  4987. description: 操作人名称
  4988. type: string
  4989. spotgoodsbrandid:
  4990. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  4991. type: integer
  4992. spotgoodsprice:
  4993. description: 现货价格
  4994. type: number
  4995. tradedate:
  4996. description: 交易日(yyyyMMdd)
  4997. type: string
  4998. unitid:
  4999. description: 现货商品单位id
  5000. type: integer
  5001. wrstandardcode:
  5002. description: 品类代码
  5003. type: string
  5004. wrstandardid:
  5005. description: 现货品类ID(通用则为0)
  5006. type: integer
  5007. wrstandardname:
  5008. description: 品类名称
  5009. type: string
  5010. type: object
  5011. models.Ermcp3Wrstandard:
  5012. properties:
  5013. areauserid:
  5014. description: 所属机构
  5015. type: integer
  5016. convertfactor:
  5017. description: 标仓系数
  5018. type: number
  5019. createtime:
  5020. description: 创建时间
  5021. type: string
  5022. creatorid:
  5023. description: 创建人
  5024. type: integer
  5025. deliverygoodsid:
  5026. description: 现货品种ID
  5027. type: integer
  5028. enumdicname:
  5029. description: 品类单位名称
  5030. type: string
  5031. isvalid:
  5032. description: 是否有效 0-无效(停用) 1-有效(正常)
  5033. type: integer
  5034. minivalue:
  5035. description: 最小变动值
  5036. type: integer
  5037. minivaluedp:
  5038. description: 最小变动值小数位
  5039. type: integer
  5040. realminivalue:
  5041. description: 实际最小变动值
  5042. type: integer
  5043. realminivaluedp:
  5044. description: 实际最小变动值小数位
  5045. type: integer
  5046. remark:
  5047. description: 备注
  5048. type: string
  5049. unitid:
  5050. description: 品类单位ID
  5051. type: integer
  5052. updatetime:
  5053. description: 更新时间
  5054. type: string
  5055. wrstandardcode:
  5056. description: 品类代码
  5057. type: string
  5058. wrstandardid:
  5059. description: 品类ID(SEQ_WRSTANDARD)
  5060. type: integer
  5061. wrstandardname:
  5062. description: 品类名称
  5063. type: string
  5064. type: object
  5065. models.ErmcpAreaSpotDetailModel:
  5066. properties:
  5067. contracttype:
  5068. description: 合同类型 1-采购 -1-销售
  5069. type: integer
  5070. createtime:
  5071. description: 创建时间
  5072. type: string
  5073. enumdicname:
  5074. description: 现货商品单位名称
  5075. type: string
  5076. logtype:
  5077. description: 记录类型 1-套保 2-现货合同
  5078. type: integer
  5079. qty:
  5080. description: 数量
  5081. type: number
  5082. recordname:
  5083. description: 类型名称
  5084. type: string
  5085. relatedid:
  5086. description: 套保计划ID/现货合同ID
  5087. type: string
  5088. relatedno:
  5089. description: 编号
  5090. type: string
  5091. strtime:
  5092. description: 时间
  5093. type: string
  5094. wrstandardcode:
  5095. description: 现货商品代码
  5096. type: string
  5097. wrstandardname:
  5098. description: 现货商品名称
  5099. type: string
  5100. type: object
  5101. models.ErmcpAvalidGoodsGroupModel:
  5102. properties:
  5103. goodsgroupid:
  5104. description: 期货品种id
  5105. type: integer
  5106. goodsgroupname:
  5107. description: 期货品种名称
  5108. type: string
  5109. goodunitid:
  5110. description: 品种单位id
  5111. type: integer
  5112. goodunitname:
  5113. description: 品种单位名称
  5114. type: string
  5115. outergroupcode:
  5116. description: 期货品种代码
  5117. type: string
  5118. type: object
  5119. models.ErmcpBizGroupEx:
  5120. properties:
  5121. acclist:
  5122. description: 账号列表
  5123. items:
  5124. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  5125. type: array
  5126. bizgroupid:
  5127. description: 业务分组id
  5128. type: integer
  5129. biztype:
  5130. description: 业务类型 1-套保 2-套利
  5131. type: integer
  5132. wrlist:
  5133. description: 现货商品表
  5134. items:
  5135. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  5136. type: array
  5137. type: object
  5138. models.ErmcpBizGroupSpotGoods:
  5139. properties:
  5140. areauserid:
  5141. description: 所属机构id
  5142. type: integer
  5143. bizgroupid:
  5144. description: 分组id
  5145. type: integer
  5146. biztype:
  5147. description: 业务类型 1-套保 2-套利
  5148. type: integer
  5149. deliverygoodscode:
  5150. description: 现货商品代码
  5151. type: string
  5152. deliverygoodsid:
  5153. description: 现货商品id
  5154. type: integer
  5155. deliverygoodsname:
  5156. description: 现货商品名称
  5157. type: string
  5158. unitid:
  5159. description: 现货商品单位id
  5160. type: integer
  5161. type: object
  5162. models.ErmcpBizGroupTaAccount:
  5163. properties:
  5164. accountid:
  5165. description: 账号id
  5166. type: integer
  5167. accountname:
  5168. description: 账号名称
  5169. type: string
  5170. areauserid:
  5171. description: 所属机构id
  5172. type: integer
  5173. bizgroupid:
  5174. description: 业务分组id
  5175. type: integer
  5176. ismain:
  5177. description: 是否主账号 1-是 0-否
  5178. type: integer
  5179. type: object
  5180. models.ErmcpDGFactoryItem:
  5181. properties:
  5182. areauserid:
  5183. description: 用户id
  5184. type: integer
  5185. deliverygoodsid:
  5186. description: 现货品种ID
  5187. type: integer
  5188. dgfactoryitemid:
  5189. description: 选择项ID(SEQ_DGFACTORYITEM)
  5190. type: integer
  5191. dgfactoryitemtypeid:
  5192. description: 要素项类型
  5193. type: integer
  5194. dgfactoryitemvalue:
  5195. description: 要素项值(类型为仓库时填写仓库名称)
  5196. type: string
  5197. isvalid:
  5198. description: 是否有效 - 0:无效 1:有效
  5199. type: integer
  5200. orderindex:
  5201. description: 顺序
  5202. type: integer
  5203. warehouseid:
  5204. description: 仓库ID(类型为仓库时填写)
  5205. type: integer
  5206. type: object
  5207. models.ErmcpDeliveryGoods:
  5208. properties:
  5209. agreeunit:
  5210. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  5211. type: integer
  5212. areauserid:
  5213. description: 所属机构
  5214. type: integer
  5215. auditflag:
  5216. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  5217. type: integer
  5218. categoryid:
  5219. description: 类别ID(SEQ_WRCATEGORY)
  5220. type: integer
  5221. deliverygoodscode:
  5222. description: 现货品种代码
  5223. type: string
  5224. deliverygoodsid:
  5225. description: 现货品种ID(SEQ_DELIVERYGOODS)
  5226. type: integer
  5227. deliverygoodsname:
  5228. description: 现货品种名称
  5229. type: string
  5230. deliverygoodstype:
  5231. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  5232. type: integer
  5233. dgstatus:
  5234. description: 品种状态 - 作废 - 0:未激活 1:正常
  5235. type: integer
  5236. enumdicname:
  5237. description: 现货品种单位名称
  5238. type: string
  5239. goodsunitid:
  5240. description: 现货品种单位ID
  5241. type: integer
  5242. isvalid:
  5243. description: 是否有效 - 0:无效 1:有效
  5244. type: integer
  5245. qtydecimalplace:
  5246. description: 成交量小数位
  5247. type: integer
  5248. remark:
  5249. description: 备注
  5250. type: string
  5251. standardqty:
  5252. description: 标准数量(库位数量) [标准品特有]
  5253. type: integer
  5254. standardqtyrange:
  5255. description: 标准数量偏差范围 [标准品特有]
  5256. type: integer
  5257. type: object
  5258. models.ErmcpDeliveryGoodsDetail2:
  5259. properties:
  5260. convertratio:
  5261. description: 套保系数(折算系数)
  5262. type: number
  5263. data:
  5264. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  5265. description: 现货商品基本信息(交割品种)
  5266. type: object
  5267. gblist:
  5268. description: 品牌列表
  5269. items:
  5270. $ref: '#/definitions/models.Ermcp3Brand'
  5271. type: array
  5272. gmlist:
  5273. description: 品类列表(仓单标准)
  5274. items:
  5275. $ref: '#/definitions/models.Ermcp3Wrstandard'
  5276. type: array
  5277. type: object
  5278. models.ErmcpDeliveryGoodsDetailEx:
  5279. properties:
  5280. data:
  5281. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  5282. description: 现货商品基本信息(交割品种)
  5283. type: object
  5284. gblist:
  5285. description: 品牌列表
  5286. items:
  5287. $ref: '#/definitions/models.Ermcp3Brand'
  5288. type: array
  5289. gmlist:
  5290. description: 品类列表(仓单标准)
  5291. items:
  5292. $ref: '#/definitions/models.Ermcp3Wrstandard'
  5293. type: array
  5294. mgList:
  5295. description: 套保列表
  5296. items:
  5297. $ref: '#/definitions/models.Ermcp3MiddleGoodsDetail2'
  5298. type: array
  5299. type: object
  5300. models.ErmcpExposureDetailModel:
  5301. properties:
  5302. areauserid:
  5303. description: 机构ID
  5304. type: integer
  5305. changeQty:
  5306. description: 套保变动量
  5307. type: number
  5308. contracttype:
  5309. description: 现货合同类型 - 1:采购 -1:销售
  5310. type: integer
  5311. convertfactor:
  5312. description: 标仓系数
  5313. type: number
  5314. convertratio:
  5315. description: 套保系数
  5316. type: number
  5317. createtime:
  5318. description: 时间
  5319. type: string
  5320. enumdicname:
  5321. description: 现货商品单位名称
  5322. type: string
  5323. logtype:
  5324. description: 类型 - 1:套保计划 2:现货合同
  5325. type: integer
  5326. middlegoodsId:
  5327. description: 套保商品id
  5328. type: integer
  5329. middlegoodscode:
  5330. description: 套保商品代码
  5331. type: string
  5332. middlegoodsname:
  5333. description: 套保商品名称
  5334. type: string
  5335. qty:
  5336. description: 数量
  5337. type: number
  5338. relateNo:
  5339. description: 现货合同/套保计划编号
  5340. type: string
  5341. wrstandardcode:
  5342. description: 现货商品代码
  5343. type: string
  5344. wrstandardid:
  5345. description: 现货商品ID
  5346. type: integer
  5347. wrstandardname:
  5348. description: 现货商品名称
  5349. type: string
  5350. type: object
  5351. models.ErmcpExposurePostion:
  5352. properties:
  5353. agreeunit:
  5354. description: 合约单位
  5355. type: string
  5356. areauserid:
  5357. description: 所属机构id
  5358. type: integer
  5359. convertratio:
  5360. description: 期货品种系数(折算系数)
  5361. type: number
  5362. curqty:
  5363. description: 当前持仓
  5364. type: integer
  5365. diffhedgeqty:
  5366. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  5367. type: number
  5368. diffqty:
  5369. description: 持仓变动量=当前持仓-昨日持仓
  5370. type: integer
  5371. goodscode:
  5372. description: 商品代码
  5373. type: string
  5374. goodsid:
  5375. description: 商品id
  5376. type: integer
  5377. goodsname:
  5378. description: 商品名称
  5379. type: string
  5380. middlegoodsid:
  5381. description: 套保商品id
  5382. type: integer
  5383. ydqty:
  5384. description: 昨日持仓
  5385. type: integer
  5386. type: object
  5387. models.ErmcpFuturesCompany:
  5388. properties:
  5389. brokerid:
  5390. description: 经纪公司代码
  5391. type: string
  5392. channeladdress:
  5393. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  5394. type: string
  5395. channelid:
  5396. description: 对冲渠道ID
  5397. type: string
  5398. createtime:
  5399. description: 创建时间
  5400. type: string
  5401. creatorid:
  5402. description: 创建人
  5403. type: string
  5404. fcid:
  5405. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  5406. type: integer
  5407. fcname:
  5408. description: 期货公司名称
  5409. type: string
  5410. isvalid:
  5411. description: 是否有效 - 0:无效 1:有效
  5412. type: integer
  5413. mhpaddress:
  5414. description: MHP服务地址(IP:Port)
  5415. type: string
  5416. riskrulegroupid:
  5417. description: 风控规则组ID
  5418. type: string
  5419. tradefeetmpid:
  5420. description: 手续费模板ID[TradeConfigTmpType为2]
  5421. type: string
  5422. trademargintmpid:
  5423. description: 保证金模板ID [TradeConfigTmpType为1]
  5424. type: string
  5425. traderatetmpid:
  5426. description: 汇率模板ID[TradeConfigTmpType为3]
  5427. type: string
  5428. updatetime:
  5429. description: 更新时间
  5430. type: string
  5431. updatorid:
  5432. description: 更新人
  5433. type: string
  5434. type: object
  5435. models.ErmcpGGConvertCfg:
  5436. properties:
  5437. convertratio:
  5438. description: 折算系数
  5439. type: number
  5440. destgoodsgroupid:
  5441. description: 目标品种ID
  5442. type: integer
  5443. dstcode:
  5444. description: 目录品种代码
  5445. type: string
  5446. dstexchangecode:
  5447. description: 目标期货交易所
  5448. type: string
  5449. dstname:
  5450. description: 目标品种名称
  5451. type: string
  5452. dstunitid:
  5453. description: 目标品种单位ID
  5454. type: integer
  5455. dstunitidname:
  5456. description: 目标品种单位名称
  5457. type: string
  5458. modifytime:
  5459. description: 修改时间
  5460. type: string
  5461. srccode:
  5462. description: 源品种代码
  5463. type: string
  5464. srcexchangecode:
  5465. description: 源期货交易所
  5466. type: string
  5467. srcgoodsgroupid:
  5468. description: 源品种ID
  5469. type: integer
  5470. srcname:
  5471. description: 源品种名称
  5472. type: string
  5473. srcunitid:
  5474. description: 源品种单位ID
  5475. type: integer
  5476. srcunitidname:
  5477. description: 源品种单位名称
  5478. type: string
  5479. type: object
  5480. models.ErmcpGoodsBrand:
  5481. properties:
  5482. areauserid:
  5483. description: 所属机构
  5484. type: integer
  5485. brandid:
  5486. description: BrandID(SEQ_SPOTGOODSBRAND)
  5487. type: integer
  5488. brandname:
  5489. description: 品牌名称
  5490. type: string
  5491. createtime:
  5492. description: 创建时间
  5493. type: string
  5494. creatorid:
  5495. description: 创建人
  5496. type: integer
  5497. creatorsrc:
  5498. description: 创建人来源 - 1:管理端 2:终端
  5499. type: integer
  5500. deliverygoodsid:
  5501. description: 现货品种ID
  5502. type: integer
  5503. isvalid:
  5504. description: 是否有效 - 0:无效 1:有效
  5505. type: integer
  5506. updatetime:
  5507. description: 更新时间
  5508. type: string
  5509. updatorid:
  5510. description: 更新人
  5511. type: integer
  5512. updatorsrc:
  5513. description: 更新人来源 - 1:管理端 2:终端
  5514. type: integer
  5515. wrstandardid:
  5516. description: 现货商品ID
  5517. type: integer
  5518. type: object
  5519. models.ErmcpGoodsModel:
  5520. properties:
  5521. areauserid:
  5522. description: 所属机构
  5523. type: integer
  5524. convertfactor:
  5525. description: 标仓系数
  5526. type: number
  5527. createtime:
  5528. description: 创建时间
  5529. type: string
  5530. creatorid:
  5531. description: 创建人
  5532. type: integer
  5533. creatorsrc:
  5534. description: 创建人来源 - 1:管理端 2:终端
  5535. type: integer
  5536. deliverygoodsid:
  5537. description: 现货品种ID
  5538. type: integer
  5539. isvalid:
  5540. description: 是否有效 - 0:无效 1:有效
  5541. type: integer
  5542. modelid:
  5543. description: ModelID(SEQ_SPOTGOODSMODEL)
  5544. type: integer
  5545. modelname:
  5546. description: 型号名称
  5547. type: string
  5548. updatetime:
  5549. description: 更新时间
  5550. type: string
  5551. updatorid:
  5552. description: 更新人
  5553. type: integer
  5554. updatorsrc:
  5555. description: 更新人来源 - 1:管理端 2:终端
  5556. type: integer
  5557. wrstandardid:
  5558. description: 现货商品ID
  5559. type: integer
  5560. type: object
  5561. models.ErmcpHedgePosition:
  5562. properties:
  5563. accountid:
  5564. description: 资金账号[外部母账户]
  5565. type: integer
  5566. curbuyposition:
  5567. description: 期末买头寸
  5568. type: integer
  5569. cursellposition:
  5570. description: 期末卖头寸
  5571. type: integer
  5572. curtdbuyposition:
  5573. description: 期末今日买头寸
  5574. type: integer
  5575. curtdsellposition:
  5576. description: 期末今日卖头寸
  5577. type: integer
  5578. curydbuyposition:
  5579. description: 期末上日买头寸
  5580. type: integer
  5581. curydsellposition:
  5582. description: 期末上日卖头寸
  5583. type: integer
  5584. decreaseqty:
  5585. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  5586. type: integer
  5587. fretdbuyposition:
  5588. description: 冻结今日买头寸
  5589. type: integer
  5590. fretdsellposition:
  5591. description: 冻结今日卖头寸
  5592. type: integer
  5593. freydbuyposition:
  5594. description: 冻结上日买头寸
  5595. type: integer
  5596. freydsellposition:
  5597. description: 冻结上日卖头寸
  5598. type: integer
  5599. goodscode:
  5600. description: 商品代码
  5601. type: string
  5602. goodsid:
  5603. description: 商品id
  5604. type: integer
  5605. goodsname:
  5606. description: 商品名称
  5607. type: string
  5608. hedgeaccountcode:
  5609. description: 对冲账号
  5610. type: string
  5611. hedgegoodsid:
  5612. description: 对冲合约ID
  5613. type: integer
  5614. increaseqty:
  5615. description: 增加数量 = 期末买头寸 - 期初买头寸
  5616. type: integer
  5617. marketid:
  5618. description: 市场ID
  5619. type: integer
  5620. relateduserid:
  5621. description: 关联用户id
  5622. type: integer
  5623. totalcurqty:
  5624. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  5625. type: integer
  5626. totalydqty:
  5627. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  5628. type: integer
  5629. tradedate:
  5630. description: 交易日(yyyyMMdd)
  5631. type: string
  5632. ydbuyposition:
  5633. description: 期初买头寸
  5634. type: integer
  5635. ydsellposition:
  5636. description: 期初卖头寸
  5637. type: integer
  5638. type: object
  5639. models.ErmcpHedgePositionDetail:
  5640. properties:
  5641. buyorsell:
  5642. description: 买卖方向 0-买 1-卖
  5643. type: integer
  5644. channelbuildtype:
  5645. description: 开平方向 1-建仓 2-平仓
  5646. type: integer
  5647. goodscode:
  5648. description: 商品代码
  5649. type: string
  5650. goodsname:
  5651. description: 商品名称
  5652. type: string
  5653. hedgegoodsid:
  5654. description: 商品id
  5655. type: integer
  5656. tradeqty:
  5657. description: 数量(成交数量)
  5658. type: integer
  5659. tradetime:
  5660. description: 时间(成交时间)
  5661. type: string
  5662. type: object
  5663. models.ErmcpHisExposure:
  5664. properties:
  5665. needhedgeexposoure:
  5666. description: 应套保敞口
  5667. type: number
  5668. reckondate:
  5669. description: 日照时期(yyyyMMdd)
  5670. type: string
  5671. totalexposure:
  5672. description: 总敞口
  5673. type: number
  5674. type: object
  5675. models.ErmcpHisExposureS:
  5676. properties:
  5677. data:
  5678. description: 历史敞口
  5679. items:
  5680. $ref: '#/definitions/models.ErmcpHisExposure'
  5681. type: array
  5682. enumdicname:
  5683. description: 单位名称
  5684. type: string
  5685. middlegoodscode:
  5686. description: 套保品种代码
  5687. type: string
  5688. middlegoodsid:
  5689. description: 套保品种ID
  5690. type: integer
  5691. middlegoodsname:
  5692. description: 套保品种名称
  5693. type: string
  5694. type: object
  5695. models.ErmcpLoginTaAccount:
  5696. properties:
  5697. accountid:
  5698. description: 账号id
  5699. type: integer
  5700. accountname:
  5701. description: 账号名称
  5702. type: string
  5703. type: object
  5704. models.ErmcpLoginUser:
  5705. properties:
  5706. acclist:
  5707. description: 关联资金账号
  5708. items:
  5709. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  5710. type: array
  5711. accountname:
  5712. description: 用户名称
  5713. type: string
  5714. clientroleid:
  5715. description: 角色id(usertype=2)
  5716. type: integer
  5717. createtime:
  5718. description: 创建时间
  5719. type: string
  5720. logincode:
  5721. description: 登录代码
  5722. type: string
  5723. loginid:
  5724. description: 登录id(LOGINID)
  5725. type: integer
  5726. loginname:
  5727. description: 登录名称(loginaccount表中的accountname字段)
  5728. type: string
  5729. loginstatus:
  5730. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  5731. type: integer
  5732. memberuserid:
  5733. description: 所属会员id
  5734. type: integer
  5735. mobile:
  5736. description: 手机号
  5737. type: string
  5738. modifytime:
  5739. description: 修改时间
  5740. type: string
  5741. password:
  5742. description: 密码(不可解密)
  5743. type: string
  5744. rolename:
  5745. description: 角色名称
  5746. type: string
  5747. rolestatus:
  5748. description: 角色状态 1-启用 2-停用
  5749. type: integer
  5750. roletype:
  5751. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  5752. type: string
  5753. userid:
  5754. description: 用户id
  5755. type: integer
  5756. usertype:
  5757. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  5758. type: integer
  5759. type: object
  5760. models.ErmcpLoginUserEx:
  5761. properties:
  5762. accountstatus:
  5763. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  5764. type: integer
  5765. mobile:
  5766. description: 手机号
  5767. type: string
  5768. querytype:
  5769. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  5770. type: integer
  5771. roleid:
  5772. description: 角色id(交易账户->用户id)
  5773. type: integer
  5774. rolename:
  5775. description: 角色名称(交易账户->用户名称)
  5776. type: string
  5777. userlist:
  5778. description: 用户列表
  5779. items:
  5780. $ref: '#/definitions/models.ErmcpLoginUser'
  5781. type: array
  5782. usertype:
  5783. description: 用户类型 2-机构 7-企业成员(云平台)
  5784. type: integer
  5785. type: object
  5786. models.ErmcpMiddleGoodsChangeLog:
  5787. properties:
  5788. aftervalue:
  5789. description: 变更后
  5790. type: number
  5791. applyid:
  5792. description: 操作人
  5793. type: integer
  5794. applyname:
  5795. description: 操作人名称
  5796. type: string
  5797. applysrc:
  5798. description: 操作来源 - 1:管理端 2:终端
  5799. type: integer
  5800. beforevalue:
  5801. description: 变更前
  5802. type: number
  5803. changelogtype:
  5804. description: 变更流水类型 - 1:套保比率变更
  5805. type: integer
  5806. handlestatus:
  5807. description: 处理状态
  5808. type: integer
  5809. logdatetime:
  5810. description: 流水日期
  5811. type: string
  5812. logid:
  5813. description: 流水ID
  5814. type: integer
  5815. logremark:
  5816. description: 流水备注
  5817. type: string
  5818. middlegoodsid:
  5819. description: 套保品种ID
  5820. type: integer
  5821. tradedate:
  5822. description: 交易日(yyyyMMdd)
  5823. type: string
  5824. updatetime:
  5825. description: 更新时间
  5826. type: string
  5827. type: object
  5828. models.ErmcpMiddleGoodsDetail:
  5829. properties:
  5830. cvList:
  5831. description: 期货品种折算列表
  5832. items:
  5833. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  5834. type: array
  5835. mg:
  5836. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  5837. description: 套保品种基本信息
  5838. type: object
  5839. wrcList:
  5840. description: 现货品种列表(现货商品折算配置)
  5841. items:
  5842. $ref: '#/definitions/models.WRSConverTDetail'
  5843. type: array
  5844. type: object
  5845. models.ErmcpMiddleGoodsModel:
  5846. properties:
  5847. areauserid:
  5848. description: 机构用户ID
  5849. type: integer
  5850. createtime:
  5851. description: 修改时间
  5852. type: string
  5853. enumdicname:
  5854. description: 单位名称
  5855. type: string
  5856. evaluateratio:
  5857. description: 估价系数
  5858. type: number
  5859. goodsgroupid:
  5860. description: 关联期货品种ID
  5861. type: integer
  5862. goodsunitid:
  5863. description: 单位ID
  5864. type: integer
  5865. isvalid:
  5866. description: 状态 0-无效(停用) 1-有效(正常)
  5867. type: integer
  5868. middlegoodscode:
  5869. description: 套保品种代码
  5870. type: string
  5871. middlegoodsid:
  5872. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  5873. type: integer
  5874. middlegoodsname:
  5875. description: 套保品种名称
  5876. type: string
  5877. modifytime:
  5878. description: 修改时间
  5879. type: string
  5880. needarbitrageratio:
  5881. description: 套利比例
  5882. type: number
  5883. needhedgeratio:
  5884. description: 套保比率
  5885. type: number
  5886. qtydecimalplace:
  5887. description: 数量小数位
  5888. type: integer
  5889. relatedgoodsid:
  5890. description: 关联交易商品ID
  5891. type: integer
  5892. relatedgoodstype:
  5893. description: 关联商品类型 - 1:期货合约 2:现货品种
  5894. type: integer
  5895. remark:
  5896. description: 备注
  5897. type: string
  5898. type: object
  5899. models.ErmcpOPLogModel:
  5900. properties:
  5901. aftervalue:
  5902. description: 变更后
  5903. type: number
  5904. applyid:
  5905. description: 操作人ID
  5906. type: string
  5907. applyname:
  5908. description: 操作人名称
  5909. type: string
  5910. beforevalue:
  5911. description: 变更前
  5912. type: number
  5913. biztype:
  5914. description: 业务类型 - 1:套保计划 2:现货合同
  5915. type: integer
  5916. contracttype:
  5917. description: 现货合同类型 - 1:采购 -1:销售
  5918. type: integer
  5919. logvalue:
  5920. description: 数值
  5921. type: number
  5922. operatelogtype:
  5923. description: 操作流水类型
  5924. type: integer
  5925. operatelogtypedesc:
  5926. description: 操作流水类型名称
  5927. type: string
  5928. relatedid:
  5929. description: 现货合同ID\套保计划
  5930. type: string
  5931. updatetime:
  5932. description: 更新时间
  5933. type: string
  5934. type: object
  5935. models.ErmcpPendingAudit:
  5936. properties:
  5937. areastockqty:
  5938. description: '待审核数量: 库存申请'
  5939. type: integer
  5940. businessdjqty:
  5941. description: '待审核数量: 点价'
  5942. type: integer
  5943. businessfpqty:
  5944. description: '待审核数量: 发票'
  5945. type: integer
  5946. businessjsqty:
  5947. description: '待审核数量: 结算'
  5948. type: integer
  5949. businesskxqty:
  5950. description: '待审核数量: 款项'
  5951. type: integer
  5952. hedgeplanqty:
  5953. description: '待审核数量: 套保计划'
  5954. type: integer
  5955. spotcontractqty:
  5956. description: '待审核数量: 现货合同'
  5957. type: integer
  5958. userqty:
  5959. description: '待审核数量: 用户'
  5960. type: integer
  5961. type: object
  5962. models.ErmcpRealExposureModel:
  5963. properties:
  5964. AreaUserID:
  5965. description: 所属机构
  5966. type: integer
  5967. BuyFutureQty:
  5968. description: 买入期货数量
  5969. type: number
  5970. BuyPlanQty:
  5971. description: 采购计划数量
  5972. type: number
  5973. BuyPricedQty:
  5974. description: 采购合同已定价数量
  5975. type: number
  5976. MiddleGoodsCode:
  5977. description: 套保品种代码
  5978. type: string
  5979. MiddleGoodsHedgeRatio:
  5980. description: 套保比例
  5981. type: number
  5982. MiddleGoodsID:
  5983. description: 套保品种
  5984. type: integer
  5985. MiddleGoodsName:
  5986. description: 套保品种名称
  5987. type: string
  5988. NeedHedgeExposoure:
  5989. description: 应套保敞口(套保敞口)
  5990. type: number
  5991. NeedHedgeRatio:
  5992. description: 应套保敞口比例
  5993. type: number
  5994. OriBuyFutureQty:
  5995. description: 期初买入期货数量
  5996. type: number
  5997. OriBuyPlanQty:
  5998. description: 期初采购计划数量
  5999. type: number
  6000. OriBuyPricedQty:
  6001. description: 期初采购合同已定价数量
  6002. type: number
  6003. OriSellFutureQty:
  6004. description: 期初卖出期货数量
  6005. type: number
  6006. OriSellPlanQty:
  6007. description: 期初销售计划数量
  6008. type: number
  6009. OriSellPricedQty:
  6010. description: 期初销售合同已定价数量
  6011. type: number
  6012. SellFutureQty:
  6013. description: 卖出期货数量
  6014. type: number
  6015. SellPlanQty:
  6016. description: 销售计划数量
  6017. type: number
  6018. SellPricedQty:
  6019. description: 销售合同已定价数量
  6020. type: number
  6021. TotalExposure:
  6022. description: 总敞口
  6023. type: number
  6024. TotalFutureQty:
  6025. description: 期货总量
  6026. type: number
  6027. TotalHedgeRatio:
  6028. description: 敞口比例
  6029. type: number
  6030. TotalNeedHedgeQty:
  6031. description: 应套保总量(现货应套保总量)
  6032. type: number
  6033. TotalSpotQty:
  6034. description: 现货总量
  6035. type: number
  6036. arbitrageqty:
  6037. description: 套利量
  6038. type: number
  6039. diffArbitrageQty:
  6040. description: 套利变动量
  6041. type: number
  6042. diffExposoureQty:
  6043. description: 变动量(套保敞口)
  6044. type: number
  6045. diffFutuQty:
  6046. description: 变动量(期货总量)
  6047. type: number
  6048. diffHedgeQty:
  6049. description: 套保变动量
  6050. type: number
  6051. diffQty:
  6052. description: 变动量(总敞口)
  6053. type: number
  6054. diffSpotHedgeQty:
  6055. description: 变动量(现货应套保总量)
  6056. type: number
  6057. diffSpotQty:
  6058. description: 变动量(现货总量) = 现货数量 - 期初现货数量
  6059. type: number
  6060. enumdicname:
  6061. description: 单位名称
  6062. type: string
  6063. hedgeqty:
  6064. description: 套保量
  6065. type: number
  6066. needarbitrageqty:
  6067. description: 应套利量
  6068. type: number
  6069. needarbitrageratio:
  6070. description: 套利比例
  6071. type: number
  6072. needhedgeqty:
  6073. description: 应套保量
  6074. type: number
  6075. oriTotalFutuQty:
  6076. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  6077. type: number
  6078. oriTotalSpotQty:
  6079. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  6080. type: number
  6081. oriarbitrageqty:
  6082. description: 期初套利量
  6083. type: number
  6084. orihedgeqty:
  6085. description: 期初套保量
  6086. type: number
  6087. orineedhedgeexposoure:
  6088. description: 期初套保敞口
  6089. type: number
  6090. oritotalexposure:
  6091. description: 期初总敞口
  6092. type: number
  6093. oritotalfutureqty:
  6094. description: 期初期货总量
  6095. type: number
  6096. oritotalneedhedgeqty:
  6097. description: 期初现货应套保量
  6098. type: number
  6099. type: object
  6100. models.ErmcpRole:
  6101. properties:
  6102. areauserid:
  6103. description: 所属机构
  6104. type: integer
  6105. autoid:
  6106. description: 角色ID(自增ID)
  6107. type: integer
  6108. modifierid:
  6109. description: 修改人(创建人)
  6110. type: integer
  6111. modifiername:
  6112. description: 修改人名称
  6113. type: string
  6114. modifytime:
  6115. description: 修改时间(创建时间)
  6116. type: string
  6117. rolename:
  6118. description: 角色名称
  6119. type: string
  6120. rolestatus:
  6121. description: 角色状态 - 1:启用 2:停用
  6122. type: integer
  6123. roletype:
  6124. description: 角色类型 - 1- 管理端 2- 交易端
  6125. type: integer
  6126. type: object
  6127. models.ErmcpRoleMenu:
  6128. properties:
  6129. iconame:
  6130. description: 菜单图标
  6131. type: string
  6132. ishadrole:
  6133. description: 是否有权限
  6134. type: boolean
  6135. menutype:
  6136. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  6137. type: integer
  6138. parentcode:
  6139. description: 上级资源代码
  6140. type: string
  6141. remark:
  6142. description: 菜单备注
  6143. type: string
  6144. resourcecode:
  6145. description: 菜单代码
  6146. type: string
  6147. resourcelevel:
  6148. description: 级别
  6149. type: integer
  6150. resourcename:
  6151. description: 菜单名称
  6152. type: string
  6153. roleid:
  6154. description: 角色id
  6155. type: integer
  6156. sort:
  6157. description: 排序
  6158. type: integer
  6159. url:
  6160. description: URL
  6161. type: string
  6162. userid:
  6163. description: 用户id
  6164. type: integer
  6165. type: object
  6166. models.ErmcpRoleMenuEx:
  6167. properties:
  6168. menu:
  6169. $ref: '#/definitions/models.ErmcpRoleMenu'
  6170. description: 父级菜单
  6171. type: object
  6172. subMenu:
  6173. description: 子级菜单
  6174. items:
  6175. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  6176. type: array
  6177. type: object
  6178. models.ErmcpTaAccount:
  6179. properties:
  6180. accountid:
  6181. description: 账户id
  6182. type: integer
  6183. accountname:
  6184. description: 账户名称
  6185. type: string
  6186. currencyid:
  6187. description: 币种id
  6188. type: integer
  6189. hedgeaccountcode:
  6190. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  6191. type: string
  6192. ismain:
  6193. description: 是否主账户 0-否 1-是
  6194. type: integer
  6195. parentaccountid:
  6196. description: 父账户id
  6197. type: integer
  6198. relateduserid:
  6199. description: 关联userid
  6200. type: integer
  6201. tradestatus:
  6202. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  6203. type: integer
  6204. userid:
  6205. description: 用户id
  6206. type: integer
  6207. type: object
  6208. models.ErmcpTaAccountEx:
  6209. properties:
  6210. mainAcc:
  6211. $ref: '#/definitions/models.ErmcpTaAccountM'
  6212. description: 主账号
  6213. type: object
  6214. subacclist:
  6215. description: 子账号列表
  6216. items:
  6217. $ref: '#/definitions/models.ErmcpTaAccount'
  6218. type: array
  6219. type: object
  6220. models.ErmcpTaAccountInfo:
  6221. properties:
  6222. accountid:
  6223. description: 资金账户ID
  6224. type: integer
  6225. accountname:
  6226. description: 账户名称
  6227. type: string
  6228. balance:
  6229. description: 期初余额
  6230. type: number
  6231. capitalbalance:
  6232. description: 本金余额[外部子账户实际出入金余额]
  6233. type: number
  6234. closepl:
  6235. description: 今日平仓盈亏
  6236. type: number
  6237. creditdecrease:
  6238. description: 今日授信减少
  6239. type: number
  6240. creditincrease:
  6241. description: 今日授信增加
  6242. type: number
  6243. curdebt:
  6244. description: 期末欠款
  6245. type: number
  6246. currencyid:
  6247. description: 货币ID
  6248. type: integer
  6249. currentbalance:
  6250. description: 期末余额
  6251. type: number
  6252. freezecharge:
  6253. description: 手续费冻结
  6254. type: number
  6255. freezemargin:
  6256. description: 冻结保证金
  6257. type: number
  6258. fromaccountid:
  6259. description: 所属上级账户
  6260. type: integer
  6261. inamount:
  6262. description: 今日入金金额(包括三方入金)
  6263. type: number
  6264. ismain:
  6265. description: 是否母账号 0:不是母账户 1:是母账户
  6266. type: integer
  6267. mortgagecredit:
  6268. description: 授信金额
  6269. type: number
  6270. oridebt:
  6271. description: 期初欠款
  6272. type: number
  6273. orifreezecharge:
  6274. description: 期初手续费冻结
  6275. type: number
  6276. orifreezemargin:
  6277. description: 期初冻结保证金
  6278. type: number
  6279. orimortgagecredit:
  6280. description: 期初授信金额
  6281. type: number
  6282. oriothercredit:
  6283. description: 期初其它授信金额
  6284. type: number
  6285. oriotherfreezemargin:
  6286. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  6287. type: number
  6288. orioutamountfreeze:
  6289. description: 期初出金冻结
  6290. type: number
  6291. oriusedmargin:
  6292. description: 期初占用保证金
  6293. type: number
  6294. othercredit:
  6295. description: 其它授信金额
  6296. type: number
  6297. othercreditdecrease:
  6298. description: 今日其它授信减少
  6299. type: number
  6300. othercreditincrease:
  6301. description: 今日其它授信增加
  6302. type: number
  6303. otherfreezemargin:
  6304. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  6305. type: number
  6306. outamount:
  6307. description: 今日出金金额(包括三方出金)
  6308. type: number
  6309. outamountfreeze:
  6310. description: 出金冻结
  6311. type: number
  6312. outthreshold:
  6313. description: 出金阈值
  6314. type: number
  6315. parentaccountid:
  6316. description: 所属根账号
  6317. type: integer
  6318. paycharge:
  6319. description: 今日手续费支出
  6320. type: number
  6321. relateduserid:
  6322. description: 关联用户
  6323. type: integer
  6324. signstatus:
  6325. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  6326. type: integer
  6327. sublevelpath:
  6328. description: 账号层级路径(逗号分隔,首尾加逗号)
  6329. type: string
  6330. taaccounttype:
  6331. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  6332. type: integer
  6333. thirdinamount:
  6334. description: 今日三方入金
  6335. type: number
  6336. thirdoutamount:
  6337. description: 今日三方出金
  6338. type: number
  6339. tradestatus:
  6340. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  6341. type: integer
  6342. transferamount:
  6343. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  6344. type: number
  6345. usedmargin:
  6346. description: 占用保证金
  6347. type: number
  6348. userid:
  6349. description: 用户ID
  6350. type: integer
  6351. type: object
  6352. models.ErmcpTaAccountM:
  6353. properties:
  6354. accountid:
  6355. description: 账户id
  6356. type: integer
  6357. accountname:
  6358. description: 账户名称
  6359. type: string
  6360. currencyid:
  6361. description: 币种id
  6362. type: integer
  6363. fcid:
  6364. description: 期货公司id
  6365. type: integer
  6366. fcname:
  6367. description: 期货公司代码
  6368. type: string
  6369. hedgeaccountcode:
  6370. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  6371. type: string
  6372. ismain:
  6373. description: 是否主账户 0-否 1-是
  6374. type: integer
  6375. parentaccountid:
  6376. description: 父账户id
  6377. type: integer
  6378. relateduserid:
  6379. description: 关联userid
  6380. type: integer
  6381. tradestatus:
  6382. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  6383. type: integer
  6384. userid:
  6385. description: 用户id
  6386. type: integer
  6387. type: object
  6388. models.ErmcpTradeConfigTMP:
  6389. properties:
  6390. areauserid:
  6391. description: 所属机构
  6392. type: integer
  6393. basiccurrencyid:
  6394. description: 基本币种ID[汇率] - 目标币种
  6395. type: integer
  6396. mainaccountid:
  6397. description: 主账户ID
  6398. type: integer
  6399. modifierid:
  6400. description: 修改人
  6401. type: integer
  6402. remark:
  6403. description: 备注
  6404. type: string
  6405. tradeconfigtmpid:
  6406. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  6407. type: integer
  6408. tradeconfigtmpname:
  6409. description: 交易配置模板名称
  6410. type: string
  6411. tradeconfigtmptype:
  6412. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  6413. type: integer
  6414. updatetime:
  6415. description: 更新时间
  6416. type: string
  6417. type: object
  6418. models.ErmcpUserModel:
  6419. properties:
  6420. address:
  6421. description: 通讯地址
  6422. type: string
  6423. attachment1:
  6424. description: 附件1
  6425. type: string
  6426. audittime:
  6427. description: 审核时间
  6428. type: string
  6429. cardbackphotourl:
  6430. description: 证件反面图片地址
  6431. type: string
  6432. cardfrontphotourl:
  6433. description: 证件正面图片地址
  6434. type: string
  6435. cardnum:
  6436. description: 证件号码
  6437. type: string
  6438. cardtype:
  6439. description: 证件类型
  6440. type: integer
  6441. cardtypename:
  6442. description: 证件类型名称
  6443. type: string
  6444. cityid:
  6445. description: 市
  6446. type: integer
  6447. contactname:
  6448. description: 联系人
  6449. type: string
  6450. countryid:
  6451. description: 国家
  6452. type: integer
  6453. createtime:
  6454. description: 创建时间
  6455. type: string
  6456. customername:
  6457. description: 企业名称
  6458. type: string
  6459. districtid:
  6460. description: 区域
  6461. type: integer
  6462. email:
  6463. description: 邮件
  6464. type: string
  6465. legalpersonname:
  6466. description: 法人姓名(企业)
  6467. type: string
  6468. memberuserid:
  6469. description: 所属机构ID
  6470. type: integer
  6471. mobile:
  6472. description: 手机号码
  6473. type: string
  6474. modifytime:
  6475. description: 修改时间
  6476. type: string
  6477. nickname:
  6478. description: 昵称
  6479. type: string
  6480. provinceid:
  6481. description: 省
  6482. type: integer
  6483. remark:
  6484. description: 备注
  6485. type: string
  6486. status:
  6487. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  6488. type: integer
  6489. statusdesc:
  6490. description: 账户状态中文描述
  6491. type: string
  6492. taxpayernum:
  6493. description: 纳税人识别号
  6494. type: string
  6495. telphone:
  6496. description: 联系电话
  6497. type: string
  6498. userid:
  6499. description: 用户ID
  6500. type: integer
  6501. userinfotype:
  6502. description: 客户类型
  6503. type: string
  6504. type: object
  6505. models.ErmcpWareHouseInfo:
  6506. properties:
  6507. address:
  6508. description: 详细地址
  6509. type: string
  6510. areauserid:
  6511. description: 所属机构
  6512. type: integer
  6513. autoid:
  6514. description: 自增ID(仓库ID)
  6515. type: integer
  6516. cityid:
  6517. description: 市
  6518. type: integer
  6519. contactname:
  6520. description: 联系人
  6521. type: string
  6522. contactnum:
  6523. description: 联系电话
  6524. type: string
  6525. countryid:
  6526. description: 国家
  6527. type: integer
  6528. createtime:
  6529. description: 创建时间
  6530. type: string
  6531. districtid:
  6532. description: 区
  6533. type: integer
  6534. hasvideo:
  6535. description: 是否有视频 - 0:无 1:有
  6536. type: integer
  6537. provinceid:
  6538. description: 省
  6539. type: integer
  6540. remark:
  6541. description: 审核备注
  6542. type: string
  6543. videourl:
  6544. description: 视频地址
  6545. type: string
  6546. warehousecode:
  6547. description: 仓库代码
  6548. type: string
  6549. warehousename:
  6550. description: 仓库名称
  6551. type: string
  6552. warehousestatus:
  6553. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  6554. type: integer
  6555. warehousetype:
  6556. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  6557. type: integer
  6558. type: object
  6559. models.Externalexchange:
  6560. properties:
  6561. autoid:
  6562. description: AutoID - SEQ_EXTERNALEXCHANGE
  6563. type: integer
  6564. exchangefullname:
  6565. description: 外部交易所全称
  6566. type: string
  6567. exexchangecode:
  6568. description: 外部交易所代码
  6569. type: string
  6570. exexchangename:
  6571. description: 外部交易所名称(简称)
  6572. type: string
  6573. ismarketprice:
  6574. description: 是否支持市价 - 0:不支持 1:支持
  6575. type: integer
  6576. quotegear:
  6577. description: 行情档位(1-10)
  6578. type: integer
  6579. showbrokerflag:
  6580. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  6581. type: integer
  6582. updatetime:
  6583. description: 更新时间
  6584. type: string
  6585. required:
  6586. - autoid
  6587. type: object
  6588. models.Funcmenulist:
  6589. properties:
  6590. iconame:
  6591. description: 菜单图标
  6592. type: string
  6593. menutype:
  6594. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  6595. type: integer
  6596. parentcode:
  6597. description: 上级资源代码
  6598. type: string
  6599. remark:
  6600. description: 备注
  6601. type: string
  6602. resourcecode:
  6603. description: 资源代码
  6604. type: string
  6605. resourcelevel:
  6606. description: 级别 1-一级 2-二级 3-三级 4-四级
  6607. type: integer
  6608. resourcename:
  6609. description: 资源名
  6610. type: string
  6611. sort:
  6612. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  6613. type: integer
  6614. url:
  6615. description: URL
  6616. type: string
  6617. required:
  6618. - resourcecode
  6619. type: object
  6620. models.Goods:
  6621. properties:
  6622. agreeunit:
  6623. description: 合约单位
  6624. type: number
  6625. auditaccountid:
  6626. description: 审核操作员账号
  6627. type: integer
  6628. audittime:
  6629. description: 审核时间
  6630. type: string
  6631. cancelaccountid:
  6632. description: 注销操作员账号
  6633. type: integer
  6634. canceltime:
  6635. description: 注销时间
  6636. type: string
  6637. closepricemode:
  6638. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  6639. type: integer
  6640. closepriceparam:
  6641. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  6642. type: number
  6643. createtime:
  6644. description: 创建时间
  6645. type: string
  6646. creatorid:
  6647. description: 创建人
  6648. type: integer
  6649. currencyid:
  6650. description: 报价货币ID
  6651. type: integer
  6652. cutmode:
  6653. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  6654. type: integer
  6655. decimalplace:
  6656. description: 报价小数位
  6657. type: integer
  6658. delistingdate:
  6659. description: 商品退市时间(状态:退市) -- 已作废
  6660. type: string
  6661. delistingmode:
  6662. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  6663. type: integer
  6664. deliveryflag:
  6665. description: 交割标志 - 0:不可交割 1:可交割
  6666. type: integer
  6667. forceclosemode:
  6668. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  6669. type: integer
  6670. forceclosevalue:
  6671. description: 定期强平参数 [收益权]
  6672. type: integer
  6673. goodscode:
  6674. description: 商品代码(内部)
  6675. type: string
  6676. goodscurrencyid:
  6677. description: 合约货币ID
  6678. type: integer
  6679. goodsgroupid:
  6680. description: 所属商品组ID
  6681. type: integer
  6682. goodsid:
  6683. description: 商品ID(自增ID SEQ_GOODS)
  6684. type: integer
  6685. goodsname:
  6686. description: 商品名称
  6687. type: string
  6688. goodsquotetype:
  6689. description: '合约报价类型: 1-直接报价 2-间接报价'
  6690. type: integer
  6691. goodsstatus:
  6692. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  6693. type: integer
  6694. goodstradetype:
  6695. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  6696. type: integer
  6697. goodunitid:
  6698. description: 报价单位ID
  6699. type: integer
  6700. hasquoter:
  6701. description: 是否有报价商 - 0:无报价商 1:有报价商
  6702. type: integer
  6703. hqprotecttime:
  6704. description: 行情保护时间(秒)
  6705. type: integer
  6706. innerdealmode:
  6707. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  6708. type: integer
  6709. isbuylimited:
  6710. description: 是否限制建仓量 - 0:不限制 1:限制
  6711. type: integer
  6712. lasttradedate:
  6713. description: 最后交易日期(状态:待退市)
  6714. type: string
  6715. listingdate:
  6716. description: 交易开始日期
  6717. type: string
  6718. marketid:
  6719. description: 所属市场ID
  6720. type: integer
  6721. modifierid:
  6722. description: 修改人
  6723. type: integer
  6724. modifystatus:
  6725. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  6726. type: integer
  6727. modifytime:
  6728. description: 修改时间
  6729. type: string
  6730. outerdealmode:
  6731. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  6732. type: integer
  6733. outgoodscode:
  6734. description: 商品代码(外部)
  6735. type: string
  6736. qtydecimalplace:
  6737. description: 成交量小数位
  6738. type: integer
  6739. quotegear:
  6740. description: 行情档位(1-10)
  6741. type: integer
  6742. quoteminunit:
  6743. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6744. type: integer
  6745. quoteshowtype:
  6746. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  6747. type: integer
  6748. quoteshowtypeinterval:
  6749. description: 行情报价间隔时间(秒)(成交价时为0)
  6750. type: integer
  6751. remark:
  6752. description: 备注
  6753. type: string
  6754. required:
  6755. - goodscode
  6756. - goodsid
  6757. - goodsname
  6758. - marketid
  6759. type: object
  6760. models.GoodsIDAndName:
  6761. properties:
  6762. goodscode:
  6763. description: 商品代码(内部)
  6764. type: string
  6765. goodsid:
  6766. description: 商品ID(自增ID SEQ_GOODS)
  6767. type: integer
  6768. goodsname:
  6769. description: 商品名称
  6770. type: string
  6771. marketid:
  6772. description: 所属市场ID
  6773. type: integer
  6774. required:
  6775. - goodscode
  6776. - goodsid
  6777. - goodsname
  6778. - marketid
  6779. type: object
  6780. models.Goodsgroup:
  6781. properties:
  6782. agreeunit:
  6783. description: 合约单位
  6784. type: number
  6785. canshort:
  6786. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  6787. type: integer
  6788. closepricemode:
  6789. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  6790. type: integer
  6791. closepriceparam:
  6792. description: 强平最新价浮动比例 - 方式为2时使用
  6793. type: number
  6794. createtime:
  6795. description: 创建时间
  6796. type: string
  6797. creatorid:
  6798. description: 创建人
  6799. type: integer
  6800. currencyid:
  6801. description: 报价货币ID
  6802. type: integer
  6803. decimalplace:
  6804. description: 报价小数位
  6805. type: integer
  6806. exercisetype:
  6807. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  6808. type: integer
  6809. exexchangeid:
  6810. description: 外部交易所ID[通道交易]
  6811. type: integer
  6812. goodsgroupid:
  6813. description: 商品组ID(自增ID)
  6814. type: integer
  6815. goodsgroupname:
  6816. description: 商品组名称
  6817. type: string
  6818. goodsgroupstatus:
  6819. description: 商品组状态 - 1:正常 2:注销
  6820. type: integer
  6821. goodunitid:
  6822. description: 报价单位ID
  6823. type: integer
  6824. innerdealmode:
  6825. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  6826. type: integer
  6827. isbuylimited:
  6828. description: 是否限制建仓量 - 0:不限制 1:限制
  6829. type: integer
  6830. marketid:
  6831. description: 所属市场ID
  6832. type: integer
  6833. modifierid:
  6834. description: 修改人
  6835. type: integer
  6836. modifytime:
  6837. description: 修改时间
  6838. type: string
  6839. outerdealmode:
  6840. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  6841. type: integer
  6842. outergroupcode:
  6843. description: 外部商品组代码[通道交易]
  6844. type: string
  6845. premiumdecimalplace:
  6846. description: 权利金小数位[场外期权]
  6847. type: integer
  6848. premiumspreadalgorithm:
  6849. description: 权利金点差方式[场外期权] 1:比率 2:固定
  6850. type: integer
  6851. premiumspreadvalue:
  6852. description: 权利金点差值[场外期权]
  6853. type: number
  6854. qtydecimalplace:
  6855. description: 成交量小数位
  6856. type: integer
  6857. quotegear:
  6858. description: 行情档位(1-10)
  6859. type: integer
  6860. quoteminunit:
  6861. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6862. type: integer
  6863. quoterid:
  6864. description: 报价商ID[场外期权]
  6865. type: integer
  6866. quotesourcegroupid:
  6867. description: 所属行情源分组ID[参考行情市场用\通道交易]
  6868. type: integer
  6869. syncgoodsqty:
  6870. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  6871. type: integer
  6872. required:
  6873. - goodsgroupid
  6874. - goodsgroupname
  6875. - goodsgroupstatus
  6876. - marketid
  6877. type: object
  6878. models.Goodssortbypreposition:
  6879. properties:
  6880. goodscode:
  6881. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  6882. type: string
  6883. goodsgroupcode:
  6884. description: 品种代码
  6885. type: string
  6886. prepositionqty:
  6887. description: 昨持仓量
  6888. type: integer
  6889. sortindex:
  6890. description: 排序
  6891. type: integer
  6892. tradedate:
  6893. description: 交易日
  6894. type: string
  6895. updatetime:
  6896. description: 更新时间
  6897. type: string
  6898. required:
  6899. - goodscode
  6900. - tradedate
  6901. type: object
  6902. models.Hedgeinnerholderdetail:
  6903. properties:
  6904. accountid:
  6905. description: 账号ID
  6906. type: integer
  6907. buyorsell:
  6908. description: 方向 - 0:买 1:卖
  6909. type: integer
  6910. freezeqty:
  6911. description: 冻结数量 - 按单平使用
  6912. type: integer
  6913. goodsid:
  6914. description: 商品ID
  6915. type: integer
  6916. holderamount:
  6917. description: 持仓金额 [商品币种]
  6918. type: number
  6919. holderdays:
  6920. description: 剩余冻结天数
  6921. type: integer
  6922. holderprice:
  6923. description: 持仓价格
  6924. type: number
  6925. holderqty:
  6926. description: 持仓数量
  6927. type: integer
  6928. marketid:
  6929. description: 市场ID
  6930. type: integer
  6931. openprice:
  6932. description: 建仓价格
  6933. type: number
  6934. openqty:
  6935. description: 建仓数量
  6936. type: integer
  6937. parentaccountid:
  6938. description: 所属母账户
  6939. type: integer
  6940. releaseamount:
  6941. description: 释放持仓金额[商品币种]
  6942. type: number
  6943. tradeamount:
  6944. description: 成交金额[账户]
  6945. type: number
  6946. tradedate:
  6947. description: 交易日(yyyyMMdd)
  6948. type: string
  6949. tradeid:
  6950. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6951. type: string
  6952. tradetime:
  6953. description: 交易时间
  6954. type: string
  6955. required:
  6956. - buyorsell
  6957. - tradeid
  6958. type: object
  6959. models.Hedgemarketopenlog:
  6960. properties:
  6961. accountid:
  6962. description: 资金账号[外部母账户]
  6963. type: integer
  6964. fcname:
  6965. description: 期货公司名称
  6966. type: string
  6967. handlestatus:
  6968. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  6969. type: integer
  6970. marketid:
  6971. description: 市场ID
  6972. type: integer
  6973. status:
  6974. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  6975. type: integer
  6976. tradedate:
  6977. description: 交易日(yyyyMMdd)
  6978. type: string
  6979. updatetime:
  6980. description: 更新时间
  6981. type: string
  6982. required:
  6983. - accountid
  6984. type: object
  6985. models.HsbyBuyMyPayOrder:
  6986. properties:
  6987. agreeunit:
  6988. description: 合约单位
  6989. type: number
  6990. buyaccountid:
  6991. description: 买方账号ID[报价币种]
  6992. type: integer
  6993. buyorderid:
  6994. description: 买方委托单号
  6995. type: string
  6996. createtime:
  6997. description: 创建时间
  6998. type: string
  6999. currencysign:
  7000. description: 货币符号
  7001. type: string
  7002. decimalplace:
  7003. description: 报价小数位
  7004. type: integer
  7005. goodscode:
  7006. description: 商品代码(内部)
  7007. type: string
  7008. goodsid:
  7009. description: 商品ID
  7010. type: integer
  7011. goodsname:
  7012. description: 商品名称
  7013. type: string
  7014. marketid:
  7015. description: 市场ID
  7016. type: integer
  7017. offamount:
  7018. description: 优惠金额
  7019. type: number
  7020. originalamount:
  7021. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  7022. type: number
  7023. payamount:
  7024. description: 支付金额 = TradeAmount + TradeCharge
  7025. type: number
  7026. payflag:
  7027. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  7028. type: integer
  7029. paylimitedtime:
  7030. description: 支付期限
  7031. type: string
  7032. paytime:
  7033. description: 付款时间
  7034. type: string
  7035. picurls1:
  7036. description: 预售商品介绍图片[多张用逗号分隔]
  7037. type: string
  7038. picurls2:
  7039. description: 挂牌商品介绍图片[多张用逗号分隔]
  7040. type: string
  7041. sellaccountid:
  7042. description: 卖方账号ID[报价币种]
  7043. type: integer
  7044. sellorderid:
  7045. description: 卖方委托单号
  7046. type: string
  7047. tradeamount:
  7048. description: 成交金额
  7049. type: number
  7050. tradecharge:
  7051. description: 成交手续费(买方)
  7052. type: number
  7053. tradedate:
  7054. description: 交易日(yyyyMMdd)
  7055. type: string
  7056. tradeid:
  7057. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7058. type: string
  7059. trademode:
  7060. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7061. 21:竞拍-大宗式 22:受托竞价
  7062. type: integer
  7063. tradeprice:
  7064. description: 成交价格
  7065. type: number
  7066. tradeqty:
  7067. description: 成交数量
  7068. type: integer
  7069. vendorname1:
  7070. description: 预售商品供应商名称
  7071. type: string
  7072. vendorname2:
  7073. description: 挂牌商品供应商名称
  7074. type: string
  7075. required:
  7076. - goodscode
  7077. - goodsname
  7078. - tradeid
  7079. - trademode
  7080. type: object
  7081. models.HsbyBuyMyTradeDetail:
  7082. properties:
  7083. accountid:
  7084. description: 账户ID[报价币种]
  7085. type: integer
  7086. agreeunit:
  7087. description: 合约单位
  7088. type: number
  7089. amount:
  7090. description: 金额 = 价格 * 数量 * 合约单位
  7091. type: number
  7092. buyorsell:
  7093. description: 买卖 - 0:买 1:卖
  7094. type: integer
  7095. currencysign:
  7096. description: 货币符号
  7097. type: string
  7098. decimalplace:
  7099. description: 报价小数位
  7100. type: integer
  7101. goodscode:
  7102. description: 商品代码(内部)
  7103. type: string
  7104. goodsid:
  7105. description: 商品ID
  7106. type: integer
  7107. goodsname:
  7108. description: 商品名称
  7109. type: string
  7110. marketid:
  7111. description: 市场ID
  7112. type: integer
  7113. orderamount:
  7114. description: 委托金额
  7115. type: number
  7116. orderid:
  7117. description: 单号(成交单号)
  7118. type: string
  7119. picurls1:
  7120. description: 预售商品介绍图片[多张用逗号分隔]
  7121. type: string
  7122. picurls2:
  7123. description: 挂牌商品介绍图片[多张用逗号分隔]
  7124. type: string
  7125. price:
  7126. description: 价格
  7127. type: number
  7128. qty:
  7129. description: 数量
  7130. type: integer
  7131. time:
  7132. description: 时间
  7133. type: string
  7134. trademode:
  7135. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7136. 21:竞拍-大宗式 22:受托竞价
  7137. type: integer
  7138. vendorname1:
  7139. description: 预售商品供应商名称
  7140. type: string
  7141. vendorname2:
  7142. description: 挂牌商品供应商名称
  7143. type: string
  7144. required:
  7145. - accountid
  7146. - buyorsell
  7147. - goodscode
  7148. - goodsid
  7149. - goodsname
  7150. - marketid
  7151. - orderid
  7152. - qty
  7153. - time
  7154. - trademode
  7155. type: object
  7156. models.HsbyGoodsOrderDetail:
  7157. properties:
  7158. buyorsell:
  7159. description: 买卖 - 0:买 1:卖
  7160. type: integer
  7161. currencysign:
  7162. description: 货币符号
  7163. type: string
  7164. customername:
  7165. description: 客户名称(企业名称),已脱敏
  7166. type: string
  7167. enableqty:
  7168. description: 可用数量
  7169. type: integer
  7170. goodunit:
  7171. description: 报价单位
  7172. type: string
  7173. orderid:
  7174. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7175. type: string
  7176. orderprice:
  7177. description: 委托价格
  7178. type: number
  7179. ordertime:
  7180. description: 委托时间
  7181. type: string
  7182. required:
  7183. - buyorsell
  7184. - orderid
  7185. - ordertime
  7186. type: object
  7187. models.HsbyListingGoodsDetail:
  7188. properties:
  7189. agreeunit:
  7190. description: 合约单位
  7191. type: number
  7192. buymaxqty:
  7193. description: 购买上限 [71] - 0为不限
  7194. type: integer
  7195. currency:
  7196. description: 货币
  7197. type: string
  7198. currencysign:
  7199. description: 货币符号
  7200. type: string
  7201. decimalplace:
  7202. description: 报价小数位
  7203. type: integer
  7204. desccityid:
  7205. description: 目的地(市)ID
  7206. type: integer
  7207. descprovinceid:
  7208. description: 目的地(省)ID
  7209. type: integer
  7210. goodscode:
  7211. description: 商品代码(内部)
  7212. type: string
  7213. goodsdesc:
  7214. description: 商品详情
  7215. type: string
  7216. goodsid:
  7217. description: 商品ID(自增ID SEQ_GOODS)
  7218. type: integer
  7219. goodsname:
  7220. description: 商品名称
  7221. type: string
  7222. goodsprice:
  7223. description: 商品价格
  7224. type: number
  7225. hotindex:
  7226. description: 景点热度
  7227. type: integer
  7228. last:
  7229. description: 现价
  7230. type: number
  7231. limitdown:
  7232. description: 跌停价
  7233. type: number
  7234. limitup:
  7235. description: 涨停价
  7236. type: number
  7237. lotsize:
  7238. description: 手数最小变动单位
  7239. type: integer
  7240. marketid:
  7241. description: 所属市场ID
  7242. type: integer
  7243. picurls:
  7244. description: 介绍图片[多张用逗号分隔]
  7245. type: string
  7246. quoteminunit:
  7247. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7248. type: integer
  7249. stepvalue:
  7250. description: 价格最小变动单位
  7251. type: number
  7252. trademode:
  7253. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7254. 21:竞拍-大宗式 22:受托竞价
  7255. type: integer
  7256. vendorattr:
  7257. description: 供应商附件(多张,逗号分隔)
  7258. type: string
  7259. vendorname:
  7260. description: 供应商名称
  7261. type: string
  7262. vendorphone:
  7263. description: 供应商客服电话
  7264. type: string
  7265. videourls:
  7266. description: 介绍视频[多张用逗号分隔]
  7267. type: string
  7268. required:
  7269. - goodscode
  7270. - goodsid
  7271. - goodsname
  7272. - marketid
  7273. - trademode
  7274. type: object
  7275. models.HsbyMarketGoods:
  7276. properties:
  7277. accountid:
  7278. description: 账户ID[报价币种]
  7279. type: integer
  7280. agreeunit:
  7281. description: 合约单位
  7282. type: number
  7283. buyorsell:
  7284. description: 买卖 - 0:买 1:卖
  7285. type: integer
  7286. categoryid:
  7287. description: 类别ID(WRCATEGORY)
  7288. type: integer
  7289. currency:
  7290. description: 货币
  7291. type: string
  7292. currencysign:
  7293. description: 货币符号
  7294. type: string
  7295. customername:
  7296. description: 卖家名称
  7297. type: string
  7298. decimalplace:
  7299. description: 报价小数位
  7300. type: integer
  7301. goodscode:
  7302. description: 商品代码(内部)
  7303. type: string
  7304. goodsid:
  7305. description: 商品ID
  7306. type: integer
  7307. goodsname:
  7308. description: 商品名称
  7309. type: string
  7310. goodsprice:
  7311. description: 商品价格
  7312. type: number
  7313. hascoupon:
  7314. description: 是否可用优惠卷
  7315. type: boolean
  7316. hotindex:
  7317. description: 景点热度
  7318. type: integer
  7319. marketid:
  7320. description: 市场ID
  7321. type: integer
  7322. orderid:
  7323. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7324. type: string
  7325. orderprice:
  7326. description: 委托价格
  7327. type: number
  7328. orderstatus:
  7329. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  7330. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  7331. 16:成交失败违约(荷兰式竞拍专用)
  7332. type: integer
  7333. picurls:
  7334. description: 介绍图片[多张用逗号分隔]
  7335. type: string
  7336. quoteminunit:
  7337. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7338. type: integer
  7339. sellUserID:
  7340. description: 卖方UserID
  7341. type: integer
  7342. trademode:
  7343. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7344. 21:竞拍-大宗式 22:受托竞价
  7345. type: integer
  7346. videourls:
  7347. description: 介绍视频[多张用逗号分隔]
  7348. type: string
  7349. required:
  7350. - accountid
  7351. - buyorsell
  7352. - goodscode
  7353. - goodsid
  7354. - goodsname
  7355. - marketid
  7356. - orderid
  7357. - trademode
  7358. type: object
  7359. models.HsbyMarketGoodsDetail:
  7360. properties:
  7361. accountid:
  7362. description: 账户ID[报价币种]
  7363. type: integer
  7364. agreeunit:
  7365. description: 合约单位
  7366. type: number
  7367. buymaxqty:
  7368. description: 购买上限 [71] - 0为不限
  7369. type: integer
  7370. buyorsell:
  7371. description: 买卖 - 0:买 1:卖
  7372. type: integer
  7373. cancelqty:
  7374. description: 撤单数量
  7375. type: integer
  7376. categoryid:
  7377. description: 类别ID(WRCATEGORY)
  7378. type: integer
  7379. currency:
  7380. description: 货币
  7381. type: string
  7382. currencysign:
  7383. description: 货币符号
  7384. type: string
  7385. customername:
  7386. description: 卖家名称
  7387. type: string
  7388. decimalplace:
  7389. description: 报价小数位
  7390. type: integer
  7391. goodscode:
  7392. description: 商品代码(内部)
  7393. type: string
  7394. goodsdesc:
  7395. description: 商品详情
  7396. type: string
  7397. goodsid:
  7398. description: 商品ID
  7399. type: integer
  7400. goodsname:
  7401. description: 商品名称
  7402. type: string
  7403. goodsprice:
  7404. description: 商品价格
  7405. type: number
  7406. hotindex:
  7407. description: 景点热度
  7408. type: integer
  7409. lotsize:
  7410. description: 手数最小变动单位
  7411. type: integer
  7412. marketid:
  7413. description: 市场ID
  7414. type: integer
  7415. orderid:
  7416. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7417. type: string
  7418. orderprice:
  7419. description: 委托价格
  7420. type: number
  7421. orderqty:
  7422. description: 委托数量
  7423. type: integer
  7424. orderstatus:
  7425. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  7426. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  7427. 16:成交失败违约(荷兰式竞拍专用)
  7428. type: integer
  7429. picurls:
  7430. description: 介绍图片[多张用逗号分隔]
  7431. type: string
  7432. quoteminunit:
  7433. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7434. type: integer
  7435. sellUserID:
  7436. description: 卖方UserID
  7437. type: integer
  7438. trademode:
  7439. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7440. 21:竞拍-大宗式 22:受托竞价
  7441. type: integer
  7442. tradeqty:
  7443. description: 成交数量
  7444. type: integer
  7445. vendorattr:
  7446. description: 供应商附件(多张,逗号分隔)
  7447. type: string
  7448. vendorname:
  7449. description: 供应商名称
  7450. type: string
  7451. vendorphone:
  7452. description: 供应商客服电话
  7453. type: string
  7454. videourls:
  7455. description: 介绍视频[多张用逗号分隔]
  7456. type: string
  7457. required:
  7458. - accountid
  7459. - buyorsell
  7460. - goodscode
  7461. - goodsid
  7462. - goodsname
  7463. - marketid
  7464. - orderid
  7465. - orderqty
  7466. - trademode
  7467. type: object
  7468. models.HsbyMarketInfo:
  7469. properties:
  7470. marketid:
  7471. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  7472. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  7473. type: integer
  7474. marketname:
  7475. description: 市场名称
  7476. type: string
  7477. marketstatus:
  7478. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  7479. type: integer
  7480. trademode:
  7481. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7482. 21:竞拍-大宗式 22:受托竞价
  7483. type: integer
  7484. required:
  7485. - marketid
  7486. - marketstatus
  7487. - trademode
  7488. type: object
  7489. models.HsbyMyGoods:
  7490. properties:
  7491. accountid:
  7492. description: 账号Id
  7493. type: integer
  7494. agreeunit:
  7495. description: 合约单位
  7496. type: number
  7497. buyaverageprice:
  7498. description: 持仓均价
  7499. type: number
  7500. buycurholderamount:
  7501. description: 买当前持仓总金额[商品币种]
  7502. type: number
  7503. buycurpositionqty:
  7504. description: 买当前持仓总数量
  7505. type: integer
  7506. buymaxqty:
  7507. description: 购买上限 [71] - 0为不限
  7508. type: integer
  7509. currencysign:
  7510. description: 货币符号
  7511. type: string
  7512. decimalplace:
  7513. description: 报价小数位
  7514. type: integer
  7515. enableqty:
  7516. description: 可用数量
  7517. type: integer
  7518. goodscode:
  7519. description: 商品代码(内部)
  7520. type: string
  7521. goodsid:
  7522. description: 商品Id
  7523. type: integer
  7524. goodsname:
  7525. description: 商品名称
  7526. type: string
  7527. goodsprice:
  7528. description: 商品价格
  7529. type: number
  7530. goodsstatus:
  7531. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  7532. type: integer
  7533. last:
  7534. description: 现价(仅使用于挂牌点选)
  7535. type: number
  7536. limitdown:
  7537. description: 跌停价(仅使用于挂牌点选)
  7538. type: number
  7539. limitup:
  7540. description: 涨停价(仅使用于挂牌点选)
  7541. type: number
  7542. lotsize:
  7543. description: 手数最小变动单位
  7544. type: integer
  7545. marketid:
  7546. description: 所属市场ID
  7547. type: integer
  7548. picurls:
  7549. description: 介绍图片[多张用逗号分隔]
  7550. type: string
  7551. quoteminunit:
  7552. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7553. type: integer
  7554. stepvalue:
  7555. description: 价格最小变动单位
  7556. type: number
  7557. trademode:
  7558. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7559. 21:竞拍-大宗式 22:受托竞价
  7560. type: integer
  7561. required:
  7562. - accountid
  7563. - goodscode
  7564. - goodsid
  7565. - goodsname
  7566. - marketid
  7567. - trademode
  7568. type: object
  7569. models.HsbyMyPackage:
  7570. properties:
  7571. accountid:
  7572. description: 账户ID
  7573. type: integer
  7574. address:
  7575. description: 提货人详细地址
  7576. type: string
  7577. agreeunit:
  7578. description: 合约单位
  7579. type: number
  7580. amount:
  7581. description: 提货金额
  7582. type: number
  7583. auditer:
  7584. description: 审核人
  7585. type: integer
  7586. audittime:
  7587. description: 审核时间
  7588. type: string
  7589. averageprice:
  7590. description: 均价
  7591. type: number
  7592. cardnum:
  7593. description: 提货人证件号码
  7594. type: string
  7595. cardtypeid:
  7596. description: 提货人证件类型
  7597. type: integer
  7598. checkremark:
  7599. description: 审核备注
  7600. type: string
  7601. currencysign:
  7602. description: 货币符号
  7603. type: string
  7604. decimalplace:
  7605. description: 报价小数位
  7606. type: integer
  7607. goodscode:
  7608. description: 商品代码(内部)
  7609. type: string
  7610. goodsid:
  7611. description: 商品ID
  7612. type: integer
  7613. goodsname:
  7614. description: 商品名称
  7615. type: string
  7616. handlestatus:
  7617. description: 处理状态
  7618. type: integer
  7619. marketid:
  7620. description: 市场ID
  7621. type: integer
  7622. phonenum:
  7623. description: 提货人联系方式
  7624. type: string
  7625. picurls:
  7626. description: 介绍图片[多张用逗号分隔]
  7627. type: string
  7628. qty:
  7629. description: 提货数量
  7630. type: number
  7631. recivername:
  7632. description: 提货人姓名
  7633. type: string
  7634. reqtime:
  7635. description: 更新时间
  7636. type: string
  7637. takemode:
  7638. description: 提货方式 - 2:自提 3:配送
  7639. type: integer
  7640. takeorderid:
  7641. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  7642. type: string
  7643. takeorderstatus:
  7644. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  7645. type: integer
  7646. takeremark:
  7647. description: 提货备注
  7648. type: string
  7649. tradedate:
  7650. description: 交易日(yyyyMMdd)
  7651. type: string
  7652. trademode:
  7653. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7654. 21:竞拍-大宗式 22:受托竞价
  7655. type: integer
  7656. userid:
  7657. description: 用户ID
  7658. type: integer
  7659. vendorname:
  7660. description: 供应商名称
  7661. type: string
  7662. required:
  7663. - goodscode
  7664. - goodsname
  7665. - takeorderid
  7666. - trademode
  7667. type: object
  7668. models.HsbyPreGoods:
  7669. properties:
  7670. agreeunit:
  7671. description: 合约单位
  7672. type: number
  7673. currency:
  7674. description: 货币
  7675. type: string
  7676. currencysign:
  7677. description: 货币符号
  7678. type: string
  7679. decimalplace:
  7680. description: 报价小数位
  7681. type: integer
  7682. desccityid:
  7683. description: 目的地(市)
  7684. type: integer
  7685. descprovinceid:
  7686. description: 目的地(省)
  7687. type: integer
  7688. enableqty:
  7689. description: 剩余数量
  7690. type: integer
  7691. goodscode:
  7692. description: 商品代码(内部)
  7693. type: string
  7694. goodsid:
  7695. description: 商品ID(自增ID SEQ_GOODS)
  7696. type: integer
  7697. goodsname:
  7698. description: 商品名称
  7699. type: string
  7700. goodsstatus:
  7701. description: 商品状态- 2:未上市 3:上市
  7702. type: integer
  7703. lasttradedate:
  7704. description: 最后交易日期(状态:待退市)
  7705. type: string
  7706. listingdate:
  7707. description: 交易开始日期
  7708. type: string
  7709. marketid:
  7710. description: 所属市场ID
  7711. type: integer
  7712. picurls:
  7713. description: 介绍图片[多张用逗号分隔]
  7714. type: string
  7715. presaledqty:
  7716. description: 已预售量(预售结束时更新)
  7717. type: integer
  7718. presaleqty:
  7719. description: 预售数量
  7720. type: integer
  7721. quoteminunit:
  7722. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7723. type: integer
  7724. refprice:
  7725. description: 参考价格[一口价]
  7726. type: number
  7727. relatedgoodsid:
  7728. description: 关联交易合约ID
  7729. type: integer
  7730. trademode:
  7731. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7732. 21:竞拍-大宗式 22:受托竞价
  7733. type: integer
  7734. videourls:
  7735. description: 介绍视频[多张用逗号分隔]
  7736. type: string
  7737. required:
  7738. - goodscode
  7739. - goodsid
  7740. - goodsname
  7741. - marketid
  7742. - trademode
  7743. type: object
  7744. models.HsbyPreGoodsDetail:
  7745. properties:
  7746. agreeunit:
  7747. description: 合约单位
  7748. type: number
  7749. buymaxqty:
  7750. description: 购买上限 [71] - 0为不限
  7751. type: integer
  7752. currency:
  7753. description: 货币
  7754. type: string
  7755. currencysign:
  7756. description: 货币符号
  7757. type: string
  7758. customername:
  7759. description: 发行单位
  7760. type: string
  7761. decimalplace:
  7762. description: 报价小数位
  7763. type: integer
  7764. desccityid:
  7765. description: 目的地(市)ID
  7766. type: integer
  7767. descprovinceid:
  7768. description: 目的地(省)ID
  7769. type: integer
  7770. enableqty:
  7771. description: 剩余数量
  7772. type: integer
  7773. goodscode:
  7774. description: 商品代码(内部)
  7775. type: string
  7776. goodsdesc:
  7777. description: 商品详情
  7778. type: string
  7779. goodsid:
  7780. description: 商品ID(自增ID SEQ_GOODS)
  7781. type: integer
  7782. goodsname:
  7783. description: 商品名称
  7784. type: string
  7785. goodsstatus:
  7786. description: 商品状态- 2:未上市 3:上市
  7787. type: integer
  7788. goodunit:
  7789. description: 报价单位
  7790. type: string
  7791. lasttradedate:
  7792. description: 最后交易日期(状态:待退市)
  7793. type: string
  7794. listingdate:
  7795. description: 交易开始日期
  7796. type: string
  7797. lotsize:
  7798. description: 手数最小变动单位
  7799. type: integer
  7800. marketid:
  7801. description: 所属市场ID
  7802. type: integer
  7803. picurls:
  7804. description: 介绍图片[多张用逗号分隔]
  7805. type: string
  7806. presaledqty:
  7807. description: 已预售量(预售结束时更新)
  7808. type: integer
  7809. presaleqty:
  7810. description: 预售数量
  7811. type: integer
  7812. quoteminunit:
  7813. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7814. type: integer
  7815. refprice:
  7816. description: 参考价格[一口价]
  7817. type: number
  7818. relatedgoodsid:
  7819. description: 关联交易合约ID
  7820. type: integer
  7821. stepvalue:
  7822. description: 价格最小变动单位
  7823. type: number
  7824. trademode:
  7825. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7826. 21:竞拍-大宗式 22:受托竞价
  7827. type: integer
  7828. vendorattr:
  7829. description: 供应商附件(多张,逗号分隔)
  7830. type: string
  7831. vendorname:
  7832. description: 供应商名称
  7833. type: string
  7834. vendorphone:
  7835. description: 供应商客服电话
  7836. type: string
  7837. videourls:
  7838. description: 介绍视频[多张用逗号分隔]
  7839. type: string
  7840. required:
  7841. - goodscode
  7842. - goodsid
  7843. - goodsname
  7844. - marketid
  7845. - trademode
  7846. type: object
  7847. models.HsbySellCollectionOrder:
  7848. properties:
  7849. agreeunit:
  7850. description: 合约单位
  7851. type: number
  7852. buyaccountid:
  7853. description: 买方账号ID[报价币种]
  7854. type: integer
  7855. buyorderid:
  7856. description: 买方委托单号
  7857. type: string
  7858. createtime:
  7859. description: 创建时间
  7860. type: string
  7861. currencysign:
  7862. description: 货币符号
  7863. type: string
  7864. decimalplace:
  7865. description: 报价小数位
  7866. type: integer
  7867. goodscode:
  7868. description: 商品代码(内部)
  7869. type: string
  7870. goodsid:
  7871. description: 商品ID
  7872. type: integer
  7873. goodsname:
  7874. description: 商品名称
  7875. type: string
  7876. marketid:
  7877. description: 市场ID
  7878. type: integer
  7879. offamount:
  7880. description: 优惠金额
  7881. type: number
  7882. payamount:
  7883. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  7884. type: number
  7885. payflag:
  7886. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  7887. type: integer
  7888. paylimitedtime:
  7889. description: 支付期限
  7890. type: string
  7891. paytime:
  7892. description: 付款时间
  7893. type: string
  7894. picurls:
  7895. description: 商品介绍图片[多张用逗号分隔]
  7896. type: string
  7897. sellaccountid:
  7898. description: 卖方账号ID[报价币种]
  7899. type: integer
  7900. sellorderid:
  7901. description: 卖方委托单号
  7902. type: string
  7903. tradeamount:
  7904. description: 成交金额
  7905. type: number
  7906. tradecharge:
  7907. description: 成交手续费(买方)
  7908. type: number
  7909. tradedate:
  7910. description: 交易日(yyyyMMdd)
  7911. type: string
  7912. tradeid:
  7913. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7914. type: string
  7915. trademode:
  7916. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7917. 21:竞拍-大宗式 22:受托竞价
  7918. type: integer
  7919. tradeprice:
  7920. description: 成交价格
  7921. type: number
  7922. tradeqty:
  7923. description: 成交数量
  7924. type: integer
  7925. required:
  7926. - goodscode
  7927. - goodsname
  7928. - tradeid
  7929. - trademode
  7930. type: object
  7931. models.HsbySellMyDetail:
  7932. properties:
  7933. accountid:
  7934. description: 账户ID[报价币种]
  7935. type: integer
  7936. agreeunit:
  7937. description: 合约单位
  7938. type: number
  7939. buyorsell:
  7940. description: 买卖 - 0:买 1:卖
  7941. type: integer
  7942. currencysign:
  7943. description: 货币符号
  7944. type: string
  7945. decimalplace:
  7946. description: 报价小数位
  7947. type: integer
  7948. goodscode:
  7949. description: 商品代码(内部)
  7950. type: string
  7951. goodsid:
  7952. description: 商品ID
  7953. type: integer
  7954. goodsname:
  7955. description: 商品名称
  7956. type: string
  7957. marketid:
  7958. description: 市场ID
  7959. type: integer
  7960. orderid:
  7961. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  7962. type: string
  7963. ordertype:
  7964. description: 单据类型:0 - 发布中, 1 - 已完成
  7965. type: integer
  7966. picurls:
  7967. description: 介绍图片[多张用逗号分隔]
  7968. type: string
  7969. price:
  7970. description: 价格
  7971. type: number
  7972. qty:
  7973. description: 数量
  7974. type: integer
  7975. time:
  7976. description: 时间
  7977. type: string
  7978. trademode:
  7979. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7980. 21:竞拍-大宗式 22:受托竞价
  7981. type: integer
  7982. vendorname:
  7983. description: 供应商名称
  7984. type: string
  7985. required:
  7986. - accountid
  7987. - buyorsell
  7988. - goodscode
  7989. - goodsid
  7990. - goodsname
  7991. - marketid
  7992. - orderid
  7993. - time
  7994. - trademode
  7995. type: object
  7996. models.HsbyTopGoods:
  7997. properties:
  7998. agreeunit:
  7999. description: 合约单位
  8000. type: number
  8001. currency:
  8002. description: 货币
  8003. type: string
  8004. currencysign:
  8005. description: 货币符号
  8006. type: string
  8007. decimalplace:
  8008. description: 报价小数位
  8009. type: integer
  8010. desccityid:
  8011. description: 目的地(市)
  8012. type: integer
  8013. descprovinceid:
  8014. description: 目的地(省)
  8015. type: integer
  8016. goodscode:
  8017. description: 商品代码(内部)
  8018. type: string
  8019. goodsid:
  8020. description: 商品ID(自增ID SEQ_GOODS)
  8021. type: integer
  8022. goodsname:
  8023. description: 商品名称
  8024. type: string
  8025. hotindex:
  8026. description: 景点热度
  8027. type: integer
  8028. last:
  8029. description: 现价
  8030. type: number
  8031. marketid:
  8032. description: 所属市场ID
  8033. type: integer
  8034. picurls:
  8035. description: 介绍图片[多张用逗号分隔]
  8036. type: string
  8037. quoteminunit:
  8038. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8039. type: integer
  8040. trademode:
  8041. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8042. 21:竞拍-大宗式 22:受托竞价
  8043. type: integer
  8044. videourls:
  8045. description: 介绍视频[多张用逗号分隔]
  8046. type: string
  8047. required:
  8048. - goodscode
  8049. - goodsid
  8050. - goodsname
  8051. - marketid
  8052. - trademode
  8053. type: object
  8054. models.HybsMyBuyOrderDetail:
  8055. properties:
  8056. accountid:
  8057. description: 账户ID[报价币种]
  8058. type: integer
  8059. agreeunit:
  8060. description: 合约单位
  8061. type: number
  8062. buyorsell:
  8063. description: 买卖 - 0:买 1:卖
  8064. type: integer
  8065. cancelqty:
  8066. description: 撤单数量
  8067. type: integer
  8068. currencysign:
  8069. description: 货币符号
  8070. type: string
  8071. decimalplace:
  8072. description: 报价小数位
  8073. type: integer
  8074. goodscode:
  8075. description: 商品代码(内部)
  8076. type: string
  8077. goodsid:
  8078. description: 商品ID
  8079. type: integer
  8080. goodsname:
  8081. description: 商品名称
  8082. type: string
  8083. listingselecttype:
  8084. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  8085. type: integer
  8086. marketid:
  8087. description: 市场ID
  8088. type: integer
  8089. mybuystatus:
  8090. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  8091. type: integer
  8092. orderamount:
  8093. description: 委托金额
  8094. type: number
  8095. orderid:
  8096. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8097. type: string
  8098. orderprice:
  8099. description: 委托价格
  8100. type: number
  8101. orderqty:
  8102. description: 委托数量
  8103. type: integer
  8104. orderstatus:
  8105. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8106. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8107. 16:成交失败违约(荷兰式竞拍专用)
  8108. type: integer
  8109. ordertime:
  8110. description: 委托时间
  8111. type: string
  8112. picurls1:
  8113. description: 预售商品介绍图片[多张用逗号分隔]
  8114. type: string
  8115. picurls2:
  8116. description: 挂牌商品介绍图片[多张用逗号分隔]
  8117. type: string
  8118. trademode:
  8119. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8120. 21:竞拍-大宗式 22:受托竞价
  8121. type: integer
  8122. tradeqty:
  8123. description: 成交数量
  8124. type: integer
  8125. vendorname1:
  8126. description: 预售商品供应商名称
  8127. type: string
  8128. vendorname2:
  8129. description: 挂牌商品供应商名称
  8130. type: string
  8131. required:
  8132. - accountid
  8133. - buyorsell
  8134. - goodscode
  8135. - goodsid
  8136. - goodsname
  8137. - marketid
  8138. - orderid
  8139. - orderqty
  8140. - ordertime
  8141. - trademode
  8142. type: object
  8143. models.Loginaccount:
  8144. properties:
  8145. canoutin:
  8146. description: 是否可出入金 - 0:不可 1:可
  8147. type: integer
  8148. clientroleid:
  8149. description: 终端角色ID
  8150. type: integer
  8151. haslogined:
  8152. description: 是否已登录 - 0:未登录 1:已登录
  8153. type: integer
  8154. hasupdatedpwd:
  8155. description: 是否已更改密码 - 0:未修改 1:已修改
  8156. type: integer
  8157. lastloginip:
  8158. description: 最新登录地址
  8159. type: string
  8160. lastloginmode:
  8161. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  8162. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  8163. type: integer
  8164. lastloginremark:
  8165. description: 最新登录描述
  8166. type: string
  8167. lastlogintime:
  8168. description: 最新登录时间
  8169. type: string
  8170. logincode:
  8171. description: 登录代码
  8172. type: string
  8173. loginfailnum:
  8174. description: 连续登录失败次数(登录成功时清零)
  8175. type: integer
  8176. loginid:
  8177. description: 登陆账号
  8178. type: integer
  8179. loginport:
  8180. description: 最新登录端口
  8181. type: integer
  8182. loginstatus:
  8183. description: 登录账号状态 1:正常 2:冻结 3:无效
  8184. type: integer
  8185. loginusertype:
  8186. description: 登录账号类型 - 1:投资者 2:机构交易员
  8187. type: integer
  8188. modifierid:
  8189. description: 修改人
  8190. type: integer
  8191. modifytime:
  8192. description: 修改时间
  8193. type: string
  8194. pwdwrongcount:
  8195. description: 密码错误次数
  8196. type: integer
  8197. taaccountrighttype:
  8198. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  8199. type: integer
  8200. unfreezetime:
  8201. description: 账户解冻时间
  8202. type: string
  8203. userid:
  8204. description: 用户ID
  8205. type: integer
  8206. required:
  8207. - loginid
  8208. type: object
  8209. models.MainAccountInfo:
  8210. properties:
  8211. accountid:
  8212. description: 账号id
  8213. type: integer
  8214. accountname:
  8215. description: 账号名称(taaccount表中的名称)
  8216. type: string
  8217. appid:
  8218. description: AppID
  8219. type: string
  8220. authcode:
  8221. description: 授权码
  8222. type: string
  8223. brokerid:
  8224. description: 经纪商id
  8225. type: string
  8226. fcid:
  8227. description: 期货公司id
  8228. type: integer
  8229. fcname:
  8230. description: 期货公司代码
  8231. type: string
  8232. hedgeaccountcode:
  8233. description: 外部账号代码(主账号登录代码)
  8234. type: string
  8235. hedgeaccountpwd:
  8236. description: 密码
  8237. type: string
  8238. ismain:
  8239. description: 是否主账号
  8240. type: integer
  8241. relateduserid:
  8242. description: 关联用户id
  8243. type: integer
  8244. userid:
  8245. description: 关联用户id
  8246. type: integer
  8247. type: object
  8248. models.Market:
  8249. properties:
  8250. auctionwrtype:
  8251. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  8252. type: integer
  8253. canacceptquote:
  8254. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  8255. type: integer
  8256. cangoodsexercise:
  8257. description: '[期权]是否可现货行权- 0:否 1:是'
  8258. type: integer
  8259. cangoodsexercisetype:
  8260. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  8261. type: integer
  8262. canmanualquotestrike:
  8263. description: 是否可手动报行权价- 0:否 1:是 [期权]
  8264. type: integer
  8265. canmutistage:
  8266. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  8267. type: integer
  8268. canpreexercise:
  8269. description: '[期权]是否可预申报- 0:否 1:是'
  8270. type: integer
  8271. clearinterval:
  8272. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  8273. type: integer
  8274. contracttmp:
  8275. description: 合同模板[荷兰式][竞价式][仓单贸易]
  8276. type: string
  8277. exchareaid:
  8278. description: 所属交易所,可以没有
  8279. type: integer
  8280. goodstype:
  8281. description: 商品类型 - 1:交易商品 2:仓单商品
  8282. type: integer
  8283. hasrebate:
  8284. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  8285. type: integer
  8286. hastradecredit:
  8287. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  8288. type: integer
  8289. haswr:
  8290. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  8291. type: integer
  8292. isdeductmargin:
  8293. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  8294. type: integer
  8295. isrecordsource:
  8296. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  8297. type: integer
  8298. isreleasemargin:
  8299. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  8300. type: integer
  8301. marginformula:
  8302. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  8303. type: integer
  8304. marginformula2:
  8305. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  8306. type: integer
  8307. marketid:
  8308. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  8309. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  8310. type: integer
  8311. marketname:
  8312. description: 市场名称
  8313. type: string
  8314. marketserviceid:
  8315. description: 市场服务ID
  8316. type: integer
  8317. marketstatus:
  8318. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  8319. type: integer
  8320. markettype:
  8321. description: 市场类型- 1:非交易服务 2:交易服务
  8322. type: integer
  8323. matchermode:
  8324. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  8325. type: integer
  8326. openmethod:
  8327. description: 开盘模式 - 0 自动 1手动
  8328. type: integer
  8329. otcuserid:
  8330. description: 场外期权做市商[场外期权]
  8331. type: integer
  8332. outersynctime:
  8333. description: 外部同步时间点(h24:mi:ss)[场外期权]
  8334. type: string
  8335. pendingflag:
  8336. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  8337. type: integer
  8338. pendingtime:
  8339. description: 待开市时间[通道交易-对冲](HH:mm)
  8340. type: string
  8341. performancetempid:
  8342. description: 履约计划模板ID - 作废
  8343. type: integer
  8344. premiumquotemode:
  8345. description: 权利金报价方式 - 1:自动 2:手动
  8346. type: integer
  8347. rebateratio:
  8348. description: 返利比率[竞价式]
  8349. type: number
  8350. reckonorder:
  8351. description: 结算顺序
  8352. type: integer
  8353. reckonpricealgorithm:
  8354. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  8355. 6.卖一价 7.买一卖一均价 8.外部结算价'
  8356. type: integer
  8357. reckonpriceparam:
  8358. description: 结算价参数
  8359. type: integer
  8360. reckontime:
  8361. description: 结算时间[通道交易-对冲](HH:mm)
  8362. type: string
  8363. roleprioritytype:
  8364. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  8365. type: integer
  8366. selllistingauditflag:
  8367. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  8368. type: integer
  8369. trademarkettype:
  8370. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  8371. type: integer
  8372. trademode:
  8373. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8374. 21:竞拍-大宗式 22:受托竞价
  8375. type: integer
  8376. tradeproperty:
  8377. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  8378. 8:场外期权
  8379. type: integer
  8380. tradetype:
  8381. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  8382. type: integer
  8383. required:
  8384. - marketid
  8385. - marketstatus
  8386. - openmethod
  8387. - reckonpricealgorithm
  8388. - trademode
  8389. - tradeproperty
  8390. type: object
  8391. models.Marketrun:
  8392. properties:
  8393. afternexttradedate:
  8394. description: 下下交易日
  8395. type: string
  8396. clearquoteflag:
  8397. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  8398. type: integer
  8399. lastreckondate:
  8400. description: 最新交易日(结算成功)
  8401. type: string
  8402. machinedate:
  8403. description: 机器时间
  8404. type: string
  8405. manualflag:
  8406. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  8407. type: integer
  8408. marketid:
  8409. description: 市场ID
  8410. type: integer
  8411. nexttradedate:
  8412. description: 下一交易日
  8413. type: string
  8414. pretradedate:
  8415. description: 上一交易日
  8416. type: string
  8417. reckonflag:
  8418. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  8419. type: integer
  8420. runstatus:
  8421. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  8422. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  8423. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  8424. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  8425. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  8426. 62.今日免清算
  8427. type: integer
  8428. sectionid:
  8429. description: 时间段号[多时段时用]
  8430. type: integer
  8431. tradedate:
  8432. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  8433. type: string
  8434. tradedate2:
  8435. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  8436. type: string
  8437. updatetime:
  8438. description: 更新时间
  8439. type: string
  8440. required:
  8441. - marketid
  8442. - nexttradedate
  8443. - reckonflag
  8444. - runstatus
  8445. - tradedate
  8446. - tradedate2
  8447. type: object
  8448. models.Messageboard:
  8449. properties:
  8450. contactnum:
  8451. description: 联系电话
  8452. type: string
  8453. createtime:
  8454. description: 创建时间
  8455. type: string
  8456. message:
  8457. description: 留言信息
  8458. type: string
  8459. messageboardid:
  8460. description: 留言簿ID(SEQ_MessageBoard)
  8461. type: integer
  8462. userid:
  8463. description: 用户ID
  8464. type: integer
  8465. required:
  8466. - messageboardid
  8467. type: object
  8468. models.MyCoupon:
  8469. properties:
  8470. accountid:
  8471. description: 资金账户ID
  8472. type: integer
  8473. areauserid:
  8474. description: 所属机构
  8475. type: integer
  8476. conditionvalue:
  8477. description: 条件阈值(可为0)
  8478. type: number
  8479. couponcategroy:
  8480. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  8481. type: integer
  8482. couponname:
  8483. description: 优惠券名称
  8484. type: string
  8485. coupontypeid:
  8486. description: 优惠券类型ID
  8487. type: string
  8488. couponvalue:
  8489. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  8490. type: number
  8491. curfreezeqty:
  8492. description: 期末冻结数量
  8493. type: integer
  8494. curqty:
  8495. description: 期末数量
  8496. type: integer
  8497. isgeneral:
  8498. description: 是否通用券 - 0:否 1:是
  8499. type: integer
  8500. isunusable:
  8501. description: 是否不可用
  8502. type: boolean
  8503. limitedflag:
  8504. description: 是否指定商品 - 0:不限 1:限制
  8505. type: integer
  8506. limitedgoodsids:
  8507. description: 指定商品IDs[逗号分隔,前后加逗号]
  8508. type: string
  8509. orifreezeqty:
  8510. description: 期初冻结数量
  8511. type: integer
  8512. oriqty:
  8513. description: 期初数量
  8514. type: integer
  8515. reasontype:
  8516. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  8517. type: integer
  8518. todaydecrease:
  8519. description: 今日减少
  8520. type: integer
  8521. todayincrease:
  8522. description: 今日增加
  8523. type: integer
  8524. userid:
  8525. description: 用户ID
  8526. type: integer
  8527. userscope:
  8528. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  8529. type: string
  8530. required:
  8531. - accountid
  8532. - coupontypeid
  8533. type: object
  8534. models.MyCouponHold:
  8535. properties:
  8536. accountid:
  8537. description: 资金账户ID
  8538. type: integer
  8539. conditionvalue:
  8540. description: 条件阈值(可为0)
  8541. type: number
  8542. couponcategroy:
  8543. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  8544. type: integer
  8545. couponholdid:
  8546. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  8547. type: string
  8548. couponname:
  8549. description: 优惠券名称
  8550. type: string
  8551. coupontypeid:
  8552. description: 优惠券类型ID - SEQ_COUPONTYPE
  8553. type: string
  8554. couponvalue:
  8555. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  8556. type: number
  8557. createtime:
  8558. description: 创建时间
  8559. type: string
  8560. enddate:
  8561. description: 结束日期
  8562. type: string
  8563. giveapplyid:
  8564. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  8565. type: integer
  8566. holdstatus:
  8567. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  8568. type: integer
  8569. isgeneral:
  8570. description: 是否通用券 - 0:否 1:是
  8571. type: integer
  8572. limitedflag:
  8573. description: 是否指定商品 - 0:不限 1:限制
  8574. type: integer
  8575. limitedgoodsids:
  8576. description: 指定商品IDs[逗号分隔]
  8577. type: string
  8578. qty:
  8579. description: 数量(按1平铺)
  8580. type: integer
  8581. startdate:
  8582. description: 开始日期
  8583. type: string
  8584. userid:
  8585. description: 用户ID
  8586. type: integer
  8587. userscope:
  8588. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  8589. type: string
  8590. required:
  8591. - couponholdid
  8592. type: object
  8593. models.MyUsedCoupon:
  8594. properties:
  8595. accountid:
  8596. description: 资金账户ID(买方)
  8597. type: integer
  8598. conditionvalue:
  8599. description: 条件阈值(可为0)
  8600. type: number
  8601. couponcategroy:
  8602. description: 种类 - 1:现金券 2:折扣券
  8603. type: integer
  8604. couponname:
  8605. description: 优惠券名称
  8606. type: string
  8607. coupontypeid:
  8608. description: 优惠券类型ID(买方)
  8609. type: string
  8610. couponvalue:
  8611. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  8612. type: number
  8613. createtime:
  8614. description: 创建时间
  8615. type: string
  8616. goodsid:
  8617. description: 商品ID
  8618. type: integer
  8619. handlestatus:
  8620. description: 处理状态
  8621. type: integer
  8622. marketid:
  8623. description: 市场ID
  8624. type: integer
  8625. offamount:
  8626. description: 优惠金额
  8627. type: number
  8628. orderid:
  8629. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8630. type: string
  8631. sellaccountid:
  8632. description: 资金账户ID(卖方)
  8633. type: integer
  8634. tradeamount:
  8635. description: 成交金额
  8636. type: number
  8637. tradeid:
  8638. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8639. type: string
  8640. usedqty:
  8641. description: 使用数量
  8642. type: integer
  8643. required:
  8644. - coupontypeid
  8645. - orderid
  8646. type: object
  8647. models.OperationPrimaryMenu:
  8648. properties:
  8649. Children:
  8650. description: 二级功能菜单
  8651. items:
  8652. $ref: '#/definitions/models.OperationSecondaryMenu'
  8653. type: array
  8654. Key:
  8655. description: 菜单KEY
  8656. type: string
  8657. Label:
  8658. description: 菜单标题
  8659. type: string
  8660. type: object
  8661. models.OperationSecondaryMenu:
  8662. properties:
  8663. Key:
  8664. description: 菜单KEY
  8665. type: string
  8666. Label:
  8667. description: 菜单标题
  8668. type: string
  8669. TabList:
  8670. description: 三级功能菜单
  8671. items:
  8672. $ref: '#/definitions/models.OperationTabMenu'
  8673. type: array
  8674. type: object
  8675. models.OperationTabMenu:
  8676. properties:
  8677. Key:
  8678. description: 菜单KEY
  8679. type: string
  8680. Label:
  8681. description: 菜单标题
  8682. type: string
  8683. type: object
  8684. models.PendingAuditBizModel:
  8685. properties:
  8686. accountid:
  8687. description: 现货账户
  8688. type: string
  8689. areaname:
  8690. description: 所属部门
  8691. type: string
  8692. bizid:
  8693. description: 业务ID
  8694. type: string
  8695. bizname:
  8696. description: 业务名称
  8697. type: string
  8698. status:
  8699. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  8700. type: integer
  8701. type:
  8702. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  8703. type: integer
  8704. type: object
  8705. models.QhjContract:
  8706. properties:
  8707. contractconfirmtime:
  8708. description: 合同确认时间(时间)
  8709. type: string
  8710. enumdicname:
  8711. description: 单位名称
  8712. type: string
  8713. goodscode:
  8714. description: 商品代码
  8715. type: string
  8716. goodsid:
  8717. description: 商品ID [5:融资单]
  8718. type: integer
  8719. goodsname:
  8720. description: 商品名称
  8721. type: string
  8722. goodunitid:
  8723. description: 商品单位id
  8724. type: integer
  8725. initmargin:
  8726. description: 初始保证金(首付款)
  8727. type: number
  8728. lenderamount:
  8729. description: 贷款金额(总额|订单总额)
  8730. type: number
  8731. marginratio:
  8732. description: 保证金比率(首付比例)
  8733. type: number
  8734. payamount:
  8735. description: 已付(已付货款)
  8736. type: number
  8737. recoveredmargin:
  8738. description: 已追缴保证金
  8739. type: number
  8740. remainamount:
  8741. description: 合同剩余金额(融资额)
  8742. type: number
  8743. scfcontractid:
  8744. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  8745. type: integer
  8746. scfcontracttype:
  8747. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  8748. type: integer
  8749. totalinterest:
  8750. description: 已计总利息(利息)
  8751. type: number
  8752. tradeprice:
  8753. description: 成交价格(成本价格)
  8754. type: number
  8755. userid:
  8756. description: 用户ID
  8757. type: integer
  8758. username:
  8759. description: 用户名称
  8760. type: string
  8761. wrqty:
  8762. description: 仓单数量(数量)
  8763. type: integer
  8764. type: object
  8765. models.QhjContractLog:
  8766. properties:
  8767. amount:
  8768. description: 支付金额
  8769. type: number
  8770. amounttype:
  8771. description: 资金类型 - 1:首付款2:尾款 3:利息 4:追加款
  8772. type: integer
  8773. logid:
  8774. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8775. type: string
  8776. remainamount:
  8777. description: 剩余货款
  8778. type: number
  8779. scfcontractid:
  8780. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  8781. type: integer
  8782. updatetime:
  8783. description: 更新时间
  8784. type: string
  8785. type: object
  8786. models.QueryErrorInfosRsp:
  8787. properties:
  8788. description:
  8789. description: 异常描述
  8790. type: string
  8791. errorcode:
  8792. description: 异常代码
  8793. type: string
  8794. errorid:
  8795. description: 异常ID
  8796. type: integer
  8797. modulecode:
  8798. description: 所属模块
  8799. type: string
  8800. operatecode:
  8801. description: 所属操作
  8802. type: string
  8803. rownumber:
  8804. description: 行号
  8805. type: string
  8806. required:
  8807. - errorid
  8808. type: object
  8809. models.QueryHedgeOrderDetailRsp:
  8810. properties:
  8811. accountid:
  8812. description: 账户ID
  8813. type: integer
  8814. buyorsell:
  8815. description: 买卖 - 0:买 1:卖
  8816. type: integer
  8817. cancellogincode:
  8818. description: 撤单人
  8819. type: string
  8820. channelbuildtype:
  8821. description: 开平标志 - 0:无 1:建仓 2:平仓
  8822. type: integer
  8823. channelinnerorderstatus:
  8824. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  8825. 9:全部成交
  8826. type: integer
  8827. channeloperatetype:
  8828. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  8829. type: integer
  8830. closetype:
  8831. description: 平仓方式 - 0:无 1:平今 2:平昨
  8832. type: integer
  8833. curexchangerate:
  8834. description: 当前汇率
  8835. type: number
  8836. exchangefullname:
  8837. description: 外部交易所全称
  8838. type: string
  8839. goodscode:
  8840. description: 商品代码(内部)
  8841. type: string
  8842. goodsid:
  8843. description: 商品ID
  8844. type: integer
  8845. goodsname:
  8846. description: 商品名称
  8847. type: string
  8848. marketid:
  8849. description: 市场ID
  8850. type: integer
  8851. openfreezemargin:
  8852. description: 冻结保证金(冻结交易金额)
  8853. type: number
  8854. orderid:
  8855. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8856. type: string
  8857. orderlogincode:
  8858. description: 委托人
  8859. type: string
  8860. orderprice:
  8861. description: 委托价格(账户)
  8862. type: number
  8863. orderqty:
  8864. description: 委托数量
  8865. type: integer
  8866. ordertime:
  8867. description: 委托时间
  8868. type: string
  8869. pricemode:
  8870. description: '取价方式 - 1:市价 2: 限价'
  8871. type: integer
  8872. tradedate:
  8873. description: 交易日(yyyyMMdd)
  8874. type: string
  8875. tradeqty:
  8876. description: 成交数量
  8877. type: integer
  8878. type: object
  8879. models.QueryHedgeTradeDetailRsp:
  8880. properties:
  8881. accountid:
  8882. description: 账号ID
  8883. type: integer
  8884. buyorsell:
  8885. description: 方向 - 0:买 1:卖
  8886. type: integer
  8887. channelbuildtype:
  8888. description: 委托单据类型 0:无 1:建仓 2:平仓
  8889. type: integer
  8890. closecharge:
  8891. description: 平仓手续费(账户)
  8892. type: number
  8893. closecharge2:
  8894. description: 平仓手续费(商品)
  8895. type: number
  8896. closepl:
  8897. description: 平仓盈亏(账户)
  8898. type: number
  8899. closepl2:
  8900. description: 平仓盈亏(商品)
  8901. type: number
  8902. closepl3:
  8903. description: 平仓盈亏(账户)(逐笔)
  8904. type: number
  8905. closepl4:
  8906. description: 平仓盈亏(商品)(逐笔)
  8907. type: number
  8908. closetype:
  8909. description: 平仓方式 - 0:无 1:平今 2:平昨
  8910. type: integer
  8911. curexchangerate:
  8912. description: 当前汇率
  8913. type: number
  8914. exchangefullname:
  8915. description: 外部交易所全称
  8916. type: string
  8917. goodscode:
  8918. description: 商品代码(内部)
  8919. type: string
  8920. goodsid:
  8921. description: 商品ID
  8922. type: integer
  8923. goodsname:
  8924. description: 商品名称
  8925. type: string
  8926. marketid:
  8927. description: 市场ID
  8928. type: integer
  8929. opencharge:
  8930. description: 建仓手续费(账户)
  8931. type: number
  8932. opencharge2:
  8933. description: 建仓手续费(商品)
  8934. type: number
  8935. orderid:
  8936. description: 委托单号
  8937. type: string
  8938. orderlogincode:
  8939. description: 委托人
  8940. type: string
  8941. tradeamount:
  8942. description: 成交金额(账户)
  8943. type: number
  8944. tradedate:
  8945. description: 交易日(yyyyMMdd)
  8946. type: string
  8947. tradeid:
  8948. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8949. type: string
  8950. tradeprice:
  8951. description: 成交价格
  8952. type: number
  8953. tradeqty:
  8954. description: 成交数量
  8955. type: integer
  8956. tradetime:
  8957. description: 成交时间
  8958. type: string
  8959. tradetype:
  8960. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  8961. type: integer
  8962. type: object
  8963. models.QuotePrimaryMenu:
  8964. properties:
  8965. Index:
  8966. description: 序号
  8967. type: integer
  8968. Key:
  8969. description: 键名
  8970. type: string
  8971. Name:
  8972. description: 菜单名称
  8973. type: string
  8974. SubMenus:
  8975. description: 子菜单
  8976. items:
  8977. $ref: '#/definitions/models.QuoteSecondaryMenu'
  8978. type: array
  8979. SubTitleType:
  8980. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  8981. type: integer
  8982. TradeModes:
  8983. description: 包含市场交易类型
  8984. type: string
  8985. type: object
  8986. models.QuoteSecondaryMenu:
  8987. properties:
  8988. ExExchangeCode:
  8989. description: 外部交易所代码
  8990. type: string
  8991. ExExchangeID:
  8992. description: 外部交易所ID
  8993. type: integer
  8994. GoodsGroupIDs:
  8995. description: 商品组ID列表
  8996. items:
  8997. type: integer
  8998. type: array
  8999. Index:
  9000. description: 序号
  9001. type: integer
  9002. MarketID:
  9003. description: 市场ID
  9004. type: integer
  9005. MenuTitle:
  9006. description: 菜单标题(市场名称或外部交易所名称)
  9007. type: string
  9008. TradeMode:
  9009. description: 交易模式
  9010. type: integer
  9011. type: object
  9012. models.SearchGoods:
  9013. properties:
  9014. goodscode:
  9015. description: 商品代码(内部)
  9016. type: string
  9017. goodsid:
  9018. description: 商品ID(自增ID SEQ_GOODS)
  9019. type: integer
  9020. goodsname:
  9021. description: 商品名称
  9022. type: string
  9023. marketid:
  9024. description: 所属市场ID
  9025. type: integer
  9026. marketname:
  9027. description: 市场名称
  9028. type: string
  9029. trademode:
  9030. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9031. 21:竞拍-大宗式 22:受托竞价
  9032. type: integer
  9033. required:
  9034. - goodscode
  9035. - goodsid
  9036. - goodsname
  9037. - marketid
  9038. - trademode
  9039. type: object
  9040. models.Systemparam:
  9041. properties:
  9042. loginid:
  9043. description: 更新用户账号,登录账号
  9044. type: string
  9045. modifyflag:
  9046. description: 修改标志0 不允许修改 1 允许修改
  9047. type: integer
  9048. paramcode:
  9049. description: 参数代码
  9050. type: string
  9051. paramname:
  9052. description: 参数名
  9053. type: string
  9054. paramtype:
  9055. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  9056. type: integer
  9057. paramvalue:
  9058. description: 参数值
  9059. type: string
  9060. paramvalue2:
  9061. description: 参数值(CLOB)
  9062. type: string
  9063. regexpress:
  9064. description: 正则表达式
  9065. type: string
  9066. remark:
  9067. description: 备注
  9068. type: string
  9069. serverip:
  9070. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  9071. type: string
  9072. showflag:
  9073. description: 是否显示0 不显示 1 显示
  9074. type: integer
  9075. updatetime:
  9076. description: 更新时间
  9077. type: string
  9078. userid:
  9079. description: 更新用户ID
  9080. type: integer
  9081. required:
  9082. - paramcode
  9083. type: object
  9084. models.Szdz3convertconfig:
  9085. properties:
  9086. canin:
  9087. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  9088. type: integer
  9089. canout:
  9090. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  9091. type: integer
  9092. converttype:
  9093. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  9094. 6:交易转花生米(不设置)
  9095. type: integer
  9096. createtime:
  9097. description: 创建时间
  9098. type: string
  9099. creatorid:
  9100. description: 创建人
  9101. type: integer
  9102. daymaxvalue:
  9103. description: 当日最大转入限制
  9104. type: number
  9105. freezedays:
  9106. description: 冻结天数 [5:花生米转交易]
  9107. type: integer
  9108. innergoodsid:
  9109. description: 内部商品ID[交易]
  9110. type: integer
  9111. inratio:
  9112. description: 目标值
  9113. type: integer
  9114. modifierid:
  9115. description: 修改人
  9116. type: integer
  9117. modifytime:
  9118. description: 修改时间
  9119. type: string
  9120. outergoodscode:
  9121. description: 外部商品代码[JD\PD]
  9122. type: string
  9123. outratio:
  9124. description: 源值
  9125. type: integer
  9126. pddecimalplace:
  9127. description: PD小数位
  9128. type: integer
  9129. timemaxvalue:
  9130. description: 单次最大转入限制
  9131. type: number
  9132. timeminvalue:
  9133. description: 单次最小转入限制
  9134. type: number
  9135. required:
  9136. - converttype
  9137. - innergoodsid
  9138. - outergoodscode
  9139. type: object
  9140. models.Szdz3searchwhitelist:
  9141. properties:
  9142. createtime:
  9143. description: 创建时间
  9144. type: string
  9145. creatorid:
  9146. description: 创建人
  9147. type: integer
  9148. modifierid:
  9149. description: 修改人
  9150. type: integer
  9151. modifytime:
  9152. description: 修改时间
  9153. type: string
  9154. userid:
  9155. description: 用户ID
  9156. type: integer
  9157. required:
  9158. - userid
  9159. type: object
  9160. models.Taaccount:
  9161. properties:
  9162. accountflag:
  9163. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  9164. type: integer
  9165. accountid:
  9166. description: 资金账户ID
  9167. type: integer
  9168. accountname:
  9169. description: 账户名称
  9170. type: string
  9171. balance:
  9172. description: 期初余额
  9173. type: number
  9174. capitalbalance:
  9175. description: 本金余额[外部子账户实际出入金余额]
  9176. type: number
  9177. changeflag:
  9178. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  9179. type: integer
  9180. changetime:
  9181. description: 账户状态变更时间
  9182. type: string
  9183. closepl:
  9184. description: 今日平仓盈亏
  9185. type: number
  9186. creditdecrease:
  9187. description: 今日授信减少
  9188. type: number
  9189. creditincrease:
  9190. description: 今日授信增加
  9191. type: number
  9192. currencyid:
  9193. description: 货币ID
  9194. type: integer
  9195. currentbalance:
  9196. description: 期末余额
  9197. type: number
  9198. freezecharge:
  9199. description: 手续费冻结
  9200. type: number
  9201. freezemargin:
  9202. description: 冻结保证金
  9203. type: number
  9204. fromaccountid:
  9205. description: 所属上级账户
  9206. type: integer
  9207. inamount:
  9208. description: 今日入金金额(包括三方入金)
  9209. type: number
  9210. ismain:
  9211. description: 是否母账号 0:不是母账户 1:是母账户
  9212. type: integer
  9213. ismarketaccount:
  9214. description: 是否机构接单账号 0:不是 1:是
  9215. type: integer
  9216. isreckonaccount:
  9217. description: 是否机构分润账号 0:不是 1:是
  9218. type: integer
  9219. mortgagecredit:
  9220. description: 授信金额
  9221. type: number
  9222. orifreezecharge:
  9223. description: 期初手续费冻结
  9224. type: number
  9225. orifreezemargin:
  9226. description: 期初冻结保证金
  9227. type: number
  9228. orimortgagecredit:
  9229. description: 期初授信金额
  9230. type: number
  9231. oriothercredit:
  9232. description: 期初其它授信金额
  9233. type: number
  9234. oriotherfreezemargin:
  9235. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  9236. type: number
  9237. orioutamountfreeze:
  9238. description: 期初出金冻结
  9239. type: number
  9240. oriusedmargin:
  9241. description: 期初占用保证金
  9242. type: number
  9243. othercredit:
  9244. description: 其它授信金额
  9245. type: number
  9246. othercreditdecrease:
  9247. description: 今日其它授信减少
  9248. type: number
  9249. othercreditincrease:
  9250. description: 今日其它授信增加
  9251. type: number
  9252. otherfreezemargin:
  9253. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  9254. type: number
  9255. otherincome:
  9256. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  9257. type: number
  9258. otherpay:
  9259. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  9260. type: number
  9261. outamount:
  9262. description: 今日出金金额(包括三方出金)
  9263. type: number
  9264. outamountfreeze:
  9265. description: 出金冻结
  9266. type: number
  9267. outthreshold:
  9268. description: 出金阈值
  9269. type: number
  9270. parentaccountid:
  9271. description: 所属根账号
  9272. type: integer
  9273. paycharge:
  9274. description: 今日手续费支出
  9275. type: number
  9276. relatedaccountstatus:
  9277. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  9278. type: integer
  9279. relateduserid:
  9280. description: 关联用户
  9281. type: integer
  9282. serivcegroup:
  9283. description: 服务分组
  9284. type: integer
  9285. signstatus:
  9286. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  9287. type: integer
  9288. sublevelpath:
  9289. description: 账号层级路径(逗号分隔,首尾加逗号)
  9290. type: string
  9291. taaccounttype:
  9292. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  9293. type: integer
  9294. thirdinamount:
  9295. description: 今日三方入金
  9296. type: number
  9297. thirdoutamount:
  9298. description: 今日三方出金
  9299. type: number
  9300. tradestatus:
  9301. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9302. type: integer
  9303. tradestatuschangetime:
  9304. description: 激活时间
  9305. type: string
  9306. transferamount:
  9307. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  9308. type: number
  9309. usedmargin:
  9310. description: 占用保证金
  9311. type: number
  9312. userid:
  9313. description: 用户ID
  9314. type: integer
  9315. required:
  9316. - accountid
  9317. - userid
  9318. type: object
  9319. models.Tablecolumnconfig:
  9320. properties:
  9321. aligntype:
  9322. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  9323. type: integer
  9324. autoid:
  9325. description: AutoID
  9326. type: integer
  9327. columnfield:
  9328. description: 列字段
  9329. type: string
  9330. columntitle:
  9331. description: 列Title
  9332. type: string
  9333. columnwidth:
  9334. description: 列宽
  9335. type: string
  9336. formatterstring:
  9337. description: 格式化字符
  9338. type: string
  9339. formattertype:
  9340. description: 格式化类型
  9341. type: string
  9342. groupname:
  9343. description: 表头分组名称
  9344. type: string
  9345. isshow:
  9346. description: 是否显示 - 0:不显示 1:显示
  9347. type: integer
  9348. needsummary:
  9349. description: 是否需要汇总 - 0:不需要 1:需要
  9350. type: integer
  9351. orderindex:
  9352. description: 顺序
  9353. type: integer
  9354. remark:
  9355. description: 备注
  9356. type: string
  9357. summarytype:
  9358. description: 汇总类型 - 1:加总 2:最后一个
  9359. type: integer
  9360. tablekey:
  9361. description: 列表Key
  9362. type: string
  9363. required:
  9364. - autoid
  9365. type: object
  9366. models.Useraccount:
  9367. properties:
  9368. accountname:
  9369. description: 账户名称(机构名称)
  9370. type: string
  9371. accountstatus:
  9372. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  9373. type: integer
  9374. auditremark:
  9375. description: 审核备注
  9376. type: string
  9377. audittime:
  9378. description: 审核时间
  9379. type: string
  9380. audituserid:
  9381. description: 审核人
  9382. type: integer
  9383. broker:
  9384. description: 所属经纪人ID
  9385. type: integer
  9386. canceltime:
  9387. description: 销户时间
  9388. type: string
  9389. canceluserid:
  9390. description: 销户人
  9391. type: integer
  9392. createtime:
  9393. description: 创建时间
  9394. type: string
  9395. creatorid:
  9396. description: 创建人
  9397. type: integer
  9398. hasauth:
  9399. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  9400. type: integer
  9401. isanonymous:
  9402. description: 是否匿名下单 - 0:否 1:是
  9403. type: integer
  9404. maxinvestornum:
  9405. description: 最大用户数(经纪会员下投资者个数)
  9406. type: integer
  9407. memberuserid:
  9408. description: 所属会员ID
  9409. type: integer
  9410. modifierid:
  9411. description: 修改人
  9412. type: integer
  9413. modifyremark:
  9414. description: 变更备注
  9415. type: string
  9416. modifystatus:
  9417. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  9418. type: integer
  9419. modifytime:
  9420. description: 修改时间
  9421. type: string
  9422. parentuserid:
  9423. description: 所属机构ID
  9424. type: integer
  9425. reckonaccountid:
  9426. description: 默认结算资金账号ID(机构分润使用) 作废
  9427. type: integer
  9428. refercount:
  9429. description: 推荐总人数
  9430. type: integer
  9431. refereeuserid:
  9432. description: 推荐人ID
  9433. type: integer
  9434. refernum:
  9435. description: 推荐码
  9436. type: string
  9437. subarealevelpath:
  9438. description: 子机构层级路径(逗号分隔,首尾加逗号)
  9439. type: string
  9440. userid:
  9441. description: 用户ID
  9442. type: integer
  9443. usertype:
  9444. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  9445. type: integer
  9446. required:
  9447. - userid
  9448. type: object
  9449. models.Userfavoritegoods:
  9450. properties:
  9451. goodsid:
  9452. description: 商品ID
  9453. type: integer
  9454. required:
  9455. - goodsid
  9456. type: object
  9457. models.Userinfo:
  9458. properties:
  9459. address:
  9460. description: 地址
  9461. type: string
  9462. attachment1:
  9463. description: 附件1
  9464. type: string
  9465. attachment2:
  9466. description: 附件2
  9467. type: string
  9468. bankaccount:
  9469. description: 银行帐号 (加密存储)
  9470. type: string
  9471. bankaccountname:
  9472. description: 收款人名称
  9473. type: string
  9474. bankcardfrontphotourl:
  9475. description: 银行卡正面照地址
  9476. type: string
  9477. bankid:
  9478. description: 银行编码
  9479. type: string
  9480. bankname:
  9481. description: 银行名称
  9482. type: string
  9483. biznature:
  9484. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  9485. type: integer
  9486. bizscope:
  9487. description: 企业经营范围(企业)
  9488. type: string
  9489. cardbackphotourl:
  9490. description: 证件背面图片地址
  9491. type: string
  9492. cardfrontphotourl:
  9493. description: 证件正面图片地址
  9494. type: string
  9495. cardnum:
  9496. description: 证件号码(加密存储)
  9497. type: string
  9498. cardtypeid:
  9499. description: 证件类型ID
  9500. type: integer
  9501. cityid:
  9502. description: 市
  9503. type: integer
  9504. company:
  9505. description: 公司(个人)
  9506. type: string
  9507. contactname:
  9508. description: 联系人
  9509. type: string
  9510. countryid:
  9511. description: 国家
  9512. type: integer
  9513. createtime:
  9514. description: 创建时间
  9515. type: string
  9516. creatorid:
  9517. description: 创建人
  9518. type: integer
  9519. customername:
  9520. description: 客户名称(企业名称)
  9521. type: string
  9522. districtid:
  9523. description: 地区
  9524. type: integer
  9525. email:
  9526. description: 邮件(加密存储)
  9527. type: string
  9528. fax:
  9529. description: 传真(加密存储)
  9530. type: string
  9531. halfbodyphotourl:
  9532. description: 半身照地址
  9533. type: string
  9534. hasencrypt:
  9535. description: 数据是否已加密 - 0:未加密 1:已加密
  9536. type: integer
  9537. headurl:
  9538. description: 头像地址
  9539. type: string
  9540. legalcardbackphotourl:
  9541. description: 法人身份证背面照地址
  9542. type: string
  9543. legalcardfrontphotourl:
  9544. description: 法人身份证正面照地址
  9545. type: string
  9546. legalpersonname:
  9547. description: 法人姓名(企业)
  9548. type: string
  9549. mobile:
  9550. description: 手机号码(加密存储)
  9551. type: string
  9552. mobile2:
  9553. description: 手机号码[明文-尚志]
  9554. type: string
  9555. modifierid:
  9556. description: 修改人
  9557. type: integer
  9558. modifiertime:
  9559. description: 修改时间
  9560. type: string
  9561. needinvoice:
  9562. description: 是否需要发票 - 0:不需要 1:需要
  9563. type: integer
  9564. nickname:
  9565. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  9566. type: string
  9567. openmode:
  9568. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  9569. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  9570. type: integer
  9571. otherurl:
  9572. description: 其它图片地址[使用分号分隔]
  9573. type: string
  9574. postalcode:
  9575. description: 邮政编码
  9576. type: string
  9577. provinceid:
  9578. description: 省
  9579. type: integer
  9580. qq:
  9581. description: QQ(加密存储
  9582. type: string
  9583. remark:
  9584. description: 备注
  9585. type: string
  9586. sex:
  9587. description: '用户性别 0: 女 1: 男'
  9588. type: integer
  9589. signpdfurl:
  9590. description: 签约pdf文件
  9591. type: string
  9592. telphone:
  9593. description: 联系电话(加密存储)
  9594. type: string
  9595. userid:
  9596. description: 用户ID
  9597. type: integer
  9598. userinfotype:
  9599. description: 用户信息类型 - 1:个人 2:企业
  9600. type: integer
  9601. userstatus:
  9602. description: 用户状态 - 1:正常 2:注销
  9603. type: integer
  9604. usertype:
  9605. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  9606. type: integer
  9607. wechat:
  9608. description: 微信(加密存储)
  9609. type: string
  9610. wskhinfo:
  9611. description: 开户申请信息(JSON)
  9612. type: string
  9613. required:
  9614. - userid
  9615. type: object
  9616. models.WRSConverTDetail:
  9617. properties:
  9618. convertratio:
  9619. description: 套保系数
  9620. type: number
  9621. deliverygoodscode:
  9622. description: 现货商品代码
  9623. type: string
  9624. deliverygoodsid:
  9625. description: 现货品种ID
  9626. type: integer
  9627. deliverygoodsname:
  9628. description: 现货商品名称
  9629. type: string
  9630. enumdicname:
  9631. description: 单位名称
  9632. type: string
  9633. goodsunitid:
  9634. description: 套保品种单位id
  9635. type: integer
  9636. middlegoodscode:
  9637. description: 套保品种代码
  9638. type: string
  9639. middlegoodsid:
  9640. description: 套保品种ID
  9641. type: integer
  9642. middlegoodsname:
  9643. description: 套保品种名称
  9644. type: string
  9645. modifytime:
  9646. description: 修改时间
  9647. type: string
  9648. wrstandardid:
  9649. description: 品类ID
  9650. type: integer
  9651. type: object
  9652. models.WRStandardInfo:
  9653. properties:
  9654. areauserid:
  9655. description: 所属机构
  9656. type: integer
  9657. convertfactor:
  9658. description: 标仓系数
  9659. type: number
  9660. createtime:
  9661. description: 创建时间
  9662. type: string
  9663. creatorid:
  9664. description: 创建人
  9665. type: integer
  9666. deliverygoodsid:
  9667. description: 品种ID
  9668. type: integer
  9669. deliverygoodsname:
  9670. description: 交割商品名称
  9671. type: string
  9672. factoryitemjson:
  9673. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  9674. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  9675. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  9676. 逗号分隔'
  9677. type: string
  9678. isvalid:
  9679. description: 是否有效 - 0:无效 1:有效
  9680. type: integer
  9681. minivalue:
  9682. description: 最小变动值
  9683. type: integer
  9684. minivaluedp:
  9685. description: 最小变动值小数位
  9686. type: integer
  9687. realminivalue:
  9688. description: 实际最小变动值
  9689. type: integer
  9690. realminivaluedp:
  9691. description: 实际最小变动值小数位
  9692. type: integer
  9693. remark:
  9694. description: 备注
  9695. type: string
  9696. unitid:
  9697. description: 单位ID
  9698. type: integer
  9699. unitname:
  9700. description: 单位
  9701. type: string
  9702. updatetime:
  9703. description: 更新时间
  9704. type: string
  9705. updatorid:
  9706. description: 更新人
  9707. type: integer
  9708. wrsstatus:
  9709. description: 状态 - 作废 - 0:未激活 1:正常
  9710. type: integer
  9711. wrstandardcode:
  9712. description: 现货品类代码
  9713. type: string
  9714. wrstandardid:
  9715. description: 现货品类ID(SEQ_WRSTANDARD)
  9716. type: integer
  9717. wrstandardname:
  9718. description: 现货品类名称
  9719. type: string
  9720. required:
  9721. - wrstandardid
  9722. type: object
  9723. models.Warehouseinfo:
  9724. properties:
  9725. address:
  9726. description: 详细地址
  9727. type: string
  9728. areauserid:
  9729. description: 所属机构
  9730. type: integer
  9731. autoid:
  9732. description: 自增ID
  9733. type: integer
  9734. cityid:
  9735. description: 市
  9736. type: integer
  9737. contactname:
  9738. description: 联系人
  9739. type: string
  9740. contactnum:
  9741. description: 联系电话
  9742. type: string
  9743. countryid:
  9744. description: 国家
  9745. type: integer
  9746. createtime:
  9747. description: 创建时间
  9748. type: string
  9749. districtid:
  9750. description: 区
  9751. type: integer
  9752. hasvideo:
  9753. description: 是否有视频 - 0:无 1:有
  9754. type: integer
  9755. provinceid:
  9756. description: 省
  9757. type: integer
  9758. remark:
  9759. description: 审核备注
  9760. type: string
  9761. videourl:
  9762. description: 视频地址
  9763. type: string
  9764. warehousecode:
  9765. description: 仓库代码
  9766. type: string
  9767. warehousename:
  9768. description: 仓库名称
  9769. type: string
  9770. warehousestatus:
  9771. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  9772. type: integer
  9773. warehousetype:
  9774. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  9775. type: integer
  9776. required:
  9777. - autoid
  9778. - warehousecode
  9779. type: object
  9780. order.QueryHisTradeDetailRsp:
  9781. properties:
  9782. accountid:
  9783. description: 账户ID[报价币种]
  9784. type: integer
  9785. buildtype:
  9786. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  9787. type: integer
  9788. buyorsell:
  9789. description: 方向 - 0:买 1:卖
  9790. type: integer
  9791. charge:
  9792. description: 手续费
  9793. type: number
  9794. closecharge:
  9795. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  9796. type: number
  9797. closeexchagechargevalue:
  9798. description: 平仓交易所手续费设置值
  9799. type: number
  9800. closefeealgorithm:
  9801. description: 平仓手续费收取方式 1:比率 2:固定
  9802. type: integer
  9803. closememberchargevalue:
  9804. description: 平仓会员手续费设置值
  9805. type: number
  9806. closepl:
  9807. description: 平仓盈亏
  9808. type: number
  9809. closepl2:
  9810. description: 平仓盈亏[逐笔]
  9811. type: number
  9812. closeqty:
  9813. description: 平仓数量(先建后平操作 需要记录)
  9814. type: integer
  9815. creditamount:
  9816. description: 授信金额
  9817. type: number
  9818. gcaccountid:
  9819. description: 账户ID[合约币种]
  9820. type: integer
  9821. goodscode:
  9822. description: 商品代码
  9823. type: string
  9824. goodsid:
  9825. description: 商品ID
  9826. type: integer
  9827. goodsname:
  9828. description: 商品名称
  9829. type: string
  9830. histradedate:
  9831. description: 历史交易日
  9832. type: string
  9833. intclosepl:
  9834. description: 整型盈亏(用于交易结算试算平衡-收益权)
  9835. type: integer
  9836. isconfirmexercise:
  9837. description: 是否确认行权- 0:否 1:是
  9838. type: integer
  9839. ismain:
  9840. description: 是否主单 - 0:不是 1:是
  9841. type: integer
  9842. ispreexercise:
  9843. description: 是否预申报- 0:否 1:是
  9844. type: integer
  9845. isreckoned:
  9846. description: 是否结算 - 0:未结算 1:已结算
  9847. type: integer
  9848. isvaliddata:
  9849. description: 是否有效 - 0:无效 1:有效
  9850. type: integer
  9851. listingselecttype:
  9852. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  9853. type: integer
  9854. marketid:
  9855. description: 市场ID
  9856. type: integer
  9857. marketname:
  9858. description: 市场名称
  9859. type: string
  9860. matchaccountid:
  9861. description: 对手账号id
  9862. type: integer
  9863. memberuserid:
  9864. description: 会员id 个人投资者 需要填写
  9865. type: integer
  9866. opencharge:
  9867. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  9868. type: number
  9869. openexchagechargevalue:
  9870. description: 建仓交易所手续费设置值
  9871. type: number
  9872. openfeealgorithm:
  9873. description: 建仓手续费收取方式 1:比率 2:固定
  9874. type: integer
  9875. openmemberchargevalue:
  9876. description: 建仓会员手续费设置值
  9877. type: number
  9878. openqty:
  9879. description: 开仓数量(先建后平操作 需要记录)
  9880. type: integer
  9881. optiontype:
  9882. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  9883. type: integer
  9884. orderid:
  9885. description: 委托单号
  9886. type: string
  9887. performanceplanid:
  9888. description: 履约计划ID[期权]
  9889. type: integer
  9890. performancestatus:
  9891. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  9892. type: integer
  9893. preexerciseprice:
  9894. description: 预申报价格
  9895. type: number
  9896. premium:
  9897. description: 权利金 - [持仓单的权利金]
  9898. type: number
  9899. relatedouttradeid:
  9900. description: 关联外部成交单ID
  9901. type: integer
  9902. status:
  9903. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  9904. type: integer
  9905. tradeamount:
  9906. description: 成交金额[账户币种,用于所有权]
  9907. type: number
  9908. tradedate:
  9909. description: 交易日(yyyyMMdd)
  9910. type: string
  9911. tradeid:
  9912. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9913. type: string
  9914. trademode:
  9915. description: 交易模式
  9916. type: integer
  9917. tradeprice:
  9918. description: 成交价格
  9919. type: number
  9920. tradeproperty:
  9921. description: 交易属性
  9922. type: integer
  9923. tradeqty:
  9924. description: 成交数量
  9925. type: integer
  9926. tradetime:
  9927. description: 成交时间
  9928. type: string
  9929. tradetype:
  9930. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  9931. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  9932. type: integer
  9933. required:
  9934. - accountid
  9935. - buyorsell
  9936. - goodsid
  9937. - histradedate
  9938. - marketid
  9939. - memberuserid
  9940. - orderid
  9941. - tradeamount
  9942. - tradedate
  9943. - tradeid
  9944. - tradeprice
  9945. - tradeqty
  9946. - tradetime
  9947. type: object
  9948. order.QueryHisTradeOrderDetailRsp:
  9949. properties:
  9950. accountid:
  9951. description: 账户ID[报价币种]
  9952. type: integer
  9953. buildtype:
  9954. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  9955. type: integer
  9956. buyorsell:
  9957. description: 买卖 - 0:买 1:卖
  9958. type: integer
  9959. cancelorderid:
  9960. description: 撤单单号(撤单时填写)
  9961. type: string
  9962. cancelqty:
  9963. description: 撤单数量
  9964. type: integer
  9965. clientordertime:
  9966. description: 客户端委托时间
  9967. type: string
  9968. clientticket:
  9969. description: 客户端流水号
  9970. type: string
  9971. clienttype:
  9972. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  9973. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  9974. type: integer
  9975. closeexchagechargevalue:
  9976. description: 平仓交易所手续费设置值
  9977. type: number
  9978. closefeealgorithm:
  9979. description: 平仓手续费收取方式 1:比率 2:固定
  9980. type: integer
  9981. closefreezecharge:
  9982. description: 平仓冻结手续费(先建后平操作,需要记录)
  9983. type: number
  9984. closememberchargevalue:
  9985. description: 平仓会员手续费设置值
  9986. type: number
  9987. closeqty:
  9988. description: 平仓数量(先建后平操作 需要记录)
  9989. type: integer
  9990. closetradeqty:
  9991. description: 平仓成交数量(先建后平操作,需要记录)
  9992. type: integer
  9993. closeunfreezecharge:
  9994. description: 平仓解冻手续费(先建后平操作,需要记录)
  9995. type: number
  9996. delistingtype:
  9997. description: 摘牌类型 - 1:价格最优 2:点选成交
  9998. type: integer
  9999. freezecharge:
  10000. description: 冻结手续费
  10001. type: number
  10002. freezemargin:
  10003. description: 冻结保证金(冻结交易金额)
  10004. type: number
  10005. gcaccountid:
  10006. description: 账户ID[合约币种]
  10007. type: integer
  10008. goodscode:
  10009. description: 商品代码
  10010. type: string
  10011. goodsid:
  10012. description: 商品ID
  10013. type: integer
  10014. goodsname:
  10015. description: 商品名称
  10016. type: string
  10017. histradedate:
  10018. description: 历史交易日
  10019. type: string
  10020. isconfirmexercise:
  10021. description: 是否确认行权- 0:否 1:是
  10022. type: integer
  10023. ispreexercise:
  10024. description: 是否预申报- 0:否 1:是
  10025. type: integer
  10026. isvaliddata:
  10027. description: 是否有效 - 0:无效 1:有效
  10028. type: integer
  10029. listingselecttype:
  10030. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  10031. type: integer
  10032. marginalgorithm:
  10033. description: 保证金收取方式 1:比率 2:固定
  10034. type: integer
  10035. marginvalue:
  10036. description: 即市保证金设置值
  10037. type: number
  10038. marketid:
  10039. description: 市场ID
  10040. type: integer
  10041. marketmaxsub:
  10042. description: 市价最大偏移范围
  10043. type: number
  10044. marketname:
  10045. description: 市场名称
  10046. type: string
  10047. memberuserid:
  10048. description: 所属会员UserID
  10049. type: integer
  10050. openexchagechargevalue:
  10051. description: 建仓交易所手续费设置值
  10052. type: number
  10053. openfeealgorithm:
  10054. description: 建仓手续费收取方式 1:比率 2:固定
  10055. type: integer
  10056. openfreezecharge:
  10057. description: 开仓冻结手续费(先建后平操作,需要记录)
  10058. type: number
  10059. openmemberchargevalue:
  10060. description: 建仓会员手续费设置值
  10061. type: number
  10062. openqty:
  10063. description: 开仓数量(先建后平操作,需要记录)
  10064. type: integer
  10065. opentradeqty:
  10066. description: 开仓成交数量(先建后平操作,需要记录)
  10067. type: integer
  10068. openunfreezecharge:
  10069. description: 开仓解冻手续费(先建后平操作,需要记录)
  10070. type: number
  10071. operatetype:
  10072. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  10073. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  10074. 15:管理端协议转让
  10075. type: integer
  10076. operatorid:
  10077. description: 登录账号(LoginID)
  10078. type: integer
  10079. optiontype:
  10080. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  10081. type: integer
  10082. orderid:
  10083. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10084. type: string
  10085. orderprice:
  10086. description: 委托价格
  10087. type: number
  10088. orderqty:
  10089. description: 委托数量
  10090. type: integer
  10091. ordersrc:
  10092. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  10093. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  10094. type: integer
  10095. orderstatus:
  10096. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  10097. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  10098. 16:成交失败违约(荷兰式竞拍专用)
  10099. type: integer
  10100. ordertime:
  10101. description: 委托时间
  10102. type: string
  10103. preexerciseprice:
  10104. description: 预申报价格
  10105. type: number
  10106. premium:
  10107. description: 权利金
  10108. type: number
  10109. preorderid:
  10110. description: 关联预埋单号(止盈止损单时填写)
  10111. type: string
  10112. pricemode:
  10113. description: '取价方式 - 1:市价 2: 限价'
  10114. type: integer
  10115. quoteid:
  10116. description: 报价单ID
  10117. type: integer
  10118. relatedid:
  10119. description: 关联单号(交割单)
  10120. type: string
  10121. retcode:
  10122. description: 错误代码
  10123. type: integer
  10124. sessionid:
  10125. description: 会话ID
  10126. type: integer
  10127. tradedate:
  10128. description: 交易日(yyyyMMdd)
  10129. type: string
  10130. trademode:
  10131. description: 交易模式
  10132. type: integer
  10133. tradeproperty:
  10134. description: 交易属性
  10135. type: integer
  10136. tradeqty:
  10137. description: 成交数量
  10138. type: integer
  10139. unfreezecharge:
  10140. description: 解冻手续费
  10141. type: number
  10142. unfreezemargin:
  10143. description: 解冻保证金
  10144. type: number
  10145. updatetime:
  10146. description: 更新时间
  10147. type: string
  10148. uuid:
  10149. description: 发起端唯一id
  10150. type: string
  10151. validtime:
  10152. description: 有效期限
  10153. type: string
  10154. validtype:
  10155. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  10156. type: integer
  10157. volumetype:
  10158. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  10159. type: integer
  10160. required:
  10161. - accountid
  10162. - buildtype
  10163. - buyorsell
  10164. - goodsid
  10165. - histradedate
  10166. - marketid
  10167. - memberuserid
  10168. - operatetype
  10169. - orderid
  10170. - orderqty
  10171. - ordertime
  10172. - pricemode
  10173. - tradedate
  10174. - validtype
  10175. type: object
  10176. order.QueryTradeDetailRsp:
  10177. properties:
  10178. accountid:
  10179. description: 账户ID[报价币种]
  10180. type: integer
  10181. buildtype:
  10182. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  10183. type: integer
  10184. buyorsell:
  10185. description: 方向 - 0:买 1:卖
  10186. type: integer
  10187. charge:
  10188. description: 手续费
  10189. type: number
  10190. closecharge:
  10191. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  10192. type: number
  10193. closeexchagechargevalue:
  10194. description: 平仓交易所手续费设置值
  10195. type: number
  10196. closefeealgorithm:
  10197. description: 平仓手续费收取方式 1:比率 2:固定
  10198. type: integer
  10199. closememberchargevalue:
  10200. description: 平仓会员手续费设置值
  10201. type: number
  10202. closepl:
  10203. description: 平仓盈亏
  10204. type: number
  10205. closepl2:
  10206. description: 平仓盈亏[逐笔]
  10207. type: number
  10208. closeqty:
  10209. description: 平仓数量(先建后平操作 需要记录)
  10210. type: integer
  10211. creditamount:
  10212. description: 授信金额
  10213. type: number
  10214. gcaccountid:
  10215. description: 账户ID[合约币种]
  10216. type: integer
  10217. goodscode:
  10218. description: 商品代码
  10219. type: string
  10220. goodsid:
  10221. description: 商品ID
  10222. type: integer
  10223. goodsname:
  10224. description: 商品名称
  10225. type: string
  10226. intclosepl:
  10227. description: 整型盈亏(用于交易结算试算平衡-收益权)
  10228. type: integer
  10229. isconfirmexercise:
  10230. description: 是否确认行权- 0:否 1:是
  10231. type: integer
  10232. ismain:
  10233. description: 是否主单 - 0:不是 1:是
  10234. type: integer
  10235. ispreexercise:
  10236. description: 是否预申报- 0:否 1:是
  10237. type: integer
  10238. isreckoned:
  10239. description: 是否结算 - 0:未结算 1:已结算
  10240. type: integer
  10241. listingselecttype:
  10242. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  10243. type: integer
  10244. marketid:
  10245. description: 市场ID
  10246. type: integer
  10247. marketname:
  10248. description: 市场名称
  10249. type: string
  10250. matchaccountid:
  10251. description: 对手账号id
  10252. type: integer
  10253. memberuserid:
  10254. description: 会员id 个人投资者 需要填写
  10255. type: integer
  10256. opencharge:
  10257. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  10258. type: number
  10259. openexchagechargevalue:
  10260. description: 建仓交易所手续费设置值
  10261. type: number
  10262. openfeealgorithm:
  10263. description: 建仓手续费收取方式 1:比率 2:固定
  10264. type: integer
  10265. openmemberchargevalue:
  10266. description: 建仓会员手续费设置值
  10267. type: number
  10268. openqty:
  10269. description: 开仓数量(先建后平操作 需要记录)
  10270. type: integer
  10271. optiontype:
  10272. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  10273. type: integer
  10274. orderid:
  10275. description: 委托单号
  10276. type: string
  10277. performanceplanid:
  10278. description: 履约计划ID[期权]
  10279. type: integer
  10280. performancestatus:
  10281. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  10282. type: integer
  10283. preexerciseprice:
  10284. description: 预申报价格
  10285. type: number
  10286. premium:
  10287. description: 权利金 - [持仓单的权利金]
  10288. type: number
  10289. relatedouttradeid:
  10290. description: 关联外部成交单ID
  10291. type: integer
  10292. status:
  10293. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  10294. type: integer
  10295. tradeamount:
  10296. description: 成交金额[账户币种,用于所有权]
  10297. type: number
  10298. tradedate:
  10299. description: 交易日(yyyyMMdd)
  10300. type: string
  10301. tradeid:
  10302. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10303. type: string
  10304. trademode:
  10305. description: 交易模式
  10306. type: integer
  10307. tradeprice:
  10308. description: 成交价格
  10309. type: number
  10310. tradeproperty:
  10311. description: 交易属性
  10312. type: integer
  10313. tradeqty:
  10314. description: 成交数量
  10315. type: integer
  10316. tradetime:
  10317. description: 成交时间
  10318. type: string
  10319. tradetype:
  10320. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  10321. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  10322. type: integer
  10323. required:
  10324. - accountid
  10325. - buyorsell
  10326. - goodsid
  10327. - marketid
  10328. - memberuserid
  10329. - orderid
  10330. - tradeamount
  10331. - tradedate
  10332. - tradeid
  10333. - tradeprice
  10334. - tradeqty
  10335. - tradetime
  10336. type: object
  10337. order.QueryTradeOrderDetailRsp:
  10338. properties:
  10339. accountid:
  10340. description: 账户ID[报价币种]
  10341. type: integer
  10342. buildtype:
  10343. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  10344. type: integer
  10345. buyorsell:
  10346. description: 买卖 - 0:买 1:卖
  10347. type: integer
  10348. cancelorderid:
  10349. description: 撤单单号(撤单时填写)
  10350. type: string
  10351. cancelqty:
  10352. description: 撤单数量
  10353. type: integer
  10354. clienttype:
  10355. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  10356. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  10357. type: integer
  10358. closefreezecharge:
  10359. description: 平仓冻结手续费(先建后平操作,需要记录)
  10360. type: number
  10361. closeqty:
  10362. description: 平仓数量(先建后平操作 需要记录)
  10363. type: integer
  10364. closetradeqty:
  10365. description: 平仓成交数量(先建后平操作,需要记录)
  10366. type: integer
  10367. closeunfreezecharge:
  10368. description: 平仓解冻手续费(先建后平操作,需要记录)
  10369. type: number
  10370. delistingtype:
  10371. description: 摘牌类型 - 1:价格最优 2:点选成交
  10372. type: integer
  10373. enableqty:
  10374. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  10375. type: integer
  10376. freezecharge:
  10377. description: 冻结手续费
  10378. type: number
  10379. freezemargin:
  10380. description: 冻结保证金(冻结交易金额)
  10381. type: number
  10382. goodscode:
  10383. description: 商品代码
  10384. type: string
  10385. goodsid:
  10386. description: 商品ID
  10387. type: integer
  10388. goodsname:
  10389. description: 商品名称
  10390. type: string
  10391. listingselecttype:
  10392. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  10393. type: integer
  10394. marketid:
  10395. description: 市场ID
  10396. type: integer
  10397. marketname:
  10398. description: 市场名称
  10399. type: string
  10400. openfreezecharge:
  10401. description: 开仓冻结手续费(先建后平操作,需要记录)
  10402. type: number
  10403. openqty:
  10404. description: 开仓数量(先建后平操作,需要记录)
  10405. type: integer
  10406. opentradeqty:
  10407. description: 开仓成交数量(先建后平操作,需要记录)
  10408. type: integer
  10409. openunfreezecharge:
  10410. description: 开仓解冻手续费(先建后平操作,需要记录)
  10411. type: number
  10412. operatetype:
  10413. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  10414. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  10415. 15:管理端协议转让
  10416. type: integer
  10417. operatorid:
  10418. description: 登录账号(LoginID)
  10419. type: integer
  10420. orderid:
  10421. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10422. type: string
  10423. orderprice:
  10424. description: 委托价格
  10425. type: number
  10426. orderqty:
  10427. description: 委托数量
  10428. type: integer
  10429. ordersrc:
  10430. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  10431. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  10432. type: integer
  10433. orderstatus:
  10434. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  10435. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  10436. 16:成交失败违约(荷兰式竞拍专用)
  10437. type: integer
  10438. ordertime:
  10439. description: 委托时间
  10440. type: string
  10441. preorderid:
  10442. description: 关联预埋单号(止盈止损单时填写)
  10443. type: string
  10444. pricemode:
  10445. description: '取价方式 - 1:市价 2: 限价'
  10446. type: integer
  10447. relatedid:
  10448. description: 关联单号(交割单)
  10449. type: string
  10450. tradedate:
  10451. description: 交易日(yyyyMMdd)
  10452. type: string
  10453. trademode:
  10454. description: 交易模式
  10455. type: integer
  10456. tradeqty:
  10457. description: 成交数量
  10458. type: integer
  10459. unfreezecharge:
  10460. description: 解冻手续费
  10461. type: number
  10462. unfreezemargin:
  10463. description: 解冻保证金
  10464. type: number
  10465. validtime:
  10466. description: 有效期限
  10467. type: string
  10468. validtype:
  10469. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  10470. type: integer
  10471. volumetype:
  10472. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  10473. type: integer
  10474. required:
  10475. - accountid
  10476. - buildtype
  10477. - buyorsell
  10478. - goodsid
  10479. - marketid
  10480. - operatetype
  10481. - orderqty
  10482. - ordertime
  10483. - pricemode
  10484. - tradedate
  10485. - validtype
  10486. type: object
  10487. order.QueryTradePositionRsp:
  10488. properties:
  10489. accountid:
  10490. description: 资金账户
  10491. type: integer
  10492. agreeunit:
  10493. description: 合约单位
  10494. type: number
  10495. averageprice:
  10496. description: 持仓均价
  10497. type: number
  10498. buyorsell:
  10499. description: 方向 - 0:买 1:卖
  10500. type: integer
  10501. closetotalqty:
  10502. description: 平仓总数量
  10503. type: integer
  10504. curholderamount:
  10505. description: 当前持仓总金额[商品币种]
  10506. type: number
  10507. curpositionqty:
  10508. description: 当前持仓总数量
  10509. type: integer
  10510. currencyid:
  10511. description: 报价货币ID
  10512. type: integer
  10513. curtdposition:
  10514. description: 期末今日头寸
  10515. type: integer
  10516. decimalplace:
  10517. description: 报价小数位
  10518. type: integer
  10519. enableqty:
  10520. description: 可用量
  10521. type: integer
  10522. fretdposition:
  10523. description: 冻结今日头寸
  10524. type: integer
  10525. frozenqty:
  10526. description: 持仓冻结数量
  10527. type: integer
  10528. goodscode:
  10529. description: 商品代码
  10530. type: string
  10531. goodsid:
  10532. description: 商品Id
  10533. type: integer
  10534. goodsname:
  10535. description: 商品名称
  10536. type: string
  10537. goodunit:
  10538. description: 报价单位
  10539. type: string
  10540. goodunitid:
  10541. description: 报价单位ID
  10542. type: integer
  10543. holderamount:
  10544. description: 期初持仓总金额[商品币种]
  10545. type: number
  10546. marketid:
  10547. description: 所属市场ID
  10548. type: integer
  10549. openreqqty:
  10550. description: 开仓申请数量(用于比较最大持仓数量)
  10551. type: integer
  10552. opentotalqty:
  10553. description: 开仓总数量
  10554. type: integer
  10555. otherfrozenqty:
  10556. description: 持仓其他冻结数量(交割冻结)
  10557. type: integer
  10558. positionqty:
  10559. description: 期初持仓数量
  10560. type: integer
  10561. tnqty:
  10562. description: T+N冻结总量
  10563. type: integer
  10564. tnusedqty:
  10565. description: T+N使用量(可以使用T+N的冻结数量)
  10566. type: integer
  10567. trademode:
  10568. description: 交易模式
  10569. type: integer
  10570. usedmargin:
  10571. description: 占用保证金[商品币种]
  10572. type: number
  10573. required:
  10574. - goodsid
  10575. type: object
  10576. quote.HistoryData:
  10577. properties:
  10578. c:
  10579. description: 收盘价
  10580. type: number
  10581. f:
  10582. description: 是否补充数据
  10583. type: boolean
  10584. h:
  10585. description: 最高价
  10586. type: number
  10587. hv:
  10588. description: 持仓量
  10589. type: integer
  10590. l:
  10591. description: 最低价
  10592. type: number
  10593. o:
  10594. description: 开盘价
  10595. type: number
  10596. s:
  10597. description: 结算价,日线周期(包括)以上才有
  10598. type: number
  10599. ts:
  10600. description: 时间
  10601. type: string
  10602. tt:
  10603. description: 总金额
  10604. type: number
  10605. tv:
  10606. description: 总量
  10607. type: integer
  10608. type: object
  10609. quote.HistoryTikData:
  10610. properties:
  10611. AV:
  10612. description: 卖量
  10613. type: integer
  10614. Ask:
  10615. description: 卖价
  10616. type: number
  10617. BV:
  10618. description: 买量
  10619. type: integer
  10620. Bid:
  10621. description: 买价
  10622. type: number
  10623. HI:
  10624. description: 单笔持仓
  10625. type: integer
  10626. HV:
  10627. description: 持仓量
  10628. type: integer
  10629. PE:
  10630. description: 现价
  10631. type: number
  10632. TDR:
  10633. description: 交易方向,0:买 1:卖
  10634. type: integer
  10635. TK:
  10636. description: 交易类型
  10637. type: integer
  10638. TS:
  10639. description: 行情时间文本
  10640. type: string
  10641. TT:
  10642. description: 现金额
  10643. type: number
  10644. Vol:
  10645. description: 现量
  10646. type: integer
  10647. type: object
  10648. quote.QueryQuoteDayRsp:
  10649. properties:
  10650. ask:
  10651. description: 卖1
  10652. type: number
  10653. ask2:
  10654. description: 卖2
  10655. type: number
  10656. ask3:
  10657. description: 卖3
  10658. type: number
  10659. ask4:
  10660. description: 卖4
  10661. type: number
  10662. ask5:
  10663. description: 卖5
  10664. type: number
  10665. ask6:
  10666. description: 卖6
  10667. type: number
  10668. ask7:
  10669. description: 卖7
  10670. type: number
  10671. ask8:
  10672. description: 卖8
  10673. type: number
  10674. ask9:
  10675. description: 卖9
  10676. type: number
  10677. ask10:
  10678. description: 卖10
  10679. type: number
  10680. askorderid:
  10681. description: 卖单号1
  10682. type: integer
  10683. askorderid2:
  10684. description: 卖单号2
  10685. type: integer
  10686. askorderid3:
  10687. description: 卖单号3
  10688. type: integer
  10689. askorderid4:
  10690. description: 卖单号4
  10691. type: integer
  10692. askorderid5:
  10693. description: 卖单号5
  10694. type: integer
  10695. askordervolume:
  10696. description: 卖单量1
  10697. type: integer
  10698. askordervolume2:
  10699. description: 卖单量2
  10700. type: integer
  10701. askordervolume3:
  10702. description: 卖单量3
  10703. type: integer
  10704. askordervolume4:
  10705. description: 卖单量4
  10706. type: integer
  10707. askordervolume5:
  10708. description: 卖单量5
  10709. type: integer
  10710. askordervolume6:
  10711. description: 卖单量6
  10712. type: integer
  10713. askordervolume7:
  10714. description: 卖单量7
  10715. type: integer
  10716. askordervolume8:
  10717. description: 卖单量8
  10718. type: integer
  10719. askordervolume9:
  10720. description: 卖单量9
  10721. type: integer
  10722. askordervolume10:
  10723. description: 卖单量10
  10724. type: integer
  10725. askqueueinfo:
  10726. description: 大利市卖港股用
  10727. type: string
  10728. askvolume:
  10729. description: 卖量1
  10730. type: integer
  10731. askvolume2:
  10732. description: 卖量2
  10733. type: integer
  10734. askvolume3:
  10735. description: 卖量3
  10736. type: integer
  10737. askvolume4:
  10738. description: 卖量4
  10739. type: integer
  10740. askvolume5:
  10741. description: 卖量5
  10742. type: integer
  10743. askvolume6:
  10744. description: 卖量6
  10745. type: integer
  10746. askvolume7:
  10747. description: 卖量7
  10748. type: integer
  10749. askvolume8:
  10750. description: 卖量8
  10751. type: integer
  10752. askvolume9:
  10753. description: 卖量9
  10754. type: integer
  10755. askvolume10:
  10756. description: 卖量10
  10757. type: integer
  10758. averageprice:
  10759. description: 均价
  10760. type: number
  10761. bid:
  10762. description: 买1
  10763. type: number
  10764. bid2:
  10765. description: 买2
  10766. type: number
  10767. bid3:
  10768. description: 买3
  10769. type: number
  10770. bid4:
  10771. description: 买4
  10772. type: number
  10773. bid5:
  10774. description: 买5
  10775. type: number
  10776. bid6:
  10777. description: 买6
  10778. type: number
  10779. bid7:
  10780. description: 买7
  10781. type: number
  10782. bid8:
  10783. description: 买8
  10784. type: number
  10785. bid9:
  10786. description: 买9
  10787. type: number
  10788. bid10:
  10789. description: 买10
  10790. type: number
  10791. bidorderid:
  10792. description: 买单号1
  10793. type: integer
  10794. bidorderid2:
  10795. description: 买单号2
  10796. type: integer
  10797. bidorderid3:
  10798. description: 买单号3
  10799. type: integer
  10800. bidorderid4:
  10801. description: 买单号4
  10802. type: integer
  10803. bidorderid5:
  10804. description: 买单号5
  10805. type: integer
  10806. bidordervolume:
  10807. description: 买单量1
  10808. type: integer
  10809. bidordervolume2:
  10810. description: 买单量2
  10811. type: integer
  10812. bidordervolume3:
  10813. description: 买单量3
  10814. type: integer
  10815. bidordervolume4:
  10816. description: 买单量4
  10817. type: integer
  10818. bidordervolume5:
  10819. description: 买单量5
  10820. type: integer
  10821. bidordervolume6:
  10822. description: 买单量6
  10823. type: integer
  10824. bidordervolume7:
  10825. description: 买单量7
  10826. type: integer
  10827. bidordervolume8:
  10828. description: 买单量8
  10829. type: integer
  10830. bidordervolume9:
  10831. description: 买单量9
  10832. type: integer
  10833. bidordervolume10:
  10834. description: 买单量10
  10835. type: integer
  10836. bidqueueinfo:
  10837. description: 大利市买港股用
  10838. type: string
  10839. bidvolume:
  10840. description: 买量1
  10841. type: integer
  10842. bidvolume2:
  10843. description: 买量2
  10844. type: integer
  10845. bidvolume3:
  10846. description: 买量3
  10847. type: integer
  10848. bidvolume4:
  10849. description: 买量4
  10850. type: integer
  10851. bidvolume5:
  10852. description: 买量5
  10853. type: integer
  10854. bidvolume6:
  10855. description: 买量6
  10856. type: integer
  10857. bidvolume7:
  10858. description: 买量7
  10859. type: integer
  10860. bidvolume8:
  10861. description: 买量8
  10862. type: integer
  10863. bidvolume9:
  10864. description: 买量9
  10865. type: integer
  10866. bidvolume10:
  10867. description: 买量10
  10868. type: integer
  10869. calloptionpremiums:
  10870. description: 认购期权1
  10871. type: integer
  10872. calloptionpremiums2:
  10873. description: 认购期权2
  10874. type: integer
  10875. calloptionpremiums3:
  10876. description: 认购期权3
  10877. type: integer
  10878. calloptionpremiums4:
  10879. description: 认购期权4
  10880. type: integer
  10881. calloptionpremiums5:
  10882. description: 认购期权5
  10883. type: integer
  10884. cleartime:
  10885. description: 清盘时间
  10886. type: integer
  10887. exchangecode:
  10888. description: 交易所代码
  10889. type: integer
  10890. exchangedate:
  10891. description: 交易日
  10892. type: integer
  10893. goodscode:
  10894. description: 商品代码
  10895. type: string
  10896. grepmarketprice:
  10897. description: 暗盘价 港股专用
  10898. type: number
  10899. highest:
  10900. description: 最高价
  10901. type: number
  10902. holdincrement:
  10903. description: 单笔持仓
  10904. type: integer
  10905. holdvolume:
  10906. description: 持仓
  10907. type: integer
  10908. iep:
  10909. description: 平衡价 港股专用
  10910. type: number
  10911. iev:
  10912. description: 平衡量 港股专用
  10913. type: number
  10914. inventory:
  10915. description: 库存
  10916. type: integer
  10917. iscleared:
  10918. description: 是否清盘标志
  10919. type: integer
  10920. issettled:
  10921. description: 是否结算标志
  10922. type: integer
  10923. last:
  10924. description: 最新价
  10925. type: number
  10926. lastlot:
  10927. description: 最新成交手数
  10928. type: integer
  10929. lasttime:
  10930. description: 行情时间(只有现价变化行情时间才变化)
  10931. type: string
  10932. lastturnover:
  10933. description: 最新成交金额
  10934. type: number
  10935. lastvolume:
  10936. description: 最新成交量
  10937. type: integer
  10938. limitdown:
  10939. description: 跌停价
  10940. type: number
  10941. limitup:
  10942. description: 涨停价
  10943. type: number
  10944. lowest:
  10945. description: 最低价
  10946. type: number
  10947. nontotalholdervolume:
  10948. description: 非交易持仓量
  10949. type: integer
  10950. nontotallot:
  10951. description: 非交易总手数
  10952. type: integer
  10953. nontotalturnover:
  10954. description: 非交易总金额
  10955. type: integer
  10956. nontotalvolume:
  10957. description: 非交易总量
  10958. type: integer
  10959. opened:
  10960. description: 开盘价
  10961. type: number
  10962. opentime:
  10963. description: 开盘时间
  10964. type: string
  10965. orderid:
  10966. description: 序号
  10967. type: integer
  10968. preclose:
  10969. description: 昨收
  10970. type: number
  10971. preholdvolume:
  10972. description: 昨持仓
  10973. type: integer
  10974. presettle:
  10975. description: 昨结价
  10976. type: number
  10977. publictradetype:
  10978. description: 公共交易标志类型 港股专用
  10979. type: string
  10980. putoptionpremiums:
  10981. description: 认沽期权1
  10982. type: integer
  10983. putoptionpremiums2:
  10984. description: 认沽期权2
  10985. type: integer
  10986. putoptionpremiums3:
  10987. description: 认沽期权3
  10988. type: integer
  10989. putoptionpremiums4:
  10990. description: 认沽期权4
  10991. type: integer
  10992. putoptionpremiums5:
  10993. description: 认沽期权5
  10994. type: integer
  10995. settle:
  10996. description: 结算价
  10997. type: number
  10998. strikeprice:
  10999. description: 发行价
  11000. type: number
  11001. totalaskvolume:
  11002. description: 内盘
  11003. type: integer
  11004. totalbidvolume:
  11005. description: 外盘
  11006. type: integer
  11007. totallot:
  11008. description: 总手数
  11009. type: integer
  11010. totalturnover:
  11011. description: 总金额
  11012. type: number
  11013. totalvolume:
  11014. description: 总量
  11015. type: integer
  11016. utclasttime:
  11017. description: utc的行情时间
  11018. type: string
  11019. type: object
  11020. quote.QueryTSDataRsp:
  11021. properties:
  11022. Count:
  11023. description: 交易日应有数据个数
  11024. type: integer
  11025. decimalPlace:
  11026. description: 小数位
  11027. type: integer
  11028. endTime:
  11029. description: 结束时间
  11030. type: string
  11031. goodsCode:
  11032. description: 商品代码
  11033. type: string
  11034. historyDatas:
  11035. description: 历史数据
  11036. items:
  11037. $ref: '#/definitions/quote.HistoryData'
  11038. type: array
  11039. outGoodsCode:
  11040. description: 外部商品代码
  11041. type: string
  11042. preSettle:
  11043. description: 昨结价
  11044. type: number
  11045. runSteps:
  11046. description: 交易日开休市计划
  11047. items:
  11048. $ref: '#/definitions/quote.TSDataRunStep'
  11049. type: array
  11050. startTime:
  11051. description: 开始时间
  11052. type: string
  11053. tradeDate:
  11054. description: 交易日
  11055. type: string
  11056. type: object
  11057. quote.TSDataRunStep:
  11058. properties:
  11059. end:
  11060. description: 真实结束时间
  11061. type: string
  11062. endflag:
  11063. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  11064. type: integer
  11065. endtime:
  11066. description: 结束时间(HH:mm)
  11067. type: string
  11068. endweekday:
  11069. description: 结束周几
  11070. type: integer
  11071. groupid:
  11072. description: 分组ID
  11073. type: integer
  11074. runstep:
  11075. description: 运行阶段 - 2:连续交易
  11076. type: integer
  11077. sectionid:
  11078. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  11079. 结束时间=结算时间 结束周几=结算周几
  11080. type: integer
  11081. start:
  11082. description: 真实开始时间
  11083. type: string
  11084. startflag:
  11085. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  11086. type: integer
  11087. starttime:
  11088. description: 起始时间(HH:mm)
  11089. type: string
  11090. startweekday:
  11091. description: 起始周几
  11092. type: integer
  11093. tradeweekday:
  11094. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  11095. type: integer
  11096. type: object
  11097. szdz.QueryConvertLogRsp:
  11098. properties:
  11099. accountid:
  11100. description: 资金账户ID
  11101. type: integer
  11102. clientticket:
  11103. description: 客户端流水号
  11104. type: string
  11105. converttype:
  11106. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  11107. type: integer
  11108. createtime:
  11109. description: 记账时间
  11110. type: string
  11111. daymaxvalue:
  11112. description: 配置当日最大转入限制
  11113. type: number
  11114. daymaxvalue2:
  11115. description: 配置当日最大转入限制(转入)
  11116. type: number
  11117. goodscode:
  11118. description: 商品代码
  11119. type: string
  11120. goodsname:
  11121. description: 商品名称
  11122. type: string
  11123. handlestatus:
  11124. description: 处理状态
  11125. type: integer
  11126. innergoodsid:
  11127. description: 内部商品ID
  11128. type: integer
  11129. inratio:
  11130. description: 配置转入比值
  11131. type: integer
  11132. invalue:
  11133. description: 目标值
  11134. type: number
  11135. logid:
  11136. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11137. type: integer
  11138. mobile:
  11139. description: 手机号码(加密存储)
  11140. type: string
  11141. outergoodscode:
  11142. description: 外部商品代码[JD\PD]
  11143. type: string
  11144. outratio:
  11145. description: 配置转出比值
  11146. type: integer
  11147. outvalue:
  11148. description: 源值
  11149. type: number
  11150. pddecimalplace:
  11151. description: PD小数位
  11152. type: integer
  11153. qty:
  11154. description: 数量
  11155. type: string
  11156. remark:
  11157. description: 备注
  11158. type: string
  11159. sessionid:
  11160. description: 会话ID
  11161. type: integer
  11162. timemaxvalue:
  11163. description: 配置单次最大转入限制
  11164. type: number
  11165. timemaxvalue2:
  11166. description: 配置单次最大转入限制(转入)
  11167. type: number
  11168. timeminvalue:
  11169. description: 配置单次最小数量限制
  11170. type: number
  11171. timeminvalue2:
  11172. description: 配置单次最小数量限制(转入)
  11173. type: number
  11174. tradedate:
  11175. description: 交易日(yyyyMMdd)
  11176. type: string
  11177. userid:
  11178. description: 用户ID
  11179. type: integer
  11180. required:
  11181. - logid
  11182. type: object
  11183. szdz.QueryGoodsPickupRsp:
  11184. properties:
  11185. accountid:
  11186. description: 账户ID
  11187. type: integer
  11188. address:
  11189. description: 提货人详细地址
  11190. type: string
  11191. auditer:
  11192. description: 审核人
  11193. type: integer
  11194. audittime:
  11195. description: 审核时间
  11196. type: string
  11197. cardnum:
  11198. description: 提货人证件号码
  11199. type: string
  11200. cardtypeid:
  11201. description: 提货人证件类型
  11202. type: integer
  11203. checkremark:
  11204. description: 审核备注
  11205. type: string
  11206. goodscode:
  11207. description: 商品代码
  11208. type: string
  11209. goodsid:
  11210. description: 商品ID
  11211. type: integer
  11212. goodsname:
  11213. description: 商品名称
  11214. type: string
  11215. handlestatus:
  11216. description: 处理状态
  11217. type: integer
  11218. marketid:
  11219. description: 市场ID
  11220. type: integer
  11221. phonenum:
  11222. description: 提货人联系方式
  11223. type: string
  11224. qty:
  11225. description: 提货数量
  11226. type: number
  11227. recivername:
  11228. description: 提货人姓名
  11229. type: string
  11230. reqtime:
  11231. description: 更新时间
  11232. type: string
  11233. takemode:
  11234. description: 提货方式 - 2:自提 3:配送
  11235. type: integer
  11236. takeorderid:
  11237. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  11238. type: string
  11239. takeorderstatus:
  11240. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  11241. type: integer
  11242. takeremark:
  11243. description: 提货备注
  11244. type: string
  11245. tradedate:
  11246. description: 交易日(yyyyMMdd)
  11247. type: string
  11248. userid:
  11249. description: 用户ID
  11250. type: integer
  11251. required:
  11252. - takeorderid
  11253. type: object
  11254. szdz.QueryRecieptOrderRsp:
  11255. properties:
  11256. accountName:
  11257. description: 所属账号名称(已脱敏)
  11258. type: string
  11259. accountid:
  11260. description: 资金账号
  11261. type: integer
  11262. buyorsell:
  11263. description: 方向 - 0:买 1:卖
  11264. type: integer
  11265. enableqty:
  11266. description: 可摘数量
  11267. type: integer
  11268. goodscode:
  11269. description: 商品代码
  11270. type: string
  11271. goodsid:
  11272. description: 商品ID
  11273. type: integer
  11274. goodsname:
  11275. description: 商品名称
  11276. type: string
  11277. orderid:
  11278. description: 委托单号
  11279. type: string
  11280. orderprice:
  11281. description: 委托价格
  11282. type: number
  11283. ordertime:
  11284. description: 委托时间
  11285. type: string
  11286. tradedate:
  11287. description: 交易日(yyyyMMdd)
  11288. type: string
  11289. required:
  11290. - ordertime
  11291. type: object
  11292. szdz.QuerySZDZTradePositionRsp:
  11293. properties:
  11294. accountid:
  11295. description: 账号Id
  11296. type: integer
  11297. agreeunit:
  11298. description: 合约单位
  11299. type: number
  11300. averageprice:
  11301. description: 持仓均价
  11302. type: number
  11303. buyorsell:
  11304. description: 方向 - 0:买 1:卖
  11305. type: integer
  11306. closetotalqty:
  11307. description: 平仓总数量
  11308. type: integer
  11309. curholderamount:
  11310. description: 当前持仓总金额
  11311. type: number
  11312. curpositionqty:
  11313. description: 当前持仓总数量
  11314. type: integer
  11315. currencyid:
  11316. description: 报价货币ID
  11317. type: integer
  11318. curtdposition:
  11319. description: 期末今日头寸
  11320. type: integer
  11321. decimalplace:
  11322. description: 报价小数位
  11323. type: integer
  11324. enableqty:
  11325. description: 可用量
  11326. type: integer
  11327. fretdposition:
  11328. description: 冻结今日头寸
  11329. type: integer
  11330. frozenqty:
  11331. description: 持仓冻结数量
  11332. type: integer
  11333. goodscode:
  11334. description: 商品代码(内部)
  11335. type: string
  11336. goodsid:
  11337. description: 商品Id
  11338. type: integer
  11339. goodsname:
  11340. description: 商品名称
  11341. type: string
  11342. goodunit:
  11343. description: 报价单位
  11344. type: string
  11345. goodunitid:
  11346. description: 报价单位ID
  11347. type: integer
  11348. holderamount:
  11349. description: 期初持仓总金额
  11350. type: number
  11351. marketid:
  11352. description: 市场ID
  11353. type: integer
  11354. openreqqty:
  11355. description: 开仓申请数量
  11356. type: integer
  11357. opentotalqty:
  11358. description: 开仓总数量
  11359. type: integer
  11360. otherfrozenqty:
  11361. description: 持仓其他冻结数量(交割冻结)
  11362. type: integer
  11363. positionqty:
  11364. description: 期初持仓数量
  11365. type: integer
  11366. szdz3freezqty:
  11367. description: 尚志大宗转换冻结总数量
  11368. type: integer
  11369. tnqty:
  11370. description: T+N冻结总量
  11371. type: integer
  11372. tnusedqty:
  11373. description: T+N使用量
  11374. type: integer
  11375. trademode:
  11376. description: 交易模式
  11377. type: integer
  11378. usedmargin:
  11379. description: 占用保证金
  11380. type: number
  11381. type: object
  11382. taaccount.QueryAmountLogRsp:
  11383. properties:
  11384. OPERATETYPENAME:
  11385. description: 资金操作类型名称
  11386. type: string
  11387. accountid:
  11388. description: 资金账户ID
  11389. type: integer
  11390. agoodscode:
  11391. description: 竞拍商品代码
  11392. type: string
  11393. agoodsname:
  11394. description: 竞拍商品名称
  11395. type: string
  11396. amount:
  11397. description: 资金金额
  11398. type: number
  11399. amountadjusttype:
  11400. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  11401. type: integer
  11402. autoid:
  11403. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  11404. type: integer
  11405. balance:
  11406. description: 期初余额
  11407. type: number
  11408. businesscode:
  11409. description: 业务编号
  11410. type: integer
  11411. createtime:
  11412. description: 发生时间
  11413. type: string
  11414. currencyid:
  11415. description: 币种ID
  11416. type: integer
  11417. currentbalance:
  11418. description: 期末余额(变动后金额)
  11419. type: number
  11420. dgoodscode:
  11421. description: 交割商品代码
  11422. type: string
  11423. dgoodsname:
  11424. description: 交割商品名称
  11425. type: string
  11426. goodscode:
  11427. description: 商品代码
  11428. type: string
  11429. goodsid:
  11430. description: 商品ID
  11431. type: integer
  11432. goodsname:
  11433. description: 商品名称
  11434. type: string
  11435. marketid:
  11436. description: 市场ID
  11437. type: integer
  11438. marketname:
  11439. description: 市场名称
  11440. type: string
  11441. moneyticket:
  11442. description: 资金流水号:银行端流水号
  11443. type: integer
  11444. operatetype:
  11445. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  11446. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  11447. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  11448. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  11449. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  11450. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  11451. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  11452. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  11453. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  11454. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  11455. type: integer
  11456. relationorderid:
  11457. description: 关联单号
  11458. type: string
  11459. remark:
  11460. description: 备注
  11461. type: string
  11462. trademode:
  11463. description: 交易模式
  11464. type: integer
  11465. required:
  11466. - accountid
  11467. - amount
  11468. - amountadjusttype
  11469. - autoid
  11470. - balance
  11471. - createtime
  11472. - currentbalance
  11473. - operatetype
  11474. type: object
  11475. taaccount.QueryHisAmountLogRsp:
  11476. properties:
  11477. OPERATETYPENAME:
  11478. description: 资金操作类型名称
  11479. type: string
  11480. accountid:
  11481. description: 资金账户ID
  11482. type: integer
  11483. agoodscode:
  11484. description: 竞拍商品代码
  11485. type: string
  11486. agoodsname:
  11487. description: 竞拍商品名称
  11488. type: string
  11489. amount:
  11490. description: 资金金额
  11491. type: number
  11492. amountadjusttype:
  11493. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  11494. type: integer
  11495. autoid:
  11496. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  11497. type: integer
  11498. balance:
  11499. description: 期初余额
  11500. type: number
  11501. businesscode:
  11502. description: 业务编号
  11503. type: integer
  11504. createtime:
  11505. description: 发生时间
  11506. type: string
  11507. currencyid:
  11508. description: 币种ID
  11509. type: integer
  11510. currentbalance:
  11511. description: 期末余额(变动后金额)
  11512. type: number
  11513. dgoodscode:
  11514. description: 交割商品代码
  11515. type: string
  11516. dgoodsname:
  11517. description: 交割商品名称
  11518. type: string
  11519. goodscode:
  11520. description: 商品代码
  11521. type: string
  11522. goodsid:
  11523. description: 商品ID
  11524. type: integer
  11525. goodsname:
  11526. description: 商品名称
  11527. type: string
  11528. histradedate:
  11529. description: 历史交易日
  11530. type: string
  11531. isvaliddata:
  11532. description: 是否有效 - 0:无效 1:有效
  11533. type: integer
  11534. marketid:
  11535. description: 市场ID
  11536. type: integer
  11537. marketname:
  11538. description: 市场名称
  11539. type: string
  11540. moneyticket:
  11541. description: 资金流水号:银行端流水号
  11542. type: integer
  11543. operatetype:
  11544. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  11545. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  11546. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  11547. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  11548. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  11549. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  11550. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  11551. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  11552. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  11553. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  11554. type: integer
  11555. relationorderid:
  11556. description: 关联单号
  11557. type: string
  11558. remark:
  11559. description: 备注
  11560. type: string
  11561. trademode:
  11562. description: 交易模式
  11563. type: integer
  11564. required:
  11565. - accountid
  11566. - amount
  11567. - amountadjusttype
  11568. - autoid
  11569. - balance
  11570. - createtime
  11571. - currentbalance
  11572. - histradedate
  11573. - operatetype
  11574. type: object
  11575. trade.QueryRecieptOrderRsp:
  11576. properties:
  11577. accountName:
  11578. description: 所属账号名称(已脱敏)
  11579. type: string
  11580. accountid:
  11581. description: 资金账号
  11582. type: integer
  11583. buyorsell:
  11584. description: 方向 - 0:买 1:卖
  11585. type: integer
  11586. enableqty:
  11587. description: 可摘数量
  11588. type: integer
  11589. goodscode:
  11590. description: 商品代码
  11591. type: string
  11592. goodsid:
  11593. description: 商品ID
  11594. type: integer
  11595. goodsname:
  11596. description: 商品名称
  11597. type: string
  11598. orderid:
  11599. description: 委托单号
  11600. type: string
  11601. orderprice:
  11602. description: 委托价格
  11603. type: number
  11604. ordertime:
  11605. description: 委托时间
  11606. type: string
  11607. tradedate:
  11608. description: 交易日(yyyyMMdd)
  11609. type: string
  11610. required:
  11611. - ordertime
  11612. type: object
  11613. user.LoginQueryRsp:
  11614. properties:
  11615. areaRoles:
  11616. description: 所属角色信息
  11617. items:
  11618. $ref: '#/definitions/models.Arearole'
  11619. type: array
  11620. externalExchanges:
  11621. description: 外部交易所
  11622. items:
  11623. $ref: '#/definitions/models.Externalexchange'
  11624. type: array
  11625. goodsgroups:
  11626. description: 商品组
  11627. items:
  11628. $ref: '#/definitions/models.Goodsgroup'
  11629. type: array
  11630. loginAccount:
  11631. $ref: '#/definitions/models.Loginaccount'
  11632. description: 登录账号
  11633. type: object
  11634. markets:
  11635. description: 市场
  11636. items:
  11637. $ref: '#/definitions/models.Market'
  11638. type: array
  11639. systemParams:
  11640. description: 系统参数
  11641. items:
  11642. $ref: '#/definitions/models.Systemparam'
  11643. type: array
  11644. userAccount:
  11645. $ref: '#/definitions/models.Useraccount'
  11646. description: 用户账号
  11647. type: object
  11648. userInfo:
  11649. $ref: '#/definitions/models.Userinfo'
  11650. description: 用户信息
  11651. type: object
  11652. username:
  11653. description: 用户姓名
  11654. type: string
  11655. type: object
  11656. info:
  11657. contact: {}
  11658. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  11659. license: {}
  11660. termsOfService: http://www.muchinfo.cn
  11661. title: MTP2.0 查询服务 API
  11662. version: "1.0"
  11663. paths:
  11664. /CPTrade/QueryCPTradeMyBidInfos:
  11665. get:
  11666. parameters:
  11667. - description: 资金账户
  11668. in: query
  11669. name: accountid
  11670. required: true
  11671. type: integer
  11672. - description: 预售市场ID
  11673. in: query
  11674. name: marketid
  11675. type: integer
  11676. - description: 预售商品ID
  11677. in: query
  11678. name: goodsid
  11679. type: integer
  11680. produces:
  11681. - application/json
  11682. responses:
  11683. "200":
  11684. description: OK
  11685. schema:
  11686. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  11687. "500":
  11688. description: Internal Server Error
  11689. schema:
  11690. $ref: '#/definitions/app.Response'
  11691. security:
  11692. - ApiKeyAuth: []
  11693. summary: 查询产能预售我的出价信息
  11694. tags:
  11695. - 产能预售
  11696. /CPTrade/QueryCPTradeOrderDetail:
  11697. get:
  11698. parameters:
  11699. - description: 预售商品ID
  11700. in: query
  11701. name: goodsid
  11702. type: integer
  11703. - description: 预售市场ID
  11704. in: query
  11705. name: marketid
  11706. type: integer
  11707. - description: 预售商品ID列表 - 格式:1,2,3
  11708. in: query
  11709. name: goodsids
  11710. type: string
  11711. produces:
  11712. - application/json
  11713. responses:
  11714. "200":
  11715. description: OK
  11716. schema:
  11717. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  11718. "500":
  11719. description: Internal Server Error
  11720. schema:
  11721. $ref: '#/definitions/app.Response'
  11722. security:
  11723. - ApiKeyAuth: []
  11724. summary: 查询产能预售委托单信息
  11725. tags:
  11726. - 产能预售
  11727. /CPTrade/QueryMyCPTradeGoods:
  11728. get:
  11729. parameters:
  11730. - description: 资金账户
  11731. in: query
  11732. name: accountid
  11733. required: true
  11734. type: integer
  11735. produces:
  11736. - application/json
  11737. responses:
  11738. "200":
  11739. description: OK
  11740. schema:
  11741. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  11742. "500":
  11743. description: Internal Server Error
  11744. schema:
  11745. $ref: '#/definitions/app.Response'
  11746. security:
  11747. - ApiKeyAuth: []
  11748. summary: 查询我的预售信息
  11749. tags:
  11750. - 产能预售
  11751. /CPTrade/QueryPositionCancel:
  11752. get:
  11753. parameters:
  11754. - description: 账户ID
  11755. in: query
  11756. name: userid
  11757. required: true
  11758. type: integer
  11759. - description: 注销ID
  11760. in: query
  11761. name: cancelid
  11762. type: integer
  11763. - description: 资金账户ID
  11764. in: query
  11765. name: accountid
  11766. type: integer
  11767. produces:
  11768. - application/json
  11769. responses:
  11770. "200":
  11771. description: OK
  11772. schema:
  11773. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  11774. "500":
  11775. description: Internal Server Error
  11776. schema:
  11777. $ref: '#/definitions/app.Response'
  11778. security:
  11779. - ApiKeyAuth: []
  11780. summary: 查询远期订单注销申请信息
  11781. tags:
  11782. - 产能预售
  11783. /CPTrade/QueryPreasleApply:
  11784. get:
  11785. parameters:
  11786. - description: 账户ID
  11787. in: query
  11788. name: userid
  11789. required: true
  11790. type: integer
  11791. - description: 申请ID
  11792. in: query
  11793. name: applyid
  11794. type: integer
  11795. - description: 资金账户ID
  11796. in: query
  11797. name: accountid
  11798. type: integer
  11799. produces:
  11800. - application/json
  11801. responses:
  11802. "200":
  11803. description: OK
  11804. schema:
  11805. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  11806. "500":
  11807. description: Internal Server Error
  11808. schema:
  11809. $ref: '#/definitions/app.Response'
  11810. security:
  11811. - ApiKeyAuth: []
  11812. summary: 查询产能预售申请信息
  11813. tags:
  11814. - 产能预售
  11815. /CPTrade/QueryPresaleGoodsEx:
  11816. get:
  11817. parameters:
  11818. - description: 预售商品ID
  11819. in: query
  11820. name: goodsid
  11821. type: integer
  11822. - description: 预售市场ID
  11823. in: query
  11824. name: marketid
  11825. type: integer
  11826. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  11827. in: query
  11828. name: presalemode
  11829. type: integer
  11830. - description: 预售商品ID列表 - 格式:1,2,3
  11831. in: query
  11832. name: goodsids
  11833. type: string
  11834. - description: 预售商品代码
  11835. in: query
  11836. name: goodscode
  11837. type: string
  11838. produces:
  11839. - application/json
  11840. responses:
  11841. "200":
  11842. description: OK
  11843. schema:
  11844. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  11845. "500":
  11846. description: Internal Server Error
  11847. schema:
  11848. $ref: '#/definitions/app.Response'
  11849. security:
  11850. - ApiKeyAuth: []
  11851. summary: 查询产能预售商品扩展信息
  11852. tags:
  11853. - 产能预售
  11854. /CPTrade/QueryUserGoodsData:
  11855. get:
  11856. parameters:
  11857. - description: 资金账户ID
  11858. in: query
  11859. name: accountid
  11860. required: true
  11861. type: integer
  11862. produces:
  11863. - application/json
  11864. responses:
  11865. "200":
  11866. description: OK
  11867. schema:
  11868. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  11869. "500":
  11870. description: Internal Server Error
  11871. schema:
  11872. $ref: '#/definitions/app.Response'
  11873. security:
  11874. - ApiKeyAuth: []
  11875. summary: 查询远期订单信息
  11876. tags:
  11877. - 产能预售
  11878. /Common/GetAllEnums:
  11879. get:
  11880. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  11881. parameters:
  11882. - description: 起始自增ID
  11883. in: query
  11884. name: autoid
  11885. type: integer
  11886. produces:
  11887. - application/json
  11888. responses:
  11889. "200":
  11890. description: OK
  11891. schema:
  11892. $ref: '#/definitions/models.Enumdicitem'
  11893. "500":
  11894. description: Internal Server Error
  11895. schema:
  11896. $ref: '#/definitions/app.Response'
  11897. summary: 获取所有枚举信息
  11898. tags:
  11899. - 通用服务
  11900. /Common/GetClientMenus:
  11901. get:
  11902. parameters:
  11903. - description: 登录账号
  11904. in: query
  11905. name: loginID
  11906. required: true
  11907. type: integer
  11908. - description: 终端类型,0:PC 1:Mobile
  11909. in: query
  11910. name: clientType
  11911. type: integer
  11912. produces:
  11913. - application/json
  11914. responses:
  11915. "200":
  11916. description: OK
  11917. schema:
  11918. items:
  11919. $ref: '#/definitions/common.ClientMenu'
  11920. type: array
  11921. "500":
  11922. description: Internal Server Error
  11923. schema:
  11924. $ref: '#/definitions/app.Response'
  11925. security:
  11926. - ApiKeyAuth: []
  11927. summary: 获取交易端菜单
  11928. tags:
  11929. - 通用服务
  11930. /Common/GetDivisions:
  11931. get:
  11932. produces:
  11933. - application/json
  11934. responses:
  11935. "200":
  11936. description: OK
  11937. schema:
  11938. $ref: '#/definitions/models.Division'
  11939. "500":
  11940. description: Internal Server Error
  11941. schema:
  11942. $ref: '#/definitions/app.Response'
  11943. summary: 查询区域信息
  11944. tags:
  11945. - 通用服务
  11946. /Common/GetServerTime:
  11947. get:
  11948. produces:
  11949. - application/json
  11950. responses:
  11951. "200":
  11952. description: OK
  11953. schema:
  11954. $ref: '#/definitions/app.Response'
  11955. "500":
  11956. description: Internal Server Error
  11957. schema:
  11958. $ref: '#/definitions/app.Response'
  11959. summary: 获取服务器时间
  11960. tags:
  11961. - 通用服务
  11962. /Common/NoticeReaded:
  11963. post:
  11964. parameters:
  11965. - description: 登录账号
  11966. in: query
  11967. name: loginID
  11968. required: true
  11969. type: integer
  11970. - description: 通知公告ID
  11971. in: query
  11972. name: noticeID
  11973. required: true
  11974. type: integer
  11975. produces:
  11976. - application/json
  11977. responses:
  11978. "200":
  11979. description: OK
  11980. schema:
  11981. $ref: '#/definitions/app.Response'
  11982. "500":
  11983. description: Internal Server Error
  11984. schema:
  11985. $ref: '#/definitions/app.Response'
  11986. security:
  11987. - ApiKeyAuth: []
  11988. summary: 通知公告设置已读请求
  11989. tags:
  11990. - 通用服务
  11991. /Common/QueryErrorInfos:
  11992. get:
  11993. description: 如果传入rowNumber,则返回此rowNumber后的数据
  11994. parameters:
  11995. - description: 起始行号前索引
  11996. in: query
  11997. name: rowNumber
  11998. type: string
  11999. produces:
  12000. - application/json
  12001. responses:
  12002. "200":
  12003. description: OK
  12004. schema:
  12005. $ref: '#/definitions/models.QueryErrorInfosRsp'
  12006. "500":
  12007. description: Internal Server Error
  12008. schema:
  12009. $ref: '#/definitions/app.Response'
  12010. summary: 获取数据库错误信息
  12011. tags:
  12012. - 通用服务
  12013. /Common/QueryImageConfigs:
  12014. get:
  12015. parameters:
  12016. - description: 类型 - 1:App首页轮播 2:我的
  12017. in: query
  12018. name: imageType
  12019. type: integer
  12020. produces:
  12021. - application/json
  12022. responses:
  12023. "200":
  12024. description: OK
  12025. schema:
  12026. $ref: '#/definitions/common.QueryImageConfigsRsp'
  12027. "500":
  12028. description: Internal Server Error
  12029. schema:
  12030. $ref: '#/definitions/app.Response'
  12031. summary: 查询轮播图配置信息
  12032. tags:
  12033. - 通用服务
  12034. /Common/QueryNotice:
  12035. get:
  12036. parameters:
  12037. - description: 页码
  12038. in: query
  12039. name: page
  12040. type: integer
  12041. - description: 每页条数
  12042. in: query
  12043. name: pagesize
  12044. type: integer
  12045. - description: 登录账号
  12046. in: query
  12047. name: loginID
  12048. required: true
  12049. type: integer
  12050. - description: 消息类型 - 1:公告通知 2:系统消息
  12051. in: query
  12052. name: msgType
  12053. type: integer
  12054. - description: 是否只获取未读信息
  12055. in: query
  12056. name: onlyUnRead
  12057. type: boolean
  12058. - description: 自增ID,传入后会返回这个ID后面的记录
  12059. in: query
  12060. name: lastID
  12061. type: integer
  12062. produces:
  12063. - application/json
  12064. responses:
  12065. "200":
  12066. description: OK
  12067. schema:
  12068. $ref: '#/definitions/common.QueryNoticeRsp'
  12069. "500":
  12070. description: Internal Server Error
  12071. schema:
  12072. $ref: '#/definitions/app.Response'
  12073. security:
  12074. - ApiKeyAuth: []
  12075. summary: 通知公告系统消息查询
  12076. tags:
  12077. - 通用服务
  12078. /Common/QueryProvincesAndCities:
  12079. get:
  12080. parameters:
  12081. - description: 省ID
  12082. in: query
  12083. name: provinceID
  12084. type: integer
  12085. produces:
  12086. - application/json
  12087. responses:
  12088. "200":
  12089. description: OK
  12090. schema:
  12091. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  12092. "500":
  12093. description: Internal Server Error
  12094. schema:
  12095. $ref: '#/definitions/app.Response'
  12096. summary: 查询省市信息(不包括区)
  12097. tags:
  12098. - 通用服务
  12099. /Common/QueryTableDefine:
  12100. get:
  12101. parameters:
  12102. - description: 表key
  12103. in: query
  12104. name: tableKey
  12105. type: string
  12106. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  12107. in: query
  12108. name: tableType
  12109. type: integer
  12110. produces:
  12111. - application/json
  12112. responses:
  12113. "200":
  12114. description: OK
  12115. schema:
  12116. $ref: '#/definitions/common.QueryTableDefineRsp'
  12117. "500":
  12118. description: Internal Server Error
  12119. schema:
  12120. $ref: '#/definitions/app.Response'
  12121. summary: 查询交易端列表头信息
  12122. tags:
  12123. - 通用服务
  12124. /Common/QueryTraderMenu:
  12125. get:
  12126. parameters:
  12127. - description: 登录账号
  12128. in: query
  12129. name: loginid
  12130. required: true
  12131. type: integer
  12132. produces:
  12133. - application/json
  12134. responses:
  12135. "200":
  12136. description: OK
  12137. schema:
  12138. $ref: '#/definitions/common.QueryTraderMenuRsp'
  12139. "500":
  12140. description: Internal Server Error
  12141. schema:
  12142. $ref: '#/definitions/app.Response'
  12143. summary: 查询交易端菜单
  12144. tags:
  12145. - 通用服务
  12146. /Delivery/QueryDeliveryRelation:
  12147. get:
  12148. parameters:
  12149. - description: 商品ID
  12150. in: query
  12151. name: goodsid
  12152. type: integer
  12153. - description: 品种ID
  12154. in: query
  12155. name: deliverygoodsid
  12156. type: integer
  12157. - description: 市场ID
  12158. in: query
  12159. name: marketid
  12160. type: integer
  12161. produces:
  12162. - application/json
  12163. responses:
  12164. "200":
  12165. description: OK
  12166. schema:
  12167. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  12168. "500":
  12169. description: Internal Server Error
  12170. schema:
  12171. $ref: '#/definitions/app.Response'
  12172. security:
  12173. - ApiKeyAuth: []
  12174. summary: 查询商品交割关系表
  12175. tags:
  12176. - 交割服务
  12177. /Ermcp/GetErmcpGoods:
  12178. get:
  12179. parameters:
  12180. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  12181. in: query
  12182. name: lastUpdateTime
  12183. type: string
  12184. produces:
  12185. - application/json
  12186. responses:
  12187. "200":
  12188. description: OK
  12189. schema:
  12190. $ref: '#/definitions/models.Goods'
  12191. "500":
  12192. description: Internal Server Error
  12193. schema:
  12194. $ref: '#/definitions/app.Response'
  12195. security:
  12196. - ApiKeyAuth: []
  12197. summary: 查询企业风管期货商品信息
  12198. tags:
  12199. - 企业风险管理(app)
  12200. /Ermcp/GetErmcpGoodsSortByPosition:
  12201. get:
  12202. parameters:
  12203. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  12204. in: query
  12205. name: sortIndex
  12206. type: string
  12207. produces:
  12208. - application/json
  12209. responses:
  12210. "200":
  12211. description: OK
  12212. schema:
  12213. $ref: '#/definitions/models.Goodssortbypreposition'
  12214. "500":
  12215. description: Internal Server Error
  12216. schema:
  12217. $ref: '#/definitions/app.Response'
  12218. security:
  12219. - ApiKeyAuth: []
  12220. summary: 查询企业风管期货主力、次主力商品信息
  12221. tags:
  12222. - 企业风险管理(app)
  12223. /Ermcp/GetErmcpOutAccountStatus:
  12224. get:
  12225. parameters:
  12226. - description: 登录账号
  12227. in: query
  12228. name: loginID
  12229. required: true
  12230. type: integer
  12231. produces:
  12232. - application/json
  12233. responses:
  12234. "200":
  12235. description: OK
  12236. schema:
  12237. $ref: '#/definitions/models.Hedgemarketopenlog'
  12238. "500":
  12239. description: Internal Server Error
  12240. schema:
  12241. $ref: '#/definitions/app.Response'
  12242. security:
  12243. - ApiKeyAuth: []
  12244. summary: 获取目标登录账号当前对冲账号在线状态
  12245. tags:
  12246. - 企业风险管理(app)
  12247. /Ermcp/GetErmcpRoleFuncMenuLists:
  12248. get:
  12249. parameters:
  12250. - description: 登录账号
  12251. in: query
  12252. name: loginID
  12253. required: true
  12254. type: integer
  12255. produces:
  12256. - application/json
  12257. responses:
  12258. "200":
  12259. description: OK
  12260. schema:
  12261. $ref: '#/definitions/models.Funcmenulist'
  12262. "500":
  12263. description: Internal Server Error
  12264. schema:
  12265. $ref: '#/definitions/app.Response'
  12266. security:
  12267. - ApiKeyAuth: []
  12268. summary: 获取企业风管终端权限
  12269. tags:
  12270. - 企业风险管理(app)
  12271. /Ermcp/QueryAccMgrBizGroupSet:
  12272. get:
  12273. parameters:
  12274. - description: 用户ID
  12275. in: query
  12276. name: userid
  12277. required: true
  12278. type: integer
  12279. - description: 现货商品id
  12280. in: query
  12281. name: deliverygoodsid
  12282. type: integer
  12283. produces:
  12284. - application/json
  12285. responses:
  12286. "200":
  12287. description: OK
  12288. schema:
  12289. items:
  12290. $ref: '#/definitions/models.ErmcpBizGroupEx'
  12291. type: array
  12292. "500":
  12293. description: Internal Server Error
  12294. schema:
  12295. $ref: '#/definitions/app.Response'
  12296. security:
  12297. - ApiKeyAuth: []
  12298. summary: 查询业务类型分组(账户管理/账户设置)
  12299. tags:
  12300. - 企业风险管理(app)
  12301. /Ermcp/QueryAccMgrLoginUser:
  12302. get:
  12303. parameters:
  12304. - description: 用户ID
  12305. in: query
  12306. name: userid
  12307. required: true
  12308. type: integer
  12309. - description: 用户类型 2-机构 7-企业成员
  12310. in: query
  12311. name: usertype
  12312. type: integer
  12313. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  12314. in: query
  12315. name: querytype
  12316. required: true
  12317. type: integer
  12318. produces:
  12319. - application/json
  12320. responses:
  12321. "200":
  12322. description: OK
  12323. schema:
  12324. items:
  12325. $ref: '#/definitions/models.ErmcpLoginUserEx'
  12326. type: array
  12327. "500":
  12328. description: Internal Server Error
  12329. schema:
  12330. $ref: '#/definitions/app.Response'
  12331. security:
  12332. - ApiKeyAuth: []
  12333. summary: 查询账户管理登录账号(账户管理/登录账号)
  12334. tags:
  12335. - 企业风险管理(app)
  12336. /Ermcp/QueryAccMgrMainAccountInfo:
  12337. get:
  12338. parameters:
  12339. - description: 用户ID
  12340. in: query
  12341. name: userid
  12342. type: integer
  12343. - description: 主账号id
  12344. in: query
  12345. name: accountid
  12346. type: integer
  12347. produces:
  12348. - application/json
  12349. responses:
  12350. "200":
  12351. description: OK
  12352. schema:
  12353. items:
  12354. $ref: '#/definitions/models.MainAccountInfo'
  12355. type: array
  12356. "500":
  12357. description: Internal Server Error
  12358. schema:
  12359. $ref: '#/definitions/app.Response'
  12360. security:
  12361. - ApiKeyAuth: []
  12362. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  12363. tags:
  12364. - 企业风险管理(app)
  12365. /Ermcp/QueryAccMgrRole:
  12366. get:
  12367. parameters:
  12368. - description: 用户ID
  12369. in: query
  12370. name: userid
  12371. required: true
  12372. type: integer
  12373. produces:
  12374. - application/json
  12375. responses:
  12376. "200":
  12377. description: OK
  12378. schema:
  12379. items:
  12380. $ref: '#/definitions/models.ErmcpRole'
  12381. type: array
  12382. "500":
  12383. description: Internal Server Error
  12384. schema:
  12385. $ref: '#/definitions/app.Response'
  12386. security:
  12387. - ApiKeyAuth: []
  12388. summary: 查询账户管理角色设置(账户管理/角色设置)
  12389. tags:
  12390. - 企业风险管理(app)
  12391. /Ermcp/QueryAccMgrRoleMenu:
  12392. get:
  12393. parameters:
  12394. - description: 用户ID
  12395. in: query
  12396. name: userid
  12397. required: true
  12398. type: integer
  12399. - description: 角色id(可多个,逗号隔开)
  12400. in: query
  12401. name: roleid
  12402. type: string
  12403. produces:
  12404. - application/json
  12405. responses:
  12406. "200":
  12407. description: OK
  12408. schema:
  12409. items:
  12410. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  12411. type: array
  12412. "500":
  12413. description: Internal Server Error
  12414. schema:
  12415. $ref: '#/definitions/app.Response'
  12416. security:
  12417. - ApiKeyAuth: []
  12418. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  12419. tags:
  12420. - 企业风险管理(app)
  12421. /Ermcp/QueryAccMgrTaAccountInfo:
  12422. get:
  12423. parameters:
  12424. - description: 用户ID
  12425. in: query
  12426. name: userid
  12427. required: true
  12428. type: integer
  12429. - description: 账号id
  12430. in: query
  12431. name: accountid
  12432. type: integer
  12433. produces:
  12434. - application/json
  12435. responses:
  12436. "200":
  12437. description: OK
  12438. schema:
  12439. items:
  12440. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  12441. type: array
  12442. "500":
  12443. description: Internal Server Error
  12444. schema:
  12445. $ref: '#/definitions/app.Response'
  12446. security:
  12447. - ApiKeyAuth: []
  12448. summary: 查询账户管理授信(账户管理/账户设置/授信)
  12449. tags:
  12450. - 企业风险管理(app)
  12451. /Ermcp/QueryAccMgrTaaccount:
  12452. get:
  12453. parameters:
  12454. - description: 用户ID
  12455. in: query
  12456. name: userid
  12457. required: true
  12458. type: integer
  12459. produces:
  12460. - application/json
  12461. responses:
  12462. "200":
  12463. description: OK
  12464. schema:
  12465. items:
  12466. $ref: '#/definitions/models.ErmcpTaAccountEx'
  12467. type: array
  12468. "500":
  12469. description: Internal Server Error
  12470. schema:
  12471. $ref: '#/definitions/app.Response'
  12472. security:
  12473. - ApiKeyAuth: []
  12474. summary: 查询账户管理期货账号(账户管理/期货账号)
  12475. tags:
  12476. - 企业风险管理(app)
  12477. /Ermcp/QueryAvaildGoodsGroup:
  12478. get:
  12479. parameters:
  12480. - description: 所属机构ID
  12481. in: query
  12482. name: userid
  12483. required: true
  12484. type: integer
  12485. produces:
  12486. - application/json
  12487. responses:
  12488. "200":
  12489. description: OK
  12490. schema:
  12491. items:
  12492. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  12493. type: array
  12494. "500":
  12495. description: Internal Server Error
  12496. schema:
  12497. $ref: '#/definitions/app.Response'
  12498. security:
  12499. - ApiKeyAuth: []
  12500. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  12501. tags:
  12502. - 企业风险管理(app)
  12503. /Ermcp/QueryBusinessDj:
  12504. get:
  12505. parameters:
  12506. - description: 用户ID
  12507. in: query
  12508. name: UserId
  12509. required: true
  12510. type: integer
  12511. - description: 用户类型 2-机构 7-企业成员
  12512. in: query
  12513. name: usertype
  12514. type: integer
  12515. - description: 现货合同ID, 不填则查所有
  12516. in: query
  12517. name: relatedid
  12518. type: string
  12519. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  12520. in: query
  12521. name: applystatus
  12522. type: string
  12523. produces:
  12524. - application/json
  12525. responses:
  12526. "200":
  12527. description: OK
  12528. schema:
  12529. items:
  12530. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  12531. type: array
  12532. "500":
  12533. description: Internal Server Error
  12534. schema:
  12535. $ref: '#/definitions/app.Response'
  12536. security:
  12537. - ApiKeyAuth: []
  12538. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  12539. tags:
  12540. - 企业风险管理(app)
  12541. /Ermcp/QueryBusinessFp:
  12542. get:
  12543. parameters:
  12544. - description: 用户ID
  12545. in: query
  12546. name: UserId
  12547. required: true
  12548. type: integer
  12549. - description: 用户类型 2-机构 7-企业成员
  12550. in: query
  12551. name: usertype
  12552. type: integer
  12553. - description: 现货合同ID, 不填则查所有
  12554. in: query
  12555. name: relatedid
  12556. type: string
  12557. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  12558. in: query
  12559. name: applystatus
  12560. type: string
  12561. produces:
  12562. - application/json
  12563. responses:
  12564. "200":
  12565. description: OK
  12566. schema:
  12567. items:
  12568. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  12569. type: array
  12570. "500":
  12571. description: Internal Server Error
  12572. schema:
  12573. $ref: '#/definitions/app.Response'
  12574. security:
  12575. - ApiKeyAuth: []
  12576. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  12577. tags:
  12578. - 企业风险管理(app)
  12579. /Ermcp/QueryBusinessJs:
  12580. get:
  12581. parameters:
  12582. - description: 用户ID
  12583. in: query
  12584. name: UserId
  12585. required: true
  12586. type: integer
  12587. - description: 用户类型 2-机构 7-企业成员
  12588. in: query
  12589. name: usertype
  12590. type: integer
  12591. - description: 现货合同ID, 不填则查所有
  12592. in: query
  12593. name: relatedid
  12594. type: string
  12595. - description: 操作申请id
  12596. in: query
  12597. name: operateapplyid
  12598. type: string
  12599. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  12600. in: query
  12601. name: applystatus
  12602. type: string
  12603. produces:
  12604. - application/json
  12605. responses:
  12606. "200":
  12607. description: OK
  12608. schema:
  12609. items:
  12610. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  12611. type: array
  12612. "500":
  12613. description: Internal Server Error
  12614. schema:
  12615. $ref: '#/definitions/app.Response'
  12616. security:
  12617. - ApiKeyAuth: []
  12618. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  12619. tags:
  12620. - 企业风险管理(app)
  12621. /Ermcp/QueryBusinessJsEx:
  12622. get:
  12623. parameters:
  12624. - description: 用户ID
  12625. in: query
  12626. name: UserId
  12627. required: true
  12628. type: integer
  12629. - description: 用户类型 2-机构 7-企业成员
  12630. in: query
  12631. name: usertype
  12632. type: integer
  12633. - description: 现货合同ID, 不填则查所有
  12634. in: query
  12635. name: relatedid
  12636. type: string
  12637. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  12638. in: query
  12639. name: applystatus
  12640. type: string
  12641. produces:
  12642. - application/json
  12643. responses:
  12644. "200":
  12645. description: OK
  12646. schema:
  12647. items:
  12648. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  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/QueryBusinessKx:
  12660. get:
  12661. parameters:
  12662. - description: 用户ID
  12663. in: query
  12664. name: UserId
  12665. required: true
  12666. type: integer
  12667. - description: 用户类型 2-机构 7-企业成员
  12668. in: query
  12669. name: usertype
  12670. type: integer
  12671. - description: 现货合同ID, 不填则查所有
  12672. in: query
  12673. name: relatedid
  12674. type: string
  12675. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  12676. in: query
  12677. name: applystatus
  12678. type: string
  12679. produces:
  12680. - application/json
  12681. responses:
  12682. "200":
  12683. description: OK
  12684. schema:
  12685. items:
  12686. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  12687. type: array
  12688. "500":
  12689. description: Internal Server Error
  12690. schema:
  12691. $ref: '#/definitions/app.Response'
  12692. security:
  12693. - ApiKeyAuth: []
  12694. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  12695. tags:
  12696. - 企业风险管理(app)
  12697. /Ermcp/QueryChangeLog:
  12698. get:
  12699. parameters:
  12700. - description: 合同ID
  12701. in: query
  12702. name: RelatedId
  12703. required: true
  12704. type: string
  12705. produces:
  12706. - application/json
  12707. responses:
  12708. "200":
  12709. description: OK
  12710. schema:
  12711. items:
  12712. $ref: '#/definitions/ermcp.QryOPLogRsp'
  12713. type: array
  12714. "500":
  12715. description: Internal Server Error
  12716. schema:
  12717. $ref: '#/definitions/app.Response'
  12718. security:
  12719. - ApiKeyAuth: []
  12720. summary: 查询变更记录
  12721. tags:
  12722. - 企业风险管理(app)
  12723. /Ermcp/QueryErmcpHisOrderDetails:
  12724. get:
  12725. parameters:
  12726. - description: 资金账户ID
  12727. in: query
  12728. name: accountID
  12729. required: true
  12730. type: integer
  12731. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  12732. in: query
  12733. name: startDate
  12734. type: string
  12735. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  12736. in: query
  12737. name: endDate
  12738. type: string
  12739. produces:
  12740. - application/json
  12741. responses:
  12742. "200":
  12743. description: OK
  12744. schema:
  12745. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  12746. "500":
  12747. description: Internal Server Error
  12748. schema:
  12749. $ref: '#/definitions/app.Response'
  12750. security:
  12751. - ApiKeyAuth: []
  12752. summary: 获取企业风管期货历史委托单信息
  12753. tags:
  12754. - 企业风险管理(app)
  12755. /Ermcp/QueryErmcpHisTradeDetails:
  12756. get:
  12757. parameters:
  12758. - description: 资金账户ID
  12759. in: query
  12760. name: accountID
  12761. required: true
  12762. type: integer
  12763. - description: 商品ID
  12764. in: query
  12765. name: goodsID
  12766. type: integer
  12767. - description: 买卖方向,0:买 1:卖
  12768. in: query
  12769. name: buyOrSell
  12770. type: integer
  12771. - description: 关联委托单号
  12772. in: query
  12773. name: orderID
  12774. type: integer
  12775. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  12776. in: query
  12777. name: startDate
  12778. type: string
  12779. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  12780. in: query
  12781. name: endDate
  12782. type: string
  12783. produces:
  12784. - application/json
  12785. responses:
  12786. "200":
  12787. description: OK
  12788. schema:
  12789. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  12790. "500":
  12791. description: Internal Server Error
  12792. schema:
  12793. $ref: '#/definitions/app.Response'
  12794. security:
  12795. - ApiKeyAuth: []
  12796. summary: 获取企业风管期货历史成交单信息
  12797. tags:
  12798. - 企业风险管理(app)
  12799. /Ermcp/QueryErmcpInnerHolderDetails:
  12800. get:
  12801. parameters:
  12802. - description: 资金账户ID
  12803. in: query
  12804. name: accountID
  12805. required: true
  12806. type: integer
  12807. - description: 商品ID
  12808. in: query
  12809. name: goodsID
  12810. type: integer
  12811. - description: 买卖方向,0:买 1:卖
  12812. in: query
  12813. name: buyOrSell
  12814. type: integer
  12815. produces:
  12816. - application/json
  12817. responses:
  12818. "200":
  12819. description: OK
  12820. schema:
  12821. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  12822. "500":
  12823. description: Internal Server Error
  12824. schema:
  12825. $ref: '#/definitions/app.Response'
  12826. security:
  12827. - ApiKeyAuth: []
  12828. summary: 获取企业风管期货内部持仓单信息
  12829. tags:
  12830. - 企业风险管理(app)
  12831. /Ermcp/QueryErmcpOrderDetails:
  12832. get:
  12833. parameters:
  12834. - description: 资金账户ID
  12835. in: query
  12836. name: accountID
  12837. required: true
  12838. type: integer
  12839. produces:
  12840. - application/json
  12841. responses:
  12842. "200":
  12843. description: OK
  12844. schema:
  12845. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  12846. "500":
  12847. description: Internal Server Error
  12848. schema:
  12849. $ref: '#/definitions/app.Response'
  12850. security:
  12851. - ApiKeyAuth: []
  12852. summary: 获取企业风管期货委托单信息
  12853. tags:
  12854. - 企业风险管理(app)
  12855. /Ermcp/QueryErmcpTradeDetails:
  12856. get:
  12857. parameters:
  12858. - description: 资金账户ID
  12859. in: query
  12860. name: accountID
  12861. required: true
  12862. type: integer
  12863. - description: 商品ID
  12864. in: query
  12865. name: goodsID
  12866. type: integer
  12867. - description: 买卖方向,0:买 1:卖
  12868. in: query
  12869. name: buyOrSell
  12870. type: integer
  12871. - description: 关联委托单号
  12872. in: query
  12873. name: orderID
  12874. type: integer
  12875. produces:
  12876. - application/json
  12877. responses:
  12878. "200":
  12879. description: OK
  12880. schema:
  12881. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  12882. "500":
  12883. description: Internal Server Error
  12884. schema:
  12885. $ref: '#/definitions/app.Response'
  12886. security:
  12887. - ApiKeyAuth: []
  12888. summary: 获取企业风管期货成交单信息
  12889. tags:
  12890. - 企业风险管理(app)
  12891. /Ermcp/QueryErmcpTradePosition:
  12892. get:
  12893. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  12894. parameters:
  12895. - description: 资金账户ID
  12896. in: query
  12897. name: accountID
  12898. required: true
  12899. type: integer
  12900. - description: 所属市场ID
  12901. in: query
  12902. name: marketID
  12903. type: integer
  12904. produces:
  12905. - application/json
  12906. responses:
  12907. "200":
  12908. description: OK
  12909. schema:
  12910. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  12911. "500":
  12912. description: Internal Server Error
  12913. schema:
  12914. $ref: '#/definitions/app.Response'
  12915. security:
  12916. - ApiKeyAuth: []
  12917. summary: 获取企业风管期货持仓头寸信息
  12918. tags:
  12919. - 企业风险管理(app)
  12920. /Ermcp/QueryExposureDetail:
  12921. get:
  12922. parameters:
  12923. - description: 所属机构ID
  12924. in: query
  12925. name: areaUserId
  12926. required: true
  12927. type: integer
  12928. - description: 套保商品
  12929. in: query
  12930. name: middleGoodsId
  12931. required: true
  12932. type: integer
  12933. produces:
  12934. - application/json
  12935. responses:
  12936. "200":
  12937. description: OK
  12938. schema:
  12939. items:
  12940. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  12941. type: array
  12942. "500":
  12943. description: Internal Server Error
  12944. schema:
  12945. $ref: '#/definitions/app.Response'
  12946. security:
  12947. - ApiKeyAuth: []
  12948. summary: 查询敞口现货明细
  12949. tags:
  12950. - 企业风险管理(app)
  12951. /Ermcp/QueryExposureHedgePosition:
  12952. get:
  12953. parameters:
  12954. - description: 用户id
  12955. in: query
  12956. name: userid
  12957. required: true
  12958. type: integer
  12959. produces:
  12960. - application/json
  12961. responses:
  12962. "200":
  12963. description: OK
  12964. schema:
  12965. items:
  12966. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  12967. type: array
  12968. "500":
  12969. description: Internal Server Error
  12970. schema:
  12971. $ref: '#/definitions/app.Response'
  12972. security:
  12973. - ApiKeyAuth: []
  12974. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  12975. tags:
  12976. - 企业风险管理(app)
  12977. /Ermcp/QueryExposureHedgePositionDetail:
  12978. get:
  12979. parameters:
  12980. - description: 所属机构ID
  12981. in: query
  12982. name: userid
  12983. required: true
  12984. type: integer
  12985. - description: 商品id
  12986. in: query
  12987. name: goodsId
  12988. required: true
  12989. type: integer
  12990. produces:
  12991. - application/json
  12992. responses:
  12993. "200":
  12994. description: OK
  12995. schema:
  12996. items:
  12997. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  12998. type: array
  12999. "500":
  13000. description: Internal Server Error
  13001. schema:
  13002. $ref: '#/definitions/app.Response'
  13003. security:
  13004. - ApiKeyAuth: []
  13005. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  13006. tags:
  13007. - 企业风险管理(app)
  13008. /Ermcp/QueryExposureSpot:
  13009. get:
  13010. parameters:
  13011. - description: 所属机构ID
  13012. in: query
  13013. name: areaUserId
  13014. required: true
  13015. type: integer
  13016. produces:
  13017. - application/json
  13018. responses:
  13019. "200":
  13020. description: OK
  13021. schema:
  13022. items:
  13023. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  13024. type: array
  13025. "500":
  13026. description: Internal Server Error
  13027. schema:
  13028. $ref: '#/definitions/app.Response'
  13029. security:
  13030. - ApiKeyAuth: []
  13031. summary: 查询敞口现货头寸(敞口/现货头寸)
  13032. tags:
  13033. - 企业风险管理(app)
  13034. /Ermcp/QueryExposureSpotDetail:
  13035. get:
  13036. parameters:
  13037. - description: 所属机构ID
  13038. in: query
  13039. name: areaUserId
  13040. required: true
  13041. type: integer
  13042. - description: 现货品种ID
  13043. in: query
  13044. name: wrstandardId
  13045. required: true
  13046. type: integer
  13047. produces:
  13048. - application/json
  13049. responses:
  13050. "200":
  13051. description: OK
  13052. schema:
  13053. items:
  13054. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  13055. type: array
  13056. "500":
  13057. description: Internal Server Error
  13058. schema:
  13059. $ref: '#/definitions/app.Response'
  13060. security:
  13061. - ApiKeyAuth: []
  13062. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  13063. tags:
  13064. - 企业风险管理(app)
  13065. /Ermcp/QueryFuturesCompany:
  13066. get:
  13067. produces:
  13068. - application/json
  13069. responses:
  13070. "200":
  13071. description: OK
  13072. schema:
  13073. items:
  13074. $ref: '#/definitions/models.ErmcpFuturesCompany'
  13075. type: array
  13076. "500":
  13077. description: Internal Server Error
  13078. schema:
  13079. $ref: '#/definitions/app.Response'
  13080. security:
  13081. - ApiKeyAuth: []
  13082. summary: 查询期货公司
  13083. tags:
  13084. - 企业风险管理(app)
  13085. /Ermcp/QueryGGConvertConfig:
  13086. get:
  13087. parameters:
  13088. - description: 品种id(不填则查所有)
  13089. in: query
  13090. name: goodsgroupid
  13091. type: integer
  13092. produces:
  13093. - application/json
  13094. responses:
  13095. "200":
  13096. description: OK
  13097. schema:
  13098. items:
  13099. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  13100. type: array
  13101. "500":
  13102. description: Internal Server Error
  13103. schema:
  13104. $ref: '#/definitions/app.Response'
  13105. security:
  13106. - ApiKeyAuth: []
  13107. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  13108. tags:
  13109. - 企业风险管理(app)
  13110. /Ermcp/QueryGoodsBrand:
  13111. get:
  13112. parameters:
  13113. - description: 用户ID
  13114. in: query
  13115. name: userid
  13116. required: true
  13117. type: integer
  13118. - description: 现货商品ID
  13119. in: query
  13120. name: wrstandardid
  13121. type: integer
  13122. produces:
  13123. - application/json
  13124. responses:
  13125. "200":
  13126. description: OK
  13127. schema:
  13128. items:
  13129. $ref: '#/definitions/models.ErmcpGoodsBrand'
  13130. type: array
  13131. "500":
  13132. description: Internal Server Error
  13133. schema:
  13134. $ref: '#/definitions/app.Response'
  13135. security:
  13136. - ApiKeyAuth: []
  13137. summary: 查询商品品牌
  13138. tags:
  13139. - 企业风险管理(app)
  13140. /Ermcp/QueryGoodsModel:
  13141. get:
  13142. parameters:
  13143. - description: 用户ID
  13144. in: query
  13145. name: userid
  13146. required: true
  13147. type: integer
  13148. produces:
  13149. - application/json
  13150. responses:
  13151. "200":
  13152. description: OK
  13153. schema:
  13154. items:
  13155. $ref: '#/definitions/models.ErmcpGoodsModel'
  13156. type: array
  13157. "500":
  13158. description: Internal Server Error
  13159. schema:
  13160. $ref: '#/definitions/app.Response'
  13161. security:
  13162. - ApiKeyAuth: []
  13163. summary: 查询商品型号
  13164. tags:
  13165. - 企业风险管理(app)
  13166. /Ermcp/QueryHisExposure:
  13167. get:
  13168. parameters:
  13169. - description: 用户id
  13170. in: query
  13171. name: userid
  13172. required: true
  13173. type: integer
  13174. - description: 每个品种记录数
  13175. in: query
  13176. name: lastNum
  13177. required: true
  13178. type: integer
  13179. produces:
  13180. - application/json
  13181. responses:
  13182. "200":
  13183. description: OK
  13184. schema:
  13185. items:
  13186. $ref: '#/definitions/ermcp.HisExposureRsp'
  13187. type: array
  13188. "500":
  13189. description: Internal Server Error
  13190. schema:
  13191. $ref: '#/definitions/app.Response'
  13192. security:
  13193. - ApiKeyAuth: []
  13194. summary: 查询历史敞口(菜单:敞口/历史敞口)
  13195. tags:
  13196. - 企业风险管理(app)
  13197. /Ermcp/QueryMiddleGoods:
  13198. get:
  13199. parameters:
  13200. - description: 所属机构ID
  13201. in: query
  13202. name: userid
  13203. required: true
  13204. type: integer
  13205. - description: 状态 0-停用 1-正常
  13206. in: query
  13207. name: status
  13208. required: true
  13209. type: integer
  13210. produces:
  13211. - application/json
  13212. responses:
  13213. "200":
  13214. description: OK
  13215. schema:
  13216. items:
  13217. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  13218. type: array
  13219. "500":
  13220. description: Internal Server Error
  13221. schema:
  13222. $ref: '#/definitions/app.Response'
  13223. security:
  13224. - ApiKeyAuth: []
  13225. summary: 查询套保品种(菜单:套保品种)
  13226. tags:
  13227. - 企业风险管理(app)
  13228. /Ermcp/QueryMiddleGoodsChangeLog:
  13229. get:
  13230. parameters:
  13231. - description: 所属机构ID
  13232. in: query
  13233. name: userid
  13234. required: true
  13235. type: integer
  13236. - description: 套保品种id
  13237. in: query
  13238. name: middlegoodsid
  13239. required: true
  13240. type: integer
  13241. produces:
  13242. - application/json
  13243. responses:
  13244. "200":
  13245. description: OK
  13246. schema:
  13247. items:
  13248. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  13249. type: array
  13250. "500":
  13251. description: Internal Server Error
  13252. schema:
  13253. $ref: '#/definitions/app.Response'
  13254. security:
  13255. - ApiKeyAuth: []
  13256. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  13257. tags:
  13258. - 企业风险管理(app)
  13259. /Ermcp/QueryMiddleGoodsDetail:
  13260. get:
  13261. parameters:
  13262. - description: 所属机构ID
  13263. in: query
  13264. name: userid
  13265. required: true
  13266. type: integer
  13267. - description: 套保品种id
  13268. in: query
  13269. name: middlegoodsid
  13270. type: integer
  13271. produces:
  13272. - application/json
  13273. responses:
  13274. "200":
  13275. description: OK
  13276. schema:
  13277. items:
  13278. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  13279. type: array
  13280. "500":
  13281. description: Internal Server Error
  13282. schema:
  13283. $ref: '#/definitions/app.Response'
  13284. security:
  13285. - ApiKeyAuth: []
  13286. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  13287. tags:
  13288. - 企业风险管理(app)
  13289. /Ermcp/QueryPendingAuditInfo:
  13290. get:
  13291. parameters:
  13292. - description: 用户ID
  13293. in: query
  13294. name: UserId
  13295. required: true
  13296. type: integer
  13297. produces:
  13298. - application/json
  13299. responses:
  13300. "200":
  13301. description: OK
  13302. schema:
  13303. items:
  13304. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  13305. type: array
  13306. "500":
  13307. description: Internal Server Error
  13308. schema:
  13309. $ref: '#/definitions/app.Response'
  13310. security:
  13311. - ApiKeyAuth: []
  13312. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  13313. tags:
  13314. - 企业风险管理(app)
  13315. /Ermcp/QueryRealtimeExposure:
  13316. get:
  13317. parameters:
  13318. - description: 所属机构ID
  13319. in: query
  13320. name: userid
  13321. required: true
  13322. type: integer
  13323. produces:
  13324. - application/json
  13325. responses:
  13326. "200":
  13327. description: OK
  13328. schema:
  13329. items:
  13330. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  13331. type: array
  13332. "500":
  13333. description: Internal Server Error
  13334. schema:
  13335. $ref: '#/definitions/app.Response'
  13336. security:
  13337. - ApiKeyAuth: []
  13338. summary: 查询实时敞口
  13339. tags:
  13340. - 企业风险管理(app)
  13341. /Ermcp/QueryRealtimeExposurePosition:
  13342. get:
  13343. parameters:
  13344. - description: 用户id
  13345. in: query
  13346. name: userid
  13347. required: true
  13348. type: integer
  13349. - description: 套保商品ID
  13350. in: query
  13351. name: middleGoodsId
  13352. required: true
  13353. type: integer
  13354. produces:
  13355. - application/json
  13356. responses:
  13357. "200":
  13358. description: OK
  13359. schema:
  13360. items:
  13361. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  13362. type: array
  13363. "500":
  13364. description: Internal Server Error
  13365. schema:
  13366. $ref: '#/definitions/app.Response'
  13367. security:
  13368. - ApiKeyAuth: []
  13369. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  13370. tags:
  13371. - 企业风险管理(app)
  13372. /Ermcp/QueryTradeConfigTMP:
  13373. get:
  13374. parameters:
  13375. - description: 所属机构id
  13376. in: query
  13377. name: areauserid
  13378. type: integer
  13379. produces:
  13380. - application/json
  13381. responses:
  13382. "200":
  13383. description: OK
  13384. schema:
  13385. items:
  13386. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  13387. type: array
  13388. "500":
  13389. description: Internal Server Error
  13390. schema:
  13391. $ref: '#/definitions/app.Response'
  13392. security:
  13393. - ApiKeyAuth: []
  13394. summary: 查询交易模板配置
  13395. tags:
  13396. - 企业风险管理(app)
  13397. /Ermcp/QueryUserInfo:
  13398. get:
  13399. parameters:
  13400. - description: 所属机构用户ID
  13401. in: query
  13402. name: MemberUserID
  13403. required: true
  13404. type: integer
  13405. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  13406. in: query
  13407. name: queryType
  13408. required: true
  13409. type: integer
  13410. produces:
  13411. - application/json
  13412. responses:
  13413. "200":
  13414. description: OK
  13415. schema:
  13416. items:
  13417. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  13418. type: array
  13419. "500":
  13420. description: Internal Server Error
  13421. schema:
  13422. $ref: '#/definitions/app.Response'
  13423. security:
  13424. - ApiKeyAuth: []
  13425. summary: 查询客户资料
  13426. tags:
  13427. - 企业风险管理(app)
  13428. /Ermcp/QueryWarehouseInfo:
  13429. get:
  13430. parameters:
  13431. - description: 用户ID
  13432. in: query
  13433. name: userid
  13434. required: true
  13435. type: integer
  13436. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  13437. in: query
  13438. name: status
  13439. type: string
  13440. produces:
  13441. - application/json
  13442. responses:
  13443. "200":
  13444. description: OK
  13445. schema:
  13446. items:
  13447. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  13448. type: array
  13449. "500":
  13450. description: Internal Server Error
  13451. schema:
  13452. $ref: '#/definitions/app.Response'
  13453. security:
  13454. - ApiKeyAuth: []
  13455. summary: 查询仓库信息
  13456. tags:
  13457. - 企业风险管理(app)
  13458. /Ermcp3/QryAreaExpourseContractDetail:
  13459. get:
  13460. parameters:
  13461. - description: 用户ID
  13462. in: query
  13463. name: userid
  13464. required: true
  13465. type: integer
  13466. - description: 套保商品id
  13467. in: query
  13468. name: middlegoodsid
  13469. required: true
  13470. type: integer
  13471. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  13472. in: query
  13473. name: cycletype
  13474. required: true
  13475. type: integer
  13476. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  13477. 全(0)【原值】
  13478. in: query
  13479. name: cycletime
  13480. required: true
  13481. type: string
  13482. produces:
  13483. - application/json
  13484. responses:
  13485. "200":
  13486. description: OK
  13487. schema:
  13488. items:
  13489. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  13490. type: array
  13491. "500":
  13492. description: Internal Server Error
  13493. schema:
  13494. $ref: '#/definitions/app.Response'
  13495. security:
  13496. - ApiKeyAuth: []
  13497. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  13498. tags:
  13499. - 企业风险管理v3(app)
  13500. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  13501. get:
  13502. parameters:
  13503. - description: 用户ID
  13504. in: query
  13505. name: userid
  13506. required: true
  13507. type: integer
  13508. - description: 套保商品id
  13509. in: query
  13510. name: middlegoodsid
  13511. required: true
  13512. type: integer
  13513. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  13514. in: query
  13515. name: cycletype
  13516. required: true
  13517. type: integer
  13518. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  13519. 全(0)【原值】
  13520. in: query
  13521. name: cycletime
  13522. required: true
  13523. type: string
  13524. produces:
  13525. - application/json
  13526. responses:
  13527. "200":
  13528. description: OK
  13529. schema:
  13530. items:
  13531. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  13532. type: array
  13533. "500":
  13534. description: Internal Server Error
  13535. schema:
  13536. $ref: '#/definitions/app.Response'
  13537. security:
  13538. - ApiKeyAuth: []
  13539. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  13540. tags:
  13541. - 企业风险管理v3(app)
  13542. /Ermcp3/QryAreaExpourseReport:
  13543. get:
  13544. parameters:
  13545. - description: 用户ID
  13546. in: query
  13547. name: userid
  13548. required: true
  13549. type: integer
  13550. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  13551. in: query
  13552. name: querytype
  13553. required: true
  13554. type: integer
  13555. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  13556. in: query
  13557. name: cycletype
  13558. required: true
  13559. type: integer
  13560. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  13561. 全(0)【原值】
  13562. in: query
  13563. name: cycletime
  13564. required: true
  13565. type: string
  13566. produces:
  13567. - application/json
  13568. responses:
  13569. "200":
  13570. description: OK
  13571. schema:
  13572. items:
  13573. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  13574. type: array
  13575. "500":
  13576. description: Internal Server Error
  13577. schema:
  13578. $ref: '#/definitions/app.Response'
  13579. security:
  13580. - ApiKeyAuth: []
  13581. summary: 查询敞口报表
  13582. tags:
  13583. - 企业风险管理v3(app)
  13584. /Ermcp3/QryAreaSpotplReport:
  13585. get:
  13586. parameters:
  13587. - description: 用户ID
  13588. in: query
  13589. name: userid
  13590. required: true
  13591. type: integer
  13592. - description: 查询类型 1-报表 2-报表明细
  13593. in: query
  13594. name: querytype
  13595. required: true
  13596. type: integer
  13597. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  13598. in: query
  13599. name: cycletype
  13600. required: true
  13601. type: integer
  13602. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  13603. 全(0)【原值】
  13604. in: query
  13605. name: cycletime
  13606. required: true
  13607. type: string
  13608. - description: 现货品种id(明细必填)
  13609. in: query
  13610. name: deliverygoodsid
  13611. type: integer
  13612. - description: 品类id(明细必填)
  13613. in: query
  13614. name: wrstandardid
  13615. type: integer
  13616. - description: 币种id(明细必填)
  13617. in: query
  13618. name: currencyid
  13619. type: integer
  13620. produces:
  13621. - application/json
  13622. responses:
  13623. "200":
  13624. description: OK
  13625. schema:
  13626. items:
  13627. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  13628. type: array
  13629. "500":
  13630. description: Internal Server Error
  13631. schema:
  13632. $ref: '#/definitions/app.Response'
  13633. security:
  13634. - ApiKeyAuth: []
  13635. summary: 查询现货报表
  13636. tags:
  13637. - 企业风险管理v3(app)
  13638. /Ermcp3/QryAreaStockReport:
  13639. get:
  13640. parameters:
  13641. - description: 用户ID
  13642. in: query
  13643. name: userid
  13644. required: true
  13645. type: integer
  13646. - description: 查询类型 1-报表 2-报表明细
  13647. in: query
  13648. name: querytype
  13649. required: true
  13650. type: integer
  13651. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  13652. in: query
  13653. name: cycletype
  13654. required: true
  13655. type: integer
  13656. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  13657. 全(0)【原值】
  13658. in: query
  13659. name: cycletime
  13660. required: true
  13661. type: string
  13662. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  13663. in: query
  13664. name: sumfields
  13665. type: string
  13666. - description: 品种ID
  13667. in: query
  13668. name: deliverygoodsid
  13669. type: integer
  13670. - description: 品类ID
  13671. in: query
  13672. name: wrstandardid
  13673. type: integer
  13674. - description: 品牌ID
  13675. in: query
  13676. name: spotgoodsbrandid
  13677. type: integer
  13678. - description: 仓库ID
  13679. in: query
  13680. name: warehouseinfoid
  13681. type: integer
  13682. produces:
  13683. - application/json
  13684. responses:
  13685. "200":
  13686. description: OK
  13687. schema:
  13688. items:
  13689. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  13690. type: array
  13691. "500":
  13692. description: Internal Server Error
  13693. schema:
  13694. $ref: '#/definitions/app.Response'
  13695. security:
  13696. - ApiKeyAuth: []
  13697. summary: 查询库存报表
  13698. tags:
  13699. - 企业风险管理v3(app)
  13700. /Ermcp3/QryAreaSumPL:
  13701. get:
  13702. parameters:
  13703. - description: 用户ID
  13704. in: query
  13705. name: userid
  13706. required: true
  13707. type: integer
  13708. - description: 查询类型 1-报表 2-报表明细
  13709. in: query
  13710. name: querytype
  13711. required: true
  13712. type: integer
  13713. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  13714. in: query
  13715. name: cycletype
  13716. required: true
  13717. type: integer
  13718. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  13719. 全(0)【原值】
  13720. in: query
  13721. name: cycletime
  13722. required: true
  13723. type: string
  13724. - description: 币种id(明细必填)
  13725. in: query
  13726. name: currencyid
  13727. type: integer
  13728. produces:
  13729. - application/json
  13730. responses:
  13731. "200":
  13732. description: OK
  13733. schema:
  13734. items:
  13735. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  13736. type: array
  13737. "500":
  13738. description: Internal Server Error
  13739. schema:
  13740. $ref: '#/definitions/app.Response'
  13741. security:
  13742. - ApiKeyAuth: []
  13743. summary: 查询汇总损益表
  13744. tags:
  13745. - 企业风险管理v3(app)
  13746. /Ermcp3/QryFinanceReport:
  13747. get:
  13748. parameters:
  13749. - description: 用户ID
  13750. in: query
  13751. name: userid
  13752. required: true
  13753. type: integer
  13754. - description: 查询类型 1-报表 2-报表明细
  13755. in: query
  13756. name: querytype
  13757. required: true
  13758. type: integer
  13759. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  13760. in: query
  13761. name: cycletype
  13762. required: true
  13763. type: integer
  13764. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  13765. 全(0)【原值】
  13766. in: query
  13767. name: cycletime
  13768. required: true
  13769. type: string
  13770. - description: 币种id(日报表明细)
  13771. in: query
  13772. name: currencyid
  13773. type: integer
  13774. produces:
  13775. - application/json
  13776. responses:
  13777. "200":
  13778. description: OK
  13779. schema:
  13780. items:
  13781. $ref: '#/definitions/models.Ermcp3FinanceReport'
  13782. type: array
  13783. "500":
  13784. description: Internal Server Error
  13785. schema:
  13786. $ref: '#/definitions/app.Response'
  13787. security:
  13788. - ApiKeyAuth: []
  13789. summary: 查询财务报表
  13790. tags:
  13791. - 企业风险管理v3(app)
  13792. /Ermcp3/QueryAreaStock:
  13793. get:
  13794. parameters:
  13795. - description: 用户ID
  13796. in: query
  13797. name: userid
  13798. required: true
  13799. type: integer
  13800. produces:
  13801. - application/json
  13802. responses:
  13803. "200":
  13804. description: OK
  13805. schema:
  13806. items:
  13807. $ref: '#/definitions/models.Ermcp3AreaStock'
  13808. type: array
  13809. "500":
  13810. description: Internal Server Error
  13811. schema:
  13812. $ref: '#/definitions/app.Response'
  13813. security:
  13814. - ApiKeyAuth: []
  13815. summary: 查询机构库存(库存管理/当前库存)
  13816. tags:
  13817. - 企业风险管理v3(app)
  13818. /Ermcp3/QueryAreaStockApply:
  13819. get:
  13820. parameters:
  13821. - description: 用户ID
  13822. in: query
  13823. name: userid
  13824. required: true
  13825. type: integer
  13826. - description: 用户类型 2-机构 7-企业成员
  13827. in: query
  13828. name: usertype
  13829. type: integer
  13830. - description: 现货商品ID
  13831. in: query
  13832. name: deliverygoodsid
  13833. type: integer
  13834. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  13835. in: query
  13836. name: inouttype
  13837. type: string
  13838. - description: 合同ID
  13839. in: query
  13840. name: spotcontractid
  13841. type: integer
  13842. - description: 品类ID
  13843. in: query
  13844. name: wrstandardid
  13845. type: integer
  13846. - description: 品牌ID
  13847. in: query
  13848. name: spotgoodsbrandid
  13849. type: integer
  13850. - description: 仓库ID
  13851. in: query
  13852. name: warehouseinfoid
  13853. type: integer
  13854. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13855. in: query
  13856. name: applystatus
  13857. type: string
  13858. produces:
  13859. - application/json
  13860. responses:
  13861. "200":
  13862. description: OK
  13863. schema:
  13864. items:
  13865. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  13866. type: array
  13867. "500":
  13868. description: Internal Server Error
  13869. schema:
  13870. $ref: '#/definitions/app.Response'
  13871. security:
  13872. - ApiKeyAuth: []
  13873. summary: 查询库存申请(出入库记录|库存审核)
  13874. tags:
  13875. - 企业风险管理v3(app)
  13876. /Ermcp3/QueryAreaStockApplySum:
  13877. get:
  13878. parameters:
  13879. - description: 合同ID
  13880. in: query
  13881. name: spotcontractid
  13882. type: integer
  13883. produces:
  13884. - application/json
  13885. responses:
  13886. "200":
  13887. description: OK
  13888. schema:
  13889. items:
  13890. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  13891. type: array
  13892. "500":
  13893. description: Internal Server Error
  13894. schema:
  13895. $ref: '#/definitions/app.Response'
  13896. security:
  13897. - ApiKeyAuth: []
  13898. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  13899. tags:
  13900. - 企业风险管理v3(app)
  13901. /Ermcp3/QueryDGFactoryItem:
  13902. get:
  13903. parameters:
  13904. - description: 用户id
  13905. in: query
  13906. name: userid
  13907. type: integer
  13908. - description: 用户类型 2-机构 7-企业成员
  13909. in: query
  13910. name: usertype
  13911. type: integer
  13912. - description: 选择项ID(SEQ_DGFACTORYITEM)
  13913. in: query
  13914. name: dgfactoryitemid
  13915. type: integer
  13916. - description: 现货品种ID
  13917. in: query
  13918. name: deliverygoodsid
  13919. type: integer
  13920. - description: 要素项类型
  13921. in: query
  13922. name: dgfactoryitemtypeid
  13923. type: integer
  13924. - description: 顺序
  13925. in: query
  13926. name: orderindex
  13927. type: integer
  13928. produces:
  13929. - application/json
  13930. responses:
  13931. "200":
  13932. description: OK
  13933. schema:
  13934. items:
  13935. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  13936. type: array
  13937. "500":
  13938. description: Internal Server Error
  13939. schema:
  13940. $ref: '#/definitions/app.Response'
  13941. security:
  13942. - ApiKeyAuth: []
  13943. summary: 查询品种要素定义项
  13944. tags:
  13945. - 企业风险管理v3(app)
  13946. /Ermcp3/QueryDeliveryGoods:
  13947. get:
  13948. parameters:
  13949. - description: 用户id
  13950. in: query
  13951. name: userid
  13952. required: true
  13953. type: integer
  13954. - description: 用户类型 2-机构 7-企业成员
  13955. in: query
  13956. name: usertype
  13957. type: integer
  13958. - description: 排除已配置的业务类型商品 1-套保 2-套利
  13959. in: query
  13960. name: excludecfg
  13961. type: integer
  13962. produces:
  13963. - application/json
  13964. responses:
  13965. "200":
  13966. description: OK
  13967. schema:
  13968. items:
  13969. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  13970. type: array
  13971. "500":
  13972. description: Internal Server Error
  13973. schema:
  13974. $ref: '#/definitions/app.Response'
  13975. security:
  13976. - ApiKeyAuth: []
  13977. summary: 查询现货商品
  13978. tags:
  13979. - 企业风险管理v3(app)
  13980. /Ermcp3/QueryDeliveryGoodsDetail:
  13981. get:
  13982. parameters:
  13983. - description: 用户id
  13984. in: query
  13985. name: userid
  13986. required: true
  13987. type: integer
  13988. - description: 用户类型 2-机构 7-企业成员
  13989. in: query
  13990. name: usertype
  13991. type: integer
  13992. - description: 现货商品id
  13993. in: query
  13994. name: deliverygoodsid
  13995. type: integer
  13996. produces:
  13997. - application/json
  13998. responses:
  13999. "200":
  14000. description: OK
  14001. schema:
  14002. items:
  14003. $ref: '#/definitions/models.ErmcpDeliveryGoodsDetailEx'
  14004. type: array
  14005. "500":
  14006. description: Internal Server Error
  14007. schema:
  14008. $ref: '#/definitions/app.Response'
  14009. security:
  14010. - ApiKeyAuth: []
  14011. summary: 查询现货商品详情
  14012. tags:
  14013. - 企业风险管理v3(app)
  14014. /Ermcp3/QueryExposureDetail:
  14015. get:
  14016. parameters:
  14017. - description: 用户id
  14018. in: query
  14019. name: userid
  14020. required: true
  14021. type: integer
  14022. - description: 用户类型 2-机构 7-企业成员
  14023. in: query
  14024. name: usertype
  14025. type: integer
  14026. - description: 套保商品
  14027. in: query
  14028. name: middlegoodsid
  14029. required: true
  14030. type: integer
  14031. produces:
  14032. - application/json
  14033. responses:
  14034. "200":
  14035. description: OK
  14036. schema:
  14037. items:
  14038. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  14039. type: array
  14040. "500":
  14041. description: Internal Server Error
  14042. schema:
  14043. $ref: '#/definitions/app.Response'
  14044. security:
  14045. - ApiKeyAuth: []
  14046. summary: 查询敞口现货明细
  14047. tags:
  14048. - 企业风险管理v3(app)
  14049. /Ermcp3/QueryExposureSpot:
  14050. get:
  14051. parameters:
  14052. - description: 用户id
  14053. in: query
  14054. name: userid
  14055. required: true
  14056. type: integer
  14057. - description: 用户类型 2-机构 7-企业成员
  14058. in: query
  14059. name: usertype
  14060. type: integer
  14061. produces:
  14062. - application/json
  14063. responses:
  14064. "200":
  14065. description: OK
  14066. schema:
  14067. items:
  14068. $ref: '#/definitions/models.Ermcp3AreaSpot'
  14069. type: array
  14070. "500":
  14071. description: Internal Server Error
  14072. schema:
  14073. $ref: '#/definitions/app.Response'
  14074. security:
  14075. - ApiKeyAuth: []
  14076. summary: 查询敞口现货头寸(敞口/现货头寸)
  14077. tags:
  14078. - 企业风险管理v3(app)
  14079. /Ermcp3/QueryExposureSpotDetail:
  14080. get:
  14081. parameters:
  14082. - description: 用户id
  14083. in: query
  14084. name: userid
  14085. required: true
  14086. type: integer
  14087. - description: 用户类型 2-机构 7-企业成员
  14088. in: query
  14089. name: usertype
  14090. type: integer
  14091. - description: 现货品种ID
  14092. in: query
  14093. name: deliverygoodsid
  14094. required: true
  14095. type: integer
  14096. produces:
  14097. - application/json
  14098. responses:
  14099. "200":
  14100. description: OK
  14101. schema:
  14102. items:
  14103. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  14104. type: array
  14105. "500":
  14106. description: Internal Server Error
  14107. schema:
  14108. $ref: '#/definitions/app.Response'
  14109. security:
  14110. - ApiKeyAuth: []
  14111. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  14112. tags:
  14113. - 企业风险管理v3(app)
  14114. /Ermcp3/QueryGoodsGroup:
  14115. get:
  14116. parameters:
  14117. - description: 用户id
  14118. in: query
  14119. name: userid
  14120. required: true
  14121. type: integer
  14122. - description: 用户类型 2-机构 7-企业成员
  14123. in: query
  14124. name: usertype
  14125. type: integer
  14126. - description: 排除套保品中已关联的商品组 1-排除
  14127. in: query
  14128. name: excludecfg
  14129. type: integer
  14130. produces:
  14131. - application/json
  14132. responses:
  14133. "200":
  14134. description: OK
  14135. schema:
  14136. items:
  14137. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  14138. type: array
  14139. "500":
  14140. description: Internal Server Error
  14141. schema:
  14142. $ref: '#/definitions/app.Response'
  14143. security:
  14144. - ApiKeyAuth: []
  14145. summary: 查询期货商品组
  14146. tags:
  14147. - 企业风险管理v3(app)
  14148. /Ermcp3/QueryGoodsWrstandard:
  14149. get:
  14150. parameters:
  14151. - description: 用户id
  14152. in: query
  14153. name: userid
  14154. required: true
  14155. type: integer
  14156. - description: 用户类型 2-机构 7-企业成员
  14157. in: query
  14158. name: usertype
  14159. type: integer
  14160. - description: 现货商品id
  14161. in: query
  14162. name: deliverygoodsid
  14163. type: integer
  14164. produces:
  14165. - application/json
  14166. responses:
  14167. "200":
  14168. description: OK
  14169. schema:
  14170. items:
  14171. $ref: '#/definitions/models.Ermcp3Wrstandard'
  14172. type: array
  14173. "500":
  14174. description: Internal Server Error
  14175. schema:
  14176. $ref: '#/definitions/app.Response'
  14177. security:
  14178. - ApiKeyAuth: []
  14179. summary: 查询商品品类
  14180. tags:
  14181. - 企业风险管理v3(app)
  14182. /Ermcp3/QueryGoodsbrand:
  14183. get:
  14184. parameters:
  14185. - description: 用户id
  14186. in: query
  14187. name: userid
  14188. required: true
  14189. type: integer
  14190. - description: 用户类型 2-机构 7-企业成员
  14191. in: query
  14192. name: usertype
  14193. type: integer
  14194. produces:
  14195. - application/json
  14196. responses:
  14197. "200":
  14198. description: OK
  14199. schema:
  14200. items:
  14201. $ref: '#/definitions/models.Ermcp3Brand'
  14202. type: array
  14203. "500":
  14204. description: Internal Server Error
  14205. schema:
  14206. $ref: '#/definitions/app.Response'
  14207. security:
  14208. - ApiKeyAuth: []
  14209. summary: 查询商品品牌
  14210. tags:
  14211. - 企业风险管理v3(app)
  14212. /Ermcp3/QueryHedgePlan:
  14213. get:
  14214. parameters:
  14215. - description: 用户ID
  14216. in: query
  14217. name: userid
  14218. required: true
  14219. type: integer
  14220. - description: 用户类型 2-机构 7-企业成员
  14221. in: query
  14222. name: usertype
  14223. type: integer
  14224. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  14225. in: query
  14226. name: hedgeplanstatus
  14227. required: true
  14228. type: string
  14229. produces:
  14230. - application/json
  14231. responses:
  14232. "200":
  14233. description: OK
  14234. schema:
  14235. items:
  14236. $ref: '#/definitions/models.Ermcp3HedgePlan'
  14237. type: array
  14238. "500":
  14239. description: Internal Server Error
  14240. schema:
  14241. $ref: '#/definitions/app.Response'
  14242. security:
  14243. - ApiKeyAuth: []
  14244. summary: 查询套保计划
  14245. tags:
  14246. - 企业风险管理v3(app)
  14247. /Ermcp3/QueryMiddleGoodsDetail:
  14248. get:
  14249. parameters:
  14250. - description: 用户id
  14251. in: query
  14252. name: userid
  14253. required: true
  14254. type: integer
  14255. - description: 用户类型 2-机构 7-企业成员
  14256. in: query
  14257. name: usertype
  14258. type: integer
  14259. - description: 套保品种id
  14260. in: query
  14261. name: middlegoodsid
  14262. type: integer
  14263. produces:
  14264. - application/json
  14265. responses:
  14266. "200":
  14267. description: OK
  14268. schema:
  14269. items:
  14270. $ref: '#/definitions/models.Ermcp3MiddleGoodsDetailEx'
  14271. type: array
  14272. "500":
  14273. description: Internal Server Error
  14274. schema:
  14275. $ref: '#/definitions/app.Response'
  14276. security:
  14277. - ApiKeyAuth: []
  14278. summary: 查询套保品种详情(套保品种/商品详情)
  14279. tags:
  14280. - 企业风险管理v3(app)
  14281. /Ermcp3/QuerySpotContract:
  14282. get:
  14283. parameters:
  14284. - description: 用户id
  14285. in: query
  14286. name: userid
  14287. required: true
  14288. type: integer
  14289. - description: 用户类型 2-机构 7-企业成员
  14290. in: query
  14291. name: usertype
  14292. type: integer
  14293. - description: 查询类型 1-未提交 2-待审核 3-履约中 4-已完成
  14294. in: query
  14295. name: querytype
  14296. required: true
  14297. type: integer
  14298. - description: 合同ID(SpotContractId)
  14299. in: query
  14300. name: contractid
  14301. type: string
  14302. produces:
  14303. - application/json
  14304. responses:
  14305. "200":
  14306. description: OK
  14307. schema:
  14308. items:
  14309. $ref: '#/definitions/models.Ermcp3Contract'
  14310. type: array
  14311. "500":
  14312. description: Internal Server Error
  14313. schema:
  14314. $ref: '#/definitions/app.Response'
  14315. security:
  14316. - ApiKeyAuth: []
  14317. summary: 查询现货合同
  14318. tags:
  14319. - 企业风险管理v3(app)
  14320. /Ermcp3/QuerySpotContractBS:
  14321. get:
  14322. parameters:
  14323. - description: 用户id
  14324. in: query
  14325. name: userid
  14326. required: true
  14327. type: integer
  14328. - description: 用户类型 2-机构 7-企业成员
  14329. in: query
  14330. name: usertype
  14331. type: integer
  14332. - description: 合同类型 1-采购, -1-销售
  14333. in: query
  14334. name: contracttype
  14335. required: true
  14336. type: integer
  14337. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  14338. in: query
  14339. name: querytype
  14340. required: true
  14341. type: integer
  14342. - description: 合同ID(SpotContractId)
  14343. in: query
  14344. name: contractid
  14345. type: string
  14346. produces:
  14347. - application/json
  14348. responses:
  14349. "200":
  14350. description: OK
  14351. schema:
  14352. items:
  14353. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  14354. type: array
  14355. "500":
  14356. description: Internal Server Error
  14357. schema:
  14358. $ref: '#/definitions/app.Response'
  14359. security:
  14360. - ApiKeyAuth: []
  14361. summary: 查询合同(采购/销售)
  14362. tags:
  14363. - 企业风险管理v3(app)
  14364. /Ermcp3/QuerySpotGoodsPrice:
  14365. get:
  14366. parameters:
  14367. - description: 用户ID
  14368. in: query
  14369. name: userid
  14370. required: true
  14371. type: integer
  14372. produces:
  14373. - application/json
  14374. responses:
  14375. "200":
  14376. description: OK
  14377. schema:
  14378. items:
  14379. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  14380. type: array
  14381. "500":
  14382. description: Internal Server Error
  14383. schema:
  14384. $ref: '#/definitions/app.Response'
  14385. security:
  14386. - ApiKeyAuth: []
  14387. summary: 查询现货市价(现货市价)
  14388. tags:
  14389. - 企业风险管理v3(app)
  14390. /Ermcp3/QuerySpotGoodsPriceLog:
  14391. get:
  14392. parameters:
  14393. - description: 用户ID
  14394. in: query
  14395. name: userid
  14396. required: true
  14397. type: integer
  14398. - description: 现货商品ID
  14399. in: query
  14400. name: deliverygoodsid
  14401. required: true
  14402. type: integer
  14403. - description: 品牌ID
  14404. in: query
  14405. name: brandid
  14406. type: integer
  14407. - description: 品类ID
  14408. in: query
  14409. name: wrstandardid
  14410. type: integer
  14411. produces:
  14412. - application/json
  14413. responses:
  14414. "200":
  14415. description: OK
  14416. schema:
  14417. items:
  14418. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  14419. type: array
  14420. "500":
  14421. description: Internal Server Error
  14422. schema:
  14423. $ref: '#/definitions/app.Response'
  14424. security:
  14425. - ApiKeyAuth: []
  14426. summary: 查询现货市价详情(现货市价/详情)
  14427. tags:
  14428. - 企业风险管理v3(app)
  14429. /Erms2/QueryArbitrageStrategy:
  14430. get:
  14431. parameters:
  14432. - description: 账户ID
  14433. in: query
  14434. name: userid
  14435. required: true
  14436. type: integer
  14437. - description: 商品组ID(品种ID)
  14438. in: query
  14439. name: goodsgroupid
  14440. type: string
  14441. produces:
  14442. - application/json
  14443. responses:
  14444. "200":
  14445. description: OK
  14446. schema:
  14447. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  14448. "500":
  14449. description: Internal Server Error
  14450. schema:
  14451. $ref: '#/definitions/app.Response'
  14452. security:
  14453. - ApiKeyAuth: []
  14454. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  14455. tags:
  14456. - 风险管理
  14457. /Erms2/QueryInnerTradeDetail:
  14458. get:
  14459. parameters:
  14460. - description: 资金账户
  14461. in: query
  14462. name: accountid
  14463. required: true
  14464. type: integer
  14465. produces:
  14466. - application/json
  14467. responses:
  14468. "200":
  14469. description: OK
  14470. schema:
  14471. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  14472. "500":
  14473. description: Internal Server Error
  14474. schema:
  14475. $ref: '#/definitions/app.Response'
  14476. security:
  14477. - ApiKeyAuth: []
  14478. summary: 查询内部成交单信息
  14479. tags:
  14480. - 风险管理
  14481. /Erms2/QuerySpotContract:
  14482. get:
  14483. parameters:
  14484. - description: 策略申请ID
  14485. in: query
  14486. name: asapplyid
  14487. required: true
  14488. type: integer
  14489. - description: 现货合同ID
  14490. in: query
  14491. name: spotcontractid
  14492. type: integer
  14493. produces:
  14494. - application/json
  14495. responses:
  14496. "200":
  14497. description: OK
  14498. schema:
  14499. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  14500. "500":
  14501. description: Internal Server Error
  14502. schema:
  14503. $ref: '#/definitions/app.Response'
  14504. security:
  14505. - ApiKeyAuth: []
  14506. summary: 查询现货合同表信息(指定策略ID、未结束的)
  14507. tags:
  14508. - 风险管理
  14509. /Erms3/AddErms2ASApply:
  14510. post:
  14511. parameters:
  14512. - description: 申请参数
  14513. in: body
  14514. name: jsonBody
  14515. required: true
  14516. schema:
  14517. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  14518. produces:
  14519. - application/json
  14520. responses:
  14521. "200":
  14522. description: OK
  14523. schema:
  14524. $ref: '#/definitions/app.Response'
  14525. "500":
  14526. description: Internal Server Error
  14527. schema:
  14528. $ref: '#/definitions/app.Response'
  14529. security:
  14530. - ApiKeyAuth: []
  14531. summary: 新增期现套利业务申请
  14532. tags:
  14533. - 风险管理v3
  14534. /Erms3/AddErms2SpotTradeApply:
  14535. post:
  14536. parameters:
  14537. - description: 申请参数
  14538. in: body
  14539. name: jsonBody
  14540. required: true
  14541. schema:
  14542. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  14543. produces:
  14544. - application/json
  14545. responses:
  14546. "200":
  14547. description: OK
  14548. schema:
  14549. $ref: '#/definitions/app.Response'
  14550. "500":
  14551. description: Internal Server Error
  14552. schema:
  14553. $ref: '#/definitions/app.Response'
  14554. security:
  14555. - ApiKeyAuth: []
  14556. summary: 新增现货贸易业务申请
  14557. tags:
  14558. - 风险管理v3
  14559. /Erms3/AddSpotContractApply:
  14560. post:
  14561. parameters:
  14562. - description: 申请参数
  14563. in: body
  14564. name: jsonBody
  14565. required: true
  14566. schema:
  14567. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  14568. produces:
  14569. - application/json
  14570. responses:
  14571. "200":
  14572. description: OK
  14573. schema:
  14574. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  14575. "500":
  14576. description: Internal Server Error
  14577. schema:
  14578. $ref: '#/definitions/app.Response'
  14579. security:
  14580. - ApiKeyAuth: []
  14581. summary: 新增现货合同申请
  14582. tags:
  14583. - 风险管理v3
  14584. /Erms3/AddUserInfoApply:
  14585. post:
  14586. parameters:
  14587. - description: 用户信息
  14588. in: body
  14589. name: jsonBody
  14590. required: true
  14591. schema:
  14592. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  14593. produces:
  14594. - application/json
  14595. responses:
  14596. "200":
  14597. description: OK
  14598. schema:
  14599. $ref: '#/definitions/app.Response'
  14600. "500":
  14601. description: Internal Server Error
  14602. schema:
  14603. $ref: '#/definitions/app.Response'
  14604. security:
  14605. - ApiKeyAuth: []
  14606. summary: 新增客户申请
  14607. tags:
  14608. - 风险管理v3
  14609. /Erms3/DeleteUserInfoApply:
  14610. get:
  14611. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  14612. parameters:
  14613. - description: 用户ID
  14614. in: query
  14615. name: userID
  14616. required: true
  14617. type: integer
  14618. produces:
  14619. - application/json
  14620. responses:
  14621. "200":
  14622. description: OK
  14623. schema:
  14624. $ref: '#/definitions/app.Response'
  14625. "500":
  14626. description: Internal Server Error
  14627. schema:
  14628. $ref: '#/definitions/app.Response'
  14629. security:
  14630. - ApiKeyAuth: []
  14631. summary: 删除客户申请
  14632. tags:
  14633. - 风险管理v3
  14634. /Erms3/ModifyUserInfoApply:
  14635. post:
  14636. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  14637. int, "userstate": 2 }'
  14638. parameters:
  14639. - description: 用户信息
  14640. in: body
  14641. name: jsonBody
  14642. required: true
  14643. schema:
  14644. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  14645. produces:
  14646. - application/json
  14647. responses:
  14648. "200":
  14649. description: OK
  14650. schema:
  14651. $ref: '#/definitions/app.Response'
  14652. "500":
  14653. description: Internal Server Error
  14654. schema:
  14655. $ref: '#/definitions/app.Response'
  14656. security:
  14657. - ApiKeyAuth: []
  14658. summary: 修改客户申请
  14659. tags:
  14660. - 风险管理v3
  14661. /Erms3/QueryBusinessInfo:
  14662. get:
  14663. parameters:
  14664. - description: 资金账号ID列表,用逗号分隔
  14665. in: query
  14666. name: accountids
  14667. required: true
  14668. type: string
  14669. - description: 状态,0为未结束 1为已结束
  14670. in: query
  14671. name: status
  14672. required: true
  14673. type: integer
  14674. produces:
  14675. - application/json
  14676. responses:
  14677. "200":
  14678. description: OK
  14679. schema:
  14680. items:
  14681. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  14682. type: array
  14683. "500":
  14684. description: Internal Server Error
  14685. schema:
  14686. $ref: '#/definitions/app.Response'
  14687. security:
  14688. - ApiKeyAuth: []
  14689. summary: 查询业务表单数据
  14690. tags:
  14691. - 风险管理v3
  14692. /Erms3/QueryPendingAuditContract:
  14693. get:
  14694. parameters:
  14695. - description: 资金账号ID列表,逗号隔开
  14696. in: query
  14697. name: accountids
  14698. required: true
  14699. type: string
  14700. - description: 合同类型 1-采购 -1-销售
  14701. in: query
  14702. name: contracttype
  14703. required: true
  14704. type: integer
  14705. - description: 合同模式 1-普通 2-回购
  14706. in: query
  14707. name: contractmode
  14708. required: true
  14709. type: integer
  14710. produces:
  14711. - application/json
  14712. responses:
  14713. "200":
  14714. description: OK
  14715. schema:
  14716. items:
  14717. $ref: '#/definitions/erms3.QryAuditContractRsp'
  14718. type: array
  14719. "500":
  14720. description: Internal Server Error
  14721. schema:
  14722. $ref: '#/definitions/app.Response'
  14723. security:
  14724. - ApiKeyAuth: []
  14725. summary: 查询待审核合同
  14726. tags:
  14727. - 风险管理v3
  14728. /Erms3/QueryPendingBusiness:
  14729. get:
  14730. parameters:
  14731. - description: 资金账号ID列表,逗号隔开
  14732. in: query
  14733. name: accountids
  14734. required: true
  14735. type: string
  14736. produces:
  14737. - application/json
  14738. responses:
  14739. "200":
  14740. description: OK
  14741. schema:
  14742. items:
  14743. $ref: '#/definitions/erms3.QryPendingBizRsp'
  14744. type: array
  14745. "500":
  14746. description: Internal Server Error
  14747. schema:
  14748. $ref: '#/definitions/app.Response'
  14749. security:
  14750. - ApiKeyAuth: []
  14751. summary: 查询待审核基差贸易业务
  14752. tags:
  14753. - 风险管理v3
  14754. /Erms3/QuerySpotContractAppleForm:
  14755. get:
  14756. parameters:
  14757. - description: 登录账号
  14758. in: query
  14759. name: loginID
  14760. required: true
  14761. type: integer
  14762. produces:
  14763. - application/json
  14764. responses:
  14765. "200":
  14766. description: OK
  14767. schema:
  14768. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  14769. "500":
  14770. description: Internal Server Error
  14771. schema:
  14772. $ref: '#/definitions/app.Response'
  14773. security:
  14774. - ApiKeyAuth: []
  14775. summary: 查询合同申请表单数据
  14776. tags:
  14777. - 风险管理v3
  14778. /Erms3/QuerySpotContractDetail:
  14779. get:
  14780. parameters:
  14781. - description: 资金账号ID列表,用逗号分隔
  14782. in: query
  14783. name: accountids
  14784. required: true
  14785. type: string
  14786. - description: 合同类型,1为采购合同 -1为销售合同
  14787. in: query
  14788. name: contracttype
  14789. required: true
  14790. type: integer
  14791. - description: 合同模式,1为普通合同 2为回购销售合同
  14792. in: query
  14793. name: contractmode
  14794. required: true
  14795. type: integer
  14796. - description: 状态,0为履约中 1为已完成
  14797. in: query
  14798. name: status
  14799. required: true
  14800. type: integer
  14801. produces:
  14802. - application/json
  14803. responses:
  14804. "200":
  14805. description: OK
  14806. schema:
  14807. items:
  14808. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  14809. type: array
  14810. "500":
  14811. description: Internal Server Error
  14812. schema:
  14813. $ref: '#/definitions/app.Response'
  14814. security:
  14815. - ApiKeyAuth: []
  14816. summary: 查询合同详细信息
  14817. tags:
  14818. - 风险管理v3
  14819. /Erms3/QueryUserInfoApplies:
  14820. get:
  14821. parameters:
  14822. - description: 页码
  14823. in: query
  14824. name: page
  14825. type: integer
  14826. - description: 每页条数
  14827. in: query
  14828. name: pagesize
  14829. type: integer
  14830. - description: 客户名称,支持模糊查询
  14831. in: query
  14832. name: userName
  14833. type: string
  14834. produces:
  14835. - application/json
  14836. responses:
  14837. "200":
  14838. description: OK
  14839. schema:
  14840. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  14841. "500":
  14842. description: Internal Server Error
  14843. schema:
  14844. $ref: '#/definitions/app.Response'
  14845. security:
  14846. - ApiKeyAuth: []
  14847. summary: 客户申请信息查询
  14848. tags:
  14849. - 风险管理v3
  14850. /Erms3/QueryUserInfos:
  14851. get:
  14852. parameters:
  14853. - description: 页码
  14854. in: query
  14855. name: page
  14856. type: integer
  14857. - description: 每页条数
  14858. in: query
  14859. name: pagesize
  14860. type: integer
  14861. - description: 客户名称,支持模糊查询
  14862. in: query
  14863. name: userName
  14864. type: string
  14865. produces:
  14866. - application/json
  14867. responses:
  14868. "200":
  14869. description: OK
  14870. schema:
  14871. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  14872. "500":
  14873. description: Internal Server Error
  14874. schema:
  14875. $ref: '#/definitions/app.Response'
  14876. security:
  14877. - ApiKeyAuth: []
  14878. summary: 客户信息查询
  14879. tags:
  14880. - 风险管理v3
  14881. /HSBY/GetHsbyMyCount:
  14882. get:
  14883. description: 说明: 不包括已完成的数量。
  14884. parameters:
  14885. - description: 资金账户列表,格式:1,2,3
  14886. in: query
  14887. name: accountIDs
  14888. required: true
  14889. type: string
  14890. produces:
  14891. - application/json
  14892. responses:
  14893. "200":
  14894. description: OK
  14895. schema:
  14896. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  14897. "500":
  14898. description: Internal Server Error
  14899. schema:
  14900. $ref: '#/definitions/app.Response'
  14901. security:
  14902. - ApiKeyAuth: []
  14903. summary: 获取我的订单与包裹数量
  14904. tags:
  14905. - 定制【海商报业】
  14906. /HSBY/QueryClientFixedADConfigs:
  14907. get:
  14908. produces:
  14909. - application/json
  14910. responses:
  14911. "200":
  14912. description: OK
  14913. schema:
  14914. $ref: '#/definitions/models.Clientfixedadconfig'
  14915. "500":
  14916. description: Internal Server Error
  14917. schema:
  14918. $ref: '#/definitions/app.Response'
  14919. security:
  14920. - ApiKeyAuth: []
  14921. summary: 获取终端固定广告配置
  14922. tags:
  14923. - 定制【海商报业】
  14924. /HSBY/QueryHsbyBuyMyTradeDetail:
  14925. get:
  14926. parameters:
  14927. - description: 页码
  14928. in: query
  14929. name: page
  14930. type: integer
  14931. - description: 每页条数
  14932. in: query
  14933. name: pagesize
  14934. type: integer
  14935. - description: 资金账户列表,格式:1,2,3
  14936. in: query
  14937. name: accountIDs
  14938. required: true
  14939. type: string
  14940. produces:
  14941. - application/json
  14942. responses:
  14943. "200":
  14944. description: OK
  14945. schema:
  14946. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  14947. "500":
  14948. description: Internal Server Error
  14949. schema:
  14950. $ref: '#/definitions/app.Response'
  14951. security:
  14952. - ApiKeyAuth: []
  14953. summary: 查询"我的订单 - 已完成"单据信息
  14954. tags:
  14955. - 定制【海商报业】
  14956. /HSBY/QueryHsbyGoodsOrderDetails:
  14957. get:
  14958. description: 说明:查询结果已按委托价格和委托时间排序
  14959. parameters:
  14960. - description: 商品ID
  14961. in: query
  14962. name: goodsID
  14963. required: true
  14964. type: integer
  14965. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  14966. in: query
  14967. name: accountIDs
  14968. type: string
  14969. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  14970. in: query
  14971. name: buyOrSell
  14972. type: integer
  14973. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  14974. in: query
  14975. name: price
  14976. type: number
  14977. - description: 档位,不传则默认为3档
  14978. in: query
  14979. name: speed
  14980. type: integer
  14981. produces:
  14982. - application/json
  14983. responses:
  14984. "200":
  14985. description: OK
  14986. schema:
  14987. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  14988. "500":
  14989. description: Internal Server Error
  14990. schema:
  14991. $ref: '#/definitions/app.Response'
  14992. security:
  14993. - ApiKeyAuth: []
  14994. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  14995. tags:
  14996. - 定制【海商报业】
  14997. /HSBY/QueryHsbyListingGoodsDetail:
  14998. get:
  14999. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  15000. parameters:
  15001. - description: 商品ID
  15002. in: query
  15003. name: goodsID
  15004. required: true
  15005. type: integer
  15006. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  15007. in: query
  15008. name: accountID
  15009. type: integer
  15010. produces:
  15011. - application/json
  15012. responses:
  15013. "200":
  15014. description: OK
  15015. schema:
  15016. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  15017. "500":
  15018. description: Internal Server Error
  15019. schema:
  15020. $ref: '#/definitions/app.Response'
  15021. security:
  15022. - ApiKeyAuth: []
  15023. summary: 查询二级市场(挂牌点选)商品信息详情
  15024. tags:
  15025. - 定制【海商报业】
  15026. /HSBY/QueryHsbyMarketGoodsDetail:
  15027. get:
  15028. parameters:
  15029. - description: 委托单号
  15030. in: query
  15031. name: orderID
  15032. required: true
  15033. type: integer
  15034. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  15035. in: query
  15036. name: accountID
  15037. type: integer
  15038. produces:
  15039. - application/json
  15040. responses:
  15041. "200":
  15042. description: OK
  15043. schema:
  15044. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  15045. "500":
  15046. description: Internal Server Error
  15047. schema:
  15048. $ref: '#/definitions/app.Response'
  15049. security:
  15050. - ApiKeyAuth: []
  15051. summary: 查询三级市场(商城)商品信息详情
  15052. tags:
  15053. - 定制【海商报业】
  15054. /HSBY/QueryHsbyMarketGoodses:
  15055. get:
  15056. parameters:
  15057. - description: 页码
  15058. in: query
  15059. name: page
  15060. type: integer
  15061. - description: 每页条数
  15062. in: query
  15063. name: pagesize
  15064. type: integer
  15065. - description: 市场ID列表,格式:1,2,3
  15066. in: query
  15067. name: marketIDs
  15068. required: true
  15069. type: string
  15070. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  15071. in: query
  15072. name: accountID
  15073. required: true
  15074. type: integer
  15075. - description: 类别ID
  15076. in: query
  15077. name: categoryID
  15078. type: integer
  15079. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  15080. in: query
  15081. name: goodsIDs
  15082. type: string
  15083. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  15084. in: query
  15085. name: couponTypeID
  15086. type: integer
  15087. produces:
  15088. - application/json
  15089. responses:
  15090. "200":
  15091. description: OK
  15092. schema:
  15093. $ref: '#/definitions/models.HsbyMarketGoods'
  15094. "500":
  15095. description: Internal Server Error
  15096. schema:
  15097. $ref: '#/definitions/app.Response'
  15098. security:
  15099. - ApiKeyAuth: []
  15100. summary: 查询特卖商品列表(三级商城)
  15101. tags:
  15102. - 定制【海商报业】
  15103. /HSBY/QueryHsbyMarkets:
  15104. get:
  15105. produces:
  15106. - application/json
  15107. responses:
  15108. "200":
  15109. description: OK
  15110. schema:
  15111. $ref: '#/definitions/models.HsbyMarketInfo'
  15112. "500":
  15113. description: Internal Server Error
  15114. schema:
  15115. $ref: '#/definitions/app.Response'
  15116. security:
  15117. - ApiKeyAuth: []
  15118. summary: 查询海商报业相关市场信息
  15119. tags:
  15120. - 定制【海商报业】
  15121. /HSBY/QueryHsbyMyBuyOrderDetails:
  15122. get:
  15123. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  15124. parameters:
  15125. - description: 资金账户列表,格式:1,2,3
  15126. in: query
  15127. name: accountIDs
  15128. required: true
  15129. type: string
  15130. produces:
  15131. - application/json
  15132. responses:
  15133. "200":
  15134. description: OK
  15135. schema:
  15136. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  15137. "500":
  15138. description: Internal Server Error
  15139. schema:
  15140. $ref: '#/definitions/app.Response'
  15141. security:
  15142. - ApiKeyAuth: []
  15143. summary: 查询“我的订单”信息
  15144. tags:
  15145. - 定制【海商报业】
  15146. /HSBY/QueryHsbyMyGoods:
  15147. get:
  15148. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  15149. parameters:
  15150. - description: 资金账户列表,格式:1,2,3
  15151. in: query
  15152. name: accountIDs
  15153. required: true
  15154. type: string
  15155. produces:
  15156. - application/json
  15157. responses:
  15158. "200":
  15159. description: OK
  15160. schema:
  15161. $ref: '#/definitions/models.HsbyMyGoods'
  15162. "500":
  15163. description: Internal Server Error
  15164. schema:
  15165. $ref: '#/definitions/app.Response'
  15166. security:
  15167. - ApiKeyAuth: []
  15168. summary: 查询“我的商品”信息
  15169. tags:
  15170. - 定制【海商报业】
  15171. /HSBY/QueryHsbyMyPackages:
  15172. get:
  15173. parameters:
  15174. - description: 资金账户列表,格式:1,2,3
  15175. in: query
  15176. name: accountIDs
  15177. required: true
  15178. type: string
  15179. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  15180. in: query
  15181. name: takeOrderStatus
  15182. type: integer
  15183. produces:
  15184. - application/json
  15185. responses:
  15186. "200":
  15187. description: OK
  15188. schema:
  15189. $ref: '#/definitions/models.HsbyMyPackage'
  15190. "500":
  15191. description: Internal Server Error
  15192. schema:
  15193. $ref: '#/definitions/app.Response'
  15194. security:
  15195. - ApiKeyAuth: []
  15196. summary: 查询我的包裹信息
  15197. tags:
  15198. - 定制【海商报业】
  15199. /HSBY/QueryHsbyPreGoodsDetail:
  15200. get:
  15201. parameters:
  15202. - description: 商品ID
  15203. in: query
  15204. name: goodsID
  15205. required: true
  15206. type: integer
  15207. - description: 资金账户,主要用于获取预售商品购买上限
  15208. in: query
  15209. name: accountID
  15210. type: integer
  15211. produces:
  15212. - application/json
  15213. responses:
  15214. "200":
  15215. description: OK
  15216. schema:
  15217. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  15218. "500":
  15219. description: Internal Server Error
  15220. schema:
  15221. $ref: '#/definitions/app.Response'
  15222. security:
  15223. - ApiKeyAuth: []
  15224. summary: 查询一级市场(预售)商品信息详情
  15225. tags:
  15226. - 定制【海商报业】
  15227. /HSBY/QueryHsbyPreGoodses:
  15228. get:
  15229. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  15230. parameters:
  15231. - description: 页码
  15232. in: query
  15233. name: page
  15234. type: integer
  15235. - description: 每页条数
  15236. in: query
  15237. name: pagesize
  15238. type: integer
  15239. - description: 市场ID列表,格式:1,2,3
  15240. in: query
  15241. name: marketIDs
  15242. required: true
  15243. type: string
  15244. - description: 目的地(省)ID
  15245. in: query
  15246. name: descProvinceID
  15247. type: integer
  15248. - description: 目的地(市)ID
  15249. in: query
  15250. name: descCityID
  15251. type: integer
  15252. produces:
  15253. - application/json
  15254. responses:
  15255. "200":
  15256. description: OK
  15257. schema:
  15258. $ref: '#/definitions/models.HsbyPreGoods'
  15259. "500":
  15260. description: Internal Server Error
  15261. schema:
  15262. $ref: '#/definitions/app.Response'
  15263. security:
  15264. - ApiKeyAuth: []
  15265. summary: 查询新品上市商品列表(一级市场预售)
  15266. tags:
  15267. - 定制【海商报业】
  15268. /HSBY/QueryHsbySellMyDetails:
  15269. get:
  15270. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  15271. parameters:
  15272. - description: 页码
  15273. in: query
  15274. name: page
  15275. type: integer
  15276. - description: 每页条数
  15277. in: query
  15278. name: pagesize
  15279. type: integer
  15280. - description: 资金账户列表,格式:1,2,3
  15281. in: query
  15282. name: accountIDs
  15283. required: true
  15284. type: string
  15285. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  15286. in: query
  15287. name: orderType
  15288. type: integer
  15289. produces:
  15290. - application/json
  15291. responses:
  15292. "200":
  15293. description: OK
  15294. schema:
  15295. $ref: '#/definitions/models.HsbySellMyDetail'
  15296. "500":
  15297. description: Internal Server Error
  15298. schema:
  15299. $ref: '#/definitions/app.Response'
  15300. security:
  15301. - ApiKeyAuth: []
  15302. summary: 查询"我的闲置"单据信息
  15303. tags:
  15304. - 定制【海商报业】
  15305. /HSBY/QueryHsbyTopGoodses:
  15306. get:
  15307. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  15308. parameters:
  15309. - description: 页码
  15310. in: query
  15311. name: page
  15312. type: integer
  15313. - description: 每页条数
  15314. in: query
  15315. name: pagesize
  15316. type: integer
  15317. - description: 市场ID列表,格式:1,2,3
  15318. in: query
  15319. name: marketIDs
  15320. required: true
  15321. type: string
  15322. - description: 目的地(省)ID
  15323. in: query
  15324. name: descProvinceID
  15325. type: integer
  15326. - description: 目的地(市)ID
  15327. in: query
  15328. name: descCityID
  15329. type: integer
  15330. produces:
  15331. - application/json
  15332. responses:
  15333. "200":
  15334. description: OK
  15335. schema:
  15336. $ref: '#/definitions/models.HsbyTopGoods'
  15337. "500":
  15338. description: Internal Server Error
  15339. schema:
  15340. $ref: '#/definitions/app.Response'
  15341. security:
  15342. - ApiKeyAuth: []
  15343. summary: 查询热卖商品列表(二级市场挂牌点选)
  15344. tags:
  15345. - 定制【海商报业】
  15346. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  15347. get:
  15348. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  15349. parameters:
  15350. - description: 商品ID
  15351. in: query
  15352. name: goodsID
  15353. required: true
  15354. type: integer
  15355. produces:
  15356. - application/json
  15357. responses:
  15358. "200":
  15359. description: OK
  15360. schema:
  15361. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  15362. "500":
  15363. description: Internal Server Error
  15364. schema:
  15365. $ref: '#/definitions/app.Response'
  15366. security:
  15367. - ApiKeyAuth: []
  15368. summary: 查询游客三级市场(商城)商品信息详情
  15369. tags:
  15370. - 定制【海商报业】
  15371. /HSBY/QueryHsbyVisitorMarketGoodses:
  15372. get:
  15373. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  15374. parameters:
  15375. - description: 页码
  15376. in: query
  15377. name: page
  15378. type: integer
  15379. - description: 每页条数
  15380. in: query
  15381. name: pagesize
  15382. type: integer
  15383. - description: 市场ID列表,格式:1,2,3
  15384. in: query
  15385. name: marketIDs
  15386. required: true
  15387. type: string
  15388. - description: 类别ID
  15389. in: query
  15390. name: categoryID
  15391. type: integer
  15392. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  15393. in: query
  15394. name: goodsIDs
  15395. type: string
  15396. produces:
  15397. - application/json
  15398. responses:
  15399. "200":
  15400. description: OK
  15401. schema:
  15402. $ref: '#/definitions/models.HsbyMarketGoods'
  15403. "500":
  15404. description: Internal Server Error
  15405. schema:
  15406. $ref: '#/definitions/app.Response'
  15407. security:
  15408. - ApiKeyAuth: []
  15409. summary: 查询游客特卖商品列表(三级商城)
  15410. tags:
  15411. - 定制【海商报业】
  15412. /HSBY/QueryMyCollectionOrders:
  15413. get:
  15414. parameters:
  15415. - description: 页码
  15416. in: query
  15417. name: page
  15418. type: integer
  15419. - description: 每页条数
  15420. in: query
  15421. name: pagesize
  15422. type: integer
  15423. - description: 资金账户,格式:1,2,3
  15424. in: query
  15425. name: accountIDs
  15426. required: true
  15427. type: string
  15428. produces:
  15429. - application/json
  15430. responses:
  15431. "200":
  15432. description: OK
  15433. schema:
  15434. $ref: '#/definitions/models.HsbySellCollectionOrder'
  15435. "500":
  15436. description: Internal Server Error
  15437. schema:
  15438. $ref: '#/definitions/app.Response'
  15439. security:
  15440. - ApiKeyAuth: []
  15441. summary: 我的闲置中收款信息查询
  15442. tags:
  15443. - 定制【海商报业】
  15444. /HSBY/QueryMyCouponHolds:
  15445. get:
  15446. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  15447. parameters:
  15448. - description: 资金账户列表,格式:1,2,3
  15449. in: query
  15450. name: accountIDs
  15451. required: true
  15452. type: string
  15453. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  15454. in: query
  15455. name: holdStatus
  15456. type: string
  15457. produces:
  15458. - application/json
  15459. responses:
  15460. "200":
  15461. description: OK
  15462. schema:
  15463. $ref: '#/definitions/models.MyCouponHold'
  15464. "500":
  15465. description: Internal Server Error
  15466. schema:
  15467. $ref: '#/definitions/app.Response'
  15468. security:
  15469. - ApiKeyAuth: []
  15470. summary: 我的优惠卷持仓查询
  15471. tags:
  15472. - 定制【海商报业】
  15473. /HSBY/QueryMyCoupons:
  15474. get:
  15475. parameters:
  15476. - description: 资金账户列表,格式:1,2,3
  15477. in: query
  15478. name: accountIDs
  15479. required: true
  15480. type: string
  15481. - description: 商品ID, 一般与sellUserID配套传入
  15482. in: query
  15483. name: goodsID
  15484. type: integer
  15485. - description: 卖方UserID
  15486. in: query
  15487. name: sellUserID
  15488. type: integer
  15489. produces:
  15490. - application/json
  15491. responses:
  15492. "200":
  15493. description: OK
  15494. schema:
  15495. $ref: '#/definitions/models.MyCoupon'
  15496. "500":
  15497. description: Internal Server Error
  15498. schema:
  15499. $ref: '#/definitions/app.Response'
  15500. security:
  15501. - ApiKeyAuth: []
  15502. summary: 我的优惠卷查询
  15503. tags:
  15504. - 定制【海商报业】
  15505. /HSBY/QueryMyPayOrders:
  15506. get:
  15507. parameters:
  15508. - description: 页码
  15509. in: query
  15510. name: page
  15511. type: integer
  15512. - description: 每页条数
  15513. in: query
  15514. name: pagesize
  15515. type: integer
  15516. - description: 资金账户列表,格式:1,2,3
  15517. in: query
  15518. name: accountIDs
  15519. required: true
  15520. type: string
  15521. - description: 买方委托单号
  15522. in: query
  15523. name: buyOrderID
  15524. type: integer
  15525. - description: 卖方委托单号
  15526. in: query
  15527. name: sellOrderID
  15528. type: integer
  15529. produces:
  15530. - application/json
  15531. responses:
  15532. "200":
  15533. description: OK
  15534. schema:
  15535. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  15536. "500":
  15537. description: Internal Server Error
  15538. schema:
  15539. $ref: '#/definitions/app.Response'
  15540. security:
  15541. - ApiKeyAuth: []
  15542. summary: 获取我的订单中待付款信息
  15543. tags:
  15544. - 定制【海商报业】
  15545. /HSBY/QueryMyUsedCoupon:
  15546. get:
  15547. parameters:
  15548. - description: 资金账户列表,格式:1,2,3
  15549. in: query
  15550. name: accountIDs
  15551. required: true
  15552. type: string
  15553. produces:
  15554. - application/json
  15555. responses:
  15556. "200":
  15557. description: OK
  15558. schema:
  15559. $ref: '#/definitions/models.MyUsedCoupon'
  15560. "500":
  15561. description: Internal Server Error
  15562. schema:
  15563. $ref: '#/definitions/app.Response'
  15564. security:
  15565. - ApiKeyAuth: []
  15566. summary: 已使用优惠卷查询
  15567. tags:
  15568. - 定制【海商报业】
  15569. /HSBY/QueryProvincesAndCities:
  15570. get:
  15571. description: 查询结果只包括二级市场商品已关连的省市信息。
  15572. parameters:
  15573. - description: 省ID
  15574. in: query
  15575. name: provinceID
  15576. type: integer
  15577. produces:
  15578. - application/json
  15579. responses:
  15580. "200":
  15581. description: OK
  15582. schema:
  15583. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  15584. "500":
  15585. description: Internal Server Error
  15586. schema:
  15587. $ref: '#/definitions/app.Response'
  15588. security:
  15589. - ApiKeyAuth: []
  15590. summary: 查询省市信息(不包括区)
  15591. tags:
  15592. - 定制【海商报业】
  15593. /HSBY/SetHsbyMyPackagesStatus:
  15594. post:
  15595. parameters:
  15596. - description: 提货单号
  15597. in: query
  15598. name: takeOrderID
  15599. required: true
  15600. type: string
  15601. - description: 资金账号
  15602. in: query
  15603. name: accountID
  15604. required: true
  15605. type: integer
  15606. produces:
  15607. - application/json
  15608. responses:
  15609. "200":
  15610. description: OK
  15611. schema:
  15612. $ref: '#/definitions/app.Response'
  15613. "500":
  15614. description: Internal Server Error
  15615. schema:
  15616. $ref: '#/definitions/app.Response'
  15617. security:
  15618. - ApiKeyAuth: []
  15619. summary: 设置我的包裹已收货状态
  15620. tags:
  15621. - 定制【海商报业】
  15622. /Market/QueryGoodsesByLoginID:
  15623. get:
  15624. parameters:
  15625. - description: 登录账号
  15626. in: query
  15627. name: loginID
  15628. required: true
  15629. type: integer
  15630. - description: 市场ID列表,格式:1,2,3
  15631. in: query
  15632. name: marketIDs
  15633. type: string
  15634. produces:
  15635. - application/json
  15636. responses:
  15637. "200":
  15638. description: OK
  15639. schema:
  15640. $ref: '#/definitions/models.Goods'
  15641. "500":
  15642. description: Internal Server Error
  15643. schema:
  15644. $ref: '#/definitions/app.Response'
  15645. security:
  15646. - ApiKeyAuth: []
  15647. summary: 获取登录账号有权限的商品信息
  15648. tags:
  15649. - 通用市场
  15650. /Market/QueryMarketRun:
  15651. get:
  15652. parameters:
  15653. - description: 市场ID,不传返回所有
  15654. in: query
  15655. name: marketID
  15656. type: integer
  15657. produces:
  15658. - application/json
  15659. responses:
  15660. "200":
  15661. description: OK
  15662. schema:
  15663. $ref: '#/definitions/models.Marketrun'
  15664. "500":
  15665. description: Internal Server Error
  15666. schema:
  15667. $ref: '#/definitions/app.Response'
  15668. security:
  15669. - ApiKeyAuth: []
  15670. summary: 查询市场运行信息
  15671. tags:
  15672. - 通用市场
  15673. /Market/QueryMarketsByLoginID:
  15674. get:
  15675. parameters:
  15676. - description: 登录账号
  15677. in: query
  15678. name: loginID
  15679. required: true
  15680. type: integer
  15681. produces:
  15682. - application/json
  15683. responses:
  15684. "200":
  15685. description: OK
  15686. schema:
  15687. $ref: '#/definitions/models.Market'
  15688. "500":
  15689. description: Internal Server Error
  15690. schema:
  15691. $ref: '#/definitions/app.Response'
  15692. security:
  15693. - ApiKeyAuth: []
  15694. summary: 获取登录账号有权限的市场信息
  15695. tags:
  15696. - 通用市场
  15697. /Order/QueryHisTradeDetail:
  15698. get:
  15699. parameters:
  15700. - description: 资金账户 - 格式:1,2,3
  15701. in: query
  15702. name: accountID
  15703. required: true
  15704. type: string
  15705. - description: 成交单号
  15706. in: query
  15707. name: tradeID
  15708. type: integer
  15709. - description: 委托单号
  15710. in: query
  15711. name: orderID
  15712. type: integer
  15713. - description: 交易模式 - 格式:1,2,3
  15714. in: query
  15715. name: tradeMode
  15716. type: string
  15717. - description: 委托单据类型
  15718. in: query
  15719. name: buildType
  15720. type: integer
  15721. - description: 成交类别 - 格式:1,2,3
  15722. in: query
  15723. name: tradeType
  15724. type: string
  15725. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  15726. in: query
  15727. name: startDate
  15728. type: string
  15729. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  15730. in: query
  15731. name: endDate
  15732. type: string
  15733. produces:
  15734. - application/json
  15735. responses:
  15736. "200":
  15737. description: OK
  15738. schema:
  15739. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  15740. "500":
  15741. description: Internal Server Error
  15742. schema:
  15743. $ref: '#/definitions/app.Response'
  15744. security:
  15745. - ApiKeyAuth: []
  15746. summary: 历史成交单查询(合约市场)
  15747. tags:
  15748. - 通用单据
  15749. /Order/QueryHisTradeOrderDetail:
  15750. get:
  15751. parameters:
  15752. - description: 资金账户 - 格式:1,2,3
  15753. in: query
  15754. name: accountID
  15755. required: true
  15756. type: string
  15757. - description: 交易模式 - 格式:1,2,3
  15758. in: query
  15759. name: tradeMode
  15760. type: string
  15761. - description: 委托状态 - 格式:1,2,3
  15762. in: query
  15763. name: orderStatus
  15764. type: string
  15765. - description: 委托单号
  15766. in: query
  15767. name: orderID
  15768. type: integer
  15769. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  15770. in: query
  15771. name: startDate
  15772. type: string
  15773. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  15774. in: query
  15775. name: endDate
  15776. type: string
  15777. produces:
  15778. - application/json
  15779. responses:
  15780. "200":
  15781. description: OK
  15782. schema:
  15783. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  15784. "500":
  15785. description: Internal Server Error
  15786. schema:
  15787. $ref: '#/definitions/app.Response'
  15788. security:
  15789. - ApiKeyAuth: []
  15790. summary: 历史委托单查询请求(合约市场)
  15791. tags:
  15792. - 通用单据
  15793. /Order/QueryTradeDetail:
  15794. get:
  15795. parameters:
  15796. - description: 资金账户 - 格式:1,2,3
  15797. in: query
  15798. name: accountID
  15799. required: true
  15800. type: string
  15801. - description: 成交单号
  15802. in: query
  15803. name: tradeID
  15804. type: integer
  15805. - description: 委托单号
  15806. in: query
  15807. name: orderID
  15808. type: integer
  15809. - description: 交易模式 - 格式:1,2,3
  15810. in: query
  15811. name: tradeMode
  15812. type: string
  15813. - description: 委托单据类型
  15814. in: query
  15815. name: buildType
  15816. type: integer
  15817. - description: 成交类别 - 格式:1,2,3
  15818. in: query
  15819. name: tradeType
  15820. type: string
  15821. produces:
  15822. - application/json
  15823. responses:
  15824. "200":
  15825. description: OK
  15826. schema:
  15827. $ref: '#/definitions/order.QueryTradeDetailRsp'
  15828. "500":
  15829. description: Internal Server Error
  15830. schema:
  15831. $ref: '#/definitions/app.Response'
  15832. security:
  15833. - ApiKeyAuth: []
  15834. summary: 成交单查询(合约市场)
  15835. tags:
  15836. - 通用单据
  15837. /Order/QueryTradeOrderDetail:
  15838. get:
  15839. parameters:
  15840. - description: 资金账户 - 格式:1,2,3
  15841. in: query
  15842. name: accountID
  15843. required: true
  15844. type: string
  15845. - description: 交易模式 - 格式:1,2,3
  15846. in: query
  15847. name: tradeMode
  15848. type: string
  15849. - description: 委托状态 - 格式:1,2,3
  15850. in: query
  15851. name: orderStatus
  15852. type: string
  15853. - description: 委托单号
  15854. in: query
  15855. name: orderID
  15856. type: integer
  15857. produces:
  15858. - application/json
  15859. responses:
  15860. "200":
  15861. description: OK
  15862. schema:
  15863. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  15864. "500":
  15865. description: Internal Server Error
  15866. schema:
  15867. $ref: '#/definitions/app.Response'
  15868. security:
  15869. - ApiKeyAuth: []
  15870. summary: 委托单查询请求(合约市场)
  15871. tags:
  15872. - 通用单据
  15873. /Order/QueryTradePosition:
  15874. get:
  15875. parameters:
  15876. - description: 资金账户 - 格式:1,2,3
  15877. in: query
  15878. name: accountID
  15879. required: true
  15880. type: string
  15881. - description: 交易模式 - 格式:1,2,3
  15882. in: query
  15883. name: tradeMode
  15884. type: string
  15885. produces:
  15886. - application/json
  15887. responses:
  15888. "200":
  15889. description: OK
  15890. schema:
  15891. $ref: '#/definitions/order.QueryTradePositionRsp'
  15892. "500":
  15893. description: Internal Server Error
  15894. schema:
  15895. $ref: '#/definitions/app.Response'
  15896. security:
  15897. - ApiKeyAuth: []
  15898. summary: 持仓汇总查询(合约市场)
  15899. tags:
  15900. - 通用单据
  15901. /Qhj/QueryContract:
  15902. get:
  15903. parameters:
  15904. - description: 用户ID
  15905. in: query
  15906. name: userid
  15907. required: true
  15908. type: integer
  15909. - description: scf合同id
  15910. in: query
  15911. name: scfcontractid
  15912. type: integer
  15913. produces:
  15914. - application/json
  15915. responses:
  15916. "200":
  15917. description: OK
  15918. schema:
  15919. items:
  15920. $ref: '#/definitions/models.QhjContract'
  15921. type: array
  15922. "500":
  15923. description: Internal Server Error
  15924. schema:
  15925. $ref: '#/definitions/app.Response'
  15926. security:
  15927. - ApiKeyAuth: []
  15928. summary: 查询融资明细(合同)
  15929. tags:
  15930. - 大连千海金
  15931. /Qhj/QueryContractLog:
  15932. get:
  15933. parameters:
  15934. - description: scf合同id
  15935. in: query
  15936. name: scfcontractid
  15937. required: true
  15938. type: integer
  15939. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  15940. in: query
  15941. name: amounttype
  15942. type: string
  15943. produces:
  15944. - application/json
  15945. responses:
  15946. "200":
  15947. description: OK
  15948. schema:
  15949. items:
  15950. $ref: '#/definitions/models.QhjContractLog'
  15951. type: array
  15952. "500":
  15953. description: Internal Server Error
  15954. schema:
  15955. $ref: '#/definitions/app.Response'
  15956. security:
  15957. - ApiKeyAuth: []
  15958. summary: 查询融资明细流水(融资明细详情)
  15959. tags:
  15960. - 大连千海金
  15961. /Quote/QueryHistoryDatas:
  15962. get:
  15963. parameters:
  15964. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  15965. 日线'
  15966. in: query
  15967. name: cycleType
  15968. required: true
  15969. type: integer
  15970. - description: 商品代码
  15971. in: query
  15972. name: goodsCode
  15973. required: true
  15974. type: string
  15975. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  15976. in: query
  15977. name: startTime
  15978. type: string
  15979. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  15980. in: query
  15981. name: endTime
  15982. type: string
  15983. - description: 条数
  15984. in: query
  15985. name: count
  15986. type: integer
  15987. - description: 是否按时间顺序排序(默认为时间倒序排序)
  15988. in: query
  15989. name: isAsc
  15990. type: boolean
  15991. produces:
  15992. - application/json
  15993. responses:
  15994. "200":
  15995. description: OK
  15996. schema:
  15997. $ref: '#/definitions/quote.HistoryData'
  15998. "500":
  15999. description: Internal Server Error
  16000. schema:
  16001. $ref: '#/definitions/app.Response'
  16002. security:
  16003. - ApiKeyAuth: []
  16004. summary: 查询行情历史数据
  16005. tags:
  16006. - 行情服务
  16007. /Quote/QueryHistoryTikDatas:
  16008. get:
  16009. parameters:
  16010. - description: 商品代码
  16011. in: query
  16012. name: goodsCode
  16013. required: true
  16014. type: string
  16015. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  16016. in: query
  16017. name: startTime
  16018. type: string
  16019. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  16020. in: query
  16021. name: endTime
  16022. type: string
  16023. - description: 条数
  16024. in: query
  16025. name: count
  16026. type: integer
  16027. - description: 是否按时间顺序排序(默认为时间倒序排序)
  16028. in: query
  16029. name: isAsc
  16030. type: boolean
  16031. produces:
  16032. - application/json
  16033. responses:
  16034. "200":
  16035. description: OK
  16036. schema:
  16037. $ref: '#/definitions/quote.HistoryTikData'
  16038. "500":
  16039. description: Internal Server Error
  16040. schema:
  16041. $ref: '#/definitions/app.Response'
  16042. security:
  16043. - ApiKeyAuth: []
  16044. summary: 查询行情Tik数据
  16045. tags:
  16046. - 行情服务
  16047. /Quote/QueryQuoteDay:
  16048. get:
  16049. parameters:
  16050. - description: 商品代码列表,格式:CU2102,CU2103,AL2107
  16051. in: query
  16052. name: goodsCodes
  16053. required: true
  16054. type: string
  16055. produces:
  16056. - application/json
  16057. responses:
  16058. "200":
  16059. description: OK
  16060. schema:
  16061. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  16062. "500":
  16063. description: Internal Server Error
  16064. schema:
  16065. $ref: '#/definitions/app.Response'
  16066. security:
  16067. - ApiKeyAuth: []
  16068. summary: 获取商品盘面信息
  16069. tags:
  16070. - 行情服务
  16071. /Quote/QueryTSData:
  16072. get:
  16073. parameters:
  16074. - description: 商品代码
  16075. in: query
  16076. name: goodsCode
  16077. required: true
  16078. type: string
  16079. produces:
  16080. - application/json
  16081. responses:
  16082. "200":
  16083. description: OK
  16084. schema:
  16085. $ref: '#/definitions/quote.QueryTSDataRsp'
  16086. "500":
  16087. description: Internal Server Error
  16088. schema:
  16089. $ref: '#/definitions/app.Response'
  16090. security:
  16091. - ApiKeyAuth: []
  16092. summary: 分时图数据查询
  16093. tags:
  16094. - 行情服务
  16095. /SZDZ/QueryConvertConfig:
  16096. get:
  16097. parameters:
  16098. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  16099. 6:交易转花生米(不设置)
  16100. in: query
  16101. name: convertType
  16102. type: integer
  16103. - description: 外部商品代码[JD\PD]
  16104. in: query
  16105. name: outerGoodsCode
  16106. type: string
  16107. - description: 内部商品ID列表[交易],格式:1,2,3
  16108. in: query
  16109. name: innerGoodsIDs
  16110. type: string
  16111. produces:
  16112. - application/json
  16113. responses:
  16114. "200":
  16115. description: OK
  16116. schema:
  16117. $ref: '#/definitions/models.Szdz3convertconfig'
  16118. "500":
  16119. description: Internal Server Error
  16120. schema:
  16121. $ref: '#/definitions/app.Response'
  16122. security:
  16123. - ApiKeyAuth: []
  16124. summary: 查询交易系统转换设置
  16125. tags:
  16126. - 定制【尚志大宗】
  16127. /SZDZ/QueryConvertLog:
  16128. get:
  16129. parameters:
  16130. - description: 资金账户 - 格式:1,2,3
  16131. in: query
  16132. name: accountID
  16133. required: true
  16134. type: string
  16135. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  16136. in: query
  16137. name: startDate
  16138. type: string
  16139. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  16140. in: query
  16141. name: endDate
  16142. type: string
  16143. produces:
  16144. - application/json
  16145. responses:
  16146. "200":
  16147. description: OK
  16148. schema:
  16149. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  16150. "500":
  16151. description: Internal Server Error
  16152. schema:
  16153. $ref: '#/definitions/app.Response'
  16154. security:
  16155. - ApiKeyAuth: []
  16156. summary: 交易系统转换流水查询
  16157. tags:
  16158. - 定制【尚志大宗】
  16159. /SZDZ/QueryGoodsPickup:
  16160. get:
  16161. parameters:
  16162. - description: 资金账户 - 格式:1,2,3
  16163. in: query
  16164. name: accountID
  16165. required: true
  16166. type: string
  16167. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  16168. in: query
  16169. name: takeOrderStatus
  16170. type: integer
  16171. produces:
  16172. - application/json
  16173. responses:
  16174. "200":
  16175. description: OK
  16176. schema:
  16177. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  16178. "500":
  16179. description: Internal Server Error
  16180. schema:
  16181. $ref: '#/definitions/app.Response'
  16182. security:
  16183. - ApiKeyAuth: []
  16184. summary: 商品提货单查询
  16185. tags:
  16186. - 定制【尚志大宗】
  16187. /SZDZ/QueryRecieptOrder:
  16188. get:
  16189. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  16190. parameters:
  16191. - description: 页码
  16192. in: query
  16193. name: page
  16194. type: integer
  16195. - description: 每页条数
  16196. in: query
  16197. name: pagesize
  16198. type: integer
  16199. - description: 商品ID
  16200. in: query
  16201. name: goodsID
  16202. required: true
  16203. type: integer
  16204. - description: 所属账户名称
  16205. in: query
  16206. name: accountName
  16207. type: string
  16208. - description: 市场ID
  16209. in: query
  16210. name: marketID
  16211. type: integer
  16212. - description: 方向 - 0:买 1:卖
  16213. in: query
  16214. name: buyorsell
  16215. required: true
  16216. type: integer
  16217. produces:
  16218. - application/json
  16219. responses:
  16220. "200":
  16221. description: OK
  16222. schema:
  16223. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  16224. "500":
  16225. description: Internal Server Error
  16226. schema:
  16227. $ref: '#/definitions/app.Response'
  16228. security:
  16229. - ApiKeyAuth: []
  16230. summary: 点选挂牌委托单据查询(摘牌大厅)
  16231. tags:
  16232. - 定制【尚志大宗】
  16233. /SZDZ/QuerySZDZTradePosition:
  16234. get:
  16235. parameters:
  16236. - description: 资金账户
  16237. in: query
  16238. name: accountID
  16239. required: true
  16240. type: integer
  16241. produces:
  16242. - application/json
  16243. responses:
  16244. "200":
  16245. description: OK
  16246. schema:
  16247. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  16248. "500":
  16249. description: Internal Server Error
  16250. schema:
  16251. $ref: '#/definitions/app.Response'
  16252. security:
  16253. - ApiKeyAuth: []
  16254. summary: 持仓汇总查询(尚志大宗)
  16255. tags:
  16256. - 定制【尚志大宗】
  16257. /SZDZ/SearchWhite:
  16258. get:
  16259. parameters:
  16260. - description: 用户ID
  16261. in: query
  16262. name: userID
  16263. required: true
  16264. type: integer
  16265. produces:
  16266. - application/json
  16267. responses:
  16268. "200":
  16269. description: OK
  16270. schema:
  16271. $ref: '#/definitions/models.Szdz3searchwhitelist'
  16272. "500":
  16273. description: Internal Server Error
  16274. schema:
  16275. $ref: '#/definitions/app.Response'
  16276. security:
  16277. - ApiKeyAuth: []
  16278. summary: 搜索白名单
  16279. tags:
  16280. - 定制【尚志大宗】
  16281. /Search/SearchGoodses:
  16282. get:
  16283. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  16284. parameters:
  16285. - description: 检索内容
  16286. in: query
  16287. name: content
  16288. required: true
  16289. type: string
  16290. - description: 交易模式,格式:1,2,3
  16291. in: query
  16292. name: tradeModes
  16293. type: string
  16294. produces:
  16295. - application/json
  16296. responses:
  16297. "200":
  16298. description: OK
  16299. schema:
  16300. $ref: '#/definitions/models.SearchGoods'
  16301. "500":
  16302. description: Internal Server Error
  16303. schema:
  16304. $ref: '#/definitions/app.Response'
  16305. summary: 检索商品信息
  16306. tags:
  16307. - 检索服务
  16308. /TaAccount/GetTaAccounts:
  16309. get:
  16310. parameters:
  16311. - description: 登录账户
  16312. in: query
  16313. name: loginID
  16314. required: true
  16315. type: integer
  16316. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  16317. in: query
  16318. name: taAccountType
  16319. type: integer
  16320. produces:
  16321. - application/json
  16322. responses:
  16323. "200":
  16324. description: OK
  16325. schema:
  16326. $ref: '#/definitions/models.Taaccount'
  16327. "500":
  16328. description: Internal Server Error
  16329. schema:
  16330. $ref: '#/definitions/app.Response'
  16331. security:
  16332. - ApiKeyAuth: []
  16333. summary: 获取资金账户信息
  16334. tags:
  16335. - 资金账户
  16336. /TaAccount/QueryAmountLog:
  16337. get:
  16338. parameters:
  16339. - description: 页码
  16340. in: query
  16341. name: page
  16342. type: integer
  16343. - description: 每页条数
  16344. in: query
  16345. name: pagesize
  16346. type: integer
  16347. - description: 资金账户 - 格式:1,2,3
  16348. in: query
  16349. name: accountID
  16350. required: true
  16351. type: string
  16352. - description: 资金操作类型 - 格式:1,2,3
  16353. in: query
  16354. name: OperateType
  16355. type: string
  16356. produces:
  16357. - application/json
  16358. responses:
  16359. "200":
  16360. description: OK
  16361. schema:
  16362. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  16363. "500":
  16364. description: Internal Server Error
  16365. schema:
  16366. $ref: '#/definitions/app.Response'
  16367. security:
  16368. - ApiKeyAuth: []
  16369. summary: 资金流水查询(当前)
  16370. tags:
  16371. - 资金账户
  16372. /TaAccount/QueryHisAmountLog:
  16373. get:
  16374. parameters:
  16375. - description: 页码
  16376. in: query
  16377. name: page
  16378. type: integer
  16379. - description: 每页条数
  16380. in: query
  16381. name: pagesize
  16382. type: integer
  16383. - description: 资金账户 - 格式:1,2,3
  16384. in: query
  16385. name: accountID
  16386. required: true
  16387. type: string
  16388. - description: 资金操作类型 - 格式:1,2,3
  16389. in: query
  16390. name: OperateType
  16391. type: string
  16392. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  16393. in: query
  16394. name: startDate
  16395. type: string
  16396. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  16397. in: query
  16398. name: endDate
  16399. type: string
  16400. produces:
  16401. - application/json
  16402. responses:
  16403. "200":
  16404. description: OK
  16405. schema:
  16406. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  16407. "500":
  16408. description: Internal Server Error
  16409. schema:
  16410. $ref: '#/definitions/app.Response'
  16411. security:
  16412. - ApiKeyAuth: []
  16413. summary: 资金流水查询(历史)
  16414. tags:
  16415. - 资金账户
  16416. /Trade/QueryRecieptOrder:
  16417. get:
  16418. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  16419. parameters:
  16420. - description: 页码
  16421. in: query
  16422. name: page
  16423. type: integer
  16424. - description: 每页条数
  16425. in: query
  16426. name: pagesize
  16427. type: integer
  16428. - description: 商品ID
  16429. in: query
  16430. name: goodsID
  16431. required: true
  16432. type: integer
  16433. - description: 所属账户名称
  16434. in: query
  16435. name: accountName
  16436. type: string
  16437. - description: 市场ID
  16438. in: query
  16439. name: marketID
  16440. type: integer
  16441. - description: 方向 - 0:买 1:卖
  16442. in: query
  16443. name: buyorsell
  16444. required: true
  16445. type: integer
  16446. produces:
  16447. - application/json
  16448. responses:
  16449. "200":
  16450. description: OK
  16451. schema:
  16452. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  16453. "500":
  16454. description: Internal Server Error
  16455. schema:
  16456. $ref: '#/definitions/app.Response'
  16457. security:
  16458. - ApiKeyAuth: []
  16459. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  16460. tags:
  16461. - 通用交易
  16462. /User/AddMessageBoard:
  16463. post:
  16464. parameters:
  16465. - description: 用户ID
  16466. in: query
  16467. name: userID
  16468. required: true
  16469. type: integer
  16470. - description: 留言信息
  16471. in: query
  16472. name: message
  16473. required: true
  16474. type: string
  16475. - description: 联系电话
  16476. in: query
  16477. name: contactNum
  16478. required: true
  16479. type: string
  16480. produces:
  16481. - application/json
  16482. responses:
  16483. "200":
  16484. description: OK
  16485. schema:
  16486. $ref: '#/definitions/app.Response'
  16487. "500":
  16488. description: Internal Server Error
  16489. schema:
  16490. $ref: '#/definitions/app.Response'
  16491. security:
  16492. - ApiKeyAuth: []
  16493. summary: 添加用户留言板信息
  16494. tags:
  16495. - 用户信息
  16496. /User/AddUserFavoriteGoods:
  16497. post:
  16498. parameters:
  16499. - description: 用户ID
  16500. in: query
  16501. name: userID
  16502. required: true
  16503. type: integer
  16504. - description: 商品ID
  16505. in: query
  16506. name: goodsID
  16507. required: true
  16508. type: integer
  16509. produces:
  16510. - application/json
  16511. responses:
  16512. "200":
  16513. description: OK
  16514. schema:
  16515. $ref: '#/definitions/app.Response'
  16516. "500":
  16517. description: Internal Server Error
  16518. schema:
  16519. $ref: '#/definitions/app.Response'
  16520. security:
  16521. - ApiKeyAuth: []
  16522. summary: 添加用户商品收藏信息
  16523. tags:
  16524. - 用户信息
  16525. /User/GetLoginID:
  16526. get:
  16527. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  16528. parameters:
  16529. - description: 登录代码
  16530. in: query
  16531. name: username
  16532. required: true
  16533. type: string
  16534. produces:
  16535. - application/json
  16536. responses:
  16537. "200":
  16538. description: OK
  16539. schema:
  16540. $ref: '#/definitions/app.Response'
  16541. "500":
  16542. description: Internal Server Error
  16543. schema:
  16544. $ref: '#/definitions/app.Response'
  16545. summary: 获取登录ID
  16546. tags:
  16547. - 用户信息
  16548. /User/GetUserAccount:
  16549. get:
  16550. parameters:
  16551. - description: 用户ID
  16552. in: query
  16553. name: userID
  16554. required: true
  16555. type: integer
  16556. produces:
  16557. - application/json
  16558. responses:
  16559. "200":
  16560. description: OK
  16561. schema:
  16562. $ref: '#/definitions/models.Useraccount'
  16563. "500":
  16564. description: Internal Server Error
  16565. schema:
  16566. $ref: '#/definitions/app.Response'
  16567. security:
  16568. - ApiKeyAuth: []
  16569. summary: 获取用户账号信息
  16570. tags:
  16571. - 用户信息
  16572. /User/GetUserAuthStatus:
  16573. get:
  16574. parameters:
  16575. - description: 用户ID
  16576. in: query
  16577. name: userID
  16578. required: true
  16579. type: integer
  16580. produces:
  16581. - application/json
  16582. responses:
  16583. "200":
  16584. description: OK
  16585. schema:
  16586. $ref: '#/definitions/app.Response'
  16587. "500":
  16588. description: Internal Server Error
  16589. schema:
  16590. $ref: '#/definitions/app.Response'
  16591. security:
  16592. - ApiKeyAuth: []
  16593. summary: 获取用户实名认证状态
  16594. tags:
  16595. - 用户信息
  16596. /User/LoginQuery:
  16597. get:
  16598. parameters:
  16599. - description: 登录账号
  16600. in: query
  16601. name: loginID
  16602. required: true
  16603. type: integer
  16604. produces:
  16605. - application/json
  16606. responses:
  16607. "200":
  16608. description: OK
  16609. schema:
  16610. $ref: '#/definitions/user.LoginQueryRsp'
  16611. "500":
  16612. description: Internal Server Error
  16613. schema:
  16614. $ref: '#/definitions/app.Response'
  16615. security:
  16616. - ApiKeyAuth: []
  16617. summary: 账户登录后信息查询
  16618. tags:
  16619. - 用户信息
  16620. /User/QueryMessageBoard:
  16621. get:
  16622. parameters:
  16623. - description: 用户ID
  16624. in: query
  16625. name: userID
  16626. required: true
  16627. type: integer
  16628. produces:
  16629. - application/json
  16630. responses:
  16631. "200":
  16632. description: OK
  16633. schema:
  16634. $ref: '#/definitions/models.Messageboard'
  16635. "500":
  16636. description: Internal Server Error
  16637. schema:
  16638. $ref: '#/definitions/app.Response'
  16639. security:
  16640. - ApiKeyAuth: []
  16641. summary: 获取用户留言板信息
  16642. tags:
  16643. - 用户信息
  16644. /User/QueryUserFavoriteGoodses:
  16645. get:
  16646. parameters:
  16647. - description: 用户ID
  16648. in: query
  16649. name: userID
  16650. required: true
  16651. type: integer
  16652. produces:
  16653. - application/json
  16654. responses:
  16655. "200":
  16656. description: OK
  16657. schema:
  16658. $ref: '#/definitions/models.Userfavoritegoods'
  16659. "500":
  16660. description: Internal Server Error
  16661. schema:
  16662. $ref: '#/definitions/app.Response'
  16663. security:
  16664. - ApiKeyAuth: []
  16665. summary: 获取用户商品收藏信息
  16666. tags:
  16667. - 用户信息
  16668. /User/QueryUserInfo:
  16669. get:
  16670. parameters:
  16671. - description: 用户ID
  16672. in: query
  16673. name: userID
  16674. required: true
  16675. type: integer
  16676. - description: 是否解密
  16677. in: query
  16678. name: isDecrypt
  16679. type: boolean
  16680. produces:
  16681. - application/json
  16682. responses:
  16683. "200":
  16684. description: OK
  16685. schema:
  16686. $ref: '#/definitions/models.Userinfo'
  16687. "500":
  16688. description: Internal Server Error
  16689. schema:
  16690. $ref: '#/definitions/app.Response'
  16691. security:
  16692. - ApiKeyAuth: []
  16693. summary: 获取用户信息
  16694. tags:
  16695. - 用户信息
  16696. /User/QueryUserReferNum:
  16697. get:
  16698. parameters:
  16699. - description: 用户ID
  16700. in: query
  16701. name: userID
  16702. required: true
  16703. type: integer
  16704. produces:
  16705. - application/json
  16706. responses:
  16707. "200":
  16708. description: OK
  16709. schema:
  16710. $ref: '#/definitions/app.Response'
  16711. "500":
  16712. description: Internal Server Error
  16713. schema:
  16714. $ref: '#/definitions/app.Response'
  16715. summary: 获取用户邀请码
  16716. tags:
  16717. - 用户信息
  16718. /User/RemoveUserFavoriteGoods:
  16719. post:
  16720. parameters:
  16721. - description: 用户ID
  16722. in: query
  16723. name: userID
  16724. required: true
  16725. type: integer
  16726. - description: 商品ID
  16727. in: query
  16728. name: goodsID
  16729. required: true
  16730. type: integer
  16731. produces:
  16732. - application/json
  16733. responses:
  16734. "200":
  16735. description: OK
  16736. schema:
  16737. $ref: '#/definitions/app.Response'
  16738. "500":
  16739. description: Internal Server Error
  16740. schema:
  16741. $ref: '#/definitions/app.Response'
  16742. security:
  16743. - ApiKeyAuth: []
  16744. summary: 移除用户商品收藏信息
  16745. tags:
  16746. - 用户信息
  16747. /User/UpdateUserAccountStatus:
  16748. post:
  16749. parameters:
  16750. - description: 用户ID
  16751. in: query
  16752. name: userID
  16753. required: true
  16754. type: integer
  16755. - description: 账户状态 - 4:正常 6:注销(停用)
  16756. in: query
  16757. name: accountStatus
  16758. required: true
  16759. type: integer
  16760. produces:
  16761. - application/json
  16762. responses:
  16763. "200":
  16764. description: OK
  16765. schema:
  16766. $ref: '#/definitions/app.Response'
  16767. "500":
  16768. description: Internal Server Error
  16769. schema:
  16770. $ref: '#/definitions/app.Response'
  16771. security:
  16772. - ApiKeyAuth: []
  16773. summary: 更新用户状态
  16774. tags:
  16775. - 用户信息
  16776. /WRTrade/GetAllDeliveryGoods:
  16777. get:
  16778. produces:
  16779. - application/json
  16780. - application/json
  16781. responses:
  16782. "200":
  16783. description: OK
  16784. schema:
  16785. $ref: '#/definitions/app.Response'
  16786. "500":
  16787. description: Internal Server Error
  16788. schema:
  16789. $ref: '#/definitions/app.Response'
  16790. security:
  16791. - ApiKeyAuth: []
  16792. - ApiKeyAuth: []
  16793. summary: 获取带仓单分类的种类信息
  16794. tags:
  16795. - 仓单贸易
  16796. - 仓单贸易
  16797. securityDefinitions:
  16798. ApiKeyAuth:
  16799. in: header
  16800. name: Authorization
  16801. type: apiKey
  16802. swagger: "2.0"