swagger.yaml 528 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171
  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. bankprovince:
  9456. description: 开户行省份
  9457. type: string
  9458. branchbankid:
  9459. description: 签约银行支行号
  9460. type: string
  9461. branchbankname:
  9462. description: 签约银行支行名称
  9463. type: string
  9464. cardno:
  9465. description: 证件号码
  9466. type: string
  9467. cardtype:
  9468. description: 证件类型
  9469. type: string
  9470. currency:
  9471. description: 币种
  9472. type: string
  9473. cusbankid:
  9474. description: 托管银行编号
  9475. type: string
  9476. direct:
  9477. description: 方向(可以判断那方先发起的签约)
  9478. type: integer
  9479. exchticket:
  9480. description: 最后一次签约成功的流水号
  9481. type: string
  9482. extendinfo:
  9483. description: 扩展信息(JSON字符串)
  9484. type: string
  9485. mobilephone:
  9486. description: 手机号
  9487. type: string
  9488. netaddr:
  9489. description: 调转网址
  9490. type: string
  9491. relateduserid:
  9492. description: 关联使用者userid
  9493. type: integer
  9494. signstatus:
  9495. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  9496. 10:审核拒绝 11:换签待审核
  9497. type: integer
  9498. updatetime:
  9499. description: 更新时间(签解约更新时间)
  9500. type: string
  9501. type: object
  9502. models.QhjBankInfo:
  9503. properties:
  9504. bankid:
  9505. description: 银行ID
  9506. type: string
  9507. bankname:
  9508. description: 银行名称
  9509. type: string
  9510. clearbankno:
  9511. description: 清算系统银行编号
  9512. type: string
  9513. orderindex:
  9514. description: 排序顺序
  9515. type: integer
  9516. status:
  9517. description: 状态 - 0:正常 1:注销
  9518. type: integer
  9519. type: object
  9520. models.QhjContract:
  9521. properties:
  9522. contractconfirmtime:
  9523. description: 合同确认时间(时间)
  9524. type: string
  9525. enumdicname:
  9526. description: 单位名称
  9527. type: string
  9528. goodscode:
  9529. description: 商品代码
  9530. type: string
  9531. goodsid:
  9532. description: 商品ID [5:融资单]
  9533. type: integer
  9534. goodsname:
  9535. description: 商品名称
  9536. type: string
  9537. goodunitid:
  9538. description: 商品单位id
  9539. type: integer
  9540. initmargin:
  9541. description: 初始保证金(首付款)
  9542. type: number
  9543. lenderamount:
  9544. description: 贷款金额(总额|订单总额)
  9545. type: number
  9546. marginratio:
  9547. description: 保证金比率(首付比例)
  9548. type: number
  9549. payamount:
  9550. description: 已付(已付货款)
  9551. type: number
  9552. recoveredmargin:
  9553. description: 已追缴保证金
  9554. type: number
  9555. remainamount:
  9556. description: 合同剩余金额(融资额)
  9557. type: number
  9558. scfcontractid:
  9559. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  9560. type: integer
  9561. scfcontracttype:
  9562. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  9563. type: integer
  9564. totalinterest:
  9565. description: 已计总利息(利息)
  9566. type: number
  9567. tradeprice:
  9568. description: 成交价格(成本价格)
  9569. type: number
  9570. userid:
  9571. description: 用户ID
  9572. type: integer
  9573. username:
  9574. description: 用户名称
  9575. type: string
  9576. wrqty:
  9577. description: 仓单数量(数量)
  9578. type: integer
  9579. type: object
  9580. models.QhjContractLog:
  9581. properties:
  9582. amount:
  9583. description: 支付金额
  9584. type: number
  9585. amounttype:
  9586. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  9587. type: integer
  9588. logid:
  9589. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9590. type: string
  9591. remainamount:
  9592. description: 剩余货款
  9593. type: number
  9594. scfcontractid:
  9595. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  9596. type: integer
  9597. updatetime:
  9598. description: 更新时间
  9599. type: string
  9600. type: object
  9601. models.QhjCusBankSignBankEx:
  9602. properties:
  9603. banklst:
  9604. description: 银行列表
  9605. items:
  9606. $ref: '#/definitions/models.QhjBankInfo'
  9607. type: array
  9608. canallot:
  9609. description: 是否支持跨行调拨 - 0:不支持 1:支持
  9610. type: integer
  9611. canallotquery:
  9612. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  9613. type: integer
  9614. canbindcard:
  9615. description: 是否可绑卡与解卡 - 0:不可 1:可以
  9616. type: integer
  9617. caninamount:
  9618. description: 是否可入金 - 0:不可 1:可以
  9619. type: integer
  9620. caninamount2:
  9621. description: 是否可入金(网银端) - 0:不可 1:可以
  9622. type: integer
  9623. canmodifybankcard:
  9624. description: 是否可修改银行卡号 - 0:不可 1:可以
  9625. type: integer
  9626. canmodifyphone:
  9627. description: 是否可修改手机号 - 0:不可 1:可以
  9628. type: integer
  9629. canmodifysigninfo:
  9630. description: 是否可修改签约信息 - 0:不可 1:可以
  9631. type: integer
  9632. canoutamount:
  9633. description: 是否可出金 - 0:不可 1:可以
  9634. type: integer
  9635. canoutamount2:
  9636. description: 是否可出金(网银端) - 0:不可 1:可以
  9637. type: integer
  9638. canrelease:
  9639. description: 是否可解约 - 0:不可 1:可以
  9640. type: integer
  9641. canrelease2:
  9642. description: 是否可解约(网银端) - 0:不可 1:可以
  9643. type: integer
  9644. cansign:
  9645. description: 是否可签约 - 0:不可 1:可以
  9646. type: integer
  9647. cansign2:
  9648. description: 是否可签约(网银端) - 0:不可 1:可以
  9649. type: integer
  9650. currency:
  9651. description: 币种
  9652. type: string
  9653. cusbankid:
  9654. description: 托管银行编号(对应清算中心TRAN_NO)
  9655. type: string
  9656. cusbankname:
  9657. description: 银行业务名称
  9658. type: string
  9659. cusbankshortname:
  9660. description: 银行业务简称
  9661. type: string
  9662. exchbankid:
  9663. description: 交易所开户银行ID
  9664. type: string
  9665. exchpaybankaccname:
  9666. description: 交易所支出结算账户户名
  9667. type: string
  9668. exchpaybankaccno:
  9669. description: 交易所支出结算账户
  9670. type: string
  9671. isneedcheck:
  9672. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  9673. type: integer
  9674. isneedclear:
  9675. description: 是否需要清算 - 0:不需要 1:需要
  9676. type: integer
  9677. riskinfo:
  9678. description: 签约风险提示书
  9679. type: string
  9680. type: object
  9681. models.QhjCustomer:
  9682. properties:
  9683. address:
  9684. description: 通讯地址
  9685. type: string
  9686. attachment1:
  9687. description: 附件1
  9688. type: string
  9689. audittime:
  9690. description: 审核时间
  9691. type: string
  9692. cardbackphotourl:
  9693. description: 证件反面图片地址
  9694. type: string
  9695. cardfrontphotourl:
  9696. description: 证件正面图片地址
  9697. type: string
  9698. cardnum:
  9699. description: 证件号码
  9700. type: string
  9701. cardtype:
  9702. description: 证件类型
  9703. type: integer
  9704. cardtypename:
  9705. description: 证件类型名称
  9706. type: string
  9707. cityid:
  9708. description: 市
  9709. type: integer
  9710. cityname:
  9711. description: 城市名称
  9712. type: string
  9713. contactname:
  9714. description: 联系人
  9715. type: string
  9716. countryid:
  9717. description: 国家
  9718. type: integer
  9719. countryname:
  9720. description: 国家名称
  9721. type: string
  9722. createtime:
  9723. description: 创建时间
  9724. type: string
  9725. customername:
  9726. description: 客户名称
  9727. type: string
  9728. districtid:
  9729. description: 区域
  9730. type: integer
  9731. districtname:
  9732. description: 地区名称
  9733. type: string
  9734. email:
  9735. description: 邮件
  9736. type: string
  9737. legalpersonname:
  9738. description: 法人姓名(企业)
  9739. type: string
  9740. memberuserid:
  9741. description: 所属机构ID(所属会员)
  9742. type: integer
  9743. memberusername:
  9744. description: 所属会员名称
  9745. type: string
  9746. mobile:
  9747. description: 手机号码
  9748. type: string
  9749. modifytime:
  9750. description: 修改时间
  9751. type: string
  9752. nickname:
  9753. description: 昵称
  9754. type: string
  9755. parentuserid:
  9756. description: 上级机构(所属机构)
  9757. type: integer
  9758. parentusername:
  9759. description: 所属机构名称
  9760. type: string
  9761. provinceid:
  9762. description: 省
  9763. type: integer
  9764. provincename:
  9765. description: 省名称
  9766. type: string
  9767. remark:
  9768. description: 备注
  9769. type: string
  9770. status:
  9771. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  9772. type: integer
  9773. statusdesc:
  9774. description: 账户状态中文描述
  9775. type: string
  9776. taxpayernum:
  9777. description: 纳税人识别号
  9778. type: string
  9779. telphone:
  9780. description: 联系电话
  9781. type: string
  9782. userid:
  9783. description: 用户ID
  9784. type: integer
  9785. userinfotype:
  9786. description: 客户类型 1-个人 2-企业
  9787. type: integer
  9788. username:
  9789. description: 用户名称
  9790. type: string
  9791. type: object
  9792. models.QhjPayOrder:
  9793. properties:
  9794. buyaccountid:
  9795. description: 买方账号ID[报价币种]
  9796. type: integer
  9797. buyorderid:
  9798. description: 买方委托单号
  9799. type: string
  9800. createtime:
  9801. description: 创建时间
  9802. type: string
  9803. goodscode:
  9804. description: 商品代码
  9805. type: string
  9806. goodsid:
  9807. description: 商品ID
  9808. type: integer
  9809. goodsname:
  9810. description: 商品名称
  9811. type: string
  9812. marketid:
  9813. description: 市场ID
  9814. type: integer
  9815. offamount:
  9816. description: 优惠金额
  9817. type: number
  9818. operatetype:
  9819. description: 买委托操作类型 - 1:正常下单 16:融资买入
  9820. type: integer
  9821. payamount:
  9822. description: 支付金额=TradeAmount + TradeCharge
  9823. type: number
  9824. payflag:
  9825. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  9826. type: integer
  9827. paylimitedtime:
  9828. description: 支付期限
  9829. type: string
  9830. paytime:
  9831. description: 付款时间
  9832. type: string
  9833. sellaccountid:
  9834. description: 卖方账号ID[报价币种]
  9835. type: integer
  9836. sellorderid:
  9837. description: 卖方委托单号
  9838. type: string
  9839. tradeamount:
  9840. description: 成交金额(优惠后金额)
  9841. type: number
  9842. tradecharge:
  9843. description: 成交手续费(买方)
  9844. type: number
  9845. tradedate:
  9846. description: 交易日(yyyyMMdd)
  9847. type: string
  9848. tradeid:
  9849. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9850. type: string
  9851. tradeprice:
  9852. description: 成交价格
  9853. type: number
  9854. tradeqty:
  9855. description: 成交数量
  9856. type: integer
  9857. type: object
  9858. models.QhjPickArea:
  9859. properties:
  9860. address:
  9861. description: 详细地址
  9862. type: string
  9863. cityid:
  9864. description: 市
  9865. type: integer
  9866. cityname:
  9867. description: 城市名称
  9868. type: string
  9869. countryid:
  9870. description: 国家
  9871. type: integer
  9872. countryname:
  9873. description: 国家名称
  9874. type: string
  9875. districtid:
  9876. description: 地区
  9877. type: integer
  9878. districtname:
  9879. description: 地区名称
  9880. type: string
  9881. fromuserid:
  9882. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  9883. type: integer
  9884. fromusername:
  9885. description: 所属机构名称
  9886. type: string
  9887. provinceid:
  9888. description: 省
  9889. type: integer
  9890. provincename:
  9891. description: 省名称
  9892. type: string
  9893. suborgtype:
  9894. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  9895. type: integer
  9896. userid:
  9897. description: 机构用户ID 其他做市关系,都设置为 1
  9898. type: integer
  9899. username:
  9900. description: 机构用户名称(门店门称)
  9901. type: string
  9902. type: object
  9903. models.QhjPickGoods:
  9904. properties:
  9905. imageaddress:
  9906. description: 图片
  9907. type: string
  9908. modifierid:
  9909. description: 修改人
  9910. type: integer
  9911. modifiername:
  9912. description: 修改人名称
  9913. type: string
  9914. modifysrc:
  9915. description: 修改来源 - 1:管理端 2:终端
  9916. type: integer
  9917. pickupgoodsagreeunit:
  9918. description: 合约乘数
  9919. type: number
  9920. pickupgoodsdesc:
  9921. description: 描述
  9922. type: string
  9923. pickupgoodsid:
  9924. description: 提货商品ID
  9925. type: string
  9926. pickupgoodsname:
  9927. description: 提货商品名称
  9928. type: string
  9929. pickupgoodsstatus:
  9930. description: 状态 - 1:正常 2:停用 3:注销
  9931. type: integer
  9932. pickupgoodsunitid:
  9933. description: 单位ID
  9934. type: integer
  9935. preparedays:
  9936. description: 备货期(天)
  9937. type: integer
  9938. remark:
  9939. description: 备注
  9940. type: string
  9941. updatetime:
  9942. description: 更新时间
  9943. type: string
  9944. type: object
  9945. models.QhjRSTriggerLog:
  9946. properties:
  9947. accountid:
  9948. description: 用户资金账户
  9949. type: integer
  9950. accountname:
  9951. description: 账号名称(ACCOUNTID对应的名称)
  9952. type: string
  9953. currencyid:
  9954. description: 币种id
  9955. type: integer
  9956. currencyname:
  9957. description: 币种名称
  9958. type: string
  9959. enumdicname:
  9960. description: 单位名称
  9961. type: string
  9962. goodscode:
  9963. description: 定投商品代码
  9964. type: string
  9965. goodsid:
  9966. description: 定投商品ID
  9967. type: string
  9968. goodsname:
  9969. description: 定投商品名称
  9970. type: string
  9971. goodunitid:
  9972. description: 定投商品单位id
  9973. type: integer
  9974. logid:
  9975. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  9976. type: string
  9977. regularlycycle:
  9978. description: 定投频率 - 1:每周 2:每月
  9979. type: integer
  9980. regularlycyclevalue:
  9981. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  9982. type: string
  9983. regularlymode:
  9984. description: 定投方式 - 1:按数量 2:按金额
  9985. type: integer
  9986. regularlymodevalue:
  9987. description: 定投方式值 - 数量或金额
  9988. type: number
  9989. regularlystrategyid:
  9990. description: 定投策略ID
  9991. type: integer
  9992. retcode:
  9993. description: 错误码
  9994. type: string
  9995. tradeid:
  9996. description: 成交单ID
  9997. type: string
  9998. triggeramount:
  9999. description: 触发金额
  10000. type: number
  10001. triggerqty:
  10002. description: 触发数量
  10003. type: number
  10004. triggerstatus:
  10005. description: 触发状态 - 1:成功 2:失败
  10006. type: integer
  10007. triggertime:
  10008. description: 触发时间
  10009. type: string
  10010. triggertradedate:
  10011. description: 触发交易日
  10012. type: string
  10013. userid:
  10014. description: 所属用户ID
  10015. type: integer
  10016. username:
  10017. description: 用户名称(userid对应的名称)
  10018. type: string
  10019. type: object
  10020. models.QhjRStrategy:
  10021. properties:
  10022. accountid:
  10023. description: 用户资金账户
  10024. type: integer
  10025. accountname:
  10026. description: 账号名称(ACCOUNTID对应的名称)
  10027. type: string
  10028. currencyid:
  10029. description: 币种id
  10030. type: integer
  10031. currencyname:
  10032. description: 币种名称
  10033. type: string
  10034. enumdicname:
  10035. description: 单位名称
  10036. type: string
  10037. goodscode:
  10038. description: 定投商品代码
  10039. type: string
  10040. goodsid:
  10041. description: 定投商品ID
  10042. type: string
  10043. goodsname:
  10044. description: 定投商品名称
  10045. type: string
  10046. goodunitid:
  10047. description: 定投商品单位id
  10048. type: integer
  10049. lasteffecttradedate:
  10050. description: 最新生效交易日
  10051. type: string
  10052. laststoptradedate:
  10053. description: 最新暂停交易日
  10054. type: string
  10055. lasttriggertradedate:
  10056. description: 最新触发交易日
  10057. type: string
  10058. nexttriggeramount:
  10059. description: 下次触发金额
  10060. type: number
  10061. nexttriggerdate:
  10062. description: 下次触发日期
  10063. type: string
  10064. nexttriggerqty:
  10065. description: 下次触发数量 [按小数位放大值]
  10066. type: number
  10067. regularlycycle:
  10068. description: 定投频率 - 1:每周 2:每月
  10069. type: integer
  10070. regularlycyclevalue:
  10071. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  10072. type: string
  10073. regularlymode:
  10074. description: 定投方式 - 1:按数量 2:按金额
  10075. type: integer
  10076. regularlymodevalue:
  10077. description: 定投方式值 - 数量或金额
  10078. type: number
  10079. regularlystrategyid:
  10080. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  10081. type: integer
  10082. regularlystrategystatus:
  10083. description: 策略状态 - 1:正常 2:暂停 3:终止
  10084. type: integer
  10085. remark:
  10086. description: 备注
  10087. type: string
  10088. triggersuccesstimes:
  10089. description: 累计定投成功次数
  10090. type: string
  10091. triggertotalamount:
  10092. description: 累计定投金额(成功)
  10093. type: number
  10094. triggertotalqty:
  10095. description: 累计定投数量(成功) [按小数位放大值]
  10096. type: number
  10097. triggertotaltimes:
  10098. description: 累计定投总次数
  10099. type: string
  10100. updatesrc:
  10101. description: 更新来源 - 1:管理端 2:终端
  10102. type: integer
  10103. updatetime:
  10104. description: 更新时间
  10105. type: string
  10106. updatorid:
  10107. description: 更新人
  10108. type: string
  10109. userid:
  10110. description: 所属用户ID
  10111. type: integer
  10112. username:
  10113. description: 用户名称(userid对应的名称)
  10114. type: string
  10115. type: object
  10116. models.QhjReckonPriceLog:
  10117. properties:
  10118. goodsid:
  10119. description: 商品ID
  10120. type: integer
  10121. lastreckonprice:
  10122. description: 上日结算价
  10123. type: number
  10124. nextdnlimitprice:
  10125. description: 下个交易日跌停价
  10126. type: number
  10127. nexttrade:
  10128. description: 下个交易日
  10129. type: string
  10130. nextuplimitprice:
  10131. description: 下个交易日涨停价
  10132. type: number
  10133. reckonprice:
  10134. description: 今日结算价(定投价)
  10135. type: number
  10136. reckontime:
  10137. description: 结算时间
  10138. type: string
  10139. totalholderqty:
  10140. description: 总持仓数
  10141. type: integer
  10142. totalstock:
  10143. description: 总库存
  10144. type: integer
  10145. tradedate:
  10146. description: 交易日
  10147. type: string
  10148. updowncount:
  10149. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  10150. type: integer
  10151. updownflag:
  10152. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  10153. type: integer
  10154. updownrate:
  10155. description: 今日涨跌幅
  10156. type: number
  10157. updownrate_2d:
  10158. description: 连续两日涨跌幅
  10159. type: number
  10160. updownrate_3d:
  10161. description: 连续三日涨跌幅
  10162. type: number
  10163. type: object
  10164. models.QhjSiteColumnDetail:
  10165. properties:
  10166. author:
  10167. description: 作者
  10168. type: string
  10169. brief:
  10170. description: 简介
  10171. type: string
  10172. columnid:
  10173. description: 所属栏目
  10174. type: integer
  10175. context:
  10176. description: 内容
  10177. type: string
  10178. coverimage:
  10179. description: 封面图片
  10180. type: string
  10181. creaedate:
  10182. description: 创建时间
  10183. type: string
  10184. creatorid:
  10185. description: 创建人
  10186. type: integer
  10187. hits:
  10188. description: 点击数
  10189. type: integer
  10190. id:
  10191. description: ID(SEQ_SITE_COLUMNDETAIL)
  10192. type: integer
  10193. isshow:
  10194. description: 是否展示 - 0:不展示 1:展示
  10195. type: integer
  10196. istop:
  10197. description: 是否置顶 - 0:不置 1:置顶
  10198. type: integer
  10199. modifierid:
  10200. description: 操作人
  10201. type: integer
  10202. publishdate:
  10203. description: 发布日期
  10204. type: string
  10205. status:
  10206. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  10207. type: integer
  10208. title:
  10209. description: 标题
  10210. type: string
  10211. updatedate:
  10212. description: 修改时间
  10213. type: string
  10214. userid:
  10215. description: 用户ID(默认为0, 核心为为机构用户ID)
  10216. type: integer
  10217. username:
  10218. description: 用户名称
  10219. type: string
  10220. type: object
  10221. models.QhjTradeGoodsPickup:
  10222. properties:
  10223. accountid:
  10224. description: 账户ID
  10225. type: integer
  10226. address:
  10227. description: 提货人详细地址
  10228. type: string
  10229. amount:
  10230. description: 提货金额
  10231. type: number
  10232. artradedate:
  10233. description: 自动收货交易日(yyyyMMdd)
  10234. type: string
  10235. auditer:
  10236. description: 审核人
  10237. type: integer
  10238. auditsrc:
  10239. description: 更新来源 - 1:管理端 2:终端
  10240. type: integer
  10241. audittime:
  10242. description: 审核时间(发货时间 | 备货完成时间 都是这个字段)
  10243. type: string
  10244. audittradedate:
  10245. description: 审核交易日(yyyyMMdd)
  10246. type: string
  10247. cardnum:
  10248. description: 提货人证件号码
  10249. type: string
  10250. cardtypeid:
  10251. description: 提货人证件类型
  10252. type: integer
  10253. checkremark:
  10254. description: 审核备注
  10255. type: string
  10256. cityid:
  10257. description: 市
  10258. type: integer
  10259. cityname:
  10260. description: 城市名称
  10261. type: string
  10262. confirmtime:
  10263. description: 取货时间 或 收货时间
  10264. type: string
  10265. countryid:
  10266. description: 国家
  10267. type: integer
  10268. countryname:
  10269. description: 国家名称
  10270. type: string
  10271. districtid:
  10272. description: 地区
  10273. type: integer
  10274. districtname:
  10275. description: 地区名称
  10276. type: string
  10277. enumdicname:
  10278. description: 单位名称(提货商品)
  10279. type: string
  10280. expresscompany:
  10281. description: 物流公司
  10282. type: string
  10283. expressnum:
  10284. description: 物流单号
  10285. type: string
  10286. goodsagreeunit:
  10287. description: 交易商品乘数
  10288. type: number
  10289. goodscode:
  10290. description: 商品代码
  10291. type: string
  10292. goodsid:
  10293. description: 商品ID
  10294. type: integer
  10295. goodsname:
  10296. description: 商品名称
  10297. type: string
  10298. goodsqty:
  10299. description: 交易商品手数(69模式按成交量小数位放大取整)
  10300. type: number
  10301. handlestatus:
  10302. description: 处理状态
  10303. type: integer
  10304. marketid:
  10305. description: 市场ID
  10306. type: integer
  10307. phonenum:
  10308. description: 提货人联系方式
  10309. type: string
  10310. pickupgoodsagreeunit:
  10311. description: 提货商品合约乘数
  10312. type: number
  10313. pickupgoodsid:
  10314. description: 提货商品ID
  10315. type: string
  10316. pickupgoodsname:
  10317. description: 提货商品名称
  10318. type: string
  10319. pickupgoodsqty:
  10320. description: 提货商品手数(数量)
  10321. type: number
  10322. pickupgoodsunitid:
  10323. description: 单位ID(提货商品)
  10324. type: integer
  10325. pickupratio:
  10326. description: 提货系数
  10327. type: number
  10328. preparedays:
  10329. description: 备货期(天)-提货单明细表
  10330. type: integer
  10331. provinceid:
  10332. description: 省
  10333. type: integer
  10334. provincename:
  10335. description: 省名称
  10336. type: string
  10337. qty:
  10338. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  10339. type: number
  10340. recivername:
  10341. description: 提货人姓名
  10342. type: string
  10343. reqtime:
  10344. description: 提货申请时间
  10345. type: string
  10346. storeuserid:
  10347. description: 门店用户ID (千海金)
  10348. type: integer
  10349. storeusername:
  10350. description: 门店用户名称
  10351. type: string
  10352. takemode:
  10353. description: 提货方式 - 2:自提 3:配送(邮寄)
  10354. type: integer
  10355. takeorderid:
  10356. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  10357. type: integer
  10358. takeorderstatus:
  10359. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  10360. 7:已拒绝 8:已撤销
  10361. type: integer
  10362. takeremark:
  10363. description: 提货备注
  10364. type: string
  10365. tradedate:
  10366. description: 交易日(yyyyMMdd)
  10367. type: string
  10368. updatetime:
  10369. description: 更新时间
  10370. type: string
  10371. userid:
  10372. description: 用户ID
  10373. type: integer
  10374. username:
  10375. description: 用户名称
  10376. type: string
  10377. type: object
  10378. models.Qhjgoodsex:
  10379. properties:
  10380. canfinance:
  10381. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  10382. type: integer
  10383. canregularlybuy:
  10384. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  10385. type: integer
  10386. defaulttradeuserid:
  10387. description: 默认交易用户ID
  10388. type: integer
  10389. deliverygoodsid:
  10390. description: 现货品种ID
  10391. type: integer
  10392. goodsid:
  10393. description: 商品ID(自增ID SEQ_GOODS)
  10394. type: integer
  10395. minamount:
  10396. description: 最小购买金额
  10397. type: number
  10398. regularlybuyminamount:
  10399. description: 定投最小金额
  10400. type: number
  10401. regularlybuyminqty:
  10402. description: 定投最小数量
  10403. type: number
  10404. spotgoodsbrandid:
  10405. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  10406. type: integer
  10407. wrstandardid:
  10408. description: 现货商品ID
  10409. type: integer
  10410. type: object
  10411. models.QueryErrorInfosRsp:
  10412. properties:
  10413. description:
  10414. description: 异常描述
  10415. type: string
  10416. errorcode:
  10417. description: 异常代码
  10418. type: string
  10419. errorid:
  10420. description: 异常ID
  10421. type: integer
  10422. modulecode:
  10423. description: 所属模块
  10424. type: string
  10425. operatecode:
  10426. description: 所属操作
  10427. type: string
  10428. rownumber:
  10429. description: 行号
  10430. type: string
  10431. required:
  10432. - errorid
  10433. type: object
  10434. models.QueryHedgeOrderDetailRsp:
  10435. properties:
  10436. accountid:
  10437. description: 账户ID
  10438. type: integer
  10439. buyorsell:
  10440. description: 买卖 - 0:买 1:卖
  10441. type: integer
  10442. cancellogincode:
  10443. description: 撤单人
  10444. type: string
  10445. channelbuildtype:
  10446. description: 开平标志 - 0:无 1:建仓 2:平仓
  10447. type: integer
  10448. channelinnerorderstatus:
  10449. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  10450. 9:全部成交
  10451. type: integer
  10452. channeloperatetype:
  10453. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  10454. type: integer
  10455. closetype:
  10456. description: 平仓方式 - 0:无 1:平今 2:平昨
  10457. type: integer
  10458. curexchangerate:
  10459. description: 当前汇率
  10460. type: number
  10461. exchangefullname:
  10462. description: 外部交易所全称
  10463. type: string
  10464. goodscode:
  10465. description: 商品代码(内部)
  10466. type: string
  10467. goodsid:
  10468. description: 商品ID
  10469. type: integer
  10470. goodsname:
  10471. description: 商品名称
  10472. type: string
  10473. marketid:
  10474. description: 市场ID
  10475. type: integer
  10476. openfreezemargin:
  10477. description: 冻结保证金(冻结交易金额)
  10478. type: number
  10479. orderid:
  10480. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10481. type: string
  10482. orderlogincode:
  10483. description: 委托人
  10484. type: string
  10485. orderprice:
  10486. description: 委托价格(账户)
  10487. type: number
  10488. orderqty:
  10489. description: 委托数量
  10490. type: integer
  10491. ordertime:
  10492. description: 委托时间
  10493. type: string
  10494. pricemode:
  10495. description: '取价方式 - 1:市价 2: 限价'
  10496. type: integer
  10497. tradedate:
  10498. description: 交易日(yyyyMMdd)
  10499. type: string
  10500. tradeqty:
  10501. description: 成交数量
  10502. type: integer
  10503. type: object
  10504. models.QueryHedgeTradeDetailRsp:
  10505. properties:
  10506. accountid:
  10507. description: 账号ID
  10508. type: integer
  10509. buyorsell:
  10510. description: 方向 - 0:买 1:卖
  10511. type: integer
  10512. channelbuildtype:
  10513. description: 委托单据类型 0:无 1:建仓 2:平仓
  10514. type: integer
  10515. closecharge:
  10516. description: 平仓手续费(账户)
  10517. type: number
  10518. closecharge2:
  10519. description: 平仓手续费(商品)
  10520. type: number
  10521. closepl:
  10522. description: 平仓盈亏(账户)
  10523. type: number
  10524. closepl2:
  10525. description: 平仓盈亏(商品)
  10526. type: number
  10527. closepl3:
  10528. description: 平仓盈亏(账户)(逐笔)
  10529. type: number
  10530. closepl4:
  10531. description: 平仓盈亏(商品)(逐笔)
  10532. type: number
  10533. closetype:
  10534. description: 平仓方式 - 0:无 1:平今 2:平昨
  10535. type: integer
  10536. curexchangerate:
  10537. description: 当前汇率
  10538. type: number
  10539. exchangefullname:
  10540. description: 外部交易所全称
  10541. type: string
  10542. goodscode:
  10543. description: 商品代码(内部)
  10544. type: string
  10545. goodsid:
  10546. description: 商品ID
  10547. type: integer
  10548. goodsname:
  10549. description: 商品名称
  10550. type: string
  10551. marketid:
  10552. description: 市场ID
  10553. type: integer
  10554. opencharge:
  10555. description: 建仓手续费(账户)
  10556. type: number
  10557. opencharge2:
  10558. description: 建仓手续费(商品)
  10559. type: number
  10560. orderid:
  10561. description: 委托单号
  10562. type: string
  10563. orderlogincode:
  10564. description: 委托人
  10565. type: string
  10566. tradeamount:
  10567. description: 成交金额(账户)
  10568. type: number
  10569. tradedate:
  10570. description: 交易日(yyyyMMdd)
  10571. type: string
  10572. tradeid:
  10573. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10574. type: string
  10575. tradeprice:
  10576. description: 成交价格
  10577. type: number
  10578. tradeqty:
  10579. description: 成交数量
  10580. type: integer
  10581. tradetime:
  10582. description: 成交时间
  10583. type: string
  10584. tradetype:
  10585. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  10586. type: integer
  10587. type: object
  10588. models.QuotePrimaryMenu:
  10589. properties:
  10590. Index:
  10591. description: 序号
  10592. type: integer
  10593. Key:
  10594. description: 键名
  10595. type: string
  10596. Name:
  10597. description: 菜单名称
  10598. type: string
  10599. SubMenus:
  10600. description: 子菜单
  10601. items:
  10602. $ref: '#/definitions/models.QuoteSecondaryMenu'
  10603. type: array
  10604. SubTitleType:
  10605. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  10606. type: integer
  10607. TradeModes:
  10608. description: 包含市场交易类型
  10609. type: string
  10610. type: object
  10611. models.QuoteSecondaryMenu:
  10612. properties:
  10613. ExExchangeCode:
  10614. description: 外部交易所代码
  10615. type: string
  10616. ExExchangeID:
  10617. description: 外部交易所ID
  10618. type: integer
  10619. GoodsGroupIDs:
  10620. description: 商品组ID列表
  10621. items:
  10622. type: integer
  10623. type: array
  10624. Index:
  10625. description: 序号
  10626. type: integer
  10627. MarketID:
  10628. description: 市场ID
  10629. type: integer
  10630. MenuTitle:
  10631. description: 菜单标题(市场名称或外部交易所名称)
  10632. type: string
  10633. TradeMode:
  10634. description: 交易模式
  10635. type: integer
  10636. type: object
  10637. models.SearchGoods:
  10638. properties:
  10639. goodscode:
  10640. description: 商品代码(内部)
  10641. type: string
  10642. goodsid:
  10643. description: 商品ID(自增ID SEQ_GOODS)
  10644. type: integer
  10645. goodsname:
  10646. description: 商品名称
  10647. type: string
  10648. marketid:
  10649. description: 所属市场ID
  10650. type: integer
  10651. marketname:
  10652. description: 市场名称
  10653. type: string
  10654. trademode:
  10655. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10656. 21:竞拍-大宗式 22:受托竞价
  10657. type: integer
  10658. required:
  10659. - goodscode
  10660. - goodsid
  10661. - goodsname
  10662. - marketid
  10663. - trademode
  10664. type: object
  10665. models.Systemparam:
  10666. properties:
  10667. loginid:
  10668. description: 更新用户账号,登录账号
  10669. type: string
  10670. modifyflag:
  10671. description: 修改标志0 不允许修改 1 允许修改
  10672. type: integer
  10673. paramcode:
  10674. description: 参数代码
  10675. type: string
  10676. paramname:
  10677. description: 参数名
  10678. type: string
  10679. paramtype:
  10680. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  10681. type: integer
  10682. paramvalue:
  10683. description: 参数值
  10684. type: string
  10685. paramvalue2:
  10686. description: 参数值(CLOB)
  10687. type: string
  10688. regexpress:
  10689. description: 正则表达式
  10690. type: string
  10691. remark:
  10692. description: 备注
  10693. type: string
  10694. serverip:
  10695. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  10696. type: string
  10697. showflag:
  10698. description: 是否显示0 不显示 1 显示
  10699. type: integer
  10700. updatetime:
  10701. description: 更新时间
  10702. type: string
  10703. userid:
  10704. description: 更新用户ID
  10705. type: integer
  10706. required:
  10707. - paramcode
  10708. type: object
  10709. models.Szdz3convertconfig:
  10710. properties:
  10711. canin:
  10712. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  10713. type: integer
  10714. canout:
  10715. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  10716. type: integer
  10717. converttype:
  10718. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  10719. 6:交易转花生米(不设置)
  10720. type: integer
  10721. createtime:
  10722. description: 创建时间
  10723. type: string
  10724. creatorid:
  10725. description: 创建人
  10726. type: integer
  10727. daymaxvalue:
  10728. description: 当日最大转入限制
  10729. type: number
  10730. freezedays:
  10731. description: 冻结天数 [5:花生米转交易]
  10732. type: integer
  10733. innergoodsid:
  10734. description: 内部商品ID[交易]
  10735. type: integer
  10736. inratio:
  10737. description: 目标值
  10738. type: integer
  10739. modifierid:
  10740. description: 修改人
  10741. type: integer
  10742. modifytime:
  10743. description: 修改时间
  10744. type: string
  10745. outergoodscode:
  10746. description: 外部商品代码[JD\PD]
  10747. type: string
  10748. outratio:
  10749. description: 源值
  10750. type: integer
  10751. pddecimalplace:
  10752. description: PD小数位
  10753. type: integer
  10754. timemaxvalue:
  10755. description: 单次最大转入限制
  10756. type: number
  10757. timeminvalue:
  10758. description: 单次最小转入限制
  10759. type: number
  10760. required:
  10761. - converttype
  10762. - innergoodsid
  10763. - outergoodscode
  10764. type: object
  10765. models.Szdz3searchwhitelist:
  10766. properties:
  10767. createtime:
  10768. description: 创建时间
  10769. type: string
  10770. creatorid:
  10771. description: 创建人
  10772. type: integer
  10773. modifierid:
  10774. description: 修改人
  10775. type: integer
  10776. modifytime:
  10777. description: 修改时间
  10778. type: string
  10779. userid:
  10780. description: 用户ID
  10781. type: integer
  10782. required:
  10783. - userid
  10784. type: object
  10785. models.Taaccount:
  10786. properties:
  10787. accountflag:
  10788. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  10789. type: integer
  10790. accountid:
  10791. description: 资金账户ID
  10792. type: integer
  10793. accountname:
  10794. description: 账户名称
  10795. type: string
  10796. balance:
  10797. description: 期初余额
  10798. type: number
  10799. capitalbalance:
  10800. description: 本金余额[外部子账户实际出入金余额]
  10801. type: number
  10802. changeflag:
  10803. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  10804. type: integer
  10805. changetime:
  10806. description: 账户状态变更时间
  10807. type: string
  10808. closepl:
  10809. description: 今日平仓盈亏
  10810. type: number
  10811. creditdecrease:
  10812. description: 今日授信减少
  10813. type: number
  10814. creditincrease:
  10815. description: 今日授信增加
  10816. type: number
  10817. currencyid:
  10818. description: 货币ID
  10819. type: integer
  10820. currentbalance:
  10821. description: 期末余额
  10822. type: number
  10823. freezecharge:
  10824. description: 手续费冻结
  10825. type: number
  10826. freezemargin:
  10827. description: 冻结保证金
  10828. type: number
  10829. fromaccountid:
  10830. description: 所属上级账户
  10831. type: integer
  10832. inamount:
  10833. description: 今日入金金额(包括三方入金)
  10834. type: number
  10835. ismain:
  10836. description: 是否母账号 0:不是母账户 1:是母账户
  10837. type: integer
  10838. ismarketaccount:
  10839. description: 是否机构接单账号 0:不是 1:是
  10840. type: integer
  10841. isreckonaccount:
  10842. description: 是否机构分润账号 0:不是 1:是
  10843. type: integer
  10844. mortgagecredit:
  10845. description: 授信金额
  10846. type: number
  10847. orifreezecharge:
  10848. description: 期初手续费冻结
  10849. type: number
  10850. orifreezemargin:
  10851. description: 期初冻结保证金
  10852. type: number
  10853. orimortgagecredit:
  10854. description: 期初授信金额
  10855. type: number
  10856. oriothercredit:
  10857. description: 期初其它授信金额
  10858. type: number
  10859. oriotherfreezemargin:
  10860. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  10861. type: number
  10862. orioutamountfreeze:
  10863. description: 期初出金冻结
  10864. type: number
  10865. oriusedmargin:
  10866. description: 期初占用保证金
  10867. type: number
  10868. othercredit:
  10869. description: 其它授信金额
  10870. type: number
  10871. othercreditdecrease:
  10872. description: 今日其它授信减少
  10873. type: number
  10874. othercreditincrease:
  10875. description: 今日其它授信增加
  10876. type: number
  10877. otherfreezemargin:
  10878. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  10879. type: number
  10880. otherincome:
  10881. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  10882. type: number
  10883. otherpay:
  10884. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  10885. type: number
  10886. outamount:
  10887. description: 今日出金金额(包括三方出金)
  10888. type: number
  10889. outamountfreeze:
  10890. description: 出金冻结
  10891. type: number
  10892. outthreshold:
  10893. description: 出金阈值
  10894. type: number
  10895. parentaccountid:
  10896. description: 所属根账号
  10897. type: integer
  10898. paycharge:
  10899. description: 今日手续费支出
  10900. type: number
  10901. relatedaccountstatus:
  10902. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  10903. type: integer
  10904. relateduserid:
  10905. description: 关联用户
  10906. type: integer
  10907. serivcegroup:
  10908. description: 服务分组
  10909. type: integer
  10910. signstatus:
  10911. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  10912. type: integer
  10913. sublevelpath:
  10914. description: 账号层级路径(逗号分隔,首尾加逗号)
  10915. type: string
  10916. taaccounttype:
  10917. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  10918. type: integer
  10919. thirdinamount:
  10920. description: 今日三方入金
  10921. type: number
  10922. thirdoutamount:
  10923. description: 今日三方出金
  10924. type: number
  10925. tradestatus:
  10926. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  10927. type: integer
  10928. tradestatuschangetime:
  10929. description: 激活时间
  10930. type: string
  10931. transferamount:
  10932. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  10933. type: number
  10934. usedmargin:
  10935. description: 占用保证金
  10936. type: number
  10937. userid:
  10938. description: 用户ID
  10939. type: integer
  10940. required:
  10941. - accountid
  10942. - userid
  10943. type: object
  10944. models.Tablecolumnconfig:
  10945. properties:
  10946. aligntype:
  10947. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  10948. type: integer
  10949. autoid:
  10950. description: AutoID
  10951. type: integer
  10952. columnfield:
  10953. description: 列字段
  10954. type: string
  10955. columntitle:
  10956. description: 列Title
  10957. type: string
  10958. columnwidth:
  10959. description: 列宽
  10960. type: string
  10961. formatterstring:
  10962. description: 格式化字符
  10963. type: string
  10964. formattertype:
  10965. description: 格式化类型
  10966. type: string
  10967. groupname:
  10968. description: 表头分组名称
  10969. type: string
  10970. isshow:
  10971. description: 是否显示 - 0:不显示 1:显示
  10972. type: integer
  10973. needsummary:
  10974. description: 是否需要汇总 - 0:不需要 1:需要
  10975. type: integer
  10976. orderindex:
  10977. description: 顺序
  10978. type: integer
  10979. remark:
  10980. description: 备注
  10981. type: string
  10982. summarytype:
  10983. description: 汇总类型 - 1:加总 2:最后一个
  10984. type: integer
  10985. tablekey:
  10986. description: 列表Key
  10987. type: string
  10988. required:
  10989. - autoid
  10990. type: object
  10991. models.UserCollectConfig:
  10992. properties:
  10993. accountstatus:
  10994. description: 账户状态 - 1:正常 2:停用 3:注销
  10995. type: integer
  10996. collectaccountname:
  10997. description: 收款人账户名称
  10998. type: string
  10999. collectaccountno:
  11000. description: 收款人账户
  11001. type: string
  11002. collectbankname:
  11003. description: 收款人开户行
  11004. type: string
  11005. collectbranchbankname:
  11006. description: 收款人开户支行
  11007. type: string
  11008. collectconfigid:
  11009. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  11010. type: string
  11011. remark:
  11012. description: 备注
  11013. type: string
  11014. userid:
  11015. description: 收款人用户ID
  11016. type: integer
  11017. type: object
  11018. models.UserReceiveInfo:
  11019. properties:
  11020. address:
  11021. description: 提货人详细地址
  11022. type: string
  11023. autoid:
  11024. description: AutoID
  11025. type: integer
  11026. cardnum:
  11027. description: 证件号码(加密存储)
  11028. type: string
  11029. cardtypeid:
  11030. description: 证件类型
  11031. type: integer
  11032. cityid:
  11033. description: 市
  11034. type: integer
  11035. cityname:
  11036. description: 城市名称
  11037. type: string
  11038. countryid:
  11039. description: 国家
  11040. type: integer
  11041. countryname:
  11042. description: 国家名称
  11043. type: string
  11044. districtid:
  11045. description: 地区
  11046. type: integer
  11047. districtname:
  11048. description: 地区名称
  11049. type: string
  11050. hasencrypt:
  11051. description: 数据是否已加密 - 0:未加密 1:已加密
  11052. type: integer
  11053. isdefault:
  11054. description: 是否默认地址 - 0:否 1:是
  11055. type: integer
  11056. phonenum:
  11057. description: 提货人联系方式(加密存储)
  11058. type: string
  11059. provinceid:
  11060. description: 省
  11061. type: integer
  11062. provincename:
  11063. description: 省名称
  11064. type: string
  11065. receivername:
  11066. description: 提货人姓名
  11067. type: string
  11068. takeremark:
  11069. description: 提货备注
  11070. type: string
  11071. userid:
  11072. description: 用户ID
  11073. type: integer
  11074. type: object
  11075. models.Useraccount:
  11076. properties:
  11077. accountname:
  11078. description: 账户名称(机构名称)
  11079. type: string
  11080. accountstatus:
  11081. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  11082. type: integer
  11083. applysrc:
  11084. description: 申请来源 - 1:管理端 2:终端
  11085. type: integer
  11086. auditremark:
  11087. description: 审核备注
  11088. type: string
  11089. auditsrc:
  11090. description: 审核来源 - 1:管理端 2:终端
  11091. type: integer
  11092. audittime:
  11093. description: 审核时间
  11094. type: string
  11095. audituserid:
  11096. description: 审核人
  11097. type: integer
  11098. broker:
  11099. description: 所属经纪人ID
  11100. type: integer
  11101. canceltime:
  11102. description: 销户时间
  11103. type: string
  11104. canceluserid:
  11105. description: 销户人
  11106. type: integer
  11107. canrecommend:
  11108. description: 是否可推荐 - 0:不可 1;可
  11109. type: integer
  11110. createtime:
  11111. description: 创建时间
  11112. type: string
  11113. creatorid:
  11114. description: 创建人
  11115. type: integer
  11116. hasauth:
  11117. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  11118. type: integer
  11119. isanonymous:
  11120. description: 是否匿名下单 - 0:否 1:是
  11121. type: integer
  11122. maxinvestornum:
  11123. description: 最大用户数(经纪会员下投资者个数)
  11124. type: integer
  11125. memberuserid:
  11126. description: 所属会员ID
  11127. type: integer
  11128. modifierid:
  11129. description: 修改人
  11130. type: integer
  11131. modifyremark:
  11132. description: 变更备注
  11133. type: string
  11134. modifystatus:
  11135. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  11136. type: integer
  11137. modifytime:
  11138. description: 修改时间
  11139. type: string
  11140. parenttopuser:
  11141. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  11142. type: string
  11143. parentuserid:
  11144. description: 所属机构ID
  11145. type: integer
  11146. reckonaccountid:
  11147. description: 默认结算资金账号ID(机构分润使用) 作废
  11148. type: integer
  11149. refercount:
  11150. description: 推荐总人数
  11151. type: integer
  11152. refereeuserid:
  11153. description: 推荐人ID
  11154. type: integer
  11155. refernum:
  11156. description: 推荐码
  11157. type: string
  11158. rootuserid:
  11159. description: 根用户ID
  11160. type: integer
  11161. subaccountlevel:
  11162. description: 子账户层数
  11163. type: integer
  11164. subarealevelpath:
  11165. description: 子机构层级路径(逗号分隔,首尾加逗号)
  11166. type: string
  11167. userid:
  11168. description: 用户ID
  11169. type: integer
  11170. usertype:
  11171. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  11172. type: integer
  11173. required:
  11174. - userid
  11175. type: object
  11176. models.Userfavoritegoods:
  11177. properties:
  11178. goodsid:
  11179. description: 商品ID
  11180. type: integer
  11181. required:
  11182. - goodsid
  11183. type: object
  11184. models.Userinfo:
  11185. properties:
  11186. address:
  11187. description: 地址
  11188. type: string
  11189. attachment1:
  11190. description: 附件1
  11191. type: string
  11192. attachment2:
  11193. description: 附件2
  11194. type: string
  11195. bankaccount:
  11196. description: 银行帐号 (加密存储)
  11197. type: string
  11198. bankaccountname:
  11199. description: 收款人名称
  11200. type: string
  11201. bankcardfrontphotourl:
  11202. description: 银行卡正面照地址
  11203. type: string
  11204. bankid:
  11205. description: 银行编码
  11206. type: string
  11207. bankname:
  11208. description: 银行名称
  11209. type: string
  11210. biznature:
  11211. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  11212. type: integer
  11213. bizscope:
  11214. description: 企业经营范围(企业)
  11215. type: string
  11216. cardbackphotourl:
  11217. description: 证件背面图片地址
  11218. type: string
  11219. cardfrontphotourl:
  11220. description: 证件正面图片地址
  11221. type: string
  11222. cardnum:
  11223. description: 证件号码(加密存储)
  11224. type: string
  11225. cardtypeid:
  11226. description: 证件类型ID
  11227. type: integer
  11228. cityid:
  11229. description: 市
  11230. type: integer
  11231. company:
  11232. description: 公司(个人)
  11233. type: string
  11234. contactname:
  11235. description: 联系人
  11236. type: string
  11237. countryid:
  11238. description: 国家
  11239. type: integer
  11240. createtime:
  11241. description: 创建时间
  11242. type: string
  11243. creatorid:
  11244. description: 创建人
  11245. type: integer
  11246. customername:
  11247. description: 客户名称(企业名称)
  11248. type: string
  11249. districtid:
  11250. description: 地区
  11251. type: integer
  11252. email:
  11253. description: 邮件(加密存储)
  11254. type: string
  11255. fax:
  11256. description: 传真(加密存储)
  11257. type: string
  11258. halfbodyphotourl:
  11259. description: 半身照地址
  11260. type: string
  11261. hasencrypt:
  11262. description: 数据是否已加密 - 0:未加密 1:已加密
  11263. type: integer
  11264. headurl:
  11265. description: 头像地址
  11266. type: string
  11267. legalcardbackphotourl:
  11268. description: 法人身份证背面照地址
  11269. type: string
  11270. legalcardfrontphotourl:
  11271. description: 法人身份证正面照地址
  11272. type: string
  11273. legalpersonname:
  11274. description: 法人姓名(企业)
  11275. type: string
  11276. mobile:
  11277. description: 手机号码(加密存储)
  11278. type: string
  11279. mobile2:
  11280. description: 手机号码[明文-尚志]
  11281. type: string
  11282. modifierid:
  11283. description: 修改人
  11284. type: integer
  11285. modifiertime:
  11286. description: 修改时间
  11287. type: string
  11288. needinvoice:
  11289. description: 是否需要发票 - 0:不需要 1:需要
  11290. type: integer
  11291. nickname:
  11292. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  11293. type: string
  11294. openmode:
  11295. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  11296. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  11297. type: integer
  11298. otherurl:
  11299. description: 其它图片地址[使用分号分隔]
  11300. type: string
  11301. postalcode:
  11302. description: 邮政编码
  11303. type: string
  11304. provinceid:
  11305. description: 省
  11306. type: integer
  11307. qq:
  11308. description: QQ(加密存储
  11309. type: string
  11310. remark:
  11311. description: 备注
  11312. type: string
  11313. sex:
  11314. description: '用户性别 0: 女 1: 男'
  11315. type: integer
  11316. signpdfurl:
  11317. description: 签约pdf文件
  11318. type: string
  11319. telphone:
  11320. description: 联系电话(加密存储)
  11321. type: string
  11322. userid:
  11323. description: 用户ID
  11324. type: integer
  11325. userinfotype:
  11326. description: 用户信息类型 - 1:个人 2:企业
  11327. type: integer
  11328. userstatus:
  11329. description: 用户状态 - 1:正常 2:注销
  11330. type: integer
  11331. usertype:
  11332. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  11333. type: integer
  11334. wechat:
  11335. description: 微信(加密存储)
  11336. type: string
  11337. wskhinfo:
  11338. description: 开户申请信息(JSON)
  11339. type: string
  11340. required:
  11341. - userid
  11342. type: object
  11343. models.WRSConverTDetail:
  11344. properties:
  11345. convertratio:
  11346. description: 套保系数
  11347. type: number
  11348. deliverygoodscode:
  11349. description: 现货商品代码
  11350. type: string
  11351. deliverygoodsid:
  11352. description: 现货品种ID
  11353. type: integer
  11354. deliverygoodsname:
  11355. description: 现货商品名称
  11356. type: string
  11357. enumdicname:
  11358. description: 单位名称
  11359. type: string
  11360. goodsunitid:
  11361. description: 套保品种单位id
  11362. type: integer
  11363. middlegoodscode:
  11364. description: 套保品种代码
  11365. type: string
  11366. middlegoodsid:
  11367. description: 套保品种ID
  11368. type: integer
  11369. middlegoodsname:
  11370. description: 套保品种名称
  11371. type: string
  11372. modifytime:
  11373. description: 修改时间
  11374. type: string
  11375. wrstandardid:
  11376. description: 品类ID
  11377. type: integer
  11378. type: object
  11379. models.WRStandardInfo:
  11380. properties:
  11381. areauserid:
  11382. description: 所属机构
  11383. type: integer
  11384. convertfactor:
  11385. description: 标仓系数
  11386. type: number
  11387. createtime:
  11388. description: 创建时间
  11389. type: string
  11390. creatorid:
  11391. description: 创建人
  11392. type: integer
  11393. deliverygoodsid:
  11394. description: 品种ID
  11395. type: integer
  11396. deliverygoodsname:
  11397. description: 交割商品名称
  11398. type: string
  11399. factoryitemjson:
  11400. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  11401. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  11402. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  11403. 逗号分隔'
  11404. type: string
  11405. isvalid:
  11406. description: 是否有效 - 0:无效 1:有效
  11407. type: integer
  11408. minivalue:
  11409. description: 最小变动值
  11410. type: integer
  11411. minivaluedp:
  11412. description: 最小变动值小数位
  11413. type: integer
  11414. realminivalue:
  11415. description: 实际最小变动值
  11416. type: integer
  11417. realminivaluedp:
  11418. description: 实际最小变动值小数位
  11419. type: integer
  11420. remark:
  11421. description: 备注
  11422. type: string
  11423. unitid:
  11424. description: 单位ID
  11425. type: integer
  11426. unitname:
  11427. description: 单位
  11428. type: string
  11429. updatetime:
  11430. description: 更新时间
  11431. type: string
  11432. updatorid:
  11433. description: 更新人
  11434. type: integer
  11435. wrsstatus:
  11436. description: 状态 - 作废 - 0:未激活 1:正常
  11437. type: integer
  11438. wrstandardcode:
  11439. description: 现货品类代码
  11440. type: string
  11441. wrstandardid:
  11442. description: 现货品类ID(SEQ_WRSTANDARD)
  11443. type: integer
  11444. wrstandardname:
  11445. description: 现货品类名称
  11446. type: string
  11447. required:
  11448. - wrstandardid
  11449. type: object
  11450. models.Warehouseinfo:
  11451. properties:
  11452. address:
  11453. description: 详细地址
  11454. type: string
  11455. areauserid:
  11456. description: 所属机构
  11457. type: integer
  11458. autoid:
  11459. description: 自增ID
  11460. type: integer
  11461. cityid:
  11462. description: 市
  11463. type: integer
  11464. contactname:
  11465. description: 联系人
  11466. type: string
  11467. contactnum:
  11468. description: 联系电话
  11469. type: string
  11470. countryid:
  11471. description: 国家
  11472. type: integer
  11473. createtime:
  11474. description: 创建时间
  11475. type: string
  11476. districtid:
  11477. description: 区
  11478. type: integer
  11479. hasvideo:
  11480. description: 是否有视频 - 0:无 1:有
  11481. type: integer
  11482. provinceid:
  11483. description: 省
  11484. type: integer
  11485. remark:
  11486. description: 审核备注
  11487. type: string
  11488. videourl:
  11489. description: 视频地址
  11490. type: string
  11491. warehousecode:
  11492. description: 仓库代码
  11493. type: string
  11494. warehousename:
  11495. description: 仓库名称
  11496. type: string
  11497. warehousestatus:
  11498. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  11499. type: integer
  11500. warehousetype:
  11501. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  11502. type: integer
  11503. required:
  11504. - autoid
  11505. - warehousecode
  11506. type: object
  11507. order.QueryHisTradeDetailRsp:
  11508. properties:
  11509. accountid:
  11510. description: 账户ID[报价币种]
  11511. type: integer
  11512. buildtype:
  11513. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  11514. type: integer
  11515. buyorsell:
  11516. description: 方向 - 0:买 1:卖
  11517. type: integer
  11518. charge:
  11519. description: 手续费
  11520. type: number
  11521. closecharge:
  11522. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  11523. type: number
  11524. closeexchagechargevalue:
  11525. description: 平仓交易所手续费设置值
  11526. type: number
  11527. closefeealgorithm:
  11528. description: 平仓手续费收取方式 1:比率 2:固定
  11529. type: integer
  11530. closememberchargevalue:
  11531. description: 平仓会员手续费设置值
  11532. type: number
  11533. closepl:
  11534. description: 平仓盈亏
  11535. type: number
  11536. closepl2:
  11537. description: 平仓盈亏[逐笔]
  11538. type: number
  11539. closeqty:
  11540. description: 平仓数量(先建后平操作 需要记录)
  11541. type: integer
  11542. creditamount:
  11543. description: 授信金额
  11544. type: number
  11545. gcaccountid:
  11546. description: 账户ID[合约币种]
  11547. type: integer
  11548. goodscode:
  11549. description: 商品代码
  11550. type: string
  11551. goodsid:
  11552. description: 商品ID
  11553. type: integer
  11554. goodsname:
  11555. description: 商品名称
  11556. type: string
  11557. histradedate:
  11558. description: 历史交易日
  11559. type: string
  11560. intclosepl:
  11561. description: 整型盈亏(用于交易结算试算平衡-收益权)
  11562. type: integer
  11563. isconfirmexercise:
  11564. description: 是否确认行权- 0:否 1:是
  11565. type: integer
  11566. ismain:
  11567. description: 是否主单 - 0:不是 1:是
  11568. type: integer
  11569. ispreexercise:
  11570. description: 是否预申报- 0:否 1:是
  11571. type: integer
  11572. isreckoned:
  11573. description: 是否结算 - 0:未结算 1:已结算
  11574. type: integer
  11575. isvaliddata:
  11576. description: 是否有效 - 0:无效 1:有效
  11577. type: integer
  11578. listingselecttype:
  11579. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  11580. type: integer
  11581. marketid:
  11582. description: 市场ID
  11583. type: integer
  11584. marketname:
  11585. description: 市场名称
  11586. type: string
  11587. matchaccountid:
  11588. description: 对手账号id
  11589. type: integer
  11590. memberuserid:
  11591. description: 会员id 个人投资者 需要填写
  11592. type: integer
  11593. opencharge:
  11594. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  11595. type: number
  11596. openexchagechargevalue:
  11597. description: 建仓交易所手续费设置值
  11598. type: number
  11599. openfeealgorithm:
  11600. description: 建仓手续费收取方式 1:比率 2:固定
  11601. type: integer
  11602. openmemberchargevalue:
  11603. description: 建仓会员手续费设置值
  11604. type: number
  11605. openqty:
  11606. description: 开仓数量(先建后平操作 需要记录)
  11607. type: integer
  11608. optiontype:
  11609. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  11610. type: integer
  11611. orderid:
  11612. description: 委托单号
  11613. type: string
  11614. performanceplanid:
  11615. description: 履约计划ID[期权]
  11616. type: integer
  11617. performancestatus:
  11618. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  11619. type: integer
  11620. preexerciseprice:
  11621. description: 预申报价格
  11622. type: number
  11623. premium:
  11624. description: 权利金 - [持仓单的权利金]
  11625. type: number
  11626. relatedouttradeid:
  11627. description: 关联外部成交单ID
  11628. type: integer
  11629. status:
  11630. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  11631. type: integer
  11632. tradeamount:
  11633. description: 成交金额[账户币种,用于所有权]
  11634. type: number
  11635. tradedate:
  11636. description: 交易日(yyyyMMdd)
  11637. type: string
  11638. tradeid:
  11639. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11640. type: string
  11641. trademode:
  11642. description: 交易模式
  11643. type: integer
  11644. tradeprice:
  11645. description: 成交价格
  11646. type: number
  11647. tradeproperty:
  11648. description: 交易属性
  11649. type: integer
  11650. tradeqty:
  11651. description: 成交数量
  11652. type: integer
  11653. tradetime:
  11654. description: 成交时间
  11655. type: string
  11656. tradetype:
  11657. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  11658. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  11659. type: integer
  11660. required:
  11661. - accountid
  11662. - buyorsell
  11663. - goodsid
  11664. - histradedate
  11665. - marketid
  11666. - memberuserid
  11667. - orderid
  11668. - tradeamount
  11669. - tradedate
  11670. - tradeid
  11671. - tradeprice
  11672. - tradeqty
  11673. - tradetime
  11674. type: object
  11675. order.QueryHisTradeOrderDetailRsp:
  11676. properties:
  11677. accountid:
  11678. description: 账户ID[报价币种]
  11679. type: integer
  11680. buildtype:
  11681. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  11682. type: integer
  11683. buyorsell:
  11684. description: 买卖 - 0:买 1:卖
  11685. type: integer
  11686. cancelorderid:
  11687. description: 撤单单号(撤单时填写)
  11688. type: string
  11689. cancelqty:
  11690. description: 撤单数量
  11691. type: integer
  11692. clientordertime:
  11693. description: 客户端委托时间
  11694. type: string
  11695. clientticket:
  11696. description: 客户端流水号
  11697. type: string
  11698. clienttype:
  11699. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  11700. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  11701. type: integer
  11702. closeexchagechargevalue:
  11703. description: 平仓交易所手续费设置值
  11704. type: number
  11705. closefeealgorithm:
  11706. description: 平仓手续费收取方式 1:比率 2:固定
  11707. type: integer
  11708. closefreezecharge:
  11709. description: 平仓冻结手续费(先建后平操作,需要记录)
  11710. type: number
  11711. closememberchargevalue:
  11712. description: 平仓会员手续费设置值
  11713. type: number
  11714. closeqty:
  11715. description: 平仓数量(先建后平操作 需要记录)
  11716. type: integer
  11717. closetradeqty:
  11718. description: 平仓成交数量(先建后平操作,需要记录)
  11719. type: integer
  11720. closeunfreezecharge:
  11721. description: 平仓解冻手续费(先建后平操作,需要记录)
  11722. type: number
  11723. delistingtype:
  11724. description: 摘牌类型 - 1:价格最优 2:点选成交
  11725. type: integer
  11726. freezecharge:
  11727. description: 冻结手续费
  11728. type: number
  11729. freezemargin:
  11730. description: 冻结保证金(冻结交易金额)
  11731. type: number
  11732. gcaccountid:
  11733. description: 账户ID[合约币种]
  11734. type: integer
  11735. goodscode:
  11736. description: 商品代码
  11737. type: string
  11738. goodsid:
  11739. description: 商品ID
  11740. type: integer
  11741. goodsname:
  11742. description: 商品名称
  11743. type: string
  11744. histradedate:
  11745. description: 历史交易日
  11746. type: string
  11747. isconfirmexercise:
  11748. description: 是否确认行权- 0:否 1:是
  11749. type: integer
  11750. ispreexercise:
  11751. description: 是否预申报- 0:否 1:是
  11752. type: integer
  11753. isvaliddata:
  11754. description: 是否有效 - 0:无效 1:有效
  11755. type: integer
  11756. listingselecttype:
  11757. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  11758. type: integer
  11759. marginalgorithm:
  11760. description: 保证金收取方式 1:比率 2:固定
  11761. type: integer
  11762. marginvalue:
  11763. description: 即市保证金设置值
  11764. type: number
  11765. marketid:
  11766. description: 市场ID
  11767. type: integer
  11768. marketmaxsub:
  11769. description: 市价最大偏移范围
  11770. type: number
  11771. marketname:
  11772. description: 市场名称
  11773. type: string
  11774. memberuserid:
  11775. description: 所属会员UserID
  11776. type: integer
  11777. openexchagechargevalue:
  11778. description: 建仓交易所手续费设置值
  11779. type: number
  11780. openfeealgorithm:
  11781. description: 建仓手续费收取方式 1:比率 2:固定
  11782. type: integer
  11783. openfreezecharge:
  11784. description: 开仓冻结手续费(先建后平操作,需要记录)
  11785. type: number
  11786. openmemberchargevalue:
  11787. description: 建仓会员手续费设置值
  11788. type: number
  11789. openqty:
  11790. description: 开仓数量(先建后平操作,需要记录)
  11791. type: integer
  11792. opentradeqty:
  11793. description: 开仓成交数量(先建后平操作,需要记录)
  11794. type: integer
  11795. openunfreezecharge:
  11796. description: 开仓解冻手续费(先建后平操作,需要记录)
  11797. type: number
  11798. operatetype:
  11799. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  11800. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  11801. 15:管理端协议转让
  11802. type: integer
  11803. operatorid:
  11804. description: 登录账号(LoginID)
  11805. type: integer
  11806. optiontype:
  11807. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  11808. type: integer
  11809. orderid:
  11810. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11811. type: string
  11812. orderprice:
  11813. description: 委托价格
  11814. type: number
  11815. orderqty:
  11816. description: 委托数量
  11817. type: integer
  11818. ordersrc:
  11819. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  11820. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  11821. type: integer
  11822. orderstatus:
  11823. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  11824. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  11825. 16:成交失败违约(荷兰式竞拍专用)
  11826. type: integer
  11827. ordertime:
  11828. description: 委托时间
  11829. type: string
  11830. preexerciseprice:
  11831. description: 预申报价格
  11832. type: number
  11833. premium:
  11834. description: 权利金
  11835. type: number
  11836. preorderid:
  11837. description: 关联预埋单号(止盈止损单时填写)
  11838. type: string
  11839. pricemode:
  11840. description: '取价方式 - 1:市价 2: 限价'
  11841. type: integer
  11842. quoteid:
  11843. description: 报价单ID
  11844. type: integer
  11845. relatedid:
  11846. description: 关联单号(交割单)
  11847. type: string
  11848. retcode:
  11849. description: 错误代码
  11850. type: integer
  11851. sessionid:
  11852. description: 会话ID
  11853. type: integer
  11854. tradedate:
  11855. description: 交易日(yyyyMMdd)
  11856. type: string
  11857. trademode:
  11858. description: 交易模式
  11859. type: integer
  11860. tradeproperty:
  11861. description: 交易属性
  11862. type: integer
  11863. tradeqty:
  11864. description: 成交数量
  11865. type: integer
  11866. unfreezecharge:
  11867. description: 解冻手续费
  11868. type: number
  11869. unfreezemargin:
  11870. description: 解冻保证金
  11871. type: number
  11872. updatetime:
  11873. description: 更新时间
  11874. type: string
  11875. uuid:
  11876. description: 发起端唯一id
  11877. type: string
  11878. validtime:
  11879. description: 有效期限
  11880. type: string
  11881. validtype:
  11882. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  11883. type: integer
  11884. volumetype:
  11885. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  11886. type: integer
  11887. required:
  11888. - accountid
  11889. - buildtype
  11890. - buyorsell
  11891. - goodsid
  11892. - histradedate
  11893. - marketid
  11894. - memberuserid
  11895. - operatetype
  11896. - orderid
  11897. - orderqty
  11898. - ordertime
  11899. - pricemode
  11900. - tradedate
  11901. - validtype
  11902. type: object
  11903. order.QueryTradeDetailRsp:
  11904. properties:
  11905. accountid:
  11906. description: 账户ID[报价币种]
  11907. type: integer
  11908. buildtype:
  11909. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  11910. type: integer
  11911. buyorsell:
  11912. description: 方向 - 0:买 1:卖
  11913. type: integer
  11914. charge:
  11915. description: 手续费
  11916. type: number
  11917. closecharge:
  11918. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  11919. type: number
  11920. closeexchagechargevalue:
  11921. description: 平仓交易所手续费设置值
  11922. type: number
  11923. closefeealgorithm:
  11924. description: 平仓手续费收取方式 1:比率 2:固定
  11925. type: integer
  11926. closememberchargevalue:
  11927. description: 平仓会员手续费设置值
  11928. type: number
  11929. closepl:
  11930. description: 平仓盈亏
  11931. type: number
  11932. closepl2:
  11933. description: 平仓盈亏[逐笔]
  11934. type: number
  11935. closeqty:
  11936. description: 平仓数量(先建后平操作 需要记录)
  11937. type: integer
  11938. creditamount:
  11939. description: 授信金额
  11940. type: number
  11941. gcaccountid:
  11942. description: 账户ID[合约币种]
  11943. type: integer
  11944. goodscode:
  11945. description: 商品代码
  11946. type: string
  11947. goodsid:
  11948. description: 商品ID
  11949. type: integer
  11950. goodsname:
  11951. description: 商品名称
  11952. type: string
  11953. intclosepl:
  11954. description: 整型盈亏(用于交易结算试算平衡-收益权)
  11955. type: integer
  11956. isconfirmexercise:
  11957. description: 是否确认行权- 0:否 1:是
  11958. type: integer
  11959. ismain:
  11960. description: 是否主单 - 0:不是 1:是
  11961. type: integer
  11962. ispreexercise:
  11963. description: 是否预申报- 0:否 1:是
  11964. type: integer
  11965. isreckoned:
  11966. description: 是否结算 - 0:未结算 1:已结算
  11967. type: integer
  11968. listingselecttype:
  11969. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  11970. type: integer
  11971. marketid:
  11972. description: 市场ID
  11973. type: integer
  11974. marketname:
  11975. description: 市场名称
  11976. type: string
  11977. matchaccountid:
  11978. description: 对手账号id
  11979. type: integer
  11980. memberuserid:
  11981. description: 会员id 个人投资者 需要填写
  11982. type: integer
  11983. opencharge:
  11984. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  11985. type: number
  11986. openexchagechargevalue:
  11987. description: 建仓交易所手续费设置值
  11988. type: number
  11989. openfeealgorithm:
  11990. description: 建仓手续费收取方式 1:比率 2:固定
  11991. type: integer
  11992. openmemberchargevalue:
  11993. description: 建仓会员手续费设置值
  11994. type: number
  11995. openqty:
  11996. description: 开仓数量(先建后平操作 需要记录)
  11997. type: integer
  11998. optiontype:
  11999. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  12000. type: integer
  12001. orderid:
  12002. description: 委托单号
  12003. type: string
  12004. performanceplanid:
  12005. description: 履约计划ID[期权]
  12006. type: integer
  12007. performancestatus:
  12008. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  12009. type: integer
  12010. preexerciseprice:
  12011. description: 预申报价格
  12012. type: number
  12013. premium:
  12014. description: 权利金 - [持仓单的权利金]
  12015. type: number
  12016. relatedouttradeid:
  12017. description: 关联外部成交单ID
  12018. type: integer
  12019. status:
  12020. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  12021. type: integer
  12022. tradeamount:
  12023. description: 成交金额[账户币种,用于所有权]
  12024. type: number
  12025. tradedate:
  12026. description: 交易日(yyyyMMdd)
  12027. type: string
  12028. tradeid:
  12029. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12030. type: string
  12031. trademode:
  12032. description: 交易模式
  12033. type: integer
  12034. tradeprice:
  12035. description: 成交价格
  12036. type: number
  12037. tradeproperty:
  12038. description: 交易属性
  12039. type: integer
  12040. tradeqty:
  12041. description: 成交数量
  12042. type: integer
  12043. tradetime:
  12044. description: 成交时间
  12045. type: string
  12046. tradetype:
  12047. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  12048. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  12049. type: integer
  12050. required:
  12051. - accountid
  12052. - buyorsell
  12053. - goodsid
  12054. - marketid
  12055. - memberuserid
  12056. - orderid
  12057. - tradeamount
  12058. - tradedate
  12059. - tradeid
  12060. - tradeprice
  12061. - tradeqty
  12062. - tradetime
  12063. type: object
  12064. order.QueryTradeOrderDetailRsp:
  12065. properties:
  12066. accountid:
  12067. description: 账户ID[报价币种]
  12068. type: integer
  12069. buildtype:
  12070. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  12071. type: integer
  12072. buyorsell:
  12073. description: 买卖 - 0:买 1:卖
  12074. type: integer
  12075. cancelorderid:
  12076. description: 撤单单号(撤单时填写)
  12077. type: string
  12078. cancelqty:
  12079. description: 撤单数量
  12080. type: integer
  12081. clienttype:
  12082. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  12083. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  12084. type: integer
  12085. closefreezecharge:
  12086. description: 平仓冻结手续费(先建后平操作,需要记录)
  12087. type: number
  12088. closeqty:
  12089. description: 平仓数量(先建后平操作 需要记录)
  12090. type: integer
  12091. closetradeqty:
  12092. description: 平仓成交数量(先建后平操作,需要记录)
  12093. type: integer
  12094. closeunfreezecharge:
  12095. description: 平仓解冻手续费(先建后平操作,需要记录)
  12096. type: number
  12097. delistingtype:
  12098. description: 摘牌类型 - 1:价格最优 2:点选成交
  12099. type: integer
  12100. enableqty:
  12101. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  12102. type: integer
  12103. freezecharge:
  12104. description: 冻结手续费
  12105. type: number
  12106. freezemargin:
  12107. description: 冻结保证金(冻结交易金额)
  12108. type: number
  12109. goodscode:
  12110. description: 商品代码
  12111. type: string
  12112. goodsid:
  12113. description: 商品ID
  12114. type: integer
  12115. goodsname:
  12116. description: 商品名称
  12117. type: string
  12118. listingselecttype:
  12119. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  12120. type: integer
  12121. marketid:
  12122. description: 市场ID
  12123. type: integer
  12124. marketname:
  12125. description: 市场名称
  12126. type: string
  12127. openfreezecharge:
  12128. description: 开仓冻结手续费(先建后平操作,需要记录)
  12129. type: number
  12130. openqty:
  12131. description: 开仓数量(先建后平操作,需要记录)
  12132. type: integer
  12133. opentradeqty:
  12134. description: 开仓成交数量(先建后平操作,需要记录)
  12135. type: integer
  12136. openunfreezecharge:
  12137. description: 开仓解冻手续费(先建后平操作,需要记录)
  12138. type: number
  12139. operatetype:
  12140. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  12141. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  12142. 15:管理端协议转让
  12143. type: integer
  12144. operatorid:
  12145. description: 登录账号(LoginID)
  12146. type: integer
  12147. orderid:
  12148. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12149. type: string
  12150. orderprice:
  12151. description: 委托价格
  12152. type: number
  12153. orderqty:
  12154. description: 委托数量
  12155. type: integer
  12156. ordersrc:
  12157. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  12158. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  12159. type: integer
  12160. orderstatus:
  12161. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  12162. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  12163. 16:成交失败违约(荷兰式竞拍专用)
  12164. type: integer
  12165. ordertime:
  12166. description: 委托时间
  12167. type: string
  12168. preorderid:
  12169. description: 关联预埋单号(止盈止损单时填写)
  12170. type: string
  12171. pricemode:
  12172. description: '取价方式 - 1:市价 2: 限价'
  12173. type: integer
  12174. relatedid:
  12175. description: 关联单号(交割单)
  12176. type: string
  12177. tradedate:
  12178. description: 交易日(yyyyMMdd)
  12179. type: string
  12180. trademode:
  12181. description: 交易模式
  12182. type: integer
  12183. tradeqty:
  12184. description: 成交数量
  12185. type: integer
  12186. unfreezecharge:
  12187. description: 解冻手续费
  12188. type: number
  12189. unfreezemargin:
  12190. description: 解冻保证金
  12191. type: number
  12192. validtime:
  12193. description: 有效期限
  12194. type: string
  12195. validtype:
  12196. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  12197. type: integer
  12198. volumetype:
  12199. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  12200. type: integer
  12201. required:
  12202. - accountid
  12203. - buildtype
  12204. - buyorsell
  12205. - goodsid
  12206. - marketid
  12207. - operatetype
  12208. - orderqty
  12209. - ordertime
  12210. - pricemode
  12211. - tradedate
  12212. - validtype
  12213. type: object
  12214. order.QueryTradePositionRsp:
  12215. properties:
  12216. accountid:
  12217. description: 资金账户
  12218. type: integer
  12219. agreeunit:
  12220. description: 合约单位
  12221. type: number
  12222. averageprice:
  12223. description: 持仓均价
  12224. type: number
  12225. buyorsell:
  12226. description: 方向 - 0:买 1:卖
  12227. type: integer
  12228. closetotalqty:
  12229. description: 平仓总数量
  12230. type: integer
  12231. curholderamount:
  12232. description: 当前持仓总金额[商品币种]
  12233. type: number
  12234. curpositionqty:
  12235. description: 当前持仓总数量
  12236. type: integer
  12237. currencyid:
  12238. description: 报价货币ID
  12239. type: integer
  12240. curtdposition:
  12241. description: 期末今日头寸
  12242. type: integer
  12243. decimalplace:
  12244. description: 报价小数位
  12245. type: integer
  12246. enableqty:
  12247. description: 可用量
  12248. type: integer
  12249. fretdposition:
  12250. description: 冻结今日头寸
  12251. type: integer
  12252. frozenqty:
  12253. description: 持仓冻结数量
  12254. type: integer
  12255. goodscode:
  12256. description: 商品代码
  12257. type: string
  12258. goodsid:
  12259. description: 商品Id
  12260. type: integer
  12261. goodsname:
  12262. description: 商品名称
  12263. type: string
  12264. goodunit:
  12265. description: 报价单位
  12266. type: string
  12267. goodunitid:
  12268. description: 报价单位ID
  12269. type: integer
  12270. holderamount:
  12271. description: 期初持仓总金额[商品币种]
  12272. type: number
  12273. marketid:
  12274. description: 所属市场ID
  12275. type: integer
  12276. openreqqty:
  12277. description: 开仓申请数量(用于比较最大持仓数量)
  12278. type: integer
  12279. opentotalqty:
  12280. description: 开仓总数量
  12281. type: integer
  12282. otherfrozenqty:
  12283. description: 持仓其他冻结数量(交割冻结)
  12284. type: integer
  12285. positionqty:
  12286. description: 期初持仓数量
  12287. type: integer
  12288. tnqty:
  12289. description: T+N冻结总量
  12290. type: integer
  12291. tnusedqty:
  12292. description: T+N使用量(可以使用T+N的冻结数量)
  12293. type: integer
  12294. trademode:
  12295. description: 交易模式
  12296. type: integer
  12297. usedmargin:
  12298. description: 占用保证金[商品币种]
  12299. type: number
  12300. required:
  12301. - goodsid
  12302. type: object
  12303. quote.HistoryData:
  12304. properties:
  12305. c:
  12306. description: 收盘价
  12307. type: number
  12308. f:
  12309. description: 是否补充数据
  12310. type: boolean
  12311. h:
  12312. description: 最高价
  12313. type: number
  12314. hv:
  12315. description: 持仓量
  12316. type: integer
  12317. l:
  12318. description: 最低价
  12319. type: number
  12320. o:
  12321. description: 开盘价
  12322. type: number
  12323. s:
  12324. description: 结算价,日线周期(包括)以上才有
  12325. type: number
  12326. ts:
  12327. description: 时间
  12328. type: string
  12329. tt:
  12330. description: 总金额
  12331. type: number
  12332. tv:
  12333. description: 总量
  12334. type: integer
  12335. type: object
  12336. quote.HistoryTikData:
  12337. properties:
  12338. AV:
  12339. description: 卖量
  12340. type: integer
  12341. Ask:
  12342. description: 卖价
  12343. type: number
  12344. BV:
  12345. description: 买量
  12346. type: integer
  12347. Bid:
  12348. description: 买价
  12349. type: number
  12350. HI:
  12351. description: 单笔持仓
  12352. type: integer
  12353. HV:
  12354. description: 持仓量
  12355. type: integer
  12356. PE:
  12357. description: 现价
  12358. type: number
  12359. TDR:
  12360. description: 交易方向,0:买 1:卖
  12361. type: integer
  12362. TK:
  12363. description: 交易类型
  12364. type: integer
  12365. TS:
  12366. description: 行情时间文本
  12367. type: string
  12368. TT:
  12369. description: 现金额
  12370. type: number
  12371. Vol:
  12372. description: 现量
  12373. type: integer
  12374. type: object
  12375. quote.QueryQuoteDayRsp:
  12376. properties:
  12377. ask:
  12378. description: 卖1
  12379. type: number
  12380. ask2:
  12381. description: 卖2
  12382. type: number
  12383. ask3:
  12384. description: 卖3
  12385. type: number
  12386. ask4:
  12387. description: 卖4
  12388. type: number
  12389. ask5:
  12390. description: 卖5
  12391. type: number
  12392. ask6:
  12393. description: 卖6
  12394. type: number
  12395. ask7:
  12396. description: 卖7
  12397. type: number
  12398. ask8:
  12399. description: 卖8
  12400. type: number
  12401. ask9:
  12402. description: 卖9
  12403. type: number
  12404. ask10:
  12405. description: 卖10
  12406. type: number
  12407. askorderid:
  12408. description: 卖单号1
  12409. type: integer
  12410. askorderid2:
  12411. description: 卖单号2
  12412. type: integer
  12413. askorderid3:
  12414. description: 卖单号3
  12415. type: integer
  12416. askorderid4:
  12417. description: 卖单号4
  12418. type: integer
  12419. askorderid5:
  12420. description: 卖单号5
  12421. type: integer
  12422. askordervolume:
  12423. description: 卖单量1
  12424. type: integer
  12425. askordervolume2:
  12426. description: 卖单量2
  12427. type: integer
  12428. askordervolume3:
  12429. description: 卖单量3
  12430. type: integer
  12431. askordervolume4:
  12432. description: 卖单量4
  12433. type: integer
  12434. askordervolume5:
  12435. description: 卖单量5
  12436. type: integer
  12437. askordervolume6:
  12438. description: 卖单量6
  12439. type: integer
  12440. askordervolume7:
  12441. description: 卖单量7
  12442. type: integer
  12443. askordervolume8:
  12444. description: 卖单量8
  12445. type: integer
  12446. askordervolume9:
  12447. description: 卖单量9
  12448. type: integer
  12449. askordervolume10:
  12450. description: 卖单量10
  12451. type: integer
  12452. askqueueinfo:
  12453. description: 大利市卖港股用
  12454. type: string
  12455. askvolume:
  12456. description: 卖量1
  12457. type: integer
  12458. askvolume2:
  12459. description: 卖量2
  12460. type: integer
  12461. askvolume3:
  12462. description: 卖量3
  12463. type: integer
  12464. askvolume4:
  12465. description: 卖量4
  12466. type: integer
  12467. askvolume5:
  12468. description: 卖量5
  12469. type: integer
  12470. askvolume6:
  12471. description: 卖量6
  12472. type: integer
  12473. askvolume7:
  12474. description: 卖量7
  12475. type: integer
  12476. askvolume8:
  12477. description: 卖量8
  12478. type: integer
  12479. askvolume9:
  12480. description: 卖量9
  12481. type: integer
  12482. askvolume10:
  12483. description: 卖量10
  12484. type: integer
  12485. averageprice:
  12486. description: 均价
  12487. type: number
  12488. bid:
  12489. description: 买1
  12490. type: number
  12491. bid2:
  12492. description: 买2
  12493. type: number
  12494. bid3:
  12495. description: 买3
  12496. type: number
  12497. bid4:
  12498. description: 买4
  12499. type: number
  12500. bid5:
  12501. description: 买5
  12502. type: number
  12503. bid6:
  12504. description: 买6
  12505. type: number
  12506. bid7:
  12507. description: 买7
  12508. type: number
  12509. bid8:
  12510. description: 买8
  12511. type: number
  12512. bid9:
  12513. description: 买9
  12514. type: number
  12515. bid10:
  12516. description: 买10
  12517. type: number
  12518. bidorderid:
  12519. description: 买单号1
  12520. type: integer
  12521. bidorderid2:
  12522. description: 买单号2
  12523. type: integer
  12524. bidorderid3:
  12525. description: 买单号3
  12526. type: integer
  12527. bidorderid4:
  12528. description: 买单号4
  12529. type: integer
  12530. bidorderid5:
  12531. description: 买单号5
  12532. type: integer
  12533. bidordervolume:
  12534. description: 买单量1
  12535. type: integer
  12536. bidordervolume2:
  12537. description: 买单量2
  12538. type: integer
  12539. bidordervolume3:
  12540. description: 买单量3
  12541. type: integer
  12542. bidordervolume4:
  12543. description: 买单量4
  12544. type: integer
  12545. bidordervolume5:
  12546. description: 买单量5
  12547. type: integer
  12548. bidordervolume6:
  12549. description: 买单量6
  12550. type: integer
  12551. bidordervolume7:
  12552. description: 买单量7
  12553. type: integer
  12554. bidordervolume8:
  12555. description: 买单量8
  12556. type: integer
  12557. bidordervolume9:
  12558. description: 买单量9
  12559. type: integer
  12560. bidordervolume10:
  12561. description: 买单量10
  12562. type: integer
  12563. bidqueueinfo:
  12564. description: 大利市买港股用
  12565. type: string
  12566. bidvolume:
  12567. description: 买量1
  12568. type: integer
  12569. bidvolume2:
  12570. description: 买量2
  12571. type: integer
  12572. bidvolume3:
  12573. description: 买量3
  12574. type: integer
  12575. bidvolume4:
  12576. description: 买量4
  12577. type: integer
  12578. bidvolume5:
  12579. description: 买量5
  12580. type: integer
  12581. bidvolume6:
  12582. description: 买量6
  12583. type: integer
  12584. bidvolume7:
  12585. description: 买量7
  12586. type: integer
  12587. bidvolume8:
  12588. description: 买量8
  12589. type: integer
  12590. bidvolume9:
  12591. description: 买量9
  12592. type: integer
  12593. bidvolume10:
  12594. description: 买量10
  12595. type: integer
  12596. calloptionpremiums:
  12597. description: 认购期权1
  12598. type: integer
  12599. calloptionpremiums2:
  12600. description: 认购期权2
  12601. type: integer
  12602. calloptionpremiums3:
  12603. description: 认购期权3
  12604. type: integer
  12605. calloptionpremiums4:
  12606. description: 认购期权4
  12607. type: integer
  12608. calloptionpremiums5:
  12609. description: 认购期权5
  12610. type: integer
  12611. cleartime:
  12612. description: 清盘时间
  12613. type: integer
  12614. exchangecode:
  12615. description: 交易所代码
  12616. type: integer
  12617. exchangedate:
  12618. description: 交易日
  12619. type: integer
  12620. goodscode:
  12621. description: 商品代码
  12622. type: string
  12623. grepmarketprice:
  12624. description: 暗盘价 港股专用
  12625. type: number
  12626. highest:
  12627. description: 最高价
  12628. type: number
  12629. holdincrement:
  12630. description: 单笔持仓
  12631. type: integer
  12632. holdvolume:
  12633. description: 持仓
  12634. type: integer
  12635. iep:
  12636. description: 平衡价 港股专用
  12637. type: number
  12638. iev:
  12639. description: 平衡量 港股专用
  12640. type: number
  12641. inventory:
  12642. description: 库存
  12643. type: integer
  12644. iscleared:
  12645. description: 是否清盘标志
  12646. type: integer
  12647. issettled:
  12648. description: 是否结算标志
  12649. type: integer
  12650. last:
  12651. description: 最新价
  12652. type: number
  12653. lastlot:
  12654. description: 最新成交手数
  12655. type: integer
  12656. lasttime:
  12657. description: 行情时间(只有现价变化行情时间才变化)
  12658. type: string
  12659. lastturnover:
  12660. description: 最新成交金额
  12661. type: number
  12662. lastvolume:
  12663. description: 最新成交量
  12664. type: integer
  12665. limitdown:
  12666. description: 跌停价
  12667. type: number
  12668. limitup:
  12669. description: 涨停价
  12670. type: number
  12671. lowest:
  12672. description: 最低价
  12673. type: number
  12674. nontotalholdervolume:
  12675. description: 非交易持仓量
  12676. type: integer
  12677. nontotallot:
  12678. description: 非交易总手数
  12679. type: integer
  12680. nontotalturnover:
  12681. description: 非交易总金额
  12682. type: integer
  12683. nontotalvolume:
  12684. description: 非交易总量
  12685. type: integer
  12686. opened:
  12687. description: 开盘价
  12688. type: number
  12689. opentime:
  12690. description: 开盘时间
  12691. type: string
  12692. orderid:
  12693. description: 序号
  12694. type: integer
  12695. preclose:
  12696. description: 昨收
  12697. type: number
  12698. preholdvolume:
  12699. description: 昨持仓
  12700. type: integer
  12701. presettle:
  12702. description: 昨结价
  12703. type: number
  12704. publictradetype:
  12705. description: 公共交易标志类型 港股专用
  12706. type: string
  12707. putoptionpremiums:
  12708. description: 认沽期权1
  12709. type: integer
  12710. putoptionpremiums2:
  12711. description: 认沽期权2
  12712. type: integer
  12713. putoptionpremiums3:
  12714. description: 认沽期权3
  12715. type: integer
  12716. putoptionpremiums4:
  12717. description: 认沽期权4
  12718. type: integer
  12719. putoptionpremiums5:
  12720. description: 认沽期权5
  12721. type: integer
  12722. settle:
  12723. description: 结算价
  12724. type: number
  12725. strikeprice:
  12726. description: 发行价
  12727. type: number
  12728. totalaskvolume:
  12729. description: 内盘
  12730. type: integer
  12731. totalbidvolume:
  12732. description: 外盘
  12733. type: integer
  12734. totallot:
  12735. description: 总手数
  12736. type: integer
  12737. totalturnover:
  12738. description: 总金额
  12739. type: number
  12740. totalvolume:
  12741. description: 总量
  12742. type: integer
  12743. utclasttime:
  12744. description: utc的行情时间
  12745. type: string
  12746. type: object
  12747. quote.QueryTSDataRsp:
  12748. properties:
  12749. Count:
  12750. description: 交易日应有数据个数
  12751. type: integer
  12752. decimalPlace:
  12753. description: 小数位
  12754. type: integer
  12755. endTime:
  12756. description: 结束时间
  12757. type: string
  12758. goodsCode:
  12759. description: 商品代码
  12760. type: string
  12761. historyDatas:
  12762. description: 历史数据
  12763. items:
  12764. $ref: '#/definitions/quote.HistoryData'
  12765. type: array
  12766. outGoodsCode:
  12767. description: 外部商品代码
  12768. type: string
  12769. preSettle:
  12770. description: 昨结价
  12771. type: number
  12772. runSteps:
  12773. description: 交易日开休市计划
  12774. items:
  12775. $ref: '#/definitions/quote.TSDataRunStep'
  12776. type: array
  12777. startTime:
  12778. description: 开始时间
  12779. type: string
  12780. tradeDate:
  12781. description: 交易日
  12782. type: string
  12783. type: object
  12784. quote.TSDataRunStep:
  12785. properties:
  12786. end:
  12787. description: 真实结束时间
  12788. type: string
  12789. endflag:
  12790. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  12791. type: integer
  12792. endtime:
  12793. description: 结束时间(HH:mm)
  12794. type: string
  12795. endweekday:
  12796. description: 结束周几
  12797. type: integer
  12798. groupid:
  12799. description: 分组ID
  12800. type: integer
  12801. runstep:
  12802. description: 运行阶段 - 2:连续交易
  12803. type: integer
  12804. sectionid:
  12805. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  12806. 结束时间=结算时间 结束周几=结算周几
  12807. type: integer
  12808. start:
  12809. description: 真实开始时间
  12810. type: string
  12811. startflag:
  12812. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  12813. type: integer
  12814. starttime:
  12815. description: 起始时间(HH:mm)
  12816. type: string
  12817. startweekday:
  12818. description: 起始周几
  12819. type: integer
  12820. tradeweekday:
  12821. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  12822. type: integer
  12823. type: object
  12824. szdz.QueryConvertLogRsp:
  12825. properties:
  12826. accountid:
  12827. description: 资金账户ID
  12828. type: integer
  12829. clientticket:
  12830. description: 客户端流水号
  12831. type: string
  12832. converttype:
  12833. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  12834. type: integer
  12835. createtime:
  12836. description: 记账时间
  12837. type: string
  12838. daymaxvalue:
  12839. description: 配置当日最大转入限制
  12840. type: number
  12841. daymaxvalue2:
  12842. description: 配置当日最大转入限制(转入)
  12843. type: number
  12844. goodscode:
  12845. description: 商品代码
  12846. type: string
  12847. goodsname:
  12848. description: 商品名称
  12849. type: string
  12850. handlestatus:
  12851. description: 处理状态
  12852. type: integer
  12853. innergoodsid:
  12854. description: 内部商品ID
  12855. type: integer
  12856. inratio:
  12857. description: 配置转入比值
  12858. type: integer
  12859. invalue:
  12860. description: 目标值
  12861. type: number
  12862. logid:
  12863. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12864. type: integer
  12865. mobile:
  12866. description: 手机号码(加密存储)
  12867. type: string
  12868. outergoodscode:
  12869. description: 外部商品代码[JD\PD]
  12870. type: string
  12871. outratio:
  12872. description: 配置转出比值
  12873. type: integer
  12874. outvalue:
  12875. description: 源值
  12876. type: number
  12877. pddecimalplace:
  12878. description: PD小数位
  12879. type: integer
  12880. qty:
  12881. description: 数量
  12882. type: string
  12883. remark:
  12884. description: 备注
  12885. type: string
  12886. sessionid:
  12887. description: 会话ID
  12888. type: integer
  12889. timemaxvalue:
  12890. description: 配置单次最大转入限制
  12891. type: number
  12892. timemaxvalue2:
  12893. description: 配置单次最大转入限制(转入)
  12894. type: number
  12895. timeminvalue:
  12896. description: 配置单次最小数量限制
  12897. type: number
  12898. timeminvalue2:
  12899. description: 配置单次最小数量限制(转入)
  12900. type: number
  12901. tradedate:
  12902. description: 交易日(yyyyMMdd)
  12903. type: string
  12904. userid:
  12905. description: 用户ID
  12906. type: integer
  12907. required:
  12908. - logid
  12909. type: object
  12910. szdz.QueryGoodsPickupRsp:
  12911. properties:
  12912. accountid:
  12913. description: 账户ID
  12914. type: integer
  12915. address:
  12916. description: 提货人详细地址
  12917. type: string
  12918. auditer:
  12919. description: 审核人
  12920. type: integer
  12921. audittime:
  12922. description: 审核时间
  12923. type: string
  12924. cardnum:
  12925. description: 提货人证件号码
  12926. type: string
  12927. cardtypeid:
  12928. description: 提货人证件类型
  12929. type: integer
  12930. checkremark:
  12931. description: 审核备注
  12932. type: string
  12933. goodscode:
  12934. description: 商品代码
  12935. type: string
  12936. goodsid:
  12937. description: 商品ID
  12938. type: integer
  12939. goodsname:
  12940. description: 商品名称
  12941. type: string
  12942. handlestatus:
  12943. description: 处理状态
  12944. type: integer
  12945. marketid:
  12946. description: 市场ID
  12947. type: integer
  12948. phonenum:
  12949. description: 提货人联系方式
  12950. type: string
  12951. qty:
  12952. description: 提货数量
  12953. type: number
  12954. recivername:
  12955. description: 提货人姓名
  12956. type: string
  12957. reqtime:
  12958. description: 更新时间
  12959. type: string
  12960. takemode:
  12961. description: 提货方式 - 2:自提 3:配送
  12962. type: integer
  12963. takeorderid:
  12964. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  12965. type: string
  12966. takeorderstatus:
  12967. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  12968. type: integer
  12969. takeremark:
  12970. description: 提货备注
  12971. type: string
  12972. tradedate:
  12973. description: 交易日(yyyyMMdd)
  12974. type: string
  12975. userid:
  12976. description: 用户ID
  12977. type: integer
  12978. required:
  12979. - takeorderid
  12980. type: object
  12981. szdz.QueryRecieptOrderRsp:
  12982. properties:
  12983. accountName:
  12984. description: 所属账号名称(已脱敏)
  12985. type: string
  12986. accountid:
  12987. description: 资金账号
  12988. type: integer
  12989. buyorsell:
  12990. description: 方向 - 0:买 1:卖
  12991. type: integer
  12992. enableqty:
  12993. description: 可摘数量
  12994. type: integer
  12995. goodscode:
  12996. description: 商品代码
  12997. type: string
  12998. goodsid:
  12999. description: 商品ID
  13000. type: integer
  13001. goodsname:
  13002. description: 商品名称
  13003. type: string
  13004. orderid:
  13005. description: 委托单号
  13006. type: string
  13007. orderprice:
  13008. description: 委托价格
  13009. type: number
  13010. ordertime:
  13011. description: 委托时间
  13012. type: string
  13013. tradedate:
  13014. description: 交易日(yyyyMMdd)
  13015. type: string
  13016. required:
  13017. - ordertime
  13018. type: object
  13019. szdz.QuerySZDZTradePositionRsp:
  13020. properties:
  13021. accountid:
  13022. description: 账号Id
  13023. type: integer
  13024. agreeunit:
  13025. description: 合约单位
  13026. type: number
  13027. averageprice:
  13028. description: 持仓均价
  13029. type: number
  13030. buyorsell:
  13031. description: 方向 - 0:买 1:卖
  13032. type: integer
  13033. closetotalqty:
  13034. description: 平仓总数量
  13035. type: integer
  13036. curholderamount:
  13037. description: 当前持仓总金额
  13038. type: number
  13039. curpositionqty:
  13040. description: 当前持仓总数量
  13041. type: integer
  13042. currencyid:
  13043. description: 报价货币ID
  13044. type: integer
  13045. curtdposition:
  13046. description: 期末今日头寸
  13047. type: integer
  13048. decimalplace:
  13049. description: 报价小数位
  13050. type: integer
  13051. enableqty:
  13052. description: 可用量
  13053. type: integer
  13054. fretdposition:
  13055. description: 冻结今日头寸
  13056. type: integer
  13057. frozenqty:
  13058. description: 持仓冻结数量
  13059. type: integer
  13060. goodscode:
  13061. description: 商品代码(内部)
  13062. type: string
  13063. goodsid:
  13064. description: 商品Id
  13065. type: integer
  13066. goodsname:
  13067. description: 商品名称
  13068. type: string
  13069. goodunit:
  13070. description: 报价单位
  13071. type: string
  13072. goodunitid:
  13073. description: 报价单位ID
  13074. type: integer
  13075. holderamount:
  13076. description: 期初持仓总金额
  13077. type: number
  13078. marketid:
  13079. description: 市场ID
  13080. type: integer
  13081. openreqqty:
  13082. description: 开仓申请数量
  13083. type: integer
  13084. opentotalqty:
  13085. description: 开仓总数量
  13086. type: integer
  13087. otherfrozenqty:
  13088. description: 持仓其他冻结数量(交割冻结)
  13089. type: integer
  13090. positionqty:
  13091. description: 期初持仓数量
  13092. type: integer
  13093. szdz3freezqty:
  13094. description: 尚志大宗转换冻结总数量
  13095. type: integer
  13096. tnqty:
  13097. description: T+N冻结总量
  13098. type: integer
  13099. tnusedqty:
  13100. description: T+N使用量
  13101. type: integer
  13102. trademode:
  13103. description: 交易模式
  13104. type: integer
  13105. usedmargin:
  13106. description: 占用保证金
  13107. type: number
  13108. type: object
  13109. taaccount.QueryAmountLogRsp:
  13110. properties:
  13111. OPERATETYPENAME:
  13112. description: 资金操作类型名称
  13113. type: string
  13114. accountid:
  13115. description: 资金账户ID
  13116. type: integer
  13117. agoodscode:
  13118. description: 竞拍商品代码
  13119. type: string
  13120. agoodsname:
  13121. description: 竞拍商品名称
  13122. type: string
  13123. amount:
  13124. description: 资金金额
  13125. type: number
  13126. amountadjusttype:
  13127. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  13128. type: integer
  13129. autoid:
  13130. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  13131. type: integer
  13132. balance:
  13133. description: 期初余额
  13134. type: number
  13135. businesscode:
  13136. description: 业务编号
  13137. type: integer
  13138. createtime:
  13139. description: 发生时间
  13140. type: string
  13141. currencyid:
  13142. description: 币种ID
  13143. type: integer
  13144. currentbalance:
  13145. description: 期末余额(变动后金额)
  13146. type: number
  13147. dgoodscode:
  13148. description: 交割商品代码
  13149. type: string
  13150. dgoodsname:
  13151. description: 交割商品名称
  13152. type: string
  13153. goodscode:
  13154. description: 商品代码
  13155. type: string
  13156. goodsid:
  13157. description: 商品ID
  13158. type: integer
  13159. goodsname:
  13160. description: 商品名称
  13161. type: string
  13162. marketid:
  13163. description: 市场ID
  13164. type: integer
  13165. marketname:
  13166. description: 市场名称
  13167. type: string
  13168. moneyticket:
  13169. description: 资金流水号:银行端流水号
  13170. type: integer
  13171. operatetype:
  13172. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  13173. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  13174. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  13175. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  13176. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  13177. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  13178. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  13179. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  13180. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  13181. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  13182. type: integer
  13183. relationorderid:
  13184. description: 关联单号
  13185. type: string
  13186. remark:
  13187. description: 备注
  13188. type: string
  13189. trademode:
  13190. description: 交易模式
  13191. type: integer
  13192. required:
  13193. - accountid
  13194. - amount
  13195. - amountadjusttype
  13196. - autoid
  13197. - balance
  13198. - createtime
  13199. - currentbalance
  13200. - operatetype
  13201. type: object
  13202. taaccount.QueryHisAmountLogRsp:
  13203. properties:
  13204. OPERATETYPENAME:
  13205. description: 资金操作类型名称
  13206. type: string
  13207. accountid:
  13208. description: 资金账户ID
  13209. type: integer
  13210. agoodscode:
  13211. description: 竞拍商品代码
  13212. type: string
  13213. agoodsname:
  13214. description: 竞拍商品名称
  13215. type: string
  13216. amount:
  13217. description: 资金金额
  13218. type: number
  13219. amountadjusttype:
  13220. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  13221. type: integer
  13222. autoid:
  13223. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  13224. type: integer
  13225. balance:
  13226. description: 期初余额
  13227. type: number
  13228. businesscode:
  13229. description: 业务编号
  13230. type: integer
  13231. createtime:
  13232. description: 发生时间
  13233. type: string
  13234. currencyid:
  13235. description: 币种ID
  13236. type: integer
  13237. currentbalance:
  13238. description: 期末余额(变动后金额)
  13239. type: number
  13240. dgoodscode:
  13241. description: 交割商品代码
  13242. type: string
  13243. dgoodsname:
  13244. description: 交割商品名称
  13245. type: string
  13246. goodscode:
  13247. description: 商品代码
  13248. type: string
  13249. goodsid:
  13250. description: 商品ID
  13251. type: integer
  13252. goodsname:
  13253. description: 商品名称
  13254. type: string
  13255. histradedate:
  13256. description: 历史交易日
  13257. type: string
  13258. isvaliddata:
  13259. description: 是否有效 - 0:无效 1:有效
  13260. type: integer
  13261. marketid:
  13262. description: 市场ID
  13263. type: integer
  13264. marketname:
  13265. description: 市场名称
  13266. type: string
  13267. moneyticket:
  13268. description: 资金流水号:银行端流水号
  13269. type: integer
  13270. operatetype:
  13271. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  13272. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  13273. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  13274. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  13275. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  13276. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  13277. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  13278. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  13279. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  13280. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  13281. type: integer
  13282. relationorderid:
  13283. description: 关联单号
  13284. type: string
  13285. remark:
  13286. description: 备注
  13287. type: string
  13288. trademode:
  13289. description: 交易模式
  13290. type: integer
  13291. required:
  13292. - accountid
  13293. - amount
  13294. - amountadjusttype
  13295. - autoid
  13296. - balance
  13297. - createtime
  13298. - currentbalance
  13299. - histradedate
  13300. - operatetype
  13301. type: object
  13302. trade.QueryRecieptOrderRsp:
  13303. properties:
  13304. accountName:
  13305. description: 所属账号名称(已脱敏)
  13306. type: string
  13307. accountid:
  13308. description: 资金账号
  13309. type: integer
  13310. buyorsell:
  13311. description: 方向 - 0:买 1:卖
  13312. type: integer
  13313. enableqty:
  13314. description: 可摘数量
  13315. type: integer
  13316. goodscode:
  13317. description: 商品代码
  13318. type: string
  13319. goodsid:
  13320. description: 商品ID
  13321. type: integer
  13322. goodsname:
  13323. description: 商品名称
  13324. type: string
  13325. orderid:
  13326. description: 委托单号
  13327. type: string
  13328. orderprice:
  13329. description: 委托价格
  13330. type: number
  13331. ordertime:
  13332. description: 委托时间
  13333. type: string
  13334. tradedate:
  13335. description: 交易日(yyyyMMdd)
  13336. type: string
  13337. required:
  13338. - ordertime
  13339. type: object
  13340. user.LoginQueryRsp:
  13341. properties:
  13342. areaRoles:
  13343. description: 所属角色信息
  13344. items:
  13345. $ref: '#/definitions/models.Arearole'
  13346. type: array
  13347. externalExchanges:
  13348. description: 外部交易所
  13349. items:
  13350. $ref: '#/definitions/models.Externalexchange'
  13351. type: array
  13352. goodsgroups:
  13353. description: 商品组
  13354. items:
  13355. $ref: '#/definitions/models.Goodsgroup'
  13356. type: array
  13357. loginAccount:
  13358. $ref: '#/definitions/models.Loginaccount'
  13359. description: 登录账号
  13360. type: object
  13361. markets:
  13362. description: 市场
  13363. items:
  13364. $ref: '#/definitions/models.Market'
  13365. type: array
  13366. systemParams:
  13367. description: 系统参数
  13368. items:
  13369. $ref: '#/definitions/models.Systemparam'
  13370. type: array
  13371. userAccount:
  13372. $ref: '#/definitions/models.Useraccount'
  13373. description: 用户账号
  13374. type: object
  13375. userInfo:
  13376. $ref: '#/definitions/models.Userinfo'
  13377. description: 用户信息
  13378. type: object
  13379. username:
  13380. description: 用户姓名
  13381. type: string
  13382. type: object
  13383. info:
  13384. contact: {}
  13385. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  13386. license: {}
  13387. termsOfService: http://www.muchinfo.cn
  13388. title: MTP2.0 查询服务 API
  13389. version: "1.0"
  13390. paths:
  13391. /CPTrade/QueryCPTradeMyBidInfos:
  13392. get:
  13393. parameters:
  13394. - description: 资金账户
  13395. in: query
  13396. name: accountid
  13397. required: true
  13398. type: integer
  13399. - description: 预售市场ID
  13400. in: query
  13401. name: marketid
  13402. type: integer
  13403. - description: 预售商品ID
  13404. in: query
  13405. name: goodsid
  13406. type: integer
  13407. produces:
  13408. - application/json
  13409. responses:
  13410. "200":
  13411. description: OK
  13412. schema:
  13413. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  13414. "500":
  13415. description: Internal Server Error
  13416. schema:
  13417. $ref: '#/definitions/app.Response'
  13418. security:
  13419. - ApiKeyAuth: []
  13420. summary: 查询产能预售我的出价信息
  13421. tags:
  13422. - 产能预售
  13423. /CPTrade/QueryCPTradeOrderDetail:
  13424. get:
  13425. parameters:
  13426. - description: 预售商品ID
  13427. in: query
  13428. name: goodsid
  13429. type: integer
  13430. - description: 预售市场ID
  13431. in: query
  13432. name: marketid
  13433. type: integer
  13434. - description: 预售商品ID列表 - 格式:1,2,3
  13435. in: query
  13436. name: goodsids
  13437. type: string
  13438. produces:
  13439. - application/json
  13440. responses:
  13441. "200":
  13442. description: OK
  13443. schema:
  13444. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  13445. "500":
  13446. description: Internal Server Error
  13447. schema:
  13448. $ref: '#/definitions/app.Response'
  13449. security:
  13450. - ApiKeyAuth: []
  13451. summary: 查询产能预售委托单信息
  13452. tags:
  13453. - 产能预售
  13454. /CPTrade/QueryMyCPTradeGoods:
  13455. get:
  13456. parameters:
  13457. - description: 资金账户
  13458. in: query
  13459. name: accountid
  13460. required: true
  13461. type: integer
  13462. produces:
  13463. - application/json
  13464. responses:
  13465. "200":
  13466. description: OK
  13467. schema:
  13468. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  13469. "500":
  13470. description: Internal Server Error
  13471. schema:
  13472. $ref: '#/definitions/app.Response'
  13473. security:
  13474. - ApiKeyAuth: []
  13475. summary: 查询我的预售信息
  13476. tags:
  13477. - 产能预售
  13478. /CPTrade/QueryPositionCancel:
  13479. get:
  13480. parameters:
  13481. - description: 账户ID
  13482. in: query
  13483. name: userid
  13484. required: true
  13485. type: integer
  13486. - description: 注销ID
  13487. in: query
  13488. name: cancelid
  13489. type: integer
  13490. - description: 资金账户ID
  13491. in: query
  13492. name: accountid
  13493. type: integer
  13494. produces:
  13495. - application/json
  13496. responses:
  13497. "200":
  13498. description: OK
  13499. schema:
  13500. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  13501. "500":
  13502. description: Internal Server Error
  13503. schema:
  13504. $ref: '#/definitions/app.Response'
  13505. security:
  13506. - ApiKeyAuth: []
  13507. summary: 查询远期订单注销申请信息
  13508. tags:
  13509. - 产能预售
  13510. /CPTrade/QueryPreasleApply:
  13511. get:
  13512. parameters:
  13513. - description: 账户ID
  13514. in: query
  13515. name: userid
  13516. required: true
  13517. type: integer
  13518. - description: 申请ID
  13519. in: query
  13520. name: applyid
  13521. type: integer
  13522. - description: 资金账户ID
  13523. in: query
  13524. name: accountid
  13525. type: integer
  13526. produces:
  13527. - application/json
  13528. responses:
  13529. "200":
  13530. description: OK
  13531. schema:
  13532. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  13533. "500":
  13534. description: Internal Server Error
  13535. schema:
  13536. $ref: '#/definitions/app.Response'
  13537. security:
  13538. - ApiKeyAuth: []
  13539. summary: 查询产能预售申请信息
  13540. tags:
  13541. - 产能预售
  13542. /CPTrade/QueryPresaleGoodsEx:
  13543. get:
  13544. parameters:
  13545. - description: 预售商品ID
  13546. in: query
  13547. name: goodsid
  13548. type: integer
  13549. - description: 预售市场ID
  13550. in: query
  13551. name: marketid
  13552. type: integer
  13553. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  13554. in: query
  13555. name: presalemode
  13556. type: integer
  13557. - description: 预售商品ID列表 - 格式:1,2,3
  13558. in: query
  13559. name: goodsids
  13560. type: string
  13561. - description: 预售商品代码
  13562. in: query
  13563. name: goodscode
  13564. type: string
  13565. produces:
  13566. - application/json
  13567. responses:
  13568. "200":
  13569. description: OK
  13570. schema:
  13571. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  13572. "500":
  13573. description: Internal Server Error
  13574. schema:
  13575. $ref: '#/definitions/app.Response'
  13576. security:
  13577. - ApiKeyAuth: []
  13578. summary: 查询产能预售商品扩展信息
  13579. tags:
  13580. - 产能预售
  13581. /CPTrade/QueryUserGoodsData:
  13582. get:
  13583. parameters:
  13584. - description: 资金账户ID
  13585. in: query
  13586. name: accountid
  13587. required: true
  13588. type: integer
  13589. produces:
  13590. - application/json
  13591. responses:
  13592. "200":
  13593. description: OK
  13594. schema:
  13595. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  13596. "500":
  13597. description: Internal Server Error
  13598. schema:
  13599. $ref: '#/definitions/app.Response'
  13600. security:
  13601. - ApiKeyAuth: []
  13602. summary: 查询远期订单信息
  13603. tags:
  13604. - 产能预售
  13605. /Common/GetAllEnums:
  13606. get:
  13607. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  13608. parameters:
  13609. - description: 起始自增ID
  13610. in: query
  13611. name: autoid
  13612. type: integer
  13613. produces:
  13614. - application/json
  13615. responses:
  13616. "200":
  13617. description: OK
  13618. schema:
  13619. $ref: '#/definitions/models.Enumdicitem'
  13620. "500":
  13621. description: Internal Server Error
  13622. schema:
  13623. $ref: '#/definitions/app.Response'
  13624. summary: 获取所有枚举信息
  13625. tags:
  13626. - 通用服务
  13627. /Common/GetClientMenus:
  13628. get:
  13629. parameters:
  13630. - description: 登录账号
  13631. in: query
  13632. name: loginID
  13633. required: true
  13634. type: integer
  13635. - description: 终端类型,0:PC 1:Mobile
  13636. in: query
  13637. name: clientType
  13638. type: integer
  13639. produces:
  13640. - application/json
  13641. responses:
  13642. "200":
  13643. description: OK
  13644. schema:
  13645. items:
  13646. $ref: '#/definitions/common.ClientMenu'
  13647. type: array
  13648. "500":
  13649. description: Internal Server Error
  13650. schema:
  13651. $ref: '#/definitions/app.Response'
  13652. security:
  13653. - ApiKeyAuth: []
  13654. summary: 获取交易端菜单
  13655. tags:
  13656. - 通用服务
  13657. /Common/GetDivisions:
  13658. get:
  13659. produces:
  13660. - application/json
  13661. responses:
  13662. "200":
  13663. description: OK
  13664. schema:
  13665. $ref: '#/definitions/models.Division'
  13666. "500":
  13667. description: Internal Server Error
  13668. schema:
  13669. $ref: '#/definitions/app.Response'
  13670. summary: 查询区域信息
  13671. tags:
  13672. - 通用服务
  13673. /Common/GetServerTime:
  13674. get:
  13675. produces:
  13676. - application/json
  13677. responses:
  13678. "200":
  13679. description: OK
  13680. schema:
  13681. $ref: '#/definitions/app.Response'
  13682. "500":
  13683. description: Internal Server Error
  13684. schema:
  13685. $ref: '#/definitions/app.Response'
  13686. summary: 获取服务器时间
  13687. tags:
  13688. - 通用服务
  13689. /Common/NoticeReaded:
  13690. post:
  13691. parameters:
  13692. - description: 登录账号
  13693. in: query
  13694. name: loginID
  13695. required: true
  13696. type: integer
  13697. - description: 通知公告ID
  13698. in: query
  13699. name: noticeID
  13700. required: true
  13701. type: integer
  13702. produces:
  13703. - application/json
  13704. responses:
  13705. "200":
  13706. description: OK
  13707. schema:
  13708. $ref: '#/definitions/app.Response'
  13709. "500":
  13710. description: Internal Server Error
  13711. schema:
  13712. $ref: '#/definitions/app.Response'
  13713. security:
  13714. - ApiKeyAuth: []
  13715. summary: 通知公告设置已读请求
  13716. tags:
  13717. - 通用服务
  13718. /Common/QueryErrorInfos:
  13719. get:
  13720. description: 如果传入rowNumber,则返回此rowNumber后的数据
  13721. parameters:
  13722. - description: 起始行号前索引
  13723. in: query
  13724. name: rowNumber
  13725. type: string
  13726. produces:
  13727. - application/json
  13728. responses:
  13729. "200":
  13730. description: OK
  13731. schema:
  13732. $ref: '#/definitions/models.QueryErrorInfosRsp'
  13733. "500":
  13734. description: Internal Server Error
  13735. schema:
  13736. $ref: '#/definitions/app.Response'
  13737. summary: 获取数据库错误信息
  13738. tags:
  13739. - 通用服务
  13740. /Common/QueryImageConfigs:
  13741. get:
  13742. parameters:
  13743. - description: 类型 - 1:App首页轮播 2:我的
  13744. in: query
  13745. name: imageType
  13746. type: integer
  13747. produces:
  13748. - application/json
  13749. responses:
  13750. "200":
  13751. description: OK
  13752. schema:
  13753. $ref: '#/definitions/common.QueryImageConfigsRsp'
  13754. "500":
  13755. description: Internal Server Error
  13756. schema:
  13757. $ref: '#/definitions/app.Response'
  13758. summary: 查询轮播图配置信息
  13759. tags:
  13760. - 通用服务
  13761. /Common/QueryNotice:
  13762. get:
  13763. parameters:
  13764. - description: 页码
  13765. in: query
  13766. name: page
  13767. type: integer
  13768. - description: 每页条数
  13769. in: query
  13770. name: pagesize
  13771. type: integer
  13772. - description: 登录账号
  13773. in: query
  13774. name: loginID
  13775. required: true
  13776. type: integer
  13777. - description: 消息类型 - 1:公告通知 2:系统消息
  13778. in: query
  13779. name: msgType
  13780. type: integer
  13781. - description: 是否只获取未读信息
  13782. in: query
  13783. name: onlyUnRead
  13784. type: boolean
  13785. - description: 自增ID,传入后会返回这个ID后面的记录
  13786. in: query
  13787. name: lastID
  13788. type: integer
  13789. produces:
  13790. - application/json
  13791. responses:
  13792. "200":
  13793. description: OK
  13794. schema:
  13795. $ref: '#/definitions/common.QueryNoticeRsp'
  13796. "500":
  13797. description: Internal Server Error
  13798. schema:
  13799. $ref: '#/definitions/app.Response'
  13800. security:
  13801. - ApiKeyAuth: []
  13802. summary: 通知公告系统消息查询
  13803. tags:
  13804. - 通用服务
  13805. /Common/QueryProvincesAndCities:
  13806. get:
  13807. parameters:
  13808. - description: 省ID
  13809. in: query
  13810. name: provinceID
  13811. type: integer
  13812. produces:
  13813. - application/json
  13814. responses:
  13815. "200":
  13816. description: OK
  13817. schema:
  13818. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  13819. "500":
  13820. description: Internal Server Error
  13821. schema:
  13822. $ref: '#/definitions/app.Response'
  13823. summary: 查询省市信息(不包括区)
  13824. tags:
  13825. - 通用服务
  13826. /Common/QueryTableDefine:
  13827. get:
  13828. parameters:
  13829. - description: 表key
  13830. in: query
  13831. name: tableKey
  13832. type: string
  13833. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  13834. in: query
  13835. name: tableType
  13836. type: integer
  13837. produces:
  13838. - application/json
  13839. responses:
  13840. "200":
  13841. description: OK
  13842. schema:
  13843. $ref: '#/definitions/common.QueryTableDefineRsp'
  13844. "500":
  13845. description: Internal Server Error
  13846. schema:
  13847. $ref: '#/definitions/app.Response'
  13848. summary: 查询交易端列表头信息
  13849. tags:
  13850. - 通用服务
  13851. /Common/QueryTraderMenu:
  13852. get:
  13853. parameters:
  13854. - description: 登录账号
  13855. in: query
  13856. name: loginid
  13857. required: true
  13858. type: integer
  13859. produces:
  13860. - application/json
  13861. responses:
  13862. "200":
  13863. description: OK
  13864. schema:
  13865. $ref: '#/definitions/common.QueryTraderMenuRsp'
  13866. "500":
  13867. description: Internal Server Error
  13868. schema:
  13869. $ref: '#/definitions/app.Response'
  13870. summary: 查询交易端菜单
  13871. tags:
  13872. - 通用服务
  13873. /Delivery/QueryDeliveryRelation:
  13874. get:
  13875. parameters:
  13876. - description: 商品ID
  13877. in: query
  13878. name: goodsid
  13879. type: integer
  13880. - description: 品种ID
  13881. in: query
  13882. name: deliverygoodsid
  13883. type: integer
  13884. - description: 市场ID
  13885. in: query
  13886. name: marketid
  13887. type: integer
  13888. produces:
  13889. - application/json
  13890. responses:
  13891. "200":
  13892. description: OK
  13893. schema:
  13894. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  13895. "500":
  13896. description: Internal Server Error
  13897. schema:
  13898. $ref: '#/definitions/app.Response'
  13899. security:
  13900. - ApiKeyAuth: []
  13901. summary: 查询商品交割关系表
  13902. tags:
  13903. - 交割服务
  13904. /Ermcp/GetErmcpGoods:
  13905. get:
  13906. parameters:
  13907. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  13908. in: query
  13909. name: lastUpdateTime
  13910. type: string
  13911. produces:
  13912. - application/json
  13913. responses:
  13914. "200":
  13915. description: OK
  13916. schema:
  13917. $ref: '#/definitions/models.ErmcpGoods'
  13918. "500":
  13919. description: Internal Server Error
  13920. schema:
  13921. $ref: '#/definitions/app.Response'
  13922. security:
  13923. - ApiKeyAuth: []
  13924. summary: 查询企业风管期货商品信息
  13925. tags:
  13926. - 企业风险管理(app)
  13927. /Ermcp/GetErmcpGoodsSortByPosition:
  13928. get:
  13929. parameters:
  13930. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  13931. in: query
  13932. name: sortIndex
  13933. type: string
  13934. produces:
  13935. - application/json
  13936. responses:
  13937. "200":
  13938. description: OK
  13939. schema:
  13940. $ref: '#/definitions/models.Goodssortbypreposition'
  13941. "500":
  13942. description: Internal Server Error
  13943. schema:
  13944. $ref: '#/definitions/app.Response'
  13945. security:
  13946. - ApiKeyAuth: []
  13947. summary: 查询企业风管期货主力、次主力商品信息
  13948. tags:
  13949. - 企业风险管理(app)
  13950. /Ermcp/GetErmcpOutAccountStatus:
  13951. get:
  13952. parameters:
  13953. - description: 登录账号
  13954. in: query
  13955. name: loginID
  13956. required: true
  13957. type: integer
  13958. produces:
  13959. - application/json
  13960. responses:
  13961. "200":
  13962. description: OK
  13963. schema:
  13964. $ref: '#/definitions/models.Hedgemarketopenlog'
  13965. "500":
  13966. description: Internal Server Error
  13967. schema:
  13968. $ref: '#/definitions/app.Response'
  13969. security:
  13970. - ApiKeyAuth: []
  13971. summary: 获取目标登录账号当前对冲账号在线状态
  13972. tags:
  13973. - 企业风险管理(app)
  13974. /Ermcp/GetErmcpRoleFuncMenuLists:
  13975. get:
  13976. parameters:
  13977. - description: 登录账号
  13978. in: query
  13979. name: loginID
  13980. required: true
  13981. type: integer
  13982. produces:
  13983. - application/json
  13984. responses:
  13985. "200":
  13986. description: OK
  13987. schema:
  13988. $ref: '#/definitions/models.Funcmenulist'
  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/QueryAccMgrBizGroupSet:
  13999. get:
  14000. parameters:
  14001. - description: 用户ID
  14002. in: query
  14003. name: userid
  14004. required: true
  14005. type: integer
  14006. - description: 现货商品id
  14007. in: query
  14008. name: deliverygoodsid
  14009. type: integer
  14010. produces:
  14011. - application/json
  14012. responses:
  14013. "200":
  14014. description: OK
  14015. schema:
  14016. items:
  14017. $ref: '#/definitions/models.ErmcpBizGroupEx'
  14018. type: array
  14019. "500":
  14020. description: Internal Server Error
  14021. schema:
  14022. $ref: '#/definitions/app.Response'
  14023. security:
  14024. - ApiKeyAuth: []
  14025. summary: 查询业务类型分组(账户管理/账户设置)
  14026. tags:
  14027. - 企业风险管理(app)
  14028. /Ermcp/QueryAccMgrLoginUser:
  14029. get:
  14030. parameters:
  14031. - description: 用户ID
  14032. in: query
  14033. name: userid
  14034. required: true
  14035. type: integer
  14036. - description: 用户类型 2-机构 7-企业成员
  14037. in: query
  14038. name: usertype
  14039. type: integer
  14040. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  14041. in: query
  14042. name: querytype
  14043. required: true
  14044. type: integer
  14045. produces:
  14046. - application/json
  14047. responses:
  14048. "200":
  14049. description: OK
  14050. schema:
  14051. items:
  14052. $ref: '#/definitions/models.ErmcpLoginUserEx'
  14053. type: array
  14054. "500":
  14055. description: Internal Server Error
  14056. schema:
  14057. $ref: '#/definitions/app.Response'
  14058. security:
  14059. - ApiKeyAuth: []
  14060. summary: 查询账户管理登录账号(账户管理/登录账号)
  14061. tags:
  14062. - 企业风险管理(app)
  14063. /Ermcp/QueryAccMgrMainAccountInfo:
  14064. get:
  14065. parameters:
  14066. - description: 用户ID
  14067. in: query
  14068. name: userid
  14069. type: integer
  14070. - description: 主账号id
  14071. in: query
  14072. name: accountid
  14073. type: integer
  14074. produces:
  14075. - application/json
  14076. responses:
  14077. "200":
  14078. description: OK
  14079. schema:
  14080. items:
  14081. $ref: '#/definitions/models.MainAccountInfo'
  14082. type: array
  14083. "500":
  14084. description: Internal Server Error
  14085. schema:
  14086. $ref: '#/definitions/app.Response'
  14087. security:
  14088. - ApiKeyAuth: []
  14089. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  14090. tags:
  14091. - 企业风险管理(app)
  14092. /Ermcp/QueryAccMgrRole:
  14093. get:
  14094. parameters:
  14095. - description: 用户ID
  14096. in: query
  14097. name: userid
  14098. required: true
  14099. type: integer
  14100. produces:
  14101. - application/json
  14102. responses:
  14103. "200":
  14104. description: OK
  14105. schema:
  14106. items:
  14107. $ref: '#/definitions/models.ErmcpRole'
  14108. type: array
  14109. "500":
  14110. description: Internal Server Error
  14111. schema:
  14112. $ref: '#/definitions/app.Response'
  14113. security:
  14114. - ApiKeyAuth: []
  14115. summary: 查询账户管理角色设置(账户管理/角色设置)
  14116. tags:
  14117. - 企业风险管理(app)
  14118. /Ermcp/QueryAccMgrRoleMenu:
  14119. get:
  14120. parameters:
  14121. - description: 用户ID
  14122. in: query
  14123. name: userid
  14124. required: true
  14125. type: integer
  14126. - description: 角色id(可多个,逗号隔开)
  14127. in: query
  14128. name: roleid
  14129. type: string
  14130. produces:
  14131. - application/json
  14132. responses:
  14133. "200":
  14134. description: OK
  14135. schema:
  14136. items:
  14137. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  14138. type: array
  14139. "500":
  14140. description: Internal Server Error
  14141. schema:
  14142. $ref: '#/definitions/app.Response'
  14143. security:
  14144. - ApiKeyAuth: []
  14145. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  14146. tags:
  14147. - 企业风险管理(app)
  14148. /Ermcp/QueryAccMgrTaAccountInfo:
  14149. get:
  14150. parameters:
  14151. - description: 用户ID
  14152. in: query
  14153. name: userid
  14154. required: true
  14155. type: integer
  14156. - description: 账号id
  14157. in: query
  14158. name: accountid
  14159. type: integer
  14160. produces:
  14161. - application/json
  14162. responses:
  14163. "200":
  14164. description: OK
  14165. schema:
  14166. items:
  14167. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  14168. type: array
  14169. "500":
  14170. description: Internal Server Error
  14171. schema:
  14172. $ref: '#/definitions/app.Response'
  14173. security:
  14174. - ApiKeyAuth: []
  14175. summary: 查询账户管理授信(账户管理/账户设置/授信)
  14176. tags:
  14177. - 企业风险管理(app)
  14178. /Ermcp/QueryAccMgrTaaccount:
  14179. get:
  14180. parameters:
  14181. - description: 用户ID
  14182. in: query
  14183. name: userid
  14184. required: true
  14185. type: integer
  14186. produces:
  14187. - application/json
  14188. responses:
  14189. "200":
  14190. description: OK
  14191. schema:
  14192. items:
  14193. $ref: '#/definitions/models.ErmcpTaAccountEx'
  14194. type: array
  14195. "500":
  14196. description: Internal Server Error
  14197. schema:
  14198. $ref: '#/definitions/app.Response'
  14199. security:
  14200. - ApiKeyAuth: []
  14201. summary: 查询账户管理期货账号(账户管理/期货账号)
  14202. tags:
  14203. - 企业风险管理(app)
  14204. /Ermcp/QueryAvaildGoodsGroup:
  14205. get:
  14206. parameters:
  14207. - description: 所属机构ID
  14208. in: query
  14209. name: userid
  14210. required: true
  14211. type: integer
  14212. produces:
  14213. - application/json
  14214. responses:
  14215. "200":
  14216. description: OK
  14217. schema:
  14218. items:
  14219. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  14220. type: array
  14221. "500":
  14222. description: Internal Server Error
  14223. schema:
  14224. $ref: '#/definitions/app.Response'
  14225. security:
  14226. - ApiKeyAuth: []
  14227. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  14228. tags:
  14229. - 企业风险管理(app)
  14230. /Ermcp/QueryBusinessDj:
  14231. get:
  14232. parameters:
  14233. - description: 用户ID
  14234. in: query
  14235. name: UserId
  14236. required: true
  14237. type: integer
  14238. - description: 用户类型 2-机构 7-企业成员
  14239. in: query
  14240. name: usertype
  14241. type: integer
  14242. - description: 现货合同ID, 不填则查所有
  14243. in: query
  14244. name: relatedid
  14245. type: string
  14246. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  14247. in: query
  14248. name: applystatus
  14249. type: string
  14250. produces:
  14251. - application/json
  14252. responses:
  14253. "200":
  14254. description: OK
  14255. schema:
  14256. items:
  14257. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  14258. type: array
  14259. "500":
  14260. description: Internal Server Error
  14261. schema:
  14262. $ref: '#/definitions/app.Response'
  14263. security:
  14264. - ApiKeyAuth: []
  14265. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  14266. tags:
  14267. - 企业风险管理(app)
  14268. /Ermcp/QueryBusinessFp:
  14269. get:
  14270. parameters:
  14271. - description: 用户ID
  14272. in: query
  14273. name: UserId
  14274. required: true
  14275. type: integer
  14276. - description: 用户类型 2-机构 7-企业成员
  14277. in: query
  14278. name: usertype
  14279. type: integer
  14280. - description: 现货合同ID, 不填则查所有
  14281. in: query
  14282. name: relatedid
  14283. type: string
  14284. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  14285. in: query
  14286. name: applystatus
  14287. type: string
  14288. produces:
  14289. - application/json
  14290. responses:
  14291. "200":
  14292. description: OK
  14293. schema:
  14294. items:
  14295. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  14296. type: array
  14297. "500":
  14298. description: Internal Server Error
  14299. schema:
  14300. $ref: '#/definitions/app.Response'
  14301. security:
  14302. - ApiKeyAuth: []
  14303. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  14304. tags:
  14305. - 企业风险管理(app)
  14306. /Ermcp/QueryBusinessJs:
  14307. get:
  14308. parameters:
  14309. - description: 用户ID
  14310. in: query
  14311. name: UserId
  14312. required: true
  14313. type: integer
  14314. - description: 用户类型 2-机构 7-企业成员
  14315. in: query
  14316. name: usertype
  14317. type: integer
  14318. - description: 现货合同ID, 不填则查所有
  14319. in: query
  14320. name: relatedid
  14321. type: string
  14322. - description: 操作申请id
  14323. in: query
  14324. name: operateapplyid
  14325. type: string
  14326. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  14327. in: query
  14328. name: applystatus
  14329. type: string
  14330. produces:
  14331. - application/json
  14332. responses:
  14333. "200":
  14334. description: OK
  14335. schema:
  14336. items:
  14337. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  14338. type: array
  14339. "500":
  14340. description: Internal Server Error
  14341. schema:
  14342. $ref: '#/definitions/app.Response'
  14343. security:
  14344. - ApiKeyAuth: []
  14345. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  14346. tags:
  14347. - 企业风险管理(app)
  14348. /Ermcp/QueryBusinessJsEx:
  14349. get:
  14350. parameters:
  14351. - description: 用户ID
  14352. in: query
  14353. name: UserId
  14354. required: true
  14355. type: integer
  14356. - description: 用户类型 2-机构 7-企业成员
  14357. in: query
  14358. name: usertype
  14359. type: integer
  14360. - description: 现货合同ID, 不填则查所有
  14361. in: query
  14362. name: relatedid
  14363. type: string
  14364. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  14365. in: query
  14366. name: applystatus
  14367. type: string
  14368. produces:
  14369. - application/json
  14370. responses:
  14371. "200":
  14372. description: OK
  14373. schema:
  14374. items:
  14375. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  14376. type: array
  14377. "500":
  14378. description: Internal Server Error
  14379. schema:
  14380. $ref: '#/definitions/app.Response'
  14381. security:
  14382. - ApiKeyAuth: []
  14383. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  14384. tags:
  14385. - 企业风险管理(app)
  14386. /Ermcp/QueryBusinessKx:
  14387. get:
  14388. parameters:
  14389. - description: 用户ID
  14390. in: query
  14391. name: UserId
  14392. required: true
  14393. type: integer
  14394. - description: 用户类型 2-机构 7-企业成员
  14395. in: query
  14396. name: usertype
  14397. type: integer
  14398. - description: 现货合同ID, 不填则查所有
  14399. in: query
  14400. name: relatedid
  14401. type: string
  14402. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  14403. in: query
  14404. name: applystatus
  14405. type: string
  14406. produces:
  14407. - application/json
  14408. responses:
  14409. "200":
  14410. description: OK
  14411. schema:
  14412. items:
  14413. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  14414. type: array
  14415. "500":
  14416. description: Internal Server Error
  14417. schema:
  14418. $ref: '#/definitions/app.Response'
  14419. security:
  14420. - ApiKeyAuth: []
  14421. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  14422. tags:
  14423. - 企业风险管理(app)
  14424. /Ermcp/QueryChangeLog:
  14425. get:
  14426. parameters:
  14427. - description: 合同ID
  14428. in: query
  14429. name: RelatedId
  14430. required: true
  14431. type: string
  14432. produces:
  14433. - application/json
  14434. responses:
  14435. "200":
  14436. description: OK
  14437. schema:
  14438. items:
  14439. $ref: '#/definitions/ermcp.QryOPLogRsp'
  14440. type: array
  14441. "500":
  14442. description: Internal Server Error
  14443. schema:
  14444. $ref: '#/definitions/app.Response'
  14445. security:
  14446. - ApiKeyAuth: []
  14447. summary: 查询变更记录
  14448. tags:
  14449. - 企业风险管理(app)
  14450. /Ermcp/QueryErmcpHisOrderDetails:
  14451. get:
  14452. parameters:
  14453. - description: 资金账户ID
  14454. in: query
  14455. name: accountID
  14456. required: true
  14457. type: integer
  14458. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  14459. in: query
  14460. name: startDate
  14461. type: string
  14462. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  14463. in: query
  14464. name: endDate
  14465. type: string
  14466. produces:
  14467. - application/json
  14468. responses:
  14469. "200":
  14470. description: OK
  14471. schema:
  14472. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  14473. "500":
  14474. description: Internal Server Error
  14475. schema:
  14476. $ref: '#/definitions/app.Response'
  14477. security:
  14478. - ApiKeyAuth: []
  14479. summary: 获取企业风管期货历史委托单信息
  14480. tags:
  14481. - 企业风险管理(app)
  14482. /Ermcp/QueryErmcpHisTradeDetails:
  14483. get:
  14484. parameters:
  14485. - description: 资金账户ID
  14486. in: query
  14487. name: accountID
  14488. required: true
  14489. type: integer
  14490. - description: 商品ID
  14491. in: query
  14492. name: goodsID
  14493. type: integer
  14494. - description: 买卖方向,0:买 1:卖
  14495. in: query
  14496. name: buyOrSell
  14497. type: integer
  14498. - description: 关联委托单号
  14499. in: query
  14500. name: orderID
  14501. type: integer
  14502. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  14503. in: query
  14504. name: startDate
  14505. type: string
  14506. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  14507. in: query
  14508. name: endDate
  14509. type: string
  14510. produces:
  14511. - application/json
  14512. responses:
  14513. "200":
  14514. description: OK
  14515. schema:
  14516. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  14517. "500":
  14518. description: Internal Server Error
  14519. schema:
  14520. $ref: '#/definitions/app.Response'
  14521. security:
  14522. - ApiKeyAuth: []
  14523. summary: 获取企业风管期货历史成交单信息
  14524. tags:
  14525. - 企业风险管理(app)
  14526. /Ermcp/QueryErmcpInnerHolderDetails:
  14527. get:
  14528. parameters:
  14529. - description: 资金账户ID
  14530. in: query
  14531. name: accountID
  14532. required: true
  14533. type: integer
  14534. - description: 商品ID
  14535. in: query
  14536. name: goodsID
  14537. type: integer
  14538. - description: 买卖方向,0:买 1:卖
  14539. in: query
  14540. name: buyOrSell
  14541. type: integer
  14542. produces:
  14543. - application/json
  14544. responses:
  14545. "200":
  14546. description: OK
  14547. schema:
  14548. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  14549. "500":
  14550. description: Internal Server Error
  14551. schema:
  14552. $ref: '#/definitions/app.Response'
  14553. security:
  14554. - ApiKeyAuth: []
  14555. summary: 获取企业风管期货内部持仓单信息
  14556. tags:
  14557. - 企业风险管理(app)
  14558. /Ermcp/QueryErmcpOrderDetails:
  14559. get:
  14560. parameters:
  14561. - description: 资金账户ID
  14562. in: query
  14563. name: accountID
  14564. required: true
  14565. type: integer
  14566. produces:
  14567. - application/json
  14568. responses:
  14569. "200":
  14570. description: OK
  14571. schema:
  14572. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  14573. "500":
  14574. description: Internal Server Error
  14575. schema:
  14576. $ref: '#/definitions/app.Response'
  14577. security:
  14578. - ApiKeyAuth: []
  14579. summary: 获取企业风管期货委托单信息
  14580. tags:
  14581. - 企业风险管理(app)
  14582. /Ermcp/QueryErmcpTradeDetails:
  14583. get:
  14584. parameters:
  14585. - description: 资金账户ID
  14586. in: query
  14587. name: accountID
  14588. required: true
  14589. type: integer
  14590. - description: 商品ID
  14591. in: query
  14592. name: goodsID
  14593. type: integer
  14594. - description: 买卖方向,0:买 1:卖
  14595. in: query
  14596. name: buyOrSell
  14597. type: integer
  14598. - description: 关联委托单号
  14599. in: query
  14600. name: orderID
  14601. type: integer
  14602. produces:
  14603. - application/json
  14604. responses:
  14605. "200":
  14606. description: OK
  14607. schema:
  14608. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  14609. "500":
  14610. description: Internal Server Error
  14611. schema:
  14612. $ref: '#/definitions/app.Response'
  14613. security:
  14614. - ApiKeyAuth: []
  14615. summary: 获取企业风管期货成交单信息
  14616. tags:
  14617. - 企业风险管理(app)
  14618. /Ermcp/QueryErmcpTradePosition:
  14619. get:
  14620. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  14621. parameters:
  14622. - description: 资金账户ID
  14623. in: query
  14624. name: accountID
  14625. required: true
  14626. type: integer
  14627. - description: 所属市场ID
  14628. in: query
  14629. name: marketID
  14630. type: integer
  14631. produces:
  14632. - application/json
  14633. responses:
  14634. "200":
  14635. description: OK
  14636. schema:
  14637. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  14638. "500":
  14639. description: Internal Server Error
  14640. schema:
  14641. $ref: '#/definitions/app.Response'
  14642. security:
  14643. - ApiKeyAuth: []
  14644. summary: 获取企业风管期货持仓头寸信息
  14645. tags:
  14646. - 企业风险管理(app)
  14647. /Ermcp/QueryExposureDetail:
  14648. get:
  14649. parameters:
  14650. - description: 所属机构ID
  14651. in: query
  14652. name: areaUserId
  14653. required: true
  14654. type: integer
  14655. - description: 套保商品
  14656. in: query
  14657. name: middleGoodsId
  14658. required: true
  14659. type: integer
  14660. produces:
  14661. - application/json
  14662. responses:
  14663. "200":
  14664. description: OK
  14665. schema:
  14666. items:
  14667. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  14668. type: array
  14669. "500":
  14670. description: Internal Server Error
  14671. schema:
  14672. $ref: '#/definitions/app.Response'
  14673. security:
  14674. - ApiKeyAuth: []
  14675. summary: 查询敞口现货明细
  14676. tags:
  14677. - 企业风险管理(app)
  14678. /Ermcp/QueryExposureGoods:
  14679. get:
  14680. parameters:
  14681. - description: 套保商品id
  14682. in: query
  14683. name: middlegoodsid
  14684. required: true
  14685. type: integer
  14686. produces:
  14687. - application/json
  14688. responses:
  14689. "200":
  14690. description: OK
  14691. schema:
  14692. items:
  14693. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  14694. type: array
  14695. "500":
  14696. description: Internal Server Error
  14697. schema:
  14698. $ref: '#/definitions/app.Response'
  14699. security:
  14700. - ApiKeyAuth: []
  14701. summary: 查询敞口主力合约
  14702. tags:
  14703. - 企业风险管理(app)
  14704. /Ermcp/QueryExposureHedgePosition:
  14705. get:
  14706. parameters:
  14707. - description: 用户id
  14708. in: query
  14709. name: userid
  14710. required: true
  14711. type: integer
  14712. produces:
  14713. - application/json
  14714. responses:
  14715. "200":
  14716. description: OK
  14717. schema:
  14718. items:
  14719. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  14720. type: array
  14721. "500":
  14722. description: Internal Server Error
  14723. schema:
  14724. $ref: '#/definitions/app.Response'
  14725. security:
  14726. - ApiKeyAuth: []
  14727. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  14728. tags:
  14729. - 企业风险管理(app)
  14730. /Ermcp/QueryExposureHedgePositionDetail:
  14731. get:
  14732. parameters:
  14733. - description: 所属机构ID
  14734. in: query
  14735. name: userid
  14736. required: true
  14737. type: integer
  14738. - description: 商品id
  14739. in: query
  14740. name: goodsId
  14741. required: true
  14742. type: integer
  14743. produces:
  14744. - application/json
  14745. responses:
  14746. "200":
  14747. description: OK
  14748. schema:
  14749. items:
  14750. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  14751. type: array
  14752. "500":
  14753. description: Internal Server Error
  14754. schema:
  14755. $ref: '#/definitions/app.Response'
  14756. security:
  14757. - ApiKeyAuth: []
  14758. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  14759. tags:
  14760. - 企业风险管理(app)
  14761. /Ermcp/QueryExposureSpot:
  14762. get:
  14763. parameters:
  14764. - description: 所属机构ID
  14765. in: query
  14766. name: areaUserId
  14767. required: true
  14768. type: integer
  14769. produces:
  14770. - application/json
  14771. responses:
  14772. "200":
  14773. description: OK
  14774. schema:
  14775. items:
  14776. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  14777. type: array
  14778. "500":
  14779. description: Internal Server Error
  14780. schema:
  14781. $ref: '#/definitions/app.Response'
  14782. security:
  14783. - ApiKeyAuth: []
  14784. summary: 查询敞口现货头寸(敞口/现货头寸)
  14785. tags:
  14786. - 企业风险管理(app)
  14787. /Ermcp/QueryExposureSpotDetail:
  14788. get:
  14789. parameters:
  14790. - description: 所属机构ID
  14791. in: query
  14792. name: areaUserId
  14793. required: true
  14794. type: integer
  14795. - description: 现货品种ID
  14796. in: query
  14797. name: wrstandardId
  14798. required: true
  14799. type: integer
  14800. produces:
  14801. - application/json
  14802. responses:
  14803. "200":
  14804. description: OK
  14805. schema:
  14806. items:
  14807. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  14808. type: array
  14809. "500":
  14810. description: Internal Server Error
  14811. schema:
  14812. $ref: '#/definitions/app.Response'
  14813. security:
  14814. - ApiKeyAuth: []
  14815. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  14816. tags:
  14817. - 企业风险管理(app)
  14818. /Ermcp/QueryFuturesCompany:
  14819. get:
  14820. produces:
  14821. - application/json
  14822. responses:
  14823. "200":
  14824. description: OK
  14825. schema:
  14826. items:
  14827. $ref: '#/definitions/models.ErmcpFuturesCompany'
  14828. type: array
  14829. "500":
  14830. description: Internal Server Error
  14831. schema:
  14832. $ref: '#/definitions/app.Response'
  14833. security:
  14834. - ApiKeyAuth: []
  14835. summary: 查询期货公司
  14836. tags:
  14837. - 企业风险管理(app)
  14838. /Ermcp/QueryGGConvertConfig:
  14839. get:
  14840. parameters:
  14841. - description: 品种id(不填则查所有)
  14842. in: query
  14843. name: goodsgroupid
  14844. type: integer
  14845. produces:
  14846. - application/json
  14847. responses:
  14848. "200":
  14849. description: OK
  14850. schema:
  14851. items:
  14852. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  14853. type: array
  14854. "500":
  14855. description: Internal Server Error
  14856. schema:
  14857. $ref: '#/definitions/app.Response'
  14858. security:
  14859. - ApiKeyAuth: []
  14860. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  14861. tags:
  14862. - 企业风险管理(app)
  14863. /Ermcp/QueryGoodsBrand:
  14864. get:
  14865. parameters:
  14866. - description: 用户ID
  14867. in: query
  14868. name: userid
  14869. required: true
  14870. type: integer
  14871. - description: 现货商品ID
  14872. in: query
  14873. name: wrstandardid
  14874. type: integer
  14875. produces:
  14876. - application/json
  14877. responses:
  14878. "200":
  14879. description: OK
  14880. schema:
  14881. items:
  14882. $ref: '#/definitions/models.ErmcpGoodsBrand'
  14883. type: array
  14884. "500":
  14885. description: Internal Server Error
  14886. schema:
  14887. $ref: '#/definitions/app.Response'
  14888. security:
  14889. - ApiKeyAuth: []
  14890. summary: 查询商品品牌
  14891. tags:
  14892. - 企业风险管理(app)
  14893. /Ermcp/QueryGoodsModel:
  14894. get:
  14895. parameters:
  14896. - description: 用户ID
  14897. in: query
  14898. name: userid
  14899. required: true
  14900. type: integer
  14901. produces:
  14902. - application/json
  14903. responses:
  14904. "200":
  14905. description: OK
  14906. schema:
  14907. items:
  14908. $ref: '#/definitions/models.ErmcpGoodsModel'
  14909. type: array
  14910. "500":
  14911. description: Internal Server Error
  14912. schema:
  14913. $ref: '#/definitions/app.Response'
  14914. security:
  14915. - ApiKeyAuth: []
  14916. summary: 查询商品型号
  14917. tags:
  14918. - 企业风险管理(app)
  14919. /Ermcp/QueryHisExposure:
  14920. get:
  14921. parameters:
  14922. - description: 用户id
  14923. in: query
  14924. name: userid
  14925. required: true
  14926. type: integer
  14927. - description: 每个品种记录数
  14928. in: query
  14929. name: lastNum
  14930. required: true
  14931. type: integer
  14932. produces:
  14933. - application/json
  14934. responses:
  14935. "200":
  14936. description: OK
  14937. schema:
  14938. items:
  14939. $ref: '#/definitions/ermcp.HisExposureRsp'
  14940. type: array
  14941. "500":
  14942. description: Internal Server Error
  14943. schema:
  14944. $ref: '#/definitions/app.Response'
  14945. security:
  14946. - ApiKeyAuth: []
  14947. summary: 查询历史敞口(菜单:敞口/历史敞口)
  14948. tags:
  14949. - 企业风险管理(app)
  14950. /Ermcp/QueryMiddleGoods:
  14951. get:
  14952. parameters:
  14953. - description: 所属机构ID
  14954. in: query
  14955. name: userid
  14956. required: true
  14957. type: integer
  14958. - description: 状态 0-停用 1-正常
  14959. in: query
  14960. name: status
  14961. required: true
  14962. type: integer
  14963. produces:
  14964. - application/json
  14965. responses:
  14966. "200":
  14967. description: OK
  14968. schema:
  14969. items:
  14970. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  14971. type: array
  14972. "500":
  14973. description: Internal Server Error
  14974. schema:
  14975. $ref: '#/definitions/app.Response'
  14976. security:
  14977. - ApiKeyAuth: []
  14978. summary: 查询套保品种(菜单:套保品种)
  14979. tags:
  14980. - 企业风险管理(app)
  14981. /Ermcp/QueryMiddleGoodsChangeLog:
  14982. get:
  14983. parameters:
  14984. - description: 所属机构ID
  14985. in: query
  14986. name: userid
  14987. required: true
  14988. type: integer
  14989. - description: 套保品种id
  14990. in: query
  14991. name: middlegoodsid
  14992. required: true
  14993. type: integer
  14994. produces:
  14995. - application/json
  14996. responses:
  14997. "200":
  14998. description: OK
  14999. schema:
  15000. items:
  15001. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  15002. type: array
  15003. "500":
  15004. description: Internal Server Error
  15005. schema:
  15006. $ref: '#/definitions/app.Response'
  15007. security:
  15008. - ApiKeyAuth: []
  15009. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  15010. tags:
  15011. - 企业风险管理(app)
  15012. /Ermcp/QueryMiddleGoodsDetail:
  15013. get:
  15014. parameters:
  15015. - description: 所属机构ID
  15016. in: query
  15017. name: userid
  15018. required: true
  15019. type: integer
  15020. - description: 套保品种id
  15021. in: query
  15022. name: middlegoodsid
  15023. type: integer
  15024. produces:
  15025. - application/json
  15026. responses:
  15027. "200":
  15028. description: OK
  15029. schema:
  15030. items:
  15031. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  15032. type: array
  15033. "500":
  15034. description: Internal Server Error
  15035. schema:
  15036. $ref: '#/definitions/app.Response'
  15037. security:
  15038. - ApiKeyAuth: []
  15039. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  15040. tags:
  15041. - 企业风险管理(app)
  15042. /Ermcp/QueryPendingAuditInfo:
  15043. get:
  15044. parameters:
  15045. - description: 用户ID
  15046. in: query
  15047. name: UserId
  15048. required: true
  15049. type: integer
  15050. produces:
  15051. - application/json
  15052. responses:
  15053. "200":
  15054. description: OK
  15055. schema:
  15056. items:
  15057. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  15058. type: array
  15059. "500":
  15060. description: Internal Server Error
  15061. schema:
  15062. $ref: '#/definitions/app.Response'
  15063. security:
  15064. - ApiKeyAuth: []
  15065. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  15066. tags:
  15067. - 企业风险管理(app)
  15068. /Ermcp/QueryRealtimeExposure:
  15069. get:
  15070. parameters:
  15071. - description: 所属机构ID
  15072. in: query
  15073. name: userid
  15074. required: true
  15075. type: integer
  15076. produces:
  15077. - application/json
  15078. responses:
  15079. "200":
  15080. description: OK
  15081. schema:
  15082. items:
  15083. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  15084. type: array
  15085. "500":
  15086. description: Internal Server Error
  15087. schema:
  15088. $ref: '#/definitions/app.Response'
  15089. security:
  15090. - ApiKeyAuth: []
  15091. summary: 查询实时敞口
  15092. tags:
  15093. - 企业风险管理(app)
  15094. /Ermcp/QueryRealtimeExposurePosition:
  15095. get:
  15096. parameters:
  15097. - description: 用户id
  15098. in: query
  15099. name: userid
  15100. required: true
  15101. type: integer
  15102. - description: 套保商品ID
  15103. in: query
  15104. name: middleGoodsId
  15105. required: true
  15106. type: integer
  15107. produces:
  15108. - application/json
  15109. responses:
  15110. "200":
  15111. description: OK
  15112. schema:
  15113. items:
  15114. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  15115. type: array
  15116. "500":
  15117. description: Internal Server Error
  15118. schema:
  15119. $ref: '#/definitions/app.Response'
  15120. security:
  15121. - ApiKeyAuth: []
  15122. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  15123. tags:
  15124. - 企业风险管理(app)
  15125. /Ermcp/QueryTradeConfigTMP:
  15126. get:
  15127. parameters:
  15128. - description: 所属机构id
  15129. in: query
  15130. name: areauserid
  15131. type: integer
  15132. produces:
  15133. - application/json
  15134. responses:
  15135. "200":
  15136. description: OK
  15137. schema:
  15138. items:
  15139. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  15140. type: array
  15141. "500":
  15142. description: Internal Server Error
  15143. schema:
  15144. $ref: '#/definitions/app.Response'
  15145. security:
  15146. - ApiKeyAuth: []
  15147. summary: 查询交易模板配置
  15148. tags:
  15149. - 企业风险管理(app)
  15150. /Ermcp/QueryUserInfo:
  15151. get:
  15152. parameters:
  15153. - description: 所属机构用户ID
  15154. in: query
  15155. name: MemberUserID
  15156. required: true
  15157. type: integer
  15158. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  15159. in: query
  15160. name: queryType
  15161. required: true
  15162. type: integer
  15163. produces:
  15164. - application/json
  15165. responses:
  15166. "200":
  15167. description: OK
  15168. schema:
  15169. items:
  15170. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  15171. type: array
  15172. "500":
  15173. description: Internal Server Error
  15174. schema:
  15175. $ref: '#/definitions/app.Response'
  15176. security:
  15177. - ApiKeyAuth: []
  15178. summary: 查询客户资料
  15179. tags:
  15180. - 企业风险管理(app)
  15181. /Ermcp/QueryWarehouseInfo:
  15182. get:
  15183. parameters:
  15184. - description: 用户ID
  15185. in: query
  15186. name: userid
  15187. required: true
  15188. type: integer
  15189. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  15190. in: query
  15191. name: status
  15192. type: string
  15193. produces:
  15194. - application/json
  15195. responses:
  15196. "200":
  15197. description: OK
  15198. schema:
  15199. items:
  15200. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  15201. type: array
  15202. "500":
  15203. description: Internal Server Error
  15204. schema:
  15205. $ref: '#/definitions/app.Response'
  15206. security:
  15207. - ApiKeyAuth: []
  15208. summary: 查询仓库信息
  15209. tags:
  15210. - 企业风险管理(app)
  15211. /Ermcp3/QryAreaExpourseContractDetail:
  15212. get:
  15213. parameters:
  15214. - description: 用户ID
  15215. in: query
  15216. name: userid
  15217. required: true
  15218. type: integer
  15219. - description: 套保商品id
  15220. in: query
  15221. name: middlegoodsid
  15222. required: true
  15223. type: integer
  15224. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  15225. in: query
  15226. name: cycletype
  15227. required: true
  15228. type: integer
  15229. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  15230. 全(0)【原值】
  15231. in: query
  15232. name: cycletime
  15233. required: true
  15234. type: string
  15235. produces:
  15236. - application/json
  15237. responses:
  15238. "200":
  15239. description: OK
  15240. schema:
  15241. items:
  15242. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  15243. type: array
  15244. "500":
  15245. description: Internal Server Error
  15246. schema:
  15247. $ref: '#/definitions/app.Response'
  15248. security:
  15249. - ApiKeyAuth: []
  15250. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  15251. tags:
  15252. - 企业风险管理v3(app)
  15253. /Ermcp3/QryAreaExpourseFutuDetail:
  15254. get:
  15255. parameters:
  15256. - description: 用户ID
  15257. in: query
  15258. name: userid
  15259. required: true
  15260. type: integer
  15261. - description: 套保商品id
  15262. in: query
  15263. name: middlegoodsid
  15264. required: true
  15265. type: integer
  15266. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  15267. in: query
  15268. name: cycletype
  15269. required: true
  15270. type: integer
  15271. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  15272. 全(0)【原值】
  15273. in: query
  15274. name: cycletime
  15275. required: true
  15276. type: string
  15277. produces:
  15278. - application/json
  15279. responses:
  15280. "200":
  15281. description: OK
  15282. schema:
  15283. items:
  15284. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  15285. type: array
  15286. "500":
  15287. description: Internal Server Error
  15288. schema:
  15289. $ref: '#/definitions/app.Response'
  15290. security:
  15291. - ApiKeyAuth: []
  15292. summary: 查询敞口期货明细(敞口报表/期货明细)
  15293. tags:
  15294. - 企业风险管理v3(app)
  15295. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  15296. get:
  15297. parameters:
  15298. - description: 用户ID
  15299. in: query
  15300. name: userid
  15301. required: true
  15302. type: integer
  15303. - description: 套保商品id
  15304. in: query
  15305. name: middlegoodsid
  15306. required: true
  15307. type: integer
  15308. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  15309. in: query
  15310. name: cycletype
  15311. required: true
  15312. type: integer
  15313. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  15314. 全(0)【原值】
  15315. in: query
  15316. name: cycletime
  15317. required: true
  15318. type: string
  15319. produces:
  15320. - application/json
  15321. responses:
  15322. "200":
  15323. description: OK
  15324. schema:
  15325. items:
  15326. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  15327. type: array
  15328. "500":
  15329. description: Internal Server Error
  15330. schema:
  15331. $ref: '#/definitions/app.Response'
  15332. security:
  15333. - ApiKeyAuth: []
  15334. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  15335. tags:
  15336. - 企业风险管理v3(app)
  15337. /Ermcp3/QryAreaExpourseParamChLogDetail:
  15338. get:
  15339. parameters:
  15340. - description: 用户ID
  15341. in: query
  15342. name: userid
  15343. required: true
  15344. type: integer
  15345. - description: 套保商品id
  15346. in: query
  15347. name: middlegoodsid
  15348. required: true
  15349. type: integer
  15350. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  15351. in: query
  15352. name: cycletype
  15353. required: true
  15354. type: integer
  15355. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  15356. 全(0)【原值】
  15357. in: query
  15358. name: cycletime
  15359. required: true
  15360. type: string
  15361. produces:
  15362. - application/json
  15363. responses:
  15364. "200":
  15365. description: OK
  15366. schema:
  15367. items:
  15368. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  15369. type: array
  15370. "500":
  15371. description: Internal Server Error
  15372. schema:
  15373. $ref: '#/definitions/app.Response'
  15374. security:
  15375. - ApiKeyAuth: []
  15376. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  15377. tags:
  15378. - 企业风险管理v3(app)
  15379. /Ermcp3/QryAreaExpourseReport:
  15380. get:
  15381. parameters:
  15382. - description: 用户ID
  15383. in: query
  15384. name: userid
  15385. required: true
  15386. type: integer
  15387. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  15388. in: query
  15389. name: querytype
  15390. required: true
  15391. type: integer
  15392. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  15393. in: query
  15394. name: cycletype
  15395. required: true
  15396. type: integer
  15397. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  15398. 全(0)【原值】
  15399. in: query
  15400. name: cycletime
  15401. required: true
  15402. type: string
  15403. produces:
  15404. - application/json
  15405. responses:
  15406. "200":
  15407. description: OK
  15408. schema:
  15409. items:
  15410. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  15411. type: array
  15412. "500":
  15413. description: Internal Server Error
  15414. schema:
  15415. $ref: '#/definitions/app.Response'
  15416. security:
  15417. - ApiKeyAuth: []
  15418. summary: 查询敞口报表
  15419. tags:
  15420. - 企业风险管理v3(app)
  15421. /Ermcp3/QryAreaSpotplReport:
  15422. get:
  15423. parameters:
  15424. - description: 用户ID
  15425. in: query
  15426. name: userid
  15427. required: true
  15428. type: integer
  15429. - description: 查询类型 1-报表 2-报表明细
  15430. in: query
  15431. name: querytype
  15432. required: true
  15433. type: integer
  15434. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  15435. in: query
  15436. name: cycletype
  15437. required: true
  15438. type: integer
  15439. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  15440. 全(0)【原值】
  15441. in: query
  15442. name: cycletime
  15443. required: true
  15444. type: string
  15445. - description: 现货品种id(明细必填)
  15446. in: query
  15447. name: deliverygoodsid
  15448. type: integer
  15449. - description: 币种id(明细必填)
  15450. in: query
  15451. name: currencyid
  15452. type: integer
  15453. produces:
  15454. - application/json
  15455. responses:
  15456. "200":
  15457. description: OK
  15458. schema:
  15459. items:
  15460. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  15461. type: array
  15462. "500":
  15463. description: Internal Server Error
  15464. schema:
  15465. $ref: '#/definitions/app.Response'
  15466. security:
  15467. - ApiKeyAuth: []
  15468. summary: 查询现货报表
  15469. tags:
  15470. - 企业风险管理v3(app)
  15471. /Ermcp3/QryAreaStockReport:
  15472. get:
  15473. parameters:
  15474. - description: 用户ID
  15475. in: query
  15476. name: userid
  15477. required: true
  15478. type: integer
  15479. - description: 查询类型 1-报表 2-报表明细
  15480. in: query
  15481. name: querytype
  15482. required: true
  15483. type: integer
  15484. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  15485. in: query
  15486. name: cycletype
  15487. required: true
  15488. type: integer
  15489. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  15490. 全(0)【原值】
  15491. in: query
  15492. name: cycletime
  15493. required: true
  15494. type: string
  15495. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  15496. in: query
  15497. name: sumfields
  15498. type: string
  15499. - description: 品种ID
  15500. in: query
  15501. name: deliverygoodsid
  15502. type: integer
  15503. - description: 品类ID
  15504. in: query
  15505. name: wrstandardid
  15506. type: integer
  15507. - description: 品牌ID
  15508. in: query
  15509. name: spotgoodsbrandid
  15510. type: integer
  15511. - description: 仓库ID
  15512. in: query
  15513. name: warehouseinfoid
  15514. type: integer
  15515. produces:
  15516. - application/json
  15517. responses:
  15518. "200":
  15519. description: OK
  15520. schema:
  15521. items:
  15522. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  15523. type: array
  15524. "500":
  15525. description: Internal Server Error
  15526. schema:
  15527. $ref: '#/definitions/app.Response'
  15528. security:
  15529. - ApiKeyAuth: []
  15530. summary: 查询库存报表
  15531. tags:
  15532. - 企业风险管理v3(app)
  15533. /Ermcp3/QryAreaSumPL:
  15534. get:
  15535. parameters:
  15536. - description: 用户ID
  15537. in: query
  15538. name: userid
  15539. required: true
  15540. type: integer
  15541. - description: 查询类型 1-报表 2-报表明细
  15542. in: query
  15543. name: querytype
  15544. required: true
  15545. type: integer
  15546. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  15547. in: query
  15548. name: cycletype
  15549. required: true
  15550. type: integer
  15551. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  15552. 全(0)【原值】
  15553. in: query
  15554. name: cycletime
  15555. required: true
  15556. type: string
  15557. - description: 币种id(明细必填)
  15558. in: query
  15559. name: currencyid
  15560. type: integer
  15561. produces:
  15562. - application/json
  15563. responses:
  15564. "200":
  15565. description: OK
  15566. schema:
  15567. items:
  15568. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  15569. type: array
  15570. "500":
  15571. description: Internal Server Error
  15572. schema:
  15573. $ref: '#/definitions/app.Response'
  15574. security:
  15575. - ApiKeyAuth: []
  15576. summary: 查询汇总损益表
  15577. tags:
  15578. - 企业风险管理v3(app)
  15579. /Ermcp3/QryFinanceReport:
  15580. get:
  15581. parameters:
  15582. - description: 用户ID
  15583. in: query
  15584. name: userid
  15585. required: true
  15586. type: integer
  15587. - description: 查询类型 1-报表 2-报表明细
  15588. in: query
  15589. name: querytype
  15590. required: true
  15591. type: integer
  15592. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  15593. in: query
  15594. name: cycletype
  15595. required: true
  15596. type: integer
  15597. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  15598. 全(0)【原值】
  15599. in: query
  15600. name: cycletime
  15601. required: true
  15602. type: string
  15603. - description: 币种id(报表明细必填)
  15604. in: query
  15605. name: currencyid
  15606. type: integer
  15607. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  15608. in: query
  15609. name: sumfields
  15610. type: string
  15611. produces:
  15612. - application/json
  15613. responses:
  15614. "200":
  15615. description: OK
  15616. schema:
  15617. items:
  15618. $ref: '#/definitions/models.Ermcp3FinanceReport'
  15619. type: array
  15620. "500":
  15621. description: Internal Server Error
  15622. schema:
  15623. $ref: '#/definitions/app.Response'
  15624. security:
  15625. - ApiKeyAuth: []
  15626. summary: 查询财务报表
  15627. tags:
  15628. - 企业风险管理v3(app)
  15629. /Ermcp3/QryTaFutureDataReport:
  15630. get:
  15631. parameters:
  15632. - description: 用户ID
  15633. in: query
  15634. name: userid
  15635. required: true
  15636. type: integer
  15637. - description: 查询类型 1-报表 2-报表明细
  15638. in: query
  15639. name: querytype
  15640. required: true
  15641. type: integer
  15642. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  15643. in: query
  15644. name: cycletype
  15645. required: true
  15646. type: integer
  15647. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  15648. 全(0)【原值】
  15649. in: query
  15650. name: cycletime
  15651. required: true
  15652. type: string
  15653. - description: 币种id(查明细必填)
  15654. in: query
  15655. name: currencyid
  15656. type: integer
  15657. - description: 品种id(查明细必填)
  15658. in: query
  15659. name: goodsgroupid
  15660. type: integer
  15661. - description: 商品id(查明细必填)
  15662. in: query
  15663. name: goodsid
  15664. type: integer
  15665. - description: 买卖方向(查明细必填)
  15666. in: query
  15667. name: buyorsell
  15668. type: integer
  15669. produces:
  15670. - application/json
  15671. responses:
  15672. "200":
  15673. description: OK
  15674. schema:
  15675. items:
  15676. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  15677. type: array
  15678. "500":
  15679. description: Internal Server Error
  15680. schema:
  15681. $ref: '#/definitions/app.Response'
  15682. security:
  15683. - ApiKeyAuth: []
  15684. summary: 查询期货报表
  15685. tags:
  15686. - 企业风险管理v3(app)
  15687. /Ermcp3/QueryAreaStock:
  15688. get:
  15689. parameters:
  15690. - description: 用户ID
  15691. in: query
  15692. name: userid
  15693. required: true
  15694. type: integer
  15695. produces:
  15696. - application/json
  15697. responses:
  15698. "200":
  15699. description: OK
  15700. schema:
  15701. items:
  15702. $ref: '#/definitions/models.Ermcp3AreaStock'
  15703. type: array
  15704. "500":
  15705. description: Internal Server Error
  15706. schema:
  15707. $ref: '#/definitions/app.Response'
  15708. security:
  15709. - ApiKeyAuth: []
  15710. summary: 查询机构库存(库存管理/当前库存)
  15711. tags:
  15712. - 企业风险管理v3(app)
  15713. /Ermcp3/QueryAreaStockApply:
  15714. get:
  15715. parameters:
  15716. - description: 用户ID
  15717. in: query
  15718. name: userid
  15719. required: true
  15720. type: integer
  15721. - description: 用户类型 2-机构 7-企业成员
  15722. in: query
  15723. name: usertype
  15724. type: integer
  15725. - description: 现货商品ID
  15726. in: query
  15727. name: deliverygoodsid
  15728. type: integer
  15729. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  15730. in: query
  15731. name: inouttype
  15732. type: string
  15733. - description: 合同ID
  15734. in: query
  15735. name: spotcontractid
  15736. type: integer
  15737. - description: 品类ID
  15738. in: query
  15739. name: wrstandardid
  15740. type: integer
  15741. - description: 品牌ID
  15742. in: query
  15743. name: spotgoodsbrandid
  15744. type: integer
  15745. - description: 仓库ID
  15746. in: query
  15747. name: warehouseinfoid
  15748. type: integer
  15749. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  15750. in: query
  15751. name: applystatus
  15752. type: string
  15753. produces:
  15754. - application/json
  15755. responses:
  15756. "200":
  15757. description: OK
  15758. schema:
  15759. items:
  15760. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  15761. type: array
  15762. "500":
  15763. description: Internal Server Error
  15764. schema:
  15765. $ref: '#/definitions/app.Response'
  15766. security:
  15767. - ApiKeyAuth: []
  15768. summary: 查询库存申请(出入库记录|库存审核)
  15769. tags:
  15770. - 企业风险管理v3(app)
  15771. /Ermcp3/QueryAreaStockApplySum:
  15772. get:
  15773. parameters:
  15774. - description: 合同ID
  15775. in: query
  15776. name: spotcontractid
  15777. type: integer
  15778. produces:
  15779. - application/json
  15780. responses:
  15781. "200":
  15782. description: OK
  15783. schema:
  15784. items:
  15785. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  15786. type: array
  15787. "500":
  15788. description: Internal Server Error
  15789. schema:
  15790. $ref: '#/definitions/app.Response'
  15791. security:
  15792. - ApiKeyAuth: []
  15793. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  15794. tags:
  15795. - 企业风险管理v3(app)
  15796. /Ermcp3/QueryDGFactoryItem:
  15797. get:
  15798. parameters:
  15799. - description: 用户id
  15800. in: query
  15801. name: userid
  15802. type: integer
  15803. - description: 用户类型 2-机构 7-企业成员
  15804. in: query
  15805. name: usertype
  15806. type: integer
  15807. - description: 选择项ID(SEQ_DGFACTORYITEM)
  15808. in: query
  15809. name: dgfactoryitemid
  15810. type: integer
  15811. - description: 现货品种ID
  15812. in: query
  15813. name: deliverygoodsid
  15814. type: integer
  15815. - description: 要素项类型
  15816. in: query
  15817. name: dgfactoryitemtypeid
  15818. type: integer
  15819. - description: 顺序
  15820. in: query
  15821. name: orderindex
  15822. type: integer
  15823. produces:
  15824. - application/json
  15825. responses:
  15826. "200":
  15827. description: OK
  15828. schema:
  15829. items:
  15830. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  15831. type: array
  15832. "500":
  15833. description: Internal Server Error
  15834. schema:
  15835. $ref: '#/definitions/app.Response'
  15836. security:
  15837. - ApiKeyAuth: []
  15838. summary: 查询品种要素定义项
  15839. tags:
  15840. - 企业风险管理v3(app)
  15841. /Ermcp3/QueryDeliveryGoods:
  15842. get:
  15843. parameters:
  15844. - description: 用户id
  15845. in: query
  15846. name: userid
  15847. required: true
  15848. type: integer
  15849. - description: 用户类型 2-机构 7-企业成员
  15850. in: query
  15851. name: usertype
  15852. type: integer
  15853. - description: 排除已配置的业务类型商品 1-套保 2-套利
  15854. in: query
  15855. name: excludecfg
  15856. type: integer
  15857. produces:
  15858. - application/json
  15859. responses:
  15860. "200":
  15861. description: OK
  15862. schema:
  15863. items:
  15864. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  15865. type: array
  15866. "500":
  15867. description: Internal Server Error
  15868. schema:
  15869. $ref: '#/definitions/app.Response'
  15870. security:
  15871. - ApiKeyAuth: []
  15872. summary: 查询现货商品
  15873. tags:
  15874. - 企业风险管理v3(app)
  15875. /Ermcp3/QueryDeliveryGoodsDetail:
  15876. get:
  15877. parameters:
  15878. - description: 用户id
  15879. in: query
  15880. name: userid
  15881. required: true
  15882. type: integer
  15883. - description: 用户类型 2-机构 7-企业成员
  15884. in: query
  15885. name: usertype
  15886. type: integer
  15887. - description: 现货商品id
  15888. in: query
  15889. name: deliverygoodsid
  15890. type: integer
  15891. produces:
  15892. - application/json
  15893. responses:
  15894. "200":
  15895. description: OK
  15896. schema:
  15897. items:
  15898. $ref: '#/definitions/models.ErmcpDeliveryGoodsDetailEx'
  15899. type: array
  15900. "500":
  15901. description: Internal Server Error
  15902. schema:
  15903. $ref: '#/definitions/app.Response'
  15904. security:
  15905. - ApiKeyAuth: []
  15906. summary: 查询现货商品详情
  15907. tags:
  15908. - 企业风险管理v3(app)
  15909. /Ermcp3/QueryExposureDetail:
  15910. get:
  15911. parameters:
  15912. - description: 用户id
  15913. in: query
  15914. name: userid
  15915. required: true
  15916. type: integer
  15917. - description: 用户类型 2-机构 7-企业成员
  15918. in: query
  15919. name: usertype
  15920. type: integer
  15921. - description: 套保商品
  15922. in: query
  15923. name: middlegoodsid
  15924. required: true
  15925. type: integer
  15926. produces:
  15927. - application/json
  15928. responses:
  15929. "200":
  15930. description: OK
  15931. schema:
  15932. items:
  15933. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  15934. type: array
  15935. "500":
  15936. description: Internal Server Error
  15937. schema:
  15938. $ref: '#/definitions/app.Response'
  15939. security:
  15940. - ApiKeyAuth: []
  15941. summary: 查询敞口现货明细
  15942. tags:
  15943. - 企业风险管理v3(app)
  15944. /Ermcp3/QueryExposureSpot:
  15945. get:
  15946. parameters:
  15947. - description: 用户id
  15948. in: query
  15949. name: userid
  15950. required: true
  15951. type: integer
  15952. - description: 用户类型 2-机构 7-企业成员
  15953. in: query
  15954. name: usertype
  15955. type: integer
  15956. produces:
  15957. - application/json
  15958. responses:
  15959. "200":
  15960. description: OK
  15961. schema:
  15962. items:
  15963. $ref: '#/definitions/models.Ermcp3AreaSpot'
  15964. type: array
  15965. "500":
  15966. description: Internal Server Error
  15967. schema:
  15968. $ref: '#/definitions/app.Response'
  15969. security:
  15970. - ApiKeyAuth: []
  15971. summary: 查询敞口现货头寸(敞口/现货头寸)
  15972. tags:
  15973. - 企业风险管理v3(app)
  15974. /Ermcp3/QueryExposureSpotDetail:
  15975. get:
  15976. parameters:
  15977. - description: 用户id
  15978. in: query
  15979. name: userid
  15980. required: true
  15981. type: integer
  15982. - description: 用户类型 2-机构 7-企业成员
  15983. in: query
  15984. name: usertype
  15985. type: integer
  15986. - description: 现货品种ID
  15987. in: query
  15988. name: deliverygoodsid
  15989. required: true
  15990. type: integer
  15991. produces:
  15992. - application/json
  15993. responses:
  15994. "200":
  15995. description: OK
  15996. schema:
  15997. items:
  15998. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  15999. type: array
  16000. "500":
  16001. description: Internal Server Error
  16002. schema:
  16003. $ref: '#/definitions/app.Response'
  16004. security:
  16005. - ApiKeyAuth: []
  16006. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  16007. tags:
  16008. - 企业风险管理v3(app)
  16009. /Ermcp3/QueryGoodsGroup:
  16010. get:
  16011. parameters:
  16012. - description: 用户id
  16013. in: query
  16014. name: userid
  16015. required: true
  16016. type: integer
  16017. - description: 用户类型 2-机构 7-企业成员
  16018. in: query
  16019. name: usertype
  16020. type: integer
  16021. - description: 排除套保品中已关联的商品组 1-排除
  16022. in: query
  16023. name: excludecfg
  16024. type: integer
  16025. produces:
  16026. - application/json
  16027. responses:
  16028. "200":
  16029. description: OK
  16030. schema:
  16031. items:
  16032. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  16033. type: array
  16034. "500":
  16035. description: Internal Server Error
  16036. schema:
  16037. $ref: '#/definitions/app.Response'
  16038. security:
  16039. - ApiKeyAuth: []
  16040. summary: 查询期货商品组
  16041. tags:
  16042. - 企业风险管理v3(app)
  16043. /Ermcp3/QueryGoodsWrstandard:
  16044. get:
  16045. parameters:
  16046. - description: 用户id
  16047. in: query
  16048. name: userid
  16049. required: true
  16050. type: integer
  16051. - description: 用户类型 2-机构 7-企业成员
  16052. in: query
  16053. name: usertype
  16054. type: integer
  16055. - description: 现货商品id
  16056. in: query
  16057. name: deliverygoodsid
  16058. type: integer
  16059. produces:
  16060. - application/json
  16061. responses:
  16062. "200":
  16063. description: OK
  16064. schema:
  16065. items:
  16066. $ref: '#/definitions/models.Ermcp3Wrstandard'
  16067. type: array
  16068. "500":
  16069. description: Internal Server Error
  16070. schema:
  16071. $ref: '#/definitions/app.Response'
  16072. security:
  16073. - ApiKeyAuth: []
  16074. summary: 查询商品品类
  16075. tags:
  16076. - 企业风险管理v3(app)
  16077. /Ermcp3/QueryGoodsbrand:
  16078. get:
  16079. parameters:
  16080. - description: 用户id
  16081. in: query
  16082. name: userid
  16083. required: true
  16084. type: integer
  16085. - description: 用户类型 2-机构 7-企业成员
  16086. in: query
  16087. name: usertype
  16088. type: integer
  16089. produces:
  16090. - application/json
  16091. responses:
  16092. "200":
  16093. description: OK
  16094. schema:
  16095. items:
  16096. $ref: '#/definitions/models.Ermcp3Brand'
  16097. type: array
  16098. "500":
  16099. description: Internal Server Error
  16100. schema:
  16101. $ref: '#/definitions/app.Response'
  16102. security:
  16103. - ApiKeyAuth: []
  16104. summary: 查询商品品牌
  16105. tags:
  16106. - 企业风险管理v3(app)
  16107. /Ermcp3/QueryHedgePlan:
  16108. get:
  16109. parameters:
  16110. - description: 用户ID
  16111. in: query
  16112. name: userid
  16113. required: true
  16114. type: integer
  16115. - description: 用户类型 2-机构 7-企业成员
  16116. in: query
  16117. name: usertype
  16118. type: integer
  16119. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  16120. in: query
  16121. name: hedgeplanstatus
  16122. required: true
  16123. type: string
  16124. produces:
  16125. - application/json
  16126. responses:
  16127. "200":
  16128. description: OK
  16129. schema:
  16130. items:
  16131. $ref: '#/definitions/models.Ermcp3HedgePlan'
  16132. type: array
  16133. "500":
  16134. description: Internal Server Error
  16135. schema:
  16136. $ref: '#/definitions/app.Response'
  16137. security:
  16138. - ApiKeyAuth: []
  16139. summary: 查询套保计划
  16140. tags:
  16141. - 企业风险管理v3(app)
  16142. /Ermcp3/QueryMiddleGoodsDetail:
  16143. get:
  16144. parameters:
  16145. - description: 用户id
  16146. in: query
  16147. name: userid
  16148. required: true
  16149. type: integer
  16150. - description: 用户类型 2-机构 7-企业成员
  16151. in: query
  16152. name: usertype
  16153. type: integer
  16154. - description: 套保品种id
  16155. in: query
  16156. name: middlegoodsid
  16157. type: integer
  16158. produces:
  16159. - application/json
  16160. responses:
  16161. "200":
  16162. description: OK
  16163. schema:
  16164. items:
  16165. $ref: '#/definitions/models.Ermcp3MiddleGoodsDetailEx'
  16166. type: array
  16167. "500":
  16168. description: Internal Server Error
  16169. schema:
  16170. $ref: '#/definitions/app.Response'
  16171. security:
  16172. - ApiKeyAuth: []
  16173. summary: 查询套保品种详情(套保品种/商品详情)
  16174. tags:
  16175. - 企业风险管理v3(app)
  16176. /Ermcp3/QueryRootUserAccount:
  16177. get:
  16178. parameters:
  16179. - description: 用户ID
  16180. in: query
  16181. name: userid
  16182. required: true
  16183. type: integer
  16184. produces:
  16185. - application/json
  16186. responses:
  16187. "200":
  16188. description: OK
  16189. schema:
  16190. items:
  16191. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  16192. type: array
  16193. "500":
  16194. description: Internal Server Error
  16195. schema:
  16196. $ref: '#/definitions/app.Response'
  16197. security:
  16198. - ApiKeyAuth: []
  16199. summary: 查询顶级用户信息
  16200. tags:
  16201. - 企业风险管理v3(app)
  16202. /Ermcp3/QuerySpotContract:
  16203. get:
  16204. parameters:
  16205. - description: 用户id
  16206. in: query
  16207. name: userid
  16208. required: true
  16209. type: integer
  16210. - description: 用户类型 2-机构 7-企业成员
  16211. in: query
  16212. name: usertype
  16213. type: integer
  16214. - description: 查询类型 1-未提交 2-待审核 3-履约中 4-已完成
  16215. in: query
  16216. name: querytype
  16217. required: true
  16218. type: integer
  16219. - description: 合同ID(SpotContractId)
  16220. in: query
  16221. name: contractid
  16222. type: string
  16223. produces:
  16224. - application/json
  16225. responses:
  16226. "200":
  16227. description: OK
  16228. schema:
  16229. items:
  16230. $ref: '#/definitions/models.Ermcp3Contract'
  16231. type: array
  16232. "500":
  16233. description: Internal Server Error
  16234. schema:
  16235. $ref: '#/definitions/app.Response'
  16236. security:
  16237. - ApiKeyAuth: []
  16238. summary: 查询现货合同
  16239. tags:
  16240. - 企业风险管理v3(app)
  16241. /Ermcp3/QuerySpotContractBS:
  16242. get:
  16243. parameters:
  16244. - description: 用户id
  16245. in: query
  16246. name: userid
  16247. required: true
  16248. type: integer
  16249. - description: 用户类型 2-机构 7-企业成员
  16250. in: query
  16251. name: usertype
  16252. type: integer
  16253. - description: 合同类型 1-采购, -1-销售
  16254. in: query
  16255. name: contracttype
  16256. required: true
  16257. type: integer
  16258. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  16259. in: query
  16260. name: querytype
  16261. required: true
  16262. type: integer
  16263. - description: 合同ID(SpotContractId)
  16264. in: query
  16265. name: contractid
  16266. type: string
  16267. produces:
  16268. - application/json
  16269. responses:
  16270. "200":
  16271. description: OK
  16272. schema:
  16273. items:
  16274. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  16275. type: array
  16276. "500":
  16277. description: Internal Server Error
  16278. schema:
  16279. $ref: '#/definitions/app.Response'
  16280. security:
  16281. - ApiKeyAuth: []
  16282. summary: 查询合同(采购/销售)
  16283. tags:
  16284. - 企业风险管理v3(app)
  16285. /Ermcp3/QuerySpotGoodsPrice:
  16286. get:
  16287. parameters:
  16288. - description: 用户ID
  16289. in: query
  16290. name: userid
  16291. required: true
  16292. type: integer
  16293. produces:
  16294. - application/json
  16295. responses:
  16296. "200":
  16297. description: OK
  16298. schema:
  16299. items:
  16300. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  16301. type: array
  16302. "500":
  16303. description: Internal Server Error
  16304. schema:
  16305. $ref: '#/definitions/app.Response'
  16306. security:
  16307. - ApiKeyAuth: []
  16308. summary: 查询现货市价(现货市价)
  16309. tags:
  16310. - 企业风险管理v3(app)
  16311. /Ermcp3/QuerySpotGoodsPriceLog:
  16312. get:
  16313. parameters:
  16314. - description: 用户ID
  16315. in: query
  16316. name: userid
  16317. required: true
  16318. type: integer
  16319. - description: 现货商品ID
  16320. in: query
  16321. name: deliverygoodsid
  16322. required: true
  16323. type: integer
  16324. - description: 品牌ID
  16325. in: query
  16326. name: brandid
  16327. type: integer
  16328. - description: 品类ID
  16329. in: query
  16330. name: wrstandardid
  16331. type: integer
  16332. produces:
  16333. - application/json
  16334. responses:
  16335. "200":
  16336. description: OK
  16337. schema:
  16338. items:
  16339. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  16340. type: array
  16341. "500":
  16342. description: Internal Server Error
  16343. schema:
  16344. $ref: '#/definitions/app.Response'
  16345. security:
  16346. - ApiKeyAuth: []
  16347. summary: 查询现货市价详情(现货市价/详情)
  16348. tags:
  16349. - 企业风险管理v3(app)
  16350. /Erms2/QueryArbitrageStrategy:
  16351. get:
  16352. parameters:
  16353. - description: 账户ID
  16354. in: query
  16355. name: userid
  16356. required: true
  16357. type: integer
  16358. - description: 商品组ID(品种ID)
  16359. in: query
  16360. name: goodsgroupid
  16361. type: string
  16362. produces:
  16363. - application/json
  16364. responses:
  16365. "200":
  16366. description: OK
  16367. schema:
  16368. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  16369. "500":
  16370. description: Internal Server Error
  16371. schema:
  16372. $ref: '#/definitions/app.Response'
  16373. security:
  16374. - ApiKeyAuth: []
  16375. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  16376. tags:
  16377. - 风险管理
  16378. /Erms2/QueryInnerTradeDetail:
  16379. get:
  16380. parameters:
  16381. - description: 资金账户
  16382. in: query
  16383. name: accountid
  16384. required: true
  16385. type: integer
  16386. produces:
  16387. - application/json
  16388. responses:
  16389. "200":
  16390. description: OK
  16391. schema:
  16392. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  16393. "500":
  16394. description: Internal Server Error
  16395. schema:
  16396. $ref: '#/definitions/app.Response'
  16397. security:
  16398. - ApiKeyAuth: []
  16399. summary: 查询内部成交单信息
  16400. tags:
  16401. - 风险管理
  16402. /Erms2/QuerySpotContract:
  16403. get:
  16404. parameters:
  16405. - description: 策略申请ID
  16406. in: query
  16407. name: asapplyid
  16408. required: true
  16409. type: integer
  16410. - description: 现货合同ID
  16411. in: query
  16412. name: spotcontractid
  16413. type: integer
  16414. produces:
  16415. - application/json
  16416. responses:
  16417. "200":
  16418. description: OK
  16419. schema:
  16420. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  16421. "500":
  16422. description: Internal Server Error
  16423. schema:
  16424. $ref: '#/definitions/app.Response'
  16425. security:
  16426. - ApiKeyAuth: []
  16427. summary: 查询现货合同表信息(指定策略ID、未结束的)
  16428. tags:
  16429. - 风险管理
  16430. /Erms3/AddErms2ASApply:
  16431. post:
  16432. parameters:
  16433. - description: 申请参数
  16434. in: body
  16435. name: jsonBody
  16436. required: true
  16437. schema:
  16438. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  16439. produces:
  16440. - application/json
  16441. responses:
  16442. "200":
  16443. description: OK
  16444. schema:
  16445. $ref: '#/definitions/app.Response'
  16446. "500":
  16447. description: Internal Server Error
  16448. schema:
  16449. $ref: '#/definitions/app.Response'
  16450. security:
  16451. - ApiKeyAuth: []
  16452. summary: 新增期现套利业务申请
  16453. tags:
  16454. - 风险管理v3
  16455. /Erms3/AddErms2SpotTradeApply:
  16456. post:
  16457. parameters:
  16458. - description: 申请参数
  16459. in: body
  16460. name: jsonBody
  16461. required: true
  16462. schema:
  16463. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  16464. produces:
  16465. - application/json
  16466. responses:
  16467. "200":
  16468. description: OK
  16469. schema:
  16470. $ref: '#/definitions/app.Response'
  16471. "500":
  16472. description: Internal Server Error
  16473. schema:
  16474. $ref: '#/definitions/app.Response'
  16475. security:
  16476. - ApiKeyAuth: []
  16477. summary: 新增现货贸易业务申请
  16478. tags:
  16479. - 风险管理v3
  16480. /Erms3/AddSpotContractApply:
  16481. post:
  16482. parameters:
  16483. - description: 申请参数
  16484. in: body
  16485. name: jsonBody
  16486. required: true
  16487. schema:
  16488. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  16489. produces:
  16490. - application/json
  16491. responses:
  16492. "200":
  16493. description: OK
  16494. schema:
  16495. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  16496. "500":
  16497. description: Internal Server Error
  16498. schema:
  16499. $ref: '#/definitions/app.Response'
  16500. security:
  16501. - ApiKeyAuth: []
  16502. summary: 新增现货合同申请
  16503. tags:
  16504. - 风险管理v3
  16505. /Erms3/AddUserInfoApply:
  16506. post:
  16507. parameters:
  16508. - description: 用户信息
  16509. in: body
  16510. name: jsonBody
  16511. required: true
  16512. schema:
  16513. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  16514. produces:
  16515. - application/json
  16516. responses:
  16517. "200":
  16518. description: OK
  16519. schema:
  16520. $ref: '#/definitions/app.Response'
  16521. "500":
  16522. description: Internal Server Error
  16523. schema:
  16524. $ref: '#/definitions/app.Response'
  16525. security:
  16526. - ApiKeyAuth: []
  16527. summary: 新增客户申请
  16528. tags:
  16529. - 风险管理v3
  16530. /Erms3/DeleteUserInfoApply:
  16531. get:
  16532. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  16533. parameters:
  16534. - description: 用户ID
  16535. in: query
  16536. name: userID
  16537. required: true
  16538. type: integer
  16539. produces:
  16540. - application/json
  16541. responses:
  16542. "200":
  16543. description: OK
  16544. schema:
  16545. $ref: '#/definitions/app.Response'
  16546. "500":
  16547. description: Internal Server Error
  16548. schema:
  16549. $ref: '#/definitions/app.Response'
  16550. security:
  16551. - ApiKeyAuth: []
  16552. summary: 删除客户申请
  16553. tags:
  16554. - 风险管理v3
  16555. /Erms3/ModifyUserInfoApply:
  16556. post:
  16557. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  16558. int, "userstate": 2 }'
  16559. parameters:
  16560. - description: 用户信息
  16561. in: body
  16562. name: jsonBody
  16563. required: true
  16564. schema:
  16565. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  16566. produces:
  16567. - application/json
  16568. responses:
  16569. "200":
  16570. description: OK
  16571. schema:
  16572. $ref: '#/definitions/app.Response'
  16573. "500":
  16574. description: Internal Server Error
  16575. schema:
  16576. $ref: '#/definitions/app.Response'
  16577. security:
  16578. - ApiKeyAuth: []
  16579. summary: 修改客户申请
  16580. tags:
  16581. - 风险管理v3
  16582. /Erms3/QueryBusinessInfo:
  16583. get:
  16584. parameters:
  16585. - description: 资金账号ID列表,用逗号分隔
  16586. in: query
  16587. name: accountids
  16588. required: true
  16589. type: string
  16590. - description: 状态,0为未结束 1为已结束
  16591. in: query
  16592. name: status
  16593. required: true
  16594. type: integer
  16595. produces:
  16596. - application/json
  16597. responses:
  16598. "200":
  16599. description: OK
  16600. schema:
  16601. items:
  16602. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  16603. type: array
  16604. "500":
  16605. description: Internal Server Error
  16606. schema:
  16607. $ref: '#/definitions/app.Response'
  16608. security:
  16609. - ApiKeyAuth: []
  16610. summary: 查询业务表单数据
  16611. tags:
  16612. - 风险管理v3
  16613. /Erms3/QueryPendingAuditContract:
  16614. get:
  16615. parameters:
  16616. - description: 资金账号ID列表,逗号隔开
  16617. in: query
  16618. name: accountids
  16619. required: true
  16620. type: string
  16621. - description: 合同类型 1-采购 -1-销售
  16622. in: query
  16623. name: contracttype
  16624. required: true
  16625. type: integer
  16626. - description: 合同模式 1-普通 2-回购
  16627. in: query
  16628. name: contractmode
  16629. required: true
  16630. type: integer
  16631. produces:
  16632. - application/json
  16633. responses:
  16634. "200":
  16635. description: OK
  16636. schema:
  16637. items:
  16638. $ref: '#/definitions/erms3.QryAuditContractRsp'
  16639. type: array
  16640. "500":
  16641. description: Internal Server Error
  16642. schema:
  16643. $ref: '#/definitions/app.Response'
  16644. security:
  16645. - ApiKeyAuth: []
  16646. summary: 查询待审核合同
  16647. tags:
  16648. - 风险管理v3
  16649. /Erms3/QueryPendingBusiness:
  16650. get:
  16651. parameters:
  16652. - description: 资金账号ID列表,逗号隔开
  16653. in: query
  16654. name: accountids
  16655. required: true
  16656. type: string
  16657. produces:
  16658. - application/json
  16659. responses:
  16660. "200":
  16661. description: OK
  16662. schema:
  16663. items:
  16664. $ref: '#/definitions/erms3.QryPendingBizRsp'
  16665. type: array
  16666. "500":
  16667. description: Internal Server Error
  16668. schema:
  16669. $ref: '#/definitions/app.Response'
  16670. security:
  16671. - ApiKeyAuth: []
  16672. summary: 查询待审核基差贸易业务
  16673. tags:
  16674. - 风险管理v3
  16675. /Erms3/QuerySpotContractAppleForm:
  16676. get:
  16677. parameters:
  16678. - description: 登录账号
  16679. in: query
  16680. name: loginID
  16681. required: true
  16682. type: integer
  16683. produces:
  16684. - application/json
  16685. responses:
  16686. "200":
  16687. description: OK
  16688. schema:
  16689. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  16690. "500":
  16691. description: Internal Server Error
  16692. schema:
  16693. $ref: '#/definitions/app.Response'
  16694. security:
  16695. - ApiKeyAuth: []
  16696. summary: 查询合同申请表单数据
  16697. tags:
  16698. - 风险管理v3
  16699. /Erms3/QuerySpotContractDetail:
  16700. get:
  16701. parameters:
  16702. - description: 资金账号ID列表,用逗号分隔
  16703. in: query
  16704. name: accountids
  16705. required: true
  16706. type: string
  16707. - description: 合同类型,1为采购合同 -1为销售合同
  16708. in: query
  16709. name: contracttype
  16710. required: true
  16711. type: integer
  16712. - description: 合同模式,1为普通合同 2为回购销售合同
  16713. in: query
  16714. name: contractmode
  16715. required: true
  16716. type: integer
  16717. - description: 状态,0为履约中 1为已完成
  16718. in: query
  16719. name: status
  16720. required: true
  16721. type: integer
  16722. produces:
  16723. - application/json
  16724. responses:
  16725. "200":
  16726. description: OK
  16727. schema:
  16728. items:
  16729. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  16730. type: array
  16731. "500":
  16732. description: Internal Server Error
  16733. schema:
  16734. $ref: '#/definitions/app.Response'
  16735. security:
  16736. - ApiKeyAuth: []
  16737. summary: 查询合同详细信息
  16738. tags:
  16739. - 风险管理v3
  16740. /Erms3/QueryUserInfoApplies:
  16741. get:
  16742. parameters:
  16743. - description: 页码
  16744. in: query
  16745. name: page
  16746. type: integer
  16747. - description: 每页条数
  16748. in: query
  16749. name: pagesize
  16750. type: integer
  16751. - description: 客户名称,支持模糊查询
  16752. in: query
  16753. name: userName
  16754. type: string
  16755. produces:
  16756. - application/json
  16757. responses:
  16758. "200":
  16759. description: OK
  16760. schema:
  16761. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  16762. "500":
  16763. description: Internal Server Error
  16764. schema:
  16765. $ref: '#/definitions/app.Response'
  16766. security:
  16767. - ApiKeyAuth: []
  16768. summary: 客户申请信息查询
  16769. tags:
  16770. - 风险管理v3
  16771. /Erms3/QueryUserInfos:
  16772. get:
  16773. parameters:
  16774. - description: 页码
  16775. in: query
  16776. name: page
  16777. type: integer
  16778. - description: 每页条数
  16779. in: query
  16780. name: pagesize
  16781. type: integer
  16782. - description: 客户名称,支持模糊查询
  16783. in: query
  16784. name: userName
  16785. type: string
  16786. produces:
  16787. - application/json
  16788. responses:
  16789. "200":
  16790. description: OK
  16791. schema:
  16792. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  16793. "500":
  16794. description: Internal Server Error
  16795. schema:
  16796. $ref: '#/definitions/app.Response'
  16797. security:
  16798. - ApiKeyAuth: []
  16799. summary: 客户信息查询
  16800. tags:
  16801. - 风险管理v3
  16802. /HSBY/GetHsbyMyCount:
  16803. get:
  16804. description: 说明: 不包括已完成的数量。
  16805. parameters:
  16806. - description: 资金账户列表,格式:1,2,3
  16807. in: query
  16808. name: accountIDs
  16809. required: true
  16810. type: string
  16811. produces:
  16812. - application/json
  16813. responses:
  16814. "200":
  16815. description: OK
  16816. schema:
  16817. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  16818. "500":
  16819. description: Internal Server Error
  16820. schema:
  16821. $ref: '#/definitions/app.Response'
  16822. security:
  16823. - ApiKeyAuth: []
  16824. summary: 获取我的订单与包裹数量
  16825. tags:
  16826. - 定制【海商报业】
  16827. /HSBY/QueryClientFixedADConfigs:
  16828. get:
  16829. produces:
  16830. - application/json
  16831. responses:
  16832. "200":
  16833. description: OK
  16834. schema:
  16835. $ref: '#/definitions/models.Clientfixedadconfig'
  16836. "500":
  16837. description: Internal Server Error
  16838. schema:
  16839. $ref: '#/definitions/app.Response'
  16840. security:
  16841. - ApiKeyAuth: []
  16842. summary: 获取终端固定广告配置
  16843. tags:
  16844. - 定制【海商报业】
  16845. /HSBY/QueryHsbyBuyMyTradeDetail:
  16846. get:
  16847. parameters:
  16848. - description: 页码
  16849. in: query
  16850. name: page
  16851. type: integer
  16852. - description: 每页条数
  16853. in: query
  16854. name: pagesize
  16855. type: integer
  16856. - description: 资金账户列表,格式:1,2,3
  16857. in: query
  16858. name: accountIDs
  16859. required: true
  16860. type: string
  16861. produces:
  16862. - application/json
  16863. responses:
  16864. "200":
  16865. description: OK
  16866. schema:
  16867. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  16868. "500":
  16869. description: Internal Server Error
  16870. schema:
  16871. $ref: '#/definitions/app.Response'
  16872. security:
  16873. - ApiKeyAuth: []
  16874. summary: 查询"我的订单 - 已完成"单据信息
  16875. tags:
  16876. - 定制【海商报业】
  16877. /HSBY/QueryHsbyGoodsOrderDetails:
  16878. get:
  16879. description: 说明:查询结果已按委托价格和委托时间排序
  16880. parameters:
  16881. - description: 商品ID
  16882. in: query
  16883. name: goodsID
  16884. required: true
  16885. type: integer
  16886. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  16887. in: query
  16888. name: accountIDs
  16889. type: string
  16890. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  16891. in: query
  16892. name: buyOrSell
  16893. type: integer
  16894. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  16895. in: query
  16896. name: price
  16897. type: number
  16898. - description: 档位,不传则默认为3档
  16899. in: query
  16900. name: speed
  16901. type: integer
  16902. produces:
  16903. - application/json
  16904. responses:
  16905. "200":
  16906. description: OK
  16907. schema:
  16908. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  16909. "500":
  16910. description: Internal Server Error
  16911. schema:
  16912. $ref: '#/definitions/app.Response'
  16913. security:
  16914. - ApiKeyAuth: []
  16915. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  16916. tags:
  16917. - 定制【海商报业】
  16918. /HSBY/QueryHsbyListingGoodsDetail:
  16919. get:
  16920. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  16921. parameters:
  16922. - description: 商品ID
  16923. in: query
  16924. name: goodsID
  16925. required: true
  16926. type: integer
  16927. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  16928. in: query
  16929. name: accountID
  16930. type: integer
  16931. produces:
  16932. - application/json
  16933. responses:
  16934. "200":
  16935. description: OK
  16936. schema:
  16937. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  16938. "500":
  16939. description: Internal Server Error
  16940. schema:
  16941. $ref: '#/definitions/app.Response'
  16942. security:
  16943. - ApiKeyAuth: []
  16944. summary: 查询二级市场(挂牌点选)商品信息详情
  16945. tags:
  16946. - 定制【海商报业】
  16947. /HSBY/QueryHsbyMarketGoodsDetail:
  16948. get:
  16949. parameters:
  16950. - description: 委托单号
  16951. in: query
  16952. name: orderID
  16953. required: true
  16954. type: integer
  16955. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  16956. in: query
  16957. name: accountID
  16958. type: integer
  16959. produces:
  16960. - application/json
  16961. responses:
  16962. "200":
  16963. description: OK
  16964. schema:
  16965. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  16966. "500":
  16967. description: Internal Server Error
  16968. schema:
  16969. $ref: '#/definitions/app.Response'
  16970. security:
  16971. - ApiKeyAuth: []
  16972. summary: 查询三级市场(商城)商品信息详情
  16973. tags:
  16974. - 定制【海商报业】
  16975. /HSBY/QueryHsbyMarketGoodses:
  16976. get:
  16977. parameters:
  16978. - description: 页码
  16979. in: query
  16980. name: page
  16981. type: integer
  16982. - description: 每页条数
  16983. in: query
  16984. name: pagesize
  16985. type: integer
  16986. - description: 市场ID列表,格式:1,2,3
  16987. in: query
  16988. name: marketIDs
  16989. required: true
  16990. type: string
  16991. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  16992. in: query
  16993. name: accountID
  16994. required: true
  16995. type: integer
  16996. - description: 类别ID
  16997. in: query
  16998. name: categoryID
  16999. type: integer
  17000. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  17001. in: query
  17002. name: goodsIDs
  17003. type: string
  17004. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  17005. in: query
  17006. name: couponTypeID
  17007. type: integer
  17008. produces:
  17009. - application/json
  17010. responses:
  17011. "200":
  17012. description: OK
  17013. schema:
  17014. $ref: '#/definitions/models.HsbyMarketGoods'
  17015. "500":
  17016. description: Internal Server Error
  17017. schema:
  17018. $ref: '#/definitions/app.Response'
  17019. security:
  17020. - ApiKeyAuth: []
  17021. summary: 查询特卖商品列表(三级商城)
  17022. tags:
  17023. - 定制【海商报业】
  17024. /HSBY/QueryHsbyMarkets:
  17025. get:
  17026. produces:
  17027. - application/json
  17028. responses:
  17029. "200":
  17030. description: OK
  17031. schema:
  17032. $ref: '#/definitions/models.HsbyMarketInfo'
  17033. "500":
  17034. description: Internal Server Error
  17035. schema:
  17036. $ref: '#/definitions/app.Response'
  17037. security:
  17038. - ApiKeyAuth: []
  17039. summary: 查询海商报业相关市场信息
  17040. tags:
  17041. - 定制【海商报业】
  17042. /HSBY/QueryHsbyMyBuyOrderDetails:
  17043. get:
  17044. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  17045. parameters:
  17046. - description: 资金账户列表,格式:1,2,3
  17047. in: query
  17048. name: accountIDs
  17049. required: true
  17050. type: string
  17051. produces:
  17052. - application/json
  17053. responses:
  17054. "200":
  17055. description: OK
  17056. schema:
  17057. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  17058. "500":
  17059. description: Internal Server Error
  17060. schema:
  17061. $ref: '#/definitions/app.Response'
  17062. security:
  17063. - ApiKeyAuth: []
  17064. summary: 查询“我的订单”信息
  17065. tags:
  17066. - 定制【海商报业】
  17067. /HSBY/QueryHsbyMyGoods:
  17068. get:
  17069. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  17070. parameters:
  17071. - description: 资金账户列表,格式:1,2,3
  17072. in: query
  17073. name: accountIDs
  17074. required: true
  17075. type: string
  17076. produces:
  17077. - application/json
  17078. responses:
  17079. "200":
  17080. description: OK
  17081. schema:
  17082. $ref: '#/definitions/models.HsbyMyGoods'
  17083. "500":
  17084. description: Internal Server Error
  17085. schema:
  17086. $ref: '#/definitions/app.Response'
  17087. security:
  17088. - ApiKeyAuth: []
  17089. summary: 查询“我的商品”信息
  17090. tags:
  17091. - 定制【海商报业】
  17092. /HSBY/QueryHsbyMyPackages:
  17093. get:
  17094. parameters:
  17095. - description: 资金账户列表,格式:1,2,3
  17096. in: query
  17097. name: accountIDs
  17098. required: true
  17099. type: string
  17100. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  17101. in: query
  17102. name: takeOrderStatus
  17103. type: integer
  17104. produces:
  17105. - application/json
  17106. responses:
  17107. "200":
  17108. description: OK
  17109. schema:
  17110. $ref: '#/definitions/models.HsbyMyPackage'
  17111. "500":
  17112. description: Internal Server Error
  17113. schema:
  17114. $ref: '#/definitions/app.Response'
  17115. security:
  17116. - ApiKeyAuth: []
  17117. summary: 查询我的包裹信息
  17118. tags:
  17119. - 定制【海商报业】
  17120. /HSBY/QueryHsbyPreGoodsDetail:
  17121. get:
  17122. parameters:
  17123. - description: 商品ID
  17124. in: query
  17125. name: goodsID
  17126. required: true
  17127. type: integer
  17128. - description: 资金账户,主要用于获取预售商品购买上限
  17129. in: query
  17130. name: accountID
  17131. type: integer
  17132. produces:
  17133. - application/json
  17134. responses:
  17135. "200":
  17136. description: OK
  17137. schema:
  17138. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  17139. "500":
  17140. description: Internal Server Error
  17141. schema:
  17142. $ref: '#/definitions/app.Response'
  17143. security:
  17144. - ApiKeyAuth: []
  17145. summary: 查询一级市场(预售)商品信息详情
  17146. tags:
  17147. - 定制【海商报业】
  17148. /HSBY/QueryHsbyPreGoodses:
  17149. get:
  17150. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  17151. parameters:
  17152. - description: 页码
  17153. in: query
  17154. name: page
  17155. type: integer
  17156. - description: 每页条数
  17157. in: query
  17158. name: pagesize
  17159. type: integer
  17160. - description: 市场ID列表,格式:1,2,3
  17161. in: query
  17162. name: marketIDs
  17163. required: true
  17164. type: string
  17165. - description: 目的地(省)ID
  17166. in: query
  17167. name: descProvinceID
  17168. type: integer
  17169. - description: 目的地(市)ID
  17170. in: query
  17171. name: descCityID
  17172. type: integer
  17173. produces:
  17174. - application/json
  17175. responses:
  17176. "200":
  17177. description: OK
  17178. schema:
  17179. $ref: '#/definitions/models.HsbyPreGoods'
  17180. "500":
  17181. description: Internal Server Error
  17182. schema:
  17183. $ref: '#/definitions/app.Response'
  17184. security:
  17185. - ApiKeyAuth: []
  17186. summary: 查询新品上市商品列表(一级市场预售)
  17187. tags:
  17188. - 定制【海商报业】
  17189. /HSBY/QueryHsbySellMyDetails:
  17190. get:
  17191. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  17192. parameters:
  17193. - description: 页码
  17194. in: query
  17195. name: page
  17196. type: integer
  17197. - description: 每页条数
  17198. in: query
  17199. name: pagesize
  17200. type: integer
  17201. - description: 资金账户列表,格式:1,2,3
  17202. in: query
  17203. name: accountIDs
  17204. required: true
  17205. type: string
  17206. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  17207. in: query
  17208. name: orderType
  17209. type: integer
  17210. produces:
  17211. - application/json
  17212. responses:
  17213. "200":
  17214. description: OK
  17215. schema:
  17216. $ref: '#/definitions/models.HsbySellMyDetail'
  17217. "500":
  17218. description: Internal Server Error
  17219. schema:
  17220. $ref: '#/definitions/app.Response'
  17221. security:
  17222. - ApiKeyAuth: []
  17223. summary: 查询"我的闲置"单据信息
  17224. tags:
  17225. - 定制【海商报业】
  17226. /HSBY/QueryHsbyTopGoodses:
  17227. get:
  17228. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  17229. parameters:
  17230. - description: 页码
  17231. in: query
  17232. name: page
  17233. type: integer
  17234. - description: 每页条数
  17235. in: query
  17236. name: pagesize
  17237. type: integer
  17238. - description: 市场ID列表,格式:1,2,3
  17239. in: query
  17240. name: marketIDs
  17241. required: true
  17242. type: string
  17243. - description: 目的地(省)ID
  17244. in: query
  17245. name: descProvinceID
  17246. type: integer
  17247. - description: 目的地(市)ID
  17248. in: query
  17249. name: descCityID
  17250. type: integer
  17251. produces:
  17252. - application/json
  17253. responses:
  17254. "200":
  17255. description: OK
  17256. schema:
  17257. $ref: '#/definitions/models.HsbyTopGoods'
  17258. "500":
  17259. description: Internal Server Error
  17260. schema:
  17261. $ref: '#/definitions/app.Response'
  17262. security:
  17263. - ApiKeyAuth: []
  17264. summary: 查询热卖商品列表(二级市场挂牌点选)
  17265. tags:
  17266. - 定制【海商报业】
  17267. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  17268. get:
  17269. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  17270. parameters:
  17271. - description: 商品ID
  17272. in: query
  17273. name: goodsID
  17274. required: true
  17275. type: integer
  17276. produces:
  17277. - application/json
  17278. responses:
  17279. "200":
  17280. description: OK
  17281. schema:
  17282. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  17283. "500":
  17284. description: Internal Server Error
  17285. schema:
  17286. $ref: '#/definitions/app.Response'
  17287. security:
  17288. - ApiKeyAuth: []
  17289. summary: 查询游客三级市场(商城)商品信息详情
  17290. tags:
  17291. - 定制【海商报业】
  17292. /HSBY/QueryHsbyVisitorMarketGoodses:
  17293. get:
  17294. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  17295. parameters:
  17296. - description: 页码
  17297. in: query
  17298. name: page
  17299. type: integer
  17300. - description: 每页条数
  17301. in: query
  17302. name: pagesize
  17303. type: integer
  17304. - description: 市场ID列表,格式:1,2,3
  17305. in: query
  17306. name: marketIDs
  17307. required: true
  17308. type: string
  17309. - description: 类别ID
  17310. in: query
  17311. name: categoryID
  17312. type: integer
  17313. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  17314. in: query
  17315. name: goodsIDs
  17316. type: string
  17317. produces:
  17318. - application/json
  17319. responses:
  17320. "200":
  17321. description: OK
  17322. schema:
  17323. $ref: '#/definitions/models.HsbyMarketGoods'
  17324. "500":
  17325. description: Internal Server Error
  17326. schema:
  17327. $ref: '#/definitions/app.Response'
  17328. security:
  17329. - ApiKeyAuth: []
  17330. summary: 查询游客特卖商品列表(三级商城)
  17331. tags:
  17332. - 定制【海商报业】
  17333. /HSBY/QueryMyCollectionOrders:
  17334. get:
  17335. parameters:
  17336. - description: 页码
  17337. in: query
  17338. name: page
  17339. type: integer
  17340. - description: 每页条数
  17341. in: query
  17342. name: pagesize
  17343. type: integer
  17344. - description: 资金账户,格式:1,2,3
  17345. in: query
  17346. name: accountIDs
  17347. required: true
  17348. type: string
  17349. produces:
  17350. - application/json
  17351. responses:
  17352. "200":
  17353. description: OK
  17354. schema:
  17355. $ref: '#/definitions/models.HsbySellCollectionOrder'
  17356. "500":
  17357. description: Internal Server Error
  17358. schema:
  17359. $ref: '#/definitions/app.Response'
  17360. security:
  17361. - ApiKeyAuth: []
  17362. summary: 我的闲置中收款信息查询
  17363. tags:
  17364. - 定制【海商报业】
  17365. /HSBY/QueryMyCouponHolds:
  17366. get:
  17367. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  17368. parameters:
  17369. - description: 资金账户列表,格式:1,2,3
  17370. in: query
  17371. name: accountIDs
  17372. required: true
  17373. type: string
  17374. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  17375. in: query
  17376. name: holdStatus
  17377. type: string
  17378. produces:
  17379. - application/json
  17380. responses:
  17381. "200":
  17382. description: OK
  17383. schema:
  17384. $ref: '#/definitions/models.MyCouponHold'
  17385. "500":
  17386. description: Internal Server Error
  17387. schema:
  17388. $ref: '#/definitions/app.Response'
  17389. security:
  17390. - ApiKeyAuth: []
  17391. summary: 我的优惠卷持仓查询
  17392. tags:
  17393. - 定制【海商报业】
  17394. /HSBY/QueryMyCoupons:
  17395. get:
  17396. parameters:
  17397. - description: 资金账户列表,格式:1,2,3
  17398. in: query
  17399. name: accountIDs
  17400. required: true
  17401. type: string
  17402. - description: 商品ID, 一般与sellUserID配套传入
  17403. in: query
  17404. name: goodsID
  17405. type: integer
  17406. - description: 卖方UserID
  17407. in: query
  17408. name: sellUserID
  17409. type: integer
  17410. produces:
  17411. - application/json
  17412. responses:
  17413. "200":
  17414. description: OK
  17415. schema:
  17416. $ref: '#/definitions/models.MyCoupon'
  17417. "500":
  17418. description: Internal Server Error
  17419. schema:
  17420. $ref: '#/definitions/app.Response'
  17421. security:
  17422. - ApiKeyAuth: []
  17423. summary: 我的优惠卷查询
  17424. tags:
  17425. - 定制【海商报业】
  17426. /HSBY/QueryMyPayOrders:
  17427. get:
  17428. parameters:
  17429. - description: 页码
  17430. in: query
  17431. name: page
  17432. type: integer
  17433. - description: 每页条数
  17434. in: query
  17435. name: pagesize
  17436. type: integer
  17437. - description: 资金账户列表,格式:1,2,3
  17438. in: query
  17439. name: accountIDs
  17440. required: true
  17441. type: string
  17442. - description: 买方委托单号
  17443. in: query
  17444. name: buyOrderID
  17445. type: integer
  17446. - description: 卖方委托单号
  17447. in: query
  17448. name: sellOrderID
  17449. type: integer
  17450. produces:
  17451. - application/json
  17452. responses:
  17453. "200":
  17454. description: OK
  17455. schema:
  17456. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  17457. "500":
  17458. description: Internal Server Error
  17459. schema:
  17460. $ref: '#/definitions/app.Response'
  17461. security:
  17462. - ApiKeyAuth: []
  17463. summary: 获取我的订单中待付款信息
  17464. tags:
  17465. - 定制【海商报业】
  17466. /HSBY/QueryMyUsedCoupon:
  17467. get:
  17468. parameters:
  17469. - description: 资金账户列表,格式:1,2,3
  17470. in: query
  17471. name: accountIDs
  17472. required: true
  17473. type: string
  17474. produces:
  17475. - application/json
  17476. responses:
  17477. "200":
  17478. description: OK
  17479. schema:
  17480. $ref: '#/definitions/models.MyUsedCoupon'
  17481. "500":
  17482. description: Internal Server Error
  17483. schema:
  17484. $ref: '#/definitions/app.Response'
  17485. security:
  17486. - ApiKeyAuth: []
  17487. summary: 已使用优惠卷查询
  17488. tags:
  17489. - 定制【海商报业】
  17490. /HSBY/QueryProvincesAndCities:
  17491. get:
  17492. description: 查询结果只包括二级市场商品已关连的省市信息。
  17493. parameters:
  17494. - description: 省ID
  17495. in: query
  17496. name: provinceID
  17497. type: integer
  17498. produces:
  17499. - application/json
  17500. responses:
  17501. "200":
  17502. description: OK
  17503. schema:
  17504. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  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/SetHsbyMyPackagesStatus:
  17515. post:
  17516. parameters:
  17517. - description: 提货单号
  17518. in: query
  17519. name: takeOrderID
  17520. required: true
  17521. type: string
  17522. - description: 资金账号
  17523. in: query
  17524. name: accountID
  17525. required: true
  17526. type: integer
  17527. produces:
  17528. - application/json
  17529. responses:
  17530. "200":
  17531. description: OK
  17532. schema:
  17533. $ref: '#/definitions/app.Response'
  17534. "500":
  17535. description: Internal Server Error
  17536. schema:
  17537. $ref: '#/definitions/app.Response'
  17538. security:
  17539. - ApiKeyAuth: []
  17540. summary: 设置我的包裹已收货状态
  17541. tags:
  17542. - 定制【海商报业】
  17543. /Market/QueryGoodsesByLoginID:
  17544. get:
  17545. parameters:
  17546. - description: 登录账号
  17547. in: query
  17548. name: loginID
  17549. required: true
  17550. type: integer
  17551. - description: 市场ID列表,格式:1,2,3
  17552. in: query
  17553. name: marketIDs
  17554. type: string
  17555. produces:
  17556. - application/json
  17557. responses:
  17558. "200":
  17559. description: OK
  17560. schema:
  17561. $ref: '#/definitions/models.Goods'
  17562. "500":
  17563. description: Internal Server Error
  17564. schema:
  17565. $ref: '#/definitions/app.Response'
  17566. security:
  17567. - ApiKeyAuth: []
  17568. summary: 获取登录账号有权限的商品信息
  17569. tags:
  17570. - 通用市场
  17571. /Market/QueryMarketRun:
  17572. get:
  17573. parameters:
  17574. - description: 市场ID,不传返回所有
  17575. in: query
  17576. name: marketID
  17577. type: integer
  17578. produces:
  17579. - application/json
  17580. responses:
  17581. "200":
  17582. description: OK
  17583. schema:
  17584. $ref: '#/definitions/models.Marketrun'
  17585. "500":
  17586. description: Internal Server Error
  17587. schema:
  17588. $ref: '#/definitions/app.Response'
  17589. security:
  17590. - ApiKeyAuth: []
  17591. summary: 查询市场运行信息
  17592. tags:
  17593. - 通用市场
  17594. /Market/QueryMarketsByLoginID:
  17595. get:
  17596. parameters:
  17597. - description: 登录账号
  17598. in: query
  17599. name: loginID
  17600. required: true
  17601. type: integer
  17602. produces:
  17603. - application/json
  17604. responses:
  17605. "200":
  17606. description: OK
  17607. schema:
  17608. $ref: '#/definitions/models.Market'
  17609. "500":
  17610. description: Internal Server Error
  17611. schema:
  17612. $ref: '#/definitions/app.Response'
  17613. security:
  17614. - ApiKeyAuth: []
  17615. summary: 获取登录账号有权限的市场信息
  17616. tags:
  17617. - 通用市场
  17618. /Order/QueryHisTradeDetail:
  17619. get:
  17620. parameters:
  17621. - description: 资金账户 - 格式:1,2,3
  17622. in: query
  17623. name: accountID
  17624. required: true
  17625. type: string
  17626. - description: 成交单号
  17627. in: query
  17628. name: tradeID
  17629. type: integer
  17630. - description: 委托单号
  17631. in: query
  17632. name: orderID
  17633. type: integer
  17634. - description: 交易模式 - 格式:1,2,3
  17635. in: query
  17636. name: tradeMode
  17637. type: string
  17638. - description: 委托单据类型
  17639. in: query
  17640. name: buildType
  17641. type: integer
  17642. - description: 成交类别 - 格式:1,2,3
  17643. in: query
  17644. name: tradeType
  17645. type: string
  17646. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  17647. in: query
  17648. name: startDate
  17649. type: string
  17650. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  17651. in: query
  17652. name: endDate
  17653. type: string
  17654. produces:
  17655. - application/json
  17656. responses:
  17657. "200":
  17658. description: OK
  17659. schema:
  17660. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  17661. "500":
  17662. description: Internal Server Error
  17663. schema:
  17664. $ref: '#/definitions/app.Response'
  17665. security:
  17666. - ApiKeyAuth: []
  17667. summary: 历史成交单查询(合约市场)
  17668. tags:
  17669. - 通用单据
  17670. /Order/QueryHisTradeOrderDetail:
  17671. get:
  17672. parameters:
  17673. - description: 资金账户 - 格式:1,2,3
  17674. in: query
  17675. name: accountID
  17676. required: true
  17677. type: string
  17678. - description: 交易模式 - 格式:1,2,3
  17679. in: query
  17680. name: tradeMode
  17681. type: string
  17682. - description: 委托状态 - 格式:1,2,3
  17683. in: query
  17684. name: orderStatus
  17685. type: string
  17686. - description: 委托单号
  17687. in: query
  17688. name: orderID
  17689. type: integer
  17690. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  17691. in: query
  17692. name: startDate
  17693. type: string
  17694. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  17695. in: query
  17696. name: endDate
  17697. type: string
  17698. produces:
  17699. - application/json
  17700. responses:
  17701. "200":
  17702. description: OK
  17703. schema:
  17704. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  17705. "500":
  17706. description: Internal Server Error
  17707. schema:
  17708. $ref: '#/definitions/app.Response'
  17709. security:
  17710. - ApiKeyAuth: []
  17711. summary: 历史委托单查询请求(合约市场)
  17712. tags:
  17713. - 通用单据
  17714. /Order/QueryTradeDetail:
  17715. get:
  17716. parameters:
  17717. - description: 资金账户 - 格式:1,2,3
  17718. in: query
  17719. name: accountID
  17720. required: true
  17721. type: string
  17722. - description: 成交单号
  17723. in: query
  17724. name: tradeID
  17725. type: integer
  17726. - description: 委托单号
  17727. in: query
  17728. name: orderID
  17729. type: integer
  17730. - description: 交易模式 - 格式:1,2,3
  17731. in: query
  17732. name: tradeMode
  17733. type: string
  17734. - description: 委托单据类型
  17735. in: query
  17736. name: buildType
  17737. type: integer
  17738. - description: 成交类别 - 格式:1,2,3
  17739. in: query
  17740. name: tradeType
  17741. type: string
  17742. produces:
  17743. - application/json
  17744. responses:
  17745. "200":
  17746. description: OK
  17747. schema:
  17748. $ref: '#/definitions/order.QueryTradeDetailRsp'
  17749. "500":
  17750. description: Internal Server Error
  17751. schema:
  17752. $ref: '#/definitions/app.Response'
  17753. security:
  17754. - ApiKeyAuth: []
  17755. summary: 成交单查询(合约市场)
  17756. tags:
  17757. - 通用单据
  17758. /Order/QueryTradeOrderDetail:
  17759. get:
  17760. parameters:
  17761. - description: 资金账户 - 格式:1,2,3
  17762. in: query
  17763. name: accountID
  17764. required: true
  17765. type: string
  17766. - description: 交易模式 - 格式:1,2,3
  17767. in: query
  17768. name: tradeMode
  17769. type: string
  17770. - description: 委托状态 - 格式:1,2,3
  17771. in: query
  17772. name: orderStatus
  17773. type: string
  17774. - description: 委托单号
  17775. in: query
  17776. name: orderID
  17777. type: integer
  17778. produces:
  17779. - application/json
  17780. responses:
  17781. "200":
  17782. description: OK
  17783. schema:
  17784. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  17785. "500":
  17786. description: Internal Server Error
  17787. schema:
  17788. $ref: '#/definitions/app.Response'
  17789. security:
  17790. - ApiKeyAuth: []
  17791. summary: 委托单查询请求(合约市场)
  17792. tags:
  17793. - 通用单据
  17794. /Order/QueryTradePosition:
  17795. get:
  17796. parameters:
  17797. - description: 资金账户 - 格式:1,2,3
  17798. in: query
  17799. name: accountID
  17800. required: true
  17801. type: string
  17802. - description: 交易模式 - 格式:1,2,3
  17803. in: query
  17804. name: tradeMode
  17805. type: string
  17806. produces:
  17807. - application/json
  17808. responses:
  17809. "200":
  17810. description: OK
  17811. schema:
  17812. $ref: '#/definitions/order.QueryTradePositionRsp'
  17813. "500":
  17814. description: Internal Server Error
  17815. schema:
  17816. $ref: '#/definitions/app.Response'
  17817. security:
  17818. - ApiKeyAuth: []
  17819. summary: 持仓汇总查询(合约市场)
  17820. tags:
  17821. - 通用单据
  17822. /Qhj/QueryAccountInOutApply:
  17823. get:
  17824. parameters:
  17825. - description: 申请起始日期(格式yyyymmdd)
  17826. in: query
  17827. name: begindate
  17828. type: string
  17829. - description: 申请截止日期(格式yyyymmdd)
  17830. in: query
  17831. name: enddate
  17832. type: string
  17833. - description: 模糊搜索名称
  17834. in: query
  17835. name: likename
  17836. type: string
  17837. produces:
  17838. - application/json
  17839. responses:
  17840. "200":
  17841. description: OK
  17842. schema:
  17843. items:
  17844. $ref: '#/definitions/models.QhjAccountOutInApply'
  17845. type: array
  17846. "500":
  17847. description: Internal Server Error
  17848. schema:
  17849. $ref: '#/definitions/app.Response'
  17850. security:
  17851. - ApiKeyAuth: []
  17852. summary: 查询充值提现
  17853. tags:
  17854. - 大连千海金
  17855. /Qhj/QueryBankAccountSign:
  17856. get:
  17857. parameters:
  17858. - description: 用户ID
  17859. in: query
  17860. name: userid
  17861. required: true
  17862. type: integer
  17863. produces:
  17864. - application/json
  17865. responses:
  17866. "200":
  17867. description: OK
  17868. schema:
  17869. items:
  17870. $ref: '#/definitions/models.QhjBankAccountSign'
  17871. type: array
  17872. "500":
  17873. description: Internal Server Error
  17874. schema:
  17875. $ref: '#/definitions/app.Response'
  17876. security:
  17877. - ApiKeyAuth: []
  17878. summary: 查询签约银行信息(提现账户管理)
  17879. tags:
  17880. - 大连千海金
  17881. /Qhj/QueryBankInfo:
  17882. get:
  17883. produces:
  17884. - application/json
  17885. responses:
  17886. "200":
  17887. description: OK
  17888. schema:
  17889. items:
  17890. $ref: '#/definitions/models.QhjBankInfo'
  17891. type: array
  17892. "500":
  17893. description: Internal Server Error
  17894. schema:
  17895. $ref: '#/definitions/app.Response'
  17896. security:
  17897. - ApiKeyAuth: []
  17898. summary: 查询开户行
  17899. tags:
  17900. - 大连千海金
  17901. /Qhj/QueryContract:
  17902. get:
  17903. parameters:
  17904. - description: 用户ID
  17905. in: query
  17906. name: userid
  17907. required: true
  17908. type: integer
  17909. - description: scf合同id
  17910. in: query
  17911. name: scfcontractid
  17912. type: integer
  17913. produces:
  17914. - application/json
  17915. responses:
  17916. "200":
  17917. description: OK
  17918. schema:
  17919. items:
  17920. $ref: '#/definitions/models.QhjContract'
  17921. type: array
  17922. "500":
  17923. description: Internal Server Error
  17924. schema:
  17925. $ref: '#/definitions/app.Response'
  17926. security:
  17927. - ApiKeyAuth: []
  17928. summary: 查询融资明细(合同)
  17929. tags:
  17930. - 大连千海金
  17931. /Qhj/QueryContractLog:
  17932. get:
  17933. parameters:
  17934. - description: scf合同id
  17935. in: query
  17936. name: scfcontractid
  17937. required: true
  17938. type: integer
  17939. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  17940. in: query
  17941. name: amounttype
  17942. type: string
  17943. produces:
  17944. - application/json
  17945. responses:
  17946. "200":
  17947. description: OK
  17948. schema:
  17949. items:
  17950. $ref: '#/definitions/models.QhjContractLog'
  17951. type: array
  17952. "500":
  17953. description: Internal Server Error
  17954. schema:
  17955. $ref: '#/definitions/app.Response'
  17956. security:
  17957. - ApiKeyAuth: []
  17958. summary: 查询融资明细流水(融资明细详情页中的流水)
  17959. tags:
  17960. - 大连千海金
  17961. /Qhj/QueryCusBankSignBank:
  17962. get:
  17963. produces:
  17964. - application/json
  17965. responses:
  17966. "200":
  17967. description: OK
  17968. schema:
  17969. items:
  17970. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  17971. type: array
  17972. "500":
  17973. description: Internal Server Error
  17974. schema:
  17975. $ref: '#/definitions/app.Response'
  17976. security:
  17977. - ApiKeyAuth: []
  17978. summary: 查询托管银行
  17979. tags:
  17980. - 大连千海金
  17981. /Qhj/QueryCustomerInfo:
  17982. get:
  17983. parameters:
  17984. - description: 用户ID
  17985. in: query
  17986. name: userid
  17987. required: true
  17988. type: integer
  17989. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  17990. in: query
  17991. name: querytype
  17992. required: true
  17993. type: integer
  17994. - description: 客户类型 1-个人 2-企业
  17995. in: query
  17996. name: userinfotype
  17997. type: integer
  17998. - description: 客户名称(模糊匹配)
  17999. in: query
  18000. name: customername
  18001. type: string
  18002. - description: 昵称(模糊匹配)
  18003. in: query
  18004. name: nickname
  18005. type: string
  18006. - description: 是否包含子级 1-包含
  18007. in: query
  18008. name: includesub
  18009. type: integer
  18010. produces:
  18011. - application/json
  18012. responses:
  18013. "200":
  18014. description: OK
  18015. schema:
  18016. items:
  18017. $ref: '#/definitions/models.QhjCustomer'
  18018. type: array
  18019. "500":
  18020. description: Internal Server Error
  18021. schema:
  18022. $ref: '#/definitions/app.Response'
  18023. security:
  18024. - ApiKeyAuth: []
  18025. summary: 查询客户资料
  18026. tags:
  18027. - 大连千海金
  18028. /Qhj/QueryGoodsEx:
  18029. get:
  18030. parameters:
  18031. - description: 商品id
  18032. in: query
  18033. name: goodsid
  18034. type: integer
  18035. produces:
  18036. - application/json
  18037. responses:
  18038. "200":
  18039. description: OK
  18040. schema:
  18041. items:
  18042. $ref: '#/definitions/models.Qhjgoodsex'
  18043. type: array
  18044. "500":
  18045. description: Internal Server Error
  18046. schema:
  18047. $ref: '#/definitions/app.Response'
  18048. security:
  18049. - ApiKeyAuth: []
  18050. summary: 交易商品扩展表
  18051. tags:
  18052. - 大连千海金
  18053. /Qhj/QueryPayOrder:
  18054. get:
  18055. parameters:
  18056. - description: 资金账号id
  18057. in: query
  18058. name: accountid
  18059. required: true
  18060. type: integer
  18061. - description: 成交单号
  18062. in: query
  18063. name: tradeid
  18064. type: integer
  18065. - description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  18066. in: query
  18067. name: payflag
  18068. type: integer
  18069. produces:
  18070. - application/json
  18071. responses:
  18072. "200":
  18073. description: OK
  18074. schema:
  18075. items:
  18076. $ref: '#/definitions/models.QhjPayOrder'
  18077. type: array
  18078. "500":
  18079. description: Internal Server Error
  18080. schema:
  18081. $ref: '#/definitions/app.Response'
  18082. security:
  18083. - ApiKeyAuth: []
  18084. summary: 查询待付款单据
  18085. tags:
  18086. - 大连千海金
  18087. /Qhj/QueryPickArea:
  18088. get:
  18089. parameters:
  18090. - description: 用户ID
  18091. in: query
  18092. name: userid
  18093. type: integer
  18094. produces:
  18095. - application/json
  18096. responses:
  18097. "200":
  18098. description: OK
  18099. schema:
  18100. items:
  18101. $ref: '#/definitions/models.QhjPickArea'
  18102. type: array
  18103. "500":
  18104. description: Internal Server Error
  18105. schema:
  18106. $ref: '#/definitions/app.Response'
  18107. security:
  18108. - ApiKeyAuth: []
  18109. summary: 查询提货门店
  18110. tags:
  18111. - 大连千海金
  18112. /Qhj/QueryPickGoods:
  18113. get:
  18114. parameters:
  18115. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  18116. in: query
  18117. name: status
  18118. type: string
  18119. produces:
  18120. - application/json
  18121. responses:
  18122. "200":
  18123. description: OK
  18124. schema:
  18125. items:
  18126. $ref: '#/definitions/models.QhjPickGoods'
  18127. type: array
  18128. "500":
  18129. description: Internal Server Error
  18130. schema:
  18131. $ref: '#/definitions/app.Response'
  18132. security:
  18133. - ApiKeyAuth: []
  18134. summary: 查询提货商品
  18135. tags:
  18136. - 大连千海金
  18137. /Qhj/QueryRSTriggerLog:
  18138. get:
  18139. parameters:
  18140. - description: 用户ID
  18141. in: query
  18142. name: userid
  18143. required: true
  18144. type: integer
  18145. - description: 定投策略id
  18146. in: query
  18147. name: regularlystrategyid
  18148. type: integer
  18149. produces:
  18150. - application/json
  18151. responses:
  18152. "200":
  18153. description: OK
  18154. schema:
  18155. items:
  18156. $ref: '#/definitions/models.QhjRSTriggerLog'
  18157. type: array
  18158. "500":
  18159. description: Internal Server Error
  18160. schema:
  18161. $ref: '#/definitions/app.Response'
  18162. security:
  18163. - ApiKeyAuth: []
  18164. summary: 查询定投记录(定投管理/详情/定投记录)
  18165. tags:
  18166. - 大连千海金
  18167. /Qhj/QueryRStrategy:
  18168. get:
  18169. parameters:
  18170. - description: 用户ID
  18171. in: query
  18172. name: userid
  18173. required: true
  18174. type: integer
  18175. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  18176. in: query
  18177. name: status
  18178. type: string
  18179. produces:
  18180. - application/json
  18181. responses:
  18182. "200":
  18183. description: OK
  18184. schema:
  18185. items:
  18186. $ref: '#/definitions/models.QhjRStrategy'
  18187. type: array
  18188. "500":
  18189. description: Internal Server Error
  18190. schema:
  18191. $ref: '#/definitions/app.Response'
  18192. security:
  18193. - ApiKeyAuth: []
  18194. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  18195. tags:
  18196. - 大连千海金
  18197. /Qhj/QueryReckonPriceLog:
  18198. get:
  18199. parameters:
  18200. - description: 商品ID
  18201. in: query
  18202. name: goodsid
  18203. type: integer
  18204. - description: 交易日 格式(yyyymmdd)
  18205. in: query
  18206. name: tradedate
  18207. type: string
  18208. produces:
  18209. - application/json
  18210. responses:
  18211. "200":
  18212. description: OK
  18213. schema:
  18214. items:
  18215. $ref: '#/definitions/models.QhjReckonPriceLog'
  18216. type: array
  18217. "500":
  18218. description: Internal Server Error
  18219. schema:
  18220. $ref: '#/definitions/app.Response'
  18221. security:
  18222. - ApiKeyAuth: []
  18223. summary: 查询定投价(结算价)
  18224. tags:
  18225. - 大连千海金
  18226. /Qhj/QuerySiteColumnDetail:
  18227. get:
  18228. parameters:
  18229. - description: 用户ID
  18230. in: query
  18231. name: userid
  18232. required: true
  18233. type: integer
  18234. produces:
  18235. - application/json
  18236. responses:
  18237. "200":
  18238. description: OK
  18239. schema:
  18240. items:
  18241. $ref: '#/definitions/models.QhjSiteColumnDetail'
  18242. type: array
  18243. "500":
  18244. description: Internal Server Error
  18245. schema:
  18246. $ref: '#/definitions/app.Response'
  18247. security:
  18248. - ApiKeyAuth: []
  18249. summary: 查询资讯
  18250. tags:
  18251. - 大连千海金
  18252. /Qhj/QueryTradeGoodsPickup:
  18253. get:
  18254. parameters:
  18255. - description: 用户ID
  18256. in: query
  18257. name: userid
  18258. required: true
  18259. type: integer
  18260. produces:
  18261. - application/json
  18262. responses:
  18263. "200":
  18264. description: OK
  18265. schema:
  18266. items:
  18267. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  18268. type: array
  18269. "500":
  18270. description: Internal Server Error
  18271. schema:
  18272. $ref: '#/definitions/app.Response'
  18273. security:
  18274. - ApiKeyAuth: []
  18275. summary: 查询提货
  18276. tags:
  18277. - 大连千海金
  18278. /Qhj/QueryUserCollectConfig:
  18279. get:
  18280. parameters:
  18281. - description: 用户ID
  18282. in: query
  18283. name: userid
  18284. required: true
  18285. type: integer
  18286. produces:
  18287. - application/json
  18288. responses:
  18289. "200":
  18290. description: OK
  18291. schema:
  18292. items:
  18293. $ref: '#/definitions/models.UserCollectConfig'
  18294. type: array
  18295. "500":
  18296. description: Internal Server Error
  18297. schema:
  18298. $ref: '#/definitions/app.Response'
  18299. security:
  18300. - ApiKeyAuth: []
  18301. summary: 查询提现账户设置
  18302. tags:
  18303. - 大连千海金
  18304. /Qhj/QueryUserReceiveInfo:
  18305. get:
  18306. parameters:
  18307. - description: 用户ID
  18308. in: query
  18309. name: userid
  18310. required: true
  18311. type: integer
  18312. produces:
  18313. - application/json
  18314. responses:
  18315. "200":
  18316. description: OK
  18317. schema:
  18318. items:
  18319. $ref: '#/definitions/models.UserReceiveInfo'
  18320. type: array
  18321. "500":
  18322. description: Internal Server Error
  18323. schema:
  18324. $ref: '#/definitions/app.Response'
  18325. security:
  18326. - ApiKeyAuth: []
  18327. summary: 查询收货地址信息
  18328. tags:
  18329. - 大连千海金
  18330. /Quote/QueryHistoryDatas:
  18331. get:
  18332. parameters:
  18333. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  18334. 日线'
  18335. in: query
  18336. name: cycleType
  18337. required: true
  18338. type: integer
  18339. - description: 商品代码
  18340. in: query
  18341. name: goodsCode
  18342. required: true
  18343. type: string
  18344. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  18345. in: query
  18346. name: startTime
  18347. type: string
  18348. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  18349. in: query
  18350. name: endTime
  18351. type: string
  18352. - description: 条数
  18353. in: query
  18354. name: count
  18355. type: integer
  18356. - description: 是否按时间顺序排序(默认为时间倒序排序)
  18357. in: query
  18358. name: isAsc
  18359. type: boolean
  18360. produces:
  18361. - application/json
  18362. responses:
  18363. "200":
  18364. description: OK
  18365. schema:
  18366. $ref: '#/definitions/quote.HistoryData'
  18367. "500":
  18368. description: Internal Server Error
  18369. schema:
  18370. $ref: '#/definitions/app.Response'
  18371. security:
  18372. - ApiKeyAuth: []
  18373. summary: 查询行情历史数据
  18374. tags:
  18375. - 行情服务
  18376. /Quote/QueryHistoryTikDatas:
  18377. get:
  18378. parameters:
  18379. - description: 商品代码
  18380. in: query
  18381. name: goodsCode
  18382. required: true
  18383. type: string
  18384. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  18385. in: query
  18386. name: startTime
  18387. type: string
  18388. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  18389. in: query
  18390. name: endTime
  18391. type: string
  18392. - description: 条数
  18393. in: query
  18394. name: count
  18395. type: integer
  18396. - description: 是否按时间顺序排序(默认为时间倒序排序)
  18397. in: query
  18398. name: isAsc
  18399. type: boolean
  18400. produces:
  18401. - application/json
  18402. responses:
  18403. "200":
  18404. description: OK
  18405. schema:
  18406. $ref: '#/definitions/quote.HistoryTikData'
  18407. "500":
  18408. description: Internal Server Error
  18409. schema:
  18410. $ref: '#/definitions/app.Response'
  18411. security:
  18412. - ApiKeyAuth: []
  18413. summary: 查询行情Tik数据
  18414. tags:
  18415. - 行情服务
  18416. /Quote/QueryQuoteDay:
  18417. get:
  18418. parameters:
  18419. - description: 商品代码列表,格式:CU2102,CU2103,AL2107
  18420. in: query
  18421. name: goodsCodes
  18422. required: true
  18423. type: string
  18424. produces:
  18425. - application/json
  18426. responses:
  18427. "200":
  18428. description: OK
  18429. schema:
  18430. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  18431. "500":
  18432. description: Internal Server Error
  18433. schema:
  18434. $ref: '#/definitions/app.Response'
  18435. security:
  18436. - ApiKeyAuth: []
  18437. summary: 获取商品盘面信息
  18438. tags:
  18439. - 行情服务
  18440. /Quote/QueryTSData:
  18441. get:
  18442. parameters:
  18443. - description: 商品代码
  18444. in: query
  18445. name: goodsCode
  18446. required: true
  18447. type: string
  18448. produces:
  18449. - application/json
  18450. responses:
  18451. "200":
  18452. description: OK
  18453. schema:
  18454. $ref: '#/definitions/quote.QueryTSDataRsp'
  18455. "500":
  18456. description: Internal Server Error
  18457. schema:
  18458. $ref: '#/definitions/app.Response'
  18459. security:
  18460. - ApiKeyAuth: []
  18461. summary: 分时图数据查询
  18462. tags:
  18463. - 行情服务
  18464. /SZDZ/QueryConvertConfig:
  18465. get:
  18466. parameters:
  18467. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  18468. 6:交易转花生米(不设置)
  18469. in: query
  18470. name: convertType
  18471. type: integer
  18472. - description: 外部商品代码[JD\PD]
  18473. in: query
  18474. name: outerGoodsCode
  18475. type: string
  18476. - description: 内部商品ID列表[交易],格式:1,2,3
  18477. in: query
  18478. name: innerGoodsIDs
  18479. type: string
  18480. produces:
  18481. - application/json
  18482. responses:
  18483. "200":
  18484. description: OK
  18485. schema:
  18486. $ref: '#/definitions/models.Szdz3convertconfig'
  18487. "500":
  18488. description: Internal Server Error
  18489. schema:
  18490. $ref: '#/definitions/app.Response'
  18491. security:
  18492. - ApiKeyAuth: []
  18493. summary: 查询交易系统转换设置
  18494. tags:
  18495. - 定制【尚志大宗】
  18496. /SZDZ/QueryConvertLog:
  18497. get:
  18498. parameters:
  18499. - description: 资金账户 - 格式:1,2,3
  18500. in: query
  18501. name: accountID
  18502. required: true
  18503. type: string
  18504. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  18505. in: query
  18506. name: startDate
  18507. type: string
  18508. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  18509. in: query
  18510. name: endDate
  18511. type: string
  18512. produces:
  18513. - application/json
  18514. responses:
  18515. "200":
  18516. description: OK
  18517. schema:
  18518. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  18519. "500":
  18520. description: Internal Server Error
  18521. schema:
  18522. $ref: '#/definitions/app.Response'
  18523. security:
  18524. - ApiKeyAuth: []
  18525. summary: 交易系统转换流水查询
  18526. tags:
  18527. - 定制【尚志大宗】
  18528. /SZDZ/QueryGoodsPickup:
  18529. get:
  18530. parameters:
  18531. - description: 资金账户 - 格式:1,2,3
  18532. in: query
  18533. name: accountID
  18534. required: true
  18535. type: string
  18536. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  18537. in: query
  18538. name: takeOrderStatus
  18539. type: integer
  18540. produces:
  18541. - application/json
  18542. responses:
  18543. "200":
  18544. description: OK
  18545. schema:
  18546. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  18547. "500":
  18548. description: Internal Server Error
  18549. schema:
  18550. $ref: '#/definitions/app.Response'
  18551. security:
  18552. - ApiKeyAuth: []
  18553. summary: 商品提货单查询
  18554. tags:
  18555. - 定制【尚志大宗】
  18556. /SZDZ/QueryRecieptOrder:
  18557. get:
  18558. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  18559. parameters:
  18560. - description: 页码
  18561. in: query
  18562. name: page
  18563. type: integer
  18564. - description: 每页条数
  18565. in: query
  18566. name: pagesize
  18567. type: integer
  18568. - description: 商品ID
  18569. in: query
  18570. name: goodsID
  18571. required: true
  18572. type: integer
  18573. - description: 所属账户名称
  18574. in: query
  18575. name: accountName
  18576. type: string
  18577. - description: 市场ID
  18578. in: query
  18579. name: marketID
  18580. type: integer
  18581. - description: 方向 - 0:买 1:卖
  18582. in: query
  18583. name: buyorsell
  18584. required: true
  18585. type: integer
  18586. produces:
  18587. - application/json
  18588. responses:
  18589. "200":
  18590. description: OK
  18591. schema:
  18592. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  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/QuerySZDZTradePosition:
  18603. get:
  18604. parameters:
  18605. - description: 资金账户
  18606. in: query
  18607. name: accountID
  18608. required: true
  18609. type: integer
  18610. produces:
  18611. - application/json
  18612. responses:
  18613. "200":
  18614. description: OK
  18615. schema:
  18616. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  18617. "500":
  18618. description: Internal Server Error
  18619. schema:
  18620. $ref: '#/definitions/app.Response'
  18621. security:
  18622. - ApiKeyAuth: []
  18623. summary: 持仓汇总查询(尚志大宗)
  18624. tags:
  18625. - 定制【尚志大宗】
  18626. /SZDZ/SearchWhite:
  18627. get:
  18628. parameters:
  18629. - description: 用户ID
  18630. in: query
  18631. name: userID
  18632. required: true
  18633. type: integer
  18634. produces:
  18635. - application/json
  18636. responses:
  18637. "200":
  18638. description: OK
  18639. schema:
  18640. $ref: '#/definitions/models.Szdz3searchwhitelist'
  18641. "500":
  18642. description: Internal Server Error
  18643. schema:
  18644. $ref: '#/definitions/app.Response'
  18645. security:
  18646. - ApiKeyAuth: []
  18647. summary: 搜索白名单
  18648. tags:
  18649. - 定制【尚志大宗】
  18650. /Search/SearchGoodses:
  18651. get:
  18652. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  18653. parameters:
  18654. - description: 检索内容
  18655. in: query
  18656. name: content
  18657. required: true
  18658. type: string
  18659. - description: 交易模式,格式:1,2,3
  18660. in: query
  18661. name: tradeModes
  18662. type: string
  18663. produces:
  18664. - application/json
  18665. responses:
  18666. "200":
  18667. description: OK
  18668. schema:
  18669. $ref: '#/definitions/models.SearchGoods'
  18670. "500":
  18671. description: Internal Server Error
  18672. schema:
  18673. $ref: '#/definitions/app.Response'
  18674. summary: 检索商品信息
  18675. tags:
  18676. - 检索服务
  18677. /TaAccount/GetTaAccounts:
  18678. get:
  18679. parameters:
  18680. - description: 登录账户
  18681. in: query
  18682. name: loginID
  18683. required: true
  18684. type: integer
  18685. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  18686. in: query
  18687. name: taAccountType
  18688. type: integer
  18689. produces:
  18690. - application/json
  18691. responses:
  18692. "200":
  18693. description: OK
  18694. schema:
  18695. $ref: '#/definitions/models.Taaccount'
  18696. "500":
  18697. description: Internal Server Error
  18698. schema:
  18699. $ref: '#/definitions/app.Response'
  18700. security:
  18701. - ApiKeyAuth: []
  18702. summary: 获取资金账户信息
  18703. tags:
  18704. - 资金账户
  18705. /TaAccount/QueryAmountLog:
  18706. get:
  18707. parameters:
  18708. - description: 页码
  18709. in: query
  18710. name: page
  18711. type: integer
  18712. - description: 每页条数
  18713. in: query
  18714. name: pagesize
  18715. type: integer
  18716. - description: 资金账户 - 格式:1,2,3
  18717. in: query
  18718. name: accountID
  18719. required: true
  18720. type: string
  18721. - description: 资金操作类型 - 格式:1,2,3
  18722. in: query
  18723. name: OperateType
  18724. type: string
  18725. produces:
  18726. - application/json
  18727. responses:
  18728. "200":
  18729. description: OK
  18730. schema:
  18731. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  18732. "500":
  18733. description: Internal Server Error
  18734. schema:
  18735. $ref: '#/definitions/app.Response'
  18736. security:
  18737. - ApiKeyAuth: []
  18738. summary: 资金流水查询(当前)
  18739. tags:
  18740. - 资金账户
  18741. /TaAccount/QueryHisAmountLog:
  18742. get:
  18743. parameters:
  18744. - description: 页码
  18745. in: query
  18746. name: page
  18747. type: integer
  18748. - description: 每页条数
  18749. in: query
  18750. name: pagesize
  18751. type: integer
  18752. - description: 资金账户 - 格式:1,2,3
  18753. in: query
  18754. name: accountID
  18755. required: true
  18756. type: string
  18757. - description: 资金操作类型 - 格式:1,2,3
  18758. in: query
  18759. name: OperateType
  18760. type: string
  18761. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  18762. in: query
  18763. name: startDate
  18764. type: string
  18765. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  18766. in: query
  18767. name: endDate
  18768. type: string
  18769. produces:
  18770. - application/json
  18771. responses:
  18772. "200":
  18773. description: OK
  18774. schema:
  18775. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  18776. "500":
  18777. description: Internal Server Error
  18778. schema:
  18779. $ref: '#/definitions/app.Response'
  18780. security:
  18781. - ApiKeyAuth: []
  18782. summary: 资金流水查询(历史)
  18783. tags:
  18784. - 资金账户
  18785. /Trade/QueryRecieptOrder:
  18786. get:
  18787. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  18788. parameters:
  18789. - description: 页码
  18790. in: query
  18791. name: page
  18792. type: integer
  18793. - description: 每页条数
  18794. in: query
  18795. name: pagesize
  18796. type: integer
  18797. - description: 商品ID
  18798. in: query
  18799. name: goodsID
  18800. required: true
  18801. type: integer
  18802. - description: 所属账户名称
  18803. in: query
  18804. name: accountName
  18805. type: string
  18806. - description: 市场ID
  18807. in: query
  18808. name: marketID
  18809. type: integer
  18810. - description: 方向 - 0:买 1:卖
  18811. in: query
  18812. name: buyorsell
  18813. required: true
  18814. type: integer
  18815. produces:
  18816. - application/json
  18817. responses:
  18818. "200":
  18819. description: OK
  18820. schema:
  18821. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  18822. "500":
  18823. description: Internal Server Error
  18824. schema:
  18825. $ref: '#/definitions/app.Response'
  18826. security:
  18827. - ApiKeyAuth: []
  18828. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  18829. tags:
  18830. - 通用交易
  18831. /User/AddMessageBoard:
  18832. post:
  18833. parameters:
  18834. - description: 用户ID
  18835. in: query
  18836. name: userID
  18837. required: true
  18838. type: integer
  18839. - description: 留言信息
  18840. in: query
  18841. name: message
  18842. required: true
  18843. type: string
  18844. - description: 联系电话
  18845. in: query
  18846. name: contactNum
  18847. required: true
  18848. type: string
  18849. produces:
  18850. - application/json
  18851. responses:
  18852. "200":
  18853. description: OK
  18854. schema:
  18855. $ref: '#/definitions/app.Response'
  18856. "500":
  18857. description: Internal Server Error
  18858. schema:
  18859. $ref: '#/definitions/app.Response'
  18860. security:
  18861. - ApiKeyAuth: []
  18862. summary: 添加用户留言板信息
  18863. tags:
  18864. - 用户信息
  18865. /User/AddUserFavoriteGoods:
  18866. post:
  18867. parameters:
  18868. - description: 用户ID
  18869. in: query
  18870. name: userID
  18871. required: true
  18872. type: integer
  18873. - description: 商品ID
  18874. in: query
  18875. name: goodsID
  18876. required: true
  18877. type: integer
  18878. produces:
  18879. - application/json
  18880. responses:
  18881. "200":
  18882. description: OK
  18883. schema:
  18884. $ref: '#/definitions/app.Response'
  18885. "500":
  18886. description: Internal Server Error
  18887. schema:
  18888. $ref: '#/definitions/app.Response'
  18889. security:
  18890. - ApiKeyAuth: []
  18891. summary: 添加用户商品收藏信息
  18892. tags:
  18893. - 用户信息
  18894. /User/GetLoginID:
  18895. get:
  18896. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  18897. parameters:
  18898. - description: 登录代码
  18899. in: query
  18900. name: username
  18901. required: true
  18902. type: string
  18903. produces:
  18904. - application/json
  18905. responses:
  18906. "200":
  18907. description: OK
  18908. schema:
  18909. $ref: '#/definitions/app.Response'
  18910. "500":
  18911. description: Internal Server Error
  18912. schema:
  18913. $ref: '#/definitions/app.Response'
  18914. summary: 获取登录ID
  18915. tags:
  18916. - 用户信息
  18917. /User/GetUserAccount:
  18918. get:
  18919. parameters:
  18920. - description: 用户ID
  18921. in: query
  18922. name: userID
  18923. required: true
  18924. type: integer
  18925. produces:
  18926. - application/json
  18927. responses:
  18928. "200":
  18929. description: OK
  18930. schema:
  18931. $ref: '#/definitions/models.Useraccount'
  18932. "500":
  18933. description: Internal Server Error
  18934. schema:
  18935. $ref: '#/definitions/app.Response'
  18936. security:
  18937. - ApiKeyAuth: []
  18938. summary: 获取用户账号信息
  18939. tags:
  18940. - 用户信息
  18941. /User/GetUserAuthStatus:
  18942. get:
  18943. parameters:
  18944. - description: 用户ID
  18945. in: query
  18946. name: userID
  18947. required: true
  18948. type: integer
  18949. produces:
  18950. - application/json
  18951. responses:
  18952. "200":
  18953. description: OK
  18954. schema:
  18955. $ref: '#/definitions/app.Response'
  18956. "500":
  18957. description: Internal Server Error
  18958. schema:
  18959. $ref: '#/definitions/app.Response'
  18960. security:
  18961. - ApiKeyAuth: []
  18962. summary: 获取用户实名认证状态
  18963. tags:
  18964. - 用户信息
  18965. /User/LoginQuery:
  18966. get:
  18967. parameters:
  18968. - description: 登录账号
  18969. in: query
  18970. name: loginID
  18971. required: true
  18972. type: integer
  18973. produces:
  18974. - application/json
  18975. responses:
  18976. "200":
  18977. description: OK
  18978. schema:
  18979. $ref: '#/definitions/user.LoginQueryRsp'
  18980. "500":
  18981. description: Internal Server Error
  18982. schema:
  18983. $ref: '#/definitions/app.Response'
  18984. security:
  18985. - ApiKeyAuth: []
  18986. summary: 账户登录后信息查询
  18987. tags:
  18988. - 用户信息
  18989. /User/QueryMessageBoard:
  18990. get:
  18991. parameters:
  18992. - description: 用户ID
  18993. in: query
  18994. name: userID
  18995. required: true
  18996. type: integer
  18997. produces:
  18998. - application/json
  18999. responses:
  19000. "200":
  19001. description: OK
  19002. schema:
  19003. $ref: '#/definitions/models.Messageboard'
  19004. "500":
  19005. description: Internal Server Error
  19006. schema:
  19007. $ref: '#/definitions/app.Response'
  19008. security:
  19009. - ApiKeyAuth: []
  19010. summary: 获取用户留言板信息
  19011. tags:
  19012. - 用户信息
  19013. /User/QueryUserFavoriteGoodses:
  19014. get:
  19015. parameters:
  19016. - description: 用户ID
  19017. in: query
  19018. name: userID
  19019. required: true
  19020. type: integer
  19021. produces:
  19022. - application/json
  19023. responses:
  19024. "200":
  19025. description: OK
  19026. schema:
  19027. $ref: '#/definitions/models.Userfavoritegoods'
  19028. "500":
  19029. description: Internal Server Error
  19030. schema:
  19031. $ref: '#/definitions/app.Response'
  19032. security:
  19033. - ApiKeyAuth: []
  19034. summary: 获取用户商品收藏信息
  19035. tags:
  19036. - 用户信息
  19037. /User/QueryUserInfo:
  19038. get:
  19039. parameters:
  19040. - description: 用户ID
  19041. in: query
  19042. name: userID
  19043. required: true
  19044. type: integer
  19045. - description: 是否解密
  19046. in: query
  19047. name: isDecrypt
  19048. type: boolean
  19049. produces:
  19050. - application/json
  19051. responses:
  19052. "200":
  19053. description: OK
  19054. schema:
  19055. $ref: '#/definitions/models.Userinfo'
  19056. "500":
  19057. description: Internal Server Error
  19058. schema:
  19059. $ref: '#/definitions/app.Response'
  19060. security:
  19061. - ApiKeyAuth: []
  19062. summary: 获取用户信息
  19063. tags:
  19064. - 用户信息
  19065. /User/QueryUserReferNum:
  19066. get:
  19067. parameters:
  19068. - description: 用户ID
  19069. in: query
  19070. name: userID
  19071. required: true
  19072. type: integer
  19073. produces:
  19074. - application/json
  19075. responses:
  19076. "200":
  19077. description: OK
  19078. schema:
  19079. $ref: '#/definitions/app.Response'
  19080. "500":
  19081. description: Internal Server Error
  19082. schema:
  19083. $ref: '#/definitions/app.Response'
  19084. summary: 获取用户邀请码
  19085. tags:
  19086. - 用户信息
  19087. /User/RemoveUserFavoriteGoods:
  19088. post:
  19089. parameters:
  19090. - description: 用户ID
  19091. in: query
  19092. name: userID
  19093. required: true
  19094. type: integer
  19095. - description: 商品ID
  19096. in: query
  19097. name: goodsID
  19098. required: true
  19099. type: integer
  19100. produces:
  19101. - application/json
  19102. responses:
  19103. "200":
  19104. description: OK
  19105. schema:
  19106. $ref: '#/definitions/app.Response'
  19107. "500":
  19108. description: Internal Server Error
  19109. schema:
  19110. $ref: '#/definitions/app.Response'
  19111. security:
  19112. - ApiKeyAuth: []
  19113. summary: 移除用户商品收藏信息
  19114. tags:
  19115. - 用户信息
  19116. /User/UpdateUserAccountStatus:
  19117. post:
  19118. parameters:
  19119. - description: 用户ID
  19120. in: query
  19121. name: userID
  19122. required: true
  19123. type: integer
  19124. - description: 账户状态 - 4:正常 6:注销(停用)
  19125. in: query
  19126. name: accountStatus
  19127. required: true
  19128. type: integer
  19129. produces:
  19130. - application/json
  19131. responses:
  19132. "200":
  19133. description: OK
  19134. schema:
  19135. $ref: '#/definitions/app.Response'
  19136. "500":
  19137. description: Internal Server Error
  19138. schema:
  19139. $ref: '#/definitions/app.Response'
  19140. security:
  19141. - ApiKeyAuth: []
  19142. summary: 更新用户状态
  19143. tags:
  19144. - 用户信息
  19145. /WRTrade/GetAllDeliveryGoods:
  19146. get:
  19147. produces:
  19148. - application/json
  19149. - application/json
  19150. responses:
  19151. "200":
  19152. description: OK
  19153. schema:
  19154. $ref: '#/definitions/app.Response'
  19155. "500":
  19156. description: Internal Server Error
  19157. schema:
  19158. $ref: '#/definitions/app.Response'
  19159. security:
  19160. - ApiKeyAuth: []
  19161. - ApiKeyAuth: []
  19162. summary: 获取带仓单分类的种类信息
  19163. tags:
  19164. - 仓单贸易
  19165. - 仓单贸易
  19166. securityDefinitions:
  19167. ApiKeyAuth:
  19168. in: header
  19169. name: Authorization
  19170. type: apiKey
  19171. swagger: "2.0"