swagger.yaml 530 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245
  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. fromuserid:
  2941. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  2942. type: integer
  2943. isreturnscore:
  2944. description: 是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还
  2945. type: integer
  2946. modifierid:
  2947. description: 修改人ID
  2948. type: integer
  2949. modifytime:
  2950. description: 修改时间
  2951. type: string
  2952. orgtype:
  2953. description: 组织机构类型 1:机构\分支节点 2:交易员\叶子节点 3:部门\分支节点
  2954. type: integer
  2955. outuserid:
  2956. description: 外部账户[场外期权做市商]
  2957. type: string
  2958. parentuserid:
  2959. description: 上级组织机构(组织机构)
  2960. type: integer
  2961. roletype:
  2962. description: 角色类型 - 1:交易所 2:运营机构 3:营销中心 4:仓库机构 5:三方服务机构 6:自营会员 7:经纪会员 8:做市会员
  2963. 9:产业会员 10:金融机构 11:商城店铺 12:子机构 13:报价商 14:积分服务商 15:供货商 16:圈内会员 17:物流机构 18:报价配置机构
  2964. 19:场外期权做市商 20:组织机构 21:顶级机构 22:业务员 23:跟单员 24:交易员 25:客户 98:代理 99:门店
  2965. type: integer
  2966. rootuserid:
  2967. description: 顶级组织机构用户ID(组织机构)
  2968. type: integer
  2969. shoppassword:
  2970. description: 商城店铺登陆密码(商城店铺角色使用)
  2971. type: string
  2972. sublevelpath:
  2973. description: 组织机构层级路径(逗号分隔,首尾加逗号)
  2974. type: string
  2975. suborgtype:
  2976. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  2977. type: integer
  2978. tradeaccountid:
  2979. description: 默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount
  2980. type: integer
  2981. transurl:
  2982. description: 物流地址(物流机构)
  2983. type: string
  2984. userid:
  2985. description: 机构用户ID其他做市关系,都设置为 1
  2986. type: integer
  2987. required:
  2988. - roletype
  2989. - userid
  2990. type: object
  2991. models.Clientfixedadconfig:
  2992. properties:
  2993. adsort:
  2994. description: 排序
  2995. type: integer
  2996. adtype:
  2997. description: 广告位类型 - 1:新品抢购(HSBY)
  2998. type: integer
  2999. areauserid:
  3000. description: 所属机构ID
  3001. type: integer
  3002. createdate:
  3003. description: 创建时间
  3004. type: string
  3005. creatorid:
  3006. description: 创建人
  3007. type: integer
  3008. imagepath:
  3009. description: 图片
  3010. type: string
  3011. isshow:
  3012. description: 是否展示 - 0:不展示 1:展示
  3013. type: integer
  3014. modifierid:
  3015. description: 操作人
  3016. type: integer
  3017. recsize:
  3018. description: 推荐尺寸
  3019. type: string
  3020. title:
  3021. description: 标题
  3022. type: string
  3023. updatedate:
  3024. description: 更新时间
  3025. type: string
  3026. urlcontent:
  3027. description: 链接(地址或商品ID)
  3028. type: string
  3029. urltype:
  3030. description: 链接类型 - 1:直接地址 2:商品ID
  3031. type: integer
  3032. required:
  3033. - adsort
  3034. - adtype
  3035. type: object
  3036. models.Division:
  3037. properties:
  3038. autoid:
  3039. description: 自增ID
  3040. type: integer
  3041. divisioncode:
  3042. description: 行政代码
  3043. type: string
  3044. divisionlevel:
  3045. description: 行政级别
  3046. type: string
  3047. divisionname:
  3048. description: 行政名称
  3049. type: string
  3050. modifierid:
  3051. description: 修改人
  3052. type: integer
  3053. modifytime:
  3054. description: 修改时间
  3055. type: string
  3056. parentcode:
  3057. description: 上级行政代码
  3058. type: string
  3059. pathname:
  3060. description: 路径名称
  3061. type: string
  3062. postcode:
  3063. description: 邮政编码
  3064. type: string
  3065. separablename:
  3066. description: 可拆分的全称
  3067. type: string
  3068. shortcode:
  3069. description: 地区简码
  3070. type: string
  3071. required:
  3072. - autoid
  3073. - divisioncode
  3074. type: object
  3075. models.Enumdicitem:
  3076. properties:
  3077. autoid:
  3078. description: 自增ID
  3079. type: integer
  3080. bankmappedvalue:
  3081. description: 银行服务对应值
  3082. type: string
  3083. enumdiccode:
  3084. description: 所属枚举代码
  3085. type: string
  3086. enumdicid:
  3087. description: 所属枚举ID
  3088. type: integer
  3089. enumdicname:
  3090. description: 枚举项名称
  3091. type: string
  3092. enumitemname:
  3093. description: 枚举项值
  3094. type: integer
  3095. enumitemstatus:
  3096. description: 枚举项状态 - 1.启用 2.不启用
  3097. type: integer
  3098. enumitemvalue:
  3099. description: 通用值 - [币种通用简写]
  3100. type: string
  3101. param1:
  3102. description: 参数1[币种:币种小数位]
  3103. type: string
  3104. param2:
  3105. description: 参数1[币种:币种显示单位]
  3106. type: string
  3107. remark:
  3108. description: 备注
  3109. type: string
  3110. required:
  3111. - autoid
  3112. - enumdiccode
  3113. - enumdicid
  3114. - enumitemname
  3115. type: object
  3116. models.Ermcp3AreaSpot:
  3117. properties:
  3118. areauserid:
  3119. description: 所属机构
  3120. type: integer
  3121. decreaseqty:
  3122. description: 减少数量=-(销售已定价数量+采购计划数量)
  3123. type: number
  3124. deliverygoodscode:
  3125. description: 现货品种代码
  3126. type: string
  3127. deliverygoodsid:
  3128. description: 现货品种id
  3129. type: integer
  3130. deliverygoodsname:
  3131. description: 现货品种名称
  3132. type: string
  3133. enumdicname:
  3134. description: 单位名称
  3135. type: string
  3136. goodsunitid:
  3137. description: 现货品种单位id
  3138. type: integer
  3139. increaseqty:
  3140. description: 增加数量=销售计划数量+采购已定价数量
  3141. type: number
  3142. oritoalspotqty:
  3143. description: 昨日数量
  3144. type: number
  3145. totalspotqty:
  3146. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  3147. type: number
  3148. updatetime:
  3149. description: 更新时间
  3150. type: string
  3151. type: object
  3152. models.Ermcp3AreaSpotDetail:
  3153. properties:
  3154. contracttype:
  3155. description: 合同类型 1-采购 -1-销售
  3156. type: integer
  3157. createtime:
  3158. description: 创建时间
  3159. type: string
  3160. deliverygoodscode:
  3161. description: 现货品种代码
  3162. type: string
  3163. deliverygoodsid:
  3164. description: 现货品种id
  3165. type: integer
  3166. deliverygoodsname:
  3167. description: 现货品种名称
  3168. type: string
  3169. enumdicname:
  3170. description: 现货商品单位名称
  3171. type: string
  3172. logtype:
  3173. description: 记录类型 1-套保 2-现货合同
  3174. type: integer
  3175. qty:
  3176. description: 数量
  3177. type: number
  3178. recordname:
  3179. description: 类型名称
  3180. type: string
  3181. relatedid:
  3182. description: 套保计划ID/现货合同ID
  3183. type: string
  3184. relatedno:
  3185. description: 编号
  3186. type: string
  3187. strtime:
  3188. description: 时间
  3189. type: string
  3190. type: object
  3191. models.Ermcp3AreaSpotPLReport:
  3192. properties:
  3193. accountid:
  3194. description: 期货账户ID (作废, 默认为0)
  3195. type: integer
  3196. accountname:
  3197. description: 机构名称
  3198. type: string
  3199. actualpl:
  3200. description: 现货损益
  3201. type: number
  3202. areauserid:
  3203. description: 所属机构\交易用户ID
  3204. type: integer
  3205. begindate:
  3206. description: 开始交易日
  3207. type: string
  3208. biztype:
  3209. description: 业务类型 - 1:套保 2:套利
  3210. type: integer
  3211. brandname:
  3212. description: 品牌名称
  3213. type: string
  3214. curamount:
  3215. description: 期末额
  3216. type: number
  3217. curaverageprice:
  3218. description: 期末均价
  3219. type: number
  3220. curbuyamount:
  3221. description: 期末采购总额
  3222. type: number
  3223. curbuyqty:
  3224. description: 期末采购总量
  3225. type: number
  3226. curmarketvalue:
  3227. description: 参考市值(期末市值)
  3228. type: number
  3229. curqty:
  3230. description: 期末量
  3231. type: number
  3232. currencyid:
  3233. description: 结算币种ID【原值】
  3234. type: integer
  3235. currencyname:
  3236. description: 币种名称
  3237. type: string
  3238. cursellamount:
  3239. description: 期末销售总额
  3240. type: number
  3241. cursellqty:
  3242. description: 期末销售总量
  3243. type: number
  3244. curspotprice:
  3245. description: 参考市价(最新价)
  3246. type: number
  3247. cycletime:
  3248. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  3249. type: string
  3250. cycletype:
  3251. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  3252. type: integer
  3253. deliverygoodscode:
  3254. description: 现货商品代码
  3255. type: string
  3256. deliverygoodsid:
  3257. description: 现货品种ID
  3258. type: integer
  3259. deliverygoodsname:
  3260. description: 现货商品名称
  3261. type: string
  3262. enddate:
  3263. description: 结束交易日
  3264. type: string
  3265. enumdicname:
  3266. description: 现货商品单位名称
  3267. type: string
  3268. floatpl:
  3269. description: 浮动损益
  3270. type: number
  3271. goodsunitid:
  3272. description: 现货商品单位id
  3273. type: integer
  3274. oriamount:
  3275. description: 期初额
  3276. type: number
  3277. oriaverageprice:
  3278. description: 期初均价
  3279. type: number
  3280. oribuyamount:
  3281. description: 期初采购总额
  3282. type: number
  3283. oribuyqty:
  3284. description: 期初采购总量
  3285. type: number
  3286. oriqty:
  3287. description: 期初量
  3288. type: number
  3289. orisellamount:
  3290. description: 期初销售总额
  3291. type: number
  3292. orisellqty:
  3293. description: 期初销售总量
  3294. type: number
  3295. reckondate:
  3296. description: 日照时期(yyyyMMdd)
  3297. type: string
  3298. spotgoodsbrandid:
  3299. description: 现货品牌ID
  3300. type: integer
  3301. todaybuyamount:
  3302. description: 今日采购额(今采购额)
  3303. type: number
  3304. todaybuyaverageprice:
  3305. description: 今日采购均价
  3306. type: number
  3307. todaybuyqty:
  3308. description: 今日采购量(今采购量)
  3309. type: number
  3310. todayinqty:
  3311. description: 今日入库量(今入库量)
  3312. type: number
  3313. todayoutqty:
  3314. description: 今日出库量(今出库量)
  3315. type: number
  3316. todaysellamount:
  3317. description: 今日销售额(今销售额)
  3318. type: number
  3319. todaysellaverageprice:
  3320. description: 今日销售均价
  3321. type: number
  3322. todaysellqty:
  3323. description: 今日销售量(今销售量)
  3324. type: number
  3325. unitid:
  3326. description: 品类单位id
  3327. type: integer
  3328. unitidname:
  3329. description: 品类单位名称
  3330. type: string
  3331. updatetime:
  3332. description: 更新时间
  3333. type: string
  3334. wrfactortypeid:
  3335. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  3336. type: integer
  3337. wrstandardcode:
  3338. description: 品类代码
  3339. type: string
  3340. wrstandardid:
  3341. description: 现货品类ID
  3342. type: integer
  3343. wrstandardname:
  3344. description: 品类名称
  3345. type: string
  3346. type: object
  3347. models.Ermcp3AreaStock:
  3348. properties:
  3349. brandname:
  3350. description: 品牌名称
  3351. type: string
  3352. curstock:
  3353. description: 期末库存量(今日量)
  3354. type: number
  3355. deliverygoodscode:
  3356. description: 现货品种代码
  3357. type: string
  3358. deliverygoodsid:
  3359. description: 现货品种id
  3360. type: integer
  3361. deliverygoodsname:
  3362. description: 现货品种名称
  3363. type: string
  3364. enumdicname:
  3365. description: 单位名称
  3366. type: string
  3367. goodsunitid:
  3368. description: 现货商品单位id
  3369. type: integer
  3370. oristock:
  3371. description: 期初库存量(昨日量)
  3372. type: number
  3373. spotgoodsbrandid:
  3374. description: 现货品牌ID
  3375. type: integer
  3376. todaybuyinqty:
  3377. description: 今日采购入库量
  3378. type: number
  3379. todayproduceinqty:
  3380. description: 今日生产入库量
  3381. type: number
  3382. todayproduceoutqty:
  3383. description: 今日生产出库量
  3384. type: number
  3385. todayselloutqty:
  3386. description: 今日销售出库量
  3387. type: number
  3388. unitid:
  3389. description: 单位id
  3390. type: integer
  3391. updatetime:
  3392. description: 更新时间
  3393. type: string
  3394. userid:
  3395. description: 机构ID
  3396. type: integer
  3397. username:
  3398. description: 机构名称
  3399. type: string
  3400. warehousecode:
  3401. description: 仓库代码
  3402. type: string
  3403. warehouseinfoid:
  3404. description: 仓库ID
  3405. type: string
  3406. warehousename:
  3407. description: 仓库名称
  3408. type: string
  3409. warehousetype:
  3410. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3411. type: integer
  3412. wrstandardcode:
  3413. description: 品类代码
  3414. type: string
  3415. wrstandardid:
  3416. description: 品类ID
  3417. type: string
  3418. wrstandardname:
  3419. description: 品类名称
  3420. type: string
  3421. required:
  3422. - userid
  3423. type: object
  3424. models.Ermcp3AreaStockApply:
  3425. properties:
  3426. applyid:
  3427. description: 申请人
  3428. type: integer
  3429. applyname:
  3430. description: 申请人名称
  3431. type: string
  3432. applyremark:
  3433. description: 申请备注
  3434. type: string
  3435. applysrc:
  3436. description: 申请来源 - 1:管理端 2:终端
  3437. type: integer
  3438. applystatus:
  3439. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  3440. type: integer
  3441. applytime:
  3442. description: 申请时间
  3443. type: string
  3444. auditid:
  3445. description: 审核人
  3446. type: integer
  3447. auditname:
  3448. description: 审核人名称
  3449. type: string
  3450. auditremark:
  3451. description: 审核备注
  3452. type: string
  3453. auditsrc:
  3454. description: 审核来源 - 1:管理端 2:终端
  3455. type: integer
  3456. audittime:
  3457. description: 审核时间
  3458. type: string
  3459. audittradedate:
  3460. description: 审核交易日(yyyyMMdd)
  3461. type: string
  3462. brandname:
  3463. description: 品牌名称
  3464. type: string
  3465. buynickname:
  3466. description: 采购方昵称
  3467. type: string
  3468. buyuserid:
  3469. description: 采购方userid
  3470. type: integer
  3471. buyusername:
  3472. description: 采购方名称
  3473. type: string
  3474. contractno:
  3475. description: 合同编号
  3476. type: string
  3477. contractqty:
  3478. description: 合同量
  3479. type: number
  3480. contracttype:
  3481. description: 现货合同类型 - 1:采购 -1:销售
  3482. type: integer
  3483. deliverygoodscode:
  3484. description: 现货品种代码
  3485. type: string
  3486. deliverygoodsid:
  3487. description: 现货品种id
  3488. type: integer
  3489. deliverygoodsname:
  3490. description: 现货品种名称
  3491. type: string
  3492. detailjson:
  3493. description: 明细数据
  3494. type: string
  3495. enumdicname:
  3496. description: 现货商品单位名称
  3497. type: string
  3498. inoutapplyid:
  3499. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  3500. type: string
  3501. inouttype:
  3502. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  3503. type: integer
  3504. pricetype:
  3505. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  3506. type: integer
  3507. qty:
  3508. description: 数量
  3509. type: number
  3510. sellnickname:
  3511. description: 销售方昵称
  3512. type: string
  3513. selluserid:
  3514. description: 销售方userid
  3515. type: integer
  3516. sellusername:
  3517. description: 销售方名称
  3518. type: string
  3519. spotcontractid:
  3520. description: 关联现货合同ID
  3521. type: string
  3522. spotgoodsbrandid:
  3523. description: 现货品牌ID
  3524. type: integer
  3525. unitid:
  3526. description: 单位id
  3527. type: integer
  3528. userid:
  3529. description: 机构ID
  3530. type: integer
  3531. warehousecode:
  3532. description: 仓库代码
  3533. type: string
  3534. warehouseinfoid:
  3535. description: 现货仓库ID
  3536. type: string
  3537. warehousename:
  3538. description: 仓库名称
  3539. type: string
  3540. warehousetype:
  3541. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3542. type: integer
  3543. wrstandardcode:
  3544. description: 品类代码
  3545. type: string
  3546. wrstandardid:
  3547. description: 品类ID
  3548. type: integer
  3549. wrstandardname:
  3550. description: 品类名称
  3551. type: string
  3552. type: object
  3553. models.Ermcp3AreaStockApplySum:
  3554. properties:
  3555. brandname:
  3556. description: 品牌名称
  3557. type: string
  3558. inouttype:
  3559. description: 出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  3560. type: integer
  3561. spotcontractid:
  3562. description: 关联现货合同ID
  3563. type: string
  3564. spotgoodsbrandid:
  3565. description: 品牌id
  3566. type: integer
  3567. totalqty:
  3568. description: 总数量
  3569. type: number
  3570. wrstandardid:
  3571. description: 品类id
  3572. type: integer
  3573. wrstandardname:
  3574. description: 品类名称
  3575. type: string
  3576. type: object
  3577. models.Ermcp3AreaStockReportEx:
  3578. properties:
  3579. begindate:
  3580. description: 开始交易日
  3581. type: string
  3582. brandname:
  3583. description: 品牌名称
  3584. type: string
  3585. curstock:
  3586. description: 期末库存量
  3587. type: number
  3588. cycletime:
  3589. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  3590. type: string
  3591. cycletype:
  3592. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  3593. type: integer
  3594. deliverygoodscode:
  3595. description: 现货品种代码
  3596. type: string
  3597. deliverygoodsid:
  3598. description: 现货品种id
  3599. type: integer
  3600. deliverygoodsname:
  3601. description: 现货品种名称
  3602. type: string
  3603. diffqty:
  3604. description: 库存变化量 = 期末 - 期初
  3605. type: number
  3606. enddate:
  3607. description: 结束交易日
  3608. type: string
  3609. enumdicname:
  3610. description: 单位名称
  3611. type: string
  3612. goodsunitid:
  3613. description: 现货单位id
  3614. type: integer
  3615. oristock:
  3616. description: 期初库存量
  3617. type: number
  3618. reckondate:
  3619. description: 日照时期(yyyyMMdd)
  3620. type: string
  3621. spotgoodsbrandid:
  3622. description: 现货品牌ID
  3623. type: integer
  3624. todaybuyinqty:
  3625. description: 今采购入库量
  3626. type: number
  3627. todayproduceinqty:
  3628. description: 今内部入库量
  3629. type: number
  3630. todayproduceoutqty:
  3631. description: 今内部出库量
  3632. type: number
  3633. todayselloutqty:
  3634. description: 今销售出库量
  3635. type: number
  3636. unbuyinqty:
  3637. description: 采购未入库量(数据库未找到相关字段?)
  3638. type: number
  3639. unitid:
  3640. description: 品类单位id
  3641. type: integer
  3642. unselloutqty:
  3643. description: 销售未出库量(数据库未找到相关字段?)
  3644. type: number
  3645. updatetime:
  3646. description: 更新时间
  3647. type: string
  3648. userid:
  3649. description: 机构ID
  3650. type: integer
  3651. username:
  3652. description: 机构名称
  3653. type: string
  3654. warehousecode:
  3655. description: 仓库代码
  3656. type: string
  3657. warehouseinfoid:
  3658. description: 仓库ID
  3659. type: string
  3660. warehousename:
  3661. description: 仓库名称
  3662. type: string
  3663. warehousetype:
  3664. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3665. type: integer
  3666. wrstandardcode:
  3667. description: 品类代码
  3668. type: string
  3669. wrstandardid:
  3670. description: 品类ID
  3671. type: integer
  3672. wrstandardname:
  3673. description: 品类名称
  3674. type: string
  3675. type: object
  3676. models.Ermcp3ArealSumPL:
  3677. properties:
  3678. accountname:
  3679. description: 机构名称
  3680. type: string
  3681. areauserid:
  3682. description: 所属机构\交易用户ID
  3683. type: integer
  3684. begindate:
  3685. description: 开始交易日
  3686. type: string
  3687. currencyid:
  3688. description: 结算币种ID
  3689. type: integer
  3690. currencyname:
  3691. description: 币种名称
  3692. type: string
  3693. cycletime:
  3694. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  3695. type: string
  3696. cycletype:
  3697. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  3698. type: integer
  3699. enddate:
  3700. description: 结束交易日
  3701. type: string
  3702. enumdicname:
  3703. description: 单位名称(套保品种)
  3704. type: string
  3705. futureactualpl:
  3706. description: 期货损益
  3707. type: number
  3708. futurefloatpl:
  3709. description: 期货浮动损益
  3710. type: number
  3711. goodsunitid:
  3712. description: 套保品种单位id
  3713. type: integer
  3714. middlegoodscode:
  3715. description: 套保品种代码
  3716. type: string
  3717. middlegoodsid:
  3718. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  3719. type: integer
  3720. middlegoodsname:
  3721. description: 套保品种名称
  3722. type: string
  3723. reckondate:
  3724. description: 日照时期(yyyyMMdd)
  3725. type: string
  3726. spotactualpl:
  3727. description: 现货损益
  3728. type: number
  3729. spotfloatpl:
  3730. description: 现货浮动损益
  3731. type: number
  3732. sumactualpl:
  3733. description: 实际损益 = (ActualPL + FutureActualPL)
  3734. type: number
  3735. sumpl:
  3736. description: 汇总损益
  3737. type: number
  3738. updatetime:
  3739. description: 更新时间
  3740. type: string
  3741. type: object
  3742. models.Ermcp3Brand:
  3743. properties:
  3744. areauserid:
  3745. description: 用户id
  3746. type: integer
  3747. brandid:
  3748. description: 品牌id
  3749. type: integer
  3750. brandname:
  3751. description: 品牌名称
  3752. type: string
  3753. deliverygoodsid:
  3754. description: 品种ID
  3755. type: integer
  3756. type: object
  3757. models.Ermcp3Contract:
  3758. properties:
  3759. accountid:
  3760. description: 期货账户id
  3761. type: string
  3762. amount:
  3763. description: 金额 [1:一口价、3:暂定价]
  3764. type: number
  3765. attachment:
  3766. description: 附件
  3767. type: string
  3768. auditremark:
  3769. description: 审核意见
  3770. type: string
  3771. audittime:
  3772. description: 审核时间
  3773. type: string
  3774. biztype:
  3775. description: 业务类型 1-套保 2-套利
  3776. type: integer
  3777. brandname:
  3778. description: 品牌名称
  3779. type: string
  3780. buynickname:
  3781. description: 销售方昵称
  3782. type: string
  3783. buyuserid:
  3784. description: 采购方ID
  3785. type: integer
  3786. buyusername:
  3787. description: 采购方名称
  3788. type: string
  3789. contracctstatus:
  3790. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  3791. type: integer
  3792. contractmargin:
  3793. description: 合同保证金
  3794. type: number
  3795. contractno:
  3796. description: 现货合同编号
  3797. type: string
  3798. contracttype:
  3799. description: 现货合同类型 - 1:采购 -1:销售
  3800. type: integer
  3801. convertfactor:
  3802. description: 标仓系数(品类)
  3803. type: number
  3804. createtime:
  3805. description: 创建时间
  3806. type: string
  3807. currencyid:
  3808. description: 币种id
  3809. type: integer
  3810. currencyname:
  3811. description: 币种名称
  3812. type: string
  3813. deliveryenddate:
  3814. description: 交收期(结束)
  3815. type: string
  3816. deliverygoodscode:
  3817. description: 现货品种代码
  3818. type: string
  3819. deliverygoodsid:
  3820. description: 现货品种ID
  3821. type: integer
  3822. deliverygoodsname:
  3823. description: 现货品种名称
  3824. type: string
  3825. deliverystartdate:
  3826. description: 交收期(开始)
  3827. type: string
  3828. enddate:
  3829. description: 点价结束日期 [2:点价 3:暂定价]
  3830. type: string
  3831. enumdicname:
  3832. description: 单位名称
  3833. type: string
  3834. goodscode:
  3835. description: 点价合约代码
  3836. type: string
  3837. goodsid:
  3838. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  3839. type: integer
  3840. goodsname:
  3841. description: 点价商品名称
  3842. type: string
  3843. margin:
  3844. description: 当前保证金
  3845. type: number
  3846. meruserid:
  3847. description: 跟单员id
  3848. type: integer
  3849. meruserlogincode:
  3850. description: 跟单员登录代码
  3851. type: string
  3852. price:
  3853. description: 价格\暂定价 [1:一口价、3:暂定价]
  3854. type: number
  3855. pricemove:
  3856. description: 升贴水 [2:点价 3:暂定价]
  3857. type: number
  3858. pricetype:
  3859. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  3860. type: integer
  3861. producttype:
  3862. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  3863. type: integer
  3864. qty:
  3865. description: 数量
  3866. type: number
  3867. remark:
  3868. description: 备注
  3869. type: string
  3870. saleuserid:
  3871. description: 业务员id
  3872. type: integer
  3873. saleuserlogincode:
  3874. description: 业务员登录代码
  3875. type: string
  3876. sellnickname:
  3877. description: 采购方昵称
  3878. type: string
  3879. selluserid:
  3880. description: 销售方ID
  3881. type: integer
  3882. sellusername:
  3883. description: 销售方名称
  3884. type: string
  3885. spotcontractid:
  3886. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  3887. type: string
  3888. spotgoodsbrandid:
  3889. description: 现货品牌ID(DGFactoryItem表的ID)
  3890. type: integer
  3891. spotgoodsdesc:
  3892. description: 商品型号
  3893. type: string
  3894. startdate:
  3895. description: 点价开始日期 [2:点价 3:暂定价]
  3896. type: string
  3897. tradeuserid:
  3898. description: 交易员id
  3899. type: integer
  3900. tradeuserlogincode:
  3901. description: 交易员登录代码
  3902. type: string
  3903. tradeusername:
  3904. description: 交易员名称
  3905. type: string
  3906. unitid:
  3907. description: 单位id(取品类上的单位id)
  3908. type: integer
  3909. updatetime:
  3910. description: 更新时间
  3911. type: string
  3912. userid:
  3913. description: 所属机构ID
  3914. type: integer
  3915. wrstandardcode:
  3916. description: 品类代码
  3917. type: string
  3918. wrstandardid:
  3919. description: 品类ID
  3920. type: integer
  3921. wrstandardname:
  3922. description: 品类名称
  3923. type: string
  3924. type: object
  3925. models.Ermcp3ExposureContractDetail:
  3926. properties:
  3927. biztype:
  3928. description: 业务类型 1-套保 2-套利
  3929. type: integer
  3930. brandname:
  3931. description: 品牌名称
  3932. type: string
  3933. buyuserid:
  3934. description: 采购方id
  3935. type: integer
  3936. buyusername:
  3937. description: 采购方名称
  3938. type: string
  3939. contractno:
  3940. description: 合同编号
  3941. type: string
  3942. contracttype:
  3943. description: 现货合同类型 - 1:采购 -1:销售
  3944. type: integer
  3945. convertfactor:
  3946. description: 标仓系数
  3947. type: number
  3948. convertratio:
  3949. description: 折算系数(套保品种)
  3950. type: number
  3951. curqty:
  3952. description: 今定价量
  3953. type: number
  3954. deliverygoodscode:
  3955. description: 现货商品代码
  3956. type: string
  3957. deliverygoodsid:
  3958. description: 现货商品id
  3959. type: integer
  3960. deliverygoodsname:
  3961. description: 现货商品名称
  3962. type: string
  3963. diffhedgeqty:
  3964. description: 套保变动量
  3965. type: number
  3966. diffneedhedgeqty:
  3967. description: 应套保变动量
  3968. type: number
  3969. diffqty:
  3970. description: 套保品种今变动量
  3971. type: number
  3972. enumdicname:
  3973. description: 单位名称
  3974. type: string
  3975. middlegoodscode:
  3976. description: 套保品种代码
  3977. type: string
  3978. middlegoodsid:
  3979. description: 套保品种id
  3980. type: integer
  3981. middlegoodsname:
  3982. description: 套保品种名称
  3983. type: string
  3984. needarbitrageratio:
  3985. description: 应套利比例
  3986. type: number
  3987. needhedgeratio:
  3988. description: 应套保比例
  3989. type: number
  3990. pricedqty:
  3991. description: 已定价量
  3992. type: number
  3993. qty:
  3994. description: 合同量
  3995. type: number
  3996. selluserid:
  3997. description: 销售方id
  3998. type: integer
  3999. sellusername:
  4000. description: 销售方名称
  4001. type: string
  4002. spotcontractid:
  4003. description: 合同id
  4004. type: string
  4005. todaypricedqty:
  4006. description: 今定价量
  4007. type: number
  4008. tradedate:
  4009. description: 交易日
  4010. type: string
  4011. unitid:
  4012. description: 品类单位id
  4013. type: integer
  4014. userid:
  4015. description: 机构id
  4016. type: integer
  4017. wrstandardcode:
  4018. description: 品类代码
  4019. type: string
  4020. wrstandardid:
  4021. description: 品类id
  4022. type: integer
  4023. wrstandardname:
  4024. description: 品类名称
  4025. type: string
  4026. type: object
  4027. models.Ermcp3ExposureDetail:
  4028. properties:
  4029. areauserid:
  4030. description: 机构ID
  4031. type: integer
  4032. changeQty:
  4033. description: 套保变动量
  4034. type: number
  4035. contracttype:
  4036. description: 现货合同类型 - 1:采购 -1:销售
  4037. type: integer
  4038. convertfactor:
  4039. description: 标仓系数
  4040. type: number
  4041. convertratio:
  4042. description: 套保系数
  4043. type: number
  4044. createtime:
  4045. description: 时间
  4046. type: string
  4047. deliverygoodscode:
  4048. description: 现货品种代码
  4049. type: string
  4050. deliverygoodsid:
  4051. description: 现货品种id
  4052. type: integer
  4053. deliverygoodsname:
  4054. description: 现货品种名称
  4055. type: string
  4056. enumdicname:
  4057. description: 现货商品单位名称
  4058. type: string
  4059. logtype:
  4060. description: 类型 - 1:套保计划 2:现货合同
  4061. type: integer
  4062. mgunitid:
  4063. description: 套保品种单位id
  4064. type: integer
  4065. mgunitidname:
  4066. description: 套保品种单位名称
  4067. type: string
  4068. middlegoodsId:
  4069. description: 套保商品id
  4070. type: integer
  4071. middlegoodscode:
  4072. description: 套保商品代码
  4073. type: string
  4074. middlegoodsname:
  4075. description: 套保商品名称
  4076. type: string
  4077. qty:
  4078. description: 数量
  4079. type: number
  4080. relateNo:
  4081. description: 现货合同/套保计划编号
  4082. type: string
  4083. type: object
  4084. models.Ermcp3ExposureFutuDetail:
  4085. properties:
  4086. accountid:
  4087. description: 交易账户id
  4088. type: integer
  4089. accountname:
  4090. description: 交易账户
  4091. type: string
  4092. begindate:
  4093. description: 开始交易日
  4094. type: string
  4095. buyorsell:
  4096. description: 方向 0-买 1-卖
  4097. type: integer
  4098. diffmgqty:
  4099. description: 套保品种今变化量
  4100. type: number
  4101. diffneedqty:
  4102. description: 应套保总量变化量
  4103. type: number
  4104. difftradeqty:
  4105. description: 交易品种今变化量
  4106. type: number
  4107. enddate:
  4108. description: 结束交易日
  4109. type: string
  4110. enumdicname:
  4111. description: 单位名称
  4112. type: string
  4113. goodscode:
  4114. description: 商品代码
  4115. type: string
  4116. goodsid:
  4117. description: 商品id
  4118. type: integer
  4119. goodsname:
  4120. description: 商品名称
  4121. type: string
  4122. holdqty:
  4123. description: 期末持仓量
  4124. type: number
  4125. middlegoodscode:
  4126. description: 套保商品代码
  4127. type: string
  4128. middlegoodsid:
  4129. description: 套保商品id
  4130. type: integer
  4131. middlegoodsname:
  4132. description: 套保商品名称
  4133. type: string
  4134. oriholdqty:
  4135. description: 期初持仓量
  4136. type: number
  4137. todaycloseqty:
  4138. description: 今平仓量
  4139. type: number
  4140. todayopenqty:
  4141. description: 今开仓量
  4142. type: number
  4143. tradedate:
  4144. description: 交易日
  4145. type: string
  4146. type: object
  4147. models.Ermcp3ExposureHedgeplanDetail:
  4148. properties:
  4149. biztype:
  4150. description: 业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利
  4151. type: integer
  4152. changqty:
  4153. description: 应套保总量变化量
  4154. type: number
  4155. contracttype:
  4156. description: 计划类型 - 1:采购 -1:销售
  4157. type: integer
  4158. convertratio:
  4159. description: 折算系数(套保品种)
  4160. type: number
  4161. deliverygoodscode:
  4162. description: 现货商品代码
  4163. type: string
  4164. deliverygoodsid:
  4165. description: 现货商品id
  4166. type: integer
  4167. deliverygoodsname:
  4168. description: 现货商吕名称
  4169. type: string
  4170. dgunitid:
  4171. description: 现货商品单位id
  4172. type: integer
  4173. dgunitidname:
  4174. description: 单位名称(现货商品)
  4175. type: string
  4176. diffqty:
  4177. description: 套保品种今变动量
  4178. type: number
  4179. enumdicname:
  4180. description: 单位名称(品类)
  4181. type: string
  4182. hedgeplanid:
  4183. description: 套保计划id
  4184. type: string
  4185. hedgeplanno:
  4186. description: 套保计划名称
  4187. type: string
  4188. hedgeplanstatus:
  4189. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4190. type: integer
  4191. mgunitidname:
  4192. description: 单位名称(套保商品)
  4193. type: string
  4194. middlegoodscode:
  4195. description: 套保品种代码
  4196. type: string
  4197. middlegoodsid:
  4198. description: 套保品种id
  4199. type: integer
  4200. middlegoodsname:
  4201. description: 套保品种名称
  4202. type: string
  4203. needarbitrageratio:
  4204. description: 应套利比例
  4205. type: number
  4206. needhedgeratio:
  4207. description: 应套保比例
  4208. type: number
  4209. pricedqty:
  4210. description: 已定价量
  4211. type: number
  4212. qty:
  4213. description: 合同量
  4214. type: number
  4215. tradedate:
  4216. description: 交易日(登记日)
  4217. type: string
  4218. unitid:
  4219. description: 品类单位id
  4220. type: integer
  4221. userid:
  4222. description: 机构id
  4223. type: integer
  4224. wrstandardcode:
  4225. description: 品类代码
  4226. type: string
  4227. wrstandardid:
  4228. description: 品类id
  4229. type: integer
  4230. wrstandardname:
  4231. description: 品类名称
  4232. type: string
  4233. type: object
  4234. models.Ermcp3ExpourseReport:
  4235. properties:
  4236. accountid:
  4237. description: 期货账户ID (作废, 默认为0)
  4238. type: integer
  4239. accountname:
  4240. description: 机构名称
  4241. type: string
  4242. arbitrageqty:
  4243. description: 套利量
  4244. type: number
  4245. areauserid:
  4246. description: 所属机构\交易用户ID
  4247. type: integer
  4248. begindate:
  4249. description: 开始交易日
  4250. type: string
  4251. buyfutureqty:
  4252. description: 买入期货数量
  4253. type: number
  4254. buyplanqty:
  4255. description: 采购计划数量
  4256. type: number
  4257. buypricedqty:
  4258. description: 采购合同已定价数量
  4259. type: number
  4260. cycletime:
  4261. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4262. type: string
  4263. cycletype:
  4264. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4265. type: integer
  4266. diffexposure:
  4267. description: 变动量(套保敞口)
  4268. type: number
  4269. difffutuqty:
  4270. description: 变动量(期货)
  4271. type: number
  4272. diffhedgeqty:
  4273. description: 变动量(现货应套保总量)
  4274. type: number
  4275. diffmgqtya:
  4276. description: 套保变动量
  4277. type: number
  4278. diffmgqtyb:
  4279. description: 套利变动量
  4280. type: number
  4281. diffqty:
  4282. description: 变动量(总敞口)
  4283. type: number
  4284. diffspotqty:
  4285. description: 变动量(现货)
  4286. type: number
  4287. enddate:
  4288. description: 结束交易日
  4289. type: string
  4290. enumdicname:
  4291. description: 单位名称
  4292. type: string
  4293. hedgeqty:
  4294. description: 套保量
  4295. type: number
  4296. mgneedhedgeratio:
  4297. description: 套保比例(套保品的)
  4298. type: number
  4299. middlegoodsid:
  4300. description: 套保品种ID
  4301. type: integer
  4302. middlegoodsname:
  4303. description: 套保商品名称
  4304. type: string
  4305. middlgoodscode:
  4306. description: 套保商品代码
  4307. type: string
  4308. needarbitrageqty:
  4309. description: 应套利量
  4310. type: number
  4311. needarbitrageratio:
  4312. description: 套利比例(套保品的)
  4313. type: number
  4314. needhedgeexposoure:
  4315. description: 应套保敞口(套保敞口)
  4316. type: number
  4317. needhedgeqty:
  4318. description: 应套保量
  4319. type: number
  4320. needhedgeratio:
  4321. description: 应套保敞口比例
  4322. type: number
  4323. oriarbitrageqty:
  4324. description: 期初套利量
  4325. type: number
  4326. oribuyfutureqty:
  4327. description: 期初买入期货数量
  4328. type: number
  4329. oribuyplanqty:
  4330. description: 期初采购计划数量
  4331. type: number
  4332. oribuypricedqty:
  4333. description: 期初采购合同已定价数量
  4334. type: number
  4335. orihedgeqty:
  4336. description: 期初套保量
  4337. type: number
  4338. orineedarbitrageqty:
  4339. description: 期初应套利量
  4340. type: number
  4341. orineedhedgeexposoure:
  4342. description: 期初应套保敞口
  4343. type: number
  4344. orineedhedgeqty:
  4345. description: 期初应套保量
  4346. type: number
  4347. orisellfutureqty:
  4348. description: 期初卖出期货数量
  4349. type: number
  4350. orisellplanqty:
  4351. description: 期初销售计划数量
  4352. type: number
  4353. orisellpricedqty:
  4354. description: 期初销售合同已定价数量
  4355. type: number
  4356. oritotalexposure:
  4357. description: 期初实时总敞口
  4358. type: number
  4359. oritotalfutureqty:
  4360. description: 期初期货头寸总量
  4361. type: number
  4362. oritotalneedhedgeqty:
  4363. description: 期初应套保总量
  4364. type: number
  4365. oritotalspotqty:
  4366. description: 期初现货头寸总量
  4367. type: number
  4368. reckondate:
  4369. description: 日照时期(yyyyMMdd)
  4370. type: string
  4371. sellfutureqty:
  4372. description: 卖出期货数量
  4373. type: number
  4374. sellplanqty:
  4375. description: 销售计划数量
  4376. type: number
  4377. sellpricedqty:
  4378. description: 销售合同已定价数量
  4379. type: number
  4380. totalexposure:
  4381. description: 实时总敞口(总敞口)
  4382. type: number
  4383. totalfutureqty:
  4384. description: 期货头寸总量(期货总量)
  4385. type: number
  4386. totalhedgeratio:
  4387. description: 敞口比例
  4388. type: number
  4389. totalneedhedgeqty:
  4390. description: 应套保总量(现货应套保总量)
  4391. type: number
  4392. totalspotqty:
  4393. description: 现货头寸总量
  4394. type: number
  4395. unitid:
  4396. description: 单位id
  4397. type: integer
  4398. updatetime:
  4399. description: 更新时间
  4400. type: string
  4401. type: object
  4402. models.Ermcp3FinanceReport:
  4403. properties:
  4404. accountname:
  4405. description: 机构名称
  4406. type: string
  4407. areauserid:
  4408. description: 所属机构\交易用户ID
  4409. type: integer
  4410. begindate:
  4411. description: 开始交易日
  4412. type: string
  4413. biztype:
  4414. description: 业务类型 - 1:套保 2:套利
  4415. type: integer
  4416. brandname:
  4417. description: 品牌名称
  4418. type: string
  4419. buypreinvoicedamount:
  4420. description: 采购预收票额(预收票额)
  4421. type: number
  4422. buyprepaidamount:
  4423. description: 采购预付款额(预付货款额)
  4424. type: number
  4425. buytodayinvoiceamount:
  4426. description: 采购今收票额(今收票额)
  4427. type: number
  4428. buytodayrefundamount:
  4429. description: 采购今收退款额(今收退款额)
  4430. type: number
  4431. buytodaysettleamount:
  4432. description: 采购今付款额(今付货款额)
  4433. type: number
  4434. buyuninvoicedamount:
  4435. description: 采购应收票额(应收票额)
  4436. type: number
  4437. buyunpaidamount:
  4438. description: 采购应付款额(应付货款额)
  4439. type: number
  4440. currencyid:
  4441. description: 结算币种ID
  4442. type: integer
  4443. currencyname:
  4444. description: 币种名称
  4445. type: string
  4446. cycletime:
  4447. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4448. type: string
  4449. cycletype:
  4450. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4451. type: integer
  4452. deliverygoodscode:
  4453. description: 现货品种代码
  4454. type: string
  4455. deliverygoodsid:
  4456. description: 现货品种ID
  4457. type: integer
  4458. deliverygoodsname:
  4459. description: 现货品种名称
  4460. type: string
  4461. enddate:
  4462. description: 结束交易日
  4463. type: string
  4464. reckondate:
  4465. description: 日照时期(yyyyMMdd)
  4466. type: string
  4467. sellpreinvoicedamount:
  4468. description: 销售预开票额(预开票额)
  4469. type: number
  4470. sellprepaidamount:
  4471. description: 销售预收款额(预收货款额)
  4472. type: number
  4473. selltodayinvoiceamount:
  4474. description: 销售今开票额(今开票额)
  4475. type: number
  4476. selltodayrefundamount:
  4477. description: 销售今付退款额(今付退款额)
  4478. type: number
  4479. selltodaysettleamount:
  4480. description: 销售今收款额(今收货款额)
  4481. type: number
  4482. selluninvoicedamount:
  4483. description: 销售应开票额(应开票额)
  4484. type: number
  4485. sellunpaidamount:
  4486. description: 销售应收款额(应收货款额)
  4487. type: number
  4488. spotgoodsbrandid:
  4489. description: 现货品牌ID
  4490. type: integer
  4491. todaypaysum:
  4492. description: 今付款合计
  4493. type: number
  4494. todayreceivesum:
  4495. description: 今收款合计
  4496. type: number
  4497. updatetime:
  4498. description: 更新时间
  4499. type: string
  4500. wrfactortypeid:
  4501. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4502. type: integer
  4503. wrstandardcode:
  4504. description: 品类代码
  4505. type: string
  4506. wrstandardid:
  4507. description: 现货商品ID
  4508. type: integer
  4509. wrstandardname:
  4510. description: 品类名称
  4511. type: string
  4512. type: object
  4513. models.Ermcp3Goods:
  4514. properties:
  4515. agreeunit:
  4516. description: 合约单位(合约乘数)
  4517. type: number
  4518. enumdicname:
  4519. description: 单位名称
  4520. type: string
  4521. exexchangecode:
  4522. description: 交易所代码
  4523. type: string
  4524. goodscode:
  4525. description: 期货商品代码
  4526. type: string
  4527. goodsid:
  4528. description: 期货商品id
  4529. type: integer
  4530. goodsname:
  4531. description: 期货商品名称
  4532. type: string
  4533. type: object
  4534. models.Ermcp3GoodsGroup:
  4535. properties:
  4536. agreeunit:
  4537. description: 合约单位
  4538. type: number
  4539. areauserid:
  4540. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  4541. type: integer
  4542. canshort:
  4543. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  4544. type: integer
  4545. closepricemode:
  4546. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  4547. type: integer
  4548. createtime:
  4549. description: 创建时间
  4550. type: string
  4551. creatorid:
  4552. description: 创建人
  4553. type: integer
  4554. currencyid:
  4555. description: 报价货币ID
  4556. type: integer
  4557. decimalplace:
  4558. description: 报价小数位
  4559. type: integer
  4560. enumdicname:
  4561. description: 单位名称
  4562. type: string
  4563. exchangefullname:
  4564. description: 交易所全称
  4565. type: string
  4566. excludecfg:
  4567. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  4568. type: integer
  4569. exexchangecode:
  4570. description: 交易所代码
  4571. type: string
  4572. exexchangeid:
  4573. description: 外部交易所ID[通道交易]
  4574. type: integer
  4575. exexchangename:
  4576. description: 交易所名称
  4577. type: string
  4578. goodsgroupid:
  4579. description: 商品组ID(自增ID)
  4580. type: integer
  4581. goodsgroupname:
  4582. description: 商品组名称
  4583. type: string
  4584. goodsgroupstatus:
  4585. description: 商品组状态 - 1:正常 2:注销
  4586. type: integer
  4587. goodunitid:
  4588. description: 报价单位ID
  4589. type: integer
  4590. groupcategroyid:
  4591. description: 品种分类ID
  4592. type: integer
  4593. innerdealmode:
  4594. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  4595. type: integer
  4596. marketid:
  4597. description: 所属市场ID
  4598. type: integer
  4599. modifierid:
  4600. description: 修改人
  4601. type: integer
  4602. modifytime:
  4603. description: 修改时间
  4604. type: string
  4605. outerdealmode:
  4606. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  4607. type: integer
  4608. outergroupcode:
  4609. description: 外部商品组代码[通道交易]
  4610. type: string
  4611. quoteminunit:
  4612. description: 行情最小变动单位 [整数,报价小数位一起使用]
  4613. type: integer
  4614. quotesourcegroupid:
  4615. description: 所属行情源分组ID[参考行情市场用\通道交易]
  4616. type: integer
  4617. syncgoodsqty:
  4618. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  4619. type: integer
  4620. required:
  4621. - areauserid
  4622. type: object
  4623. models.Ermcp3GoodsGroupEx:
  4624. properties:
  4625. convertratio:
  4626. description: 折算系数(品种系数)
  4627. type: number
  4628. enumdicname:
  4629. description: 单位名称
  4630. type: string
  4631. exexchangecode:
  4632. description: 交易所代码
  4633. type: string
  4634. glist:
  4635. description: 合约列表
  4636. items:
  4637. $ref: '#/definitions/models.Ermcp3Goods'
  4638. type: array
  4639. goodsgroupid:
  4640. description: 商品组id
  4641. type: integer
  4642. goodsgroupname:
  4643. description: 商品组名称
  4644. type: string
  4645. goodsunitid:
  4646. description: 单位id
  4647. type: integer
  4648. middlegoodsid:
  4649. description: 套保商品id
  4650. type: integer
  4651. type: object
  4652. models.Ermcp3HedgePlan:
  4653. properties:
  4654. accountid:
  4655. description: 资金账号
  4656. type: integer
  4657. areauserid:
  4658. description: 用户ID
  4659. type: integer
  4660. audittime:
  4661. description: 审核时间
  4662. type: string
  4663. contracttype:
  4664. description: 计划类型 - 1:采购 -1:销售
  4665. type: integer
  4666. convertfactor:
  4667. description: 标仓系数
  4668. type: number
  4669. createtime:
  4670. description: 创建时间
  4671. type: string
  4672. currencyid:
  4673. description: 币种id
  4674. type: integer
  4675. currencyname:
  4676. description: 币种名称
  4677. type: string
  4678. deliverygoodscode:
  4679. description: 现货品种代码
  4680. type: string
  4681. deliverygoodsid:
  4682. description: 现货品种ID
  4683. type: integer
  4684. deliverygoodsname:
  4685. description: 现货品种名称
  4686. type: string
  4687. enumdicname:
  4688. description: 单位名称(现货商品)
  4689. type: string
  4690. hedgeplanid:
  4691. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  4692. type: string
  4693. hedgeplanno:
  4694. description: 套保计划编号(名称)
  4695. type: string
  4696. hedgeplanstatus:
  4697. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4698. type: integer
  4699. planqty:
  4700. description: 计划数量
  4701. type: number
  4702. plantime:
  4703. description: 计划时间
  4704. type: string
  4705. producttype:
  4706. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  4707. type: integer
  4708. remark:
  4709. description: 备注
  4710. type: string
  4711. spotgoodsdesc:
  4712. description: 商品型号
  4713. type: string
  4714. taaccountname:
  4715. description: 资金账号名称
  4716. type: string
  4717. tradeuserid:
  4718. description: 交易用户id
  4719. type: integer
  4720. tradeusername:
  4721. description: 交易用户名称
  4722. type: string
  4723. unitid:
  4724. description: 单位id(现货商品)
  4725. type: integer
  4726. updatetime:
  4727. description: 更新时间
  4728. type: string
  4729. wrstandardcode:
  4730. description: 品类代码
  4731. type: string
  4732. wrstandardid:
  4733. description: 品类id
  4734. type: integer
  4735. wrstandardname:
  4736. description: 品类名称
  4737. type: string
  4738. wrunitid:
  4739. description: 品类单位id
  4740. type: integer
  4741. wrunitidame:
  4742. description: 品类单位名称
  4743. type: string
  4744. type: object
  4745. models.Ermcp3MiddleGoodsDetail2:
  4746. properties:
  4747. convertratio:
  4748. description: 套保系数(折算系数)
  4749. type: number
  4750. gplist:
  4751. description: 关联商品组列表
  4752. items:
  4753. $ref: '#/definitions/models.Ermcp3GoodsGroupEx'
  4754. type: array
  4755. mg:
  4756. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  4757. description: 套保商品信息
  4758. type: object
  4759. type: object
  4760. models.Ermcp3MiddleGoodsDetailEx:
  4761. properties:
  4762. dglist:
  4763. description: 关联的现货品种列表
  4764. items:
  4765. $ref: '#/definitions/models.ErmcpDeliveryGoodsDetail2'
  4766. type: array
  4767. gplist:
  4768. description: 关联商品组列表
  4769. items:
  4770. $ref: '#/definitions/models.Ermcp3GoodsGroupEx'
  4771. type: array
  4772. mg:
  4773. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  4774. description: 套保商品信息
  4775. type: object
  4776. type: object
  4777. models.Ermcp3RootUserAccount:
  4778. properties:
  4779. accountname:
  4780. description: 账户名称(机构名称)
  4781. type: string
  4782. accountstatus:
  4783. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  4784. type: integer
  4785. applysrc:
  4786. description: 申请来源 - 1:管理端 2:终端
  4787. type: integer
  4788. auditremark:
  4789. description: 审核备注
  4790. type: string
  4791. auditsrc:
  4792. description: 审核来源 - 1:管理端 2:终端
  4793. type: integer
  4794. audittime:
  4795. description: 审核时间
  4796. type: string
  4797. audituserid:
  4798. description: 审核人
  4799. type: integer
  4800. broker:
  4801. description: 所属经纪人ID
  4802. type: integer
  4803. canceltime:
  4804. description: 销户时间
  4805. type: string
  4806. canceluserid:
  4807. description: 销户人
  4808. type: integer
  4809. canrecommend:
  4810. description: 是否可推荐 - 0:不可 1;可
  4811. type: integer
  4812. createtime:
  4813. description: 创建时间
  4814. type: string
  4815. creatorid:
  4816. description: 创建人
  4817. type: integer
  4818. hasauth:
  4819. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  4820. type: integer
  4821. isanonymous:
  4822. description: 是否匿名下单 - 0:否 1:是
  4823. type: integer
  4824. maxinvestornum:
  4825. description: 最大用户数(经纪会员下投资者个数)
  4826. type: integer
  4827. memberuserid:
  4828. description: 所属会员ID
  4829. type: integer
  4830. modifierid:
  4831. description: 修改人
  4832. type: integer
  4833. modifyremark:
  4834. description: 变更备注
  4835. type: string
  4836. modifystatus:
  4837. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  4838. type: integer
  4839. modifytime:
  4840. description: 修改时间
  4841. type: string
  4842. parenttopuser:
  4843. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  4844. type: string
  4845. parentuserid:
  4846. description: 所属机构ID
  4847. type: integer
  4848. reckonaccountid:
  4849. description: 默认结算资金账号ID(机构分润使用) 作废
  4850. type: integer
  4851. refercount:
  4852. description: 推荐总人数
  4853. type: integer
  4854. refereeuserid:
  4855. description: 推荐人ID
  4856. type: integer
  4857. refernum:
  4858. description: 推荐码
  4859. type: string
  4860. rootuserid:
  4861. description: 根用户ID
  4862. type: integer
  4863. subaccountlevel:
  4864. description: 子账户层数
  4865. type: integer
  4866. subarealevelpath:
  4867. description: 子机构层级路径(逗号分隔,首尾加逗号)
  4868. type: string
  4869. userid:
  4870. description: 用户ID
  4871. type: integer
  4872. usertype:
  4873. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  4874. type: integer
  4875. type: object
  4876. models.Ermcp3SellBuyContract:
  4877. properties:
  4878. accountid:
  4879. description: 期货账户id
  4880. type: string
  4881. accountname:
  4882. description: 账户名称
  4883. type: string
  4884. attachment:
  4885. description: 附件
  4886. type: string
  4887. audittime:
  4888. description: 审核时间
  4889. type: string
  4890. biztype:
  4891. description: 业务类型 1-套保 2-套利
  4892. type: integer
  4893. brandname:
  4894. description: 品牌名称
  4895. type: string
  4896. contracctstatus:
  4897. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4898. type: integer
  4899. contractmargin:
  4900. description: 合同保证金
  4901. type: number
  4902. contractno:
  4903. description: 合同编号
  4904. type: string
  4905. contracttype:
  4906. description: 合同类型 1-采购, -1-销售
  4907. type: integer
  4908. convertfactor:
  4909. description: 标仓系数(品类)
  4910. type: number
  4911. createtime:
  4912. description: 创建时间
  4913. type: string
  4914. currencyid:
  4915. description: 币种id
  4916. type: integer
  4917. currencyname:
  4918. description: 币种名称
  4919. type: string
  4920. daikaiamount:
  4921. description: 应收(开)票额
  4922. type: number
  4923. deliveryenddate:
  4924. description: 交割结束日
  4925. type: string
  4926. deliverygoodscode:
  4927. description: 现货品种代码
  4928. type: string
  4929. deliverygoodsid:
  4930. description: 现货商品ID
  4931. type: integer
  4932. deliverygoodsname:
  4933. description: 现货品种名称
  4934. type: string
  4935. deliverystartdate:
  4936. description: 交割开始日
  4937. type: string
  4938. enddate:
  4939. description: 点价结束日
  4940. type: string
  4941. enumdicname:
  4942. description: 单位名称
  4943. type: string
  4944. goodscode:
  4945. description: 点价商品代码
  4946. type: string
  4947. goodsid:
  4948. description: 点价商品ID
  4949. type: integer
  4950. goodsname:
  4951. description: 点价商品名称
  4952. type: string
  4953. invoiceamount:
  4954. description: 已开票额
  4955. type: number
  4956. loanamount:
  4957. description: 贷款总额=已定价额+调整金额
  4958. type: number
  4959. margin:
  4960. description: 保证金
  4961. type: number
  4962. meruserid:
  4963. description: 跟单员id
  4964. type: integer
  4965. meruserlogincode:
  4966. description: 跟单员登录代码
  4967. type: string
  4968. nickname:
  4969. description: 账户昵称
  4970. type: string
  4971. payamount:
  4972. description: 已收付额(收款或付款)
  4973. type: number
  4974. preinvoiceamount:
  4975. description: 预收(开)票额
  4976. type: number
  4977. prepayamount:
  4978. description: 预收付额
  4979. type: number
  4980. price:
  4981. description: 价格
  4982. type: number
  4983. pricedamount:
  4984. description: 已定价额
  4985. type: number
  4986. pricedavg:
  4987. description: 已点均价
  4988. type: number
  4989. pricedqty:
  4990. description: 已定价量
  4991. type: number
  4992. pricemove:
  4993. description: 升贴水
  4994. type: number
  4995. pricetype:
  4996. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4997. type: integer
  4998. producttype:
  4999. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5000. type: integer
  5001. qty:
  5002. description: 合同量
  5003. type: number
  5004. reckonadjustamount:
  5005. description: 调整金额
  5006. type: number
  5007. reckonedamount:
  5008. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  5009. type: number
  5010. reckonotheramount:
  5011. description: 其它费用
  5012. type: number
  5013. reckonrealqty:
  5014. description: 已确定量
  5015. type: number
  5016. remark:
  5017. description: 备注
  5018. type: string
  5019. saleuserid:
  5020. description: 业务员id
  5021. type: integer
  5022. saleuserlogincode:
  5023. description: 业务员登录代码
  5024. type: string
  5025. spotcontractid:
  5026. description: 合同ID
  5027. type: string
  5028. spotgoodsbrandid:
  5029. description: 现货品牌ID(DGFactoryItem表的ID)
  5030. type: integer
  5031. spotgoodsdesc:
  5032. description: 商品型号(商品规格)
  5033. type: string
  5034. startdate:
  5035. description: 点价开始日
  5036. type: string
  5037. totalamount:
  5038. description: 合计总额
  5039. type: number
  5040. tradeuserid:
  5041. description: 交易员id
  5042. type: integer
  5043. tradeuserlogincode:
  5044. description: 交易员登录代码
  5045. type: string
  5046. tradeusername:
  5047. description: 交易员名称
  5048. type: string
  5049. unpayamount:
  5050. description: 应收付款额(应支付或应收款)
  5051. type: number
  5052. unpricedqty:
  5053. description: 未定价量
  5054. type: number
  5055. unsureqty:
  5056. description: 未确定量
  5057. type: number
  5058. userid:
  5059. description: 机构ID
  5060. type: integer
  5061. wrstandardcode:
  5062. description: 品类代码
  5063. type: string
  5064. wrstandardid:
  5065. description: 品类ID
  5066. type: integer
  5067. wrstandardname:
  5068. description: 品类名称
  5069. type: string
  5070. type: object
  5071. models.Ermcp3SpotGoodsPrice:
  5072. properties:
  5073. areauserid:
  5074. description: 所属机构id
  5075. type: integer
  5076. brandname:
  5077. description: 品牌名称
  5078. type: string
  5079. currencyid:
  5080. description: 报价货币ID
  5081. type: integer
  5082. currencyname:
  5083. description: 币种名称
  5084. type: string
  5085. deliverygoodscode:
  5086. description: 现货商品代码
  5087. type: string
  5088. deliverygoodsid:
  5089. description: 现货商品id
  5090. type: integer
  5091. deliverygoodsname:
  5092. description: 现货商品名称
  5093. type: string
  5094. enumdicname:
  5095. description: 现货商品单位名称
  5096. type: string
  5097. gbenumdicname:
  5098. description: 品类单位名称
  5099. type: string
  5100. gmunitid:
  5101. description: 品类单位id
  5102. type: integer
  5103. isvalid:
  5104. description: 是否有效 - 0:无效 1:有效
  5105. type: integer
  5106. operateid:
  5107. description: 最后操作人
  5108. type: integer
  5109. operatesrc:
  5110. description: 最后操作来源 - 1:管理端 2:终端
  5111. type: integer
  5112. operatetime:
  5113. description: 最后操作时间
  5114. type: string
  5115. operatorname:
  5116. description: 操作人名称
  5117. type: string
  5118. spotgoodsbrandid:
  5119. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  5120. type: integer
  5121. spotgoodsprice:
  5122. description: 现货价格
  5123. type: number
  5124. tradedate:
  5125. description: 交易日(yyyyMMdd)
  5126. type: string
  5127. unitid:
  5128. description: 现货商品单位id
  5129. type: integer
  5130. wrstandardcode:
  5131. description: 品类代码
  5132. type: string
  5133. wrstandardid:
  5134. description: 现货品类ID(通用则为0)
  5135. type: integer
  5136. wrstandardname:
  5137. description: 品类名称
  5138. type: string
  5139. type: object
  5140. models.Ermcp3SpotGoodsPriceLog:
  5141. properties:
  5142. areauserid:
  5143. description: 所属机构id
  5144. type: integer
  5145. brandname:
  5146. description: 品牌名称
  5147. type: string
  5148. currencyid:
  5149. description: 报价货币ID
  5150. type: integer
  5151. deliverygoodscode:
  5152. description: 现货商品代码
  5153. type: string
  5154. deliverygoodsid:
  5155. description: 现货商品id
  5156. type: integer
  5157. deliverygoodsname:
  5158. description: 现货商品名称
  5159. type: string
  5160. enumdicname:
  5161. description: 现货商品单位名称
  5162. type: string
  5163. gbenumdicname:
  5164. description: 品类单位名称
  5165. type: string
  5166. gmunitid:
  5167. description: 品类单位id
  5168. type: integer
  5169. logid:
  5170. description: 日志id
  5171. type: integer
  5172. operateid:
  5173. description: 最后操作人
  5174. type: integer
  5175. operatesrc:
  5176. description: 最后操作来源 - 1:管理端 2:终端
  5177. type: integer
  5178. operatetime:
  5179. description: 最后操作时间
  5180. type: string
  5181. operatorname:
  5182. description: 操作人名称
  5183. type: string
  5184. spotgoodsbrandid:
  5185. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  5186. type: integer
  5187. spotgoodsprice:
  5188. description: 现货价格
  5189. type: number
  5190. tradedate:
  5191. description: 交易日(yyyyMMdd)
  5192. type: string
  5193. unitid:
  5194. description: 现货商品单位id
  5195. type: integer
  5196. wrstandardcode:
  5197. description: 品类代码
  5198. type: string
  5199. wrstandardid:
  5200. description: 现货品类ID(通用则为0)
  5201. type: integer
  5202. wrstandardname:
  5203. description: 品类名称
  5204. type: string
  5205. type: object
  5206. models.Ermcp3TaFutuReDataReport:
  5207. properties:
  5208. accountid:
  5209. description: 交易账户
  5210. type: integer
  5211. accountname:
  5212. description: 交易账号名称
  5213. type: string
  5214. begindate:
  5215. description: 开始交易日
  5216. type: string
  5217. buyorsell:
  5218. description: 持仓方向
  5219. type: integer
  5220. charge:
  5221. description: 手续费
  5222. type: number
  5223. closeavgprice:
  5224. description: 平仓均价
  5225. type: number
  5226. closepl:
  5227. description: 平仓损益
  5228. type: number
  5229. currencyid:
  5230. description: 结算币种ID
  5231. type: integer
  5232. cycletime:
  5233. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5234. type: string
  5235. cycletype:
  5236. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5237. type: integer
  5238. enddate:
  5239. description: 结束交易日
  5240. type: string
  5241. enumdicname:
  5242. description: 单位名称(现货商品)
  5243. type: string
  5244. floatpl:
  5245. description: 浮动损益
  5246. type: number
  5247. goodscode:
  5248. description: 交易合约代码
  5249. type: string
  5250. goodsgroupid:
  5251. description: 交易品种
  5252. type: integer
  5253. goodsgroupname:
  5254. description: 交易品种名称
  5255. type: string
  5256. goodsgroupspotqty:
  5257. description: 交易品种期末量 (= 期末持仓量 * 合约乘数)
  5258. type: number
  5259. goodsid:
  5260. description: 交易合约
  5261. type: integer
  5262. goodsname:
  5263. description: 交易合约名称
  5264. type: string
  5265. goodunitid:
  5266. description: 交易合约单位id
  5267. type: integer
  5268. holdamount:
  5269. description: 期末持仓额
  5270. type: number
  5271. holdqty:
  5272. description: 期末持仓量
  5273. type: number
  5274. lastholdamount:
  5275. description: 当前持仓额
  5276. type: number
  5277. lastprice:
  5278. description: 最新价
  5279. type: number
  5280. middlegoodsqty:
  5281. description: 套保品种期末量 (=交易品种期末量 * 期货品种折算系数)
  5282. type: number
  5283. openamount:
  5284. description: 期末开仓额
  5285. type: number
  5286. openavgprice:
  5287. description: 开仓均价
  5288. type: number
  5289. oriholdamount:
  5290. description: 期初持仓额
  5291. type: number
  5292. oriholdqty:
  5293. description: 期初持仓量
  5294. type: number
  5295. oriopenamount:
  5296. description: 期初开仓额
  5297. type: number
  5298. outergroupcode:
  5299. description: 交易品种代码
  5300. type: string
  5301. reckondate:
  5302. description: 日照时期(yyyyMMdd)
  5303. type: string
  5304. reckonholdamount:
  5305. description: 结算持仓额
  5306. type: number
  5307. reckonpl:
  5308. description: 结算损益
  5309. type: number
  5310. reckonpl2:
  5311. description: 结算逐笔盈亏
  5312. type: number
  5313. reckonprice:
  5314. description: 结算价
  5315. type: number
  5316. relateduserid:
  5317. description: 账户关联用户ID
  5318. type: integer
  5319. todaycloseamount:
  5320. description: 今平仓额
  5321. type: number
  5322. todaycloseqty:
  5323. description: 今平仓量
  5324. type: number
  5325. todaygoodsgroupspotqty:
  5326. description: 交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)
  5327. type: number
  5328. todaymiddlegoodsqty:
  5329. description: 套保品种变化量 (= 交易品种变化量*期货品种折算系数)
  5330. type: number
  5331. todayopenamount:
  5332. description: 今开仓额
  5333. type: number
  5334. todayopenqty:
  5335. description: 今开仓量
  5336. type: number
  5337. userid:
  5338. description: 账户所属用户ID
  5339. type: integer
  5340. type: object
  5341. models.Ermcp3Wrstandard:
  5342. properties:
  5343. areauserid:
  5344. description: 所属机构
  5345. type: integer
  5346. convertfactor:
  5347. description: 标仓系数
  5348. type: number
  5349. createtime:
  5350. description: 创建时间
  5351. type: string
  5352. creatorid:
  5353. description: 创建人
  5354. type: integer
  5355. deliverygoodsid:
  5356. description: 现货品种ID
  5357. type: integer
  5358. enumdicname:
  5359. description: 品类单位名称
  5360. type: string
  5361. isvalid:
  5362. description: 是否有效 0-无效(停用) 1-有效(正常)
  5363. type: integer
  5364. minivalue:
  5365. description: 最小变动值
  5366. type: integer
  5367. minivaluedp:
  5368. description: 最小变动值小数位
  5369. type: integer
  5370. realminivalue:
  5371. description: 实际最小变动值
  5372. type: integer
  5373. realminivaluedp:
  5374. description: 实际最小变动值小数位
  5375. type: integer
  5376. remark:
  5377. description: 备注
  5378. type: string
  5379. unitid:
  5380. description: 品类单位ID
  5381. type: integer
  5382. updatetime:
  5383. description: 更新时间
  5384. type: string
  5385. wrstandardcode:
  5386. description: 品类代码
  5387. type: string
  5388. wrstandardid:
  5389. description: 品类ID(SEQ_WRSTANDARD)
  5390. type: integer
  5391. wrstandardname:
  5392. description: 品类名称
  5393. type: string
  5394. type: object
  5395. models.ErmcpAreaSpotDetailModel:
  5396. properties:
  5397. contracttype:
  5398. description: 合同类型 1-采购 -1-销售
  5399. type: integer
  5400. createtime:
  5401. description: 创建时间
  5402. type: string
  5403. enumdicname:
  5404. description: 现货商品单位名称
  5405. type: string
  5406. logtype:
  5407. description: 记录类型 1-套保 2-现货合同
  5408. type: integer
  5409. qty:
  5410. description: 数量
  5411. type: number
  5412. recordname:
  5413. description: 类型名称
  5414. type: string
  5415. relatedid:
  5416. description: 套保计划ID/现货合同ID
  5417. type: string
  5418. relatedno:
  5419. description: 编号
  5420. type: string
  5421. strtime:
  5422. description: 时间
  5423. type: string
  5424. wrstandardcode:
  5425. description: 现货商品代码
  5426. type: string
  5427. wrstandardname:
  5428. description: 现货商品名称
  5429. type: string
  5430. type: object
  5431. models.ErmcpAvalidGoodsGroupModel:
  5432. properties:
  5433. goodsgroupid:
  5434. description: 期货品种id
  5435. type: integer
  5436. goodsgroupname:
  5437. description: 期货品种名称
  5438. type: string
  5439. goodunitid:
  5440. description: 品种单位id
  5441. type: integer
  5442. goodunitname:
  5443. description: 品种单位名称
  5444. type: string
  5445. outergroupcode:
  5446. description: 期货品种代码
  5447. type: string
  5448. type: object
  5449. models.ErmcpBizGroupEx:
  5450. properties:
  5451. acclist:
  5452. description: 账号列表
  5453. items:
  5454. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  5455. type: array
  5456. bizgroupid:
  5457. description: 业务分组id
  5458. type: integer
  5459. biztype:
  5460. description: 业务类型 1-套保 2-套利
  5461. type: integer
  5462. wrlist:
  5463. description: 现货商品表
  5464. items:
  5465. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  5466. type: array
  5467. type: object
  5468. models.ErmcpBizGroupSpotGoods:
  5469. properties:
  5470. areauserid:
  5471. description: 所属机构id
  5472. type: integer
  5473. bizgroupid:
  5474. description: 分组id
  5475. type: integer
  5476. biztype:
  5477. description: 业务类型 1-套保 2-套利
  5478. type: integer
  5479. deliverygoodscode:
  5480. description: 现货商品代码
  5481. type: string
  5482. deliverygoodsid:
  5483. description: 现货商品id
  5484. type: integer
  5485. deliverygoodsname:
  5486. description: 现货商品名称
  5487. type: string
  5488. unitid:
  5489. description: 现货商品单位id
  5490. type: integer
  5491. type: object
  5492. models.ErmcpBizGroupTaAccount:
  5493. properties:
  5494. accountid:
  5495. description: 账号id
  5496. type: integer
  5497. accountname:
  5498. description: 账号名称
  5499. type: string
  5500. areauserid:
  5501. description: 所属机构id
  5502. type: integer
  5503. bizgroupid:
  5504. description: 业务分组id
  5505. type: integer
  5506. ismain:
  5507. description: 是否主账号 1-是 0-否
  5508. type: integer
  5509. type: object
  5510. models.ErmcpDGFactoryItem:
  5511. properties:
  5512. areauserid:
  5513. description: 用户id
  5514. type: integer
  5515. deliverygoodsid:
  5516. description: 现货品种ID
  5517. type: integer
  5518. dgfactoryitemid:
  5519. description: 选择项ID(SEQ_DGFACTORYITEM)
  5520. type: integer
  5521. dgfactoryitemtypeid:
  5522. description: 要素项类型
  5523. type: integer
  5524. dgfactoryitemvalue:
  5525. description: 要素项值(类型为仓库时填写仓库名称)
  5526. type: string
  5527. isvalid:
  5528. description: 是否有效 - 0:无效 1:有效
  5529. type: integer
  5530. orderindex:
  5531. description: 顺序
  5532. type: integer
  5533. warehouseid:
  5534. description: 仓库ID(类型为仓库时填写)
  5535. type: integer
  5536. type: object
  5537. models.ErmcpDeliveryGoods:
  5538. properties:
  5539. agreeunit:
  5540. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  5541. type: integer
  5542. areauserid:
  5543. description: 所属机构
  5544. type: integer
  5545. auditflag:
  5546. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  5547. type: integer
  5548. categoryid:
  5549. description: 类别ID(SEQ_WRCATEGORY)
  5550. type: integer
  5551. deliverygoodscode:
  5552. description: 现货品种代码
  5553. type: string
  5554. deliverygoodsid:
  5555. description: 现货品种ID(SEQ_DELIVERYGOODS)
  5556. type: integer
  5557. deliverygoodsname:
  5558. description: 现货品种名称
  5559. type: string
  5560. deliverygoodstype:
  5561. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  5562. type: integer
  5563. dgstatus:
  5564. description: 品种状态 - 作废 - 0:未激活 1:正常
  5565. type: integer
  5566. enumdicname:
  5567. description: 现货品种单位名称
  5568. type: string
  5569. goodsunitid:
  5570. description: 现货品种单位ID
  5571. type: integer
  5572. isvalid:
  5573. description: 是否有效 - 0:无效 1:有效
  5574. type: integer
  5575. qtydecimalplace:
  5576. description: 成交量小数位
  5577. type: integer
  5578. remark:
  5579. description: 备注
  5580. type: string
  5581. standardqty:
  5582. description: 标准数量(库位数量) [标准品特有]
  5583. type: integer
  5584. standardqtyrange:
  5585. description: 标准数量偏差范围 [标准品特有]
  5586. type: integer
  5587. type: object
  5588. models.ErmcpDeliveryGoodsDetail2:
  5589. properties:
  5590. convertratio:
  5591. description: 套保系数(折算系数)
  5592. type: number
  5593. data:
  5594. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  5595. description: 现货商品基本信息(交割品种)
  5596. type: object
  5597. gblist:
  5598. description: 品牌列表
  5599. items:
  5600. $ref: '#/definitions/models.Ermcp3Brand'
  5601. type: array
  5602. gmlist:
  5603. description: 品类列表(仓单标准)
  5604. items:
  5605. $ref: '#/definitions/models.Ermcp3Wrstandard'
  5606. type: array
  5607. type: object
  5608. models.ErmcpDeliveryGoodsDetailEx:
  5609. properties:
  5610. data:
  5611. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  5612. description: 现货商品基本信息(交割品种)
  5613. type: object
  5614. gblist:
  5615. description: 品牌列表
  5616. items:
  5617. $ref: '#/definitions/models.Ermcp3Brand'
  5618. type: array
  5619. gmlist:
  5620. description: 品类列表(仓单标准)
  5621. items:
  5622. $ref: '#/definitions/models.Ermcp3Wrstandard'
  5623. type: array
  5624. mgList:
  5625. description: 套保列表
  5626. items:
  5627. $ref: '#/definitions/models.Ermcp3MiddleGoodsDetail2'
  5628. type: array
  5629. type: object
  5630. models.ErmcpExposureDetailModel:
  5631. properties:
  5632. areauserid:
  5633. description: 机构ID
  5634. type: integer
  5635. changeQty:
  5636. description: 套保变动量
  5637. type: number
  5638. contracttype:
  5639. description: 现货合同类型 - 1:采购 -1:销售
  5640. type: integer
  5641. convertfactor:
  5642. description: 标仓系数
  5643. type: number
  5644. convertratio:
  5645. description: 套保系数
  5646. type: number
  5647. createtime:
  5648. description: 时间
  5649. type: string
  5650. enumdicname:
  5651. description: 现货商品单位名称
  5652. type: string
  5653. logtype:
  5654. description: 类型 - 1:套保计划 2:现货合同
  5655. type: integer
  5656. middlegoodsId:
  5657. description: 套保商品id
  5658. type: integer
  5659. middlegoodscode:
  5660. description: 套保商品代码
  5661. type: string
  5662. middlegoodsname:
  5663. description: 套保商品名称
  5664. type: string
  5665. qty:
  5666. description: 数量
  5667. type: number
  5668. relateNo:
  5669. description: 现货合同/套保计划编号
  5670. type: string
  5671. wrstandardcode:
  5672. description: 现货商品代码
  5673. type: string
  5674. wrstandardid:
  5675. description: 现货商品ID
  5676. type: integer
  5677. wrstandardname:
  5678. description: 现货商品名称
  5679. type: string
  5680. type: object
  5681. models.ErmcpExposurePostion:
  5682. properties:
  5683. agreeunit:
  5684. description: 合约单位
  5685. type: string
  5686. areauserid:
  5687. description: 所属机构id
  5688. type: integer
  5689. convertratio:
  5690. description: 期货品种系数(折算系数)
  5691. type: number
  5692. curqty:
  5693. description: 当前持仓
  5694. type: integer
  5695. diffhedgeqty:
  5696. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  5697. type: number
  5698. diffqty:
  5699. description: 持仓变动量=当前持仓-昨日持仓
  5700. type: integer
  5701. goodscode:
  5702. description: 商品代码
  5703. type: string
  5704. goodsid:
  5705. description: 商品id
  5706. type: integer
  5707. goodsname:
  5708. description: 商品名称
  5709. type: string
  5710. middlegoodsid:
  5711. description: 套保商品id
  5712. type: integer
  5713. ydqty:
  5714. description: 昨日持仓
  5715. type: integer
  5716. type: object
  5717. models.ErmcpFuturesCompany:
  5718. properties:
  5719. brokerid:
  5720. description: 经纪公司代码
  5721. type: string
  5722. channeladdress:
  5723. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  5724. type: string
  5725. channelid:
  5726. description: 对冲渠道ID
  5727. type: string
  5728. createtime:
  5729. description: 创建时间
  5730. type: string
  5731. creatorid:
  5732. description: 创建人
  5733. type: string
  5734. fcid:
  5735. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  5736. type: integer
  5737. fcname:
  5738. description: 期货公司名称
  5739. type: string
  5740. isvalid:
  5741. description: 是否有效 - 0:无效 1:有效
  5742. type: integer
  5743. mhpaddress:
  5744. description: MHP服务地址(IP:Port)
  5745. type: string
  5746. riskrulegroupid:
  5747. description: 风控规则组ID
  5748. type: string
  5749. tradefeetmpid:
  5750. description: 手续费模板ID[TradeConfigTmpType为2]
  5751. type: string
  5752. trademargintmpid:
  5753. description: 保证金模板ID [TradeConfigTmpType为1]
  5754. type: string
  5755. traderatetmpid:
  5756. description: 汇率模板ID[TradeConfigTmpType为3]
  5757. type: string
  5758. updatetime:
  5759. description: 更新时间
  5760. type: string
  5761. updatorid:
  5762. description: 更新人
  5763. type: string
  5764. type: object
  5765. models.ErmcpGGConvertCfg:
  5766. properties:
  5767. convertratio:
  5768. description: 折算系数
  5769. type: number
  5770. destgoodsgroupid:
  5771. description: 目标品种ID
  5772. type: integer
  5773. dstcode:
  5774. description: 目录品种代码
  5775. type: string
  5776. dstexchangecode:
  5777. description: 目标期货交易所
  5778. type: string
  5779. dstname:
  5780. description: 目标品种名称
  5781. type: string
  5782. dstunitid:
  5783. description: 目标品种单位ID
  5784. type: integer
  5785. dstunitidname:
  5786. description: 目标品种单位名称
  5787. type: string
  5788. modifytime:
  5789. description: 修改时间
  5790. type: string
  5791. srccode:
  5792. description: 源品种代码
  5793. type: string
  5794. srcexchangecode:
  5795. description: 源期货交易所
  5796. type: string
  5797. srcgoodsgroupid:
  5798. description: 源品种ID
  5799. type: integer
  5800. srcname:
  5801. description: 源品种名称
  5802. type: string
  5803. srcunitid:
  5804. description: 源品种单位ID
  5805. type: integer
  5806. srcunitidname:
  5807. description: 源品种单位名称
  5808. type: string
  5809. type: object
  5810. models.ErmcpGoods:
  5811. properties:
  5812. agreeunit:
  5813. description: 合约单位
  5814. type: number
  5815. areauserid:
  5816. description: 所属机构
  5817. type: integer
  5818. auditaccountid:
  5819. description: 审核操作员账号
  5820. type: integer
  5821. audittime:
  5822. description: 审核时间
  5823. type: string
  5824. cancelaccountid:
  5825. description: 注销操作员账号
  5826. type: integer
  5827. canceltime:
  5828. description: 注销时间
  5829. type: string
  5830. closepricemode:
  5831. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  5832. type: integer
  5833. closepriceparam:
  5834. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  5835. type: number
  5836. createtime:
  5837. description: 创建时间
  5838. type: string
  5839. creatorid:
  5840. description: 创建人
  5841. type: integer
  5842. currencyid:
  5843. description: 报价货币ID
  5844. type: integer
  5845. cutmode:
  5846. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  5847. type: integer
  5848. decimalplace:
  5849. description: 报价小数位
  5850. type: integer
  5851. delistingdate:
  5852. description: 商品退市时间(状态:退市) -- 已作废
  5853. type: string
  5854. delistingmode:
  5855. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  5856. type: integer
  5857. deliveryflag:
  5858. description: 交割标志 - 0:不可交割 1:可交割
  5859. type: integer
  5860. forceclosemode:
  5861. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  5862. type: integer
  5863. forceclosevalue:
  5864. description: 定期强平参数 [收益权]
  5865. type: integer
  5866. goodscode:
  5867. description: 商品代码(内部)
  5868. type: string
  5869. goodscurrencyid:
  5870. description: 合约货币ID
  5871. type: integer
  5872. goodsgroupid:
  5873. description: 所属商品组ID
  5874. type: integer
  5875. goodsid:
  5876. description: 商品ID(自增ID SEQ_GOODS)
  5877. type: integer
  5878. goodsname:
  5879. description: 商品名称
  5880. type: string
  5881. goodsquotetype:
  5882. description: '合约报价类型: 1-直接报价 2-间接报价'
  5883. type: integer
  5884. goodsstatus:
  5885. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  5886. type: integer
  5887. goodstradetype:
  5888. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  5889. type: integer
  5890. goodunitid:
  5891. description: 报价单位ID
  5892. type: integer
  5893. hasquoter:
  5894. description: 是否有报价商 - 0:无报价商 1:有报价商
  5895. type: integer
  5896. hqprotecttime:
  5897. description: 行情保护时间(秒)
  5898. type: integer
  5899. innerdealmode:
  5900. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  5901. type: integer
  5902. isbuylimited:
  5903. description: 是否限制建仓量 - 0:不限制 1:限制
  5904. type: integer
  5905. isvisible:
  5906. description: 游客是否可见 - 0:不可见 1:可见
  5907. type: integer
  5908. lasttradedate:
  5909. description: 最后交易日期(状态:待退市)
  5910. type: string
  5911. listingdate:
  5912. description: 交易开始日期
  5913. type: string
  5914. marketid:
  5915. description: 所属市场ID
  5916. type: integer
  5917. modifierid:
  5918. description: 修改人
  5919. type: integer
  5920. modifystatus:
  5921. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  5922. type: integer
  5923. modifytime:
  5924. description: 修改时间
  5925. type: string
  5926. outerdealmode:
  5927. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  5928. type: integer
  5929. outgoodscode:
  5930. description: 商品代码(外部)
  5931. type: string
  5932. pictureurl:
  5933. description: 商品图片
  5934. type: string
  5935. qtydecimalplace:
  5936. description: 成交量小数位
  5937. type: integer
  5938. quotegear:
  5939. description: 行情档位(1-10)
  5940. type: integer
  5941. quoteminunit:
  5942. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5943. type: integer
  5944. quoteshowtype:
  5945. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  5946. type: integer
  5947. quoteshowtypeinterval:
  5948. description: 行情报价间隔时间(秒)(成交价时为0)
  5949. type: integer
  5950. relatedgoodsid:
  5951. description: 关联参考商品ID
  5952. type: integer
  5953. remark:
  5954. description: 备注
  5955. type: string
  5956. trademode:
  5957. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5958. 21:竞拍-大宗式 22:受托竞价
  5959. type: integer
  5960. required:
  5961. - goodscode
  5962. - goodsid
  5963. - goodsname
  5964. - marketid
  5965. type: object
  5966. models.ErmcpGoodsBrand:
  5967. properties:
  5968. areauserid:
  5969. description: 所属机构
  5970. type: integer
  5971. brandid:
  5972. description: BrandID(SEQ_SPOTGOODSBRAND)
  5973. type: integer
  5974. brandname:
  5975. description: 品牌名称
  5976. type: string
  5977. createtime:
  5978. description: 创建时间
  5979. type: string
  5980. creatorid:
  5981. description: 创建人
  5982. type: integer
  5983. creatorsrc:
  5984. description: 创建人来源 - 1:管理端 2:终端
  5985. type: integer
  5986. deliverygoodsid:
  5987. description: 现货品种ID
  5988. type: integer
  5989. isvalid:
  5990. description: 是否有效 - 0:无效 1:有效
  5991. type: integer
  5992. updatetime:
  5993. description: 更新时间
  5994. type: string
  5995. updatorid:
  5996. description: 更新人
  5997. type: integer
  5998. updatorsrc:
  5999. description: 更新人来源 - 1:管理端 2:终端
  6000. type: integer
  6001. wrstandardid:
  6002. description: 现货商品ID
  6003. type: integer
  6004. type: object
  6005. models.ErmcpGoodsModel:
  6006. properties:
  6007. areauserid:
  6008. description: 所属机构
  6009. type: integer
  6010. convertfactor:
  6011. description: 标仓系数
  6012. type: number
  6013. createtime:
  6014. description: 创建时间
  6015. type: string
  6016. creatorid:
  6017. description: 创建人
  6018. type: integer
  6019. creatorsrc:
  6020. description: 创建人来源 - 1:管理端 2:终端
  6021. type: integer
  6022. deliverygoodsid:
  6023. description: 现货品种ID
  6024. type: integer
  6025. isvalid:
  6026. description: 是否有效 - 0:无效 1:有效
  6027. type: integer
  6028. modelid:
  6029. description: ModelID(SEQ_SPOTGOODSMODEL)
  6030. type: integer
  6031. modelname:
  6032. description: 型号名称
  6033. type: string
  6034. updatetime:
  6035. description: 更新时间
  6036. type: string
  6037. updatorid:
  6038. description: 更新人
  6039. type: integer
  6040. updatorsrc:
  6041. description: 更新人来源 - 1:管理端 2:终端
  6042. type: integer
  6043. wrstandardid:
  6044. description: 现货商品ID
  6045. type: integer
  6046. type: object
  6047. models.ErmcpHedgePosition:
  6048. properties:
  6049. accountid:
  6050. description: 资金账号[外部母账户]
  6051. type: integer
  6052. curbuyposition:
  6053. description: 期末买头寸
  6054. type: integer
  6055. cursellposition:
  6056. description: 期末卖头寸
  6057. type: integer
  6058. curtdbuyposition:
  6059. description: 期末今日买头寸
  6060. type: integer
  6061. curtdsellposition:
  6062. description: 期末今日卖头寸
  6063. type: integer
  6064. curydbuyposition:
  6065. description: 期末上日买头寸
  6066. type: integer
  6067. curydsellposition:
  6068. description: 期末上日卖头寸
  6069. type: integer
  6070. decreaseqty:
  6071. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  6072. type: integer
  6073. fretdbuyposition:
  6074. description: 冻结今日买头寸
  6075. type: integer
  6076. fretdsellposition:
  6077. description: 冻结今日卖头寸
  6078. type: integer
  6079. freydbuyposition:
  6080. description: 冻结上日买头寸
  6081. type: integer
  6082. freydsellposition:
  6083. description: 冻结上日卖头寸
  6084. type: integer
  6085. goodscode:
  6086. description: 商品代码
  6087. type: string
  6088. goodsid:
  6089. description: 商品id
  6090. type: integer
  6091. goodsname:
  6092. description: 商品名称
  6093. type: string
  6094. hedgeaccountcode:
  6095. description: 对冲账号
  6096. type: string
  6097. hedgegoodsid:
  6098. description: 对冲合约ID
  6099. type: integer
  6100. increaseqty:
  6101. description: 增加数量 = 期末买头寸 - 期初买头寸
  6102. type: integer
  6103. marketid:
  6104. description: 市场ID
  6105. type: integer
  6106. relateduserid:
  6107. description: 关联用户id
  6108. type: integer
  6109. totalcurqty:
  6110. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  6111. type: integer
  6112. totalydqty:
  6113. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  6114. type: integer
  6115. tradedate:
  6116. description: 交易日(yyyyMMdd)
  6117. type: string
  6118. ydbuyposition:
  6119. description: 期初买头寸
  6120. type: integer
  6121. ydsellposition:
  6122. description: 期初卖头寸
  6123. type: integer
  6124. type: object
  6125. models.ErmcpHedgePositionDetail:
  6126. properties:
  6127. buyorsell:
  6128. description: 买卖方向 0-买 1-卖
  6129. type: integer
  6130. channelbuildtype:
  6131. description: 开平方向 1-建仓 2-平仓
  6132. type: integer
  6133. goodscode:
  6134. description: 商品代码
  6135. type: string
  6136. goodsname:
  6137. description: 商品名称
  6138. type: string
  6139. hedgegoodsid:
  6140. description: 商品id
  6141. type: integer
  6142. tradeqty:
  6143. description: 数量(成交数量)
  6144. type: integer
  6145. tradetime:
  6146. description: 时间(成交时间)
  6147. type: string
  6148. type: object
  6149. models.ErmcpHisExposure:
  6150. properties:
  6151. needhedgeexposoure:
  6152. description: 应套保敞口
  6153. type: number
  6154. reckondate:
  6155. description: 日照时期(yyyyMMdd)
  6156. type: string
  6157. totalexposure:
  6158. description: 总敞口
  6159. type: number
  6160. type: object
  6161. models.ErmcpHisExposureS:
  6162. properties:
  6163. data:
  6164. description: 历史敞口
  6165. items:
  6166. $ref: '#/definitions/models.ErmcpHisExposure'
  6167. type: array
  6168. enumdicname:
  6169. description: 单位名称
  6170. type: string
  6171. middlegoodscode:
  6172. description: 套保品种代码
  6173. type: string
  6174. middlegoodsid:
  6175. description: 套保品种ID
  6176. type: integer
  6177. middlegoodsname:
  6178. description: 套保品种名称
  6179. type: string
  6180. type: object
  6181. models.ErmcpLoginTaAccount:
  6182. properties:
  6183. accountid:
  6184. description: 账号id
  6185. type: integer
  6186. accountname:
  6187. description: 账号名称
  6188. type: string
  6189. type: object
  6190. models.ErmcpLoginUser:
  6191. properties:
  6192. acclist:
  6193. description: 关联资金账号
  6194. items:
  6195. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  6196. type: array
  6197. accountname:
  6198. description: 用户名称
  6199. type: string
  6200. clientroleid:
  6201. description: 角色id(usertype=2)
  6202. type: integer
  6203. createtime:
  6204. description: 创建时间
  6205. type: string
  6206. logincode:
  6207. description: 登录代码
  6208. type: string
  6209. loginid:
  6210. description: 登录id(LOGINID)
  6211. type: integer
  6212. loginname:
  6213. description: 登录名称(loginaccount表中的accountname字段)
  6214. type: string
  6215. loginstatus:
  6216. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  6217. type: integer
  6218. memberuserid:
  6219. description: 所属会员id
  6220. type: integer
  6221. mobile:
  6222. description: 手机号
  6223. type: string
  6224. modifytime:
  6225. description: 修改时间
  6226. type: string
  6227. password:
  6228. description: 密码(不可解密)
  6229. type: string
  6230. rolename:
  6231. description: 角色名称
  6232. type: string
  6233. rolestatus:
  6234. description: 角色状态 1-启用 2-停用
  6235. type: integer
  6236. roletype:
  6237. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  6238. type: string
  6239. userid:
  6240. description: 用户id
  6241. type: integer
  6242. usertype:
  6243. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  6244. type: integer
  6245. type: object
  6246. models.ErmcpLoginUserEx:
  6247. properties:
  6248. accountstatus:
  6249. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  6250. type: integer
  6251. mobile:
  6252. description: 手机号
  6253. type: string
  6254. querytype:
  6255. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  6256. type: integer
  6257. roleid:
  6258. description: 角色id(交易账户->用户id)
  6259. type: integer
  6260. rolename:
  6261. description: 角色名称(交易账户->用户名称)
  6262. type: string
  6263. userlist:
  6264. description: 用户列表
  6265. items:
  6266. $ref: '#/definitions/models.ErmcpLoginUser'
  6267. type: array
  6268. usertype:
  6269. description: 用户类型 2-机构 7-企业成员(云平台)
  6270. type: integer
  6271. type: object
  6272. models.ErmcpMiddleGoodsChangeLog:
  6273. properties:
  6274. aftervalue:
  6275. description: 变更后
  6276. type: number
  6277. applyid:
  6278. description: 操作人
  6279. type: integer
  6280. applyname:
  6281. description: 操作人名称
  6282. type: string
  6283. applysrc:
  6284. description: 操作来源 - 1:管理端 2:终端
  6285. type: integer
  6286. beforevalue:
  6287. description: 变更前
  6288. type: number
  6289. changelogtype:
  6290. description: 变更流水类型 - 1:套保比率变更
  6291. type: integer
  6292. handlestatus:
  6293. description: 处理状态
  6294. type: integer
  6295. logdatetime:
  6296. description: 流水日期
  6297. type: string
  6298. logid:
  6299. description: 流水ID
  6300. type: integer
  6301. logremark:
  6302. description: 流水备注
  6303. type: string
  6304. middlegoodsid:
  6305. description: 套保品种ID
  6306. type: integer
  6307. tradedate:
  6308. description: 交易日(yyyyMMdd)
  6309. type: string
  6310. updatetime:
  6311. description: 更新时间
  6312. type: string
  6313. type: object
  6314. models.ErmcpMiddleGoodsDetail:
  6315. properties:
  6316. cvList:
  6317. description: 期货品种折算列表
  6318. items:
  6319. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  6320. type: array
  6321. mg:
  6322. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  6323. description: 套保品种基本信息
  6324. type: object
  6325. wrcList:
  6326. description: 现货品种列表(现货商品折算配置)
  6327. items:
  6328. $ref: '#/definitions/models.WRSConverTDetail'
  6329. type: array
  6330. type: object
  6331. models.ErmcpMiddleGoodsModel:
  6332. properties:
  6333. areauserid:
  6334. description: 机构用户ID
  6335. type: integer
  6336. createtime:
  6337. description: 修改时间
  6338. type: string
  6339. enumdicname:
  6340. description: 单位名称
  6341. type: string
  6342. evaluateratio:
  6343. description: 估价系数
  6344. type: number
  6345. goodsgroupid:
  6346. description: 关联期货品种ID
  6347. type: integer
  6348. goodsunitid:
  6349. description: 单位ID
  6350. type: integer
  6351. isvalid:
  6352. description: 状态 0-无效(停用) 1-有效(正常)
  6353. type: integer
  6354. middlegoodscode:
  6355. description: 套保品种代码
  6356. type: string
  6357. middlegoodsid:
  6358. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  6359. type: integer
  6360. middlegoodsname:
  6361. description: 套保品种名称
  6362. type: string
  6363. modifytime:
  6364. description: 修改时间
  6365. type: string
  6366. needarbitrageratio:
  6367. description: 套利比例
  6368. type: number
  6369. needhedgeratio:
  6370. description: 套保比率
  6371. type: number
  6372. qtydecimalplace:
  6373. description: 数量小数位
  6374. type: integer
  6375. relatedgoodsid:
  6376. description: 关联交易商品ID
  6377. type: integer
  6378. relatedgoodstype:
  6379. description: 关联商品类型 - 1:期货合约 2:现货品种
  6380. type: integer
  6381. remark:
  6382. description: 备注
  6383. type: string
  6384. type: object
  6385. models.ErmcpMiddlegoodsRelateGoods:
  6386. properties:
  6387. agreeunit:
  6388. description: 合约乘数
  6389. type: number
  6390. convertratio:
  6391. description: 折算系数
  6392. type: number
  6393. enumdicname:
  6394. description: 单位名称(交易商品)
  6395. type: string
  6396. goodscode:
  6397. description: 交易商品代码
  6398. type: string
  6399. goodsgroupid:
  6400. description: 交易品种id
  6401. type: integer
  6402. goodsid:
  6403. description: 商品Id
  6404. type: integer
  6405. goodsname:
  6406. description: 交易商品名称
  6407. type: string
  6408. goodunitid:
  6409. description: 交易商品单位id
  6410. type: integer
  6411. middlegoodsid:
  6412. description: 套保商品id
  6413. type: integer
  6414. middlegoodsname:
  6415. description: 套保商品名称
  6416. type: string
  6417. middlegoodsswcode:
  6418. description: 套保商品代码
  6419. type: string
  6420. needarbitrageratio:
  6421. description: 应套利比例
  6422. type: number
  6423. needhedgeratio:
  6424. description: 应套保比例
  6425. type: number
  6426. type: object
  6427. models.ErmcpOPLogModel:
  6428. properties:
  6429. aftervalue:
  6430. description: 变更后
  6431. type: number
  6432. applyid:
  6433. description: 操作人ID
  6434. type: string
  6435. applyname:
  6436. description: 操作人名称
  6437. type: string
  6438. beforevalue:
  6439. description: 变更前
  6440. type: number
  6441. biztype:
  6442. description: 业务类型 - 1:套保计划 2:现货合同
  6443. type: integer
  6444. contracttype:
  6445. description: 现货合同类型 - 1:采购 -1:销售
  6446. type: integer
  6447. logvalue:
  6448. description: 数值
  6449. type: number
  6450. operatelogtype:
  6451. description: 操作流水类型
  6452. type: integer
  6453. operatelogtypedesc:
  6454. description: 操作流水类型名称
  6455. type: string
  6456. relatedid:
  6457. description: 现货合同ID\套保计划
  6458. type: string
  6459. updatetime:
  6460. description: 更新时间
  6461. type: string
  6462. type: object
  6463. models.ErmcpPendingAudit:
  6464. properties:
  6465. areastockqty:
  6466. description: '待审核数量: 库存申请'
  6467. type: integer
  6468. businessdjqty:
  6469. description: '待审核数量: 点价'
  6470. type: integer
  6471. businessfpqty:
  6472. description: '待审核数量: 发票'
  6473. type: integer
  6474. businessjsqty:
  6475. description: '待审核数量: 结算'
  6476. type: integer
  6477. businesskxqty:
  6478. description: '待审核数量: 款项'
  6479. type: integer
  6480. hedgeplanqty:
  6481. description: '待审核数量: 套保计划'
  6482. type: integer
  6483. spotcontractqty:
  6484. description: '待审核数量: 现货合同'
  6485. type: integer
  6486. userqty:
  6487. description: '待审核数量: 用户'
  6488. type: integer
  6489. type: object
  6490. models.ErmcpRealExposureModel:
  6491. properties:
  6492. AreaUserID:
  6493. description: 所属机构
  6494. type: integer
  6495. BuyFutureQty:
  6496. description: 买入期货数量
  6497. type: number
  6498. BuyPlanQty:
  6499. description: 采购计划数量
  6500. type: number
  6501. BuyPricedQty:
  6502. description: 采购合同已定价数量
  6503. type: number
  6504. MiddleGoodsCode:
  6505. description: 套保品种代码
  6506. type: string
  6507. MiddleGoodsHedgeRatio:
  6508. description: 套保比例
  6509. type: number
  6510. MiddleGoodsID:
  6511. description: 套保品种
  6512. type: integer
  6513. MiddleGoodsName:
  6514. description: 套保品种名称
  6515. type: string
  6516. NeedHedgeExposoure:
  6517. description: 应套保敞口(套保敞口)
  6518. type: number
  6519. NeedHedgeRatio:
  6520. description: 应套保敞口比例
  6521. type: number
  6522. OriBuyFutureQty:
  6523. description: 期初买入期货数量
  6524. type: number
  6525. OriBuyPlanQty:
  6526. description: 期初采购计划数量
  6527. type: number
  6528. OriBuyPricedQty:
  6529. description: 期初采购合同已定价数量
  6530. type: number
  6531. OriSellFutureQty:
  6532. description: 期初卖出期货数量
  6533. type: number
  6534. OriSellPlanQty:
  6535. description: 期初销售计划数量
  6536. type: number
  6537. OriSellPricedQty:
  6538. description: 期初销售合同已定价数量
  6539. type: number
  6540. SellFutureQty:
  6541. description: 卖出期货数量
  6542. type: number
  6543. SellPlanQty:
  6544. description: 销售计划数量
  6545. type: number
  6546. SellPricedQty:
  6547. description: 销售合同已定价数量
  6548. type: number
  6549. TotalExposure:
  6550. description: 总敞口
  6551. type: number
  6552. TotalFutureQty:
  6553. description: 期货总量
  6554. type: number
  6555. TotalHedgeRatio:
  6556. description: 敞口比例
  6557. type: number
  6558. TotalNeedHedgeQty:
  6559. description: 应套保总量(现货应套保总量)
  6560. type: number
  6561. TotalSpotQty:
  6562. description: 现货总量
  6563. type: number
  6564. arbitrageqty:
  6565. description: 套利量
  6566. type: number
  6567. diffArbitrageQty:
  6568. description: 套利变动量
  6569. type: number
  6570. diffExposoureQty:
  6571. description: 变动量(套保敞口)
  6572. type: number
  6573. diffFutuQty:
  6574. description: 变动量(期货总量)
  6575. type: number
  6576. diffHedgeQty:
  6577. description: 套保变动量
  6578. type: number
  6579. diffQty:
  6580. description: 变动量(总敞口)
  6581. type: number
  6582. diffSpotHedgeQty:
  6583. description: 变动量(现货应套保总量)
  6584. type: number
  6585. diffSpotQty:
  6586. description: 变动量(现货总量) = 现货数量 - 期初现货数量
  6587. type: number
  6588. enumdicname:
  6589. description: 单位名称
  6590. type: string
  6591. hedgeqty:
  6592. description: 套保量
  6593. type: number
  6594. needarbitrageqty:
  6595. description: 应套利量
  6596. type: number
  6597. needarbitrageratio:
  6598. description: 套利比例
  6599. type: number
  6600. needhedgeqty:
  6601. description: 应套保量
  6602. type: number
  6603. oriTotalFutuQty:
  6604. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  6605. type: number
  6606. oriTotalSpotQty:
  6607. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  6608. type: number
  6609. oriarbitrageqty:
  6610. description: 期初套利量
  6611. type: number
  6612. orihedgeqty:
  6613. description: 期初套保量
  6614. type: number
  6615. orineedhedgeexposoure:
  6616. description: 期初套保敞口
  6617. type: number
  6618. oritotalexposure:
  6619. description: 期初总敞口
  6620. type: number
  6621. oritotalfutureqty:
  6622. description: 期初期货总量
  6623. type: number
  6624. oritotalneedhedgeqty:
  6625. description: 期初现货应套保量
  6626. type: number
  6627. type: object
  6628. models.ErmcpRole:
  6629. properties:
  6630. areauserid:
  6631. description: 所属机构
  6632. type: integer
  6633. autoid:
  6634. description: 角色ID(自增ID)
  6635. type: integer
  6636. modifierid:
  6637. description: 修改人(创建人)
  6638. type: integer
  6639. modifiername:
  6640. description: 修改人名称
  6641. type: string
  6642. modifytime:
  6643. description: 修改时间(创建时间)
  6644. type: string
  6645. rolename:
  6646. description: 角色名称
  6647. type: string
  6648. rolestatus:
  6649. description: 角色状态 - 1:启用 2:停用
  6650. type: integer
  6651. roletype:
  6652. description: 角色类型 - 1- 管理端 2- 交易端
  6653. type: integer
  6654. type: object
  6655. models.ErmcpRoleMenu:
  6656. properties:
  6657. iconame:
  6658. description: 菜单图标
  6659. type: string
  6660. ishadrole:
  6661. description: 是否有权限
  6662. type: boolean
  6663. menutype:
  6664. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  6665. type: integer
  6666. parentcode:
  6667. description: 上级资源代码
  6668. type: string
  6669. remark:
  6670. description: 菜单备注
  6671. type: string
  6672. resourcecode:
  6673. description: 菜单代码
  6674. type: string
  6675. resourcelevel:
  6676. description: 级别
  6677. type: integer
  6678. resourcename:
  6679. description: 菜单名称
  6680. type: string
  6681. roleid:
  6682. description: 角色id
  6683. type: integer
  6684. sort:
  6685. description: 排序
  6686. type: integer
  6687. url:
  6688. description: URL
  6689. type: string
  6690. userid:
  6691. description: 用户id
  6692. type: integer
  6693. type: object
  6694. models.ErmcpRoleMenuEx:
  6695. properties:
  6696. menu:
  6697. $ref: '#/definitions/models.ErmcpRoleMenu'
  6698. description: 父级菜单
  6699. type: object
  6700. subMenu:
  6701. description: 子级菜单
  6702. items:
  6703. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  6704. type: array
  6705. type: object
  6706. models.ErmcpTaAccount:
  6707. properties:
  6708. accountid:
  6709. description: 账户id
  6710. type: integer
  6711. accountname:
  6712. description: 账户名称
  6713. type: string
  6714. currencyid:
  6715. description: 币种id
  6716. type: integer
  6717. hedgeaccountcode:
  6718. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  6719. type: string
  6720. ismain:
  6721. description: 是否主账户 0-否 1-是
  6722. type: integer
  6723. parentaccountid:
  6724. description: 父账户id
  6725. type: integer
  6726. relateduserid:
  6727. description: 关联userid
  6728. type: integer
  6729. tradefeetmpid:
  6730. description: 手续费模板id
  6731. type: integer
  6732. tradefeetmpname:
  6733. description: 手续费模板名称
  6734. type: string
  6735. trademargintmpid:
  6736. description: 保证金模板id
  6737. type: integer
  6738. trademargintmpname:
  6739. description: 保证金模板名称
  6740. type: string
  6741. traderatetmpid:
  6742. description: 汇率模板id
  6743. type: integer
  6744. traderatetmpname:
  6745. description: 汇率模板名称
  6746. type: string
  6747. tradestatus:
  6748. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  6749. type: integer
  6750. userid:
  6751. description: 用户id
  6752. type: integer
  6753. type: object
  6754. models.ErmcpTaAccountEx:
  6755. properties:
  6756. mainAcc:
  6757. $ref: '#/definitions/models.ErmcpTaAccountM'
  6758. description: 主账号
  6759. type: object
  6760. subacclist:
  6761. description: 子账号列表
  6762. items:
  6763. $ref: '#/definitions/models.ErmcpTaAccount'
  6764. type: array
  6765. type: object
  6766. models.ErmcpTaAccountInfo:
  6767. properties:
  6768. accountid:
  6769. description: 资金账户ID
  6770. type: integer
  6771. accountname:
  6772. description: 账户名称
  6773. type: string
  6774. balance:
  6775. description: 期初余额
  6776. type: number
  6777. capitalbalance:
  6778. description: 本金余额[外部子账户实际出入金余额]
  6779. type: number
  6780. closepl:
  6781. description: 今日平仓盈亏
  6782. type: number
  6783. creditdecrease:
  6784. description: 今日授信减少
  6785. type: number
  6786. creditincrease:
  6787. description: 今日授信增加
  6788. type: number
  6789. curdebt:
  6790. description: 期末欠款
  6791. type: number
  6792. currencyid:
  6793. description: 货币ID
  6794. type: integer
  6795. currentbalance:
  6796. description: 期末余额
  6797. type: number
  6798. freezecharge:
  6799. description: 手续费冻结
  6800. type: number
  6801. freezemargin:
  6802. description: 冻结保证金
  6803. type: number
  6804. fromaccountid:
  6805. description: 所属上级账户
  6806. type: integer
  6807. inamount:
  6808. description: 今日入金金额(包括三方入金)
  6809. type: number
  6810. ismain:
  6811. description: 是否母账号 0:不是母账户 1:是母账户
  6812. type: integer
  6813. mortgagecredit:
  6814. description: 授信金额
  6815. type: number
  6816. oridebt:
  6817. description: 期初欠款
  6818. type: number
  6819. orifreezecharge:
  6820. description: 期初手续费冻结
  6821. type: number
  6822. orifreezemargin:
  6823. description: 期初冻结保证金
  6824. type: number
  6825. orimortgagecredit:
  6826. description: 期初授信金额
  6827. type: number
  6828. oriothercredit:
  6829. description: 期初其它授信金额
  6830. type: number
  6831. oriotherfreezemargin:
  6832. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  6833. type: number
  6834. orioutamountfreeze:
  6835. description: 期初出金冻结
  6836. type: number
  6837. oriusedmargin:
  6838. description: 期初占用保证金
  6839. type: number
  6840. othercredit:
  6841. description: 其它授信金额
  6842. type: number
  6843. othercreditdecrease:
  6844. description: 今日其它授信减少
  6845. type: number
  6846. othercreditincrease:
  6847. description: 今日其它授信增加
  6848. type: number
  6849. otherfreezemargin:
  6850. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  6851. type: number
  6852. outamount:
  6853. description: 今日出金金额(包括三方出金)
  6854. type: number
  6855. outamountfreeze:
  6856. description: 出金冻结
  6857. type: number
  6858. outthreshold:
  6859. description: 出金阈值
  6860. type: number
  6861. parentaccountid:
  6862. description: 所属根账号
  6863. type: integer
  6864. paycharge:
  6865. description: 今日手续费支出
  6866. type: number
  6867. relateduserid:
  6868. description: 关联用户
  6869. type: integer
  6870. signstatus:
  6871. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  6872. type: integer
  6873. sublevelpath:
  6874. description: 账号层级路径(逗号分隔,首尾加逗号)
  6875. type: string
  6876. taaccounttype:
  6877. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  6878. type: integer
  6879. thirdinamount:
  6880. description: 今日三方入金
  6881. type: number
  6882. thirdoutamount:
  6883. description: 今日三方出金
  6884. type: number
  6885. tradestatus:
  6886. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  6887. type: integer
  6888. transferamount:
  6889. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  6890. type: number
  6891. usedmargin:
  6892. description: 占用保证金
  6893. type: number
  6894. userid:
  6895. description: 用户ID
  6896. type: integer
  6897. type: object
  6898. models.ErmcpTaAccountM:
  6899. properties:
  6900. accountid:
  6901. description: 账户id
  6902. type: integer
  6903. accountname:
  6904. description: 账户名称
  6905. type: string
  6906. currencyid:
  6907. description: 币种id
  6908. type: integer
  6909. fcid:
  6910. description: 期货公司id
  6911. type: integer
  6912. fcname:
  6913. description: 期货公司代码
  6914. type: string
  6915. hedgeaccountcode:
  6916. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  6917. type: string
  6918. ismain:
  6919. description: 是否主账户 0-否 1-是
  6920. type: integer
  6921. parentaccountid:
  6922. description: 父账户id
  6923. type: integer
  6924. relateduserid:
  6925. description: 关联userid
  6926. type: integer
  6927. tradefeetmpid:
  6928. description: 手续费模板id
  6929. type: integer
  6930. tradefeetmpname:
  6931. description: 手续费模板名称
  6932. type: string
  6933. trademargintmpid:
  6934. description: 保证金模板id
  6935. type: integer
  6936. trademargintmpname:
  6937. description: 保证金模板名称
  6938. type: string
  6939. traderatetmpid:
  6940. description: 汇率模板id
  6941. type: integer
  6942. traderatetmpname:
  6943. description: 汇率模板名称
  6944. type: string
  6945. tradestatus:
  6946. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  6947. type: integer
  6948. userid:
  6949. description: 用户id
  6950. type: integer
  6951. type: object
  6952. models.ErmcpTradeConfigTMP:
  6953. properties:
  6954. areauserid:
  6955. description: 所属机构
  6956. type: integer
  6957. basiccurrencyid:
  6958. description: 基本币种ID[汇率] - 目标币种
  6959. type: integer
  6960. mainaccountid:
  6961. description: 主账户ID
  6962. type: integer
  6963. modifierid:
  6964. description: 修改人
  6965. type: integer
  6966. remark:
  6967. description: 备注
  6968. type: string
  6969. tradeconfigtmpid:
  6970. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  6971. type: integer
  6972. tradeconfigtmpname:
  6973. description: 交易配置模板名称
  6974. type: string
  6975. tradeconfigtmptype:
  6976. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  6977. type: integer
  6978. updatetime:
  6979. description: 更新时间
  6980. type: string
  6981. type: object
  6982. models.ErmcpUserModel:
  6983. properties:
  6984. address:
  6985. description: 通讯地址
  6986. type: string
  6987. attachment1:
  6988. description: 附件1
  6989. type: string
  6990. audittime:
  6991. description: 审核时间
  6992. type: string
  6993. cardbackphotourl:
  6994. description: 证件反面图片地址
  6995. type: string
  6996. cardfrontphotourl:
  6997. description: 证件正面图片地址
  6998. type: string
  6999. cardnum:
  7000. description: 证件号码
  7001. type: string
  7002. cardtype:
  7003. description: 证件类型
  7004. type: integer
  7005. cardtypename:
  7006. description: 证件类型名称
  7007. type: string
  7008. cityid:
  7009. description: 市
  7010. type: integer
  7011. contactname:
  7012. description: 联系人
  7013. type: string
  7014. countryid:
  7015. description: 国家
  7016. type: integer
  7017. createtime:
  7018. description: 创建时间
  7019. type: string
  7020. customername:
  7021. description: 企业名称
  7022. type: string
  7023. districtid:
  7024. description: 区域
  7025. type: integer
  7026. email:
  7027. description: 邮件
  7028. type: string
  7029. legalpersonname:
  7030. description: 法人姓名(企业)
  7031. type: string
  7032. memberuserid:
  7033. description: 所属机构ID
  7034. type: integer
  7035. mobile:
  7036. description: 手机号码
  7037. type: string
  7038. modifytime:
  7039. description: 修改时间
  7040. type: string
  7041. nickname:
  7042. description: 昵称
  7043. type: string
  7044. provinceid:
  7045. description: 省
  7046. type: integer
  7047. remark:
  7048. description: 备注
  7049. type: string
  7050. status:
  7051. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  7052. type: integer
  7053. statusdesc:
  7054. description: 账户状态中文描述
  7055. type: string
  7056. taxpayernum:
  7057. description: 纳税人识别号
  7058. type: string
  7059. telphone:
  7060. description: 联系电话
  7061. type: string
  7062. userid:
  7063. description: 用户ID
  7064. type: integer
  7065. userinfotype:
  7066. description: 客户类型
  7067. type: string
  7068. type: object
  7069. models.ErmcpWareHouseInfo:
  7070. properties:
  7071. address:
  7072. description: 详细地址
  7073. type: string
  7074. areauserid:
  7075. description: 所属机构
  7076. type: integer
  7077. autoid:
  7078. description: 自增ID(仓库ID)
  7079. type: integer
  7080. cityid:
  7081. description: 市
  7082. type: integer
  7083. contactname:
  7084. description: 联系人
  7085. type: string
  7086. contactnum:
  7087. description: 联系电话
  7088. type: string
  7089. countryid:
  7090. description: 国家
  7091. type: integer
  7092. createtime:
  7093. description: 创建时间
  7094. type: string
  7095. districtid:
  7096. description: 区
  7097. type: integer
  7098. hasvideo:
  7099. description: 是否有视频 - 0:无 1:有
  7100. type: integer
  7101. provinceid:
  7102. description: 省
  7103. type: integer
  7104. remark:
  7105. description: 审核备注
  7106. type: string
  7107. videourl:
  7108. description: 视频地址
  7109. type: string
  7110. warehousecode:
  7111. description: 仓库代码
  7112. type: string
  7113. warehousename:
  7114. description: 仓库名称
  7115. type: string
  7116. warehousestatus:
  7117. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  7118. type: integer
  7119. warehousetype:
  7120. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  7121. type: integer
  7122. type: object
  7123. models.Externalexchange:
  7124. properties:
  7125. autoid:
  7126. description: AutoID - SEQ_EXTERNALEXCHANGE
  7127. type: integer
  7128. exchangefullname:
  7129. description: 外部交易所全称
  7130. type: string
  7131. exexchangecode:
  7132. description: 外部交易所代码
  7133. type: string
  7134. exexchangename:
  7135. description: 外部交易所名称(简称)
  7136. type: string
  7137. ismarketprice:
  7138. description: 是否支持市价 - 0:不支持 1:支持
  7139. type: integer
  7140. quotegear:
  7141. description: 行情档位(1-10)
  7142. type: integer
  7143. showbrokerflag:
  7144. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  7145. type: integer
  7146. updatetime:
  7147. description: 更新时间
  7148. type: string
  7149. required:
  7150. - autoid
  7151. type: object
  7152. models.Funcmenulist:
  7153. properties:
  7154. iconame:
  7155. description: 菜单图标
  7156. type: string
  7157. menutype:
  7158. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  7159. type: integer
  7160. parentcode:
  7161. description: 上级资源代码
  7162. type: string
  7163. remark:
  7164. description: 备注
  7165. type: string
  7166. resourcecode:
  7167. description: 资源代码
  7168. type: string
  7169. resourcelevel:
  7170. description: 级别 1-一级 2-二级 3-三级 4-四级
  7171. type: integer
  7172. resourcename:
  7173. description: 资源名
  7174. type: string
  7175. sort:
  7176. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  7177. type: integer
  7178. url:
  7179. description: URL
  7180. type: string
  7181. required:
  7182. - resourcecode
  7183. type: object
  7184. models.Goods:
  7185. properties:
  7186. agreeunit:
  7187. description: 合约单位
  7188. type: number
  7189. areauserid:
  7190. description: 所属机构
  7191. type: integer
  7192. auditaccountid:
  7193. description: 审核操作员账号
  7194. type: integer
  7195. audittime:
  7196. description: 审核时间
  7197. type: string
  7198. cancelaccountid:
  7199. description: 注销操作员账号
  7200. type: integer
  7201. canceltime:
  7202. description: 注销时间
  7203. type: string
  7204. closepricemode:
  7205. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7206. type: integer
  7207. closepriceparam:
  7208. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  7209. type: number
  7210. createtime:
  7211. description: 创建时间
  7212. type: string
  7213. creatorid:
  7214. description: 创建人
  7215. type: integer
  7216. currencyid:
  7217. description: 报价货币ID
  7218. type: integer
  7219. cutmode:
  7220. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  7221. type: integer
  7222. decimalplace:
  7223. description: 报价小数位
  7224. type: integer
  7225. delistingdate:
  7226. description: 商品退市时间(状态:退市) -- 已作废
  7227. type: string
  7228. delistingmode:
  7229. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  7230. type: integer
  7231. deliveryflag:
  7232. description: 交割标志 - 0:不可交割 1:可交割
  7233. type: integer
  7234. forceclosemode:
  7235. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  7236. type: integer
  7237. forceclosevalue:
  7238. description: 定期强平参数 [收益权]
  7239. type: integer
  7240. goodscode:
  7241. description: 商品代码(内部)
  7242. type: string
  7243. goodscurrencyid:
  7244. description: 合约货币ID
  7245. type: integer
  7246. goodsgroupid:
  7247. description: 所属商品组ID
  7248. type: integer
  7249. goodsid:
  7250. description: 商品ID(自增ID SEQ_GOODS)
  7251. type: integer
  7252. goodsname:
  7253. description: 商品名称
  7254. type: string
  7255. goodsquotetype:
  7256. description: '合约报价类型: 1-直接报价 2-间接报价'
  7257. type: integer
  7258. goodsstatus:
  7259. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  7260. type: integer
  7261. goodstradetype:
  7262. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  7263. type: integer
  7264. goodunitid:
  7265. description: 报价单位ID
  7266. type: integer
  7267. hasquoter:
  7268. description: 是否有报价商 - 0:无报价商 1:有报价商
  7269. type: integer
  7270. hqprotecttime:
  7271. description: 行情保护时间(秒)
  7272. type: integer
  7273. innerdealmode:
  7274. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7275. type: integer
  7276. isbuylimited:
  7277. description: 是否限制建仓量 - 0:不限制 1:限制
  7278. type: integer
  7279. isvisible:
  7280. description: 游客是否可见 - 0:不可见 1:可见
  7281. type: integer
  7282. lasttradedate:
  7283. description: 最后交易日期(状态:待退市)
  7284. type: string
  7285. listingdate:
  7286. description: 交易开始日期
  7287. type: string
  7288. marketid:
  7289. description: 所属市场ID
  7290. type: integer
  7291. modifierid:
  7292. description: 修改人
  7293. type: integer
  7294. modifystatus:
  7295. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  7296. type: integer
  7297. modifytime:
  7298. description: 修改时间
  7299. type: string
  7300. outerdealmode:
  7301. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7302. type: integer
  7303. outgoodscode:
  7304. description: 商品代码(外部)
  7305. type: string
  7306. pictureurl:
  7307. description: 商品图片
  7308. type: string
  7309. qtydecimalplace:
  7310. description: 成交量小数位
  7311. type: integer
  7312. quotegear:
  7313. description: 行情档位(1-10)
  7314. type: integer
  7315. quoteminunit:
  7316. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7317. type: integer
  7318. quoteshowtype:
  7319. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  7320. type: integer
  7321. quoteshowtypeinterval:
  7322. description: 行情报价间隔时间(秒)(成交价时为0)
  7323. type: integer
  7324. remark:
  7325. description: 备注
  7326. type: string
  7327. required:
  7328. - goodscode
  7329. - goodsid
  7330. - goodsname
  7331. - marketid
  7332. type: object
  7333. models.GoodsIDAndName:
  7334. properties:
  7335. goodscode:
  7336. description: 商品代码(内部)
  7337. type: string
  7338. goodsid:
  7339. description: 商品ID(自增ID SEQ_GOODS)
  7340. type: integer
  7341. goodsname:
  7342. description: 商品名称
  7343. type: string
  7344. marketid:
  7345. description: 所属市场ID
  7346. type: integer
  7347. required:
  7348. - goodscode
  7349. - goodsid
  7350. - goodsname
  7351. - marketid
  7352. type: object
  7353. models.Goodsgroup:
  7354. properties:
  7355. agreeunit:
  7356. description: 合约单位
  7357. type: number
  7358. canshort:
  7359. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  7360. type: integer
  7361. closepricemode:
  7362. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7363. type: integer
  7364. closepriceparam:
  7365. description: 强平最新价浮动比例 - 方式为2时使用
  7366. type: number
  7367. createtime:
  7368. description: 创建时间
  7369. type: string
  7370. creatorid:
  7371. description: 创建人
  7372. type: integer
  7373. currencyid:
  7374. description: 报价货币ID
  7375. type: integer
  7376. decimalplace:
  7377. description: 报价小数位
  7378. type: integer
  7379. exercisetype:
  7380. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  7381. type: integer
  7382. exexchangeid:
  7383. description: 外部交易所ID[通道交易]
  7384. type: integer
  7385. goodsgroupid:
  7386. description: 商品组ID(自增ID)
  7387. type: integer
  7388. goodsgroupname:
  7389. description: 商品组名称
  7390. type: string
  7391. goodsgroupstatus:
  7392. description: 商品组状态 - 1:正常 2:注销
  7393. type: integer
  7394. goodunitid:
  7395. description: 报价单位ID
  7396. type: integer
  7397. innerdealmode:
  7398. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7399. type: integer
  7400. isbuylimited:
  7401. description: 是否限制建仓量 - 0:不限制 1:限制
  7402. type: integer
  7403. marketid:
  7404. description: 所属市场ID
  7405. type: integer
  7406. modifierid:
  7407. description: 修改人
  7408. type: integer
  7409. modifytime:
  7410. description: 修改时间
  7411. type: string
  7412. outerdealmode:
  7413. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7414. type: integer
  7415. outergroupcode:
  7416. description: 外部商品组代码[通道交易]
  7417. type: string
  7418. premiumdecimalplace:
  7419. description: 权利金小数位[场外期权]
  7420. type: integer
  7421. premiumspreadalgorithm:
  7422. description: 权利金点差方式[场外期权] 1:比率 2:固定
  7423. type: integer
  7424. premiumspreadvalue:
  7425. description: 权利金点差值[场外期权]
  7426. type: number
  7427. qtydecimalplace:
  7428. description: 成交量小数位
  7429. type: integer
  7430. quotegear:
  7431. description: 行情档位(1-10)
  7432. type: integer
  7433. quoteminunit:
  7434. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7435. type: integer
  7436. quoterid:
  7437. description: 报价商ID[场外期权]
  7438. type: integer
  7439. quotesourcegroupid:
  7440. description: 所属行情源分组ID[参考行情市场用\通道交易]
  7441. type: integer
  7442. syncgoodsqty:
  7443. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  7444. type: integer
  7445. required:
  7446. - goodsgroupid
  7447. - goodsgroupname
  7448. - goodsgroupstatus
  7449. - marketid
  7450. type: object
  7451. models.Goodssortbypreposition:
  7452. properties:
  7453. goodscode:
  7454. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  7455. type: string
  7456. goodsgroupcode:
  7457. description: 品种代码
  7458. type: string
  7459. prepositionqty:
  7460. description: 昨持仓量
  7461. type: integer
  7462. sortindex:
  7463. description: 排序
  7464. type: integer
  7465. tradedate:
  7466. description: 交易日
  7467. type: string
  7468. updatetime:
  7469. description: 更新时间
  7470. type: string
  7471. required:
  7472. - goodscode
  7473. - tradedate
  7474. type: object
  7475. models.Hedgeinnerholderdetail:
  7476. properties:
  7477. accountid:
  7478. description: 账号ID
  7479. type: integer
  7480. buyorsell:
  7481. description: 方向 - 0:买 1:卖
  7482. type: integer
  7483. freezeqty:
  7484. description: 冻结数量 - 按单平使用
  7485. type: integer
  7486. goodsid:
  7487. description: 商品ID
  7488. type: integer
  7489. holderamount:
  7490. description: 持仓金额 [商品币种]
  7491. type: number
  7492. holderdays:
  7493. description: 剩余冻结天数
  7494. type: integer
  7495. holderprice:
  7496. description: 持仓价格
  7497. type: number
  7498. holderqty:
  7499. description: 持仓数量
  7500. type: integer
  7501. marketid:
  7502. description: 市场ID
  7503. type: integer
  7504. openprice:
  7505. description: 建仓价格
  7506. type: number
  7507. openqty:
  7508. description: 建仓数量
  7509. type: integer
  7510. parentaccountid:
  7511. description: 所属母账户
  7512. type: integer
  7513. releaseamount:
  7514. description: 释放持仓金额[商品币种]
  7515. type: number
  7516. tradeamount:
  7517. description: 成交金额[账户]
  7518. type: number
  7519. tradedate:
  7520. description: 交易日(yyyyMMdd)
  7521. type: string
  7522. tradeid:
  7523. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7524. type: string
  7525. tradetime:
  7526. description: 交易时间
  7527. type: string
  7528. required:
  7529. - buyorsell
  7530. - tradeid
  7531. type: object
  7532. models.Hedgemarketopenlog:
  7533. properties:
  7534. accountid:
  7535. description: 资金账号[外部母账户]
  7536. type: integer
  7537. fcname:
  7538. description: 期货公司名称
  7539. type: string
  7540. handlestatus:
  7541. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  7542. type: integer
  7543. marketid:
  7544. description: 市场ID
  7545. type: integer
  7546. status:
  7547. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  7548. type: integer
  7549. tradedate:
  7550. description: 交易日(yyyyMMdd)
  7551. type: string
  7552. updatetime:
  7553. description: 更新时间
  7554. type: string
  7555. required:
  7556. - accountid
  7557. type: object
  7558. models.HsbyBuyMyPayOrder:
  7559. properties:
  7560. agreeunit:
  7561. description: 合约单位
  7562. type: number
  7563. buyaccountid:
  7564. description: 买方账号ID[报价币种]
  7565. type: integer
  7566. buyorderid:
  7567. description: 买方委托单号
  7568. type: string
  7569. createtime:
  7570. description: 创建时间
  7571. type: string
  7572. currencysign:
  7573. description: 货币符号
  7574. type: string
  7575. decimalplace:
  7576. description: 报价小数位
  7577. type: integer
  7578. goodscode:
  7579. description: 商品代码(内部)
  7580. type: string
  7581. goodsid:
  7582. description: 商品ID
  7583. type: integer
  7584. goodsname:
  7585. description: 商品名称
  7586. type: string
  7587. marketid:
  7588. description: 市场ID
  7589. type: integer
  7590. offamount:
  7591. description: 优惠金额
  7592. type: number
  7593. originalamount:
  7594. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  7595. type: number
  7596. payamount:
  7597. description: 支付金额 = TradeAmount + TradeCharge
  7598. type: number
  7599. payflag:
  7600. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  7601. type: integer
  7602. paylimitedtime:
  7603. description: 支付期限
  7604. type: string
  7605. paytime:
  7606. description: 付款时间
  7607. type: string
  7608. picurls1:
  7609. description: 预售商品介绍图片[多张用逗号分隔]
  7610. type: string
  7611. picurls2:
  7612. description: 挂牌商品介绍图片[多张用逗号分隔]
  7613. type: string
  7614. sellaccountid:
  7615. description: 卖方账号ID[报价币种]
  7616. type: integer
  7617. sellorderid:
  7618. description: 卖方委托单号
  7619. type: string
  7620. tradeamount:
  7621. description: 成交金额
  7622. type: number
  7623. tradecharge:
  7624. description: 成交手续费(买方)
  7625. type: number
  7626. tradedate:
  7627. description: 交易日(yyyyMMdd)
  7628. type: string
  7629. tradeid:
  7630. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7631. type: string
  7632. trademode:
  7633. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7634. 21:竞拍-大宗式 22:受托竞价
  7635. type: integer
  7636. tradeprice:
  7637. description: 成交价格
  7638. type: number
  7639. tradeqty:
  7640. description: 成交数量
  7641. type: integer
  7642. vendorname1:
  7643. description: 预售商品供应商名称
  7644. type: string
  7645. vendorname2:
  7646. description: 挂牌商品供应商名称
  7647. type: string
  7648. required:
  7649. - goodscode
  7650. - goodsname
  7651. - tradeid
  7652. - trademode
  7653. type: object
  7654. models.HsbyBuyMyTradeDetail:
  7655. properties:
  7656. accountid:
  7657. description: 账户ID[报价币种]
  7658. type: integer
  7659. agreeunit:
  7660. description: 合约单位
  7661. type: number
  7662. amount:
  7663. description: 金额 = 价格 * 数量 * 合约单位
  7664. type: number
  7665. buyorsell:
  7666. description: 买卖 - 0:买 1:卖
  7667. type: integer
  7668. currencysign:
  7669. description: 货币符号
  7670. type: string
  7671. decimalplace:
  7672. description: 报价小数位
  7673. type: integer
  7674. goodscode:
  7675. description: 商品代码(内部)
  7676. type: string
  7677. goodsid:
  7678. description: 商品ID
  7679. type: integer
  7680. goodsname:
  7681. description: 商品名称
  7682. type: string
  7683. marketid:
  7684. description: 市场ID
  7685. type: integer
  7686. orderamount:
  7687. description: 委托金额
  7688. type: number
  7689. orderid:
  7690. description: 单号(成交单号)
  7691. type: string
  7692. picurls1:
  7693. description: 预售商品介绍图片[多张用逗号分隔]
  7694. type: string
  7695. picurls2:
  7696. description: 挂牌商品介绍图片[多张用逗号分隔]
  7697. type: string
  7698. price:
  7699. description: 价格
  7700. type: number
  7701. qty:
  7702. description: 数量
  7703. type: integer
  7704. time:
  7705. description: 时间
  7706. type: string
  7707. trademode:
  7708. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7709. 21:竞拍-大宗式 22:受托竞价
  7710. type: integer
  7711. vendorname1:
  7712. description: 预售商品供应商名称
  7713. type: string
  7714. vendorname2:
  7715. description: 挂牌商品供应商名称
  7716. type: string
  7717. required:
  7718. - accountid
  7719. - buyorsell
  7720. - goodscode
  7721. - goodsid
  7722. - goodsname
  7723. - marketid
  7724. - orderid
  7725. - qty
  7726. - time
  7727. - trademode
  7728. type: object
  7729. models.HsbyGoodsOrderDetail:
  7730. properties:
  7731. buyorsell:
  7732. description: 买卖 - 0:买 1:卖
  7733. type: integer
  7734. currencysign:
  7735. description: 货币符号
  7736. type: string
  7737. customername:
  7738. description: 客户名称(企业名称),已脱敏
  7739. type: string
  7740. enableqty:
  7741. description: 可用数量
  7742. type: integer
  7743. goodunit:
  7744. description: 报价单位
  7745. type: string
  7746. orderid:
  7747. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7748. type: string
  7749. orderprice:
  7750. description: 委托价格
  7751. type: number
  7752. ordertime:
  7753. description: 委托时间
  7754. type: string
  7755. required:
  7756. - buyorsell
  7757. - orderid
  7758. - ordertime
  7759. type: object
  7760. models.HsbyListingGoodsDetail:
  7761. properties:
  7762. agreeunit:
  7763. description: 合约单位
  7764. type: number
  7765. buymaxqty:
  7766. description: 购买上限 [71] - 0为不限
  7767. type: integer
  7768. currency:
  7769. description: 货币
  7770. type: string
  7771. currencysign:
  7772. description: 货币符号
  7773. type: string
  7774. decimalplace:
  7775. description: 报价小数位
  7776. type: integer
  7777. desccityid:
  7778. description: 目的地(市)ID
  7779. type: integer
  7780. descprovinceid:
  7781. description: 目的地(省)ID
  7782. type: integer
  7783. goodscode:
  7784. description: 商品代码(内部)
  7785. type: string
  7786. goodsdesc:
  7787. description: 商品详情
  7788. type: string
  7789. goodsid:
  7790. description: 商品ID(自增ID SEQ_GOODS)
  7791. type: integer
  7792. goodsname:
  7793. description: 商品名称
  7794. type: string
  7795. goodsprice:
  7796. description: 商品价格
  7797. type: number
  7798. hotindex:
  7799. description: 景点热度
  7800. type: integer
  7801. last:
  7802. description: 现价
  7803. type: number
  7804. limitdown:
  7805. description: 跌停价
  7806. type: number
  7807. limitup:
  7808. description: 涨停价
  7809. type: number
  7810. lotsize:
  7811. description: 手数最小变动单位
  7812. type: integer
  7813. marketid:
  7814. description: 所属市场ID
  7815. type: integer
  7816. picurls:
  7817. description: 介绍图片[多张用逗号分隔]
  7818. type: string
  7819. quoteminunit:
  7820. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7821. type: integer
  7822. stepvalue:
  7823. description: 价格最小变动单位
  7824. type: number
  7825. trademode:
  7826. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7827. 21:竞拍-大宗式 22:受托竞价
  7828. type: integer
  7829. vendorattr:
  7830. description: 供应商附件(多张,逗号分隔)
  7831. type: string
  7832. vendorname:
  7833. description: 供应商名称
  7834. type: string
  7835. vendorphone:
  7836. description: 供应商客服电话
  7837. type: string
  7838. videourls:
  7839. description: 介绍视频[多张用逗号分隔]
  7840. type: string
  7841. required:
  7842. - goodscode
  7843. - goodsid
  7844. - goodsname
  7845. - marketid
  7846. - trademode
  7847. type: object
  7848. models.HsbyMarketGoods:
  7849. properties:
  7850. accountid:
  7851. description: 账户ID[报价币种]
  7852. type: integer
  7853. agreeunit:
  7854. description: 合约单位
  7855. type: number
  7856. buyorsell:
  7857. description: 买卖 - 0:买 1:卖
  7858. type: integer
  7859. categoryid:
  7860. description: 类别ID(WRCATEGORY)
  7861. type: integer
  7862. currency:
  7863. description: 货币
  7864. type: string
  7865. currencysign:
  7866. description: 货币符号
  7867. type: string
  7868. customername:
  7869. description: 卖家名称
  7870. type: string
  7871. decimalplace:
  7872. description: 报价小数位
  7873. type: integer
  7874. goodscode:
  7875. description: 商品代码(内部)
  7876. type: string
  7877. goodsid:
  7878. description: 商品ID
  7879. type: integer
  7880. goodsname:
  7881. description: 商品名称
  7882. type: string
  7883. goodsprice:
  7884. description: 商品价格
  7885. type: number
  7886. hascoupon:
  7887. description: 是否可用优惠卷
  7888. type: boolean
  7889. hotindex:
  7890. description: 景点热度
  7891. type: integer
  7892. marketid:
  7893. description: 市场ID
  7894. type: integer
  7895. orderid:
  7896. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7897. type: string
  7898. orderprice:
  7899. description: 委托价格
  7900. type: number
  7901. orderstatus:
  7902. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  7903. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  7904. 16:成交失败违约(荷兰式竞拍专用)
  7905. type: integer
  7906. picurls:
  7907. description: 介绍图片[多张用逗号分隔]
  7908. type: string
  7909. quoteminunit:
  7910. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7911. type: integer
  7912. sellUserID:
  7913. description: 卖方UserID
  7914. type: integer
  7915. trademode:
  7916. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7917. 21:竞拍-大宗式 22:受托竞价
  7918. type: integer
  7919. videourls:
  7920. description: 介绍视频[多张用逗号分隔]
  7921. type: string
  7922. required:
  7923. - accountid
  7924. - buyorsell
  7925. - goodscode
  7926. - goodsid
  7927. - goodsname
  7928. - marketid
  7929. - orderid
  7930. - trademode
  7931. type: object
  7932. models.HsbyMarketGoodsDetail:
  7933. properties:
  7934. accountid:
  7935. description: 账户ID[报价币种]
  7936. type: integer
  7937. agreeunit:
  7938. description: 合约单位
  7939. type: number
  7940. buymaxqty:
  7941. description: 购买上限 [71] - 0为不限
  7942. type: integer
  7943. buyorsell:
  7944. description: 买卖 - 0:买 1:卖
  7945. type: integer
  7946. cancelqty:
  7947. description: 撤单数量
  7948. type: integer
  7949. categoryid:
  7950. description: 类别ID(WRCATEGORY)
  7951. type: integer
  7952. currency:
  7953. description: 货币
  7954. type: string
  7955. currencysign:
  7956. description: 货币符号
  7957. type: string
  7958. customername:
  7959. description: 卖家名称
  7960. type: string
  7961. decimalplace:
  7962. description: 报价小数位
  7963. type: integer
  7964. goodscode:
  7965. description: 商品代码(内部)
  7966. type: string
  7967. goodsdesc:
  7968. description: 商品详情
  7969. type: string
  7970. goodsid:
  7971. description: 商品ID
  7972. type: integer
  7973. goodsname:
  7974. description: 商品名称
  7975. type: string
  7976. goodsprice:
  7977. description: 商品价格
  7978. type: number
  7979. hotindex:
  7980. description: 景点热度
  7981. type: integer
  7982. lotsize:
  7983. description: 手数最小变动单位
  7984. type: integer
  7985. marketid:
  7986. description: 市场ID
  7987. type: integer
  7988. orderid:
  7989. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7990. type: string
  7991. orderprice:
  7992. description: 委托价格
  7993. type: number
  7994. orderqty:
  7995. description: 委托数量
  7996. type: integer
  7997. orderstatus:
  7998. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  7999. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8000. 16:成交失败违约(荷兰式竞拍专用)
  8001. type: integer
  8002. picurls:
  8003. description: 介绍图片[多张用逗号分隔]
  8004. type: string
  8005. quoteminunit:
  8006. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8007. type: integer
  8008. sellUserID:
  8009. description: 卖方UserID
  8010. type: integer
  8011. trademode:
  8012. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8013. 21:竞拍-大宗式 22:受托竞价
  8014. type: integer
  8015. tradeqty:
  8016. description: 成交数量
  8017. type: integer
  8018. vendorattr:
  8019. description: 供应商附件(多张,逗号分隔)
  8020. type: string
  8021. vendorname:
  8022. description: 供应商名称
  8023. type: string
  8024. vendorphone:
  8025. description: 供应商客服电话
  8026. type: string
  8027. videourls:
  8028. description: 介绍视频[多张用逗号分隔]
  8029. type: string
  8030. required:
  8031. - accountid
  8032. - buyorsell
  8033. - goodscode
  8034. - goodsid
  8035. - goodsname
  8036. - marketid
  8037. - orderid
  8038. - orderqty
  8039. - trademode
  8040. type: object
  8041. models.HsbyMarketInfo:
  8042. properties:
  8043. marketid:
  8044. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  8045. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  8046. type: integer
  8047. marketname:
  8048. description: 市场名称
  8049. type: string
  8050. marketstatus:
  8051. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  8052. type: integer
  8053. trademode:
  8054. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8055. 21:竞拍-大宗式 22:受托竞价
  8056. type: integer
  8057. required:
  8058. - marketid
  8059. - marketstatus
  8060. - trademode
  8061. type: object
  8062. models.HsbyMyGoods:
  8063. properties:
  8064. accountid:
  8065. description: 账号Id
  8066. type: integer
  8067. agreeunit:
  8068. description: 合约单位
  8069. type: number
  8070. buyaverageprice:
  8071. description: 持仓均价
  8072. type: number
  8073. buycurholderamount:
  8074. description: 买当前持仓总金额[商品币种]
  8075. type: number
  8076. buycurpositionqty:
  8077. description: 买当前持仓总数量
  8078. type: integer
  8079. buymaxqty:
  8080. description: 购买上限 [71] - 0为不限
  8081. type: integer
  8082. currencysign:
  8083. description: 货币符号
  8084. type: string
  8085. decimalplace:
  8086. description: 报价小数位
  8087. type: integer
  8088. enableqty:
  8089. description: 可用数量
  8090. type: integer
  8091. goodscode:
  8092. description: 商品代码(内部)
  8093. type: string
  8094. goodsid:
  8095. description: 商品Id
  8096. type: integer
  8097. goodsname:
  8098. description: 商品名称
  8099. type: string
  8100. goodsprice:
  8101. description: 商品价格
  8102. type: number
  8103. goodsstatus:
  8104. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8105. type: integer
  8106. last:
  8107. description: 现价(仅使用于挂牌点选)
  8108. type: number
  8109. limitdown:
  8110. description: 跌停价(仅使用于挂牌点选)
  8111. type: number
  8112. limitup:
  8113. description: 涨停价(仅使用于挂牌点选)
  8114. type: number
  8115. lotsize:
  8116. description: 手数最小变动单位
  8117. type: integer
  8118. marketid:
  8119. description: 所属市场ID
  8120. type: integer
  8121. picurls:
  8122. description: 介绍图片[多张用逗号分隔]
  8123. type: string
  8124. quoteminunit:
  8125. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8126. type: integer
  8127. stepvalue:
  8128. description: 价格最小变动单位
  8129. type: number
  8130. trademode:
  8131. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8132. 21:竞拍-大宗式 22:受托竞价
  8133. type: integer
  8134. required:
  8135. - accountid
  8136. - goodscode
  8137. - goodsid
  8138. - goodsname
  8139. - marketid
  8140. - trademode
  8141. type: object
  8142. models.HsbyMyPackage:
  8143. properties:
  8144. accountid:
  8145. description: 账户ID
  8146. type: integer
  8147. address:
  8148. description: 提货人详细地址
  8149. type: string
  8150. agreeunit:
  8151. description: 合约单位
  8152. type: number
  8153. amount:
  8154. description: 提货金额
  8155. type: number
  8156. auditer:
  8157. description: 审核人
  8158. type: integer
  8159. audittime:
  8160. description: 审核时间
  8161. type: string
  8162. averageprice:
  8163. description: 均价
  8164. type: number
  8165. cardnum:
  8166. description: 提货人证件号码
  8167. type: string
  8168. cardtypeid:
  8169. description: 提货人证件类型
  8170. type: integer
  8171. checkremark:
  8172. description: 审核备注
  8173. type: string
  8174. currencysign:
  8175. description: 货币符号
  8176. type: string
  8177. decimalplace:
  8178. description: 报价小数位
  8179. type: integer
  8180. goodscode:
  8181. description: 商品代码(内部)
  8182. type: string
  8183. goodsid:
  8184. description: 商品ID
  8185. type: integer
  8186. goodsname:
  8187. description: 商品名称
  8188. type: string
  8189. handlestatus:
  8190. description: 处理状态
  8191. type: integer
  8192. marketid:
  8193. description: 市场ID
  8194. type: integer
  8195. phonenum:
  8196. description: 提货人联系方式
  8197. type: string
  8198. picurls:
  8199. description: 介绍图片[多张用逗号分隔]
  8200. type: string
  8201. qty:
  8202. description: 提货数量
  8203. type: number
  8204. recivername:
  8205. description: 提货人姓名
  8206. type: string
  8207. reqtime:
  8208. description: 更新时间
  8209. type: string
  8210. takemode:
  8211. description: 提货方式 - 2:自提 3:配送
  8212. type: integer
  8213. takeorderid:
  8214. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  8215. type: string
  8216. takeorderstatus:
  8217. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  8218. type: integer
  8219. takeremark:
  8220. description: 提货备注
  8221. type: string
  8222. tradedate:
  8223. description: 交易日(yyyyMMdd)
  8224. type: string
  8225. trademode:
  8226. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8227. 21:竞拍-大宗式 22:受托竞价
  8228. type: integer
  8229. userid:
  8230. description: 用户ID
  8231. type: integer
  8232. vendorname:
  8233. description: 供应商名称
  8234. type: string
  8235. required:
  8236. - goodscode
  8237. - goodsname
  8238. - takeorderid
  8239. - trademode
  8240. type: object
  8241. models.HsbyPreGoods:
  8242. properties:
  8243. agreeunit:
  8244. description: 合约单位
  8245. type: number
  8246. currency:
  8247. description: 货币
  8248. type: string
  8249. currencysign:
  8250. description: 货币符号
  8251. type: string
  8252. decimalplace:
  8253. description: 报价小数位
  8254. type: integer
  8255. desccityid:
  8256. description: 目的地(市)
  8257. type: integer
  8258. descprovinceid:
  8259. description: 目的地(省)
  8260. type: integer
  8261. enableqty:
  8262. description: 剩余数量
  8263. type: integer
  8264. goodscode:
  8265. description: 商品代码(内部)
  8266. type: string
  8267. goodsid:
  8268. description: 商品ID(自增ID SEQ_GOODS)
  8269. type: integer
  8270. goodsname:
  8271. description: 商品名称
  8272. type: string
  8273. goodsstatus:
  8274. description: 商品状态- 2:未上市 3:上市
  8275. type: integer
  8276. lasttradedate:
  8277. description: 最后交易日期(状态:待退市)
  8278. type: string
  8279. listingdate:
  8280. description: 交易开始日期
  8281. type: string
  8282. marketid:
  8283. description: 所属市场ID
  8284. type: integer
  8285. picurls:
  8286. description: 介绍图片[多张用逗号分隔]
  8287. type: string
  8288. presaledqty:
  8289. description: 已预售量(预售结束时更新)
  8290. type: integer
  8291. presaleqty:
  8292. description: 预售数量
  8293. type: integer
  8294. quoteminunit:
  8295. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8296. type: integer
  8297. refprice:
  8298. description: 参考价格[一口价]
  8299. type: number
  8300. relatedgoodsid:
  8301. description: 关联交易合约ID
  8302. type: integer
  8303. trademode:
  8304. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8305. 21:竞拍-大宗式 22:受托竞价
  8306. type: integer
  8307. videourls:
  8308. description: 介绍视频[多张用逗号分隔]
  8309. type: string
  8310. required:
  8311. - goodscode
  8312. - goodsid
  8313. - goodsname
  8314. - marketid
  8315. - trademode
  8316. type: object
  8317. models.HsbyPreGoodsDetail:
  8318. properties:
  8319. agreeunit:
  8320. description: 合约单位
  8321. type: number
  8322. buymaxqty:
  8323. description: 购买上限 [71] - 0为不限
  8324. type: integer
  8325. currency:
  8326. description: 货币
  8327. type: string
  8328. currencysign:
  8329. description: 货币符号
  8330. type: string
  8331. customername:
  8332. description: 发行单位
  8333. type: string
  8334. decimalplace:
  8335. description: 报价小数位
  8336. type: integer
  8337. desccityid:
  8338. description: 目的地(市)ID
  8339. type: integer
  8340. descprovinceid:
  8341. description: 目的地(省)ID
  8342. type: integer
  8343. enableqty:
  8344. description: 剩余数量
  8345. type: integer
  8346. goodscode:
  8347. description: 商品代码(内部)
  8348. type: string
  8349. goodsdesc:
  8350. description: 商品详情
  8351. type: string
  8352. goodsid:
  8353. description: 商品ID(自增ID SEQ_GOODS)
  8354. type: integer
  8355. goodsname:
  8356. description: 商品名称
  8357. type: string
  8358. goodsstatus:
  8359. description: 商品状态- 2:未上市 3:上市
  8360. type: integer
  8361. goodunit:
  8362. description: 报价单位
  8363. type: string
  8364. lasttradedate:
  8365. description: 最后交易日期(状态:待退市)
  8366. type: string
  8367. listingdate:
  8368. description: 交易开始日期
  8369. type: string
  8370. lotsize:
  8371. description: 手数最小变动单位
  8372. type: integer
  8373. marketid:
  8374. description: 所属市场ID
  8375. type: integer
  8376. picurls:
  8377. description: 介绍图片[多张用逗号分隔]
  8378. type: string
  8379. presaledqty:
  8380. description: 已预售量(预售结束时更新)
  8381. type: integer
  8382. presaleqty:
  8383. description: 预售数量
  8384. type: integer
  8385. quoteminunit:
  8386. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8387. type: integer
  8388. refprice:
  8389. description: 参考价格[一口价]
  8390. type: number
  8391. relatedgoodsid:
  8392. description: 关联交易合约ID
  8393. type: integer
  8394. stepvalue:
  8395. description: 价格最小变动单位
  8396. type: number
  8397. trademode:
  8398. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8399. 21:竞拍-大宗式 22:受托竞价
  8400. type: integer
  8401. vendorattr:
  8402. description: 供应商附件(多张,逗号分隔)
  8403. type: string
  8404. vendorname:
  8405. description: 供应商名称
  8406. type: string
  8407. vendorphone:
  8408. description: 供应商客服电话
  8409. type: string
  8410. videourls:
  8411. description: 介绍视频[多张用逗号分隔]
  8412. type: string
  8413. required:
  8414. - goodscode
  8415. - goodsid
  8416. - goodsname
  8417. - marketid
  8418. - trademode
  8419. type: object
  8420. models.HsbySellCollectionOrder:
  8421. properties:
  8422. agreeunit:
  8423. description: 合约单位
  8424. type: number
  8425. buyaccountid:
  8426. description: 买方账号ID[报价币种]
  8427. type: integer
  8428. buyorderid:
  8429. description: 买方委托单号
  8430. type: string
  8431. createtime:
  8432. description: 创建时间
  8433. type: string
  8434. currencysign:
  8435. description: 货币符号
  8436. type: string
  8437. decimalplace:
  8438. description: 报价小数位
  8439. type: integer
  8440. goodscode:
  8441. description: 商品代码(内部)
  8442. type: string
  8443. goodsid:
  8444. description: 商品ID
  8445. type: integer
  8446. goodsname:
  8447. description: 商品名称
  8448. type: string
  8449. marketid:
  8450. description: 市场ID
  8451. type: integer
  8452. offamount:
  8453. description: 优惠金额
  8454. type: number
  8455. payamount:
  8456. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  8457. type: number
  8458. payflag:
  8459. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  8460. type: integer
  8461. paylimitedtime:
  8462. description: 支付期限
  8463. type: string
  8464. paytime:
  8465. description: 付款时间
  8466. type: string
  8467. picurls:
  8468. description: 商品介绍图片[多张用逗号分隔]
  8469. type: string
  8470. sellaccountid:
  8471. description: 卖方账号ID[报价币种]
  8472. type: integer
  8473. sellorderid:
  8474. description: 卖方委托单号
  8475. type: string
  8476. tradeamount:
  8477. description: 成交金额
  8478. type: number
  8479. tradecharge:
  8480. description: 成交手续费(买方)
  8481. type: number
  8482. tradedate:
  8483. description: 交易日(yyyyMMdd)
  8484. type: string
  8485. tradeid:
  8486. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8487. type: string
  8488. trademode:
  8489. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8490. 21:竞拍-大宗式 22:受托竞价
  8491. type: integer
  8492. tradeprice:
  8493. description: 成交价格
  8494. type: number
  8495. tradeqty:
  8496. description: 成交数量
  8497. type: integer
  8498. required:
  8499. - goodscode
  8500. - goodsname
  8501. - tradeid
  8502. - trademode
  8503. type: object
  8504. models.HsbySellMyDetail:
  8505. properties:
  8506. accountid:
  8507. description: 账户ID[报价币种]
  8508. type: integer
  8509. agreeunit:
  8510. description: 合约单位
  8511. type: number
  8512. buyorsell:
  8513. description: 买卖 - 0:买 1:卖
  8514. type: integer
  8515. currencysign:
  8516. description: 货币符号
  8517. type: string
  8518. decimalplace:
  8519. description: 报价小数位
  8520. type: integer
  8521. goodscode:
  8522. description: 商品代码(内部)
  8523. type: string
  8524. goodsid:
  8525. description: 商品ID
  8526. type: integer
  8527. goodsname:
  8528. description: 商品名称
  8529. type: string
  8530. marketid:
  8531. description: 市场ID
  8532. type: integer
  8533. orderid:
  8534. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  8535. type: string
  8536. ordertype:
  8537. description: 单据类型:0 - 发布中, 1 - 已完成
  8538. type: integer
  8539. picurls:
  8540. description: 介绍图片[多张用逗号分隔]
  8541. type: string
  8542. price:
  8543. description: 价格
  8544. type: number
  8545. qty:
  8546. description: 数量
  8547. type: integer
  8548. time:
  8549. description: 时间
  8550. type: string
  8551. trademode:
  8552. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8553. 21:竞拍-大宗式 22:受托竞价
  8554. type: integer
  8555. vendorname:
  8556. description: 供应商名称
  8557. type: string
  8558. required:
  8559. - accountid
  8560. - buyorsell
  8561. - goodscode
  8562. - goodsid
  8563. - goodsname
  8564. - marketid
  8565. - orderid
  8566. - time
  8567. - trademode
  8568. type: object
  8569. models.HsbyTopGoods:
  8570. properties:
  8571. agreeunit:
  8572. description: 合约单位
  8573. type: number
  8574. currency:
  8575. description: 货币
  8576. type: string
  8577. currencysign:
  8578. description: 货币符号
  8579. type: string
  8580. decimalplace:
  8581. description: 报价小数位
  8582. type: integer
  8583. desccityid:
  8584. description: 目的地(市)
  8585. type: integer
  8586. descprovinceid:
  8587. description: 目的地(省)
  8588. type: integer
  8589. goodscode:
  8590. description: 商品代码(内部)
  8591. type: string
  8592. goodsid:
  8593. description: 商品ID(自增ID SEQ_GOODS)
  8594. type: integer
  8595. goodsname:
  8596. description: 商品名称
  8597. type: string
  8598. hotindex:
  8599. description: 景点热度
  8600. type: integer
  8601. last:
  8602. description: 现价
  8603. type: number
  8604. marketid:
  8605. description: 所属市场ID
  8606. type: integer
  8607. picurls:
  8608. description: 介绍图片[多张用逗号分隔]
  8609. type: string
  8610. quoteminunit:
  8611. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8612. type: integer
  8613. trademode:
  8614. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8615. 21:竞拍-大宗式 22:受托竞价
  8616. type: integer
  8617. videourls:
  8618. description: 介绍视频[多张用逗号分隔]
  8619. type: string
  8620. required:
  8621. - goodscode
  8622. - goodsid
  8623. - goodsname
  8624. - marketid
  8625. - trademode
  8626. type: object
  8627. models.HybsMyBuyOrderDetail:
  8628. properties:
  8629. accountid:
  8630. description: 账户ID[报价币种]
  8631. type: integer
  8632. agreeunit:
  8633. description: 合约单位
  8634. type: number
  8635. buyorsell:
  8636. description: 买卖 - 0:买 1:卖
  8637. type: integer
  8638. cancelqty:
  8639. description: 撤单数量
  8640. type: integer
  8641. currencysign:
  8642. description: 货币符号
  8643. type: string
  8644. decimalplace:
  8645. description: 报价小数位
  8646. type: integer
  8647. goodscode:
  8648. description: 商品代码(内部)
  8649. type: string
  8650. goodsid:
  8651. description: 商品ID
  8652. type: integer
  8653. goodsname:
  8654. description: 商品名称
  8655. type: string
  8656. listingselecttype:
  8657. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  8658. type: integer
  8659. marketid:
  8660. description: 市场ID
  8661. type: integer
  8662. mybuystatus:
  8663. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  8664. type: integer
  8665. orderamount:
  8666. description: 委托金额
  8667. type: number
  8668. orderid:
  8669. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8670. type: string
  8671. orderprice:
  8672. description: 委托价格
  8673. type: number
  8674. orderqty:
  8675. description: 委托数量
  8676. type: integer
  8677. orderstatus:
  8678. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8679. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8680. 16:成交失败违约(荷兰式竞拍专用)
  8681. type: integer
  8682. ordertime:
  8683. description: 委托时间
  8684. type: string
  8685. picurls1:
  8686. description: 预售商品介绍图片[多张用逗号分隔]
  8687. type: string
  8688. picurls2:
  8689. description: 挂牌商品介绍图片[多张用逗号分隔]
  8690. type: string
  8691. trademode:
  8692. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8693. 21:竞拍-大宗式 22:受托竞价
  8694. type: integer
  8695. tradeqty:
  8696. description: 成交数量
  8697. type: integer
  8698. vendorname1:
  8699. description: 预售商品供应商名称
  8700. type: string
  8701. vendorname2:
  8702. description: 挂牌商品供应商名称
  8703. type: string
  8704. required:
  8705. - accountid
  8706. - buyorsell
  8707. - goodscode
  8708. - goodsid
  8709. - goodsname
  8710. - marketid
  8711. - orderid
  8712. - orderqty
  8713. - ordertime
  8714. - trademode
  8715. type: object
  8716. models.Loginaccount:
  8717. properties:
  8718. canoutin:
  8719. description: 是否可出入金 - 0:不可 1:可
  8720. type: integer
  8721. clientroleid:
  8722. description: 终端角色ID
  8723. type: integer
  8724. haslogined:
  8725. description: 是否已登录 - 0:未登录 1:已登录
  8726. type: integer
  8727. hasupdatedpwd:
  8728. description: 是否已更改密码 - 0:未修改 1:已修改
  8729. type: integer
  8730. lastloginip:
  8731. description: 最新登录地址
  8732. type: string
  8733. lastloginmode:
  8734. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  8735. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  8736. type: integer
  8737. lastloginremark:
  8738. description: 最新登录描述
  8739. type: string
  8740. lastlogintime:
  8741. description: 最新登录时间
  8742. type: string
  8743. logincode:
  8744. description: 登录代码
  8745. type: string
  8746. loginfailnum:
  8747. description: 连续登录失败次数(登录成功时清零)
  8748. type: integer
  8749. loginid:
  8750. description: 登陆账号
  8751. type: integer
  8752. loginport:
  8753. description: 最新登录端口
  8754. type: integer
  8755. loginstatus:
  8756. description: 登录账号状态 1:正常 2:冻结 3:无效
  8757. type: integer
  8758. loginusertype:
  8759. description: 登录账号类型 - 1:投资者 2:机构交易员
  8760. type: integer
  8761. modifierid:
  8762. description: 修改人
  8763. type: integer
  8764. modifytime:
  8765. description: 修改时间
  8766. type: string
  8767. pwdwrongcount:
  8768. description: 密码错误次数
  8769. type: integer
  8770. taaccountrighttype:
  8771. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  8772. type: integer
  8773. unfreezetime:
  8774. description: 账户解冻时间
  8775. type: string
  8776. userid:
  8777. description: 用户ID
  8778. type: integer
  8779. required:
  8780. - loginid
  8781. type: object
  8782. models.MainAccountInfo:
  8783. properties:
  8784. accountid:
  8785. description: 账号id
  8786. type: integer
  8787. accountname:
  8788. description: 账号名称(taaccount表中的名称)
  8789. type: string
  8790. appid:
  8791. description: AppID
  8792. type: string
  8793. authcode:
  8794. description: 授权码
  8795. type: string
  8796. brokerid:
  8797. description: 经纪商id
  8798. type: string
  8799. fcid:
  8800. description: 期货公司id
  8801. type: integer
  8802. fcname:
  8803. description: 期货公司代码
  8804. type: string
  8805. hedgeaccountcode:
  8806. description: 外部账号代码(主账号登录代码)
  8807. type: string
  8808. hedgeaccountpwd:
  8809. description: 密码
  8810. type: string
  8811. ismain:
  8812. description: 是否主账号
  8813. type: integer
  8814. relateduserid:
  8815. description: 关联用户id
  8816. type: integer
  8817. userid:
  8818. description: 关联用户id
  8819. type: integer
  8820. type: object
  8821. models.Market:
  8822. properties:
  8823. auctionwrtype:
  8824. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  8825. type: integer
  8826. canacceptquote:
  8827. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  8828. type: integer
  8829. cangoodsexercise:
  8830. description: '[期权]是否可现货行权- 0:否 1:是'
  8831. type: integer
  8832. cangoodsexercisetype:
  8833. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  8834. type: integer
  8835. canmanualquotestrike:
  8836. description: 是否可手动报行权价- 0:否 1:是 [期权]
  8837. type: integer
  8838. canmutistage:
  8839. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  8840. type: integer
  8841. canpreexercise:
  8842. description: '[期权]是否可预申报- 0:否 1:是'
  8843. type: integer
  8844. clearinterval:
  8845. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  8846. type: integer
  8847. contracttmp:
  8848. description: 合同模板[荷兰式][竞价式][仓单贸易]
  8849. type: string
  8850. exchareaid:
  8851. description: 所属交易所,可以没有
  8852. type: integer
  8853. goodstype:
  8854. description: 商品类型 - 1:交易商品 2:仓单商品
  8855. type: integer
  8856. hasrebate:
  8857. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  8858. type: integer
  8859. hastradecredit:
  8860. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  8861. type: integer
  8862. haswr:
  8863. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  8864. type: integer
  8865. isdeductmargin:
  8866. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  8867. type: integer
  8868. isrecordsource:
  8869. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  8870. type: integer
  8871. isreleasemargin:
  8872. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  8873. type: integer
  8874. marginformula:
  8875. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  8876. type: integer
  8877. marginformula2:
  8878. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  8879. type: integer
  8880. marketid:
  8881. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  8882. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  8883. type: integer
  8884. marketname:
  8885. description: 市场名称
  8886. type: string
  8887. marketserviceid:
  8888. description: 市场服务ID
  8889. type: integer
  8890. marketstatus:
  8891. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  8892. type: integer
  8893. markettype:
  8894. description: 市场类型- 1:非交易服务 2:交易服务
  8895. type: integer
  8896. matchermode:
  8897. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  8898. type: integer
  8899. openmethod:
  8900. description: 开盘模式 - 0 自动 1手动
  8901. type: integer
  8902. otcuserid:
  8903. description: 场外期权做市商[场外期权]
  8904. type: integer
  8905. outersynctime:
  8906. description: 外部同步时间点(h24:mi:ss)[场外期权]
  8907. type: string
  8908. pendingflag:
  8909. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  8910. type: integer
  8911. pendingtime:
  8912. description: 待开市时间[通道交易-对冲](HH:mm)
  8913. type: string
  8914. performancetempid:
  8915. description: 履约计划模板ID - 作废
  8916. type: integer
  8917. premiumquotemode:
  8918. description: 权利金报价方式 - 1:自动 2:手动
  8919. type: integer
  8920. rebateratio:
  8921. description: 返利比率[竞价式]
  8922. type: number
  8923. reckonorder:
  8924. description: 结算顺序
  8925. type: integer
  8926. reckonpricealgorithm:
  8927. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  8928. 6.卖一价 7.买一卖一均价 8.外部结算价'
  8929. type: integer
  8930. reckonpriceparam:
  8931. description: 结算价参数
  8932. type: integer
  8933. reckontime:
  8934. description: 结算时间[通道交易-对冲](HH:mm)
  8935. type: string
  8936. roleprioritytype:
  8937. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  8938. type: integer
  8939. selllistingauditflag:
  8940. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  8941. type: integer
  8942. trademarkettype:
  8943. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  8944. type: integer
  8945. trademode:
  8946. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8947. 21:竞拍-大宗式 22:受托竞价
  8948. type: integer
  8949. tradeproperty:
  8950. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  8951. 8:场外期权
  8952. type: integer
  8953. tradetype:
  8954. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  8955. type: integer
  8956. required:
  8957. - marketid
  8958. - marketstatus
  8959. - openmethod
  8960. - reckonpricealgorithm
  8961. - trademode
  8962. - tradeproperty
  8963. type: object
  8964. models.Marketrun:
  8965. properties:
  8966. afternexttradedate:
  8967. description: 下下交易日
  8968. type: string
  8969. clearquoteflag:
  8970. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  8971. type: integer
  8972. lastreckondate:
  8973. description: 最新交易日(结算成功)
  8974. type: string
  8975. machinedate:
  8976. description: 机器时间
  8977. type: string
  8978. manualflag:
  8979. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  8980. type: integer
  8981. marketid:
  8982. description: 市场ID
  8983. type: integer
  8984. nexttradedate:
  8985. description: 下一交易日
  8986. type: string
  8987. pretradedate:
  8988. description: 上一交易日
  8989. type: string
  8990. reckonflag:
  8991. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  8992. type: integer
  8993. runstatus:
  8994. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  8995. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  8996. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  8997. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  8998. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  8999. 62.今日免清算
  9000. type: integer
  9001. sectionid:
  9002. description: 时间段号[多时段时用]
  9003. type: integer
  9004. tradedate:
  9005. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  9006. type: string
  9007. tradedate2:
  9008. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  9009. type: string
  9010. updatetime:
  9011. description: 更新时间
  9012. type: string
  9013. required:
  9014. - marketid
  9015. - nexttradedate
  9016. - reckonflag
  9017. - runstatus
  9018. - tradedate
  9019. - tradedate2
  9020. type: object
  9021. models.Messageboard:
  9022. properties:
  9023. contactnum:
  9024. description: 联系电话
  9025. type: string
  9026. createtime:
  9027. description: 创建时间
  9028. type: string
  9029. message:
  9030. description: 留言信息
  9031. type: string
  9032. messageboardid:
  9033. description: 留言簿ID(SEQ_MessageBoard)
  9034. type: integer
  9035. userid:
  9036. description: 用户ID
  9037. type: integer
  9038. required:
  9039. - messageboardid
  9040. type: object
  9041. models.MyCoupon:
  9042. properties:
  9043. accountid:
  9044. description: 资金账户ID
  9045. type: integer
  9046. areauserid:
  9047. description: 所属机构
  9048. type: integer
  9049. conditionvalue:
  9050. description: 条件阈值(可为0)
  9051. type: number
  9052. couponcategroy:
  9053. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  9054. type: integer
  9055. couponname:
  9056. description: 优惠券名称
  9057. type: string
  9058. coupontypeid:
  9059. description: 优惠券类型ID
  9060. type: string
  9061. couponvalue:
  9062. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  9063. type: number
  9064. curfreezeqty:
  9065. description: 期末冻结数量
  9066. type: integer
  9067. curqty:
  9068. description: 期末数量
  9069. type: integer
  9070. isgeneral:
  9071. description: 是否通用券 - 0:否 1:是
  9072. type: integer
  9073. isunusable:
  9074. description: 是否不可用
  9075. type: boolean
  9076. limitedflag:
  9077. description: 是否指定商品 - 0:不限 1:限制
  9078. type: integer
  9079. limitedgoodsids:
  9080. description: 指定商品IDs[逗号分隔,前后加逗号]
  9081. type: string
  9082. orifreezeqty:
  9083. description: 期初冻结数量
  9084. type: integer
  9085. oriqty:
  9086. description: 期初数量
  9087. type: integer
  9088. reasontype:
  9089. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  9090. type: integer
  9091. todaydecrease:
  9092. description: 今日减少
  9093. type: integer
  9094. todayincrease:
  9095. description: 今日增加
  9096. type: integer
  9097. userid:
  9098. description: 用户ID
  9099. type: integer
  9100. userscope:
  9101. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  9102. type: string
  9103. required:
  9104. - accountid
  9105. - coupontypeid
  9106. type: object
  9107. models.MyCouponHold:
  9108. properties:
  9109. accountid:
  9110. description: 资金账户ID
  9111. type: integer
  9112. conditionvalue:
  9113. description: 条件阈值(可为0)
  9114. type: number
  9115. couponcategroy:
  9116. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  9117. type: integer
  9118. couponholdid:
  9119. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  9120. type: string
  9121. couponname:
  9122. description: 优惠券名称
  9123. type: string
  9124. coupontypeid:
  9125. description: 优惠券类型ID - SEQ_COUPONTYPE
  9126. type: string
  9127. couponvalue:
  9128. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  9129. type: number
  9130. createtime:
  9131. description: 创建时间
  9132. type: string
  9133. enddate:
  9134. description: 结束日期
  9135. type: string
  9136. giveapplyid:
  9137. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  9138. type: integer
  9139. holdstatus:
  9140. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  9141. type: integer
  9142. isgeneral:
  9143. description: 是否通用券 - 0:否 1:是
  9144. type: integer
  9145. limitedflag:
  9146. description: 是否指定商品 - 0:不限 1:限制
  9147. type: integer
  9148. limitedgoodsids:
  9149. description: 指定商品IDs[逗号分隔]
  9150. type: string
  9151. qty:
  9152. description: 数量(按1平铺)
  9153. type: integer
  9154. startdate:
  9155. description: 开始日期
  9156. type: string
  9157. userid:
  9158. description: 用户ID
  9159. type: integer
  9160. userscope:
  9161. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  9162. type: string
  9163. required:
  9164. - couponholdid
  9165. type: object
  9166. models.MyUsedCoupon:
  9167. properties:
  9168. accountid:
  9169. description: 资金账户ID(买方)
  9170. type: integer
  9171. conditionvalue:
  9172. description: 条件阈值(可为0)
  9173. type: number
  9174. couponcategroy:
  9175. description: 种类 - 1:现金券 2:折扣券
  9176. type: integer
  9177. couponname:
  9178. description: 优惠券名称
  9179. type: string
  9180. coupontypeid:
  9181. description: 优惠券类型ID(买方)
  9182. type: string
  9183. couponvalue:
  9184. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  9185. type: number
  9186. createtime:
  9187. description: 创建时间
  9188. type: string
  9189. goodsid:
  9190. description: 商品ID
  9191. type: integer
  9192. handlestatus:
  9193. description: 处理状态
  9194. type: integer
  9195. marketid:
  9196. description: 市场ID
  9197. type: integer
  9198. offamount:
  9199. description: 优惠金额
  9200. type: number
  9201. orderid:
  9202. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9203. type: string
  9204. sellaccountid:
  9205. description: 资金账户ID(卖方)
  9206. type: integer
  9207. tradeamount:
  9208. description: 成交金额
  9209. type: number
  9210. tradeid:
  9211. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9212. type: string
  9213. usedqty:
  9214. description: 使用数量
  9215. type: integer
  9216. required:
  9217. - coupontypeid
  9218. - orderid
  9219. type: object
  9220. models.OperationPrimaryMenu:
  9221. properties:
  9222. Children:
  9223. description: 二级功能菜单
  9224. items:
  9225. $ref: '#/definitions/models.OperationSecondaryMenu'
  9226. type: array
  9227. Key:
  9228. description: 菜单KEY
  9229. type: string
  9230. Label:
  9231. description: 菜单标题
  9232. type: string
  9233. type: object
  9234. models.OperationSecondaryMenu:
  9235. properties:
  9236. Key:
  9237. description: 菜单KEY
  9238. type: string
  9239. Label:
  9240. description: 菜单标题
  9241. type: string
  9242. TabList:
  9243. description: 三级功能菜单
  9244. items:
  9245. $ref: '#/definitions/models.OperationTabMenu'
  9246. type: array
  9247. type: object
  9248. models.OperationTabMenu:
  9249. properties:
  9250. Key:
  9251. description: 菜单KEY
  9252. type: string
  9253. Label:
  9254. description: 菜单标题
  9255. type: string
  9256. type: object
  9257. models.PendingAuditBizModel:
  9258. properties:
  9259. accountid:
  9260. description: 现货账户
  9261. type: string
  9262. areaname:
  9263. description: 所属部门
  9264. type: string
  9265. bizid:
  9266. description: 业务ID
  9267. type: string
  9268. bizname:
  9269. description: 业务名称
  9270. type: string
  9271. status:
  9272. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  9273. type: integer
  9274. type:
  9275. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  9276. type: integer
  9277. type: object
  9278. models.QhjAccountOutInApply:
  9279. properties:
  9280. accountcode:
  9281. description: 资金账号
  9282. type: string
  9283. accountname:
  9284. description: 用户名称(名称)
  9285. type: string
  9286. accountpwd:
  9287. description: 资金密码
  9288. type: string
  9289. accountticket:
  9290. description: 最新账户服务流水号
  9291. type: string
  9292. amount:
  9293. description: 金额
  9294. type: number
  9295. applyremark:
  9296. description: 申请备注
  9297. type: string
  9298. applystatus:
  9299. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  9300. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  9301. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  9302. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  9303. type: integer
  9304. auditid:
  9305. description: 审核人
  9306. type: integer
  9307. audittime:
  9308. description: 审核时间
  9309. type: string
  9310. bank_apply_ticket:
  9311. description: 银行申请流水
  9312. type: string
  9313. bankaccountname:
  9314. description: 银行账户名
  9315. type: string
  9316. bankaccountno:
  9317. description: 银行卡号
  9318. type: string
  9319. bankid:
  9320. description: 银行编号
  9321. type: string
  9322. bankticket:
  9323. description: 银行流水
  9324. type: string
  9325. branchbankid:
  9326. description: 银行支行号
  9327. type: string
  9328. branchbankname:
  9329. description: 银行支行名称
  9330. type: string
  9331. capamountout:
  9332. description: 出金(劣后本金) - 外部子账户
  9333. type: number
  9334. certificatephotourl:
  9335. description: 凭证地址
  9336. type: string
  9337. charge:
  9338. description: 手续费
  9339. type: number
  9340. checkerrorflag:
  9341. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  9342. type: integer
  9343. currency:
  9344. description: 币种
  9345. type: string
  9346. cusbankid:
  9347. description: 托管银行编号
  9348. type: string
  9349. exchticket:
  9350. description: 银行服务流水号
  9351. type: string
  9352. executetype:
  9353. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  9354. 7:外部子账户:入金 8:外部子账户:出金'
  9355. type: integer
  9356. extendinfo:
  9357. description: 扩展信息
  9358. type: string
  9359. extoperateid:
  9360. description: 交易服务流水号
  9361. type: integer
  9362. infamount:
  9363. description: 劣后金额(自有)
  9364. type: number
  9365. logincode:
  9366. description: 登录账号(账号)
  9367. type: string
  9368. netaddr:
  9369. description: 调转网址
  9370. type: string
  9371. priamount:
  9372. description: 优先金额(授信)
  9373. type: number
  9374. reauditid:
  9375. description: 复审人
  9376. type: integer
  9377. reauditremark:
  9378. description: 复审备注
  9379. type: string
  9380. reaudittime:
  9381. description: 复审时间
  9382. type: string
  9383. relatedorderid:
  9384. description: 三方关联ID
  9385. type: string
  9386. remark:
  9387. description: 备注
  9388. type: string
  9389. remark2:
  9390. description: 备注(失败原因)
  9391. type: string
  9392. soucreamount:
  9393. description: 原始出入金金额
  9394. type: number
  9395. soucrecurrencyid:
  9396. description: 原始出入金币种
  9397. type: integer
  9398. tradedate:
  9399. description: 交易日(yyyyMMdd)
  9400. type: string
  9401. updatetime:
  9402. description: 更新时间(申请时间)
  9403. type: string
  9404. userid:
  9405. description: 用户id
  9406. type: integer
  9407. userinfotype:
  9408. description: 账户类型 1-个人 2-企业
  9409. type: integer
  9410. type: object
  9411. models.QhjBankAccountSign:
  9412. properties:
  9413. accountcode:
  9414. description: 资金账号
  9415. type: string
  9416. accountname:
  9417. description: 资金账号对应的账号名(UserName)
  9418. type: string
  9419. accounttype:
  9420. description: 账户类型(UserType)
  9421. type: integer
  9422. applicationtime:
  9423. description: 最后一次更新的时间
  9424. type: string
  9425. applyexchticket:
  9426. description: 申请流水
  9427. type: string
  9428. auditid:
  9429. description: 审核人
  9430. type: integer
  9431. audittime:
  9432. description: 审核时间
  9433. type: string
  9434. bankaccountname:
  9435. description: 签约银行卡账号名
  9436. type: string
  9437. bankaccountno:
  9438. description: 银行卡号
  9439. type: string
  9440. bankaccounttype:
  9441. description: 银行账户类型 - 1-对私; 2-对公
  9442. type: integer
  9443. bankcardtype:
  9444. description: 银行卡类型
  9445. type: integer
  9446. bankchildaccount:
  9447. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  9448. type: string
  9449. bankcity:
  9450. description: 开户行城市
  9451. type: string
  9452. bankid:
  9453. description: 签约银行ID
  9454. type: string
  9455. bankname:
  9456. description: 签约银行名称
  9457. type: string
  9458. bankprovince:
  9459. description: 开户行省份
  9460. type: string
  9461. branchbankid:
  9462. description: 签约银行支行号
  9463. type: string
  9464. branchbankname:
  9465. description: 签约银行支行名称
  9466. type: string
  9467. cardno:
  9468. description: 证件号码
  9469. type: string
  9470. cardtype:
  9471. description: 证件类型
  9472. type: string
  9473. currency:
  9474. description: 币种
  9475. type: string
  9476. cusbankid:
  9477. description: 托管银行编号
  9478. type: string
  9479. direct:
  9480. description: 方向(可以判断那方先发起的签约)
  9481. type: integer
  9482. exchticket:
  9483. description: 最后一次签约成功的流水号
  9484. type: string
  9485. extendinfo:
  9486. description: 扩展信息(JSON字符串)
  9487. type: string
  9488. mobilephone:
  9489. description: 手机号
  9490. type: string
  9491. netaddr:
  9492. description: 调转网址
  9493. type: string
  9494. relateduserid:
  9495. description: 关联使用者userid
  9496. type: integer
  9497. signstatus:
  9498. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  9499. 10:审核拒绝 11:换签待审核
  9500. type: integer
  9501. updatetime:
  9502. description: 更新时间(签解约更新时间)
  9503. type: string
  9504. type: object
  9505. models.QhjBankInfo:
  9506. properties:
  9507. bankid:
  9508. description: 银行ID
  9509. type: string
  9510. bankname:
  9511. description: 银行名称
  9512. type: string
  9513. clearbankno:
  9514. description: 清算系统银行编号
  9515. type: string
  9516. orderindex:
  9517. description: 排序顺序
  9518. type: integer
  9519. status:
  9520. description: 状态 - 0:正常 1:注销
  9521. type: integer
  9522. type: object
  9523. models.QhjContract:
  9524. properties:
  9525. contractconfirmtime:
  9526. description: 合同确认时间(时间)
  9527. type: string
  9528. currisklevel:
  9529. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  9530. type: integer
  9531. enumdicname:
  9532. description: 单位名称
  9533. type: string
  9534. goodscode:
  9535. description: 商品代码
  9536. type: string
  9537. goodsid:
  9538. description: 商品ID [5:融资单]
  9539. type: integer
  9540. goodsname:
  9541. description: 商品名称
  9542. type: string
  9543. goodunitid:
  9544. description: 商品单位id
  9545. type: integer
  9546. initmargin:
  9547. description: 初始保证金(首付款)
  9548. type: number
  9549. lenderamount:
  9550. description: 贷款金额(总额|订单总额)
  9551. type: number
  9552. marginratio:
  9553. description: 保证金比率(首付比例)
  9554. type: number
  9555. payamount:
  9556. description: 已付(已付货款)
  9557. type: number
  9558. reckonrecovermargin:
  9559. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  9560. type: number
  9561. recoveredmargin:
  9562. description: 已追缴保证金
  9563. type: number
  9564. remainamount:
  9565. description: 合同剩余金额(融资额)
  9566. type: number
  9567. scfcontractid:
  9568. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  9569. type: integer
  9570. scfcontracttype:
  9571. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  9572. type: integer
  9573. totalinterest:
  9574. description: 已计总利息(利息)
  9575. type: number
  9576. tradeprice:
  9577. description: 成交价格(成本价格)
  9578. type: number
  9579. userid:
  9580. description: 用户ID
  9581. type: integer
  9582. username:
  9583. description: 用户名称
  9584. type: string
  9585. wrqty:
  9586. description: 仓单数量(数量)
  9587. type: integer
  9588. type: object
  9589. models.QhjContractLog:
  9590. properties:
  9591. amount:
  9592. description: 支付金额
  9593. type: number
  9594. amounttype:
  9595. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  9596. type: integer
  9597. logid:
  9598. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9599. type: string
  9600. remainamount:
  9601. description: 剩余货款
  9602. type: number
  9603. scfcontractid:
  9604. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  9605. type: integer
  9606. updatetime:
  9607. description: 更新时间
  9608. type: string
  9609. type: object
  9610. models.QhjCusBankSignBankEx:
  9611. properties:
  9612. banklst:
  9613. description: 银行列表
  9614. items:
  9615. $ref: '#/definitions/models.QhjBankInfo'
  9616. type: array
  9617. canallot:
  9618. description: 是否支持跨行调拨 - 0:不支持 1:支持
  9619. type: integer
  9620. canallotquery:
  9621. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  9622. type: integer
  9623. canbindcard:
  9624. description: 是否可绑卡与解卡 - 0:不可 1:可以
  9625. type: integer
  9626. caninamount:
  9627. description: 是否可入金 - 0:不可 1:可以
  9628. type: integer
  9629. caninamount2:
  9630. description: 是否可入金(网银端) - 0:不可 1:可以
  9631. type: integer
  9632. canmodifybankcard:
  9633. description: 是否可修改银行卡号 - 0:不可 1:可以
  9634. type: integer
  9635. canmodifyphone:
  9636. description: 是否可修改手机号 - 0:不可 1:可以
  9637. type: integer
  9638. canmodifysigninfo:
  9639. description: 是否可修改签约信息 - 0:不可 1:可以
  9640. type: integer
  9641. canoutamount:
  9642. description: 是否可出金 - 0:不可 1:可以
  9643. type: integer
  9644. canoutamount2:
  9645. description: 是否可出金(网银端) - 0:不可 1:可以
  9646. type: integer
  9647. canrelease:
  9648. description: 是否可解约 - 0:不可 1:可以
  9649. type: integer
  9650. canrelease2:
  9651. description: 是否可解约(网银端) - 0:不可 1:可以
  9652. type: integer
  9653. cansign:
  9654. description: 是否可签约 - 0:不可 1:可以
  9655. type: integer
  9656. cansign2:
  9657. description: 是否可签约(网银端) - 0:不可 1:可以
  9658. type: integer
  9659. currency:
  9660. description: 币种
  9661. type: string
  9662. cusbankid:
  9663. description: 托管银行编号(对应清算中心TRAN_NO)
  9664. type: string
  9665. cusbankname:
  9666. description: 银行业务名称
  9667. type: string
  9668. cusbankshortname:
  9669. description: 银行业务简称
  9670. type: string
  9671. exchbankid:
  9672. description: 交易所开户银行ID
  9673. type: string
  9674. exchpaybankaccname:
  9675. description: 交易所支出结算账户户名
  9676. type: string
  9677. exchpaybankaccno:
  9678. description: 交易所支出结算账户
  9679. type: string
  9680. isneedcheck:
  9681. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  9682. type: integer
  9683. isneedclear:
  9684. description: 是否需要清算 - 0:不需要 1:需要
  9685. type: integer
  9686. lastcheckstatus:
  9687. description: 最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败
  9688. type: integer
  9689. lastchecktime:
  9690. description: 最后对账时间
  9691. type: string
  9692. lastclearstatus:
  9693. description: 最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功
  9694. type: integer
  9695. lastcleartime:
  9696. description: 最后清算时间
  9697. type: string
  9698. lastsignintime:
  9699. description: 最后签到时间
  9700. type: string
  9701. lastsignouttime:
  9702. description: 最后签退时间
  9703. type: string
  9704. riskinfo:
  9705. description: 签约风险提示书
  9706. type: string
  9707. signstatus:
  9708. description: 当前签到/签退状态 - 1:签到 2:签退
  9709. type: integer
  9710. tradedate:
  9711. description: 交易日(yyyyMMdd)
  9712. type: string
  9713. updatetime:
  9714. description: 当前签到/签退更新时间
  9715. type: string
  9716. type: object
  9717. models.QhjCustomer:
  9718. properties:
  9719. address:
  9720. description: 通讯地址
  9721. type: string
  9722. attachment1:
  9723. description: 附件1
  9724. type: string
  9725. audittime:
  9726. description: 审核时间
  9727. type: string
  9728. cardbackphotourl:
  9729. description: 证件反面图片地址
  9730. type: string
  9731. cardfrontphotourl:
  9732. description: 证件正面图片地址
  9733. type: string
  9734. cardnum:
  9735. description: 证件号码
  9736. type: string
  9737. cardtype:
  9738. description: 证件类型
  9739. type: integer
  9740. cardtypename:
  9741. description: 证件类型名称
  9742. type: string
  9743. cityid:
  9744. description: 市
  9745. type: integer
  9746. cityname:
  9747. description: 城市名称
  9748. type: string
  9749. contactname:
  9750. description: 联系人
  9751. type: string
  9752. countryid:
  9753. description: 国家
  9754. type: integer
  9755. countryname:
  9756. description: 国家名称
  9757. type: string
  9758. createtime:
  9759. description: 创建时间
  9760. type: string
  9761. customername:
  9762. description: 客户名称
  9763. type: string
  9764. districtid:
  9765. description: 区域
  9766. type: integer
  9767. districtname:
  9768. description: 地区名称
  9769. type: string
  9770. email:
  9771. description: 邮件
  9772. type: string
  9773. legalpersonname:
  9774. description: 法人姓名(企业)
  9775. type: string
  9776. memberuserid:
  9777. description: 所属机构ID(所属会员)
  9778. type: integer
  9779. memberusername:
  9780. description: 所属会员名称
  9781. type: string
  9782. mobile:
  9783. description: 手机号码
  9784. type: string
  9785. modifytime:
  9786. description: 修改时间
  9787. type: string
  9788. nickname:
  9789. description: 昵称
  9790. type: string
  9791. parentuserid:
  9792. description: 上级机构(所属机构)
  9793. type: integer
  9794. parentusername:
  9795. description: 所属机构名称
  9796. type: string
  9797. provinceid:
  9798. description: 省
  9799. type: integer
  9800. provincename:
  9801. description: 省名称
  9802. type: string
  9803. remark:
  9804. description: 备注
  9805. type: string
  9806. status:
  9807. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  9808. type: integer
  9809. statusdesc:
  9810. description: 账户状态中文描述
  9811. type: string
  9812. taxpayernum:
  9813. description: 纳税人识别号
  9814. type: string
  9815. telphone:
  9816. description: 联系电话
  9817. type: string
  9818. userid:
  9819. description: 用户ID
  9820. type: integer
  9821. userinfotype:
  9822. description: 客户类型 1-个人 2-企业
  9823. type: integer
  9824. username:
  9825. description: 用户名称
  9826. type: string
  9827. type: object
  9828. models.QhjParentAreaList:
  9829. properties:
  9830. accountname:
  9831. description: 账户名称(机构名称)
  9832. type: string
  9833. userid:
  9834. description: 用户ID
  9835. type: integer
  9836. usertype:
  9837. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  9838. type: integer
  9839. type: object
  9840. models.QhjPayOrder:
  9841. properties:
  9842. buyaccountid:
  9843. description: 买方账号ID[报价币种]
  9844. type: integer
  9845. buyorderid:
  9846. description: 买方委托单号
  9847. type: string
  9848. createtime:
  9849. description: 创建时间
  9850. type: string
  9851. goodscode:
  9852. description: 商品代码
  9853. type: string
  9854. goodsid:
  9855. description: 商品ID
  9856. type: integer
  9857. goodsname:
  9858. description: 商品名称
  9859. type: string
  9860. marketid:
  9861. description: 市场ID
  9862. type: integer
  9863. offamount:
  9864. description: 优惠金额
  9865. type: number
  9866. operatetype:
  9867. description: 买委托操作类型 - 1:正常下单 16:融资买入
  9868. type: integer
  9869. payamount:
  9870. description: 支付金额=TradeAmount + TradeCharge
  9871. type: number
  9872. payflag:
  9873. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  9874. type: integer
  9875. paylimitedtime:
  9876. description: 支付期限
  9877. type: string
  9878. paytime:
  9879. description: 付款时间
  9880. type: string
  9881. sellaccountid:
  9882. description: 卖方账号ID[报价币种]
  9883. type: integer
  9884. sellorderid:
  9885. description: 卖方委托单号
  9886. type: string
  9887. tradeamount:
  9888. description: 成交金额(优惠后金额)
  9889. type: number
  9890. tradecharge:
  9891. description: 成交手续费(买方)
  9892. type: number
  9893. tradedate:
  9894. description: 交易日(yyyyMMdd)
  9895. type: string
  9896. tradeid:
  9897. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9898. type: string
  9899. tradeprice:
  9900. description: 成交价格
  9901. type: number
  9902. tradeqty:
  9903. description: 成交数量
  9904. type: integer
  9905. type: object
  9906. models.QhjPickArea:
  9907. properties:
  9908. address:
  9909. description: 详细地址
  9910. type: string
  9911. cityid:
  9912. description: 市
  9913. type: integer
  9914. cityname:
  9915. description: 城市名称
  9916. type: string
  9917. countryid:
  9918. description: 国家
  9919. type: integer
  9920. countryname:
  9921. description: 国家名称
  9922. type: string
  9923. districtid:
  9924. description: 地区
  9925. type: integer
  9926. districtname:
  9927. description: 地区名称
  9928. type: string
  9929. fromuserid:
  9930. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  9931. type: integer
  9932. fromusername:
  9933. description: 所属机构名称
  9934. type: string
  9935. provinceid:
  9936. description: 省
  9937. type: integer
  9938. provincename:
  9939. description: 省名称
  9940. type: string
  9941. suborgtype:
  9942. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  9943. type: integer
  9944. userid:
  9945. description: 机构用户ID 其他做市关系,都设置为 1
  9946. type: integer
  9947. username:
  9948. description: 机构用户名称(门店门称)
  9949. type: string
  9950. type: object
  9951. models.QhjPickGoods:
  9952. properties:
  9953. imageaddress:
  9954. description: 图片
  9955. type: string
  9956. modifierid:
  9957. description: 修改人
  9958. type: integer
  9959. modifiername:
  9960. description: 修改人名称
  9961. type: string
  9962. modifysrc:
  9963. description: 修改来源 - 1:管理端 2:终端
  9964. type: integer
  9965. pickupgoodsagreeunit:
  9966. description: 合约乘数
  9967. type: number
  9968. pickupgoodsdesc:
  9969. description: 描述
  9970. type: string
  9971. pickupgoodsid:
  9972. description: 提货商品ID
  9973. type: string
  9974. pickupgoodsname:
  9975. description: 提货商品名称
  9976. type: string
  9977. pickupgoodsstatus:
  9978. description: 状态 - 1:正常 2:停用 3:注销
  9979. type: integer
  9980. pickupgoodsunitid:
  9981. description: 单位ID
  9982. type: integer
  9983. preparedays:
  9984. description: 备货期(天)
  9985. type: integer
  9986. remark:
  9987. description: 备注
  9988. type: string
  9989. updatetime:
  9990. description: 更新时间
  9991. type: string
  9992. type: object
  9993. models.QhjRSTriggerLog:
  9994. properties:
  9995. accountid:
  9996. description: 用户资金账户
  9997. type: integer
  9998. accountname:
  9999. description: 账号名称(ACCOUNTID对应的名称)
  10000. type: string
  10001. currencyid:
  10002. description: 币种id
  10003. type: integer
  10004. currencyname:
  10005. description: 币种名称
  10006. type: string
  10007. enumdicname:
  10008. description: 单位名称
  10009. type: string
  10010. goodscode:
  10011. description: 定投商品代码
  10012. type: string
  10013. goodsid:
  10014. description: 定投商品ID
  10015. type: string
  10016. goodsname:
  10017. description: 定投商品名称
  10018. type: string
  10019. goodunitid:
  10020. description: 定投商品单位id
  10021. type: integer
  10022. logid:
  10023. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  10024. type: string
  10025. regularlycycle:
  10026. description: 定投频率 - 1:每周 2:每月
  10027. type: integer
  10028. regularlycyclevalue:
  10029. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  10030. type: string
  10031. regularlymode:
  10032. description: 定投方式 - 1:按数量 2:按金额
  10033. type: integer
  10034. regularlymodevalue:
  10035. description: 定投方式值 - 数量或金额
  10036. type: number
  10037. regularlystrategyid:
  10038. description: 定投策略ID
  10039. type: integer
  10040. retcode:
  10041. description: 错误码
  10042. type: string
  10043. tradeid:
  10044. description: 成交单ID
  10045. type: string
  10046. triggeramount:
  10047. description: 触发金额
  10048. type: number
  10049. triggerqty:
  10050. description: 触发数量
  10051. type: number
  10052. triggerstatus:
  10053. description: 触发状态 - 1:成功 2:失败
  10054. type: integer
  10055. triggertime:
  10056. description: 触发时间
  10057. type: string
  10058. triggertradedate:
  10059. description: 触发交易日
  10060. type: string
  10061. userid:
  10062. description: 所属用户ID
  10063. type: integer
  10064. username:
  10065. description: 用户名称(userid对应的名称)
  10066. type: string
  10067. type: object
  10068. models.QhjRStrategy:
  10069. properties:
  10070. accountid:
  10071. description: 用户资金账户
  10072. type: integer
  10073. accountname:
  10074. description: 账号名称(ACCOUNTID对应的名称)
  10075. type: string
  10076. currencyid:
  10077. description: 币种id
  10078. type: integer
  10079. currencyname:
  10080. description: 币种名称
  10081. type: string
  10082. enumdicname:
  10083. description: 单位名称
  10084. type: string
  10085. goodscode:
  10086. description: 定投商品代码
  10087. type: string
  10088. goodsid:
  10089. description: 定投商品ID
  10090. type: string
  10091. goodsname:
  10092. description: 定投商品名称
  10093. type: string
  10094. goodunitid:
  10095. description: 定投商品单位id
  10096. type: integer
  10097. lasteffecttradedate:
  10098. description: 最新生效交易日
  10099. type: string
  10100. laststoptradedate:
  10101. description: 最新暂停交易日
  10102. type: string
  10103. lasttriggertradedate:
  10104. description: 最新触发交易日
  10105. type: string
  10106. nexttriggeramount:
  10107. description: 下次触发金额
  10108. type: number
  10109. nexttriggerdate:
  10110. description: 下次触发日期
  10111. type: string
  10112. nexttriggerqty:
  10113. description: 下次触发数量 [按小数位放大值]
  10114. type: number
  10115. regularlycycle:
  10116. description: 定投频率 - 1:每周 2:每月
  10117. type: integer
  10118. regularlycyclevalue:
  10119. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  10120. type: string
  10121. regularlymode:
  10122. description: 定投方式 - 1:按数量 2:按金额
  10123. type: integer
  10124. regularlymodevalue:
  10125. description: 定投方式值 - 数量或金额
  10126. type: number
  10127. regularlystrategyid:
  10128. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  10129. type: integer
  10130. regularlystrategystatus:
  10131. description: 策略状态 - 1:正常 2:暂停 3:终止
  10132. type: integer
  10133. remark:
  10134. description: 备注
  10135. type: string
  10136. triggersuccesstimes:
  10137. description: 累计定投成功次数
  10138. type: string
  10139. triggertotalamount:
  10140. description: 累计定投金额(成功)
  10141. type: number
  10142. triggertotalqty:
  10143. description: 累计定投数量(成功) [按小数位放大值]
  10144. type: number
  10145. triggertotaltimes:
  10146. description: 累计定投总次数
  10147. type: string
  10148. updatesrc:
  10149. description: 更新来源 - 1:管理端 2:终端
  10150. type: integer
  10151. updatetime:
  10152. description: 更新时间
  10153. type: string
  10154. updatorid:
  10155. description: 更新人
  10156. type: string
  10157. userid:
  10158. description: 所属用户ID
  10159. type: integer
  10160. username:
  10161. description: 用户名称(userid对应的名称)
  10162. type: string
  10163. type: object
  10164. models.QhjReckonPriceLog:
  10165. properties:
  10166. goodsid:
  10167. description: 商品ID
  10168. type: integer
  10169. lastreckonprice:
  10170. description: 上日结算价
  10171. type: number
  10172. nextdnlimitprice:
  10173. description: 下个交易日跌停价
  10174. type: number
  10175. nexttrade:
  10176. description: 下个交易日
  10177. type: string
  10178. nextuplimitprice:
  10179. description: 下个交易日涨停价
  10180. type: number
  10181. reckonprice:
  10182. description: 今日结算价(定投价)
  10183. type: number
  10184. reckontime:
  10185. description: 结算时间
  10186. type: string
  10187. totalholderqty:
  10188. description: 总持仓数
  10189. type: integer
  10190. totalstock:
  10191. description: 总库存
  10192. type: integer
  10193. tradedate:
  10194. description: 交易日
  10195. type: string
  10196. updowncount:
  10197. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  10198. type: integer
  10199. updownflag:
  10200. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  10201. type: integer
  10202. updownrate:
  10203. description: 今日涨跌幅
  10204. type: number
  10205. updownrate_2d:
  10206. description: 连续两日涨跌幅
  10207. type: number
  10208. updownrate_3d:
  10209. description: 连续三日涨跌幅
  10210. type: number
  10211. type: object
  10212. models.QhjSiteColumnDetail:
  10213. properties:
  10214. author:
  10215. description: 作者
  10216. type: string
  10217. brief:
  10218. description: 简介
  10219. type: string
  10220. columnid:
  10221. description: 所属栏目
  10222. type: integer
  10223. context:
  10224. description: 内容
  10225. type: string
  10226. coverimage:
  10227. description: 封面图片
  10228. type: string
  10229. creaedate:
  10230. description: 创建时间
  10231. type: string
  10232. creatorid:
  10233. description: 创建人
  10234. type: integer
  10235. hits:
  10236. description: 点击数
  10237. type: integer
  10238. id:
  10239. description: ID(SEQ_SITE_COLUMNDETAIL)
  10240. type: integer
  10241. isshow:
  10242. description: 是否展示 - 0:不展示 1:展示
  10243. type: integer
  10244. istop:
  10245. description: 是否置顶 - 0:不置 1:置顶
  10246. type: integer
  10247. modifierid:
  10248. description: 操作人
  10249. type: integer
  10250. publishdate:
  10251. description: 发布日期
  10252. type: string
  10253. status:
  10254. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  10255. type: integer
  10256. title:
  10257. description: 标题
  10258. type: string
  10259. updatedate:
  10260. description: 修改时间
  10261. type: string
  10262. userid:
  10263. description: 用户ID(默认为0, 核心为为机构用户ID)
  10264. type: integer
  10265. username:
  10266. description: 用户名称
  10267. type: string
  10268. type: object
  10269. models.QhjTradeGoodsPickup:
  10270. properties:
  10271. accountid:
  10272. description: 账户ID
  10273. type: integer
  10274. address:
  10275. description: 提货人详细地址
  10276. type: string
  10277. amount:
  10278. description: 提货金额
  10279. type: number
  10280. artradedate:
  10281. description: 自动收货交易日(yyyyMMdd)
  10282. type: string
  10283. auditer:
  10284. description: 审核人
  10285. type: integer
  10286. auditsrc:
  10287. description: 更新来源 - 1:管理端 2:终端
  10288. type: integer
  10289. audittime:
  10290. description: 审核时间(发货时间 | 备货完成时间 都是这个字段)
  10291. type: string
  10292. audittradedate:
  10293. description: 审核交易日(yyyyMMdd)
  10294. type: string
  10295. cardnum:
  10296. description: 提货人证件号码
  10297. type: string
  10298. cardtypeid:
  10299. description: 提货人证件类型
  10300. type: integer
  10301. checkremark:
  10302. description: 审核备注
  10303. type: string
  10304. cityid:
  10305. description: 市
  10306. type: integer
  10307. cityname:
  10308. description: 城市名称
  10309. type: string
  10310. confirmtime:
  10311. description: 取货时间 或 收货时间
  10312. type: string
  10313. countryid:
  10314. description: 国家
  10315. type: integer
  10316. countryname:
  10317. description: 国家名称
  10318. type: string
  10319. districtid:
  10320. description: 地区
  10321. type: integer
  10322. districtname:
  10323. description: 地区名称
  10324. type: string
  10325. enumdicname:
  10326. description: 单位名称(提货商品)
  10327. type: string
  10328. expresscompany:
  10329. description: 物流公司
  10330. type: string
  10331. expressnum:
  10332. description: 物流单号
  10333. type: string
  10334. goodsagreeunit:
  10335. description: 交易商品乘数
  10336. type: number
  10337. goodscode:
  10338. description: 商品代码
  10339. type: string
  10340. goodsid:
  10341. description: 商品ID
  10342. type: integer
  10343. goodsname:
  10344. description: 商品名称
  10345. type: string
  10346. goodsqty:
  10347. description: 交易商品手数(69模式按成交量小数位放大取整)
  10348. type: number
  10349. handlestatus:
  10350. description: 处理状态
  10351. type: integer
  10352. marketid:
  10353. description: 市场ID
  10354. type: integer
  10355. phonenum:
  10356. description: 提货人联系方式
  10357. type: string
  10358. pickupgoodsagreeunit:
  10359. description: 提货商品合约乘数
  10360. type: number
  10361. pickupgoodsid:
  10362. description: 提货商品ID
  10363. type: string
  10364. pickupgoodsname:
  10365. description: 提货商品名称
  10366. type: string
  10367. pickupgoodsqty:
  10368. description: 提货商品手数(数量)
  10369. type: number
  10370. pickupgoodsunitid:
  10371. description: 单位ID(提货商品)
  10372. type: integer
  10373. pickupratio:
  10374. description: 提货系数
  10375. type: number
  10376. preparedays:
  10377. description: 备货期(天)-提货单明细表
  10378. type: integer
  10379. provinceid:
  10380. description: 省
  10381. type: integer
  10382. provincename:
  10383. description: 省名称
  10384. type: string
  10385. qty:
  10386. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  10387. type: number
  10388. recivername:
  10389. description: 提货人姓名
  10390. type: string
  10391. reqtime:
  10392. description: 提货申请时间
  10393. type: string
  10394. storeuserid:
  10395. description: 门店用户ID (千海金)
  10396. type: integer
  10397. storeusername:
  10398. description: 门店用户名称
  10399. type: string
  10400. takemode:
  10401. description: 提货方式 - 2:自提 3:配送(邮寄)
  10402. type: integer
  10403. takeorderid:
  10404. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  10405. type: integer
  10406. takeorderstatus:
  10407. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  10408. 7:已拒绝 8:已撤销
  10409. type: integer
  10410. takeremark:
  10411. description: 提货备注
  10412. type: string
  10413. tradedate:
  10414. description: 交易日(yyyyMMdd)
  10415. type: string
  10416. updatetime:
  10417. description: 更新时间
  10418. type: string
  10419. userid:
  10420. description: 用户ID
  10421. type: integer
  10422. username:
  10423. description: 用户名称
  10424. type: string
  10425. type: object
  10426. models.Qhjgoodsex:
  10427. properties:
  10428. canfinance:
  10429. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  10430. type: integer
  10431. canregularlybuy:
  10432. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  10433. type: integer
  10434. defaulttradeuserid:
  10435. description: 默认交易用户ID
  10436. type: integer
  10437. deliverygoodsid:
  10438. description: 现货品种ID
  10439. type: integer
  10440. goodsid:
  10441. description: 商品ID(自增ID SEQ_GOODS)
  10442. type: integer
  10443. minamount:
  10444. description: 最小购买金额
  10445. type: number
  10446. regularlybuyminamount:
  10447. description: 定投最小金额
  10448. type: number
  10449. regularlybuyminqty:
  10450. description: 定投最小数量
  10451. type: number
  10452. spotgoodsbrandid:
  10453. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  10454. type: integer
  10455. wrstandardid:
  10456. description: 现货商品ID
  10457. type: integer
  10458. type: object
  10459. models.QueryErrorInfosRsp:
  10460. properties:
  10461. description:
  10462. description: 异常描述
  10463. type: string
  10464. errorcode:
  10465. description: 异常代码
  10466. type: string
  10467. errorid:
  10468. description: 异常ID
  10469. type: integer
  10470. modulecode:
  10471. description: 所属模块
  10472. type: string
  10473. operatecode:
  10474. description: 所属操作
  10475. type: string
  10476. rownumber:
  10477. description: 行号
  10478. type: string
  10479. required:
  10480. - errorid
  10481. type: object
  10482. models.QueryHedgeOrderDetailRsp:
  10483. properties:
  10484. accountid:
  10485. description: 账户ID
  10486. type: integer
  10487. buyorsell:
  10488. description: 买卖 - 0:买 1:卖
  10489. type: integer
  10490. cancellogincode:
  10491. description: 撤单人
  10492. type: string
  10493. channelbuildtype:
  10494. description: 开平标志 - 0:无 1:建仓 2:平仓
  10495. type: integer
  10496. channelinnerorderstatus:
  10497. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  10498. 9:全部成交
  10499. type: integer
  10500. channeloperatetype:
  10501. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  10502. type: integer
  10503. closetype:
  10504. description: 平仓方式 - 0:无 1:平今 2:平昨
  10505. type: integer
  10506. curexchangerate:
  10507. description: 当前汇率
  10508. type: number
  10509. exchangefullname:
  10510. description: 外部交易所全称
  10511. type: string
  10512. goodscode:
  10513. description: 商品代码(内部)
  10514. type: string
  10515. goodsid:
  10516. description: 商品ID
  10517. type: integer
  10518. goodsname:
  10519. description: 商品名称
  10520. type: string
  10521. marketid:
  10522. description: 市场ID
  10523. type: integer
  10524. openfreezemargin:
  10525. description: 冻结保证金(冻结交易金额)
  10526. type: number
  10527. orderid:
  10528. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10529. type: string
  10530. orderlogincode:
  10531. description: 委托人
  10532. type: string
  10533. orderprice:
  10534. description: 委托价格(账户)
  10535. type: number
  10536. orderqty:
  10537. description: 委托数量
  10538. type: integer
  10539. ordertime:
  10540. description: 委托时间
  10541. type: string
  10542. pricemode:
  10543. description: '取价方式 - 1:市价 2: 限价'
  10544. type: integer
  10545. tradedate:
  10546. description: 交易日(yyyyMMdd)
  10547. type: string
  10548. tradeqty:
  10549. description: 成交数量
  10550. type: integer
  10551. type: object
  10552. models.QueryHedgeTradeDetailRsp:
  10553. properties:
  10554. accountid:
  10555. description: 账号ID
  10556. type: integer
  10557. buyorsell:
  10558. description: 方向 - 0:买 1:卖
  10559. type: integer
  10560. channelbuildtype:
  10561. description: 委托单据类型 0:无 1:建仓 2:平仓
  10562. type: integer
  10563. closecharge:
  10564. description: 平仓手续费(账户)
  10565. type: number
  10566. closecharge2:
  10567. description: 平仓手续费(商品)
  10568. type: number
  10569. closepl:
  10570. description: 平仓盈亏(账户)
  10571. type: number
  10572. closepl2:
  10573. description: 平仓盈亏(商品)
  10574. type: number
  10575. closepl3:
  10576. description: 平仓盈亏(账户)(逐笔)
  10577. type: number
  10578. closepl4:
  10579. description: 平仓盈亏(商品)(逐笔)
  10580. type: number
  10581. closetype:
  10582. description: 平仓方式 - 0:无 1:平今 2:平昨
  10583. type: integer
  10584. curexchangerate:
  10585. description: 当前汇率
  10586. type: number
  10587. exchangefullname:
  10588. description: 外部交易所全称
  10589. type: string
  10590. goodscode:
  10591. description: 商品代码(内部)
  10592. type: string
  10593. goodsid:
  10594. description: 商品ID
  10595. type: integer
  10596. goodsname:
  10597. description: 商品名称
  10598. type: string
  10599. marketid:
  10600. description: 市场ID
  10601. type: integer
  10602. opencharge:
  10603. description: 建仓手续费(账户)
  10604. type: number
  10605. opencharge2:
  10606. description: 建仓手续费(商品)
  10607. type: number
  10608. orderid:
  10609. description: 委托单号
  10610. type: string
  10611. orderlogincode:
  10612. description: 委托人
  10613. type: string
  10614. tradeamount:
  10615. description: 成交金额(账户)
  10616. type: number
  10617. tradedate:
  10618. description: 交易日(yyyyMMdd)
  10619. type: string
  10620. tradeid:
  10621. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10622. type: string
  10623. tradeprice:
  10624. description: 成交价格
  10625. type: number
  10626. tradeqty:
  10627. description: 成交数量
  10628. type: integer
  10629. tradetime:
  10630. description: 成交时间
  10631. type: string
  10632. tradetype:
  10633. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  10634. type: integer
  10635. type: object
  10636. models.QuotePrimaryMenu:
  10637. properties:
  10638. Index:
  10639. description: 序号
  10640. type: integer
  10641. Key:
  10642. description: 键名
  10643. type: string
  10644. Name:
  10645. description: 菜单名称
  10646. type: string
  10647. SubMenus:
  10648. description: 子菜单
  10649. items:
  10650. $ref: '#/definitions/models.QuoteSecondaryMenu'
  10651. type: array
  10652. SubTitleType:
  10653. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  10654. type: integer
  10655. TradeModes:
  10656. description: 包含市场交易类型
  10657. type: string
  10658. type: object
  10659. models.QuoteSecondaryMenu:
  10660. properties:
  10661. ExExchangeCode:
  10662. description: 外部交易所代码
  10663. type: string
  10664. ExExchangeID:
  10665. description: 外部交易所ID
  10666. type: integer
  10667. GoodsGroupIDs:
  10668. description: 商品组ID列表
  10669. items:
  10670. type: integer
  10671. type: array
  10672. Index:
  10673. description: 序号
  10674. type: integer
  10675. MarketID:
  10676. description: 市场ID
  10677. type: integer
  10678. MenuTitle:
  10679. description: 菜单标题(市场名称或外部交易所名称)
  10680. type: string
  10681. TradeMode:
  10682. description: 交易模式
  10683. type: integer
  10684. type: object
  10685. models.SearchGoods:
  10686. properties:
  10687. goodscode:
  10688. description: 商品代码(内部)
  10689. type: string
  10690. goodsid:
  10691. description: 商品ID(自增ID SEQ_GOODS)
  10692. type: integer
  10693. goodsname:
  10694. description: 商品名称
  10695. type: string
  10696. marketid:
  10697. description: 所属市场ID
  10698. type: integer
  10699. marketname:
  10700. description: 市场名称
  10701. type: string
  10702. trademode:
  10703. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10704. 21:竞拍-大宗式 22:受托竞价
  10705. type: integer
  10706. required:
  10707. - goodscode
  10708. - goodsid
  10709. - goodsname
  10710. - marketid
  10711. - trademode
  10712. type: object
  10713. models.Systemparam:
  10714. properties:
  10715. loginid:
  10716. description: 更新用户账号,登录账号
  10717. type: string
  10718. modifyflag:
  10719. description: 修改标志0 不允许修改 1 允许修改
  10720. type: integer
  10721. paramcode:
  10722. description: 参数代码
  10723. type: string
  10724. paramname:
  10725. description: 参数名
  10726. type: string
  10727. paramtype:
  10728. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  10729. type: integer
  10730. paramvalue:
  10731. description: 参数值
  10732. type: string
  10733. paramvalue2:
  10734. description: 参数值(CLOB)
  10735. type: string
  10736. regexpress:
  10737. description: 正则表达式
  10738. type: string
  10739. remark:
  10740. description: 备注
  10741. type: string
  10742. serverip:
  10743. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  10744. type: string
  10745. showflag:
  10746. description: 是否显示0 不显示 1 显示
  10747. type: integer
  10748. updatetime:
  10749. description: 更新时间
  10750. type: string
  10751. userid:
  10752. description: 更新用户ID
  10753. type: integer
  10754. required:
  10755. - paramcode
  10756. type: object
  10757. models.Szdz3convertconfig:
  10758. properties:
  10759. canin:
  10760. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  10761. type: integer
  10762. canout:
  10763. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  10764. type: integer
  10765. converttype:
  10766. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  10767. 6:交易转花生米(不设置)
  10768. type: integer
  10769. createtime:
  10770. description: 创建时间
  10771. type: string
  10772. creatorid:
  10773. description: 创建人
  10774. type: integer
  10775. daymaxvalue:
  10776. description: 当日最大转入限制
  10777. type: number
  10778. freezedays:
  10779. description: 冻结天数 [5:花生米转交易]
  10780. type: integer
  10781. innergoodsid:
  10782. description: 内部商品ID[交易]
  10783. type: integer
  10784. inratio:
  10785. description: 目标值
  10786. type: integer
  10787. modifierid:
  10788. description: 修改人
  10789. type: integer
  10790. modifytime:
  10791. description: 修改时间
  10792. type: string
  10793. outergoodscode:
  10794. description: 外部商品代码[JD\PD]
  10795. type: string
  10796. outratio:
  10797. description: 源值
  10798. type: integer
  10799. pddecimalplace:
  10800. description: PD小数位
  10801. type: integer
  10802. timemaxvalue:
  10803. description: 单次最大转入限制
  10804. type: number
  10805. timeminvalue:
  10806. description: 单次最小转入限制
  10807. type: number
  10808. required:
  10809. - converttype
  10810. - innergoodsid
  10811. - outergoodscode
  10812. type: object
  10813. models.Szdz3searchwhitelist:
  10814. properties:
  10815. createtime:
  10816. description: 创建时间
  10817. type: string
  10818. creatorid:
  10819. description: 创建人
  10820. type: integer
  10821. modifierid:
  10822. description: 修改人
  10823. type: integer
  10824. modifytime:
  10825. description: 修改时间
  10826. type: string
  10827. userid:
  10828. description: 用户ID
  10829. type: integer
  10830. required:
  10831. - userid
  10832. type: object
  10833. models.Taaccount:
  10834. properties:
  10835. accountflag:
  10836. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  10837. type: integer
  10838. accountid:
  10839. description: 资金账户ID
  10840. type: integer
  10841. accountname:
  10842. description: 账户名称
  10843. type: string
  10844. balance:
  10845. description: 期初余额
  10846. type: number
  10847. capitalbalance:
  10848. description: 本金余额[外部子账户实际出入金余额]
  10849. type: number
  10850. changeflag:
  10851. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  10852. type: integer
  10853. changetime:
  10854. description: 账户状态变更时间
  10855. type: string
  10856. closepl:
  10857. description: 今日平仓盈亏
  10858. type: number
  10859. creditdecrease:
  10860. description: 今日授信减少
  10861. type: number
  10862. creditincrease:
  10863. description: 今日授信增加
  10864. type: number
  10865. currencyid:
  10866. description: 货币ID
  10867. type: integer
  10868. currentbalance:
  10869. description: 期末余额
  10870. type: number
  10871. freezecharge:
  10872. description: 手续费冻结
  10873. type: number
  10874. freezemargin:
  10875. description: 冻结保证金
  10876. type: number
  10877. fromaccountid:
  10878. description: 所属上级账户
  10879. type: integer
  10880. inamount:
  10881. description: 今日入金金额(包括三方入金)
  10882. type: number
  10883. ismain:
  10884. description: 是否母账号 0:不是母账户 1:是母账户
  10885. type: integer
  10886. ismarketaccount:
  10887. description: 是否机构接单账号 0:不是 1:是
  10888. type: integer
  10889. isreckonaccount:
  10890. description: 是否机构分润账号 0:不是 1:是
  10891. type: integer
  10892. mortgagecredit:
  10893. description: 授信金额
  10894. type: number
  10895. orifreezecharge:
  10896. description: 期初手续费冻结
  10897. type: number
  10898. orifreezemargin:
  10899. description: 期初冻结保证金
  10900. type: number
  10901. orimortgagecredit:
  10902. description: 期初授信金额
  10903. type: number
  10904. oriothercredit:
  10905. description: 期初其它授信金额
  10906. type: number
  10907. oriotherfreezemargin:
  10908. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  10909. type: number
  10910. orioutamountfreeze:
  10911. description: 期初出金冻结
  10912. type: number
  10913. oriusedmargin:
  10914. description: 期初占用保证金
  10915. type: number
  10916. othercredit:
  10917. description: 其它授信金额
  10918. type: number
  10919. othercreditdecrease:
  10920. description: 今日其它授信减少
  10921. type: number
  10922. othercreditincrease:
  10923. description: 今日其它授信增加
  10924. type: number
  10925. otherfreezemargin:
  10926. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  10927. type: number
  10928. otherincome:
  10929. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  10930. type: number
  10931. otherpay:
  10932. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  10933. type: number
  10934. outamount:
  10935. description: 今日出金金额(包括三方出金)
  10936. type: number
  10937. outamountfreeze:
  10938. description: 出金冻结
  10939. type: number
  10940. outthreshold:
  10941. description: 出金阈值
  10942. type: number
  10943. parentaccountid:
  10944. description: 所属根账号
  10945. type: integer
  10946. paycharge:
  10947. description: 今日手续费支出
  10948. type: number
  10949. relatedaccountstatus:
  10950. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  10951. type: integer
  10952. relateduserid:
  10953. description: 关联用户
  10954. type: integer
  10955. serivcegroup:
  10956. description: 服务分组
  10957. type: integer
  10958. signstatus:
  10959. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  10960. type: integer
  10961. sublevelpath:
  10962. description: 账号层级路径(逗号分隔,首尾加逗号)
  10963. type: string
  10964. taaccounttype:
  10965. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  10966. type: integer
  10967. thirdinamount:
  10968. description: 今日三方入金
  10969. type: number
  10970. thirdoutamount:
  10971. description: 今日三方出金
  10972. type: number
  10973. tradestatus:
  10974. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  10975. type: integer
  10976. tradestatuschangetime:
  10977. description: 激活时间
  10978. type: string
  10979. transferamount:
  10980. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  10981. type: number
  10982. usedmargin:
  10983. description: 占用保证金
  10984. type: number
  10985. userid:
  10986. description: 用户ID
  10987. type: integer
  10988. required:
  10989. - accountid
  10990. - userid
  10991. type: object
  10992. models.Tablecolumnconfig:
  10993. properties:
  10994. aligntype:
  10995. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  10996. type: integer
  10997. autoid:
  10998. description: AutoID
  10999. type: integer
  11000. columnfield:
  11001. description: 列字段
  11002. type: string
  11003. columntitle:
  11004. description: 列Title
  11005. type: string
  11006. columnwidth:
  11007. description: 列宽
  11008. type: string
  11009. formatterstring:
  11010. description: 格式化字符
  11011. type: string
  11012. formattertype:
  11013. description: 格式化类型
  11014. type: string
  11015. groupname:
  11016. description: 表头分组名称
  11017. type: string
  11018. isshow:
  11019. description: 是否显示 - 0:不显示 1:显示
  11020. type: integer
  11021. needsummary:
  11022. description: 是否需要汇总 - 0:不需要 1:需要
  11023. type: integer
  11024. orderindex:
  11025. description: 顺序
  11026. type: integer
  11027. remark:
  11028. description: 备注
  11029. type: string
  11030. summarytype:
  11031. description: 汇总类型 - 1:加总 2:最后一个
  11032. type: integer
  11033. tablekey:
  11034. description: 列表Key
  11035. type: string
  11036. required:
  11037. - autoid
  11038. type: object
  11039. models.UserCollectConfig:
  11040. properties:
  11041. accountstatus:
  11042. description: 账户状态 - 1:正常 2:停用 3:注销
  11043. type: integer
  11044. collectaccountname:
  11045. description: 收款人账户名称
  11046. type: string
  11047. collectaccountno:
  11048. description: 收款人账户
  11049. type: string
  11050. collectbankname:
  11051. description: 收款人开户行
  11052. type: string
  11053. collectbranchbankname:
  11054. description: 收款人开户支行
  11055. type: string
  11056. collectconfigid:
  11057. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  11058. type: string
  11059. remark:
  11060. description: 备注
  11061. type: string
  11062. userid:
  11063. description: 收款人用户ID
  11064. type: integer
  11065. type: object
  11066. models.UserReceiveInfo:
  11067. properties:
  11068. address:
  11069. description: 提货人详细地址
  11070. type: string
  11071. autoid:
  11072. description: AutoID
  11073. type: integer
  11074. cardnum:
  11075. description: 证件号码(加密存储)
  11076. type: string
  11077. cardtypeid:
  11078. description: 证件类型
  11079. type: integer
  11080. cityid:
  11081. description: 市
  11082. type: integer
  11083. cityname:
  11084. description: 城市名称
  11085. type: string
  11086. countryid:
  11087. description: 国家
  11088. type: integer
  11089. countryname:
  11090. description: 国家名称
  11091. type: string
  11092. districtid:
  11093. description: 地区
  11094. type: integer
  11095. districtname:
  11096. description: 地区名称
  11097. type: string
  11098. hasencrypt:
  11099. description: 数据是否已加密 - 0:未加密 1:已加密
  11100. type: integer
  11101. isdefault:
  11102. description: 是否默认地址 - 0:否 1:是
  11103. type: integer
  11104. phonenum:
  11105. description: 提货人联系方式(加密存储)
  11106. type: string
  11107. provinceid:
  11108. description: 省
  11109. type: integer
  11110. provincename:
  11111. description: 省名称
  11112. type: string
  11113. receivername:
  11114. description: 提货人姓名
  11115. type: string
  11116. takeremark:
  11117. description: 提货备注
  11118. type: string
  11119. userid:
  11120. description: 用户ID
  11121. type: integer
  11122. type: object
  11123. models.Useraccount:
  11124. properties:
  11125. accountname:
  11126. description: 账户名称(机构名称)
  11127. type: string
  11128. accountstatus:
  11129. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  11130. type: integer
  11131. applysrc:
  11132. description: 申请来源 - 1:管理端 2:终端
  11133. type: integer
  11134. auditremark:
  11135. description: 审核备注
  11136. type: string
  11137. auditsrc:
  11138. description: 审核来源 - 1:管理端 2:终端
  11139. type: integer
  11140. audittime:
  11141. description: 审核时间
  11142. type: string
  11143. audituserid:
  11144. description: 审核人
  11145. type: integer
  11146. broker:
  11147. description: 所属经纪人ID
  11148. type: integer
  11149. canceltime:
  11150. description: 销户时间
  11151. type: string
  11152. canceluserid:
  11153. description: 销户人
  11154. type: integer
  11155. canrecommend:
  11156. description: 是否可推荐 - 0:不可 1;可
  11157. type: integer
  11158. createtime:
  11159. description: 创建时间
  11160. type: string
  11161. creatorid:
  11162. description: 创建人
  11163. type: integer
  11164. hasauth:
  11165. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  11166. type: integer
  11167. isanonymous:
  11168. description: 是否匿名下单 - 0:否 1:是
  11169. type: integer
  11170. maxinvestornum:
  11171. description: 最大用户数(经纪会员下投资者个数)
  11172. type: integer
  11173. memberuserid:
  11174. description: 所属会员ID
  11175. type: integer
  11176. modifierid:
  11177. description: 修改人
  11178. type: integer
  11179. modifyremark:
  11180. description: 变更备注
  11181. type: string
  11182. modifystatus:
  11183. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  11184. type: integer
  11185. modifytime:
  11186. description: 修改时间
  11187. type: string
  11188. parenttopuser:
  11189. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  11190. type: string
  11191. parentuserid:
  11192. description: 所属机构ID
  11193. type: integer
  11194. reckonaccountid:
  11195. description: 默认结算资金账号ID(机构分润使用) 作废
  11196. type: integer
  11197. refercount:
  11198. description: 推荐总人数
  11199. type: integer
  11200. refereeuserid:
  11201. description: 推荐人ID
  11202. type: integer
  11203. refernum:
  11204. description: 推荐码
  11205. type: string
  11206. rootuserid:
  11207. description: 根用户ID
  11208. type: integer
  11209. subaccountlevel:
  11210. description: 子账户层数
  11211. type: integer
  11212. subarealevelpath:
  11213. description: 子机构层级路径(逗号分隔,首尾加逗号)
  11214. type: string
  11215. userid:
  11216. description: 用户ID
  11217. type: integer
  11218. usertype:
  11219. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  11220. type: integer
  11221. required:
  11222. - userid
  11223. type: object
  11224. models.Userfavoritegoods:
  11225. properties:
  11226. goodsid:
  11227. description: 商品ID
  11228. type: integer
  11229. required:
  11230. - goodsid
  11231. type: object
  11232. models.Userinfo:
  11233. properties:
  11234. address:
  11235. description: 地址
  11236. type: string
  11237. attachment1:
  11238. description: 附件1
  11239. type: string
  11240. attachment2:
  11241. description: 附件2
  11242. type: string
  11243. bankaccount:
  11244. description: 银行帐号 (加密存储)
  11245. type: string
  11246. bankaccountname:
  11247. description: 收款人名称
  11248. type: string
  11249. bankcardfrontphotourl:
  11250. description: 银行卡正面照地址
  11251. type: string
  11252. bankid:
  11253. description: 银行编码
  11254. type: string
  11255. bankname:
  11256. description: 银行名称
  11257. type: string
  11258. biznature:
  11259. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  11260. type: integer
  11261. bizscope:
  11262. description: 企业经营范围(企业)
  11263. type: string
  11264. cardbackphotourl:
  11265. description: 证件背面图片地址
  11266. type: string
  11267. cardfrontphotourl:
  11268. description: 证件正面图片地址
  11269. type: string
  11270. cardnum:
  11271. description: 证件号码(加密存储)
  11272. type: string
  11273. cardtypeid:
  11274. description: 证件类型ID
  11275. type: integer
  11276. cityid:
  11277. description: 市
  11278. type: integer
  11279. company:
  11280. description: 公司(个人)
  11281. type: string
  11282. contactname:
  11283. description: 联系人
  11284. type: string
  11285. countryid:
  11286. description: 国家
  11287. type: integer
  11288. createtime:
  11289. description: 创建时间
  11290. type: string
  11291. creatorid:
  11292. description: 创建人
  11293. type: integer
  11294. customername:
  11295. description: 客户名称(企业名称)
  11296. type: string
  11297. districtid:
  11298. description: 地区
  11299. type: integer
  11300. email:
  11301. description: 邮件(加密存储)
  11302. type: string
  11303. fax:
  11304. description: 传真(加密存储)
  11305. type: string
  11306. halfbodyphotourl:
  11307. description: 半身照地址
  11308. type: string
  11309. hasencrypt:
  11310. description: 数据是否已加密 - 0:未加密 1:已加密
  11311. type: integer
  11312. headurl:
  11313. description: 头像地址
  11314. type: string
  11315. legalcardbackphotourl:
  11316. description: 法人身份证背面照地址
  11317. type: string
  11318. legalcardfrontphotourl:
  11319. description: 法人身份证正面照地址
  11320. type: string
  11321. legalpersonname:
  11322. description: 法人姓名(企业)
  11323. type: string
  11324. mobile:
  11325. description: 手机号码(加密存储)
  11326. type: string
  11327. mobile2:
  11328. description: 手机号码[明文-尚志]
  11329. type: string
  11330. modifierid:
  11331. description: 修改人
  11332. type: integer
  11333. modifiertime:
  11334. description: 修改时间
  11335. type: string
  11336. needinvoice:
  11337. description: 是否需要发票 - 0:不需要 1:需要
  11338. type: integer
  11339. nickname:
  11340. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  11341. type: string
  11342. openmode:
  11343. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  11344. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  11345. type: integer
  11346. otherurl:
  11347. description: 其它图片地址[使用分号分隔]
  11348. type: string
  11349. postalcode:
  11350. description: 邮政编码
  11351. type: string
  11352. provinceid:
  11353. description: 省
  11354. type: integer
  11355. qq:
  11356. description: QQ(加密存储
  11357. type: string
  11358. remark:
  11359. description: 备注
  11360. type: string
  11361. sex:
  11362. description: '用户性别 0: 女 1: 男'
  11363. type: integer
  11364. signpdfurl:
  11365. description: 签约pdf文件
  11366. type: string
  11367. telphone:
  11368. description: 联系电话(加密存储)
  11369. type: string
  11370. userid:
  11371. description: 用户ID
  11372. type: integer
  11373. userinfotype:
  11374. description: 用户信息类型 - 1:个人 2:企业
  11375. type: integer
  11376. userstatus:
  11377. description: 用户状态 - 1:正常 2:注销
  11378. type: integer
  11379. usertype:
  11380. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  11381. type: integer
  11382. wechat:
  11383. description: 微信(加密存储)
  11384. type: string
  11385. wskhinfo:
  11386. description: 开户申请信息(JSON)
  11387. type: string
  11388. required:
  11389. - userid
  11390. type: object
  11391. models.WRSConverTDetail:
  11392. properties:
  11393. convertratio:
  11394. description: 套保系数
  11395. type: number
  11396. deliverygoodscode:
  11397. description: 现货商品代码
  11398. type: string
  11399. deliverygoodsid:
  11400. description: 现货品种ID
  11401. type: integer
  11402. deliverygoodsname:
  11403. description: 现货商品名称
  11404. type: string
  11405. enumdicname:
  11406. description: 单位名称
  11407. type: string
  11408. goodsunitid:
  11409. description: 套保品种单位id
  11410. type: integer
  11411. middlegoodscode:
  11412. description: 套保品种代码
  11413. type: string
  11414. middlegoodsid:
  11415. description: 套保品种ID
  11416. type: integer
  11417. middlegoodsname:
  11418. description: 套保品种名称
  11419. type: string
  11420. modifytime:
  11421. description: 修改时间
  11422. type: string
  11423. wrstandardid:
  11424. description: 品类ID
  11425. type: integer
  11426. type: object
  11427. models.WRStandardInfo:
  11428. properties:
  11429. areauserid:
  11430. description: 所属机构
  11431. type: integer
  11432. convertfactor:
  11433. description: 标仓系数
  11434. type: number
  11435. createtime:
  11436. description: 创建时间
  11437. type: string
  11438. creatorid:
  11439. description: 创建人
  11440. type: integer
  11441. deliverygoodsid:
  11442. description: 品种ID
  11443. type: integer
  11444. deliverygoodsname:
  11445. description: 交割商品名称
  11446. type: string
  11447. factoryitemjson:
  11448. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  11449. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  11450. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  11451. 逗号分隔'
  11452. type: string
  11453. isvalid:
  11454. description: 是否有效 - 0:无效 1:有效
  11455. type: integer
  11456. minivalue:
  11457. description: 最小变动值
  11458. type: integer
  11459. minivaluedp:
  11460. description: 最小变动值小数位
  11461. type: integer
  11462. realminivalue:
  11463. description: 实际最小变动值
  11464. type: integer
  11465. realminivaluedp:
  11466. description: 实际最小变动值小数位
  11467. type: integer
  11468. remark:
  11469. description: 备注
  11470. type: string
  11471. unitid:
  11472. description: 单位ID
  11473. type: integer
  11474. unitname:
  11475. description: 单位
  11476. type: string
  11477. updatetime:
  11478. description: 更新时间
  11479. type: string
  11480. updatorid:
  11481. description: 更新人
  11482. type: integer
  11483. wrsstatus:
  11484. description: 状态 - 作废 - 0:未激活 1:正常
  11485. type: integer
  11486. wrstandardcode:
  11487. description: 现货品类代码
  11488. type: string
  11489. wrstandardid:
  11490. description: 现货品类ID(SEQ_WRSTANDARD)
  11491. type: integer
  11492. wrstandardname:
  11493. description: 现货品类名称
  11494. type: string
  11495. required:
  11496. - wrstandardid
  11497. type: object
  11498. models.Warehouseinfo:
  11499. properties:
  11500. address:
  11501. description: 详细地址
  11502. type: string
  11503. areauserid:
  11504. description: 所属机构
  11505. type: integer
  11506. autoid:
  11507. description: 自增ID
  11508. type: integer
  11509. cityid:
  11510. description: 市
  11511. type: integer
  11512. contactname:
  11513. description: 联系人
  11514. type: string
  11515. contactnum:
  11516. description: 联系电话
  11517. type: string
  11518. countryid:
  11519. description: 国家
  11520. type: integer
  11521. createtime:
  11522. description: 创建时间
  11523. type: string
  11524. districtid:
  11525. description: 区
  11526. type: integer
  11527. hasvideo:
  11528. description: 是否有视频 - 0:无 1:有
  11529. type: integer
  11530. provinceid:
  11531. description: 省
  11532. type: integer
  11533. remark:
  11534. description: 审核备注
  11535. type: string
  11536. videourl:
  11537. description: 视频地址
  11538. type: string
  11539. warehousecode:
  11540. description: 仓库代码
  11541. type: string
  11542. warehousename:
  11543. description: 仓库名称
  11544. type: string
  11545. warehousestatus:
  11546. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  11547. type: integer
  11548. warehousetype:
  11549. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  11550. type: integer
  11551. required:
  11552. - autoid
  11553. - warehousecode
  11554. type: object
  11555. order.QueryHisTradeDetailRsp:
  11556. properties:
  11557. accountid:
  11558. description: 账户ID[报价币种]
  11559. type: integer
  11560. buildtype:
  11561. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  11562. type: integer
  11563. buyorsell:
  11564. description: 方向 - 0:买 1:卖
  11565. type: integer
  11566. charge:
  11567. description: 手续费
  11568. type: number
  11569. closecharge:
  11570. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  11571. type: number
  11572. closeexchagechargevalue:
  11573. description: 平仓交易所手续费设置值
  11574. type: number
  11575. closefeealgorithm:
  11576. description: 平仓手续费收取方式 1:比率 2:固定
  11577. type: integer
  11578. closememberchargevalue:
  11579. description: 平仓会员手续费设置值
  11580. type: number
  11581. closepl:
  11582. description: 平仓盈亏
  11583. type: number
  11584. closepl2:
  11585. description: 平仓盈亏[逐笔]
  11586. type: number
  11587. closeqty:
  11588. description: 平仓数量(先建后平操作 需要记录)
  11589. type: integer
  11590. creditamount:
  11591. description: 授信金额
  11592. type: number
  11593. gcaccountid:
  11594. description: 账户ID[合约币种]
  11595. type: integer
  11596. goodscode:
  11597. description: 商品代码
  11598. type: string
  11599. goodsid:
  11600. description: 商品ID
  11601. type: integer
  11602. goodsname:
  11603. description: 商品名称
  11604. type: string
  11605. histradedate:
  11606. description: 历史交易日
  11607. type: string
  11608. intclosepl:
  11609. description: 整型盈亏(用于交易结算试算平衡-收益权)
  11610. type: integer
  11611. isconfirmexercise:
  11612. description: 是否确认行权- 0:否 1:是
  11613. type: integer
  11614. ismain:
  11615. description: 是否主单 - 0:不是 1:是
  11616. type: integer
  11617. ispreexercise:
  11618. description: 是否预申报- 0:否 1:是
  11619. type: integer
  11620. isreckoned:
  11621. description: 是否结算 - 0:未结算 1:已结算
  11622. type: integer
  11623. isvaliddata:
  11624. description: 是否有效 - 0:无效 1:有效
  11625. type: integer
  11626. listingselecttype:
  11627. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  11628. type: integer
  11629. marketid:
  11630. description: 市场ID
  11631. type: integer
  11632. marketname:
  11633. description: 市场名称
  11634. type: string
  11635. matchaccountid:
  11636. description: 对手账号id
  11637. type: integer
  11638. memberuserid:
  11639. description: 会员id 个人投资者 需要填写
  11640. type: integer
  11641. opencharge:
  11642. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  11643. type: number
  11644. openexchagechargevalue:
  11645. description: 建仓交易所手续费设置值
  11646. type: number
  11647. openfeealgorithm:
  11648. description: 建仓手续费收取方式 1:比率 2:固定
  11649. type: integer
  11650. openmemberchargevalue:
  11651. description: 建仓会员手续费设置值
  11652. type: number
  11653. openqty:
  11654. description: 开仓数量(先建后平操作 需要记录)
  11655. type: integer
  11656. optiontype:
  11657. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  11658. type: integer
  11659. orderid:
  11660. description: 委托单号
  11661. type: string
  11662. performanceplanid:
  11663. description: 履约计划ID[期权]
  11664. type: integer
  11665. performancestatus:
  11666. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  11667. type: integer
  11668. preexerciseprice:
  11669. description: 预申报价格
  11670. type: number
  11671. premium:
  11672. description: 权利金 - [持仓单的权利金]
  11673. type: number
  11674. relatedouttradeid:
  11675. description: 关联外部成交单ID
  11676. type: integer
  11677. status:
  11678. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  11679. type: integer
  11680. tradeamount:
  11681. description: 成交金额[账户币种,用于所有权]
  11682. type: number
  11683. tradedate:
  11684. description: 交易日(yyyyMMdd)
  11685. type: string
  11686. tradeid:
  11687. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11688. type: string
  11689. trademode:
  11690. description: 交易模式
  11691. type: integer
  11692. tradeprice:
  11693. description: 成交价格
  11694. type: number
  11695. tradeproperty:
  11696. description: 交易属性
  11697. type: integer
  11698. tradeqty:
  11699. description: 成交数量
  11700. type: integer
  11701. tradetime:
  11702. description: 成交时间
  11703. type: string
  11704. tradetype:
  11705. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  11706. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  11707. type: integer
  11708. required:
  11709. - accountid
  11710. - buyorsell
  11711. - goodsid
  11712. - histradedate
  11713. - marketid
  11714. - memberuserid
  11715. - orderid
  11716. - tradeamount
  11717. - tradedate
  11718. - tradeid
  11719. - tradeprice
  11720. - tradeqty
  11721. - tradetime
  11722. type: object
  11723. order.QueryHisTradeOrderDetailRsp:
  11724. properties:
  11725. accountid:
  11726. description: 账户ID[报价币种]
  11727. type: integer
  11728. buildtype:
  11729. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  11730. type: integer
  11731. buyorsell:
  11732. description: 买卖 - 0:买 1:卖
  11733. type: integer
  11734. cancelorderid:
  11735. description: 撤单单号(撤单时填写)
  11736. type: string
  11737. cancelqty:
  11738. description: 撤单数量
  11739. type: integer
  11740. clientordertime:
  11741. description: 客户端委托时间
  11742. type: string
  11743. clientticket:
  11744. description: 客户端流水号
  11745. type: string
  11746. clienttype:
  11747. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  11748. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  11749. type: integer
  11750. closeexchagechargevalue:
  11751. description: 平仓交易所手续费设置值
  11752. type: number
  11753. closefeealgorithm:
  11754. description: 平仓手续费收取方式 1:比率 2:固定
  11755. type: integer
  11756. closefreezecharge:
  11757. description: 平仓冻结手续费(先建后平操作,需要记录)
  11758. type: number
  11759. closememberchargevalue:
  11760. description: 平仓会员手续费设置值
  11761. type: number
  11762. closeqty:
  11763. description: 平仓数量(先建后平操作 需要记录)
  11764. type: integer
  11765. closetradeqty:
  11766. description: 平仓成交数量(先建后平操作,需要记录)
  11767. type: integer
  11768. closeunfreezecharge:
  11769. description: 平仓解冻手续费(先建后平操作,需要记录)
  11770. type: number
  11771. delistingtype:
  11772. description: 摘牌类型 - 1:价格最优 2:点选成交
  11773. type: integer
  11774. freezecharge:
  11775. description: 冻结手续费
  11776. type: number
  11777. freezemargin:
  11778. description: 冻结保证金(冻结交易金额)
  11779. type: number
  11780. gcaccountid:
  11781. description: 账户ID[合约币种]
  11782. type: integer
  11783. goodscode:
  11784. description: 商品代码
  11785. type: string
  11786. goodsid:
  11787. description: 商品ID
  11788. type: integer
  11789. goodsname:
  11790. description: 商品名称
  11791. type: string
  11792. histradedate:
  11793. description: 历史交易日
  11794. type: string
  11795. isconfirmexercise:
  11796. description: 是否确认行权- 0:否 1:是
  11797. type: integer
  11798. ispreexercise:
  11799. description: 是否预申报- 0:否 1:是
  11800. type: integer
  11801. isvaliddata:
  11802. description: 是否有效 - 0:无效 1:有效
  11803. type: integer
  11804. listingselecttype:
  11805. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  11806. type: integer
  11807. marginalgorithm:
  11808. description: 保证金收取方式 1:比率 2:固定
  11809. type: integer
  11810. marginvalue:
  11811. description: 即市保证金设置值
  11812. type: number
  11813. marketid:
  11814. description: 市场ID
  11815. type: integer
  11816. marketmaxsub:
  11817. description: 市价最大偏移范围
  11818. type: number
  11819. marketname:
  11820. description: 市场名称
  11821. type: string
  11822. memberuserid:
  11823. description: 所属会员UserID
  11824. type: integer
  11825. openexchagechargevalue:
  11826. description: 建仓交易所手续费设置值
  11827. type: number
  11828. openfeealgorithm:
  11829. description: 建仓手续费收取方式 1:比率 2:固定
  11830. type: integer
  11831. openfreezecharge:
  11832. description: 开仓冻结手续费(先建后平操作,需要记录)
  11833. type: number
  11834. openmemberchargevalue:
  11835. description: 建仓会员手续费设置值
  11836. type: number
  11837. openqty:
  11838. description: 开仓数量(先建后平操作,需要记录)
  11839. type: integer
  11840. opentradeqty:
  11841. description: 开仓成交数量(先建后平操作,需要记录)
  11842. type: integer
  11843. openunfreezecharge:
  11844. description: 开仓解冻手续费(先建后平操作,需要记录)
  11845. type: number
  11846. operatetype:
  11847. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  11848. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  11849. 15:管理端协议转让
  11850. type: integer
  11851. operatorid:
  11852. description: 登录账号(LoginID)
  11853. type: integer
  11854. optiontype:
  11855. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  11856. type: integer
  11857. orderid:
  11858. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11859. type: string
  11860. orderprice:
  11861. description: 委托价格
  11862. type: number
  11863. orderqty:
  11864. description: 委托数量
  11865. type: integer
  11866. ordersrc:
  11867. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  11868. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  11869. type: integer
  11870. orderstatus:
  11871. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  11872. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  11873. 16:成交失败违约(荷兰式竞拍专用)
  11874. type: integer
  11875. ordertime:
  11876. description: 委托时间
  11877. type: string
  11878. preexerciseprice:
  11879. description: 预申报价格
  11880. type: number
  11881. premium:
  11882. description: 权利金
  11883. type: number
  11884. preorderid:
  11885. description: 关联预埋单号(止盈止损单时填写)
  11886. type: string
  11887. pricemode:
  11888. description: '取价方式 - 1:市价 2: 限价'
  11889. type: integer
  11890. quoteid:
  11891. description: 报价单ID
  11892. type: integer
  11893. relatedid:
  11894. description: 关联单号(交割单)
  11895. type: string
  11896. retcode:
  11897. description: 错误代码
  11898. type: integer
  11899. sessionid:
  11900. description: 会话ID
  11901. type: integer
  11902. tradedate:
  11903. description: 交易日(yyyyMMdd)
  11904. type: string
  11905. trademode:
  11906. description: 交易模式
  11907. type: integer
  11908. tradeproperty:
  11909. description: 交易属性
  11910. type: integer
  11911. tradeqty:
  11912. description: 成交数量
  11913. type: integer
  11914. unfreezecharge:
  11915. description: 解冻手续费
  11916. type: number
  11917. unfreezemargin:
  11918. description: 解冻保证金
  11919. type: number
  11920. updatetime:
  11921. description: 更新时间
  11922. type: string
  11923. uuid:
  11924. description: 发起端唯一id
  11925. type: string
  11926. validtime:
  11927. description: 有效期限
  11928. type: string
  11929. validtype:
  11930. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  11931. type: integer
  11932. volumetype:
  11933. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  11934. type: integer
  11935. required:
  11936. - accountid
  11937. - buildtype
  11938. - buyorsell
  11939. - goodsid
  11940. - histradedate
  11941. - marketid
  11942. - memberuserid
  11943. - operatetype
  11944. - orderid
  11945. - orderqty
  11946. - ordertime
  11947. - pricemode
  11948. - tradedate
  11949. - validtype
  11950. type: object
  11951. order.QueryTradeDetailRsp:
  11952. properties:
  11953. accountid:
  11954. description: 账户ID[报价币种]
  11955. type: integer
  11956. buildtype:
  11957. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  11958. type: integer
  11959. buyorsell:
  11960. description: 方向 - 0:买 1:卖
  11961. type: integer
  11962. charge:
  11963. description: 手续费
  11964. type: number
  11965. closecharge:
  11966. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  11967. type: number
  11968. closeexchagechargevalue:
  11969. description: 平仓交易所手续费设置值
  11970. type: number
  11971. closefeealgorithm:
  11972. description: 平仓手续费收取方式 1:比率 2:固定
  11973. type: integer
  11974. closememberchargevalue:
  11975. description: 平仓会员手续费设置值
  11976. type: number
  11977. closepl:
  11978. description: 平仓盈亏
  11979. type: number
  11980. closepl2:
  11981. description: 平仓盈亏[逐笔]
  11982. type: number
  11983. closeqty:
  11984. description: 平仓数量(先建后平操作 需要记录)
  11985. type: integer
  11986. creditamount:
  11987. description: 授信金额
  11988. type: number
  11989. gcaccountid:
  11990. description: 账户ID[合约币种]
  11991. type: integer
  11992. goodscode:
  11993. description: 商品代码
  11994. type: string
  11995. goodsid:
  11996. description: 商品ID
  11997. type: integer
  11998. goodsname:
  11999. description: 商品名称
  12000. type: string
  12001. intclosepl:
  12002. description: 整型盈亏(用于交易结算试算平衡-收益权)
  12003. type: integer
  12004. isconfirmexercise:
  12005. description: 是否确认行权- 0:否 1:是
  12006. type: integer
  12007. ismain:
  12008. description: 是否主单 - 0:不是 1:是
  12009. type: integer
  12010. ispreexercise:
  12011. description: 是否预申报- 0:否 1:是
  12012. type: integer
  12013. isreckoned:
  12014. description: 是否结算 - 0:未结算 1:已结算
  12015. type: integer
  12016. listingselecttype:
  12017. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  12018. type: integer
  12019. marketid:
  12020. description: 市场ID
  12021. type: integer
  12022. marketname:
  12023. description: 市场名称
  12024. type: string
  12025. matchaccountid:
  12026. description: 对手账号id
  12027. type: integer
  12028. memberuserid:
  12029. description: 会员id 个人投资者 需要填写
  12030. type: integer
  12031. opencharge:
  12032. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  12033. type: number
  12034. openexchagechargevalue:
  12035. description: 建仓交易所手续费设置值
  12036. type: number
  12037. openfeealgorithm:
  12038. description: 建仓手续费收取方式 1:比率 2:固定
  12039. type: integer
  12040. openmemberchargevalue:
  12041. description: 建仓会员手续费设置值
  12042. type: number
  12043. openqty:
  12044. description: 开仓数量(先建后平操作 需要记录)
  12045. type: integer
  12046. optiontype:
  12047. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  12048. type: integer
  12049. orderid:
  12050. description: 委托单号
  12051. type: string
  12052. performanceplanid:
  12053. description: 履约计划ID[期权]
  12054. type: integer
  12055. performancestatus:
  12056. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  12057. type: integer
  12058. preexerciseprice:
  12059. description: 预申报价格
  12060. type: number
  12061. premium:
  12062. description: 权利金 - [持仓单的权利金]
  12063. type: number
  12064. relatedouttradeid:
  12065. description: 关联外部成交单ID
  12066. type: integer
  12067. status:
  12068. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  12069. type: integer
  12070. tradeamount:
  12071. description: 成交金额[账户币种,用于所有权]
  12072. type: number
  12073. tradedate:
  12074. description: 交易日(yyyyMMdd)
  12075. type: string
  12076. tradeid:
  12077. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12078. type: string
  12079. trademode:
  12080. description: 交易模式
  12081. type: integer
  12082. tradeprice:
  12083. description: 成交价格
  12084. type: number
  12085. tradeproperty:
  12086. description: 交易属性
  12087. type: integer
  12088. tradeqty:
  12089. description: 成交数量
  12090. type: integer
  12091. tradetime:
  12092. description: 成交时间
  12093. type: string
  12094. tradetype:
  12095. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  12096. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  12097. type: integer
  12098. required:
  12099. - accountid
  12100. - buyorsell
  12101. - goodsid
  12102. - marketid
  12103. - memberuserid
  12104. - orderid
  12105. - tradeamount
  12106. - tradedate
  12107. - tradeid
  12108. - tradeprice
  12109. - tradeqty
  12110. - tradetime
  12111. type: object
  12112. order.QueryTradeOrderDetailRsp:
  12113. properties:
  12114. accountid:
  12115. description: 账户ID[报价币种]
  12116. type: integer
  12117. buildtype:
  12118. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  12119. type: integer
  12120. buyorsell:
  12121. description: 买卖 - 0:买 1:卖
  12122. type: integer
  12123. cancelorderid:
  12124. description: 撤单单号(撤单时填写)
  12125. type: string
  12126. cancelqty:
  12127. description: 撤单数量
  12128. type: integer
  12129. clienttype:
  12130. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  12131. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  12132. type: integer
  12133. closefreezecharge:
  12134. description: 平仓冻结手续费(先建后平操作,需要记录)
  12135. type: number
  12136. closeqty:
  12137. description: 平仓数量(先建后平操作 需要记录)
  12138. type: integer
  12139. closetradeqty:
  12140. description: 平仓成交数量(先建后平操作,需要记录)
  12141. type: integer
  12142. closeunfreezecharge:
  12143. description: 平仓解冻手续费(先建后平操作,需要记录)
  12144. type: number
  12145. delistingtype:
  12146. description: 摘牌类型 - 1:价格最优 2:点选成交
  12147. type: integer
  12148. enableqty:
  12149. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  12150. type: integer
  12151. freezecharge:
  12152. description: 冻结手续费
  12153. type: number
  12154. freezemargin:
  12155. description: 冻结保证金(冻结交易金额)
  12156. type: number
  12157. goodscode:
  12158. description: 商品代码
  12159. type: string
  12160. goodsid:
  12161. description: 商品ID
  12162. type: integer
  12163. goodsname:
  12164. description: 商品名称
  12165. type: string
  12166. listingselecttype:
  12167. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  12168. type: integer
  12169. marketid:
  12170. description: 市场ID
  12171. type: integer
  12172. marketname:
  12173. description: 市场名称
  12174. type: string
  12175. openfreezecharge:
  12176. description: 开仓冻结手续费(先建后平操作,需要记录)
  12177. type: number
  12178. openqty:
  12179. description: 开仓数量(先建后平操作,需要记录)
  12180. type: integer
  12181. opentradeqty:
  12182. description: 开仓成交数量(先建后平操作,需要记录)
  12183. type: integer
  12184. openunfreezecharge:
  12185. description: 开仓解冻手续费(先建后平操作,需要记录)
  12186. type: number
  12187. operatetype:
  12188. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  12189. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  12190. 15:管理端协议转让
  12191. type: integer
  12192. operatorid:
  12193. description: 登录账号(LoginID)
  12194. type: integer
  12195. orderid:
  12196. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12197. type: string
  12198. orderprice:
  12199. description: 委托价格
  12200. type: number
  12201. orderqty:
  12202. description: 委托数量
  12203. type: integer
  12204. ordersrc:
  12205. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  12206. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  12207. type: integer
  12208. orderstatus:
  12209. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  12210. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  12211. 16:成交失败违约(荷兰式竞拍专用)
  12212. type: integer
  12213. ordertime:
  12214. description: 委托时间
  12215. type: string
  12216. preorderid:
  12217. description: 关联预埋单号(止盈止损单时填写)
  12218. type: string
  12219. pricemode:
  12220. description: '取价方式 - 1:市价 2: 限价'
  12221. type: integer
  12222. relatedid:
  12223. description: 关联单号(交割单)
  12224. type: string
  12225. tradedate:
  12226. description: 交易日(yyyyMMdd)
  12227. type: string
  12228. trademode:
  12229. description: 交易模式
  12230. type: integer
  12231. tradeqty:
  12232. description: 成交数量
  12233. type: integer
  12234. unfreezecharge:
  12235. description: 解冻手续费
  12236. type: number
  12237. unfreezemargin:
  12238. description: 解冻保证金
  12239. type: number
  12240. validtime:
  12241. description: 有效期限
  12242. type: string
  12243. validtype:
  12244. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  12245. type: integer
  12246. volumetype:
  12247. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  12248. type: integer
  12249. required:
  12250. - accountid
  12251. - buildtype
  12252. - buyorsell
  12253. - goodsid
  12254. - marketid
  12255. - operatetype
  12256. - orderqty
  12257. - ordertime
  12258. - pricemode
  12259. - tradedate
  12260. - validtype
  12261. type: object
  12262. order.QueryTradePositionRsp:
  12263. properties:
  12264. accountid:
  12265. description: 资金账户
  12266. type: integer
  12267. agreeunit:
  12268. description: 合约单位
  12269. type: number
  12270. averageprice:
  12271. description: 持仓均价
  12272. type: number
  12273. buyorsell:
  12274. description: 方向 - 0:买 1:卖
  12275. type: integer
  12276. closetotalqty:
  12277. description: 平仓总数量
  12278. type: integer
  12279. curholderamount:
  12280. description: 当前持仓总金额[商品币种]
  12281. type: number
  12282. curpositionqty:
  12283. description: 当前持仓总数量
  12284. type: integer
  12285. currencyid:
  12286. description: 报价货币ID
  12287. type: integer
  12288. curtdposition:
  12289. description: 期末今日头寸
  12290. type: integer
  12291. decimalplace:
  12292. description: 报价小数位
  12293. type: integer
  12294. enableqty:
  12295. description: 可用量
  12296. type: integer
  12297. fretdposition:
  12298. description: 冻结今日头寸
  12299. type: integer
  12300. frozenqty:
  12301. description: 持仓冻结数量
  12302. type: integer
  12303. goodscode:
  12304. description: 商品代码
  12305. type: string
  12306. goodsid:
  12307. description: 商品Id
  12308. type: integer
  12309. goodsname:
  12310. description: 商品名称
  12311. type: string
  12312. goodunit:
  12313. description: 报价单位
  12314. type: string
  12315. goodunitid:
  12316. description: 报价单位ID
  12317. type: integer
  12318. holderamount:
  12319. description: 期初持仓总金额[商品币种]
  12320. type: number
  12321. marketid:
  12322. description: 所属市场ID
  12323. type: integer
  12324. openreqqty:
  12325. description: 开仓申请数量(用于比较最大持仓数量)
  12326. type: integer
  12327. opentotalqty:
  12328. description: 开仓总数量
  12329. type: integer
  12330. otherfrozenqty:
  12331. description: 持仓其他冻结数量(交割冻结)
  12332. type: integer
  12333. positionqty:
  12334. description: 期初持仓数量
  12335. type: integer
  12336. tnqty:
  12337. description: T+N冻结总量
  12338. type: integer
  12339. tnusedqty:
  12340. description: T+N使用量(可以使用T+N的冻结数量)
  12341. type: integer
  12342. trademode:
  12343. description: 交易模式
  12344. type: integer
  12345. usedmargin:
  12346. description: 占用保证金[商品币种]
  12347. type: number
  12348. required:
  12349. - goodsid
  12350. type: object
  12351. quote.HistoryData:
  12352. properties:
  12353. c:
  12354. description: 收盘价
  12355. type: number
  12356. f:
  12357. description: 是否补充数据
  12358. type: boolean
  12359. h:
  12360. description: 最高价
  12361. type: number
  12362. hv:
  12363. description: 持仓量
  12364. type: integer
  12365. l:
  12366. description: 最低价
  12367. type: number
  12368. o:
  12369. description: 开盘价
  12370. type: number
  12371. s:
  12372. description: 结算价,日线周期(包括)以上才有
  12373. type: number
  12374. ts:
  12375. description: 时间
  12376. type: string
  12377. tt:
  12378. description: 总金额
  12379. type: number
  12380. tv:
  12381. description: 总量
  12382. type: integer
  12383. type: object
  12384. quote.HistoryTikData:
  12385. properties:
  12386. AV:
  12387. description: 卖量
  12388. type: integer
  12389. Ask:
  12390. description: 卖价
  12391. type: number
  12392. BV:
  12393. description: 买量
  12394. type: integer
  12395. Bid:
  12396. description: 买价
  12397. type: number
  12398. HI:
  12399. description: 单笔持仓
  12400. type: integer
  12401. HV:
  12402. description: 持仓量
  12403. type: integer
  12404. PE:
  12405. description: 现价
  12406. type: number
  12407. TDR:
  12408. description: 交易方向,0:买 1:卖
  12409. type: integer
  12410. TK:
  12411. description: 交易类型
  12412. type: integer
  12413. TS:
  12414. description: 行情时间文本
  12415. type: string
  12416. TT:
  12417. description: 现金额
  12418. type: number
  12419. Vol:
  12420. description: 现量
  12421. type: integer
  12422. type: object
  12423. quote.QueryQuoteDayRsp:
  12424. properties:
  12425. ask:
  12426. description: 卖1
  12427. type: number
  12428. ask2:
  12429. description: 卖2
  12430. type: number
  12431. ask3:
  12432. description: 卖3
  12433. type: number
  12434. ask4:
  12435. description: 卖4
  12436. type: number
  12437. ask5:
  12438. description: 卖5
  12439. type: number
  12440. ask6:
  12441. description: 卖6
  12442. type: number
  12443. ask7:
  12444. description: 卖7
  12445. type: number
  12446. ask8:
  12447. description: 卖8
  12448. type: number
  12449. ask9:
  12450. description: 卖9
  12451. type: number
  12452. ask10:
  12453. description: 卖10
  12454. type: number
  12455. askorderid:
  12456. description: 卖单号1
  12457. type: integer
  12458. askorderid2:
  12459. description: 卖单号2
  12460. type: integer
  12461. askorderid3:
  12462. description: 卖单号3
  12463. type: integer
  12464. askorderid4:
  12465. description: 卖单号4
  12466. type: integer
  12467. askorderid5:
  12468. description: 卖单号5
  12469. type: integer
  12470. askordervolume:
  12471. description: 卖单量1
  12472. type: integer
  12473. askordervolume2:
  12474. description: 卖单量2
  12475. type: integer
  12476. askordervolume3:
  12477. description: 卖单量3
  12478. type: integer
  12479. askordervolume4:
  12480. description: 卖单量4
  12481. type: integer
  12482. askordervolume5:
  12483. description: 卖单量5
  12484. type: integer
  12485. askordervolume6:
  12486. description: 卖单量6
  12487. type: integer
  12488. askordervolume7:
  12489. description: 卖单量7
  12490. type: integer
  12491. askordervolume8:
  12492. description: 卖单量8
  12493. type: integer
  12494. askordervolume9:
  12495. description: 卖单量9
  12496. type: integer
  12497. askordervolume10:
  12498. description: 卖单量10
  12499. type: integer
  12500. askqueueinfo:
  12501. description: 大利市卖港股用
  12502. type: string
  12503. askvolume:
  12504. description: 卖量1
  12505. type: integer
  12506. askvolume2:
  12507. description: 卖量2
  12508. type: integer
  12509. askvolume3:
  12510. description: 卖量3
  12511. type: integer
  12512. askvolume4:
  12513. description: 卖量4
  12514. type: integer
  12515. askvolume5:
  12516. description: 卖量5
  12517. type: integer
  12518. askvolume6:
  12519. description: 卖量6
  12520. type: integer
  12521. askvolume7:
  12522. description: 卖量7
  12523. type: integer
  12524. askvolume8:
  12525. description: 卖量8
  12526. type: integer
  12527. askvolume9:
  12528. description: 卖量9
  12529. type: integer
  12530. askvolume10:
  12531. description: 卖量10
  12532. type: integer
  12533. averageprice:
  12534. description: 均价
  12535. type: number
  12536. bid:
  12537. description: 买1
  12538. type: number
  12539. bid2:
  12540. description: 买2
  12541. type: number
  12542. bid3:
  12543. description: 买3
  12544. type: number
  12545. bid4:
  12546. description: 买4
  12547. type: number
  12548. bid5:
  12549. description: 买5
  12550. type: number
  12551. bid6:
  12552. description: 买6
  12553. type: number
  12554. bid7:
  12555. description: 买7
  12556. type: number
  12557. bid8:
  12558. description: 买8
  12559. type: number
  12560. bid9:
  12561. description: 买9
  12562. type: number
  12563. bid10:
  12564. description: 买10
  12565. type: number
  12566. bidorderid:
  12567. description: 买单号1
  12568. type: integer
  12569. bidorderid2:
  12570. description: 买单号2
  12571. type: integer
  12572. bidorderid3:
  12573. description: 买单号3
  12574. type: integer
  12575. bidorderid4:
  12576. description: 买单号4
  12577. type: integer
  12578. bidorderid5:
  12579. description: 买单号5
  12580. type: integer
  12581. bidordervolume:
  12582. description: 买单量1
  12583. type: integer
  12584. bidordervolume2:
  12585. description: 买单量2
  12586. type: integer
  12587. bidordervolume3:
  12588. description: 买单量3
  12589. type: integer
  12590. bidordervolume4:
  12591. description: 买单量4
  12592. type: integer
  12593. bidordervolume5:
  12594. description: 买单量5
  12595. type: integer
  12596. bidordervolume6:
  12597. description: 买单量6
  12598. type: integer
  12599. bidordervolume7:
  12600. description: 买单量7
  12601. type: integer
  12602. bidordervolume8:
  12603. description: 买单量8
  12604. type: integer
  12605. bidordervolume9:
  12606. description: 买单量9
  12607. type: integer
  12608. bidordervolume10:
  12609. description: 买单量10
  12610. type: integer
  12611. bidqueueinfo:
  12612. description: 大利市买港股用
  12613. type: string
  12614. bidvolume:
  12615. description: 买量1
  12616. type: integer
  12617. bidvolume2:
  12618. description: 买量2
  12619. type: integer
  12620. bidvolume3:
  12621. description: 买量3
  12622. type: integer
  12623. bidvolume4:
  12624. description: 买量4
  12625. type: integer
  12626. bidvolume5:
  12627. description: 买量5
  12628. type: integer
  12629. bidvolume6:
  12630. description: 买量6
  12631. type: integer
  12632. bidvolume7:
  12633. description: 买量7
  12634. type: integer
  12635. bidvolume8:
  12636. description: 买量8
  12637. type: integer
  12638. bidvolume9:
  12639. description: 买量9
  12640. type: integer
  12641. bidvolume10:
  12642. description: 买量10
  12643. type: integer
  12644. calloptionpremiums:
  12645. description: 认购期权1
  12646. type: integer
  12647. calloptionpremiums2:
  12648. description: 认购期权2
  12649. type: integer
  12650. calloptionpremiums3:
  12651. description: 认购期权3
  12652. type: integer
  12653. calloptionpremiums4:
  12654. description: 认购期权4
  12655. type: integer
  12656. calloptionpremiums5:
  12657. description: 认购期权5
  12658. type: integer
  12659. cleartime:
  12660. description: 清盘时间
  12661. type: integer
  12662. exchangecode:
  12663. description: 交易所代码
  12664. type: integer
  12665. exchangedate:
  12666. description: 交易日
  12667. type: integer
  12668. goodscode:
  12669. description: 商品代码
  12670. type: string
  12671. grepmarketprice:
  12672. description: 暗盘价 港股专用
  12673. type: number
  12674. highest:
  12675. description: 最高价
  12676. type: number
  12677. holdincrement:
  12678. description: 单笔持仓
  12679. type: integer
  12680. holdvolume:
  12681. description: 持仓
  12682. type: integer
  12683. iep:
  12684. description: 平衡价 港股专用
  12685. type: number
  12686. iev:
  12687. description: 平衡量 港股专用
  12688. type: number
  12689. inventory:
  12690. description: 库存
  12691. type: integer
  12692. iscleared:
  12693. description: 是否清盘标志
  12694. type: integer
  12695. issettled:
  12696. description: 是否结算标志
  12697. type: integer
  12698. last:
  12699. description: 最新价
  12700. type: number
  12701. lastlot:
  12702. description: 最新成交手数
  12703. type: integer
  12704. lasttime:
  12705. description: 行情时间(只有现价变化行情时间才变化)
  12706. type: string
  12707. lastturnover:
  12708. description: 最新成交金额
  12709. type: number
  12710. lastvolume:
  12711. description: 最新成交量
  12712. type: integer
  12713. limitdown:
  12714. description: 跌停价
  12715. type: number
  12716. limitup:
  12717. description: 涨停价
  12718. type: number
  12719. lowest:
  12720. description: 最低价
  12721. type: number
  12722. nontotalholdervolume:
  12723. description: 非交易持仓量
  12724. type: integer
  12725. nontotallot:
  12726. description: 非交易总手数
  12727. type: integer
  12728. nontotalturnover:
  12729. description: 非交易总金额
  12730. type: integer
  12731. nontotalvolume:
  12732. description: 非交易总量
  12733. type: integer
  12734. opened:
  12735. description: 开盘价
  12736. type: number
  12737. opentime:
  12738. description: 开盘时间
  12739. type: string
  12740. orderid:
  12741. description: 序号
  12742. type: integer
  12743. preclose:
  12744. description: 昨收
  12745. type: number
  12746. preholdvolume:
  12747. description: 昨持仓
  12748. type: integer
  12749. presettle:
  12750. description: 昨结价
  12751. type: number
  12752. publictradetype:
  12753. description: 公共交易标志类型 港股专用
  12754. type: string
  12755. putoptionpremiums:
  12756. description: 认沽期权1
  12757. type: integer
  12758. putoptionpremiums2:
  12759. description: 认沽期权2
  12760. type: integer
  12761. putoptionpremiums3:
  12762. description: 认沽期权3
  12763. type: integer
  12764. putoptionpremiums4:
  12765. description: 认沽期权4
  12766. type: integer
  12767. putoptionpremiums5:
  12768. description: 认沽期权5
  12769. type: integer
  12770. settle:
  12771. description: 结算价
  12772. type: number
  12773. strikeprice:
  12774. description: 发行价
  12775. type: number
  12776. totalaskvolume:
  12777. description: 内盘
  12778. type: integer
  12779. totalbidvolume:
  12780. description: 外盘
  12781. type: integer
  12782. totallot:
  12783. description: 总手数
  12784. type: integer
  12785. totalturnover:
  12786. description: 总金额
  12787. type: number
  12788. totalvolume:
  12789. description: 总量
  12790. type: integer
  12791. utclasttime:
  12792. description: utc的行情时间
  12793. type: string
  12794. type: object
  12795. quote.QueryTSDataRsp:
  12796. properties:
  12797. Count:
  12798. description: 交易日应有数据个数
  12799. type: integer
  12800. decimalPlace:
  12801. description: 小数位
  12802. type: integer
  12803. endTime:
  12804. description: 结束时间
  12805. type: string
  12806. goodsCode:
  12807. description: 商品代码
  12808. type: string
  12809. historyDatas:
  12810. description: 历史数据
  12811. items:
  12812. $ref: '#/definitions/quote.HistoryData'
  12813. type: array
  12814. outGoodsCode:
  12815. description: 外部商品代码
  12816. type: string
  12817. preSettle:
  12818. description: 昨结价
  12819. type: number
  12820. runSteps:
  12821. description: 交易日开休市计划
  12822. items:
  12823. $ref: '#/definitions/quote.TSDataRunStep'
  12824. type: array
  12825. startTime:
  12826. description: 开始时间
  12827. type: string
  12828. tradeDate:
  12829. description: 交易日
  12830. type: string
  12831. type: object
  12832. quote.TSDataRunStep:
  12833. properties:
  12834. end:
  12835. description: 真实结束时间
  12836. type: string
  12837. endflag:
  12838. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  12839. type: integer
  12840. endtime:
  12841. description: 结束时间(HH:mm)
  12842. type: string
  12843. endweekday:
  12844. description: 结束周几
  12845. type: integer
  12846. groupid:
  12847. description: 分组ID
  12848. type: integer
  12849. runstep:
  12850. description: 运行阶段 - 2:连续交易
  12851. type: integer
  12852. sectionid:
  12853. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  12854. 结束时间=结算时间 结束周几=结算周几
  12855. type: integer
  12856. start:
  12857. description: 真实开始时间
  12858. type: string
  12859. startflag:
  12860. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  12861. type: integer
  12862. starttime:
  12863. description: 起始时间(HH:mm)
  12864. type: string
  12865. startweekday:
  12866. description: 起始周几
  12867. type: integer
  12868. tradeweekday:
  12869. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  12870. type: integer
  12871. type: object
  12872. szdz.QueryConvertLogRsp:
  12873. properties:
  12874. accountid:
  12875. description: 资金账户ID
  12876. type: integer
  12877. clientticket:
  12878. description: 客户端流水号
  12879. type: string
  12880. converttype:
  12881. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  12882. type: integer
  12883. createtime:
  12884. description: 记账时间
  12885. type: string
  12886. daymaxvalue:
  12887. description: 配置当日最大转入限制
  12888. type: number
  12889. daymaxvalue2:
  12890. description: 配置当日最大转入限制(转入)
  12891. type: number
  12892. goodscode:
  12893. description: 商品代码
  12894. type: string
  12895. goodsname:
  12896. description: 商品名称
  12897. type: string
  12898. handlestatus:
  12899. description: 处理状态
  12900. type: integer
  12901. innergoodsid:
  12902. description: 内部商品ID
  12903. type: integer
  12904. inratio:
  12905. description: 配置转入比值
  12906. type: integer
  12907. invalue:
  12908. description: 目标值
  12909. type: number
  12910. logid:
  12911. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12912. type: integer
  12913. mobile:
  12914. description: 手机号码(加密存储)
  12915. type: string
  12916. outergoodscode:
  12917. description: 外部商品代码[JD\PD]
  12918. type: string
  12919. outratio:
  12920. description: 配置转出比值
  12921. type: integer
  12922. outvalue:
  12923. description: 源值
  12924. type: number
  12925. pddecimalplace:
  12926. description: PD小数位
  12927. type: integer
  12928. qty:
  12929. description: 数量
  12930. type: string
  12931. remark:
  12932. description: 备注
  12933. type: string
  12934. sessionid:
  12935. description: 会话ID
  12936. type: integer
  12937. timemaxvalue:
  12938. description: 配置单次最大转入限制
  12939. type: number
  12940. timemaxvalue2:
  12941. description: 配置单次最大转入限制(转入)
  12942. type: number
  12943. timeminvalue:
  12944. description: 配置单次最小数量限制
  12945. type: number
  12946. timeminvalue2:
  12947. description: 配置单次最小数量限制(转入)
  12948. type: number
  12949. tradedate:
  12950. description: 交易日(yyyyMMdd)
  12951. type: string
  12952. userid:
  12953. description: 用户ID
  12954. type: integer
  12955. required:
  12956. - logid
  12957. type: object
  12958. szdz.QueryGoodsPickupRsp:
  12959. properties:
  12960. accountid:
  12961. description: 账户ID
  12962. type: integer
  12963. address:
  12964. description: 提货人详细地址
  12965. type: string
  12966. auditer:
  12967. description: 审核人
  12968. type: integer
  12969. audittime:
  12970. description: 审核时间
  12971. type: string
  12972. cardnum:
  12973. description: 提货人证件号码
  12974. type: string
  12975. cardtypeid:
  12976. description: 提货人证件类型
  12977. type: integer
  12978. checkremark:
  12979. description: 审核备注
  12980. type: string
  12981. goodscode:
  12982. description: 商品代码
  12983. type: string
  12984. goodsid:
  12985. description: 商品ID
  12986. type: integer
  12987. goodsname:
  12988. description: 商品名称
  12989. type: string
  12990. handlestatus:
  12991. description: 处理状态
  12992. type: integer
  12993. marketid:
  12994. description: 市场ID
  12995. type: integer
  12996. phonenum:
  12997. description: 提货人联系方式
  12998. type: string
  12999. qty:
  13000. description: 提货数量
  13001. type: number
  13002. recivername:
  13003. description: 提货人姓名
  13004. type: string
  13005. reqtime:
  13006. description: 更新时间
  13007. type: string
  13008. takemode:
  13009. description: 提货方式 - 2:自提 3:配送
  13010. type: integer
  13011. takeorderid:
  13012. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  13013. type: string
  13014. takeorderstatus:
  13015. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  13016. type: integer
  13017. takeremark:
  13018. description: 提货备注
  13019. type: string
  13020. tradedate:
  13021. description: 交易日(yyyyMMdd)
  13022. type: string
  13023. userid:
  13024. description: 用户ID
  13025. type: integer
  13026. required:
  13027. - takeorderid
  13028. type: object
  13029. szdz.QueryRecieptOrderRsp:
  13030. properties:
  13031. accountName:
  13032. description: 所属账号名称(已脱敏)
  13033. type: string
  13034. accountid:
  13035. description: 资金账号
  13036. type: integer
  13037. buyorsell:
  13038. description: 方向 - 0:买 1:卖
  13039. type: integer
  13040. enableqty:
  13041. description: 可摘数量
  13042. type: integer
  13043. goodscode:
  13044. description: 商品代码
  13045. type: string
  13046. goodsid:
  13047. description: 商品ID
  13048. type: integer
  13049. goodsname:
  13050. description: 商品名称
  13051. type: string
  13052. orderid:
  13053. description: 委托单号
  13054. type: string
  13055. orderprice:
  13056. description: 委托价格
  13057. type: number
  13058. ordertime:
  13059. description: 委托时间
  13060. type: string
  13061. tradedate:
  13062. description: 交易日(yyyyMMdd)
  13063. type: string
  13064. required:
  13065. - ordertime
  13066. type: object
  13067. szdz.QuerySZDZTradePositionRsp:
  13068. properties:
  13069. accountid:
  13070. description: 账号Id
  13071. type: integer
  13072. agreeunit:
  13073. description: 合约单位
  13074. type: number
  13075. averageprice:
  13076. description: 持仓均价
  13077. type: number
  13078. buyorsell:
  13079. description: 方向 - 0:买 1:卖
  13080. type: integer
  13081. closetotalqty:
  13082. description: 平仓总数量
  13083. type: integer
  13084. curholderamount:
  13085. description: 当前持仓总金额
  13086. type: number
  13087. curpositionqty:
  13088. description: 当前持仓总数量
  13089. type: integer
  13090. currencyid:
  13091. description: 报价货币ID
  13092. type: integer
  13093. curtdposition:
  13094. description: 期末今日头寸
  13095. type: integer
  13096. decimalplace:
  13097. description: 报价小数位
  13098. type: integer
  13099. enableqty:
  13100. description: 可用量
  13101. type: integer
  13102. fretdposition:
  13103. description: 冻结今日头寸
  13104. type: integer
  13105. frozenqty:
  13106. description: 持仓冻结数量
  13107. type: integer
  13108. goodscode:
  13109. description: 商品代码(内部)
  13110. type: string
  13111. goodsid:
  13112. description: 商品Id
  13113. type: integer
  13114. goodsname:
  13115. description: 商品名称
  13116. type: string
  13117. goodunit:
  13118. description: 报价单位
  13119. type: string
  13120. goodunitid:
  13121. description: 报价单位ID
  13122. type: integer
  13123. holderamount:
  13124. description: 期初持仓总金额
  13125. type: number
  13126. marketid:
  13127. description: 市场ID
  13128. type: integer
  13129. openreqqty:
  13130. description: 开仓申请数量
  13131. type: integer
  13132. opentotalqty:
  13133. description: 开仓总数量
  13134. type: integer
  13135. otherfrozenqty:
  13136. description: 持仓其他冻结数量(交割冻结)
  13137. type: integer
  13138. positionqty:
  13139. description: 期初持仓数量
  13140. type: integer
  13141. szdz3freezqty:
  13142. description: 尚志大宗转换冻结总数量
  13143. type: integer
  13144. tnqty:
  13145. description: T+N冻结总量
  13146. type: integer
  13147. tnusedqty:
  13148. description: T+N使用量
  13149. type: integer
  13150. trademode:
  13151. description: 交易模式
  13152. type: integer
  13153. usedmargin:
  13154. description: 占用保证金
  13155. type: number
  13156. type: object
  13157. taaccount.QueryAmountLogRsp:
  13158. properties:
  13159. OPERATETYPENAME:
  13160. description: 资金操作类型名称
  13161. type: string
  13162. accountid:
  13163. description: 资金账户ID
  13164. type: integer
  13165. agoodscode:
  13166. description: 竞拍商品代码
  13167. type: string
  13168. agoodsname:
  13169. description: 竞拍商品名称
  13170. type: string
  13171. amount:
  13172. description: 资金金额
  13173. type: number
  13174. amountadjusttype:
  13175. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  13176. type: integer
  13177. autoid:
  13178. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  13179. type: integer
  13180. balance:
  13181. description: 期初余额
  13182. type: number
  13183. businesscode:
  13184. description: 业务编号
  13185. type: integer
  13186. createtime:
  13187. description: 发生时间
  13188. type: string
  13189. currencyid:
  13190. description: 币种ID
  13191. type: integer
  13192. currentbalance:
  13193. description: 期末余额(变动后金额)
  13194. type: number
  13195. dgoodscode:
  13196. description: 交割商品代码
  13197. type: string
  13198. dgoodsname:
  13199. description: 交割商品名称
  13200. type: string
  13201. goodscode:
  13202. description: 商品代码
  13203. type: string
  13204. goodsid:
  13205. description: 商品ID
  13206. type: integer
  13207. goodsname:
  13208. description: 商品名称
  13209. type: string
  13210. marketid:
  13211. description: 市场ID
  13212. type: integer
  13213. marketname:
  13214. description: 市场名称
  13215. type: string
  13216. moneyticket:
  13217. description: 资金流水号:银行端流水号
  13218. type: integer
  13219. operatetype:
  13220. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  13221. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  13222. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  13223. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  13224. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  13225. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  13226. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  13227. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  13228. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  13229. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  13230. type: integer
  13231. relationorderid:
  13232. description: 关联单号
  13233. type: string
  13234. remark:
  13235. description: 备注
  13236. type: string
  13237. trademode:
  13238. description: 交易模式
  13239. type: integer
  13240. required:
  13241. - accountid
  13242. - amount
  13243. - amountadjusttype
  13244. - autoid
  13245. - balance
  13246. - createtime
  13247. - currentbalance
  13248. - operatetype
  13249. type: object
  13250. taaccount.QueryHisAmountLogRsp:
  13251. properties:
  13252. OPERATETYPENAME:
  13253. description: 资金操作类型名称
  13254. type: string
  13255. accountid:
  13256. description: 资金账户ID
  13257. type: integer
  13258. agoodscode:
  13259. description: 竞拍商品代码
  13260. type: string
  13261. agoodsname:
  13262. description: 竞拍商品名称
  13263. type: string
  13264. amount:
  13265. description: 资金金额
  13266. type: number
  13267. amountadjusttype:
  13268. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  13269. type: integer
  13270. autoid:
  13271. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  13272. type: integer
  13273. balance:
  13274. description: 期初余额
  13275. type: number
  13276. businesscode:
  13277. description: 业务编号
  13278. type: integer
  13279. createtime:
  13280. description: 发生时间
  13281. type: string
  13282. currencyid:
  13283. description: 币种ID
  13284. type: integer
  13285. currentbalance:
  13286. description: 期末余额(变动后金额)
  13287. type: number
  13288. dgoodscode:
  13289. description: 交割商品代码
  13290. type: string
  13291. dgoodsname:
  13292. description: 交割商品名称
  13293. type: string
  13294. goodscode:
  13295. description: 商品代码
  13296. type: string
  13297. goodsid:
  13298. description: 商品ID
  13299. type: integer
  13300. goodsname:
  13301. description: 商品名称
  13302. type: string
  13303. histradedate:
  13304. description: 历史交易日
  13305. type: string
  13306. isvaliddata:
  13307. description: 是否有效 - 0:无效 1:有效
  13308. type: integer
  13309. marketid:
  13310. description: 市场ID
  13311. type: integer
  13312. marketname:
  13313. description: 市场名称
  13314. type: string
  13315. moneyticket:
  13316. description: 资金流水号:银行端流水号
  13317. type: integer
  13318. operatetype:
  13319. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  13320. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  13321. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  13322. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  13323. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  13324. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  13325. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  13326. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  13327. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  13328. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  13329. type: integer
  13330. relationorderid:
  13331. description: 关联单号
  13332. type: string
  13333. remark:
  13334. description: 备注
  13335. type: string
  13336. trademode:
  13337. description: 交易模式
  13338. type: integer
  13339. required:
  13340. - accountid
  13341. - amount
  13342. - amountadjusttype
  13343. - autoid
  13344. - balance
  13345. - createtime
  13346. - currentbalance
  13347. - histradedate
  13348. - operatetype
  13349. type: object
  13350. trade.QueryRecieptOrderRsp:
  13351. properties:
  13352. accountName:
  13353. description: 所属账号名称(已脱敏)
  13354. type: string
  13355. accountid:
  13356. description: 资金账号
  13357. type: integer
  13358. buyorsell:
  13359. description: 方向 - 0:买 1:卖
  13360. type: integer
  13361. enableqty:
  13362. description: 可摘数量
  13363. type: integer
  13364. goodscode:
  13365. description: 商品代码
  13366. type: string
  13367. goodsid:
  13368. description: 商品ID
  13369. type: integer
  13370. goodsname:
  13371. description: 商品名称
  13372. type: string
  13373. orderid:
  13374. description: 委托单号
  13375. type: string
  13376. orderprice:
  13377. description: 委托价格
  13378. type: number
  13379. ordertime:
  13380. description: 委托时间
  13381. type: string
  13382. tradedate:
  13383. description: 交易日(yyyyMMdd)
  13384. type: string
  13385. required:
  13386. - ordertime
  13387. type: object
  13388. user.LoginQueryRsp:
  13389. properties:
  13390. areaRoles:
  13391. description: 所属角色信息
  13392. items:
  13393. $ref: '#/definitions/models.Arearole'
  13394. type: array
  13395. externalExchanges:
  13396. description: 外部交易所
  13397. items:
  13398. $ref: '#/definitions/models.Externalexchange'
  13399. type: array
  13400. goodsgroups:
  13401. description: 商品组
  13402. items:
  13403. $ref: '#/definitions/models.Goodsgroup'
  13404. type: array
  13405. loginAccount:
  13406. $ref: '#/definitions/models.Loginaccount'
  13407. description: 登录账号
  13408. type: object
  13409. markets:
  13410. description: 市场
  13411. items:
  13412. $ref: '#/definitions/models.Market'
  13413. type: array
  13414. systemParams:
  13415. description: 系统参数
  13416. items:
  13417. $ref: '#/definitions/models.Systemparam'
  13418. type: array
  13419. userAccount:
  13420. $ref: '#/definitions/models.Useraccount'
  13421. description: 用户账号
  13422. type: object
  13423. userInfo:
  13424. $ref: '#/definitions/models.Userinfo'
  13425. description: 用户信息
  13426. type: object
  13427. username:
  13428. description: 用户姓名
  13429. type: string
  13430. type: object
  13431. info:
  13432. contact: {}
  13433. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  13434. license: {}
  13435. termsOfService: http://www.muchinfo.cn
  13436. title: MTP2.0 查询服务 API
  13437. version: "1.0"
  13438. paths:
  13439. /CPTrade/QueryCPTradeMyBidInfos:
  13440. get:
  13441. parameters:
  13442. - description: 资金账户
  13443. in: query
  13444. name: accountid
  13445. required: true
  13446. type: integer
  13447. - description: 预售市场ID
  13448. in: query
  13449. name: marketid
  13450. type: integer
  13451. - description: 预售商品ID
  13452. in: query
  13453. name: goodsid
  13454. type: integer
  13455. produces:
  13456. - application/json
  13457. responses:
  13458. "200":
  13459. description: OK
  13460. schema:
  13461. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  13462. "500":
  13463. description: Internal Server Error
  13464. schema:
  13465. $ref: '#/definitions/app.Response'
  13466. security:
  13467. - ApiKeyAuth: []
  13468. summary: 查询产能预售我的出价信息
  13469. tags:
  13470. - 产能预售
  13471. /CPTrade/QueryCPTradeOrderDetail:
  13472. get:
  13473. parameters:
  13474. - description: 预售商品ID
  13475. in: query
  13476. name: goodsid
  13477. type: integer
  13478. - description: 预售市场ID
  13479. in: query
  13480. name: marketid
  13481. type: integer
  13482. - description: 预售商品ID列表 - 格式:1,2,3
  13483. in: query
  13484. name: goodsids
  13485. type: string
  13486. produces:
  13487. - application/json
  13488. responses:
  13489. "200":
  13490. description: OK
  13491. schema:
  13492. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  13493. "500":
  13494. description: Internal Server Error
  13495. schema:
  13496. $ref: '#/definitions/app.Response'
  13497. security:
  13498. - ApiKeyAuth: []
  13499. summary: 查询产能预售委托单信息
  13500. tags:
  13501. - 产能预售
  13502. /CPTrade/QueryMyCPTradeGoods:
  13503. get:
  13504. parameters:
  13505. - description: 资金账户
  13506. in: query
  13507. name: accountid
  13508. required: true
  13509. type: integer
  13510. produces:
  13511. - application/json
  13512. responses:
  13513. "200":
  13514. description: OK
  13515. schema:
  13516. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  13517. "500":
  13518. description: Internal Server Error
  13519. schema:
  13520. $ref: '#/definitions/app.Response'
  13521. security:
  13522. - ApiKeyAuth: []
  13523. summary: 查询我的预售信息
  13524. tags:
  13525. - 产能预售
  13526. /CPTrade/QueryPositionCancel:
  13527. get:
  13528. parameters:
  13529. - description: 账户ID
  13530. in: query
  13531. name: userid
  13532. required: true
  13533. type: integer
  13534. - description: 注销ID
  13535. in: query
  13536. name: cancelid
  13537. type: integer
  13538. - description: 资金账户ID
  13539. in: query
  13540. name: accountid
  13541. type: integer
  13542. produces:
  13543. - application/json
  13544. responses:
  13545. "200":
  13546. description: OK
  13547. schema:
  13548. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  13549. "500":
  13550. description: Internal Server Error
  13551. schema:
  13552. $ref: '#/definitions/app.Response'
  13553. security:
  13554. - ApiKeyAuth: []
  13555. summary: 查询远期订单注销申请信息
  13556. tags:
  13557. - 产能预售
  13558. /CPTrade/QueryPreasleApply:
  13559. get:
  13560. parameters:
  13561. - description: 账户ID
  13562. in: query
  13563. name: userid
  13564. required: true
  13565. type: integer
  13566. - description: 申请ID
  13567. in: query
  13568. name: applyid
  13569. type: integer
  13570. - description: 资金账户ID
  13571. in: query
  13572. name: accountid
  13573. type: integer
  13574. produces:
  13575. - application/json
  13576. responses:
  13577. "200":
  13578. description: OK
  13579. schema:
  13580. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  13581. "500":
  13582. description: Internal Server Error
  13583. schema:
  13584. $ref: '#/definitions/app.Response'
  13585. security:
  13586. - ApiKeyAuth: []
  13587. summary: 查询产能预售申请信息
  13588. tags:
  13589. - 产能预售
  13590. /CPTrade/QueryPresaleGoodsEx:
  13591. get:
  13592. parameters:
  13593. - description: 预售商品ID
  13594. in: query
  13595. name: goodsid
  13596. type: integer
  13597. - description: 预售市场ID
  13598. in: query
  13599. name: marketid
  13600. type: integer
  13601. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  13602. in: query
  13603. name: presalemode
  13604. type: integer
  13605. - description: 预售商品ID列表 - 格式:1,2,3
  13606. in: query
  13607. name: goodsids
  13608. type: string
  13609. - description: 预售商品代码
  13610. in: query
  13611. name: goodscode
  13612. type: string
  13613. produces:
  13614. - application/json
  13615. responses:
  13616. "200":
  13617. description: OK
  13618. schema:
  13619. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  13620. "500":
  13621. description: Internal Server Error
  13622. schema:
  13623. $ref: '#/definitions/app.Response'
  13624. security:
  13625. - ApiKeyAuth: []
  13626. summary: 查询产能预售商品扩展信息
  13627. tags:
  13628. - 产能预售
  13629. /CPTrade/QueryUserGoodsData:
  13630. get:
  13631. parameters:
  13632. - description: 资金账户ID
  13633. in: query
  13634. name: accountid
  13635. required: true
  13636. type: integer
  13637. produces:
  13638. - application/json
  13639. responses:
  13640. "200":
  13641. description: OK
  13642. schema:
  13643. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  13644. "500":
  13645. description: Internal Server Error
  13646. schema:
  13647. $ref: '#/definitions/app.Response'
  13648. security:
  13649. - ApiKeyAuth: []
  13650. summary: 查询远期订单信息
  13651. tags:
  13652. - 产能预售
  13653. /Common/GetAllEnums:
  13654. get:
  13655. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  13656. parameters:
  13657. - description: 起始自增ID
  13658. in: query
  13659. name: autoid
  13660. type: integer
  13661. produces:
  13662. - application/json
  13663. responses:
  13664. "200":
  13665. description: OK
  13666. schema:
  13667. $ref: '#/definitions/models.Enumdicitem'
  13668. "500":
  13669. description: Internal Server Error
  13670. schema:
  13671. $ref: '#/definitions/app.Response'
  13672. summary: 获取所有枚举信息
  13673. tags:
  13674. - 通用服务
  13675. /Common/GetClientMenus:
  13676. get:
  13677. parameters:
  13678. - description: 登录账号
  13679. in: query
  13680. name: loginID
  13681. required: true
  13682. type: integer
  13683. - description: 终端类型,0:PC 1:Mobile
  13684. in: query
  13685. name: clientType
  13686. type: integer
  13687. produces:
  13688. - application/json
  13689. responses:
  13690. "200":
  13691. description: OK
  13692. schema:
  13693. items:
  13694. $ref: '#/definitions/common.ClientMenu'
  13695. type: array
  13696. "500":
  13697. description: Internal Server Error
  13698. schema:
  13699. $ref: '#/definitions/app.Response'
  13700. security:
  13701. - ApiKeyAuth: []
  13702. summary: 获取交易端菜单
  13703. tags:
  13704. - 通用服务
  13705. /Common/GetDivisions:
  13706. get:
  13707. produces:
  13708. - application/json
  13709. responses:
  13710. "200":
  13711. description: OK
  13712. schema:
  13713. $ref: '#/definitions/models.Division'
  13714. "500":
  13715. description: Internal Server Error
  13716. schema:
  13717. $ref: '#/definitions/app.Response'
  13718. summary: 查询区域信息
  13719. tags:
  13720. - 通用服务
  13721. /Common/GetServerTime:
  13722. get:
  13723. produces:
  13724. - application/json
  13725. responses:
  13726. "200":
  13727. description: OK
  13728. schema:
  13729. $ref: '#/definitions/app.Response'
  13730. "500":
  13731. description: Internal Server Error
  13732. schema:
  13733. $ref: '#/definitions/app.Response'
  13734. summary: 获取服务器时间
  13735. tags:
  13736. - 通用服务
  13737. /Common/NoticeReaded:
  13738. post:
  13739. parameters:
  13740. - description: 登录账号
  13741. in: query
  13742. name: loginID
  13743. required: true
  13744. type: integer
  13745. - description: 通知公告ID
  13746. in: query
  13747. name: noticeID
  13748. required: true
  13749. type: integer
  13750. produces:
  13751. - application/json
  13752. responses:
  13753. "200":
  13754. description: OK
  13755. schema:
  13756. $ref: '#/definitions/app.Response'
  13757. "500":
  13758. description: Internal Server Error
  13759. schema:
  13760. $ref: '#/definitions/app.Response'
  13761. security:
  13762. - ApiKeyAuth: []
  13763. summary: 通知公告设置已读请求
  13764. tags:
  13765. - 通用服务
  13766. /Common/QueryErrorInfos:
  13767. get:
  13768. description: 如果传入rowNumber,则返回此rowNumber后的数据
  13769. parameters:
  13770. - description: 起始行号前索引
  13771. in: query
  13772. name: rowNumber
  13773. type: string
  13774. produces:
  13775. - application/json
  13776. responses:
  13777. "200":
  13778. description: OK
  13779. schema:
  13780. $ref: '#/definitions/models.QueryErrorInfosRsp'
  13781. "500":
  13782. description: Internal Server Error
  13783. schema:
  13784. $ref: '#/definitions/app.Response'
  13785. summary: 获取数据库错误信息
  13786. tags:
  13787. - 通用服务
  13788. /Common/QueryImageConfigs:
  13789. get:
  13790. parameters:
  13791. - description: 类型 - 1:App首页轮播 2:我的
  13792. in: query
  13793. name: imageType
  13794. type: integer
  13795. produces:
  13796. - application/json
  13797. responses:
  13798. "200":
  13799. description: OK
  13800. schema:
  13801. $ref: '#/definitions/common.QueryImageConfigsRsp'
  13802. "500":
  13803. description: Internal Server Error
  13804. schema:
  13805. $ref: '#/definitions/app.Response'
  13806. summary: 查询轮播图配置信息
  13807. tags:
  13808. - 通用服务
  13809. /Common/QueryNotice:
  13810. get:
  13811. parameters:
  13812. - description: 页码
  13813. in: query
  13814. name: page
  13815. type: integer
  13816. - description: 每页条数
  13817. in: query
  13818. name: pagesize
  13819. type: integer
  13820. - description: 登录账号
  13821. in: query
  13822. name: loginID
  13823. required: true
  13824. type: integer
  13825. - description: 消息类型 - 1:公告通知 2:系统消息
  13826. in: query
  13827. name: msgType
  13828. type: integer
  13829. - description: 是否只获取未读信息
  13830. in: query
  13831. name: onlyUnRead
  13832. type: boolean
  13833. - description: 自增ID,传入后会返回这个ID后面的记录
  13834. in: query
  13835. name: lastID
  13836. type: integer
  13837. produces:
  13838. - application/json
  13839. responses:
  13840. "200":
  13841. description: OK
  13842. schema:
  13843. $ref: '#/definitions/common.QueryNoticeRsp'
  13844. "500":
  13845. description: Internal Server Error
  13846. schema:
  13847. $ref: '#/definitions/app.Response'
  13848. security:
  13849. - ApiKeyAuth: []
  13850. summary: 通知公告系统消息查询
  13851. tags:
  13852. - 通用服务
  13853. /Common/QueryProvincesAndCities:
  13854. get:
  13855. parameters:
  13856. - description: 省ID
  13857. in: query
  13858. name: provinceID
  13859. type: integer
  13860. produces:
  13861. - application/json
  13862. responses:
  13863. "200":
  13864. description: OK
  13865. schema:
  13866. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  13867. "500":
  13868. description: Internal Server Error
  13869. schema:
  13870. $ref: '#/definitions/app.Response'
  13871. summary: 查询省市信息(不包括区)
  13872. tags:
  13873. - 通用服务
  13874. /Common/QueryTableDefine:
  13875. get:
  13876. parameters:
  13877. - description: 表key
  13878. in: query
  13879. name: tableKey
  13880. type: string
  13881. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  13882. in: query
  13883. name: tableType
  13884. type: integer
  13885. produces:
  13886. - application/json
  13887. responses:
  13888. "200":
  13889. description: OK
  13890. schema:
  13891. $ref: '#/definitions/common.QueryTableDefineRsp'
  13892. "500":
  13893. description: Internal Server Error
  13894. schema:
  13895. $ref: '#/definitions/app.Response'
  13896. summary: 查询交易端列表头信息
  13897. tags:
  13898. - 通用服务
  13899. /Common/QueryTraderMenu:
  13900. get:
  13901. parameters:
  13902. - description: 登录账号
  13903. in: query
  13904. name: loginid
  13905. required: true
  13906. type: integer
  13907. produces:
  13908. - application/json
  13909. responses:
  13910. "200":
  13911. description: OK
  13912. schema:
  13913. $ref: '#/definitions/common.QueryTraderMenuRsp'
  13914. "500":
  13915. description: Internal Server Error
  13916. schema:
  13917. $ref: '#/definitions/app.Response'
  13918. summary: 查询交易端菜单
  13919. tags:
  13920. - 通用服务
  13921. /Delivery/QueryDeliveryRelation:
  13922. get:
  13923. parameters:
  13924. - description: 商品ID
  13925. in: query
  13926. name: goodsid
  13927. type: integer
  13928. - description: 品种ID
  13929. in: query
  13930. name: deliverygoodsid
  13931. type: integer
  13932. - description: 市场ID
  13933. in: query
  13934. name: marketid
  13935. type: integer
  13936. produces:
  13937. - application/json
  13938. responses:
  13939. "200":
  13940. description: OK
  13941. schema:
  13942. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  13943. "500":
  13944. description: Internal Server Error
  13945. schema:
  13946. $ref: '#/definitions/app.Response'
  13947. security:
  13948. - ApiKeyAuth: []
  13949. summary: 查询商品交割关系表
  13950. tags:
  13951. - 交割服务
  13952. /Ermcp/GetErmcpGoods:
  13953. get:
  13954. parameters:
  13955. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  13956. in: query
  13957. name: lastUpdateTime
  13958. type: string
  13959. produces:
  13960. - application/json
  13961. responses:
  13962. "200":
  13963. description: OK
  13964. schema:
  13965. $ref: '#/definitions/models.ErmcpGoods'
  13966. "500":
  13967. description: Internal Server Error
  13968. schema:
  13969. $ref: '#/definitions/app.Response'
  13970. security:
  13971. - ApiKeyAuth: []
  13972. summary: 查询企业风管期货商品信息
  13973. tags:
  13974. - 企业风险管理(app)
  13975. /Ermcp/GetErmcpGoodsSortByPosition:
  13976. get:
  13977. parameters:
  13978. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  13979. in: query
  13980. name: sortIndex
  13981. type: string
  13982. produces:
  13983. - application/json
  13984. responses:
  13985. "200":
  13986. description: OK
  13987. schema:
  13988. $ref: '#/definitions/models.Goodssortbypreposition'
  13989. "500":
  13990. description: Internal Server Error
  13991. schema:
  13992. $ref: '#/definitions/app.Response'
  13993. security:
  13994. - ApiKeyAuth: []
  13995. summary: 查询企业风管期货主力、次主力商品信息
  13996. tags:
  13997. - 企业风险管理(app)
  13998. /Ermcp/GetErmcpOutAccountStatus:
  13999. get:
  14000. parameters:
  14001. - description: 登录账号
  14002. in: query
  14003. name: loginID
  14004. required: true
  14005. type: integer
  14006. produces:
  14007. - application/json
  14008. responses:
  14009. "200":
  14010. description: OK
  14011. schema:
  14012. $ref: '#/definitions/models.Hedgemarketopenlog'
  14013. "500":
  14014. description: Internal Server Error
  14015. schema:
  14016. $ref: '#/definitions/app.Response'
  14017. security:
  14018. - ApiKeyAuth: []
  14019. summary: 获取目标登录账号当前对冲账号在线状态
  14020. tags:
  14021. - 企业风险管理(app)
  14022. /Ermcp/GetErmcpRoleFuncMenuLists:
  14023. get:
  14024. parameters:
  14025. - description: 登录账号
  14026. in: query
  14027. name: loginID
  14028. required: true
  14029. type: integer
  14030. produces:
  14031. - application/json
  14032. responses:
  14033. "200":
  14034. description: OK
  14035. schema:
  14036. $ref: '#/definitions/models.Funcmenulist'
  14037. "500":
  14038. description: Internal Server Error
  14039. schema:
  14040. $ref: '#/definitions/app.Response'
  14041. security:
  14042. - ApiKeyAuth: []
  14043. summary: 获取企业风管终端权限
  14044. tags:
  14045. - 企业风险管理(app)
  14046. /Ermcp/QueryAccMgrBizGroupSet:
  14047. get:
  14048. parameters:
  14049. - description: 用户ID
  14050. in: query
  14051. name: userid
  14052. required: true
  14053. type: integer
  14054. - description: 现货商品id
  14055. in: query
  14056. name: deliverygoodsid
  14057. type: integer
  14058. produces:
  14059. - application/json
  14060. responses:
  14061. "200":
  14062. description: OK
  14063. schema:
  14064. items:
  14065. $ref: '#/definitions/models.ErmcpBizGroupEx'
  14066. type: array
  14067. "500":
  14068. description: Internal Server Error
  14069. schema:
  14070. $ref: '#/definitions/app.Response'
  14071. security:
  14072. - ApiKeyAuth: []
  14073. summary: 查询业务类型分组(账户管理/账户设置)
  14074. tags:
  14075. - 企业风险管理(app)
  14076. /Ermcp/QueryAccMgrLoginUser:
  14077. get:
  14078. parameters:
  14079. - description: 用户ID
  14080. in: query
  14081. name: userid
  14082. required: true
  14083. type: integer
  14084. - description: 用户类型 2-机构 7-企业成员
  14085. in: query
  14086. name: usertype
  14087. type: integer
  14088. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  14089. in: query
  14090. name: querytype
  14091. required: true
  14092. type: integer
  14093. produces:
  14094. - application/json
  14095. responses:
  14096. "200":
  14097. description: OK
  14098. schema:
  14099. items:
  14100. $ref: '#/definitions/models.ErmcpLoginUserEx'
  14101. type: array
  14102. "500":
  14103. description: Internal Server Error
  14104. schema:
  14105. $ref: '#/definitions/app.Response'
  14106. security:
  14107. - ApiKeyAuth: []
  14108. summary: 查询账户管理登录账号(账户管理/登录账号)
  14109. tags:
  14110. - 企业风险管理(app)
  14111. /Ermcp/QueryAccMgrMainAccountInfo:
  14112. get:
  14113. parameters:
  14114. - description: 用户ID
  14115. in: query
  14116. name: userid
  14117. type: integer
  14118. - description: 主账号id
  14119. in: query
  14120. name: accountid
  14121. type: integer
  14122. produces:
  14123. - application/json
  14124. responses:
  14125. "200":
  14126. description: OK
  14127. schema:
  14128. items:
  14129. $ref: '#/definitions/models.MainAccountInfo'
  14130. type: array
  14131. "500":
  14132. description: Internal Server Error
  14133. schema:
  14134. $ref: '#/definitions/app.Response'
  14135. security:
  14136. - ApiKeyAuth: []
  14137. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  14138. tags:
  14139. - 企业风险管理(app)
  14140. /Ermcp/QueryAccMgrRole:
  14141. get:
  14142. parameters:
  14143. - description: 用户ID
  14144. in: query
  14145. name: userid
  14146. required: true
  14147. type: integer
  14148. produces:
  14149. - application/json
  14150. responses:
  14151. "200":
  14152. description: OK
  14153. schema:
  14154. items:
  14155. $ref: '#/definitions/models.ErmcpRole'
  14156. type: array
  14157. "500":
  14158. description: Internal Server Error
  14159. schema:
  14160. $ref: '#/definitions/app.Response'
  14161. security:
  14162. - ApiKeyAuth: []
  14163. summary: 查询账户管理角色设置(账户管理/角色设置)
  14164. tags:
  14165. - 企业风险管理(app)
  14166. /Ermcp/QueryAccMgrRoleMenu:
  14167. get:
  14168. parameters:
  14169. - description: 用户ID
  14170. in: query
  14171. name: userid
  14172. required: true
  14173. type: integer
  14174. - description: 角色id(可多个,逗号隔开)
  14175. in: query
  14176. name: roleid
  14177. type: string
  14178. produces:
  14179. - application/json
  14180. responses:
  14181. "200":
  14182. description: OK
  14183. schema:
  14184. items:
  14185. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  14186. type: array
  14187. "500":
  14188. description: Internal Server Error
  14189. schema:
  14190. $ref: '#/definitions/app.Response'
  14191. security:
  14192. - ApiKeyAuth: []
  14193. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  14194. tags:
  14195. - 企业风险管理(app)
  14196. /Ermcp/QueryAccMgrTaAccountInfo:
  14197. get:
  14198. parameters:
  14199. - description: 用户ID
  14200. in: query
  14201. name: userid
  14202. required: true
  14203. type: integer
  14204. - description: 账号id
  14205. in: query
  14206. name: accountid
  14207. type: integer
  14208. produces:
  14209. - application/json
  14210. responses:
  14211. "200":
  14212. description: OK
  14213. schema:
  14214. items:
  14215. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  14216. type: array
  14217. "500":
  14218. description: Internal Server Error
  14219. schema:
  14220. $ref: '#/definitions/app.Response'
  14221. security:
  14222. - ApiKeyAuth: []
  14223. summary: 查询账户管理授信(账户管理/账户设置/授信)
  14224. tags:
  14225. - 企业风险管理(app)
  14226. /Ermcp/QueryAccMgrTaaccount:
  14227. get:
  14228. parameters:
  14229. - description: 用户ID
  14230. in: query
  14231. name: userid
  14232. required: true
  14233. type: integer
  14234. produces:
  14235. - application/json
  14236. responses:
  14237. "200":
  14238. description: OK
  14239. schema:
  14240. items:
  14241. $ref: '#/definitions/models.ErmcpTaAccountEx'
  14242. type: array
  14243. "500":
  14244. description: Internal Server Error
  14245. schema:
  14246. $ref: '#/definitions/app.Response'
  14247. security:
  14248. - ApiKeyAuth: []
  14249. summary: 查询账户管理期货账号(账户管理/期货账号)
  14250. tags:
  14251. - 企业风险管理(app)
  14252. /Ermcp/QueryAvaildGoodsGroup:
  14253. get:
  14254. parameters:
  14255. - description: 所属机构ID
  14256. in: query
  14257. name: userid
  14258. required: true
  14259. type: integer
  14260. produces:
  14261. - application/json
  14262. responses:
  14263. "200":
  14264. description: OK
  14265. schema:
  14266. items:
  14267. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  14268. type: array
  14269. "500":
  14270. description: Internal Server Error
  14271. schema:
  14272. $ref: '#/definitions/app.Response'
  14273. security:
  14274. - ApiKeyAuth: []
  14275. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  14276. tags:
  14277. - 企业风险管理(app)
  14278. /Ermcp/QueryBusinessDj:
  14279. get:
  14280. parameters:
  14281. - description: 用户ID
  14282. in: query
  14283. name: UserId
  14284. required: true
  14285. type: integer
  14286. - description: 用户类型 2-机构 7-企业成员
  14287. in: query
  14288. name: usertype
  14289. type: integer
  14290. - description: 现货合同ID, 不填则查所有
  14291. in: query
  14292. name: relatedid
  14293. type: string
  14294. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  14295. in: query
  14296. name: applystatus
  14297. type: string
  14298. produces:
  14299. - application/json
  14300. responses:
  14301. "200":
  14302. description: OK
  14303. schema:
  14304. items:
  14305. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  14306. type: array
  14307. "500":
  14308. description: Internal Server Error
  14309. schema:
  14310. $ref: '#/definitions/app.Response'
  14311. security:
  14312. - ApiKeyAuth: []
  14313. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  14314. tags:
  14315. - 企业风险管理(app)
  14316. /Ermcp/QueryBusinessFp:
  14317. get:
  14318. parameters:
  14319. - description: 用户ID
  14320. in: query
  14321. name: UserId
  14322. required: true
  14323. type: integer
  14324. - description: 用户类型 2-机构 7-企业成员
  14325. in: query
  14326. name: usertype
  14327. type: integer
  14328. - description: 现货合同ID, 不填则查所有
  14329. in: query
  14330. name: relatedid
  14331. type: string
  14332. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  14333. in: query
  14334. name: applystatus
  14335. type: string
  14336. produces:
  14337. - application/json
  14338. responses:
  14339. "200":
  14340. description: OK
  14341. schema:
  14342. items:
  14343. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  14344. type: array
  14345. "500":
  14346. description: Internal Server Error
  14347. schema:
  14348. $ref: '#/definitions/app.Response'
  14349. security:
  14350. - ApiKeyAuth: []
  14351. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  14352. tags:
  14353. - 企业风险管理(app)
  14354. /Ermcp/QueryBusinessJs:
  14355. get:
  14356. parameters:
  14357. - description: 用户ID
  14358. in: query
  14359. name: UserId
  14360. required: true
  14361. type: integer
  14362. - description: 用户类型 2-机构 7-企业成员
  14363. in: query
  14364. name: usertype
  14365. type: integer
  14366. - description: 现货合同ID, 不填则查所有
  14367. in: query
  14368. name: relatedid
  14369. type: string
  14370. - description: 操作申请id
  14371. in: query
  14372. name: operateapplyid
  14373. type: string
  14374. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  14375. in: query
  14376. name: applystatus
  14377. type: string
  14378. produces:
  14379. - application/json
  14380. responses:
  14381. "200":
  14382. description: OK
  14383. schema:
  14384. items:
  14385. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  14386. type: array
  14387. "500":
  14388. description: Internal Server Error
  14389. schema:
  14390. $ref: '#/definitions/app.Response'
  14391. security:
  14392. - ApiKeyAuth: []
  14393. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  14394. tags:
  14395. - 企业风险管理(app)
  14396. /Ermcp/QueryBusinessJsEx:
  14397. get:
  14398. parameters:
  14399. - description: 用户ID
  14400. in: query
  14401. name: UserId
  14402. required: true
  14403. type: integer
  14404. - description: 用户类型 2-机构 7-企业成员
  14405. in: query
  14406. name: usertype
  14407. type: integer
  14408. - description: 现货合同ID, 不填则查所有
  14409. in: query
  14410. name: relatedid
  14411. type: string
  14412. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  14413. in: query
  14414. name: applystatus
  14415. type: string
  14416. produces:
  14417. - application/json
  14418. responses:
  14419. "200":
  14420. description: OK
  14421. schema:
  14422. items:
  14423. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  14424. type: array
  14425. "500":
  14426. description: Internal Server Error
  14427. schema:
  14428. $ref: '#/definitions/app.Response'
  14429. security:
  14430. - ApiKeyAuth: []
  14431. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  14432. tags:
  14433. - 企业风险管理(app)
  14434. /Ermcp/QueryBusinessKx:
  14435. get:
  14436. parameters:
  14437. - description: 用户ID
  14438. in: query
  14439. name: UserId
  14440. required: true
  14441. type: integer
  14442. - description: 用户类型 2-机构 7-企业成员
  14443. in: query
  14444. name: usertype
  14445. type: integer
  14446. - description: 现货合同ID, 不填则查所有
  14447. in: query
  14448. name: relatedid
  14449. type: string
  14450. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  14451. in: query
  14452. name: applystatus
  14453. type: string
  14454. produces:
  14455. - application/json
  14456. responses:
  14457. "200":
  14458. description: OK
  14459. schema:
  14460. items:
  14461. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  14462. type: array
  14463. "500":
  14464. description: Internal Server Error
  14465. schema:
  14466. $ref: '#/definitions/app.Response'
  14467. security:
  14468. - ApiKeyAuth: []
  14469. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  14470. tags:
  14471. - 企业风险管理(app)
  14472. /Ermcp/QueryChangeLog:
  14473. get:
  14474. parameters:
  14475. - description: 合同ID
  14476. in: query
  14477. name: RelatedId
  14478. required: true
  14479. type: string
  14480. produces:
  14481. - application/json
  14482. responses:
  14483. "200":
  14484. description: OK
  14485. schema:
  14486. items:
  14487. $ref: '#/definitions/ermcp.QryOPLogRsp'
  14488. type: array
  14489. "500":
  14490. description: Internal Server Error
  14491. schema:
  14492. $ref: '#/definitions/app.Response'
  14493. security:
  14494. - ApiKeyAuth: []
  14495. summary: 查询变更记录
  14496. tags:
  14497. - 企业风险管理(app)
  14498. /Ermcp/QueryErmcpHisOrderDetails:
  14499. get:
  14500. parameters:
  14501. - description: 资金账户ID
  14502. in: query
  14503. name: accountID
  14504. required: true
  14505. type: integer
  14506. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  14507. in: query
  14508. name: startDate
  14509. type: string
  14510. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  14511. in: query
  14512. name: endDate
  14513. type: string
  14514. produces:
  14515. - application/json
  14516. responses:
  14517. "200":
  14518. description: OK
  14519. schema:
  14520. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  14521. "500":
  14522. description: Internal Server Error
  14523. schema:
  14524. $ref: '#/definitions/app.Response'
  14525. security:
  14526. - ApiKeyAuth: []
  14527. summary: 获取企业风管期货历史委托单信息
  14528. tags:
  14529. - 企业风险管理(app)
  14530. /Ermcp/QueryErmcpHisTradeDetails:
  14531. get:
  14532. parameters:
  14533. - description: 资金账户ID
  14534. in: query
  14535. name: accountID
  14536. required: true
  14537. type: integer
  14538. - description: 商品ID
  14539. in: query
  14540. name: goodsID
  14541. type: integer
  14542. - description: 买卖方向,0:买 1:卖
  14543. in: query
  14544. name: buyOrSell
  14545. type: integer
  14546. - description: 关联委托单号
  14547. in: query
  14548. name: orderID
  14549. type: integer
  14550. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  14551. in: query
  14552. name: startDate
  14553. type: string
  14554. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  14555. in: query
  14556. name: endDate
  14557. type: string
  14558. produces:
  14559. - application/json
  14560. responses:
  14561. "200":
  14562. description: OK
  14563. schema:
  14564. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  14565. "500":
  14566. description: Internal Server Error
  14567. schema:
  14568. $ref: '#/definitions/app.Response'
  14569. security:
  14570. - ApiKeyAuth: []
  14571. summary: 获取企业风管期货历史成交单信息
  14572. tags:
  14573. - 企业风险管理(app)
  14574. /Ermcp/QueryErmcpInnerHolderDetails:
  14575. get:
  14576. parameters:
  14577. - description: 资金账户ID
  14578. in: query
  14579. name: accountID
  14580. required: true
  14581. type: integer
  14582. - description: 商品ID
  14583. in: query
  14584. name: goodsID
  14585. type: integer
  14586. - description: 买卖方向,0:买 1:卖
  14587. in: query
  14588. name: buyOrSell
  14589. type: integer
  14590. produces:
  14591. - application/json
  14592. responses:
  14593. "200":
  14594. description: OK
  14595. schema:
  14596. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  14597. "500":
  14598. description: Internal Server Error
  14599. schema:
  14600. $ref: '#/definitions/app.Response'
  14601. security:
  14602. - ApiKeyAuth: []
  14603. summary: 获取企业风管期货内部持仓单信息
  14604. tags:
  14605. - 企业风险管理(app)
  14606. /Ermcp/QueryErmcpOrderDetails:
  14607. get:
  14608. parameters:
  14609. - description: 资金账户ID
  14610. in: query
  14611. name: accountID
  14612. required: true
  14613. type: integer
  14614. produces:
  14615. - application/json
  14616. responses:
  14617. "200":
  14618. description: OK
  14619. schema:
  14620. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  14621. "500":
  14622. description: Internal Server Error
  14623. schema:
  14624. $ref: '#/definitions/app.Response'
  14625. security:
  14626. - ApiKeyAuth: []
  14627. summary: 获取企业风管期货委托单信息
  14628. tags:
  14629. - 企业风险管理(app)
  14630. /Ermcp/QueryErmcpTradeDetails:
  14631. get:
  14632. parameters:
  14633. - description: 资金账户ID
  14634. in: query
  14635. name: accountID
  14636. required: true
  14637. type: integer
  14638. - description: 商品ID
  14639. in: query
  14640. name: goodsID
  14641. type: integer
  14642. - description: 买卖方向,0:买 1:卖
  14643. in: query
  14644. name: buyOrSell
  14645. type: integer
  14646. - description: 关联委托单号
  14647. in: query
  14648. name: orderID
  14649. type: integer
  14650. produces:
  14651. - application/json
  14652. responses:
  14653. "200":
  14654. description: OK
  14655. schema:
  14656. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  14657. "500":
  14658. description: Internal Server Error
  14659. schema:
  14660. $ref: '#/definitions/app.Response'
  14661. security:
  14662. - ApiKeyAuth: []
  14663. summary: 获取企业风管期货成交单信息
  14664. tags:
  14665. - 企业风险管理(app)
  14666. /Ermcp/QueryErmcpTradePosition:
  14667. get:
  14668. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  14669. parameters:
  14670. - description: 资金账户ID
  14671. in: query
  14672. name: accountID
  14673. required: true
  14674. type: integer
  14675. - description: 所属市场ID
  14676. in: query
  14677. name: marketID
  14678. type: integer
  14679. produces:
  14680. - application/json
  14681. responses:
  14682. "200":
  14683. description: OK
  14684. schema:
  14685. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  14686. "500":
  14687. description: Internal Server Error
  14688. schema:
  14689. $ref: '#/definitions/app.Response'
  14690. security:
  14691. - ApiKeyAuth: []
  14692. summary: 获取企业风管期货持仓头寸信息
  14693. tags:
  14694. - 企业风险管理(app)
  14695. /Ermcp/QueryExposureDetail:
  14696. get:
  14697. parameters:
  14698. - description: 所属机构ID
  14699. in: query
  14700. name: areaUserId
  14701. required: true
  14702. type: integer
  14703. - description: 套保商品
  14704. in: query
  14705. name: middleGoodsId
  14706. required: true
  14707. type: integer
  14708. produces:
  14709. - application/json
  14710. responses:
  14711. "200":
  14712. description: OK
  14713. schema:
  14714. items:
  14715. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  14716. type: array
  14717. "500":
  14718. description: Internal Server Error
  14719. schema:
  14720. $ref: '#/definitions/app.Response'
  14721. security:
  14722. - ApiKeyAuth: []
  14723. summary: 查询敞口现货明细
  14724. tags:
  14725. - 企业风险管理(app)
  14726. /Ermcp/QueryExposureGoods:
  14727. get:
  14728. parameters:
  14729. - description: 套保商品id
  14730. in: query
  14731. name: middlegoodsid
  14732. required: true
  14733. type: integer
  14734. produces:
  14735. - application/json
  14736. responses:
  14737. "200":
  14738. description: OK
  14739. schema:
  14740. items:
  14741. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  14742. type: array
  14743. "500":
  14744. description: Internal Server Error
  14745. schema:
  14746. $ref: '#/definitions/app.Response'
  14747. security:
  14748. - ApiKeyAuth: []
  14749. summary: 查询敞口主力合约
  14750. tags:
  14751. - 企业风险管理(app)
  14752. /Ermcp/QueryExposureHedgePosition:
  14753. get:
  14754. parameters:
  14755. - description: 用户id
  14756. in: query
  14757. name: userid
  14758. required: true
  14759. type: integer
  14760. produces:
  14761. - application/json
  14762. responses:
  14763. "200":
  14764. description: OK
  14765. schema:
  14766. items:
  14767. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  14768. type: array
  14769. "500":
  14770. description: Internal Server Error
  14771. schema:
  14772. $ref: '#/definitions/app.Response'
  14773. security:
  14774. - ApiKeyAuth: []
  14775. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  14776. tags:
  14777. - 企业风险管理(app)
  14778. /Ermcp/QueryExposureHedgePositionDetail:
  14779. get:
  14780. parameters:
  14781. - description: 所属机构ID
  14782. in: query
  14783. name: userid
  14784. required: true
  14785. type: integer
  14786. - description: 商品id
  14787. in: query
  14788. name: goodsId
  14789. required: true
  14790. type: integer
  14791. produces:
  14792. - application/json
  14793. responses:
  14794. "200":
  14795. description: OK
  14796. schema:
  14797. items:
  14798. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  14799. type: array
  14800. "500":
  14801. description: Internal Server Error
  14802. schema:
  14803. $ref: '#/definitions/app.Response'
  14804. security:
  14805. - ApiKeyAuth: []
  14806. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  14807. tags:
  14808. - 企业风险管理(app)
  14809. /Ermcp/QueryExposureSpot:
  14810. get:
  14811. parameters:
  14812. - description: 所属机构ID
  14813. in: query
  14814. name: areaUserId
  14815. required: true
  14816. type: integer
  14817. produces:
  14818. - application/json
  14819. responses:
  14820. "200":
  14821. description: OK
  14822. schema:
  14823. items:
  14824. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  14825. type: array
  14826. "500":
  14827. description: Internal Server Error
  14828. schema:
  14829. $ref: '#/definitions/app.Response'
  14830. security:
  14831. - ApiKeyAuth: []
  14832. summary: 查询敞口现货头寸(敞口/现货头寸)
  14833. tags:
  14834. - 企业风险管理(app)
  14835. /Ermcp/QueryExposureSpotDetail:
  14836. get:
  14837. parameters:
  14838. - description: 所属机构ID
  14839. in: query
  14840. name: areaUserId
  14841. required: true
  14842. type: integer
  14843. - description: 现货品种ID
  14844. in: query
  14845. name: wrstandardId
  14846. required: true
  14847. type: integer
  14848. produces:
  14849. - application/json
  14850. responses:
  14851. "200":
  14852. description: OK
  14853. schema:
  14854. items:
  14855. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  14856. type: array
  14857. "500":
  14858. description: Internal Server Error
  14859. schema:
  14860. $ref: '#/definitions/app.Response'
  14861. security:
  14862. - ApiKeyAuth: []
  14863. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  14864. tags:
  14865. - 企业风险管理(app)
  14866. /Ermcp/QueryFuturesCompany:
  14867. get:
  14868. produces:
  14869. - application/json
  14870. responses:
  14871. "200":
  14872. description: OK
  14873. schema:
  14874. items:
  14875. $ref: '#/definitions/models.ErmcpFuturesCompany'
  14876. type: array
  14877. "500":
  14878. description: Internal Server Error
  14879. schema:
  14880. $ref: '#/definitions/app.Response'
  14881. security:
  14882. - ApiKeyAuth: []
  14883. summary: 查询期货公司
  14884. tags:
  14885. - 企业风险管理(app)
  14886. /Ermcp/QueryGGConvertConfig:
  14887. get:
  14888. parameters:
  14889. - description: 品种id(不填则查所有)
  14890. in: query
  14891. name: goodsgroupid
  14892. type: integer
  14893. produces:
  14894. - application/json
  14895. responses:
  14896. "200":
  14897. description: OK
  14898. schema:
  14899. items:
  14900. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  14901. type: array
  14902. "500":
  14903. description: Internal Server Error
  14904. schema:
  14905. $ref: '#/definitions/app.Response'
  14906. security:
  14907. - ApiKeyAuth: []
  14908. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  14909. tags:
  14910. - 企业风险管理(app)
  14911. /Ermcp/QueryGoodsBrand:
  14912. get:
  14913. parameters:
  14914. - description: 用户ID
  14915. in: query
  14916. name: userid
  14917. required: true
  14918. type: integer
  14919. - description: 现货商品ID
  14920. in: query
  14921. name: wrstandardid
  14922. type: integer
  14923. produces:
  14924. - application/json
  14925. responses:
  14926. "200":
  14927. description: OK
  14928. schema:
  14929. items:
  14930. $ref: '#/definitions/models.ErmcpGoodsBrand'
  14931. type: array
  14932. "500":
  14933. description: Internal Server Error
  14934. schema:
  14935. $ref: '#/definitions/app.Response'
  14936. security:
  14937. - ApiKeyAuth: []
  14938. summary: 查询商品品牌
  14939. tags:
  14940. - 企业风险管理(app)
  14941. /Ermcp/QueryGoodsModel:
  14942. get:
  14943. parameters:
  14944. - description: 用户ID
  14945. in: query
  14946. name: userid
  14947. required: true
  14948. type: integer
  14949. produces:
  14950. - application/json
  14951. responses:
  14952. "200":
  14953. description: OK
  14954. schema:
  14955. items:
  14956. $ref: '#/definitions/models.ErmcpGoodsModel'
  14957. type: array
  14958. "500":
  14959. description: Internal Server Error
  14960. schema:
  14961. $ref: '#/definitions/app.Response'
  14962. security:
  14963. - ApiKeyAuth: []
  14964. summary: 查询商品型号
  14965. tags:
  14966. - 企业风险管理(app)
  14967. /Ermcp/QueryHisExposure:
  14968. get:
  14969. parameters:
  14970. - description: 用户id
  14971. in: query
  14972. name: userid
  14973. required: true
  14974. type: integer
  14975. - description: 每个品种记录数
  14976. in: query
  14977. name: lastNum
  14978. required: true
  14979. type: integer
  14980. produces:
  14981. - application/json
  14982. responses:
  14983. "200":
  14984. description: OK
  14985. schema:
  14986. items:
  14987. $ref: '#/definitions/ermcp.HisExposureRsp'
  14988. type: array
  14989. "500":
  14990. description: Internal Server Error
  14991. schema:
  14992. $ref: '#/definitions/app.Response'
  14993. security:
  14994. - ApiKeyAuth: []
  14995. summary: 查询历史敞口(菜单:敞口/历史敞口)
  14996. tags:
  14997. - 企业风险管理(app)
  14998. /Ermcp/QueryMiddleGoods:
  14999. get:
  15000. parameters:
  15001. - description: 所属机构ID
  15002. in: query
  15003. name: userid
  15004. required: true
  15005. type: integer
  15006. - description: 状态 0-停用 1-正常
  15007. in: query
  15008. name: status
  15009. required: true
  15010. type: integer
  15011. produces:
  15012. - application/json
  15013. responses:
  15014. "200":
  15015. description: OK
  15016. schema:
  15017. items:
  15018. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  15019. type: array
  15020. "500":
  15021. description: Internal Server Error
  15022. schema:
  15023. $ref: '#/definitions/app.Response'
  15024. security:
  15025. - ApiKeyAuth: []
  15026. summary: 查询套保品种(菜单:套保品种)
  15027. tags:
  15028. - 企业风险管理(app)
  15029. /Ermcp/QueryMiddleGoodsChangeLog:
  15030. get:
  15031. parameters:
  15032. - description: 所属机构ID
  15033. in: query
  15034. name: userid
  15035. required: true
  15036. type: integer
  15037. - description: 套保品种id
  15038. in: query
  15039. name: middlegoodsid
  15040. required: true
  15041. type: integer
  15042. produces:
  15043. - application/json
  15044. responses:
  15045. "200":
  15046. description: OK
  15047. schema:
  15048. items:
  15049. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  15050. type: array
  15051. "500":
  15052. description: Internal Server Error
  15053. schema:
  15054. $ref: '#/definitions/app.Response'
  15055. security:
  15056. - ApiKeyAuth: []
  15057. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  15058. tags:
  15059. - 企业风险管理(app)
  15060. /Ermcp/QueryMiddleGoodsDetail:
  15061. get:
  15062. parameters:
  15063. - description: 所属机构ID
  15064. in: query
  15065. name: userid
  15066. required: true
  15067. type: integer
  15068. - description: 套保品种id
  15069. in: query
  15070. name: middlegoodsid
  15071. type: integer
  15072. produces:
  15073. - application/json
  15074. responses:
  15075. "200":
  15076. description: OK
  15077. schema:
  15078. items:
  15079. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  15080. type: array
  15081. "500":
  15082. description: Internal Server Error
  15083. schema:
  15084. $ref: '#/definitions/app.Response'
  15085. security:
  15086. - ApiKeyAuth: []
  15087. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  15088. tags:
  15089. - 企业风险管理(app)
  15090. /Ermcp/QueryPendingAuditInfo:
  15091. get:
  15092. parameters:
  15093. - description: 用户ID
  15094. in: query
  15095. name: UserId
  15096. required: true
  15097. type: integer
  15098. produces:
  15099. - application/json
  15100. responses:
  15101. "200":
  15102. description: OK
  15103. schema:
  15104. items:
  15105. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  15106. type: array
  15107. "500":
  15108. description: Internal Server Error
  15109. schema:
  15110. $ref: '#/definitions/app.Response'
  15111. security:
  15112. - ApiKeyAuth: []
  15113. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  15114. tags:
  15115. - 企业风险管理(app)
  15116. /Ermcp/QueryRealtimeExposure:
  15117. get:
  15118. parameters:
  15119. - description: 所属机构ID
  15120. in: query
  15121. name: userid
  15122. required: true
  15123. type: integer
  15124. produces:
  15125. - application/json
  15126. responses:
  15127. "200":
  15128. description: OK
  15129. schema:
  15130. items:
  15131. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  15132. type: array
  15133. "500":
  15134. description: Internal Server Error
  15135. schema:
  15136. $ref: '#/definitions/app.Response'
  15137. security:
  15138. - ApiKeyAuth: []
  15139. summary: 查询实时敞口
  15140. tags:
  15141. - 企业风险管理(app)
  15142. /Ermcp/QueryRealtimeExposurePosition:
  15143. get:
  15144. parameters:
  15145. - description: 用户id
  15146. in: query
  15147. name: userid
  15148. required: true
  15149. type: integer
  15150. - description: 套保商品ID
  15151. in: query
  15152. name: middleGoodsId
  15153. required: true
  15154. type: integer
  15155. produces:
  15156. - application/json
  15157. responses:
  15158. "200":
  15159. description: OK
  15160. schema:
  15161. items:
  15162. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  15163. type: array
  15164. "500":
  15165. description: Internal Server Error
  15166. schema:
  15167. $ref: '#/definitions/app.Response'
  15168. security:
  15169. - ApiKeyAuth: []
  15170. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  15171. tags:
  15172. - 企业风险管理(app)
  15173. /Ermcp/QueryTradeConfigTMP:
  15174. get:
  15175. parameters:
  15176. - description: 所属机构id
  15177. in: query
  15178. name: areauserid
  15179. type: integer
  15180. produces:
  15181. - application/json
  15182. responses:
  15183. "200":
  15184. description: OK
  15185. schema:
  15186. items:
  15187. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  15188. type: array
  15189. "500":
  15190. description: Internal Server Error
  15191. schema:
  15192. $ref: '#/definitions/app.Response'
  15193. security:
  15194. - ApiKeyAuth: []
  15195. summary: 查询交易模板配置
  15196. tags:
  15197. - 企业风险管理(app)
  15198. /Ermcp/QueryUserInfo:
  15199. get:
  15200. parameters:
  15201. - description: 所属机构用户ID
  15202. in: query
  15203. name: MemberUserID
  15204. required: true
  15205. type: integer
  15206. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  15207. in: query
  15208. name: queryType
  15209. required: true
  15210. type: integer
  15211. produces:
  15212. - application/json
  15213. responses:
  15214. "200":
  15215. description: OK
  15216. schema:
  15217. items:
  15218. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  15219. type: array
  15220. "500":
  15221. description: Internal Server Error
  15222. schema:
  15223. $ref: '#/definitions/app.Response'
  15224. security:
  15225. - ApiKeyAuth: []
  15226. summary: 查询客户资料
  15227. tags:
  15228. - 企业风险管理(app)
  15229. /Ermcp/QueryWarehouseInfo:
  15230. get:
  15231. parameters:
  15232. - description: 用户ID
  15233. in: query
  15234. name: userid
  15235. required: true
  15236. type: integer
  15237. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  15238. in: query
  15239. name: status
  15240. type: string
  15241. produces:
  15242. - application/json
  15243. responses:
  15244. "200":
  15245. description: OK
  15246. schema:
  15247. items:
  15248. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  15249. type: array
  15250. "500":
  15251. description: Internal Server Error
  15252. schema:
  15253. $ref: '#/definitions/app.Response'
  15254. security:
  15255. - ApiKeyAuth: []
  15256. summary: 查询仓库信息
  15257. tags:
  15258. - 企业风险管理(app)
  15259. /Ermcp3/QryAreaExpourseContractDetail:
  15260. get:
  15261. parameters:
  15262. - description: 用户ID
  15263. in: query
  15264. name: userid
  15265. required: true
  15266. type: integer
  15267. - description: 套保商品id
  15268. in: query
  15269. name: middlegoodsid
  15270. required: true
  15271. type: integer
  15272. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  15273. in: query
  15274. name: cycletype
  15275. required: true
  15276. type: integer
  15277. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  15278. 全(0)【原值】
  15279. in: query
  15280. name: cycletime
  15281. required: true
  15282. type: string
  15283. produces:
  15284. - application/json
  15285. responses:
  15286. "200":
  15287. description: OK
  15288. schema:
  15289. items:
  15290. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  15291. type: array
  15292. "500":
  15293. description: Internal Server Error
  15294. schema:
  15295. $ref: '#/definitions/app.Response'
  15296. security:
  15297. - ApiKeyAuth: []
  15298. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  15299. tags:
  15300. - 企业风险管理v3(app)
  15301. /Ermcp3/QryAreaExpourseFutuDetail:
  15302. get:
  15303. parameters:
  15304. - description: 用户ID
  15305. in: query
  15306. name: userid
  15307. required: true
  15308. type: integer
  15309. - description: 套保商品id
  15310. in: query
  15311. name: middlegoodsid
  15312. required: true
  15313. type: integer
  15314. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  15315. in: query
  15316. name: cycletype
  15317. required: true
  15318. type: integer
  15319. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  15320. 全(0)【原值】
  15321. in: query
  15322. name: cycletime
  15323. required: true
  15324. type: string
  15325. produces:
  15326. - application/json
  15327. responses:
  15328. "200":
  15329. description: OK
  15330. schema:
  15331. items:
  15332. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  15333. type: array
  15334. "500":
  15335. description: Internal Server Error
  15336. schema:
  15337. $ref: '#/definitions/app.Response'
  15338. security:
  15339. - ApiKeyAuth: []
  15340. summary: 查询敞口期货明细(敞口报表/期货明细)
  15341. tags:
  15342. - 企业风险管理v3(app)
  15343. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  15344. get:
  15345. parameters:
  15346. - description: 用户ID
  15347. in: query
  15348. name: userid
  15349. required: true
  15350. type: integer
  15351. - description: 套保商品id
  15352. in: query
  15353. name: middlegoodsid
  15354. required: true
  15355. type: integer
  15356. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  15357. in: query
  15358. name: cycletype
  15359. required: true
  15360. type: integer
  15361. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  15362. 全(0)【原值】
  15363. in: query
  15364. name: cycletime
  15365. required: true
  15366. type: string
  15367. produces:
  15368. - application/json
  15369. responses:
  15370. "200":
  15371. description: OK
  15372. schema:
  15373. items:
  15374. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  15375. type: array
  15376. "500":
  15377. description: Internal Server Error
  15378. schema:
  15379. $ref: '#/definitions/app.Response'
  15380. security:
  15381. - ApiKeyAuth: []
  15382. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  15383. tags:
  15384. - 企业风险管理v3(app)
  15385. /Ermcp3/QryAreaExpourseParamChLogDetail:
  15386. get:
  15387. parameters:
  15388. - description: 用户ID
  15389. in: query
  15390. name: userid
  15391. required: true
  15392. type: integer
  15393. - description: 套保商品id
  15394. in: query
  15395. name: middlegoodsid
  15396. required: true
  15397. type: integer
  15398. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  15399. in: query
  15400. name: cycletype
  15401. required: true
  15402. type: integer
  15403. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  15404. 全(0)【原值】
  15405. in: query
  15406. name: cycletime
  15407. required: true
  15408. type: string
  15409. produces:
  15410. - application/json
  15411. responses:
  15412. "200":
  15413. description: OK
  15414. schema:
  15415. items:
  15416. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  15417. type: array
  15418. "500":
  15419. description: Internal Server Error
  15420. schema:
  15421. $ref: '#/definitions/app.Response'
  15422. security:
  15423. - ApiKeyAuth: []
  15424. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  15425. tags:
  15426. - 企业风险管理v3(app)
  15427. /Ermcp3/QryAreaExpourseReport:
  15428. get:
  15429. parameters:
  15430. - description: 用户ID
  15431. in: query
  15432. name: userid
  15433. required: true
  15434. type: integer
  15435. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  15436. in: query
  15437. name: querytype
  15438. required: true
  15439. type: integer
  15440. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  15441. in: query
  15442. name: cycletype
  15443. required: true
  15444. type: integer
  15445. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  15446. 全(0)【原值】
  15447. in: query
  15448. name: cycletime
  15449. required: true
  15450. type: string
  15451. produces:
  15452. - application/json
  15453. responses:
  15454. "200":
  15455. description: OK
  15456. schema:
  15457. items:
  15458. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  15459. type: array
  15460. "500":
  15461. description: Internal Server Error
  15462. schema:
  15463. $ref: '#/definitions/app.Response'
  15464. security:
  15465. - ApiKeyAuth: []
  15466. summary: 查询敞口报表
  15467. tags:
  15468. - 企业风险管理v3(app)
  15469. /Ermcp3/QryAreaSpotplReport:
  15470. get:
  15471. parameters:
  15472. - description: 用户ID
  15473. in: query
  15474. name: userid
  15475. required: true
  15476. type: integer
  15477. - description: 查询类型 1-报表 2-报表明细
  15478. in: query
  15479. name: querytype
  15480. required: true
  15481. type: integer
  15482. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  15483. in: query
  15484. name: cycletype
  15485. required: true
  15486. type: integer
  15487. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  15488. 全(0)【原值】
  15489. in: query
  15490. name: cycletime
  15491. required: true
  15492. type: string
  15493. - description: 现货品种id(明细必填)
  15494. in: query
  15495. name: deliverygoodsid
  15496. type: integer
  15497. - description: 币种id(明细必填)
  15498. in: query
  15499. name: currencyid
  15500. type: integer
  15501. produces:
  15502. - application/json
  15503. responses:
  15504. "200":
  15505. description: OK
  15506. schema:
  15507. items:
  15508. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  15509. type: array
  15510. "500":
  15511. description: Internal Server Error
  15512. schema:
  15513. $ref: '#/definitions/app.Response'
  15514. security:
  15515. - ApiKeyAuth: []
  15516. summary: 查询现货报表
  15517. tags:
  15518. - 企业风险管理v3(app)
  15519. /Ermcp3/QryAreaStockReport:
  15520. get:
  15521. parameters:
  15522. - description: 用户ID
  15523. in: query
  15524. name: userid
  15525. required: true
  15526. type: integer
  15527. - description: 查询类型 1-报表 2-报表明细
  15528. in: query
  15529. name: querytype
  15530. required: true
  15531. type: integer
  15532. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  15533. in: query
  15534. name: cycletype
  15535. required: true
  15536. type: integer
  15537. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  15538. 全(0)【原值】
  15539. in: query
  15540. name: cycletime
  15541. required: true
  15542. type: string
  15543. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  15544. in: query
  15545. name: sumfields
  15546. type: string
  15547. - description: 品种ID
  15548. in: query
  15549. name: deliverygoodsid
  15550. type: integer
  15551. - description: 品类ID
  15552. in: query
  15553. name: wrstandardid
  15554. type: integer
  15555. - description: 品牌ID
  15556. in: query
  15557. name: spotgoodsbrandid
  15558. type: integer
  15559. - description: 仓库ID
  15560. in: query
  15561. name: warehouseinfoid
  15562. type: integer
  15563. produces:
  15564. - application/json
  15565. responses:
  15566. "200":
  15567. description: OK
  15568. schema:
  15569. items:
  15570. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  15571. type: array
  15572. "500":
  15573. description: Internal Server Error
  15574. schema:
  15575. $ref: '#/definitions/app.Response'
  15576. security:
  15577. - ApiKeyAuth: []
  15578. summary: 查询库存报表
  15579. tags:
  15580. - 企业风险管理v3(app)
  15581. /Ermcp3/QryAreaSumPL:
  15582. get:
  15583. parameters:
  15584. - description: 用户ID
  15585. in: query
  15586. name: userid
  15587. required: true
  15588. type: integer
  15589. - description: 查询类型 1-报表 2-报表明细
  15590. in: query
  15591. name: querytype
  15592. required: true
  15593. type: integer
  15594. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  15595. in: query
  15596. name: cycletype
  15597. required: true
  15598. type: integer
  15599. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  15600. 全(0)【原值】
  15601. in: query
  15602. name: cycletime
  15603. required: true
  15604. type: string
  15605. - description: 币种id(明细必填)
  15606. in: query
  15607. name: currencyid
  15608. type: integer
  15609. produces:
  15610. - application/json
  15611. responses:
  15612. "200":
  15613. description: OK
  15614. schema:
  15615. items:
  15616. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  15617. type: array
  15618. "500":
  15619. description: Internal Server Error
  15620. schema:
  15621. $ref: '#/definitions/app.Response'
  15622. security:
  15623. - ApiKeyAuth: []
  15624. summary: 查询汇总损益表
  15625. tags:
  15626. - 企业风险管理v3(app)
  15627. /Ermcp3/QryFinanceReport:
  15628. get:
  15629. parameters:
  15630. - description: 用户ID
  15631. in: query
  15632. name: userid
  15633. required: true
  15634. type: integer
  15635. - description: 查询类型 1-报表 2-报表明细
  15636. in: query
  15637. name: querytype
  15638. required: true
  15639. type: integer
  15640. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  15641. in: query
  15642. name: cycletype
  15643. required: true
  15644. type: integer
  15645. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  15646. 全(0)【原值】
  15647. in: query
  15648. name: cycletime
  15649. required: true
  15650. type: string
  15651. - description: 币种id(报表明细必填)
  15652. in: query
  15653. name: currencyid
  15654. type: integer
  15655. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  15656. in: query
  15657. name: sumfields
  15658. type: string
  15659. produces:
  15660. - application/json
  15661. responses:
  15662. "200":
  15663. description: OK
  15664. schema:
  15665. items:
  15666. $ref: '#/definitions/models.Ermcp3FinanceReport'
  15667. type: array
  15668. "500":
  15669. description: Internal Server Error
  15670. schema:
  15671. $ref: '#/definitions/app.Response'
  15672. security:
  15673. - ApiKeyAuth: []
  15674. summary: 查询财务报表
  15675. tags:
  15676. - 企业风险管理v3(app)
  15677. /Ermcp3/QryTaFutureDataReport:
  15678. get:
  15679. parameters:
  15680. - description: 用户ID
  15681. in: query
  15682. name: userid
  15683. required: true
  15684. type: integer
  15685. - description: 查询类型 1-报表 2-报表明细
  15686. in: query
  15687. name: querytype
  15688. required: true
  15689. type: integer
  15690. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  15691. in: query
  15692. name: cycletype
  15693. required: true
  15694. type: integer
  15695. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  15696. 全(0)【原值】
  15697. in: query
  15698. name: cycletime
  15699. required: true
  15700. type: string
  15701. - description: 币种id(查明细必填)
  15702. in: query
  15703. name: currencyid
  15704. type: integer
  15705. - description: 品种id(查明细必填)
  15706. in: query
  15707. name: goodsgroupid
  15708. type: integer
  15709. - description: 商品id(查明细必填)
  15710. in: query
  15711. name: goodsid
  15712. type: integer
  15713. - description: 买卖方向(查明细必填)
  15714. in: query
  15715. name: buyorsell
  15716. type: integer
  15717. produces:
  15718. - application/json
  15719. responses:
  15720. "200":
  15721. description: OK
  15722. schema:
  15723. items:
  15724. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  15725. type: array
  15726. "500":
  15727. description: Internal Server Error
  15728. schema:
  15729. $ref: '#/definitions/app.Response'
  15730. security:
  15731. - ApiKeyAuth: []
  15732. summary: 查询期货报表
  15733. tags:
  15734. - 企业风险管理v3(app)
  15735. /Ermcp3/QueryAreaStock:
  15736. get:
  15737. parameters:
  15738. - description: 用户ID
  15739. in: query
  15740. name: userid
  15741. required: true
  15742. type: integer
  15743. produces:
  15744. - application/json
  15745. responses:
  15746. "200":
  15747. description: OK
  15748. schema:
  15749. items:
  15750. $ref: '#/definitions/models.Ermcp3AreaStock'
  15751. type: array
  15752. "500":
  15753. description: Internal Server Error
  15754. schema:
  15755. $ref: '#/definitions/app.Response'
  15756. security:
  15757. - ApiKeyAuth: []
  15758. summary: 查询机构库存(库存管理/当前库存)
  15759. tags:
  15760. - 企业风险管理v3(app)
  15761. /Ermcp3/QueryAreaStockApply:
  15762. get:
  15763. parameters:
  15764. - description: 用户ID
  15765. in: query
  15766. name: userid
  15767. required: true
  15768. type: integer
  15769. - description: 用户类型 2-机构 7-企业成员
  15770. in: query
  15771. name: usertype
  15772. type: integer
  15773. - description: 现货商品ID
  15774. in: query
  15775. name: deliverygoodsid
  15776. type: integer
  15777. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  15778. in: query
  15779. name: inouttype
  15780. type: string
  15781. - description: 合同ID
  15782. in: query
  15783. name: spotcontractid
  15784. type: integer
  15785. - description: 品类ID
  15786. in: query
  15787. name: wrstandardid
  15788. type: integer
  15789. - description: 品牌ID
  15790. in: query
  15791. name: spotgoodsbrandid
  15792. type: integer
  15793. - description: 仓库ID
  15794. in: query
  15795. name: warehouseinfoid
  15796. type: integer
  15797. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  15798. in: query
  15799. name: applystatus
  15800. type: string
  15801. produces:
  15802. - application/json
  15803. responses:
  15804. "200":
  15805. description: OK
  15806. schema:
  15807. items:
  15808. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  15809. type: array
  15810. "500":
  15811. description: Internal Server Error
  15812. schema:
  15813. $ref: '#/definitions/app.Response'
  15814. security:
  15815. - ApiKeyAuth: []
  15816. summary: 查询库存申请(出入库记录|库存审核)
  15817. tags:
  15818. - 企业风险管理v3(app)
  15819. /Ermcp3/QueryAreaStockApplySum:
  15820. get:
  15821. parameters:
  15822. - description: 合同ID
  15823. in: query
  15824. name: spotcontractid
  15825. type: integer
  15826. produces:
  15827. - application/json
  15828. responses:
  15829. "200":
  15830. description: OK
  15831. schema:
  15832. items:
  15833. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  15834. type: array
  15835. "500":
  15836. description: Internal Server Error
  15837. schema:
  15838. $ref: '#/definitions/app.Response'
  15839. security:
  15840. - ApiKeyAuth: []
  15841. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  15842. tags:
  15843. - 企业风险管理v3(app)
  15844. /Ermcp3/QueryDGFactoryItem:
  15845. get:
  15846. parameters:
  15847. - description: 用户id
  15848. in: query
  15849. name: userid
  15850. type: integer
  15851. - description: 用户类型 2-机构 7-企业成员
  15852. in: query
  15853. name: usertype
  15854. type: integer
  15855. - description: 选择项ID(SEQ_DGFACTORYITEM)
  15856. in: query
  15857. name: dgfactoryitemid
  15858. type: integer
  15859. - description: 现货品种ID
  15860. in: query
  15861. name: deliverygoodsid
  15862. type: integer
  15863. - description: 要素项类型
  15864. in: query
  15865. name: dgfactoryitemtypeid
  15866. type: integer
  15867. - description: 顺序
  15868. in: query
  15869. name: orderindex
  15870. type: integer
  15871. produces:
  15872. - application/json
  15873. responses:
  15874. "200":
  15875. description: OK
  15876. schema:
  15877. items:
  15878. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  15879. type: array
  15880. "500":
  15881. description: Internal Server Error
  15882. schema:
  15883. $ref: '#/definitions/app.Response'
  15884. security:
  15885. - ApiKeyAuth: []
  15886. summary: 查询品种要素定义项
  15887. tags:
  15888. - 企业风险管理v3(app)
  15889. /Ermcp3/QueryDeliveryGoods:
  15890. get:
  15891. parameters:
  15892. - description: 用户id
  15893. in: query
  15894. name: userid
  15895. required: true
  15896. type: integer
  15897. - description: 用户类型 2-机构 7-企业成员
  15898. in: query
  15899. name: usertype
  15900. type: integer
  15901. - description: 排除已配置的业务类型商品 1-套保 2-套利
  15902. in: query
  15903. name: excludecfg
  15904. type: integer
  15905. produces:
  15906. - application/json
  15907. responses:
  15908. "200":
  15909. description: OK
  15910. schema:
  15911. items:
  15912. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  15913. type: array
  15914. "500":
  15915. description: Internal Server Error
  15916. schema:
  15917. $ref: '#/definitions/app.Response'
  15918. security:
  15919. - ApiKeyAuth: []
  15920. summary: 查询现货商品
  15921. tags:
  15922. - 企业风险管理v3(app)
  15923. /Ermcp3/QueryDeliveryGoodsDetail:
  15924. get:
  15925. parameters:
  15926. - description: 用户id
  15927. in: query
  15928. name: userid
  15929. required: true
  15930. type: integer
  15931. - description: 用户类型 2-机构 7-企业成员
  15932. in: query
  15933. name: usertype
  15934. type: integer
  15935. - description: 现货商品id
  15936. in: query
  15937. name: deliverygoodsid
  15938. type: integer
  15939. produces:
  15940. - application/json
  15941. responses:
  15942. "200":
  15943. description: OK
  15944. schema:
  15945. items:
  15946. $ref: '#/definitions/models.ErmcpDeliveryGoodsDetailEx'
  15947. type: array
  15948. "500":
  15949. description: Internal Server Error
  15950. schema:
  15951. $ref: '#/definitions/app.Response'
  15952. security:
  15953. - ApiKeyAuth: []
  15954. summary: 查询现货商品详情
  15955. tags:
  15956. - 企业风险管理v3(app)
  15957. /Ermcp3/QueryExposureDetail:
  15958. get:
  15959. parameters:
  15960. - description: 用户id
  15961. in: query
  15962. name: userid
  15963. required: true
  15964. type: integer
  15965. - description: 用户类型 2-机构 7-企业成员
  15966. in: query
  15967. name: usertype
  15968. type: integer
  15969. - description: 套保商品
  15970. in: query
  15971. name: middlegoodsid
  15972. required: true
  15973. type: integer
  15974. produces:
  15975. - application/json
  15976. responses:
  15977. "200":
  15978. description: OK
  15979. schema:
  15980. items:
  15981. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  15982. type: array
  15983. "500":
  15984. description: Internal Server Error
  15985. schema:
  15986. $ref: '#/definitions/app.Response'
  15987. security:
  15988. - ApiKeyAuth: []
  15989. summary: 查询敞口现货明细
  15990. tags:
  15991. - 企业风险管理v3(app)
  15992. /Ermcp3/QueryExposureSpot:
  15993. get:
  15994. parameters:
  15995. - description: 用户id
  15996. in: query
  15997. name: userid
  15998. required: true
  15999. type: integer
  16000. - description: 用户类型 2-机构 7-企业成员
  16001. in: query
  16002. name: usertype
  16003. type: integer
  16004. produces:
  16005. - application/json
  16006. responses:
  16007. "200":
  16008. description: OK
  16009. schema:
  16010. items:
  16011. $ref: '#/definitions/models.Ermcp3AreaSpot'
  16012. type: array
  16013. "500":
  16014. description: Internal Server Error
  16015. schema:
  16016. $ref: '#/definitions/app.Response'
  16017. security:
  16018. - ApiKeyAuth: []
  16019. summary: 查询敞口现货头寸(敞口/现货头寸)
  16020. tags:
  16021. - 企业风险管理v3(app)
  16022. /Ermcp3/QueryExposureSpotDetail:
  16023. get:
  16024. parameters:
  16025. - description: 用户id
  16026. in: query
  16027. name: userid
  16028. required: true
  16029. type: integer
  16030. - description: 用户类型 2-机构 7-企业成员
  16031. in: query
  16032. name: usertype
  16033. type: integer
  16034. - description: 现货品种ID
  16035. in: query
  16036. name: deliverygoodsid
  16037. required: true
  16038. type: integer
  16039. produces:
  16040. - application/json
  16041. responses:
  16042. "200":
  16043. description: OK
  16044. schema:
  16045. items:
  16046. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  16047. type: array
  16048. "500":
  16049. description: Internal Server Error
  16050. schema:
  16051. $ref: '#/definitions/app.Response'
  16052. security:
  16053. - ApiKeyAuth: []
  16054. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  16055. tags:
  16056. - 企业风险管理v3(app)
  16057. /Ermcp3/QueryGoodsGroup:
  16058. get:
  16059. parameters:
  16060. - description: 用户id
  16061. in: query
  16062. name: userid
  16063. required: true
  16064. type: integer
  16065. - description: 用户类型 2-机构 7-企业成员
  16066. in: query
  16067. name: usertype
  16068. type: integer
  16069. - description: 排除套保品中已关联的商品组 1-排除
  16070. in: query
  16071. name: excludecfg
  16072. type: integer
  16073. produces:
  16074. - application/json
  16075. responses:
  16076. "200":
  16077. description: OK
  16078. schema:
  16079. items:
  16080. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  16081. type: array
  16082. "500":
  16083. description: Internal Server Error
  16084. schema:
  16085. $ref: '#/definitions/app.Response'
  16086. security:
  16087. - ApiKeyAuth: []
  16088. summary: 查询期货商品组
  16089. tags:
  16090. - 企业风险管理v3(app)
  16091. /Ermcp3/QueryGoodsWrstandard:
  16092. get:
  16093. parameters:
  16094. - description: 用户id
  16095. in: query
  16096. name: userid
  16097. required: true
  16098. type: integer
  16099. - description: 用户类型 2-机构 7-企业成员
  16100. in: query
  16101. name: usertype
  16102. type: integer
  16103. - description: 现货商品id
  16104. in: query
  16105. name: deliverygoodsid
  16106. type: integer
  16107. produces:
  16108. - application/json
  16109. responses:
  16110. "200":
  16111. description: OK
  16112. schema:
  16113. items:
  16114. $ref: '#/definitions/models.Ermcp3Wrstandard'
  16115. type: array
  16116. "500":
  16117. description: Internal Server Error
  16118. schema:
  16119. $ref: '#/definitions/app.Response'
  16120. security:
  16121. - ApiKeyAuth: []
  16122. summary: 查询商品品类
  16123. tags:
  16124. - 企业风险管理v3(app)
  16125. /Ermcp3/QueryGoodsbrand:
  16126. get:
  16127. parameters:
  16128. - description: 用户id
  16129. in: query
  16130. name: userid
  16131. required: true
  16132. type: integer
  16133. - description: 用户类型 2-机构 7-企业成员
  16134. in: query
  16135. name: usertype
  16136. type: integer
  16137. produces:
  16138. - application/json
  16139. responses:
  16140. "200":
  16141. description: OK
  16142. schema:
  16143. items:
  16144. $ref: '#/definitions/models.Ermcp3Brand'
  16145. type: array
  16146. "500":
  16147. description: Internal Server Error
  16148. schema:
  16149. $ref: '#/definitions/app.Response'
  16150. security:
  16151. - ApiKeyAuth: []
  16152. summary: 查询商品品牌
  16153. tags:
  16154. - 企业风险管理v3(app)
  16155. /Ermcp3/QueryHedgePlan:
  16156. get:
  16157. parameters:
  16158. - description: 用户ID
  16159. in: query
  16160. name: userid
  16161. required: true
  16162. type: integer
  16163. - description: 用户类型 2-机构 7-企业成员
  16164. in: query
  16165. name: usertype
  16166. type: integer
  16167. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  16168. in: query
  16169. name: hedgeplanstatus
  16170. required: true
  16171. type: string
  16172. produces:
  16173. - application/json
  16174. responses:
  16175. "200":
  16176. description: OK
  16177. schema:
  16178. items:
  16179. $ref: '#/definitions/models.Ermcp3HedgePlan'
  16180. type: array
  16181. "500":
  16182. description: Internal Server Error
  16183. schema:
  16184. $ref: '#/definitions/app.Response'
  16185. security:
  16186. - ApiKeyAuth: []
  16187. summary: 查询套保计划
  16188. tags:
  16189. - 企业风险管理v3(app)
  16190. /Ermcp3/QueryMiddleGoodsDetail:
  16191. get:
  16192. parameters:
  16193. - description: 用户id
  16194. in: query
  16195. name: userid
  16196. required: true
  16197. type: integer
  16198. - description: 用户类型 2-机构 7-企业成员
  16199. in: query
  16200. name: usertype
  16201. type: integer
  16202. - description: 套保品种id
  16203. in: query
  16204. name: middlegoodsid
  16205. type: integer
  16206. produces:
  16207. - application/json
  16208. responses:
  16209. "200":
  16210. description: OK
  16211. schema:
  16212. items:
  16213. $ref: '#/definitions/models.Ermcp3MiddleGoodsDetailEx'
  16214. type: array
  16215. "500":
  16216. description: Internal Server Error
  16217. schema:
  16218. $ref: '#/definitions/app.Response'
  16219. security:
  16220. - ApiKeyAuth: []
  16221. summary: 查询套保品种详情(套保品种/商品详情)
  16222. tags:
  16223. - 企业风险管理v3(app)
  16224. /Ermcp3/QueryRootUserAccount:
  16225. get:
  16226. parameters:
  16227. - description: 用户ID
  16228. in: query
  16229. name: userid
  16230. required: true
  16231. type: integer
  16232. produces:
  16233. - application/json
  16234. responses:
  16235. "200":
  16236. description: OK
  16237. schema:
  16238. items:
  16239. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  16240. type: array
  16241. "500":
  16242. description: Internal Server Error
  16243. schema:
  16244. $ref: '#/definitions/app.Response'
  16245. security:
  16246. - ApiKeyAuth: []
  16247. summary: 查询顶级用户信息
  16248. tags:
  16249. - 企业风险管理v3(app)
  16250. /Ermcp3/QuerySpotContract:
  16251. get:
  16252. parameters:
  16253. - description: 用户id
  16254. in: query
  16255. name: userid
  16256. required: true
  16257. type: integer
  16258. - description: 用户类型 2-机构 7-企业成员
  16259. in: query
  16260. name: usertype
  16261. type: integer
  16262. - description: 查询类型 1-未提交 2-待审核 3-履约中 4-已完成
  16263. in: query
  16264. name: querytype
  16265. required: true
  16266. type: integer
  16267. - description: 合同ID(SpotContractId)
  16268. in: query
  16269. name: contractid
  16270. type: string
  16271. produces:
  16272. - application/json
  16273. responses:
  16274. "200":
  16275. description: OK
  16276. schema:
  16277. items:
  16278. $ref: '#/definitions/models.Ermcp3Contract'
  16279. type: array
  16280. "500":
  16281. description: Internal Server Error
  16282. schema:
  16283. $ref: '#/definitions/app.Response'
  16284. security:
  16285. - ApiKeyAuth: []
  16286. summary: 查询现货合同
  16287. tags:
  16288. - 企业风险管理v3(app)
  16289. /Ermcp3/QuerySpotContractBS:
  16290. get:
  16291. parameters:
  16292. - description: 用户id
  16293. in: query
  16294. name: userid
  16295. required: true
  16296. type: integer
  16297. - description: 用户类型 2-机构 7-企业成员
  16298. in: query
  16299. name: usertype
  16300. type: integer
  16301. - description: 合同类型 1-采购, -1-销售
  16302. in: query
  16303. name: contracttype
  16304. required: true
  16305. type: integer
  16306. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  16307. in: query
  16308. name: querytype
  16309. required: true
  16310. type: integer
  16311. - description: 合同ID(SpotContractId)
  16312. in: query
  16313. name: contractid
  16314. type: string
  16315. produces:
  16316. - application/json
  16317. responses:
  16318. "200":
  16319. description: OK
  16320. schema:
  16321. items:
  16322. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  16323. type: array
  16324. "500":
  16325. description: Internal Server Error
  16326. schema:
  16327. $ref: '#/definitions/app.Response'
  16328. security:
  16329. - ApiKeyAuth: []
  16330. summary: 查询合同(采购/销售)
  16331. tags:
  16332. - 企业风险管理v3(app)
  16333. /Ermcp3/QuerySpotGoodsPrice:
  16334. get:
  16335. parameters:
  16336. - description: 用户ID
  16337. in: query
  16338. name: userid
  16339. required: true
  16340. type: integer
  16341. produces:
  16342. - application/json
  16343. responses:
  16344. "200":
  16345. description: OK
  16346. schema:
  16347. items:
  16348. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  16349. type: array
  16350. "500":
  16351. description: Internal Server Error
  16352. schema:
  16353. $ref: '#/definitions/app.Response'
  16354. security:
  16355. - ApiKeyAuth: []
  16356. summary: 查询现货市价(现货市价)
  16357. tags:
  16358. - 企业风险管理v3(app)
  16359. /Ermcp3/QuerySpotGoodsPriceLog:
  16360. get:
  16361. parameters:
  16362. - description: 用户ID
  16363. in: query
  16364. name: userid
  16365. required: true
  16366. type: integer
  16367. - description: 现货商品ID
  16368. in: query
  16369. name: deliverygoodsid
  16370. required: true
  16371. type: integer
  16372. - description: 品牌ID
  16373. in: query
  16374. name: brandid
  16375. type: integer
  16376. - description: 品类ID
  16377. in: query
  16378. name: wrstandardid
  16379. type: integer
  16380. produces:
  16381. - application/json
  16382. responses:
  16383. "200":
  16384. description: OK
  16385. schema:
  16386. items:
  16387. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  16388. type: array
  16389. "500":
  16390. description: Internal Server Error
  16391. schema:
  16392. $ref: '#/definitions/app.Response'
  16393. security:
  16394. - ApiKeyAuth: []
  16395. summary: 查询现货市价详情(现货市价/详情)
  16396. tags:
  16397. - 企业风险管理v3(app)
  16398. /Erms2/QueryArbitrageStrategy:
  16399. get:
  16400. parameters:
  16401. - description: 账户ID
  16402. in: query
  16403. name: userid
  16404. required: true
  16405. type: integer
  16406. - description: 商品组ID(品种ID)
  16407. in: query
  16408. name: goodsgroupid
  16409. type: string
  16410. produces:
  16411. - application/json
  16412. responses:
  16413. "200":
  16414. description: OK
  16415. schema:
  16416. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  16417. "500":
  16418. description: Internal Server Error
  16419. schema:
  16420. $ref: '#/definitions/app.Response'
  16421. security:
  16422. - ApiKeyAuth: []
  16423. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  16424. tags:
  16425. - 风险管理
  16426. /Erms2/QueryInnerTradeDetail:
  16427. get:
  16428. parameters:
  16429. - description: 资金账户
  16430. in: query
  16431. name: accountid
  16432. required: true
  16433. type: integer
  16434. produces:
  16435. - application/json
  16436. responses:
  16437. "200":
  16438. description: OK
  16439. schema:
  16440. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  16441. "500":
  16442. description: Internal Server Error
  16443. schema:
  16444. $ref: '#/definitions/app.Response'
  16445. security:
  16446. - ApiKeyAuth: []
  16447. summary: 查询内部成交单信息
  16448. tags:
  16449. - 风险管理
  16450. /Erms2/QuerySpotContract:
  16451. get:
  16452. parameters:
  16453. - description: 策略申请ID
  16454. in: query
  16455. name: asapplyid
  16456. required: true
  16457. type: integer
  16458. - description: 现货合同ID
  16459. in: query
  16460. name: spotcontractid
  16461. type: integer
  16462. produces:
  16463. - application/json
  16464. responses:
  16465. "200":
  16466. description: OK
  16467. schema:
  16468. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  16469. "500":
  16470. description: Internal Server Error
  16471. schema:
  16472. $ref: '#/definitions/app.Response'
  16473. security:
  16474. - ApiKeyAuth: []
  16475. summary: 查询现货合同表信息(指定策略ID、未结束的)
  16476. tags:
  16477. - 风险管理
  16478. /Erms3/AddErms2ASApply:
  16479. post:
  16480. parameters:
  16481. - description: 申请参数
  16482. in: body
  16483. name: jsonBody
  16484. required: true
  16485. schema:
  16486. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  16487. produces:
  16488. - application/json
  16489. responses:
  16490. "200":
  16491. description: OK
  16492. schema:
  16493. $ref: '#/definitions/app.Response'
  16494. "500":
  16495. description: Internal Server Error
  16496. schema:
  16497. $ref: '#/definitions/app.Response'
  16498. security:
  16499. - ApiKeyAuth: []
  16500. summary: 新增期现套利业务申请
  16501. tags:
  16502. - 风险管理v3
  16503. /Erms3/AddErms2SpotTradeApply:
  16504. post:
  16505. parameters:
  16506. - description: 申请参数
  16507. in: body
  16508. name: jsonBody
  16509. required: true
  16510. schema:
  16511. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  16512. produces:
  16513. - application/json
  16514. responses:
  16515. "200":
  16516. description: OK
  16517. schema:
  16518. $ref: '#/definitions/app.Response'
  16519. "500":
  16520. description: Internal Server Error
  16521. schema:
  16522. $ref: '#/definitions/app.Response'
  16523. security:
  16524. - ApiKeyAuth: []
  16525. summary: 新增现货贸易业务申请
  16526. tags:
  16527. - 风险管理v3
  16528. /Erms3/AddSpotContractApply:
  16529. post:
  16530. parameters:
  16531. - description: 申请参数
  16532. in: body
  16533. name: jsonBody
  16534. required: true
  16535. schema:
  16536. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  16537. produces:
  16538. - application/json
  16539. responses:
  16540. "200":
  16541. description: OK
  16542. schema:
  16543. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  16544. "500":
  16545. description: Internal Server Error
  16546. schema:
  16547. $ref: '#/definitions/app.Response'
  16548. security:
  16549. - ApiKeyAuth: []
  16550. summary: 新增现货合同申请
  16551. tags:
  16552. - 风险管理v3
  16553. /Erms3/AddUserInfoApply:
  16554. post:
  16555. parameters:
  16556. - description: 用户信息
  16557. in: body
  16558. name: jsonBody
  16559. required: true
  16560. schema:
  16561. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  16562. produces:
  16563. - application/json
  16564. responses:
  16565. "200":
  16566. description: OK
  16567. schema:
  16568. $ref: '#/definitions/app.Response'
  16569. "500":
  16570. description: Internal Server Error
  16571. schema:
  16572. $ref: '#/definitions/app.Response'
  16573. security:
  16574. - ApiKeyAuth: []
  16575. summary: 新增客户申请
  16576. tags:
  16577. - 风险管理v3
  16578. /Erms3/DeleteUserInfoApply:
  16579. get:
  16580. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  16581. parameters:
  16582. - description: 用户ID
  16583. in: query
  16584. name: userID
  16585. required: true
  16586. type: integer
  16587. produces:
  16588. - application/json
  16589. responses:
  16590. "200":
  16591. description: OK
  16592. schema:
  16593. $ref: '#/definitions/app.Response'
  16594. "500":
  16595. description: Internal Server Error
  16596. schema:
  16597. $ref: '#/definitions/app.Response'
  16598. security:
  16599. - ApiKeyAuth: []
  16600. summary: 删除客户申请
  16601. tags:
  16602. - 风险管理v3
  16603. /Erms3/ModifyUserInfoApply:
  16604. post:
  16605. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  16606. int, "userstate": 2 }'
  16607. parameters:
  16608. - description: 用户信息
  16609. in: body
  16610. name: jsonBody
  16611. required: true
  16612. schema:
  16613. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  16614. produces:
  16615. - application/json
  16616. responses:
  16617. "200":
  16618. description: OK
  16619. schema:
  16620. $ref: '#/definitions/app.Response'
  16621. "500":
  16622. description: Internal Server Error
  16623. schema:
  16624. $ref: '#/definitions/app.Response'
  16625. security:
  16626. - ApiKeyAuth: []
  16627. summary: 修改客户申请
  16628. tags:
  16629. - 风险管理v3
  16630. /Erms3/QueryBusinessInfo:
  16631. get:
  16632. parameters:
  16633. - description: 资金账号ID列表,用逗号分隔
  16634. in: query
  16635. name: accountids
  16636. required: true
  16637. type: string
  16638. - description: 状态,0为未结束 1为已结束
  16639. in: query
  16640. name: status
  16641. required: true
  16642. type: integer
  16643. produces:
  16644. - application/json
  16645. responses:
  16646. "200":
  16647. description: OK
  16648. schema:
  16649. items:
  16650. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  16651. type: array
  16652. "500":
  16653. description: Internal Server Error
  16654. schema:
  16655. $ref: '#/definitions/app.Response'
  16656. security:
  16657. - ApiKeyAuth: []
  16658. summary: 查询业务表单数据
  16659. tags:
  16660. - 风险管理v3
  16661. /Erms3/QueryPendingAuditContract:
  16662. get:
  16663. parameters:
  16664. - description: 资金账号ID列表,逗号隔开
  16665. in: query
  16666. name: accountids
  16667. required: true
  16668. type: string
  16669. - description: 合同类型 1-采购 -1-销售
  16670. in: query
  16671. name: contracttype
  16672. required: true
  16673. type: integer
  16674. - description: 合同模式 1-普通 2-回购
  16675. in: query
  16676. name: contractmode
  16677. required: true
  16678. type: integer
  16679. produces:
  16680. - application/json
  16681. responses:
  16682. "200":
  16683. description: OK
  16684. schema:
  16685. items:
  16686. $ref: '#/definitions/erms3.QryAuditContractRsp'
  16687. type: array
  16688. "500":
  16689. description: Internal Server Error
  16690. schema:
  16691. $ref: '#/definitions/app.Response'
  16692. security:
  16693. - ApiKeyAuth: []
  16694. summary: 查询待审核合同
  16695. tags:
  16696. - 风险管理v3
  16697. /Erms3/QueryPendingBusiness:
  16698. get:
  16699. parameters:
  16700. - description: 资金账号ID列表,逗号隔开
  16701. in: query
  16702. name: accountids
  16703. required: true
  16704. type: string
  16705. produces:
  16706. - application/json
  16707. responses:
  16708. "200":
  16709. description: OK
  16710. schema:
  16711. items:
  16712. $ref: '#/definitions/erms3.QryPendingBizRsp'
  16713. type: array
  16714. "500":
  16715. description: Internal Server Error
  16716. schema:
  16717. $ref: '#/definitions/app.Response'
  16718. security:
  16719. - ApiKeyAuth: []
  16720. summary: 查询待审核基差贸易业务
  16721. tags:
  16722. - 风险管理v3
  16723. /Erms3/QuerySpotContractAppleForm:
  16724. get:
  16725. parameters:
  16726. - description: 登录账号
  16727. in: query
  16728. name: loginID
  16729. required: true
  16730. type: integer
  16731. produces:
  16732. - application/json
  16733. responses:
  16734. "200":
  16735. description: OK
  16736. schema:
  16737. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  16738. "500":
  16739. description: Internal Server Error
  16740. schema:
  16741. $ref: '#/definitions/app.Response'
  16742. security:
  16743. - ApiKeyAuth: []
  16744. summary: 查询合同申请表单数据
  16745. tags:
  16746. - 风险管理v3
  16747. /Erms3/QuerySpotContractDetail:
  16748. get:
  16749. parameters:
  16750. - description: 资金账号ID列表,用逗号分隔
  16751. in: query
  16752. name: accountids
  16753. required: true
  16754. type: string
  16755. - description: 合同类型,1为采购合同 -1为销售合同
  16756. in: query
  16757. name: contracttype
  16758. required: true
  16759. type: integer
  16760. - description: 合同模式,1为普通合同 2为回购销售合同
  16761. in: query
  16762. name: contractmode
  16763. required: true
  16764. type: integer
  16765. - description: 状态,0为履约中 1为已完成
  16766. in: query
  16767. name: status
  16768. required: true
  16769. type: integer
  16770. produces:
  16771. - application/json
  16772. responses:
  16773. "200":
  16774. description: OK
  16775. schema:
  16776. items:
  16777. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  16778. type: array
  16779. "500":
  16780. description: Internal Server Error
  16781. schema:
  16782. $ref: '#/definitions/app.Response'
  16783. security:
  16784. - ApiKeyAuth: []
  16785. summary: 查询合同详细信息
  16786. tags:
  16787. - 风险管理v3
  16788. /Erms3/QueryUserInfoApplies:
  16789. get:
  16790. parameters:
  16791. - description: 页码
  16792. in: query
  16793. name: page
  16794. type: integer
  16795. - description: 每页条数
  16796. in: query
  16797. name: pagesize
  16798. type: integer
  16799. - description: 客户名称,支持模糊查询
  16800. in: query
  16801. name: userName
  16802. type: string
  16803. produces:
  16804. - application/json
  16805. responses:
  16806. "200":
  16807. description: OK
  16808. schema:
  16809. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  16810. "500":
  16811. description: Internal Server Error
  16812. schema:
  16813. $ref: '#/definitions/app.Response'
  16814. security:
  16815. - ApiKeyAuth: []
  16816. summary: 客户申请信息查询
  16817. tags:
  16818. - 风险管理v3
  16819. /Erms3/QueryUserInfos:
  16820. get:
  16821. parameters:
  16822. - description: 页码
  16823. in: query
  16824. name: page
  16825. type: integer
  16826. - description: 每页条数
  16827. in: query
  16828. name: pagesize
  16829. type: integer
  16830. - description: 客户名称,支持模糊查询
  16831. in: query
  16832. name: userName
  16833. type: string
  16834. produces:
  16835. - application/json
  16836. responses:
  16837. "200":
  16838. description: OK
  16839. schema:
  16840. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  16841. "500":
  16842. description: Internal Server Error
  16843. schema:
  16844. $ref: '#/definitions/app.Response'
  16845. security:
  16846. - ApiKeyAuth: []
  16847. summary: 客户信息查询
  16848. tags:
  16849. - 风险管理v3
  16850. /HSBY/GetHsbyMyCount:
  16851. get:
  16852. description: 说明: 不包括已完成的数量。
  16853. parameters:
  16854. - description: 资金账户列表,格式:1,2,3
  16855. in: query
  16856. name: accountIDs
  16857. required: true
  16858. type: string
  16859. produces:
  16860. - application/json
  16861. responses:
  16862. "200":
  16863. description: OK
  16864. schema:
  16865. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  16866. "500":
  16867. description: Internal Server Error
  16868. schema:
  16869. $ref: '#/definitions/app.Response'
  16870. security:
  16871. - ApiKeyAuth: []
  16872. summary: 获取我的订单与包裹数量
  16873. tags:
  16874. - 定制【海商报业】
  16875. /HSBY/QueryClientFixedADConfigs:
  16876. get:
  16877. produces:
  16878. - application/json
  16879. responses:
  16880. "200":
  16881. description: OK
  16882. schema:
  16883. $ref: '#/definitions/models.Clientfixedadconfig'
  16884. "500":
  16885. description: Internal Server Error
  16886. schema:
  16887. $ref: '#/definitions/app.Response'
  16888. security:
  16889. - ApiKeyAuth: []
  16890. summary: 获取终端固定广告配置
  16891. tags:
  16892. - 定制【海商报业】
  16893. /HSBY/QueryHsbyBuyMyTradeDetail:
  16894. get:
  16895. parameters:
  16896. - description: 页码
  16897. in: query
  16898. name: page
  16899. type: integer
  16900. - description: 每页条数
  16901. in: query
  16902. name: pagesize
  16903. type: integer
  16904. - description: 资金账户列表,格式:1,2,3
  16905. in: query
  16906. name: accountIDs
  16907. required: true
  16908. type: string
  16909. produces:
  16910. - application/json
  16911. responses:
  16912. "200":
  16913. description: OK
  16914. schema:
  16915. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  16916. "500":
  16917. description: Internal Server Error
  16918. schema:
  16919. $ref: '#/definitions/app.Response'
  16920. security:
  16921. - ApiKeyAuth: []
  16922. summary: 查询"我的订单 - 已完成"单据信息
  16923. tags:
  16924. - 定制【海商报业】
  16925. /HSBY/QueryHsbyGoodsOrderDetails:
  16926. get:
  16927. description: 说明:查询结果已按委托价格和委托时间排序
  16928. parameters:
  16929. - description: 商品ID
  16930. in: query
  16931. name: goodsID
  16932. required: true
  16933. type: integer
  16934. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  16935. in: query
  16936. name: accountIDs
  16937. type: string
  16938. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  16939. in: query
  16940. name: buyOrSell
  16941. type: integer
  16942. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  16943. in: query
  16944. name: price
  16945. type: number
  16946. - description: 档位,不传则默认为3档
  16947. in: query
  16948. name: speed
  16949. type: integer
  16950. produces:
  16951. - application/json
  16952. responses:
  16953. "200":
  16954. description: OK
  16955. schema:
  16956. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  16957. "500":
  16958. description: Internal Server Error
  16959. schema:
  16960. $ref: '#/definitions/app.Response'
  16961. security:
  16962. - ApiKeyAuth: []
  16963. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  16964. tags:
  16965. - 定制【海商报业】
  16966. /HSBY/QueryHsbyListingGoodsDetail:
  16967. get:
  16968. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  16969. parameters:
  16970. - description: 商品ID
  16971. in: query
  16972. name: goodsID
  16973. required: true
  16974. type: integer
  16975. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  16976. in: query
  16977. name: accountID
  16978. type: integer
  16979. produces:
  16980. - application/json
  16981. responses:
  16982. "200":
  16983. description: OK
  16984. schema:
  16985. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  16986. "500":
  16987. description: Internal Server Error
  16988. schema:
  16989. $ref: '#/definitions/app.Response'
  16990. security:
  16991. - ApiKeyAuth: []
  16992. summary: 查询二级市场(挂牌点选)商品信息详情
  16993. tags:
  16994. - 定制【海商报业】
  16995. /HSBY/QueryHsbyMarketGoodsDetail:
  16996. get:
  16997. parameters:
  16998. - description: 委托单号
  16999. in: query
  17000. name: orderID
  17001. required: true
  17002. type: integer
  17003. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  17004. in: query
  17005. name: accountID
  17006. type: integer
  17007. produces:
  17008. - application/json
  17009. responses:
  17010. "200":
  17011. description: OK
  17012. schema:
  17013. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  17014. "500":
  17015. description: Internal Server Error
  17016. schema:
  17017. $ref: '#/definitions/app.Response'
  17018. security:
  17019. - ApiKeyAuth: []
  17020. summary: 查询三级市场(商城)商品信息详情
  17021. tags:
  17022. - 定制【海商报业】
  17023. /HSBY/QueryHsbyMarketGoodses:
  17024. get:
  17025. parameters:
  17026. - description: 页码
  17027. in: query
  17028. name: page
  17029. type: integer
  17030. - description: 每页条数
  17031. in: query
  17032. name: pagesize
  17033. type: integer
  17034. - description: 市场ID列表,格式:1,2,3
  17035. in: query
  17036. name: marketIDs
  17037. required: true
  17038. type: string
  17039. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  17040. in: query
  17041. name: accountID
  17042. required: true
  17043. type: integer
  17044. - description: 类别ID
  17045. in: query
  17046. name: categoryID
  17047. type: integer
  17048. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  17049. in: query
  17050. name: goodsIDs
  17051. type: string
  17052. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  17053. in: query
  17054. name: couponTypeID
  17055. type: integer
  17056. produces:
  17057. - application/json
  17058. responses:
  17059. "200":
  17060. description: OK
  17061. schema:
  17062. $ref: '#/definitions/models.HsbyMarketGoods'
  17063. "500":
  17064. description: Internal Server Error
  17065. schema:
  17066. $ref: '#/definitions/app.Response'
  17067. security:
  17068. - ApiKeyAuth: []
  17069. summary: 查询特卖商品列表(三级商城)
  17070. tags:
  17071. - 定制【海商报业】
  17072. /HSBY/QueryHsbyMarkets:
  17073. get:
  17074. produces:
  17075. - application/json
  17076. responses:
  17077. "200":
  17078. description: OK
  17079. schema:
  17080. $ref: '#/definitions/models.HsbyMarketInfo'
  17081. "500":
  17082. description: Internal Server Error
  17083. schema:
  17084. $ref: '#/definitions/app.Response'
  17085. security:
  17086. - ApiKeyAuth: []
  17087. summary: 查询海商报业相关市场信息
  17088. tags:
  17089. - 定制【海商报业】
  17090. /HSBY/QueryHsbyMyBuyOrderDetails:
  17091. get:
  17092. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  17093. parameters:
  17094. - description: 资金账户列表,格式:1,2,3
  17095. in: query
  17096. name: accountIDs
  17097. required: true
  17098. type: string
  17099. produces:
  17100. - application/json
  17101. responses:
  17102. "200":
  17103. description: OK
  17104. schema:
  17105. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  17106. "500":
  17107. description: Internal Server Error
  17108. schema:
  17109. $ref: '#/definitions/app.Response'
  17110. security:
  17111. - ApiKeyAuth: []
  17112. summary: 查询“我的订单”信息
  17113. tags:
  17114. - 定制【海商报业】
  17115. /HSBY/QueryHsbyMyGoods:
  17116. get:
  17117. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  17118. parameters:
  17119. - description: 资金账户列表,格式:1,2,3
  17120. in: query
  17121. name: accountIDs
  17122. required: true
  17123. type: string
  17124. produces:
  17125. - application/json
  17126. responses:
  17127. "200":
  17128. description: OK
  17129. schema:
  17130. $ref: '#/definitions/models.HsbyMyGoods'
  17131. "500":
  17132. description: Internal Server Error
  17133. schema:
  17134. $ref: '#/definitions/app.Response'
  17135. security:
  17136. - ApiKeyAuth: []
  17137. summary: 查询“我的商品”信息
  17138. tags:
  17139. - 定制【海商报业】
  17140. /HSBY/QueryHsbyMyPackages:
  17141. get:
  17142. parameters:
  17143. - description: 资金账户列表,格式:1,2,3
  17144. in: query
  17145. name: accountIDs
  17146. required: true
  17147. type: string
  17148. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  17149. in: query
  17150. name: takeOrderStatus
  17151. type: integer
  17152. produces:
  17153. - application/json
  17154. responses:
  17155. "200":
  17156. description: OK
  17157. schema:
  17158. $ref: '#/definitions/models.HsbyMyPackage'
  17159. "500":
  17160. description: Internal Server Error
  17161. schema:
  17162. $ref: '#/definitions/app.Response'
  17163. security:
  17164. - ApiKeyAuth: []
  17165. summary: 查询我的包裹信息
  17166. tags:
  17167. - 定制【海商报业】
  17168. /HSBY/QueryHsbyPreGoodsDetail:
  17169. get:
  17170. parameters:
  17171. - description: 商品ID
  17172. in: query
  17173. name: goodsID
  17174. required: true
  17175. type: integer
  17176. - description: 资金账户,主要用于获取预售商品购买上限
  17177. in: query
  17178. name: accountID
  17179. type: integer
  17180. produces:
  17181. - application/json
  17182. responses:
  17183. "200":
  17184. description: OK
  17185. schema:
  17186. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  17187. "500":
  17188. description: Internal Server Error
  17189. schema:
  17190. $ref: '#/definitions/app.Response'
  17191. security:
  17192. - ApiKeyAuth: []
  17193. summary: 查询一级市场(预售)商品信息详情
  17194. tags:
  17195. - 定制【海商报业】
  17196. /HSBY/QueryHsbyPreGoodses:
  17197. get:
  17198. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  17199. parameters:
  17200. - description: 页码
  17201. in: query
  17202. name: page
  17203. type: integer
  17204. - description: 每页条数
  17205. in: query
  17206. name: pagesize
  17207. type: integer
  17208. - description: 市场ID列表,格式:1,2,3
  17209. in: query
  17210. name: marketIDs
  17211. required: true
  17212. type: string
  17213. - description: 目的地(省)ID
  17214. in: query
  17215. name: descProvinceID
  17216. type: integer
  17217. - description: 目的地(市)ID
  17218. in: query
  17219. name: descCityID
  17220. type: integer
  17221. produces:
  17222. - application/json
  17223. responses:
  17224. "200":
  17225. description: OK
  17226. schema:
  17227. $ref: '#/definitions/models.HsbyPreGoods'
  17228. "500":
  17229. description: Internal Server Error
  17230. schema:
  17231. $ref: '#/definitions/app.Response'
  17232. security:
  17233. - ApiKeyAuth: []
  17234. summary: 查询新品上市商品列表(一级市场预售)
  17235. tags:
  17236. - 定制【海商报业】
  17237. /HSBY/QueryHsbySellMyDetails:
  17238. get:
  17239. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  17240. parameters:
  17241. - description: 页码
  17242. in: query
  17243. name: page
  17244. type: integer
  17245. - description: 每页条数
  17246. in: query
  17247. name: pagesize
  17248. type: integer
  17249. - description: 资金账户列表,格式:1,2,3
  17250. in: query
  17251. name: accountIDs
  17252. required: true
  17253. type: string
  17254. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  17255. in: query
  17256. name: orderType
  17257. type: integer
  17258. produces:
  17259. - application/json
  17260. responses:
  17261. "200":
  17262. description: OK
  17263. schema:
  17264. $ref: '#/definitions/models.HsbySellMyDetail'
  17265. "500":
  17266. description: Internal Server Error
  17267. schema:
  17268. $ref: '#/definitions/app.Response'
  17269. security:
  17270. - ApiKeyAuth: []
  17271. summary: 查询"我的闲置"单据信息
  17272. tags:
  17273. - 定制【海商报业】
  17274. /HSBY/QueryHsbyTopGoodses:
  17275. get:
  17276. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  17277. parameters:
  17278. - description: 页码
  17279. in: query
  17280. name: page
  17281. type: integer
  17282. - description: 每页条数
  17283. in: query
  17284. name: pagesize
  17285. type: integer
  17286. - description: 市场ID列表,格式:1,2,3
  17287. in: query
  17288. name: marketIDs
  17289. required: true
  17290. type: string
  17291. - description: 目的地(省)ID
  17292. in: query
  17293. name: descProvinceID
  17294. type: integer
  17295. - description: 目的地(市)ID
  17296. in: query
  17297. name: descCityID
  17298. type: integer
  17299. produces:
  17300. - application/json
  17301. responses:
  17302. "200":
  17303. description: OK
  17304. schema:
  17305. $ref: '#/definitions/models.HsbyTopGoods'
  17306. "500":
  17307. description: Internal Server Error
  17308. schema:
  17309. $ref: '#/definitions/app.Response'
  17310. security:
  17311. - ApiKeyAuth: []
  17312. summary: 查询热卖商品列表(二级市场挂牌点选)
  17313. tags:
  17314. - 定制【海商报业】
  17315. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  17316. get:
  17317. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  17318. parameters:
  17319. - description: 商品ID
  17320. in: query
  17321. name: goodsID
  17322. required: true
  17323. type: integer
  17324. produces:
  17325. - application/json
  17326. responses:
  17327. "200":
  17328. description: OK
  17329. schema:
  17330. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  17331. "500":
  17332. description: Internal Server Error
  17333. schema:
  17334. $ref: '#/definitions/app.Response'
  17335. security:
  17336. - ApiKeyAuth: []
  17337. summary: 查询游客三级市场(商城)商品信息详情
  17338. tags:
  17339. - 定制【海商报业】
  17340. /HSBY/QueryHsbyVisitorMarketGoodses:
  17341. get:
  17342. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  17343. parameters:
  17344. - description: 页码
  17345. in: query
  17346. name: page
  17347. type: integer
  17348. - description: 每页条数
  17349. in: query
  17350. name: pagesize
  17351. type: integer
  17352. - description: 市场ID列表,格式:1,2,3
  17353. in: query
  17354. name: marketIDs
  17355. required: true
  17356. type: string
  17357. - description: 类别ID
  17358. in: query
  17359. name: categoryID
  17360. type: integer
  17361. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  17362. in: query
  17363. name: goodsIDs
  17364. type: string
  17365. produces:
  17366. - application/json
  17367. responses:
  17368. "200":
  17369. description: OK
  17370. schema:
  17371. $ref: '#/definitions/models.HsbyMarketGoods'
  17372. "500":
  17373. description: Internal Server Error
  17374. schema:
  17375. $ref: '#/definitions/app.Response'
  17376. security:
  17377. - ApiKeyAuth: []
  17378. summary: 查询游客特卖商品列表(三级商城)
  17379. tags:
  17380. - 定制【海商报业】
  17381. /HSBY/QueryMyCollectionOrders:
  17382. get:
  17383. parameters:
  17384. - description: 页码
  17385. in: query
  17386. name: page
  17387. type: integer
  17388. - description: 每页条数
  17389. in: query
  17390. name: pagesize
  17391. type: integer
  17392. - description: 资金账户,格式:1,2,3
  17393. in: query
  17394. name: accountIDs
  17395. required: true
  17396. type: string
  17397. produces:
  17398. - application/json
  17399. responses:
  17400. "200":
  17401. description: OK
  17402. schema:
  17403. $ref: '#/definitions/models.HsbySellCollectionOrder'
  17404. "500":
  17405. description: Internal Server Error
  17406. schema:
  17407. $ref: '#/definitions/app.Response'
  17408. security:
  17409. - ApiKeyAuth: []
  17410. summary: 我的闲置中收款信息查询
  17411. tags:
  17412. - 定制【海商报业】
  17413. /HSBY/QueryMyCouponHolds:
  17414. get:
  17415. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  17416. parameters:
  17417. - description: 资金账户列表,格式:1,2,3
  17418. in: query
  17419. name: accountIDs
  17420. required: true
  17421. type: string
  17422. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  17423. in: query
  17424. name: holdStatus
  17425. type: string
  17426. produces:
  17427. - application/json
  17428. responses:
  17429. "200":
  17430. description: OK
  17431. schema:
  17432. $ref: '#/definitions/models.MyCouponHold'
  17433. "500":
  17434. description: Internal Server Error
  17435. schema:
  17436. $ref: '#/definitions/app.Response'
  17437. security:
  17438. - ApiKeyAuth: []
  17439. summary: 我的优惠卷持仓查询
  17440. tags:
  17441. - 定制【海商报业】
  17442. /HSBY/QueryMyCoupons:
  17443. get:
  17444. parameters:
  17445. - description: 资金账户列表,格式:1,2,3
  17446. in: query
  17447. name: accountIDs
  17448. required: true
  17449. type: string
  17450. - description: 商品ID, 一般与sellUserID配套传入
  17451. in: query
  17452. name: goodsID
  17453. type: integer
  17454. - description: 卖方UserID
  17455. in: query
  17456. name: sellUserID
  17457. type: integer
  17458. produces:
  17459. - application/json
  17460. responses:
  17461. "200":
  17462. description: OK
  17463. schema:
  17464. $ref: '#/definitions/models.MyCoupon'
  17465. "500":
  17466. description: Internal Server Error
  17467. schema:
  17468. $ref: '#/definitions/app.Response'
  17469. security:
  17470. - ApiKeyAuth: []
  17471. summary: 我的优惠卷查询
  17472. tags:
  17473. - 定制【海商报业】
  17474. /HSBY/QueryMyPayOrders:
  17475. get:
  17476. parameters:
  17477. - description: 页码
  17478. in: query
  17479. name: page
  17480. type: integer
  17481. - description: 每页条数
  17482. in: query
  17483. name: pagesize
  17484. type: integer
  17485. - description: 资金账户列表,格式:1,2,3
  17486. in: query
  17487. name: accountIDs
  17488. required: true
  17489. type: string
  17490. - description: 买方委托单号
  17491. in: query
  17492. name: buyOrderID
  17493. type: integer
  17494. - description: 卖方委托单号
  17495. in: query
  17496. name: sellOrderID
  17497. type: integer
  17498. produces:
  17499. - application/json
  17500. responses:
  17501. "200":
  17502. description: OK
  17503. schema:
  17504. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  17505. "500":
  17506. description: Internal Server Error
  17507. schema:
  17508. $ref: '#/definitions/app.Response'
  17509. security:
  17510. - ApiKeyAuth: []
  17511. summary: 获取我的订单中待付款信息
  17512. tags:
  17513. - 定制【海商报业】
  17514. /HSBY/QueryMyUsedCoupon:
  17515. get:
  17516. parameters:
  17517. - description: 资金账户列表,格式:1,2,3
  17518. in: query
  17519. name: accountIDs
  17520. required: true
  17521. type: string
  17522. produces:
  17523. - application/json
  17524. responses:
  17525. "200":
  17526. description: OK
  17527. schema:
  17528. $ref: '#/definitions/models.MyUsedCoupon'
  17529. "500":
  17530. description: Internal Server Error
  17531. schema:
  17532. $ref: '#/definitions/app.Response'
  17533. security:
  17534. - ApiKeyAuth: []
  17535. summary: 已使用优惠卷查询
  17536. tags:
  17537. - 定制【海商报业】
  17538. /HSBY/QueryProvincesAndCities:
  17539. get:
  17540. description: 查询结果只包括二级市场商品已关连的省市信息。
  17541. parameters:
  17542. - description: 省ID
  17543. in: query
  17544. name: provinceID
  17545. type: integer
  17546. produces:
  17547. - application/json
  17548. responses:
  17549. "200":
  17550. description: OK
  17551. schema:
  17552. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  17553. "500":
  17554. description: Internal Server Error
  17555. schema:
  17556. $ref: '#/definitions/app.Response'
  17557. security:
  17558. - ApiKeyAuth: []
  17559. summary: 查询省市信息(不包括区)
  17560. tags:
  17561. - 定制【海商报业】
  17562. /HSBY/SetHsbyMyPackagesStatus:
  17563. post:
  17564. parameters:
  17565. - description: 提货单号
  17566. in: query
  17567. name: takeOrderID
  17568. required: true
  17569. type: string
  17570. - description: 资金账号
  17571. in: query
  17572. name: accountID
  17573. required: true
  17574. type: integer
  17575. produces:
  17576. - application/json
  17577. responses:
  17578. "200":
  17579. description: OK
  17580. schema:
  17581. $ref: '#/definitions/app.Response'
  17582. "500":
  17583. description: Internal Server Error
  17584. schema:
  17585. $ref: '#/definitions/app.Response'
  17586. security:
  17587. - ApiKeyAuth: []
  17588. summary: 设置我的包裹已收货状态
  17589. tags:
  17590. - 定制【海商报业】
  17591. /Market/QueryGoodsesByLoginID:
  17592. get:
  17593. parameters:
  17594. - description: 登录账号
  17595. in: query
  17596. name: loginID
  17597. required: true
  17598. type: integer
  17599. - description: 市场ID列表,格式:1,2,3
  17600. in: query
  17601. name: marketIDs
  17602. type: string
  17603. produces:
  17604. - application/json
  17605. responses:
  17606. "200":
  17607. description: OK
  17608. schema:
  17609. $ref: '#/definitions/models.Goods'
  17610. "500":
  17611. description: Internal Server Error
  17612. schema:
  17613. $ref: '#/definitions/app.Response'
  17614. security:
  17615. - ApiKeyAuth: []
  17616. summary: 获取登录账号有权限的商品信息
  17617. tags:
  17618. - 通用市场
  17619. /Market/QueryMarketRun:
  17620. get:
  17621. parameters:
  17622. - description: 市场ID,不传返回所有
  17623. in: query
  17624. name: marketID
  17625. type: integer
  17626. produces:
  17627. - application/json
  17628. responses:
  17629. "200":
  17630. description: OK
  17631. schema:
  17632. $ref: '#/definitions/models.Marketrun'
  17633. "500":
  17634. description: Internal Server Error
  17635. schema:
  17636. $ref: '#/definitions/app.Response'
  17637. security:
  17638. - ApiKeyAuth: []
  17639. summary: 查询市场运行信息
  17640. tags:
  17641. - 通用市场
  17642. /Market/QueryMarketsByLoginID:
  17643. get:
  17644. parameters:
  17645. - description: 登录账号
  17646. in: query
  17647. name: loginID
  17648. required: true
  17649. type: integer
  17650. produces:
  17651. - application/json
  17652. responses:
  17653. "200":
  17654. description: OK
  17655. schema:
  17656. $ref: '#/definitions/models.Market'
  17657. "500":
  17658. description: Internal Server Error
  17659. schema:
  17660. $ref: '#/definitions/app.Response'
  17661. security:
  17662. - ApiKeyAuth: []
  17663. summary: 获取登录账号有权限的市场信息
  17664. tags:
  17665. - 通用市场
  17666. /Order/QueryHisTradeDetail:
  17667. get:
  17668. parameters:
  17669. - description: 资金账户 - 格式:1,2,3
  17670. in: query
  17671. name: accountID
  17672. required: true
  17673. type: string
  17674. - description: 成交单号
  17675. in: query
  17676. name: tradeID
  17677. type: integer
  17678. - description: 委托单号
  17679. in: query
  17680. name: orderID
  17681. type: integer
  17682. - description: 交易模式 - 格式:1,2,3
  17683. in: query
  17684. name: tradeMode
  17685. type: string
  17686. - description: 委托单据类型
  17687. in: query
  17688. name: buildType
  17689. type: integer
  17690. - description: 成交类别 - 格式:1,2,3
  17691. in: query
  17692. name: tradeType
  17693. type: string
  17694. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  17695. in: query
  17696. name: startDate
  17697. type: string
  17698. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  17699. in: query
  17700. name: endDate
  17701. type: string
  17702. produces:
  17703. - application/json
  17704. responses:
  17705. "200":
  17706. description: OK
  17707. schema:
  17708. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  17709. "500":
  17710. description: Internal Server Error
  17711. schema:
  17712. $ref: '#/definitions/app.Response'
  17713. security:
  17714. - ApiKeyAuth: []
  17715. summary: 历史成交单查询(合约市场)
  17716. tags:
  17717. - 通用单据
  17718. /Order/QueryHisTradeOrderDetail:
  17719. get:
  17720. parameters:
  17721. - description: 资金账户 - 格式:1,2,3
  17722. in: query
  17723. name: accountID
  17724. required: true
  17725. type: string
  17726. - description: 交易模式 - 格式:1,2,3
  17727. in: query
  17728. name: tradeMode
  17729. type: string
  17730. - description: 委托状态 - 格式:1,2,3
  17731. in: query
  17732. name: orderStatus
  17733. type: string
  17734. - description: 委托单号
  17735. in: query
  17736. name: orderID
  17737. type: integer
  17738. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  17739. in: query
  17740. name: startDate
  17741. type: string
  17742. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  17743. in: query
  17744. name: endDate
  17745. type: string
  17746. produces:
  17747. - application/json
  17748. responses:
  17749. "200":
  17750. description: OK
  17751. schema:
  17752. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  17753. "500":
  17754. description: Internal Server Error
  17755. schema:
  17756. $ref: '#/definitions/app.Response'
  17757. security:
  17758. - ApiKeyAuth: []
  17759. summary: 历史委托单查询请求(合约市场)
  17760. tags:
  17761. - 通用单据
  17762. /Order/QueryTradeDetail:
  17763. get:
  17764. parameters:
  17765. - description: 资金账户 - 格式:1,2,3
  17766. in: query
  17767. name: accountID
  17768. required: true
  17769. type: string
  17770. - description: 成交单号
  17771. in: query
  17772. name: tradeID
  17773. type: integer
  17774. - description: 委托单号
  17775. in: query
  17776. name: orderID
  17777. type: integer
  17778. - description: 交易模式 - 格式:1,2,3
  17779. in: query
  17780. name: tradeMode
  17781. type: string
  17782. - description: 委托单据类型
  17783. in: query
  17784. name: buildType
  17785. type: integer
  17786. - description: 成交类别 - 格式:1,2,3
  17787. in: query
  17788. name: tradeType
  17789. type: string
  17790. produces:
  17791. - application/json
  17792. responses:
  17793. "200":
  17794. description: OK
  17795. schema:
  17796. $ref: '#/definitions/order.QueryTradeDetailRsp'
  17797. "500":
  17798. description: Internal Server Error
  17799. schema:
  17800. $ref: '#/definitions/app.Response'
  17801. security:
  17802. - ApiKeyAuth: []
  17803. summary: 成交单查询(合约市场)
  17804. tags:
  17805. - 通用单据
  17806. /Order/QueryTradeOrderDetail:
  17807. get:
  17808. parameters:
  17809. - description: 资金账户 - 格式:1,2,3
  17810. in: query
  17811. name: accountID
  17812. required: true
  17813. type: string
  17814. - description: 交易模式 - 格式:1,2,3
  17815. in: query
  17816. name: tradeMode
  17817. type: string
  17818. - description: 委托状态 - 格式:1,2,3
  17819. in: query
  17820. name: orderStatus
  17821. type: string
  17822. - description: 委托单号
  17823. in: query
  17824. name: orderID
  17825. type: integer
  17826. produces:
  17827. - application/json
  17828. responses:
  17829. "200":
  17830. description: OK
  17831. schema:
  17832. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  17833. "500":
  17834. description: Internal Server Error
  17835. schema:
  17836. $ref: '#/definitions/app.Response'
  17837. security:
  17838. - ApiKeyAuth: []
  17839. summary: 委托单查询请求(合约市场)
  17840. tags:
  17841. - 通用单据
  17842. /Order/QueryTradePosition:
  17843. get:
  17844. parameters:
  17845. - description: 资金账户 - 格式:1,2,3
  17846. in: query
  17847. name: accountID
  17848. required: true
  17849. type: string
  17850. - description: 交易模式 - 格式:1,2,3
  17851. in: query
  17852. name: tradeMode
  17853. type: string
  17854. produces:
  17855. - application/json
  17856. responses:
  17857. "200":
  17858. description: OK
  17859. schema:
  17860. $ref: '#/definitions/order.QueryTradePositionRsp'
  17861. "500":
  17862. description: Internal Server Error
  17863. schema:
  17864. $ref: '#/definitions/app.Response'
  17865. security:
  17866. - ApiKeyAuth: []
  17867. summary: 持仓汇总查询(合约市场)
  17868. tags:
  17869. - 通用单据
  17870. /Qhj/QueryAccountInOutApply:
  17871. get:
  17872. parameters:
  17873. - description: 申请起始日期(格式yyyymmdd)
  17874. in: query
  17875. name: begindate
  17876. type: string
  17877. - description: 申请截止日期(格式yyyymmdd)
  17878. in: query
  17879. name: enddate
  17880. type: string
  17881. - description: 模糊搜索名称
  17882. in: query
  17883. name: likename
  17884. type: string
  17885. produces:
  17886. - application/json
  17887. responses:
  17888. "200":
  17889. description: OK
  17890. schema:
  17891. items:
  17892. $ref: '#/definitions/models.QhjAccountOutInApply'
  17893. type: array
  17894. "500":
  17895. description: Internal Server Error
  17896. schema:
  17897. $ref: '#/definitions/app.Response'
  17898. security:
  17899. - ApiKeyAuth: []
  17900. summary: 查询充值提现
  17901. tags:
  17902. - 大连千海金
  17903. /Qhj/QueryBankAccountSign:
  17904. get:
  17905. parameters:
  17906. - description: 用户ID
  17907. in: query
  17908. name: userid
  17909. required: true
  17910. type: integer
  17911. produces:
  17912. - application/json
  17913. responses:
  17914. "200":
  17915. description: OK
  17916. schema:
  17917. items:
  17918. $ref: '#/definitions/models.QhjBankAccountSign'
  17919. type: array
  17920. "500":
  17921. description: Internal Server Error
  17922. schema:
  17923. $ref: '#/definitions/app.Response'
  17924. security:
  17925. - ApiKeyAuth: []
  17926. summary: 查询签约银行信息(提现账户管理)
  17927. tags:
  17928. - 大连千海金
  17929. /Qhj/QueryBankInfo:
  17930. get:
  17931. produces:
  17932. - application/json
  17933. responses:
  17934. "200":
  17935. description: OK
  17936. schema:
  17937. items:
  17938. $ref: '#/definitions/models.QhjBankInfo'
  17939. type: array
  17940. "500":
  17941. description: Internal Server Error
  17942. schema:
  17943. $ref: '#/definitions/app.Response'
  17944. security:
  17945. - ApiKeyAuth: []
  17946. summary: 查询开户行
  17947. tags:
  17948. - 大连千海金
  17949. /Qhj/QueryContract:
  17950. get:
  17951. parameters:
  17952. - description: 用户ID
  17953. in: query
  17954. name: userid
  17955. required: true
  17956. type: integer
  17957. - description: scf合同id
  17958. in: query
  17959. name: scfcontractid
  17960. type: integer
  17961. produces:
  17962. - application/json
  17963. responses:
  17964. "200":
  17965. description: OK
  17966. schema:
  17967. items:
  17968. $ref: '#/definitions/models.QhjContract'
  17969. type: array
  17970. "500":
  17971. description: Internal Server Error
  17972. schema:
  17973. $ref: '#/definitions/app.Response'
  17974. security:
  17975. - ApiKeyAuth: []
  17976. summary: 查询融资明细(合同)
  17977. tags:
  17978. - 大连千海金
  17979. /Qhj/QueryContractLog:
  17980. get:
  17981. parameters:
  17982. - description: scf合同id
  17983. in: query
  17984. name: scfcontractid
  17985. required: true
  17986. type: integer
  17987. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  17988. in: query
  17989. name: amounttype
  17990. type: string
  17991. produces:
  17992. - application/json
  17993. responses:
  17994. "200":
  17995. description: OK
  17996. schema:
  17997. items:
  17998. $ref: '#/definitions/models.QhjContractLog'
  17999. type: array
  18000. "500":
  18001. description: Internal Server Error
  18002. schema:
  18003. $ref: '#/definitions/app.Response'
  18004. security:
  18005. - ApiKeyAuth: []
  18006. summary: 查询融资明细流水(融资明细详情页中的流水)
  18007. tags:
  18008. - 大连千海金
  18009. /Qhj/QueryCusBankSignBank:
  18010. get:
  18011. produces:
  18012. - application/json
  18013. responses:
  18014. "200":
  18015. description: OK
  18016. schema:
  18017. items:
  18018. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  18019. type: array
  18020. "500":
  18021. description: Internal Server Error
  18022. schema:
  18023. $ref: '#/definitions/app.Response'
  18024. security:
  18025. - ApiKeyAuth: []
  18026. summary: 查询托管银行
  18027. tags:
  18028. - 大连千海金
  18029. /Qhj/QueryCustomerInfo:
  18030. get:
  18031. parameters:
  18032. - description: 用户ID
  18033. in: query
  18034. name: userid
  18035. required: true
  18036. type: integer
  18037. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  18038. in: query
  18039. name: querytype
  18040. required: true
  18041. type: integer
  18042. - description: 客户类型 1-个人 2-企业
  18043. in: query
  18044. name: userinfotype
  18045. type: integer
  18046. - description: 客户名称(模糊匹配)
  18047. in: query
  18048. name: customername
  18049. type: string
  18050. - description: 昵称(模糊匹配)
  18051. in: query
  18052. name: nickname
  18053. type: string
  18054. - description: 是否包含子级 1-包含
  18055. in: query
  18056. name: includesub
  18057. type: integer
  18058. produces:
  18059. - application/json
  18060. responses:
  18061. "200":
  18062. description: OK
  18063. schema:
  18064. items:
  18065. $ref: '#/definitions/models.QhjCustomer'
  18066. type: array
  18067. "500":
  18068. description: Internal Server Error
  18069. schema:
  18070. $ref: '#/definitions/app.Response'
  18071. security:
  18072. - ApiKeyAuth: []
  18073. summary: 查询客户资料
  18074. tags:
  18075. - 大连千海金
  18076. /Qhj/QueryGoodsEx:
  18077. get:
  18078. parameters:
  18079. - description: 商品id
  18080. in: query
  18081. name: goodsid
  18082. type: integer
  18083. produces:
  18084. - application/json
  18085. responses:
  18086. "200":
  18087. description: OK
  18088. schema:
  18089. items:
  18090. $ref: '#/definitions/models.Qhjgoodsex'
  18091. type: array
  18092. "500":
  18093. description: Internal Server Error
  18094. schema:
  18095. $ref: '#/definitions/app.Response'
  18096. security:
  18097. - ApiKeyAuth: []
  18098. summary: 交易商品扩展表
  18099. tags:
  18100. - 大连千海金
  18101. /Qhj/QueryParentAreaList:
  18102. get:
  18103. parameters:
  18104. - description: 用户ID
  18105. in: query
  18106. name: userid
  18107. required: true
  18108. type: integer
  18109. produces:
  18110. - application/json
  18111. responses:
  18112. "200":
  18113. description: OK
  18114. schema:
  18115. items:
  18116. $ref: '#/definitions/models.QhjParentAreaList'
  18117. type: array
  18118. "500":
  18119. description: Internal Server Error
  18120. schema:
  18121. $ref: '#/definitions/app.Response'
  18122. security:
  18123. - ApiKeyAuth: []
  18124. summary: 查询所属机构列表
  18125. tags:
  18126. - 大连千海金
  18127. /Qhj/QueryPayOrder:
  18128. get:
  18129. parameters:
  18130. - description: 资金账号id
  18131. in: query
  18132. name: accountid
  18133. required: true
  18134. type: integer
  18135. - description: 成交单号
  18136. in: query
  18137. name: tradeid
  18138. type: integer
  18139. - description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  18140. in: query
  18141. name: payflag
  18142. type: integer
  18143. produces:
  18144. - application/json
  18145. responses:
  18146. "200":
  18147. description: OK
  18148. schema:
  18149. items:
  18150. $ref: '#/definitions/models.QhjPayOrder'
  18151. type: array
  18152. "500":
  18153. description: Internal Server Error
  18154. schema:
  18155. $ref: '#/definitions/app.Response'
  18156. security:
  18157. - ApiKeyAuth: []
  18158. summary: 查询待付款单据
  18159. tags:
  18160. - 大连千海金
  18161. /Qhj/QueryPickArea:
  18162. get:
  18163. parameters:
  18164. - description: 用户ID
  18165. in: query
  18166. name: userid
  18167. type: integer
  18168. produces:
  18169. - application/json
  18170. responses:
  18171. "200":
  18172. description: OK
  18173. schema:
  18174. items:
  18175. $ref: '#/definitions/models.QhjPickArea'
  18176. type: array
  18177. "500":
  18178. description: Internal Server Error
  18179. schema:
  18180. $ref: '#/definitions/app.Response'
  18181. security:
  18182. - ApiKeyAuth: []
  18183. summary: 查询提货门店
  18184. tags:
  18185. - 大连千海金
  18186. /Qhj/QueryPickGoods:
  18187. get:
  18188. parameters:
  18189. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  18190. in: query
  18191. name: status
  18192. type: string
  18193. produces:
  18194. - application/json
  18195. responses:
  18196. "200":
  18197. description: OK
  18198. schema:
  18199. items:
  18200. $ref: '#/definitions/models.QhjPickGoods'
  18201. type: array
  18202. "500":
  18203. description: Internal Server Error
  18204. schema:
  18205. $ref: '#/definitions/app.Response'
  18206. security:
  18207. - ApiKeyAuth: []
  18208. summary: 查询提货商品
  18209. tags:
  18210. - 大连千海金
  18211. /Qhj/QueryRSTriggerLog:
  18212. get:
  18213. parameters:
  18214. - description: 用户ID
  18215. in: query
  18216. name: userid
  18217. required: true
  18218. type: integer
  18219. - description: 定投策略id
  18220. in: query
  18221. name: regularlystrategyid
  18222. type: integer
  18223. produces:
  18224. - application/json
  18225. responses:
  18226. "200":
  18227. description: OK
  18228. schema:
  18229. items:
  18230. $ref: '#/definitions/models.QhjRSTriggerLog'
  18231. type: array
  18232. "500":
  18233. description: Internal Server Error
  18234. schema:
  18235. $ref: '#/definitions/app.Response'
  18236. security:
  18237. - ApiKeyAuth: []
  18238. summary: 查询定投记录(定投管理/详情/定投记录)
  18239. tags:
  18240. - 大连千海金
  18241. /Qhj/QueryRStrategy:
  18242. get:
  18243. parameters:
  18244. - description: 用户ID
  18245. in: query
  18246. name: userid
  18247. required: true
  18248. type: integer
  18249. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  18250. in: query
  18251. name: status
  18252. type: string
  18253. produces:
  18254. - application/json
  18255. responses:
  18256. "200":
  18257. description: OK
  18258. schema:
  18259. items:
  18260. $ref: '#/definitions/models.QhjRStrategy'
  18261. type: array
  18262. "500":
  18263. description: Internal Server Error
  18264. schema:
  18265. $ref: '#/definitions/app.Response'
  18266. security:
  18267. - ApiKeyAuth: []
  18268. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  18269. tags:
  18270. - 大连千海金
  18271. /Qhj/QueryReckonPriceLog:
  18272. get:
  18273. parameters:
  18274. - description: 商品ID
  18275. in: query
  18276. name: goodsid
  18277. type: integer
  18278. - description: 交易日 格式(yyyymmdd)
  18279. in: query
  18280. name: tradedate
  18281. type: string
  18282. produces:
  18283. - application/json
  18284. responses:
  18285. "200":
  18286. description: OK
  18287. schema:
  18288. items:
  18289. $ref: '#/definitions/models.QhjReckonPriceLog'
  18290. type: array
  18291. "500":
  18292. description: Internal Server Error
  18293. schema:
  18294. $ref: '#/definitions/app.Response'
  18295. security:
  18296. - ApiKeyAuth: []
  18297. summary: 查询定投价(结算价)
  18298. tags:
  18299. - 大连千海金
  18300. /Qhj/QuerySiteColumnDetail:
  18301. get:
  18302. parameters:
  18303. - description: 用户ID
  18304. in: query
  18305. name: userid
  18306. required: true
  18307. type: integer
  18308. produces:
  18309. - application/json
  18310. responses:
  18311. "200":
  18312. description: OK
  18313. schema:
  18314. items:
  18315. $ref: '#/definitions/models.QhjSiteColumnDetail'
  18316. type: array
  18317. "500":
  18318. description: Internal Server Error
  18319. schema:
  18320. $ref: '#/definitions/app.Response'
  18321. security:
  18322. - ApiKeyAuth: []
  18323. summary: 查询资讯
  18324. tags:
  18325. - 大连千海金
  18326. /Qhj/QueryTradeGoodsPickup:
  18327. get:
  18328. parameters:
  18329. - description: 用户ID
  18330. in: query
  18331. name: userid
  18332. required: true
  18333. type: integer
  18334. produces:
  18335. - application/json
  18336. responses:
  18337. "200":
  18338. description: OK
  18339. schema:
  18340. items:
  18341. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  18342. type: array
  18343. "500":
  18344. description: Internal Server Error
  18345. schema:
  18346. $ref: '#/definitions/app.Response'
  18347. security:
  18348. - ApiKeyAuth: []
  18349. summary: 查询提货
  18350. tags:
  18351. - 大连千海金
  18352. /Qhj/QueryUserCollectConfig:
  18353. get:
  18354. parameters:
  18355. - description: 用户ID
  18356. in: query
  18357. name: userid
  18358. required: true
  18359. type: integer
  18360. produces:
  18361. - application/json
  18362. responses:
  18363. "200":
  18364. description: OK
  18365. schema:
  18366. items:
  18367. $ref: '#/definitions/models.UserCollectConfig'
  18368. type: array
  18369. "500":
  18370. description: Internal Server Error
  18371. schema:
  18372. $ref: '#/definitions/app.Response'
  18373. security:
  18374. - ApiKeyAuth: []
  18375. summary: 查询提现账户设置
  18376. tags:
  18377. - 大连千海金
  18378. /Qhj/QueryUserReceiveInfo:
  18379. get:
  18380. parameters:
  18381. - description: 用户ID
  18382. in: query
  18383. name: userid
  18384. required: true
  18385. type: integer
  18386. produces:
  18387. - application/json
  18388. responses:
  18389. "200":
  18390. description: OK
  18391. schema:
  18392. items:
  18393. $ref: '#/definitions/models.UserReceiveInfo'
  18394. type: array
  18395. "500":
  18396. description: Internal Server Error
  18397. schema:
  18398. $ref: '#/definitions/app.Response'
  18399. security:
  18400. - ApiKeyAuth: []
  18401. summary: 查询收货地址信息
  18402. tags:
  18403. - 大连千海金
  18404. /Quote/QueryHistoryDatas:
  18405. get:
  18406. parameters:
  18407. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  18408. 日线'
  18409. in: query
  18410. name: cycleType
  18411. required: true
  18412. type: integer
  18413. - description: 商品代码
  18414. in: query
  18415. name: goodsCode
  18416. required: true
  18417. type: string
  18418. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  18419. in: query
  18420. name: startTime
  18421. type: string
  18422. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  18423. in: query
  18424. name: endTime
  18425. type: string
  18426. - description: 条数
  18427. in: query
  18428. name: count
  18429. type: integer
  18430. - description: 是否按时间顺序排序(默认为时间倒序排序)
  18431. in: query
  18432. name: isAsc
  18433. type: boolean
  18434. produces:
  18435. - application/json
  18436. responses:
  18437. "200":
  18438. description: OK
  18439. schema:
  18440. $ref: '#/definitions/quote.HistoryData'
  18441. "500":
  18442. description: Internal Server Error
  18443. schema:
  18444. $ref: '#/definitions/app.Response'
  18445. security:
  18446. - ApiKeyAuth: []
  18447. summary: 查询行情历史数据
  18448. tags:
  18449. - 行情服务
  18450. /Quote/QueryHistoryTikDatas:
  18451. get:
  18452. parameters:
  18453. - description: 商品代码
  18454. in: query
  18455. name: goodsCode
  18456. required: true
  18457. type: string
  18458. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  18459. in: query
  18460. name: startTime
  18461. type: string
  18462. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  18463. in: query
  18464. name: endTime
  18465. type: string
  18466. - description: 条数
  18467. in: query
  18468. name: count
  18469. type: integer
  18470. - description: 是否按时间顺序排序(默认为时间倒序排序)
  18471. in: query
  18472. name: isAsc
  18473. type: boolean
  18474. produces:
  18475. - application/json
  18476. responses:
  18477. "200":
  18478. description: OK
  18479. schema:
  18480. $ref: '#/definitions/quote.HistoryTikData'
  18481. "500":
  18482. description: Internal Server Error
  18483. schema:
  18484. $ref: '#/definitions/app.Response'
  18485. security:
  18486. - ApiKeyAuth: []
  18487. summary: 查询行情Tik数据
  18488. tags:
  18489. - 行情服务
  18490. /Quote/QueryQuoteDay:
  18491. get:
  18492. parameters:
  18493. - description: 商品代码列表,格式:CU2102,CU2103,AL2107
  18494. in: query
  18495. name: goodsCodes
  18496. required: true
  18497. type: string
  18498. produces:
  18499. - application/json
  18500. responses:
  18501. "200":
  18502. description: OK
  18503. schema:
  18504. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  18505. "500":
  18506. description: Internal Server Error
  18507. schema:
  18508. $ref: '#/definitions/app.Response'
  18509. security:
  18510. - ApiKeyAuth: []
  18511. summary: 获取商品盘面信息
  18512. tags:
  18513. - 行情服务
  18514. /Quote/QueryTSData:
  18515. get:
  18516. parameters:
  18517. - description: 商品代码
  18518. in: query
  18519. name: goodsCode
  18520. required: true
  18521. type: string
  18522. produces:
  18523. - application/json
  18524. responses:
  18525. "200":
  18526. description: OK
  18527. schema:
  18528. $ref: '#/definitions/quote.QueryTSDataRsp'
  18529. "500":
  18530. description: Internal Server Error
  18531. schema:
  18532. $ref: '#/definitions/app.Response'
  18533. security:
  18534. - ApiKeyAuth: []
  18535. summary: 分时图数据查询
  18536. tags:
  18537. - 行情服务
  18538. /SZDZ/QueryConvertConfig:
  18539. get:
  18540. parameters:
  18541. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  18542. 6:交易转花生米(不设置)
  18543. in: query
  18544. name: convertType
  18545. type: integer
  18546. - description: 外部商品代码[JD\PD]
  18547. in: query
  18548. name: outerGoodsCode
  18549. type: string
  18550. - description: 内部商品ID列表[交易],格式:1,2,3
  18551. in: query
  18552. name: innerGoodsIDs
  18553. type: string
  18554. produces:
  18555. - application/json
  18556. responses:
  18557. "200":
  18558. description: OK
  18559. schema:
  18560. $ref: '#/definitions/models.Szdz3convertconfig'
  18561. "500":
  18562. description: Internal Server Error
  18563. schema:
  18564. $ref: '#/definitions/app.Response'
  18565. security:
  18566. - ApiKeyAuth: []
  18567. summary: 查询交易系统转换设置
  18568. tags:
  18569. - 定制【尚志大宗】
  18570. /SZDZ/QueryConvertLog:
  18571. get:
  18572. parameters:
  18573. - description: 资金账户 - 格式:1,2,3
  18574. in: query
  18575. name: accountID
  18576. required: true
  18577. type: string
  18578. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  18579. in: query
  18580. name: startDate
  18581. type: string
  18582. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  18583. in: query
  18584. name: endDate
  18585. type: string
  18586. produces:
  18587. - application/json
  18588. responses:
  18589. "200":
  18590. description: OK
  18591. schema:
  18592. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  18593. "500":
  18594. description: Internal Server Error
  18595. schema:
  18596. $ref: '#/definitions/app.Response'
  18597. security:
  18598. - ApiKeyAuth: []
  18599. summary: 交易系统转换流水查询
  18600. tags:
  18601. - 定制【尚志大宗】
  18602. /SZDZ/QueryGoodsPickup:
  18603. get:
  18604. parameters:
  18605. - description: 资金账户 - 格式:1,2,3
  18606. in: query
  18607. name: accountID
  18608. required: true
  18609. type: string
  18610. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  18611. in: query
  18612. name: takeOrderStatus
  18613. type: integer
  18614. produces:
  18615. - application/json
  18616. responses:
  18617. "200":
  18618. description: OK
  18619. schema:
  18620. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  18621. "500":
  18622. description: Internal Server Error
  18623. schema:
  18624. $ref: '#/definitions/app.Response'
  18625. security:
  18626. - ApiKeyAuth: []
  18627. summary: 商品提货单查询
  18628. tags:
  18629. - 定制【尚志大宗】
  18630. /SZDZ/QueryRecieptOrder:
  18631. get:
  18632. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  18633. parameters:
  18634. - description: 页码
  18635. in: query
  18636. name: page
  18637. type: integer
  18638. - description: 每页条数
  18639. in: query
  18640. name: pagesize
  18641. type: integer
  18642. - description: 商品ID
  18643. in: query
  18644. name: goodsID
  18645. required: true
  18646. type: integer
  18647. - description: 所属账户名称
  18648. in: query
  18649. name: accountName
  18650. type: string
  18651. - description: 市场ID
  18652. in: query
  18653. name: marketID
  18654. type: integer
  18655. - description: 方向 - 0:买 1:卖
  18656. in: query
  18657. name: buyorsell
  18658. required: true
  18659. type: integer
  18660. produces:
  18661. - application/json
  18662. responses:
  18663. "200":
  18664. description: OK
  18665. schema:
  18666. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  18667. "500":
  18668. description: Internal Server Error
  18669. schema:
  18670. $ref: '#/definitions/app.Response'
  18671. security:
  18672. - ApiKeyAuth: []
  18673. summary: 点选挂牌委托单据查询(摘牌大厅)
  18674. tags:
  18675. - 定制【尚志大宗】
  18676. /SZDZ/QuerySZDZTradePosition:
  18677. get:
  18678. parameters:
  18679. - description: 资金账户
  18680. in: query
  18681. name: accountID
  18682. required: true
  18683. type: integer
  18684. produces:
  18685. - application/json
  18686. responses:
  18687. "200":
  18688. description: OK
  18689. schema:
  18690. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  18691. "500":
  18692. description: Internal Server Error
  18693. schema:
  18694. $ref: '#/definitions/app.Response'
  18695. security:
  18696. - ApiKeyAuth: []
  18697. summary: 持仓汇总查询(尚志大宗)
  18698. tags:
  18699. - 定制【尚志大宗】
  18700. /SZDZ/SearchWhite:
  18701. get:
  18702. parameters:
  18703. - description: 用户ID
  18704. in: query
  18705. name: userID
  18706. required: true
  18707. type: integer
  18708. produces:
  18709. - application/json
  18710. responses:
  18711. "200":
  18712. description: OK
  18713. schema:
  18714. $ref: '#/definitions/models.Szdz3searchwhitelist'
  18715. "500":
  18716. description: Internal Server Error
  18717. schema:
  18718. $ref: '#/definitions/app.Response'
  18719. security:
  18720. - ApiKeyAuth: []
  18721. summary: 搜索白名单
  18722. tags:
  18723. - 定制【尚志大宗】
  18724. /Search/SearchGoodses:
  18725. get:
  18726. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  18727. parameters:
  18728. - description: 检索内容
  18729. in: query
  18730. name: content
  18731. required: true
  18732. type: string
  18733. - description: 交易模式,格式:1,2,3
  18734. in: query
  18735. name: tradeModes
  18736. type: string
  18737. produces:
  18738. - application/json
  18739. responses:
  18740. "200":
  18741. description: OK
  18742. schema:
  18743. $ref: '#/definitions/models.SearchGoods'
  18744. "500":
  18745. description: Internal Server Error
  18746. schema:
  18747. $ref: '#/definitions/app.Response'
  18748. summary: 检索商品信息
  18749. tags:
  18750. - 检索服务
  18751. /TaAccount/GetTaAccounts:
  18752. get:
  18753. parameters:
  18754. - description: 登录账户
  18755. in: query
  18756. name: loginID
  18757. required: true
  18758. type: integer
  18759. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  18760. in: query
  18761. name: taAccountType
  18762. type: integer
  18763. produces:
  18764. - application/json
  18765. responses:
  18766. "200":
  18767. description: OK
  18768. schema:
  18769. $ref: '#/definitions/models.Taaccount'
  18770. "500":
  18771. description: Internal Server Error
  18772. schema:
  18773. $ref: '#/definitions/app.Response'
  18774. security:
  18775. - ApiKeyAuth: []
  18776. summary: 获取资金账户信息
  18777. tags:
  18778. - 资金账户
  18779. /TaAccount/QueryAmountLog:
  18780. get:
  18781. parameters:
  18782. - description: 页码
  18783. in: query
  18784. name: page
  18785. type: integer
  18786. - description: 每页条数
  18787. in: query
  18788. name: pagesize
  18789. type: integer
  18790. - description: 资金账户 - 格式:1,2,3
  18791. in: query
  18792. name: accountID
  18793. required: true
  18794. type: string
  18795. - description: 资金操作类型 - 格式:1,2,3
  18796. in: query
  18797. name: OperateType
  18798. type: string
  18799. produces:
  18800. - application/json
  18801. responses:
  18802. "200":
  18803. description: OK
  18804. schema:
  18805. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  18806. "500":
  18807. description: Internal Server Error
  18808. schema:
  18809. $ref: '#/definitions/app.Response'
  18810. security:
  18811. - ApiKeyAuth: []
  18812. summary: 资金流水查询(当前)
  18813. tags:
  18814. - 资金账户
  18815. /TaAccount/QueryHisAmountLog:
  18816. get:
  18817. parameters:
  18818. - description: 页码
  18819. in: query
  18820. name: page
  18821. type: integer
  18822. - description: 每页条数
  18823. in: query
  18824. name: pagesize
  18825. type: integer
  18826. - description: 资金账户 - 格式:1,2,3
  18827. in: query
  18828. name: accountID
  18829. required: true
  18830. type: string
  18831. - description: 资金操作类型 - 格式:1,2,3
  18832. in: query
  18833. name: OperateType
  18834. type: string
  18835. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  18836. in: query
  18837. name: startDate
  18838. type: string
  18839. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  18840. in: query
  18841. name: endDate
  18842. type: string
  18843. produces:
  18844. - application/json
  18845. responses:
  18846. "200":
  18847. description: OK
  18848. schema:
  18849. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  18850. "500":
  18851. description: Internal Server Error
  18852. schema:
  18853. $ref: '#/definitions/app.Response'
  18854. security:
  18855. - ApiKeyAuth: []
  18856. summary: 资金流水查询(历史)
  18857. tags:
  18858. - 资金账户
  18859. /Trade/QueryRecieptOrder:
  18860. get:
  18861. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  18862. parameters:
  18863. - description: 页码
  18864. in: query
  18865. name: page
  18866. type: integer
  18867. - description: 每页条数
  18868. in: query
  18869. name: pagesize
  18870. type: integer
  18871. - description: 商品ID
  18872. in: query
  18873. name: goodsID
  18874. required: true
  18875. type: integer
  18876. - description: 所属账户名称
  18877. in: query
  18878. name: accountName
  18879. type: string
  18880. - description: 市场ID
  18881. in: query
  18882. name: marketID
  18883. type: integer
  18884. - description: 方向 - 0:买 1:卖
  18885. in: query
  18886. name: buyorsell
  18887. required: true
  18888. type: integer
  18889. produces:
  18890. - application/json
  18891. responses:
  18892. "200":
  18893. description: OK
  18894. schema:
  18895. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  18896. "500":
  18897. description: Internal Server Error
  18898. schema:
  18899. $ref: '#/definitions/app.Response'
  18900. security:
  18901. - ApiKeyAuth: []
  18902. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  18903. tags:
  18904. - 通用交易
  18905. /User/AddMessageBoard:
  18906. post:
  18907. parameters:
  18908. - description: 用户ID
  18909. in: query
  18910. name: userID
  18911. required: true
  18912. type: integer
  18913. - description: 留言信息
  18914. in: query
  18915. name: message
  18916. required: true
  18917. type: string
  18918. - description: 联系电话
  18919. in: query
  18920. name: contactNum
  18921. required: true
  18922. type: string
  18923. produces:
  18924. - application/json
  18925. responses:
  18926. "200":
  18927. description: OK
  18928. schema:
  18929. $ref: '#/definitions/app.Response'
  18930. "500":
  18931. description: Internal Server Error
  18932. schema:
  18933. $ref: '#/definitions/app.Response'
  18934. security:
  18935. - ApiKeyAuth: []
  18936. summary: 添加用户留言板信息
  18937. tags:
  18938. - 用户信息
  18939. /User/AddUserFavoriteGoods:
  18940. post:
  18941. parameters:
  18942. - description: 用户ID
  18943. in: query
  18944. name: userID
  18945. required: true
  18946. type: integer
  18947. - description: 商品ID
  18948. in: query
  18949. name: goodsID
  18950. required: true
  18951. type: integer
  18952. produces:
  18953. - application/json
  18954. responses:
  18955. "200":
  18956. description: OK
  18957. schema:
  18958. $ref: '#/definitions/app.Response'
  18959. "500":
  18960. description: Internal Server Error
  18961. schema:
  18962. $ref: '#/definitions/app.Response'
  18963. security:
  18964. - ApiKeyAuth: []
  18965. summary: 添加用户商品收藏信息
  18966. tags:
  18967. - 用户信息
  18968. /User/GetLoginID:
  18969. get:
  18970. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  18971. parameters:
  18972. - description: 登录代码
  18973. in: query
  18974. name: username
  18975. required: true
  18976. type: string
  18977. produces:
  18978. - application/json
  18979. responses:
  18980. "200":
  18981. description: OK
  18982. schema:
  18983. $ref: '#/definitions/app.Response'
  18984. "500":
  18985. description: Internal Server Error
  18986. schema:
  18987. $ref: '#/definitions/app.Response'
  18988. summary: 获取登录ID
  18989. tags:
  18990. - 用户信息
  18991. /User/GetUserAccount:
  18992. get:
  18993. parameters:
  18994. - description: 用户ID
  18995. in: query
  18996. name: userID
  18997. required: true
  18998. type: integer
  18999. produces:
  19000. - application/json
  19001. responses:
  19002. "200":
  19003. description: OK
  19004. schema:
  19005. $ref: '#/definitions/models.Useraccount'
  19006. "500":
  19007. description: Internal Server Error
  19008. schema:
  19009. $ref: '#/definitions/app.Response'
  19010. security:
  19011. - ApiKeyAuth: []
  19012. summary: 获取用户账号信息
  19013. tags:
  19014. - 用户信息
  19015. /User/GetUserAuthStatus:
  19016. get:
  19017. parameters:
  19018. - description: 用户ID
  19019. in: query
  19020. name: userID
  19021. required: true
  19022. type: integer
  19023. produces:
  19024. - application/json
  19025. responses:
  19026. "200":
  19027. description: OK
  19028. schema:
  19029. $ref: '#/definitions/app.Response'
  19030. "500":
  19031. description: Internal Server Error
  19032. schema:
  19033. $ref: '#/definitions/app.Response'
  19034. security:
  19035. - ApiKeyAuth: []
  19036. summary: 获取用户实名认证状态
  19037. tags:
  19038. - 用户信息
  19039. /User/LoginQuery:
  19040. get:
  19041. parameters:
  19042. - description: 登录账号
  19043. in: query
  19044. name: loginID
  19045. required: true
  19046. type: integer
  19047. produces:
  19048. - application/json
  19049. responses:
  19050. "200":
  19051. description: OK
  19052. schema:
  19053. $ref: '#/definitions/user.LoginQueryRsp'
  19054. "500":
  19055. description: Internal Server Error
  19056. schema:
  19057. $ref: '#/definitions/app.Response'
  19058. security:
  19059. - ApiKeyAuth: []
  19060. summary: 账户登录后信息查询
  19061. tags:
  19062. - 用户信息
  19063. /User/QueryMessageBoard:
  19064. get:
  19065. parameters:
  19066. - description: 用户ID
  19067. in: query
  19068. name: userID
  19069. required: true
  19070. type: integer
  19071. produces:
  19072. - application/json
  19073. responses:
  19074. "200":
  19075. description: OK
  19076. schema:
  19077. $ref: '#/definitions/models.Messageboard'
  19078. "500":
  19079. description: Internal Server Error
  19080. schema:
  19081. $ref: '#/definitions/app.Response'
  19082. security:
  19083. - ApiKeyAuth: []
  19084. summary: 获取用户留言板信息
  19085. tags:
  19086. - 用户信息
  19087. /User/QueryUserFavoriteGoodses:
  19088. get:
  19089. parameters:
  19090. - description: 用户ID
  19091. in: query
  19092. name: userID
  19093. required: true
  19094. type: integer
  19095. produces:
  19096. - application/json
  19097. responses:
  19098. "200":
  19099. description: OK
  19100. schema:
  19101. $ref: '#/definitions/models.Userfavoritegoods'
  19102. "500":
  19103. description: Internal Server Error
  19104. schema:
  19105. $ref: '#/definitions/app.Response'
  19106. security:
  19107. - ApiKeyAuth: []
  19108. summary: 获取用户商品收藏信息
  19109. tags:
  19110. - 用户信息
  19111. /User/QueryUserInfo:
  19112. get:
  19113. parameters:
  19114. - description: 用户ID
  19115. in: query
  19116. name: userID
  19117. required: true
  19118. type: integer
  19119. - description: 是否解密
  19120. in: query
  19121. name: isDecrypt
  19122. type: boolean
  19123. produces:
  19124. - application/json
  19125. responses:
  19126. "200":
  19127. description: OK
  19128. schema:
  19129. $ref: '#/definitions/models.Userinfo'
  19130. "500":
  19131. description: Internal Server Error
  19132. schema:
  19133. $ref: '#/definitions/app.Response'
  19134. security:
  19135. - ApiKeyAuth: []
  19136. summary: 获取用户信息
  19137. tags:
  19138. - 用户信息
  19139. /User/QueryUserReferNum:
  19140. get:
  19141. parameters:
  19142. - description: 用户ID
  19143. in: query
  19144. name: userID
  19145. required: true
  19146. type: integer
  19147. produces:
  19148. - application/json
  19149. responses:
  19150. "200":
  19151. description: OK
  19152. schema:
  19153. $ref: '#/definitions/app.Response'
  19154. "500":
  19155. description: Internal Server Error
  19156. schema:
  19157. $ref: '#/definitions/app.Response'
  19158. summary: 获取用户邀请码
  19159. tags:
  19160. - 用户信息
  19161. /User/RemoveUserFavoriteGoods:
  19162. post:
  19163. parameters:
  19164. - description: 用户ID
  19165. in: query
  19166. name: userID
  19167. required: true
  19168. type: integer
  19169. - description: 商品ID
  19170. in: query
  19171. name: goodsID
  19172. required: true
  19173. type: integer
  19174. produces:
  19175. - application/json
  19176. responses:
  19177. "200":
  19178. description: OK
  19179. schema:
  19180. $ref: '#/definitions/app.Response'
  19181. "500":
  19182. description: Internal Server Error
  19183. schema:
  19184. $ref: '#/definitions/app.Response'
  19185. security:
  19186. - ApiKeyAuth: []
  19187. summary: 移除用户商品收藏信息
  19188. tags:
  19189. - 用户信息
  19190. /User/UpdateUserAccountStatus:
  19191. post:
  19192. parameters:
  19193. - description: 用户ID
  19194. in: query
  19195. name: userID
  19196. required: true
  19197. type: integer
  19198. - description: 账户状态 - 4:正常 6:注销(停用)
  19199. in: query
  19200. name: accountStatus
  19201. required: true
  19202. type: integer
  19203. produces:
  19204. - application/json
  19205. responses:
  19206. "200":
  19207. description: OK
  19208. schema:
  19209. $ref: '#/definitions/app.Response'
  19210. "500":
  19211. description: Internal Server Error
  19212. schema:
  19213. $ref: '#/definitions/app.Response'
  19214. security:
  19215. - ApiKeyAuth: []
  19216. summary: 更新用户状态
  19217. tags:
  19218. - 用户信息
  19219. /WRTrade/GetAllDeliveryGoods:
  19220. get:
  19221. produces:
  19222. - application/json
  19223. - application/json
  19224. responses:
  19225. "200":
  19226. description: OK
  19227. schema:
  19228. $ref: '#/definitions/app.Response'
  19229. "500":
  19230. description: Internal Server Error
  19231. schema:
  19232. $ref: '#/definitions/app.Response'
  19233. security:
  19234. - ApiKeyAuth: []
  19235. - ApiKeyAuth: []
  19236. summary: 获取带仓单分类的种类信息
  19237. tags:
  19238. - 仓单贸易
  19239. - 仓单贸易
  19240. securityDefinitions:
  19241. ApiKeyAuth:
  19242. in: header
  19243. name: Authorization
  19244. type: apiKey
  19245. swagger: "2.0"