swagger.yaml 527 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151
  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. closepl:
  5224. description: 平仓损益
  5225. type: number
  5226. currencyid:
  5227. description: 结算币种ID
  5228. type: integer
  5229. cycletime:
  5230. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5231. type: string
  5232. cycletype:
  5233. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5234. type: integer
  5235. enddate:
  5236. description: 结束交易日
  5237. type: string
  5238. enumdicname:
  5239. description: 单位名称(现货商品)
  5240. type: string
  5241. floatpl:
  5242. description: 浮动损益
  5243. type: number
  5244. goodscode:
  5245. description: 交易合约代码
  5246. type: string
  5247. goodsgroupid:
  5248. description: 交易品种
  5249. type: integer
  5250. goodsgroupname:
  5251. description: 交易品种名称
  5252. type: string
  5253. goodsgroupspotqty:
  5254. description: 交易品种期末量 (= 期末持仓量 * 合约乘数)
  5255. type: number
  5256. goodsid:
  5257. description: 交易合约
  5258. type: integer
  5259. goodsname:
  5260. description: 交易合约名称
  5261. type: string
  5262. goodunitid:
  5263. description: 交易合约单位id
  5264. type: integer
  5265. holdamount:
  5266. description: 期末持仓额
  5267. type: number
  5268. holdqty:
  5269. description: 期末持仓量
  5270. type: number
  5271. lastholdamount:
  5272. description: 当前持仓额
  5273. type: number
  5274. lastprice:
  5275. description: 最新价
  5276. type: number
  5277. middlegoodsqty:
  5278. description: 套保品种期末量 (=交易品种期末量 * 期货品种折算系数)
  5279. type: number
  5280. openamount:
  5281. description: 期末开仓额
  5282. type: number
  5283. oriholdamount:
  5284. description: 期初持仓额
  5285. type: number
  5286. oriholdqty:
  5287. description: 期初持仓量
  5288. type: number
  5289. oriopenamount:
  5290. description: 期初开仓额
  5291. type: number
  5292. outergroupcode:
  5293. description: 交易品种代码
  5294. type: string
  5295. reckondate:
  5296. description: 日照时期(yyyyMMdd)
  5297. type: string
  5298. reckonholdamount:
  5299. description: 结算持仓额
  5300. type: number
  5301. reckonpl:
  5302. description: 结算损益
  5303. type: number
  5304. reckonpl2:
  5305. description: 结算逐笔盈亏
  5306. type: number
  5307. reckonprice:
  5308. description: 结算价
  5309. type: number
  5310. relateduserid:
  5311. description: 账户关联用户ID
  5312. type: integer
  5313. todaycloseamount:
  5314. description: 今平仓额
  5315. type: number
  5316. todaycloseqty:
  5317. description: 今平仓量
  5318. type: number
  5319. todaygoodsgroupspotqty:
  5320. description: 交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)
  5321. type: number
  5322. todaymiddlegoodsqty:
  5323. description: 套保品种变化量 (= 交易品种变化量*期货品种折算系数)
  5324. type: number
  5325. todayopenamount:
  5326. description: 今开仓额
  5327. type: number
  5328. todayopenqty:
  5329. description: 今开仓量
  5330. type: number
  5331. userid:
  5332. description: 账户所属用户ID
  5333. type: integer
  5334. type: object
  5335. models.Ermcp3Wrstandard:
  5336. properties:
  5337. areauserid:
  5338. description: 所属机构
  5339. type: integer
  5340. convertfactor:
  5341. description: 标仓系数
  5342. type: number
  5343. createtime:
  5344. description: 创建时间
  5345. type: string
  5346. creatorid:
  5347. description: 创建人
  5348. type: integer
  5349. deliverygoodsid:
  5350. description: 现货品种ID
  5351. type: integer
  5352. enumdicname:
  5353. description: 品类单位名称
  5354. type: string
  5355. isvalid:
  5356. description: 是否有效 0-无效(停用) 1-有效(正常)
  5357. type: integer
  5358. minivalue:
  5359. description: 最小变动值
  5360. type: integer
  5361. minivaluedp:
  5362. description: 最小变动值小数位
  5363. type: integer
  5364. realminivalue:
  5365. description: 实际最小变动值
  5366. type: integer
  5367. realminivaluedp:
  5368. description: 实际最小变动值小数位
  5369. type: integer
  5370. remark:
  5371. description: 备注
  5372. type: string
  5373. unitid:
  5374. description: 品类单位ID
  5375. type: integer
  5376. updatetime:
  5377. description: 更新时间
  5378. type: string
  5379. wrstandardcode:
  5380. description: 品类代码
  5381. type: string
  5382. wrstandardid:
  5383. description: 品类ID(SEQ_WRSTANDARD)
  5384. type: integer
  5385. wrstandardname:
  5386. description: 品类名称
  5387. type: string
  5388. type: object
  5389. models.ErmcpAreaSpotDetailModel:
  5390. properties:
  5391. contracttype:
  5392. description: 合同类型 1-采购 -1-销售
  5393. type: integer
  5394. createtime:
  5395. description: 创建时间
  5396. type: string
  5397. enumdicname:
  5398. description: 现货商品单位名称
  5399. type: string
  5400. logtype:
  5401. description: 记录类型 1-套保 2-现货合同
  5402. type: integer
  5403. qty:
  5404. description: 数量
  5405. type: number
  5406. recordname:
  5407. description: 类型名称
  5408. type: string
  5409. relatedid:
  5410. description: 套保计划ID/现货合同ID
  5411. type: string
  5412. relatedno:
  5413. description: 编号
  5414. type: string
  5415. strtime:
  5416. description: 时间
  5417. type: string
  5418. wrstandardcode:
  5419. description: 现货商品代码
  5420. type: string
  5421. wrstandardname:
  5422. description: 现货商品名称
  5423. type: string
  5424. type: object
  5425. models.ErmcpAvalidGoodsGroupModel:
  5426. properties:
  5427. goodsgroupid:
  5428. description: 期货品种id
  5429. type: integer
  5430. goodsgroupname:
  5431. description: 期货品种名称
  5432. type: string
  5433. goodunitid:
  5434. description: 品种单位id
  5435. type: integer
  5436. goodunitname:
  5437. description: 品种单位名称
  5438. type: string
  5439. outergroupcode:
  5440. description: 期货品种代码
  5441. type: string
  5442. type: object
  5443. models.ErmcpBizGroupEx:
  5444. properties:
  5445. acclist:
  5446. description: 账号列表
  5447. items:
  5448. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  5449. type: array
  5450. bizgroupid:
  5451. description: 业务分组id
  5452. type: integer
  5453. biztype:
  5454. description: 业务类型 1-套保 2-套利
  5455. type: integer
  5456. wrlist:
  5457. description: 现货商品表
  5458. items:
  5459. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  5460. type: array
  5461. type: object
  5462. models.ErmcpBizGroupSpotGoods:
  5463. properties:
  5464. areauserid:
  5465. description: 所属机构id
  5466. type: integer
  5467. bizgroupid:
  5468. description: 分组id
  5469. type: integer
  5470. biztype:
  5471. description: 业务类型 1-套保 2-套利
  5472. type: integer
  5473. deliverygoodscode:
  5474. description: 现货商品代码
  5475. type: string
  5476. deliverygoodsid:
  5477. description: 现货商品id
  5478. type: integer
  5479. deliverygoodsname:
  5480. description: 现货商品名称
  5481. type: string
  5482. unitid:
  5483. description: 现货商品单位id
  5484. type: integer
  5485. type: object
  5486. models.ErmcpBizGroupTaAccount:
  5487. properties:
  5488. accountid:
  5489. description: 账号id
  5490. type: integer
  5491. accountname:
  5492. description: 账号名称
  5493. type: string
  5494. areauserid:
  5495. description: 所属机构id
  5496. type: integer
  5497. bizgroupid:
  5498. description: 业务分组id
  5499. type: integer
  5500. ismain:
  5501. description: 是否主账号 1-是 0-否
  5502. type: integer
  5503. type: object
  5504. models.ErmcpDGFactoryItem:
  5505. properties:
  5506. areauserid:
  5507. description: 用户id
  5508. type: integer
  5509. deliverygoodsid:
  5510. description: 现货品种ID
  5511. type: integer
  5512. dgfactoryitemid:
  5513. description: 选择项ID(SEQ_DGFACTORYITEM)
  5514. type: integer
  5515. dgfactoryitemtypeid:
  5516. description: 要素项类型
  5517. type: integer
  5518. dgfactoryitemvalue:
  5519. description: 要素项值(类型为仓库时填写仓库名称)
  5520. type: string
  5521. isvalid:
  5522. description: 是否有效 - 0:无效 1:有效
  5523. type: integer
  5524. orderindex:
  5525. description: 顺序
  5526. type: integer
  5527. warehouseid:
  5528. description: 仓库ID(类型为仓库时填写)
  5529. type: integer
  5530. type: object
  5531. models.ErmcpDeliveryGoods:
  5532. properties:
  5533. agreeunit:
  5534. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  5535. type: integer
  5536. areauserid:
  5537. description: 所属机构
  5538. type: integer
  5539. auditflag:
  5540. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  5541. type: integer
  5542. categoryid:
  5543. description: 类别ID(SEQ_WRCATEGORY)
  5544. type: integer
  5545. deliverygoodscode:
  5546. description: 现货品种代码
  5547. type: string
  5548. deliverygoodsid:
  5549. description: 现货品种ID(SEQ_DELIVERYGOODS)
  5550. type: integer
  5551. deliverygoodsname:
  5552. description: 现货品种名称
  5553. type: string
  5554. deliverygoodstype:
  5555. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  5556. type: integer
  5557. dgstatus:
  5558. description: 品种状态 - 作废 - 0:未激活 1:正常
  5559. type: integer
  5560. enumdicname:
  5561. description: 现货品种单位名称
  5562. type: string
  5563. goodsunitid:
  5564. description: 现货品种单位ID
  5565. type: integer
  5566. isvalid:
  5567. description: 是否有效 - 0:无效 1:有效
  5568. type: integer
  5569. qtydecimalplace:
  5570. description: 成交量小数位
  5571. type: integer
  5572. remark:
  5573. description: 备注
  5574. type: string
  5575. standardqty:
  5576. description: 标准数量(库位数量) [标准品特有]
  5577. type: integer
  5578. standardqtyrange:
  5579. description: 标准数量偏差范围 [标准品特有]
  5580. type: integer
  5581. type: object
  5582. models.ErmcpDeliveryGoodsDetail2:
  5583. properties:
  5584. convertratio:
  5585. description: 套保系数(折算系数)
  5586. type: number
  5587. data:
  5588. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  5589. description: 现货商品基本信息(交割品种)
  5590. type: object
  5591. gblist:
  5592. description: 品牌列表
  5593. items:
  5594. $ref: '#/definitions/models.Ermcp3Brand'
  5595. type: array
  5596. gmlist:
  5597. description: 品类列表(仓单标准)
  5598. items:
  5599. $ref: '#/definitions/models.Ermcp3Wrstandard'
  5600. type: array
  5601. type: object
  5602. models.ErmcpDeliveryGoodsDetailEx:
  5603. properties:
  5604. data:
  5605. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  5606. description: 现货商品基本信息(交割品种)
  5607. type: object
  5608. gblist:
  5609. description: 品牌列表
  5610. items:
  5611. $ref: '#/definitions/models.Ermcp3Brand'
  5612. type: array
  5613. gmlist:
  5614. description: 品类列表(仓单标准)
  5615. items:
  5616. $ref: '#/definitions/models.Ermcp3Wrstandard'
  5617. type: array
  5618. mgList:
  5619. description: 套保列表
  5620. items:
  5621. $ref: '#/definitions/models.Ermcp3MiddleGoodsDetail2'
  5622. type: array
  5623. type: object
  5624. models.ErmcpExposureDetailModel:
  5625. properties:
  5626. areauserid:
  5627. description: 机构ID
  5628. type: integer
  5629. changeQty:
  5630. description: 套保变动量
  5631. type: number
  5632. contracttype:
  5633. description: 现货合同类型 - 1:采购 -1:销售
  5634. type: integer
  5635. convertfactor:
  5636. description: 标仓系数
  5637. type: number
  5638. convertratio:
  5639. description: 套保系数
  5640. type: number
  5641. createtime:
  5642. description: 时间
  5643. type: string
  5644. enumdicname:
  5645. description: 现货商品单位名称
  5646. type: string
  5647. logtype:
  5648. description: 类型 - 1:套保计划 2:现货合同
  5649. type: integer
  5650. middlegoodsId:
  5651. description: 套保商品id
  5652. type: integer
  5653. middlegoodscode:
  5654. description: 套保商品代码
  5655. type: string
  5656. middlegoodsname:
  5657. description: 套保商品名称
  5658. type: string
  5659. qty:
  5660. description: 数量
  5661. type: number
  5662. relateNo:
  5663. description: 现货合同/套保计划编号
  5664. type: string
  5665. wrstandardcode:
  5666. description: 现货商品代码
  5667. type: string
  5668. wrstandardid:
  5669. description: 现货商品ID
  5670. type: integer
  5671. wrstandardname:
  5672. description: 现货商品名称
  5673. type: string
  5674. type: object
  5675. models.ErmcpExposurePostion:
  5676. properties:
  5677. agreeunit:
  5678. description: 合约单位
  5679. type: string
  5680. areauserid:
  5681. description: 所属机构id
  5682. type: integer
  5683. convertratio:
  5684. description: 期货品种系数(折算系数)
  5685. type: number
  5686. curqty:
  5687. description: 当前持仓
  5688. type: integer
  5689. diffhedgeqty:
  5690. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  5691. type: number
  5692. diffqty:
  5693. description: 持仓变动量=当前持仓-昨日持仓
  5694. type: integer
  5695. goodscode:
  5696. description: 商品代码
  5697. type: string
  5698. goodsid:
  5699. description: 商品id
  5700. type: integer
  5701. goodsname:
  5702. description: 商品名称
  5703. type: string
  5704. middlegoodsid:
  5705. description: 套保商品id
  5706. type: integer
  5707. ydqty:
  5708. description: 昨日持仓
  5709. type: integer
  5710. type: object
  5711. models.ErmcpFuturesCompany:
  5712. properties:
  5713. brokerid:
  5714. description: 经纪公司代码
  5715. type: string
  5716. channeladdress:
  5717. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  5718. type: string
  5719. channelid:
  5720. description: 对冲渠道ID
  5721. type: string
  5722. createtime:
  5723. description: 创建时间
  5724. type: string
  5725. creatorid:
  5726. description: 创建人
  5727. type: string
  5728. fcid:
  5729. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  5730. type: integer
  5731. fcname:
  5732. description: 期货公司名称
  5733. type: string
  5734. isvalid:
  5735. description: 是否有效 - 0:无效 1:有效
  5736. type: integer
  5737. mhpaddress:
  5738. description: MHP服务地址(IP:Port)
  5739. type: string
  5740. riskrulegroupid:
  5741. description: 风控规则组ID
  5742. type: string
  5743. tradefeetmpid:
  5744. description: 手续费模板ID[TradeConfigTmpType为2]
  5745. type: string
  5746. trademargintmpid:
  5747. description: 保证金模板ID [TradeConfigTmpType为1]
  5748. type: string
  5749. traderatetmpid:
  5750. description: 汇率模板ID[TradeConfigTmpType为3]
  5751. type: string
  5752. updatetime:
  5753. description: 更新时间
  5754. type: string
  5755. updatorid:
  5756. description: 更新人
  5757. type: string
  5758. type: object
  5759. models.ErmcpGGConvertCfg:
  5760. properties:
  5761. convertratio:
  5762. description: 折算系数
  5763. type: number
  5764. destgoodsgroupid:
  5765. description: 目标品种ID
  5766. type: integer
  5767. dstcode:
  5768. description: 目录品种代码
  5769. type: string
  5770. dstexchangecode:
  5771. description: 目标期货交易所
  5772. type: string
  5773. dstname:
  5774. description: 目标品种名称
  5775. type: string
  5776. dstunitid:
  5777. description: 目标品种单位ID
  5778. type: integer
  5779. dstunitidname:
  5780. description: 目标品种单位名称
  5781. type: string
  5782. modifytime:
  5783. description: 修改时间
  5784. type: string
  5785. srccode:
  5786. description: 源品种代码
  5787. type: string
  5788. srcexchangecode:
  5789. description: 源期货交易所
  5790. type: string
  5791. srcgoodsgroupid:
  5792. description: 源品种ID
  5793. type: integer
  5794. srcname:
  5795. description: 源品种名称
  5796. type: string
  5797. srcunitid:
  5798. description: 源品种单位ID
  5799. type: integer
  5800. srcunitidname:
  5801. description: 源品种单位名称
  5802. type: string
  5803. type: object
  5804. models.ErmcpGoods:
  5805. properties:
  5806. agreeunit:
  5807. description: 合约单位
  5808. type: number
  5809. areauserid:
  5810. description: 所属机构
  5811. type: integer
  5812. auditaccountid:
  5813. description: 审核操作员账号
  5814. type: integer
  5815. audittime:
  5816. description: 审核时间
  5817. type: string
  5818. cancelaccountid:
  5819. description: 注销操作员账号
  5820. type: integer
  5821. canceltime:
  5822. description: 注销时间
  5823. type: string
  5824. closepricemode:
  5825. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  5826. type: integer
  5827. closepriceparam:
  5828. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  5829. type: number
  5830. createtime:
  5831. description: 创建时间
  5832. type: string
  5833. creatorid:
  5834. description: 创建人
  5835. type: integer
  5836. currencyid:
  5837. description: 报价货币ID
  5838. type: integer
  5839. cutmode:
  5840. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  5841. type: integer
  5842. decimalplace:
  5843. description: 报价小数位
  5844. type: integer
  5845. delistingdate:
  5846. description: 商品退市时间(状态:退市) -- 已作废
  5847. type: string
  5848. delistingmode:
  5849. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  5850. type: integer
  5851. deliveryflag:
  5852. description: 交割标志 - 0:不可交割 1:可交割
  5853. type: integer
  5854. forceclosemode:
  5855. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  5856. type: integer
  5857. forceclosevalue:
  5858. description: 定期强平参数 [收益权]
  5859. type: integer
  5860. goodscode:
  5861. description: 商品代码(内部)
  5862. type: string
  5863. goodscurrencyid:
  5864. description: 合约货币ID
  5865. type: integer
  5866. goodsgroupid:
  5867. description: 所属商品组ID
  5868. type: integer
  5869. goodsid:
  5870. description: 商品ID(自增ID SEQ_GOODS)
  5871. type: integer
  5872. goodsname:
  5873. description: 商品名称
  5874. type: string
  5875. goodsquotetype:
  5876. description: '合约报价类型: 1-直接报价 2-间接报价'
  5877. type: integer
  5878. goodsstatus:
  5879. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  5880. type: integer
  5881. goodstradetype:
  5882. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  5883. type: integer
  5884. goodunitid:
  5885. description: 报价单位ID
  5886. type: integer
  5887. hasquoter:
  5888. description: 是否有报价商 - 0:无报价商 1:有报价商
  5889. type: integer
  5890. hqprotecttime:
  5891. description: 行情保护时间(秒)
  5892. type: integer
  5893. innerdealmode:
  5894. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  5895. type: integer
  5896. isbuylimited:
  5897. description: 是否限制建仓量 - 0:不限制 1:限制
  5898. type: integer
  5899. isvisible:
  5900. description: 游客是否可见 - 0:不可见 1:可见
  5901. type: integer
  5902. lasttradedate:
  5903. description: 最后交易日期(状态:待退市)
  5904. type: string
  5905. listingdate:
  5906. description: 交易开始日期
  5907. type: string
  5908. marketid:
  5909. description: 所属市场ID
  5910. type: integer
  5911. modifierid:
  5912. description: 修改人
  5913. type: integer
  5914. modifystatus:
  5915. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  5916. type: integer
  5917. modifytime:
  5918. description: 修改时间
  5919. type: string
  5920. outerdealmode:
  5921. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  5922. type: integer
  5923. outgoodscode:
  5924. description: 商品代码(外部)
  5925. type: string
  5926. pictureurl:
  5927. description: 商品图片
  5928. type: string
  5929. qtydecimalplace:
  5930. description: 成交量小数位
  5931. type: integer
  5932. quotegear:
  5933. description: 行情档位(1-10)
  5934. type: integer
  5935. quoteminunit:
  5936. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5937. type: integer
  5938. quoteshowtype:
  5939. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  5940. type: integer
  5941. quoteshowtypeinterval:
  5942. description: 行情报价间隔时间(秒)(成交价时为0)
  5943. type: integer
  5944. relatedgoodsid:
  5945. description: 关联参考商品ID
  5946. type: integer
  5947. remark:
  5948. description: 备注
  5949. type: string
  5950. trademode:
  5951. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5952. 21:竞拍-大宗式 22:受托竞价
  5953. type: integer
  5954. required:
  5955. - goodscode
  5956. - goodsid
  5957. - goodsname
  5958. - marketid
  5959. type: object
  5960. models.ErmcpGoodsBrand:
  5961. properties:
  5962. areauserid:
  5963. description: 所属机构
  5964. type: integer
  5965. brandid:
  5966. description: BrandID(SEQ_SPOTGOODSBRAND)
  5967. type: integer
  5968. brandname:
  5969. description: 品牌名称
  5970. type: string
  5971. createtime:
  5972. description: 创建时间
  5973. type: string
  5974. creatorid:
  5975. description: 创建人
  5976. type: integer
  5977. creatorsrc:
  5978. description: 创建人来源 - 1:管理端 2:终端
  5979. type: integer
  5980. deliverygoodsid:
  5981. description: 现货品种ID
  5982. type: integer
  5983. isvalid:
  5984. description: 是否有效 - 0:无效 1:有效
  5985. type: integer
  5986. updatetime:
  5987. description: 更新时间
  5988. type: string
  5989. updatorid:
  5990. description: 更新人
  5991. type: integer
  5992. updatorsrc:
  5993. description: 更新人来源 - 1:管理端 2:终端
  5994. type: integer
  5995. wrstandardid:
  5996. description: 现货商品ID
  5997. type: integer
  5998. type: object
  5999. models.ErmcpGoodsModel:
  6000. properties:
  6001. areauserid:
  6002. description: 所属机构
  6003. type: integer
  6004. convertfactor:
  6005. description: 标仓系数
  6006. type: number
  6007. createtime:
  6008. description: 创建时间
  6009. type: string
  6010. creatorid:
  6011. description: 创建人
  6012. type: integer
  6013. creatorsrc:
  6014. description: 创建人来源 - 1:管理端 2:终端
  6015. type: integer
  6016. deliverygoodsid:
  6017. description: 现货品种ID
  6018. type: integer
  6019. isvalid:
  6020. description: 是否有效 - 0:无效 1:有效
  6021. type: integer
  6022. modelid:
  6023. description: ModelID(SEQ_SPOTGOODSMODEL)
  6024. type: integer
  6025. modelname:
  6026. description: 型号名称
  6027. type: string
  6028. updatetime:
  6029. description: 更新时间
  6030. type: string
  6031. updatorid:
  6032. description: 更新人
  6033. type: integer
  6034. updatorsrc:
  6035. description: 更新人来源 - 1:管理端 2:终端
  6036. type: integer
  6037. wrstandardid:
  6038. description: 现货商品ID
  6039. type: integer
  6040. type: object
  6041. models.ErmcpHedgePosition:
  6042. properties:
  6043. accountid:
  6044. description: 资金账号[外部母账户]
  6045. type: integer
  6046. curbuyposition:
  6047. description: 期末买头寸
  6048. type: integer
  6049. cursellposition:
  6050. description: 期末卖头寸
  6051. type: integer
  6052. curtdbuyposition:
  6053. description: 期末今日买头寸
  6054. type: integer
  6055. curtdsellposition:
  6056. description: 期末今日卖头寸
  6057. type: integer
  6058. curydbuyposition:
  6059. description: 期末上日买头寸
  6060. type: integer
  6061. curydsellposition:
  6062. description: 期末上日卖头寸
  6063. type: integer
  6064. decreaseqty:
  6065. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  6066. type: integer
  6067. fretdbuyposition:
  6068. description: 冻结今日买头寸
  6069. type: integer
  6070. fretdsellposition:
  6071. description: 冻结今日卖头寸
  6072. type: integer
  6073. freydbuyposition:
  6074. description: 冻结上日买头寸
  6075. type: integer
  6076. freydsellposition:
  6077. description: 冻结上日卖头寸
  6078. type: integer
  6079. goodscode:
  6080. description: 商品代码
  6081. type: string
  6082. goodsid:
  6083. description: 商品id
  6084. type: integer
  6085. goodsname:
  6086. description: 商品名称
  6087. type: string
  6088. hedgeaccountcode:
  6089. description: 对冲账号
  6090. type: string
  6091. hedgegoodsid:
  6092. description: 对冲合约ID
  6093. type: integer
  6094. increaseqty:
  6095. description: 增加数量 = 期末买头寸 - 期初买头寸
  6096. type: integer
  6097. marketid:
  6098. description: 市场ID
  6099. type: integer
  6100. relateduserid:
  6101. description: 关联用户id
  6102. type: integer
  6103. totalcurqty:
  6104. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  6105. type: integer
  6106. totalydqty:
  6107. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  6108. type: integer
  6109. tradedate:
  6110. description: 交易日(yyyyMMdd)
  6111. type: string
  6112. ydbuyposition:
  6113. description: 期初买头寸
  6114. type: integer
  6115. ydsellposition:
  6116. description: 期初卖头寸
  6117. type: integer
  6118. type: object
  6119. models.ErmcpHedgePositionDetail:
  6120. properties:
  6121. buyorsell:
  6122. description: 买卖方向 0-买 1-卖
  6123. type: integer
  6124. channelbuildtype:
  6125. description: 开平方向 1-建仓 2-平仓
  6126. type: integer
  6127. goodscode:
  6128. description: 商品代码
  6129. type: string
  6130. goodsname:
  6131. description: 商品名称
  6132. type: string
  6133. hedgegoodsid:
  6134. description: 商品id
  6135. type: integer
  6136. tradeqty:
  6137. description: 数量(成交数量)
  6138. type: integer
  6139. tradetime:
  6140. description: 时间(成交时间)
  6141. type: string
  6142. type: object
  6143. models.ErmcpHisExposure:
  6144. properties:
  6145. needhedgeexposoure:
  6146. description: 应套保敞口
  6147. type: number
  6148. reckondate:
  6149. description: 日照时期(yyyyMMdd)
  6150. type: string
  6151. totalexposure:
  6152. description: 总敞口
  6153. type: number
  6154. type: object
  6155. models.ErmcpHisExposureS:
  6156. properties:
  6157. data:
  6158. description: 历史敞口
  6159. items:
  6160. $ref: '#/definitions/models.ErmcpHisExposure'
  6161. type: array
  6162. enumdicname:
  6163. description: 单位名称
  6164. type: string
  6165. middlegoodscode:
  6166. description: 套保品种代码
  6167. type: string
  6168. middlegoodsid:
  6169. description: 套保品种ID
  6170. type: integer
  6171. middlegoodsname:
  6172. description: 套保品种名称
  6173. type: string
  6174. type: object
  6175. models.ErmcpLoginTaAccount:
  6176. properties:
  6177. accountid:
  6178. description: 账号id
  6179. type: integer
  6180. accountname:
  6181. description: 账号名称
  6182. type: string
  6183. type: object
  6184. models.ErmcpLoginUser:
  6185. properties:
  6186. acclist:
  6187. description: 关联资金账号
  6188. items:
  6189. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  6190. type: array
  6191. accountname:
  6192. description: 用户名称
  6193. type: string
  6194. clientroleid:
  6195. description: 角色id(usertype=2)
  6196. type: integer
  6197. createtime:
  6198. description: 创建时间
  6199. type: string
  6200. logincode:
  6201. description: 登录代码
  6202. type: string
  6203. loginid:
  6204. description: 登录id(LOGINID)
  6205. type: integer
  6206. loginname:
  6207. description: 登录名称(loginaccount表中的accountname字段)
  6208. type: string
  6209. loginstatus:
  6210. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  6211. type: integer
  6212. memberuserid:
  6213. description: 所属会员id
  6214. type: integer
  6215. mobile:
  6216. description: 手机号
  6217. type: string
  6218. modifytime:
  6219. description: 修改时间
  6220. type: string
  6221. password:
  6222. description: 密码(不可解密)
  6223. type: string
  6224. rolename:
  6225. description: 角色名称
  6226. type: string
  6227. rolestatus:
  6228. description: 角色状态 1-启用 2-停用
  6229. type: integer
  6230. roletype:
  6231. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  6232. type: string
  6233. userid:
  6234. description: 用户id
  6235. type: integer
  6236. usertype:
  6237. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  6238. type: integer
  6239. type: object
  6240. models.ErmcpLoginUserEx:
  6241. properties:
  6242. accountstatus:
  6243. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  6244. type: integer
  6245. mobile:
  6246. description: 手机号
  6247. type: string
  6248. querytype:
  6249. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  6250. type: integer
  6251. roleid:
  6252. description: 角色id(交易账户->用户id)
  6253. type: integer
  6254. rolename:
  6255. description: 角色名称(交易账户->用户名称)
  6256. type: string
  6257. userlist:
  6258. description: 用户列表
  6259. items:
  6260. $ref: '#/definitions/models.ErmcpLoginUser'
  6261. type: array
  6262. usertype:
  6263. description: 用户类型 2-机构 7-企业成员(云平台)
  6264. type: integer
  6265. type: object
  6266. models.ErmcpMiddleGoodsChangeLog:
  6267. properties:
  6268. aftervalue:
  6269. description: 变更后
  6270. type: number
  6271. applyid:
  6272. description: 操作人
  6273. type: integer
  6274. applyname:
  6275. description: 操作人名称
  6276. type: string
  6277. applysrc:
  6278. description: 操作来源 - 1:管理端 2:终端
  6279. type: integer
  6280. beforevalue:
  6281. description: 变更前
  6282. type: number
  6283. changelogtype:
  6284. description: 变更流水类型 - 1:套保比率变更
  6285. type: integer
  6286. handlestatus:
  6287. description: 处理状态
  6288. type: integer
  6289. logdatetime:
  6290. description: 流水日期
  6291. type: string
  6292. logid:
  6293. description: 流水ID
  6294. type: integer
  6295. logremark:
  6296. description: 流水备注
  6297. type: string
  6298. middlegoodsid:
  6299. description: 套保品种ID
  6300. type: integer
  6301. tradedate:
  6302. description: 交易日(yyyyMMdd)
  6303. type: string
  6304. updatetime:
  6305. description: 更新时间
  6306. type: string
  6307. type: object
  6308. models.ErmcpMiddleGoodsDetail:
  6309. properties:
  6310. cvList:
  6311. description: 期货品种折算列表
  6312. items:
  6313. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  6314. type: array
  6315. mg:
  6316. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  6317. description: 套保品种基本信息
  6318. type: object
  6319. wrcList:
  6320. description: 现货品种列表(现货商品折算配置)
  6321. items:
  6322. $ref: '#/definitions/models.WRSConverTDetail'
  6323. type: array
  6324. type: object
  6325. models.ErmcpMiddleGoodsModel:
  6326. properties:
  6327. areauserid:
  6328. description: 机构用户ID
  6329. type: integer
  6330. createtime:
  6331. description: 修改时间
  6332. type: string
  6333. enumdicname:
  6334. description: 单位名称
  6335. type: string
  6336. evaluateratio:
  6337. description: 估价系数
  6338. type: number
  6339. goodsgroupid:
  6340. description: 关联期货品种ID
  6341. type: integer
  6342. goodsunitid:
  6343. description: 单位ID
  6344. type: integer
  6345. isvalid:
  6346. description: 状态 0-无效(停用) 1-有效(正常)
  6347. type: integer
  6348. middlegoodscode:
  6349. description: 套保品种代码
  6350. type: string
  6351. middlegoodsid:
  6352. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  6353. type: integer
  6354. middlegoodsname:
  6355. description: 套保品种名称
  6356. type: string
  6357. modifytime:
  6358. description: 修改时间
  6359. type: string
  6360. needarbitrageratio:
  6361. description: 套利比例
  6362. type: number
  6363. needhedgeratio:
  6364. description: 套保比率
  6365. type: number
  6366. qtydecimalplace:
  6367. description: 数量小数位
  6368. type: integer
  6369. relatedgoodsid:
  6370. description: 关联交易商品ID
  6371. type: integer
  6372. relatedgoodstype:
  6373. description: 关联商品类型 - 1:期货合约 2:现货品种
  6374. type: integer
  6375. remark:
  6376. description: 备注
  6377. type: string
  6378. type: object
  6379. models.ErmcpMiddlegoodsRelateGoods:
  6380. properties:
  6381. agreeunit:
  6382. description: 合约乘数
  6383. type: number
  6384. convertratio:
  6385. description: 折算系数
  6386. type: number
  6387. enumdicname:
  6388. description: 单位名称(交易商品)
  6389. type: string
  6390. goodscode:
  6391. description: 交易商品代码
  6392. type: string
  6393. goodsgroupid:
  6394. description: 交易品种id
  6395. type: integer
  6396. goodsid:
  6397. description: 商品Id
  6398. type: integer
  6399. goodsname:
  6400. description: 交易商品名称
  6401. type: string
  6402. goodunitid:
  6403. description: 交易商品单位id
  6404. type: integer
  6405. middlegoodsid:
  6406. description: 套保商品id
  6407. type: integer
  6408. middlegoodsname:
  6409. description: 套保商品名称
  6410. type: string
  6411. middlegoodsswcode:
  6412. description: 套保商品代码
  6413. type: string
  6414. needarbitrageratio:
  6415. description: 应套利比例
  6416. type: number
  6417. needhedgeratio:
  6418. description: 应套保比例
  6419. type: number
  6420. type: object
  6421. models.ErmcpOPLogModel:
  6422. properties:
  6423. aftervalue:
  6424. description: 变更后
  6425. type: number
  6426. applyid:
  6427. description: 操作人ID
  6428. type: string
  6429. applyname:
  6430. description: 操作人名称
  6431. type: string
  6432. beforevalue:
  6433. description: 变更前
  6434. type: number
  6435. biztype:
  6436. description: 业务类型 - 1:套保计划 2:现货合同
  6437. type: integer
  6438. contracttype:
  6439. description: 现货合同类型 - 1:采购 -1:销售
  6440. type: integer
  6441. logvalue:
  6442. description: 数值
  6443. type: number
  6444. operatelogtype:
  6445. description: 操作流水类型
  6446. type: integer
  6447. operatelogtypedesc:
  6448. description: 操作流水类型名称
  6449. type: string
  6450. relatedid:
  6451. description: 现货合同ID\套保计划
  6452. type: string
  6453. updatetime:
  6454. description: 更新时间
  6455. type: string
  6456. type: object
  6457. models.ErmcpPendingAudit:
  6458. properties:
  6459. areastockqty:
  6460. description: '待审核数量: 库存申请'
  6461. type: integer
  6462. businessdjqty:
  6463. description: '待审核数量: 点价'
  6464. type: integer
  6465. businessfpqty:
  6466. description: '待审核数量: 发票'
  6467. type: integer
  6468. businessjsqty:
  6469. description: '待审核数量: 结算'
  6470. type: integer
  6471. businesskxqty:
  6472. description: '待审核数量: 款项'
  6473. type: integer
  6474. hedgeplanqty:
  6475. description: '待审核数量: 套保计划'
  6476. type: integer
  6477. spotcontractqty:
  6478. description: '待审核数量: 现货合同'
  6479. type: integer
  6480. userqty:
  6481. description: '待审核数量: 用户'
  6482. type: integer
  6483. type: object
  6484. models.ErmcpRealExposureModel:
  6485. properties:
  6486. AreaUserID:
  6487. description: 所属机构
  6488. type: integer
  6489. BuyFutureQty:
  6490. description: 买入期货数量
  6491. type: number
  6492. BuyPlanQty:
  6493. description: 采购计划数量
  6494. type: number
  6495. BuyPricedQty:
  6496. description: 采购合同已定价数量
  6497. type: number
  6498. MiddleGoodsCode:
  6499. description: 套保品种代码
  6500. type: string
  6501. MiddleGoodsHedgeRatio:
  6502. description: 套保比例
  6503. type: number
  6504. MiddleGoodsID:
  6505. description: 套保品种
  6506. type: integer
  6507. MiddleGoodsName:
  6508. description: 套保品种名称
  6509. type: string
  6510. NeedHedgeExposoure:
  6511. description: 应套保敞口(套保敞口)
  6512. type: number
  6513. NeedHedgeRatio:
  6514. description: 应套保敞口比例
  6515. type: number
  6516. OriBuyFutureQty:
  6517. description: 期初买入期货数量
  6518. type: number
  6519. OriBuyPlanQty:
  6520. description: 期初采购计划数量
  6521. type: number
  6522. OriBuyPricedQty:
  6523. description: 期初采购合同已定价数量
  6524. type: number
  6525. OriSellFutureQty:
  6526. description: 期初卖出期货数量
  6527. type: number
  6528. OriSellPlanQty:
  6529. description: 期初销售计划数量
  6530. type: number
  6531. OriSellPricedQty:
  6532. description: 期初销售合同已定价数量
  6533. type: number
  6534. SellFutureQty:
  6535. description: 卖出期货数量
  6536. type: number
  6537. SellPlanQty:
  6538. description: 销售计划数量
  6539. type: number
  6540. SellPricedQty:
  6541. description: 销售合同已定价数量
  6542. type: number
  6543. TotalExposure:
  6544. description: 总敞口
  6545. type: number
  6546. TotalFutureQty:
  6547. description: 期货总量
  6548. type: number
  6549. TotalHedgeRatio:
  6550. description: 敞口比例
  6551. type: number
  6552. TotalNeedHedgeQty:
  6553. description: 应套保总量(现货应套保总量)
  6554. type: number
  6555. TotalSpotQty:
  6556. description: 现货总量
  6557. type: number
  6558. arbitrageqty:
  6559. description: 套利量
  6560. type: number
  6561. diffArbitrageQty:
  6562. description: 套利变动量
  6563. type: number
  6564. diffExposoureQty:
  6565. description: 变动量(套保敞口)
  6566. type: number
  6567. diffFutuQty:
  6568. description: 变动量(期货总量)
  6569. type: number
  6570. diffHedgeQty:
  6571. description: 套保变动量
  6572. type: number
  6573. diffQty:
  6574. description: 变动量(总敞口)
  6575. type: number
  6576. diffSpotHedgeQty:
  6577. description: 变动量(现货应套保总量)
  6578. type: number
  6579. diffSpotQty:
  6580. description: 变动量(现货总量) = 现货数量 - 期初现货数量
  6581. type: number
  6582. enumdicname:
  6583. description: 单位名称
  6584. type: string
  6585. hedgeqty:
  6586. description: 套保量
  6587. type: number
  6588. needarbitrageqty:
  6589. description: 应套利量
  6590. type: number
  6591. needarbitrageratio:
  6592. description: 套利比例
  6593. type: number
  6594. needhedgeqty:
  6595. description: 应套保量
  6596. type: number
  6597. oriTotalFutuQty:
  6598. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  6599. type: number
  6600. oriTotalSpotQty:
  6601. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  6602. type: number
  6603. oriarbitrageqty:
  6604. description: 期初套利量
  6605. type: number
  6606. orihedgeqty:
  6607. description: 期初套保量
  6608. type: number
  6609. orineedhedgeexposoure:
  6610. description: 期初套保敞口
  6611. type: number
  6612. oritotalexposure:
  6613. description: 期初总敞口
  6614. type: number
  6615. oritotalfutureqty:
  6616. description: 期初期货总量
  6617. type: number
  6618. oritotalneedhedgeqty:
  6619. description: 期初现货应套保量
  6620. type: number
  6621. type: object
  6622. models.ErmcpRole:
  6623. properties:
  6624. areauserid:
  6625. description: 所属机构
  6626. type: integer
  6627. autoid:
  6628. description: 角色ID(自增ID)
  6629. type: integer
  6630. modifierid:
  6631. description: 修改人(创建人)
  6632. type: integer
  6633. modifiername:
  6634. description: 修改人名称
  6635. type: string
  6636. modifytime:
  6637. description: 修改时间(创建时间)
  6638. type: string
  6639. rolename:
  6640. description: 角色名称
  6641. type: string
  6642. rolestatus:
  6643. description: 角色状态 - 1:启用 2:停用
  6644. type: integer
  6645. roletype:
  6646. description: 角色类型 - 1- 管理端 2- 交易端
  6647. type: integer
  6648. type: object
  6649. models.ErmcpRoleMenu:
  6650. properties:
  6651. iconame:
  6652. description: 菜单图标
  6653. type: string
  6654. ishadrole:
  6655. description: 是否有权限
  6656. type: boolean
  6657. menutype:
  6658. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  6659. type: integer
  6660. parentcode:
  6661. description: 上级资源代码
  6662. type: string
  6663. remark:
  6664. description: 菜单备注
  6665. type: string
  6666. resourcecode:
  6667. description: 菜单代码
  6668. type: string
  6669. resourcelevel:
  6670. description: 级别
  6671. type: integer
  6672. resourcename:
  6673. description: 菜单名称
  6674. type: string
  6675. roleid:
  6676. description: 角色id
  6677. type: integer
  6678. sort:
  6679. description: 排序
  6680. type: integer
  6681. url:
  6682. description: URL
  6683. type: string
  6684. userid:
  6685. description: 用户id
  6686. type: integer
  6687. type: object
  6688. models.ErmcpRoleMenuEx:
  6689. properties:
  6690. menu:
  6691. $ref: '#/definitions/models.ErmcpRoleMenu'
  6692. description: 父级菜单
  6693. type: object
  6694. subMenu:
  6695. description: 子级菜单
  6696. items:
  6697. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  6698. type: array
  6699. type: object
  6700. models.ErmcpTaAccount:
  6701. properties:
  6702. accountid:
  6703. description: 账户id
  6704. type: integer
  6705. accountname:
  6706. description: 账户名称
  6707. type: string
  6708. currencyid:
  6709. description: 币种id
  6710. type: integer
  6711. hedgeaccountcode:
  6712. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  6713. type: string
  6714. ismain:
  6715. description: 是否主账户 0-否 1-是
  6716. type: integer
  6717. parentaccountid:
  6718. description: 父账户id
  6719. type: integer
  6720. relateduserid:
  6721. description: 关联userid
  6722. type: integer
  6723. tradefeetmpid:
  6724. description: 手续费模板id
  6725. type: integer
  6726. tradefeetmpname:
  6727. description: 手续费模板名称
  6728. type: string
  6729. trademargintmpid:
  6730. description: 保证金模板id
  6731. type: integer
  6732. trademargintmpname:
  6733. description: 保证金模板名称
  6734. type: string
  6735. traderatetmpid:
  6736. description: 汇率模板id
  6737. type: integer
  6738. traderatetmpname:
  6739. description: 汇率模板名称
  6740. type: string
  6741. tradestatus:
  6742. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  6743. type: integer
  6744. userid:
  6745. description: 用户id
  6746. type: integer
  6747. type: object
  6748. models.ErmcpTaAccountEx:
  6749. properties:
  6750. mainAcc:
  6751. $ref: '#/definitions/models.ErmcpTaAccountM'
  6752. description: 主账号
  6753. type: object
  6754. subacclist:
  6755. description: 子账号列表
  6756. items:
  6757. $ref: '#/definitions/models.ErmcpTaAccount'
  6758. type: array
  6759. type: object
  6760. models.ErmcpTaAccountInfo:
  6761. properties:
  6762. accountid:
  6763. description: 资金账户ID
  6764. type: integer
  6765. accountname:
  6766. description: 账户名称
  6767. type: string
  6768. balance:
  6769. description: 期初余额
  6770. type: number
  6771. capitalbalance:
  6772. description: 本金余额[外部子账户实际出入金余额]
  6773. type: number
  6774. closepl:
  6775. description: 今日平仓盈亏
  6776. type: number
  6777. creditdecrease:
  6778. description: 今日授信减少
  6779. type: number
  6780. creditincrease:
  6781. description: 今日授信增加
  6782. type: number
  6783. curdebt:
  6784. description: 期末欠款
  6785. type: number
  6786. currencyid:
  6787. description: 货币ID
  6788. type: integer
  6789. currentbalance:
  6790. description: 期末余额
  6791. type: number
  6792. freezecharge:
  6793. description: 手续费冻结
  6794. type: number
  6795. freezemargin:
  6796. description: 冻结保证金
  6797. type: number
  6798. fromaccountid:
  6799. description: 所属上级账户
  6800. type: integer
  6801. inamount:
  6802. description: 今日入金金额(包括三方入金)
  6803. type: number
  6804. ismain:
  6805. description: 是否母账号 0:不是母账户 1:是母账户
  6806. type: integer
  6807. mortgagecredit:
  6808. description: 授信金额
  6809. type: number
  6810. oridebt:
  6811. description: 期初欠款
  6812. type: number
  6813. orifreezecharge:
  6814. description: 期初手续费冻结
  6815. type: number
  6816. orifreezemargin:
  6817. description: 期初冻结保证金
  6818. type: number
  6819. orimortgagecredit:
  6820. description: 期初授信金额
  6821. type: number
  6822. oriothercredit:
  6823. description: 期初其它授信金额
  6824. type: number
  6825. oriotherfreezemargin:
  6826. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  6827. type: number
  6828. orioutamountfreeze:
  6829. description: 期初出金冻结
  6830. type: number
  6831. oriusedmargin:
  6832. description: 期初占用保证金
  6833. type: number
  6834. othercredit:
  6835. description: 其它授信金额
  6836. type: number
  6837. othercreditdecrease:
  6838. description: 今日其它授信减少
  6839. type: number
  6840. othercreditincrease:
  6841. description: 今日其它授信增加
  6842. type: number
  6843. otherfreezemargin:
  6844. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  6845. type: number
  6846. outamount:
  6847. description: 今日出金金额(包括三方出金)
  6848. type: number
  6849. outamountfreeze:
  6850. description: 出金冻结
  6851. type: number
  6852. outthreshold:
  6853. description: 出金阈值
  6854. type: number
  6855. parentaccountid:
  6856. description: 所属根账号
  6857. type: integer
  6858. paycharge:
  6859. description: 今日手续费支出
  6860. type: number
  6861. relateduserid:
  6862. description: 关联用户
  6863. type: integer
  6864. signstatus:
  6865. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  6866. type: integer
  6867. sublevelpath:
  6868. description: 账号层级路径(逗号分隔,首尾加逗号)
  6869. type: string
  6870. taaccounttype:
  6871. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  6872. type: integer
  6873. thirdinamount:
  6874. description: 今日三方入金
  6875. type: number
  6876. thirdoutamount:
  6877. description: 今日三方出金
  6878. type: number
  6879. tradestatus:
  6880. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  6881. type: integer
  6882. transferamount:
  6883. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  6884. type: number
  6885. usedmargin:
  6886. description: 占用保证金
  6887. type: number
  6888. userid:
  6889. description: 用户ID
  6890. type: integer
  6891. type: object
  6892. models.ErmcpTaAccountM:
  6893. properties:
  6894. accountid:
  6895. description: 账户id
  6896. type: integer
  6897. accountname:
  6898. description: 账户名称
  6899. type: string
  6900. currencyid:
  6901. description: 币种id
  6902. type: integer
  6903. fcid:
  6904. description: 期货公司id
  6905. type: integer
  6906. fcname:
  6907. description: 期货公司代码
  6908. type: string
  6909. hedgeaccountcode:
  6910. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  6911. type: string
  6912. ismain:
  6913. description: 是否主账户 0-否 1-是
  6914. type: integer
  6915. parentaccountid:
  6916. description: 父账户id
  6917. type: integer
  6918. relateduserid:
  6919. description: 关联userid
  6920. type: integer
  6921. tradefeetmpid:
  6922. description: 手续费模板id
  6923. type: integer
  6924. tradefeetmpname:
  6925. description: 手续费模板名称
  6926. type: string
  6927. trademargintmpid:
  6928. description: 保证金模板id
  6929. type: integer
  6930. trademargintmpname:
  6931. description: 保证金模板名称
  6932. type: string
  6933. traderatetmpid:
  6934. description: 汇率模板id
  6935. type: integer
  6936. traderatetmpname:
  6937. description: 汇率模板名称
  6938. type: string
  6939. tradestatus:
  6940. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  6941. type: integer
  6942. userid:
  6943. description: 用户id
  6944. type: integer
  6945. type: object
  6946. models.ErmcpTradeConfigTMP:
  6947. properties:
  6948. areauserid:
  6949. description: 所属机构
  6950. type: integer
  6951. basiccurrencyid:
  6952. description: 基本币种ID[汇率] - 目标币种
  6953. type: integer
  6954. mainaccountid:
  6955. description: 主账户ID
  6956. type: integer
  6957. modifierid:
  6958. description: 修改人
  6959. type: integer
  6960. remark:
  6961. description: 备注
  6962. type: string
  6963. tradeconfigtmpid:
  6964. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  6965. type: integer
  6966. tradeconfigtmpname:
  6967. description: 交易配置模板名称
  6968. type: string
  6969. tradeconfigtmptype:
  6970. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  6971. type: integer
  6972. updatetime:
  6973. description: 更新时间
  6974. type: string
  6975. type: object
  6976. models.ErmcpUserModel:
  6977. properties:
  6978. address:
  6979. description: 通讯地址
  6980. type: string
  6981. attachment1:
  6982. description: 附件1
  6983. type: string
  6984. audittime:
  6985. description: 审核时间
  6986. type: string
  6987. cardbackphotourl:
  6988. description: 证件反面图片地址
  6989. type: string
  6990. cardfrontphotourl:
  6991. description: 证件正面图片地址
  6992. type: string
  6993. cardnum:
  6994. description: 证件号码
  6995. type: string
  6996. cardtype:
  6997. description: 证件类型
  6998. type: integer
  6999. cardtypename:
  7000. description: 证件类型名称
  7001. type: string
  7002. cityid:
  7003. description: 市
  7004. type: integer
  7005. contactname:
  7006. description: 联系人
  7007. type: string
  7008. countryid:
  7009. description: 国家
  7010. type: integer
  7011. createtime:
  7012. description: 创建时间
  7013. type: string
  7014. customername:
  7015. description: 企业名称
  7016. type: string
  7017. districtid:
  7018. description: 区域
  7019. type: integer
  7020. email:
  7021. description: 邮件
  7022. type: string
  7023. legalpersonname:
  7024. description: 法人姓名(企业)
  7025. type: string
  7026. memberuserid:
  7027. description: 所属机构ID
  7028. type: integer
  7029. mobile:
  7030. description: 手机号码
  7031. type: string
  7032. modifytime:
  7033. description: 修改时间
  7034. type: string
  7035. nickname:
  7036. description: 昵称
  7037. type: string
  7038. provinceid:
  7039. description: 省
  7040. type: integer
  7041. remark:
  7042. description: 备注
  7043. type: string
  7044. status:
  7045. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  7046. type: integer
  7047. statusdesc:
  7048. description: 账户状态中文描述
  7049. type: string
  7050. taxpayernum:
  7051. description: 纳税人识别号
  7052. type: string
  7053. telphone:
  7054. description: 联系电话
  7055. type: string
  7056. userid:
  7057. description: 用户ID
  7058. type: integer
  7059. userinfotype:
  7060. description: 客户类型
  7061. type: string
  7062. type: object
  7063. models.ErmcpWareHouseInfo:
  7064. properties:
  7065. address:
  7066. description: 详细地址
  7067. type: string
  7068. areauserid:
  7069. description: 所属机构
  7070. type: integer
  7071. autoid:
  7072. description: 自增ID(仓库ID)
  7073. type: integer
  7074. cityid:
  7075. description: 市
  7076. type: integer
  7077. contactname:
  7078. description: 联系人
  7079. type: string
  7080. contactnum:
  7081. description: 联系电话
  7082. type: string
  7083. countryid:
  7084. description: 国家
  7085. type: integer
  7086. createtime:
  7087. description: 创建时间
  7088. type: string
  7089. districtid:
  7090. description: 区
  7091. type: integer
  7092. hasvideo:
  7093. description: 是否有视频 - 0:无 1:有
  7094. type: integer
  7095. provinceid:
  7096. description: 省
  7097. type: integer
  7098. remark:
  7099. description: 审核备注
  7100. type: string
  7101. videourl:
  7102. description: 视频地址
  7103. type: string
  7104. warehousecode:
  7105. description: 仓库代码
  7106. type: string
  7107. warehousename:
  7108. description: 仓库名称
  7109. type: string
  7110. warehousestatus:
  7111. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  7112. type: integer
  7113. warehousetype:
  7114. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  7115. type: integer
  7116. type: object
  7117. models.Externalexchange:
  7118. properties:
  7119. autoid:
  7120. description: AutoID - SEQ_EXTERNALEXCHANGE
  7121. type: integer
  7122. exchangefullname:
  7123. description: 外部交易所全称
  7124. type: string
  7125. exexchangecode:
  7126. description: 外部交易所代码
  7127. type: string
  7128. exexchangename:
  7129. description: 外部交易所名称(简称)
  7130. type: string
  7131. ismarketprice:
  7132. description: 是否支持市价 - 0:不支持 1:支持
  7133. type: integer
  7134. quotegear:
  7135. description: 行情档位(1-10)
  7136. type: integer
  7137. showbrokerflag:
  7138. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  7139. type: integer
  7140. updatetime:
  7141. description: 更新时间
  7142. type: string
  7143. required:
  7144. - autoid
  7145. type: object
  7146. models.Funcmenulist:
  7147. properties:
  7148. iconame:
  7149. description: 菜单图标
  7150. type: string
  7151. menutype:
  7152. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  7153. type: integer
  7154. parentcode:
  7155. description: 上级资源代码
  7156. type: string
  7157. remark:
  7158. description: 备注
  7159. type: string
  7160. resourcecode:
  7161. description: 资源代码
  7162. type: string
  7163. resourcelevel:
  7164. description: 级别 1-一级 2-二级 3-三级 4-四级
  7165. type: integer
  7166. resourcename:
  7167. description: 资源名
  7168. type: string
  7169. sort:
  7170. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  7171. type: integer
  7172. url:
  7173. description: URL
  7174. type: string
  7175. required:
  7176. - resourcecode
  7177. type: object
  7178. models.Goods:
  7179. properties:
  7180. agreeunit:
  7181. description: 合约单位
  7182. type: number
  7183. areauserid:
  7184. description: 所属机构
  7185. type: integer
  7186. auditaccountid:
  7187. description: 审核操作员账号
  7188. type: integer
  7189. audittime:
  7190. description: 审核时间
  7191. type: string
  7192. cancelaccountid:
  7193. description: 注销操作员账号
  7194. type: integer
  7195. canceltime:
  7196. description: 注销时间
  7197. type: string
  7198. closepricemode:
  7199. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7200. type: integer
  7201. closepriceparam:
  7202. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  7203. type: number
  7204. createtime:
  7205. description: 创建时间
  7206. type: string
  7207. creatorid:
  7208. description: 创建人
  7209. type: integer
  7210. currencyid:
  7211. description: 报价货币ID
  7212. type: integer
  7213. cutmode:
  7214. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  7215. type: integer
  7216. decimalplace:
  7217. description: 报价小数位
  7218. type: integer
  7219. delistingdate:
  7220. description: 商品退市时间(状态:退市) -- 已作废
  7221. type: string
  7222. delistingmode:
  7223. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  7224. type: integer
  7225. deliveryflag:
  7226. description: 交割标志 - 0:不可交割 1:可交割
  7227. type: integer
  7228. forceclosemode:
  7229. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  7230. type: integer
  7231. forceclosevalue:
  7232. description: 定期强平参数 [收益权]
  7233. type: integer
  7234. goodscode:
  7235. description: 商品代码(内部)
  7236. type: string
  7237. goodscurrencyid:
  7238. description: 合约货币ID
  7239. type: integer
  7240. goodsgroupid:
  7241. description: 所属商品组ID
  7242. type: integer
  7243. goodsid:
  7244. description: 商品ID(自增ID SEQ_GOODS)
  7245. type: integer
  7246. goodsname:
  7247. description: 商品名称
  7248. type: string
  7249. goodsquotetype:
  7250. description: '合约报价类型: 1-直接报价 2-间接报价'
  7251. type: integer
  7252. goodsstatus:
  7253. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  7254. type: integer
  7255. goodstradetype:
  7256. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  7257. type: integer
  7258. goodunitid:
  7259. description: 报价单位ID
  7260. type: integer
  7261. hasquoter:
  7262. description: 是否有报价商 - 0:无报价商 1:有报价商
  7263. type: integer
  7264. hqprotecttime:
  7265. description: 行情保护时间(秒)
  7266. type: integer
  7267. innerdealmode:
  7268. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7269. type: integer
  7270. isbuylimited:
  7271. description: 是否限制建仓量 - 0:不限制 1:限制
  7272. type: integer
  7273. isvisible:
  7274. description: 游客是否可见 - 0:不可见 1:可见
  7275. type: integer
  7276. lasttradedate:
  7277. description: 最后交易日期(状态:待退市)
  7278. type: string
  7279. listingdate:
  7280. description: 交易开始日期
  7281. type: string
  7282. marketid:
  7283. description: 所属市场ID
  7284. type: integer
  7285. modifierid:
  7286. description: 修改人
  7287. type: integer
  7288. modifystatus:
  7289. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  7290. type: integer
  7291. modifytime:
  7292. description: 修改时间
  7293. type: string
  7294. outerdealmode:
  7295. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7296. type: integer
  7297. outgoodscode:
  7298. description: 商品代码(外部)
  7299. type: string
  7300. pictureurl:
  7301. description: 商品图片
  7302. type: string
  7303. qtydecimalplace:
  7304. description: 成交量小数位
  7305. type: integer
  7306. quotegear:
  7307. description: 行情档位(1-10)
  7308. type: integer
  7309. quoteminunit:
  7310. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7311. type: integer
  7312. quoteshowtype:
  7313. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  7314. type: integer
  7315. quoteshowtypeinterval:
  7316. description: 行情报价间隔时间(秒)(成交价时为0)
  7317. type: integer
  7318. remark:
  7319. description: 备注
  7320. type: string
  7321. required:
  7322. - goodscode
  7323. - goodsid
  7324. - goodsname
  7325. - marketid
  7326. type: object
  7327. models.GoodsIDAndName:
  7328. properties:
  7329. goodscode:
  7330. description: 商品代码(内部)
  7331. type: string
  7332. goodsid:
  7333. description: 商品ID(自增ID SEQ_GOODS)
  7334. type: integer
  7335. goodsname:
  7336. description: 商品名称
  7337. type: string
  7338. marketid:
  7339. description: 所属市场ID
  7340. type: integer
  7341. required:
  7342. - goodscode
  7343. - goodsid
  7344. - goodsname
  7345. - marketid
  7346. type: object
  7347. models.Goodsgroup:
  7348. properties:
  7349. agreeunit:
  7350. description: 合约单位
  7351. type: number
  7352. canshort:
  7353. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  7354. type: integer
  7355. closepricemode:
  7356. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7357. type: integer
  7358. closepriceparam:
  7359. description: 强平最新价浮动比例 - 方式为2时使用
  7360. type: number
  7361. createtime:
  7362. description: 创建时间
  7363. type: string
  7364. creatorid:
  7365. description: 创建人
  7366. type: integer
  7367. currencyid:
  7368. description: 报价货币ID
  7369. type: integer
  7370. decimalplace:
  7371. description: 报价小数位
  7372. type: integer
  7373. exercisetype:
  7374. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  7375. type: integer
  7376. exexchangeid:
  7377. description: 外部交易所ID[通道交易]
  7378. type: integer
  7379. goodsgroupid:
  7380. description: 商品组ID(自增ID)
  7381. type: integer
  7382. goodsgroupname:
  7383. description: 商品组名称
  7384. type: string
  7385. goodsgroupstatus:
  7386. description: 商品组状态 - 1:正常 2:注销
  7387. type: integer
  7388. goodunitid:
  7389. description: 报价单位ID
  7390. type: integer
  7391. innerdealmode:
  7392. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7393. type: integer
  7394. isbuylimited:
  7395. description: 是否限制建仓量 - 0:不限制 1:限制
  7396. type: integer
  7397. marketid:
  7398. description: 所属市场ID
  7399. type: integer
  7400. modifierid:
  7401. description: 修改人
  7402. type: integer
  7403. modifytime:
  7404. description: 修改时间
  7405. type: string
  7406. outerdealmode:
  7407. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7408. type: integer
  7409. outergroupcode:
  7410. description: 外部商品组代码[通道交易]
  7411. type: string
  7412. premiumdecimalplace:
  7413. description: 权利金小数位[场外期权]
  7414. type: integer
  7415. premiumspreadalgorithm:
  7416. description: 权利金点差方式[场外期权] 1:比率 2:固定
  7417. type: integer
  7418. premiumspreadvalue:
  7419. description: 权利金点差值[场外期权]
  7420. type: number
  7421. qtydecimalplace:
  7422. description: 成交量小数位
  7423. type: integer
  7424. quotegear:
  7425. description: 行情档位(1-10)
  7426. type: integer
  7427. quoteminunit:
  7428. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7429. type: integer
  7430. quoterid:
  7431. description: 报价商ID[场外期权]
  7432. type: integer
  7433. quotesourcegroupid:
  7434. description: 所属行情源分组ID[参考行情市场用\通道交易]
  7435. type: integer
  7436. syncgoodsqty:
  7437. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  7438. type: integer
  7439. required:
  7440. - goodsgroupid
  7441. - goodsgroupname
  7442. - goodsgroupstatus
  7443. - marketid
  7444. type: object
  7445. models.Goodssortbypreposition:
  7446. properties:
  7447. goodscode:
  7448. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  7449. type: string
  7450. goodsgroupcode:
  7451. description: 品种代码
  7452. type: string
  7453. prepositionqty:
  7454. description: 昨持仓量
  7455. type: integer
  7456. sortindex:
  7457. description: 排序
  7458. type: integer
  7459. tradedate:
  7460. description: 交易日
  7461. type: string
  7462. updatetime:
  7463. description: 更新时间
  7464. type: string
  7465. required:
  7466. - goodscode
  7467. - tradedate
  7468. type: object
  7469. models.Hedgeinnerholderdetail:
  7470. properties:
  7471. accountid:
  7472. description: 账号ID
  7473. type: integer
  7474. buyorsell:
  7475. description: 方向 - 0:买 1:卖
  7476. type: integer
  7477. freezeqty:
  7478. description: 冻结数量 - 按单平使用
  7479. type: integer
  7480. goodsid:
  7481. description: 商品ID
  7482. type: integer
  7483. holderamount:
  7484. description: 持仓金额 [商品币种]
  7485. type: number
  7486. holderdays:
  7487. description: 剩余冻结天数
  7488. type: integer
  7489. holderprice:
  7490. description: 持仓价格
  7491. type: number
  7492. holderqty:
  7493. description: 持仓数量
  7494. type: integer
  7495. marketid:
  7496. description: 市场ID
  7497. type: integer
  7498. openprice:
  7499. description: 建仓价格
  7500. type: number
  7501. openqty:
  7502. description: 建仓数量
  7503. type: integer
  7504. parentaccountid:
  7505. description: 所属母账户
  7506. type: integer
  7507. releaseamount:
  7508. description: 释放持仓金额[商品币种]
  7509. type: number
  7510. tradeamount:
  7511. description: 成交金额[账户]
  7512. type: number
  7513. tradedate:
  7514. description: 交易日(yyyyMMdd)
  7515. type: string
  7516. tradeid:
  7517. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7518. type: string
  7519. tradetime:
  7520. description: 交易时间
  7521. type: string
  7522. required:
  7523. - buyorsell
  7524. - tradeid
  7525. type: object
  7526. models.Hedgemarketopenlog:
  7527. properties:
  7528. accountid:
  7529. description: 资金账号[外部母账户]
  7530. type: integer
  7531. fcname:
  7532. description: 期货公司名称
  7533. type: string
  7534. handlestatus:
  7535. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  7536. type: integer
  7537. marketid:
  7538. description: 市场ID
  7539. type: integer
  7540. status:
  7541. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  7542. type: integer
  7543. tradedate:
  7544. description: 交易日(yyyyMMdd)
  7545. type: string
  7546. updatetime:
  7547. description: 更新时间
  7548. type: string
  7549. required:
  7550. - accountid
  7551. type: object
  7552. models.HsbyBuyMyPayOrder:
  7553. properties:
  7554. agreeunit:
  7555. description: 合约单位
  7556. type: number
  7557. buyaccountid:
  7558. description: 买方账号ID[报价币种]
  7559. type: integer
  7560. buyorderid:
  7561. description: 买方委托单号
  7562. type: string
  7563. createtime:
  7564. description: 创建时间
  7565. type: string
  7566. currencysign:
  7567. description: 货币符号
  7568. type: string
  7569. decimalplace:
  7570. description: 报价小数位
  7571. type: integer
  7572. goodscode:
  7573. description: 商品代码(内部)
  7574. type: string
  7575. goodsid:
  7576. description: 商品ID
  7577. type: integer
  7578. goodsname:
  7579. description: 商品名称
  7580. type: string
  7581. marketid:
  7582. description: 市场ID
  7583. type: integer
  7584. offamount:
  7585. description: 优惠金额
  7586. type: number
  7587. originalamount:
  7588. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  7589. type: number
  7590. payamount:
  7591. description: 支付金额 = TradeAmount + TradeCharge
  7592. type: number
  7593. payflag:
  7594. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  7595. type: integer
  7596. paylimitedtime:
  7597. description: 支付期限
  7598. type: string
  7599. paytime:
  7600. description: 付款时间
  7601. type: string
  7602. picurls1:
  7603. description: 预售商品介绍图片[多张用逗号分隔]
  7604. type: string
  7605. picurls2:
  7606. description: 挂牌商品介绍图片[多张用逗号分隔]
  7607. type: string
  7608. sellaccountid:
  7609. description: 卖方账号ID[报价币种]
  7610. type: integer
  7611. sellorderid:
  7612. description: 卖方委托单号
  7613. type: string
  7614. tradeamount:
  7615. description: 成交金额
  7616. type: number
  7617. tradecharge:
  7618. description: 成交手续费(买方)
  7619. type: number
  7620. tradedate:
  7621. description: 交易日(yyyyMMdd)
  7622. type: string
  7623. tradeid:
  7624. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7625. type: string
  7626. trademode:
  7627. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7628. 21:竞拍-大宗式 22:受托竞价
  7629. type: integer
  7630. tradeprice:
  7631. description: 成交价格
  7632. type: number
  7633. tradeqty:
  7634. description: 成交数量
  7635. type: integer
  7636. vendorname1:
  7637. description: 预售商品供应商名称
  7638. type: string
  7639. vendorname2:
  7640. description: 挂牌商品供应商名称
  7641. type: string
  7642. required:
  7643. - goodscode
  7644. - goodsname
  7645. - tradeid
  7646. - trademode
  7647. type: object
  7648. models.HsbyBuyMyTradeDetail:
  7649. properties:
  7650. accountid:
  7651. description: 账户ID[报价币种]
  7652. type: integer
  7653. agreeunit:
  7654. description: 合约单位
  7655. type: number
  7656. amount:
  7657. description: 金额 = 价格 * 数量 * 合约单位
  7658. type: number
  7659. buyorsell:
  7660. description: 买卖 - 0:买 1:卖
  7661. type: integer
  7662. currencysign:
  7663. description: 货币符号
  7664. type: string
  7665. decimalplace:
  7666. description: 报价小数位
  7667. type: integer
  7668. goodscode:
  7669. description: 商品代码(内部)
  7670. type: string
  7671. goodsid:
  7672. description: 商品ID
  7673. type: integer
  7674. goodsname:
  7675. description: 商品名称
  7676. type: string
  7677. marketid:
  7678. description: 市场ID
  7679. type: integer
  7680. orderamount:
  7681. description: 委托金额
  7682. type: number
  7683. orderid:
  7684. description: 单号(成交单号)
  7685. type: string
  7686. picurls1:
  7687. description: 预售商品介绍图片[多张用逗号分隔]
  7688. type: string
  7689. picurls2:
  7690. description: 挂牌商品介绍图片[多张用逗号分隔]
  7691. type: string
  7692. price:
  7693. description: 价格
  7694. type: number
  7695. qty:
  7696. description: 数量
  7697. type: integer
  7698. time:
  7699. description: 时间
  7700. type: string
  7701. trademode:
  7702. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7703. 21:竞拍-大宗式 22:受托竞价
  7704. type: integer
  7705. vendorname1:
  7706. description: 预售商品供应商名称
  7707. type: string
  7708. vendorname2:
  7709. description: 挂牌商品供应商名称
  7710. type: string
  7711. required:
  7712. - accountid
  7713. - buyorsell
  7714. - goodscode
  7715. - goodsid
  7716. - goodsname
  7717. - marketid
  7718. - orderid
  7719. - qty
  7720. - time
  7721. - trademode
  7722. type: object
  7723. models.HsbyGoodsOrderDetail:
  7724. properties:
  7725. buyorsell:
  7726. description: 买卖 - 0:买 1:卖
  7727. type: integer
  7728. currencysign:
  7729. description: 货币符号
  7730. type: string
  7731. customername:
  7732. description: 客户名称(企业名称),已脱敏
  7733. type: string
  7734. enableqty:
  7735. description: 可用数量
  7736. type: integer
  7737. goodunit:
  7738. description: 报价单位
  7739. type: string
  7740. orderid:
  7741. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7742. type: string
  7743. orderprice:
  7744. description: 委托价格
  7745. type: number
  7746. ordertime:
  7747. description: 委托时间
  7748. type: string
  7749. required:
  7750. - buyorsell
  7751. - orderid
  7752. - ordertime
  7753. type: object
  7754. models.HsbyListingGoodsDetail:
  7755. properties:
  7756. agreeunit:
  7757. description: 合约单位
  7758. type: number
  7759. buymaxqty:
  7760. description: 购买上限 [71] - 0为不限
  7761. type: integer
  7762. currency:
  7763. description: 货币
  7764. type: string
  7765. currencysign:
  7766. description: 货币符号
  7767. type: string
  7768. decimalplace:
  7769. description: 报价小数位
  7770. type: integer
  7771. desccityid:
  7772. description: 目的地(市)ID
  7773. type: integer
  7774. descprovinceid:
  7775. description: 目的地(省)ID
  7776. type: integer
  7777. goodscode:
  7778. description: 商品代码(内部)
  7779. type: string
  7780. goodsdesc:
  7781. description: 商品详情
  7782. type: string
  7783. goodsid:
  7784. description: 商品ID(自增ID SEQ_GOODS)
  7785. type: integer
  7786. goodsname:
  7787. description: 商品名称
  7788. type: string
  7789. goodsprice:
  7790. description: 商品价格
  7791. type: number
  7792. hotindex:
  7793. description: 景点热度
  7794. type: integer
  7795. last:
  7796. description: 现价
  7797. type: number
  7798. limitdown:
  7799. description: 跌停价
  7800. type: number
  7801. limitup:
  7802. description: 涨停价
  7803. type: number
  7804. lotsize:
  7805. description: 手数最小变动单位
  7806. type: integer
  7807. marketid:
  7808. description: 所属市场ID
  7809. type: integer
  7810. picurls:
  7811. description: 介绍图片[多张用逗号分隔]
  7812. type: string
  7813. quoteminunit:
  7814. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7815. type: integer
  7816. stepvalue:
  7817. description: 价格最小变动单位
  7818. type: number
  7819. trademode:
  7820. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7821. 21:竞拍-大宗式 22:受托竞价
  7822. type: integer
  7823. vendorattr:
  7824. description: 供应商附件(多张,逗号分隔)
  7825. type: string
  7826. vendorname:
  7827. description: 供应商名称
  7828. type: string
  7829. vendorphone:
  7830. description: 供应商客服电话
  7831. type: string
  7832. videourls:
  7833. description: 介绍视频[多张用逗号分隔]
  7834. type: string
  7835. required:
  7836. - goodscode
  7837. - goodsid
  7838. - goodsname
  7839. - marketid
  7840. - trademode
  7841. type: object
  7842. models.HsbyMarketGoods:
  7843. properties:
  7844. accountid:
  7845. description: 账户ID[报价币种]
  7846. type: integer
  7847. agreeunit:
  7848. description: 合约单位
  7849. type: number
  7850. buyorsell:
  7851. description: 买卖 - 0:买 1:卖
  7852. type: integer
  7853. categoryid:
  7854. description: 类别ID(WRCATEGORY)
  7855. type: integer
  7856. currency:
  7857. description: 货币
  7858. type: string
  7859. currencysign:
  7860. description: 货币符号
  7861. type: string
  7862. customername:
  7863. description: 卖家名称
  7864. type: string
  7865. decimalplace:
  7866. description: 报价小数位
  7867. type: integer
  7868. goodscode:
  7869. description: 商品代码(内部)
  7870. type: string
  7871. goodsid:
  7872. description: 商品ID
  7873. type: integer
  7874. goodsname:
  7875. description: 商品名称
  7876. type: string
  7877. goodsprice:
  7878. description: 商品价格
  7879. type: number
  7880. hascoupon:
  7881. description: 是否可用优惠卷
  7882. type: boolean
  7883. hotindex:
  7884. description: 景点热度
  7885. type: integer
  7886. marketid:
  7887. description: 市场ID
  7888. type: integer
  7889. orderid:
  7890. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7891. type: string
  7892. orderprice:
  7893. description: 委托价格
  7894. type: number
  7895. orderstatus:
  7896. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  7897. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  7898. 16:成交失败违约(荷兰式竞拍专用)
  7899. type: integer
  7900. picurls:
  7901. description: 介绍图片[多张用逗号分隔]
  7902. type: string
  7903. quoteminunit:
  7904. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7905. type: integer
  7906. sellUserID:
  7907. description: 卖方UserID
  7908. type: integer
  7909. trademode:
  7910. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7911. 21:竞拍-大宗式 22:受托竞价
  7912. type: integer
  7913. videourls:
  7914. description: 介绍视频[多张用逗号分隔]
  7915. type: string
  7916. required:
  7917. - accountid
  7918. - buyorsell
  7919. - goodscode
  7920. - goodsid
  7921. - goodsname
  7922. - marketid
  7923. - orderid
  7924. - trademode
  7925. type: object
  7926. models.HsbyMarketGoodsDetail:
  7927. properties:
  7928. accountid:
  7929. description: 账户ID[报价币种]
  7930. type: integer
  7931. agreeunit:
  7932. description: 合约单位
  7933. type: number
  7934. buymaxqty:
  7935. description: 购买上限 [71] - 0为不限
  7936. type: integer
  7937. buyorsell:
  7938. description: 买卖 - 0:买 1:卖
  7939. type: integer
  7940. cancelqty:
  7941. description: 撤单数量
  7942. type: integer
  7943. categoryid:
  7944. description: 类别ID(WRCATEGORY)
  7945. type: integer
  7946. currency:
  7947. description: 货币
  7948. type: string
  7949. currencysign:
  7950. description: 货币符号
  7951. type: string
  7952. customername:
  7953. description: 卖家名称
  7954. type: string
  7955. decimalplace:
  7956. description: 报价小数位
  7957. type: integer
  7958. goodscode:
  7959. description: 商品代码(内部)
  7960. type: string
  7961. goodsdesc:
  7962. description: 商品详情
  7963. type: string
  7964. goodsid:
  7965. description: 商品ID
  7966. type: integer
  7967. goodsname:
  7968. description: 商品名称
  7969. type: string
  7970. goodsprice:
  7971. description: 商品价格
  7972. type: number
  7973. hotindex:
  7974. description: 景点热度
  7975. type: integer
  7976. lotsize:
  7977. description: 手数最小变动单位
  7978. type: integer
  7979. marketid:
  7980. description: 市场ID
  7981. type: integer
  7982. orderid:
  7983. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7984. type: string
  7985. orderprice:
  7986. description: 委托价格
  7987. type: number
  7988. orderqty:
  7989. description: 委托数量
  7990. type: integer
  7991. orderstatus:
  7992. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  7993. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  7994. 16:成交失败违约(荷兰式竞拍专用)
  7995. type: integer
  7996. picurls:
  7997. description: 介绍图片[多张用逗号分隔]
  7998. type: string
  7999. quoteminunit:
  8000. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8001. type: integer
  8002. sellUserID:
  8003. description: 卖方UserID
  8004. type: integer
  8005. trademode:
  8006. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8007. 21:竞拍-大宗式 22:受托竞价
  8008. type: integer
  8009. tradeqty:
  8010. description: 成交数量
  8011. type: integer
  8012. vendorattr:
  8013. description: 供应商附件(多张,逗号分隔)
  8014. type: string
  8015. vendorname:
  8016. description: 供应商名称
  8017. type: string
  8018. vendorphone:
  8019. description: 供应商客服电话
  8020. type: string
  8021. videourls:
  8022. description: 介绍视频[多张用逗号分隔]
  8023. type: string
  8024. required:
  8025. - accountid
  8026. - buyorsell
  8027. - goodscode
  8028. - goodsid
  8029. - goodsname
  8030. - marketid
  8031. - orderid
  8032. - orderqty
  8033. - trademode
  8034. type: object
  8035. models.HsbyMarketInfo:
  8036. properties:
  8037. marketid:
  8038. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  8039. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  8040. type: integer
  8041. marketname:
  8042. description: 市场名称
  8043. type: string
  8044. marketstatus:
  8045. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  8046. type: integer
  8047. trademode:
  8048. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8049. 21:竞拍-大宗式 22:受托竞价
  8050. type: integer
  8051. required:
  8052. - marketid
  8053. - marketstatus
  8054. - trademode
  8055. type: object
  8056. models.HsbyMyGoods:
  8057. properties:
  8058. accountid:
  8059. description: 账号Id
  8060. type: integer
  8061. agreeunit:
  8062. description: 合约单位
  8063. type: number
  8064. buyaverageprice:
  8065. description: 持仓均价
  8066. type: number
  8067. buycurholderamount:
  8068. description: 买当前持仓总金额[商品币种]
  8069. type: number
  8070. buycurpositionqty:
  8071. description: 买当前持仓总数量
  8072. type: integer
  8073. buymaxqty:
  8074. description: 购买上限 [71] - 0为不限
  8075. type: integer
  8076. currencysign:
  8077. description: 货币符号
  8078. type: string
  8079. decimalplace:
  8080. description: 报价小数位
  8081. type: integer
  8082. enableqty:
  8083. description: 可用数量
  8084. type: integer
  8085. goodscode:
  8086. description: 商品代码(内部)
  8087. type: string
  8088. goodsid:
  8089. description: 商品Id
  8090. type: integer
  8091. goodsname:
  8092. description: 商品名称
  8093. type: string
  8094. goodsprice:
  8095. description: 商品价格
  8096. type: number
  8097. goodsstatus:
  8098. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8099. type: integer
  8100. last:
  8101. description: 现价(仅使用于挂牌点选)
  8102. type: number
  8103. limitdown:
  8104. description: 跌停价(仅使用于挂牌点选)
  8105. type: number
  8106. limitup:
  8107. description: 涨停价(仅使用于挂牌点选)
  8108. type: number
  8109. lotsize:
  8110. description: 手数最小变动单位
  8111. type: integer
  8112. marketid:
  8113. description: 所属市场ID
  8114. type: integer
  8115. picurls:
  8116. description: 介绍图片[多张用逗号分隔]
  8117. type: string
  8118. quoteminunit:
  8119. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8120. type: integer
  8121. stepvalue:
  8122. description: 价格最小变动单位
  8123. type: number
  8124. trademode:
  8125. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8126. 21:竞拍-大宗式 22:受托竞价
  8127. type: integer
  8128. required:
  8129. - accountid
  8130. - goodscode
  8131. - goodsid
  8132. - goodsname
  8133. - marketid
  8134. - trademode
  8135. type: object
  8136. models.HsbyMyPackage:
  8137. properties:
  8138. accountid:
  8139. description: 账户ID
  8140. type: integer
  8141. address:
  8142. description: 提货人详细地址
  8143. type: string
  8144. agreeunit:
  8145. description: 合约单位
  8146. type: number
  8147. amount:
  8148. description: 提货金额
  8149. type: number
  8150. auditer:
  8151. description: 审核人
  8152. type: integer
  8153. audittime:
  8154. description: 审核时间
  8155. type: string
  8156. averageprice:
  8157. description: 均价
  8158. type: number
  8159. cardnum:
  8160. description: 提货人证件号码
  8161. type: string
  8162. cardtypeid:
  8163. description: 提货人证件类型
  8164. type: integer
  8165. checkremark:
  8166. description: 审核备注
  8167. type: string
  8168. currencysign:
  8169. description: 货币符号
  8170. type: string
  8171. decimalplace:
  8172. description: 报价小数位
  8173. type: integer
  8174. goodscode:
  8175. description: 商品代码(内部)
  8176. type: string
  8177. goodsid:
  8178. description: 商品ID
  8179. type: integer
  8180. goodsname:
  8181. description: 商品名称
  8182. type: string
  8183. handlestatus:
  8184. description: 处理状态
  8185. type: integer
  8186. marketid:
  8187. description: 市场ID
  8188. type: integer
  8189. phonenum:
  8190. description: 提货人联系方式
  8191. type: string
  8192. picurls:
  8193. description: 介绍图片[多张用逗号分隔]
  8194. type: string
  8195. qty:
  8196. description: 提货数量
  8197. type: number
  8198. recivername:
  8199. description: 提货人姓名
  8200. type: string
  8201. reqtime:
  8202. description: 更新时间
  8203. type: string
  8204. takemode:
  8205. description: 提货方式 - 2:自提 3:配送
  8206. type: integer
  8207. takeorderid:
  8208. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  8209. type: string
  8210. takeorderstatus:
  8211. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  8212. type: integer
  8213. takeremark:
  8214. description: 提货备注
  8215. type: string
  8216. tradedate:
  8217. description: 交易日(yyyyMMdd)
  8218. type: string
  8219. trademode:
  8220. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8221. 21:竞拍-大宗式 22:受托竞价
  8222. type: integer
  8223. userid:
  8224. description: 用户ID
  8225. type: integer
  8226. vendorname:
  8227. description: 供应商名称
  8228. type: string
  8229. required:
  8230. - goodscode
  8231. - goodsname
  8232. - takeorderid
  8233. - trademode
  8234. type: object
  8235. models.HsbyPreGoods:
  8236. properties:
  8237. agreeunit:
  8238. description: 合约单位
  8239. type: number
  8240. currency:
  8241. description: 货币
  8242. type: string
  8243. currencysign:
  8244. description: 货币符号
  8245. type: string
  8246. decimalplace:
  8247. description: 报价小数位
  8248. type: integer
  8249. desccityid:
  8250. description: 目的地(市)
  8251. type: integer
  8252. descprovinceid:
  8253. description: 目的地(省)
  8254. type: integer
  8255. enableqty:
  8256. description: 剩余数量
  8257. type: integer
  8258. goodscode:
  8259. description: 商品代码(内部)
  8260. type: string
  8261. goodsid:
  8262. description: 商品ID(自增ID SEQ_GOODS)
  8263. type: integer
  8264. goodsname:
  8265. description: 商品名称
  8266. type: string
  8267. goodsstatus:
  8268. description: 商品状态- 2:未上市 3:上市
  8269. type: integer
  8270. lasttradedate:
  8271. description: 最后交易日期(状态:待退市)
  8272. type: string
  8273. listingdate:
  8274. description: 交易开始日期
  8275. type: string
  8276. marketid:
  8277. description: 所属市场ID
  8278. type: integer
  8279. picurls:
  8280. description: 介绍图片[多张用逗号分隔]
  8281. type: string
  8282. presaledqty:
  8283. description: 已预售量(预售结束时更新)
  8284. type: integer
  8285. presaleqty:
  8286. description: 预售数量
  8287. type: integer
  8288. quoteminunit:
  8289. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8290. type: integer
  8291. refprice:
  8292. description: 参考价格[一口价]
  8293. type: number
  8294. relatedgoodsid:
  8295. description: 关联交易合约ID
  8296. type: integer
  8297. trademode:
  8298. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8299. 21:竞拍-大宗式 22:受托竞价
  8300. type: integer
  8301. videourls:
  8302. description: 介绍视频[多张用逗号分隔]
  8303. type: string
  8304. required:
  8305. - goodscode
  8306. - goodsid
  8307. - goodsname
  8308. - marketid
  8309. - trademode
  8310. type: object
  8311. models.HsbyPreGoodsDetail:
  8312. properties:
  8313. agreeunit:
  8314. description: 合约单位
  8315. type: number
  8316. buymaxqty:
  8317. description: 购买上限 [71] - 0为不限
  8318. type: integer
  8319. currency:
  8320. description: 货币
  8321. type: string
  8322. currencysign:
  8323. description: 货币符号
  8324. type: string
  8325. customername:
  8326. description: 发行单位
  8327. type: string
  8328. decimalplace:
  8329. description: 报价小数位
  8330. type: integer
  8331. desccityid:
  8332. description: 目的地(市)ID
  8333. type: integer
  8334. descprovinceid:
  8335. description: 目的地(省)ID
  8336. type: integer
  8337. enableqty:
  8338. description: 剩余数量
  8339. type: integer
  8340. goodscode:
  8341. description: 商品代码(内部)
  8342. type: string
  8343. goodsdesc:
  8344. description: 商品详情
  8345. type: string
  8346. goodsid:
  8347. description: 商品ID(自增ID SEQ_GOODS)
  8348. type: integer
  8349. goodsname:
  8350. description: 商品名称
  8351. type: string
  8352. goodsstatus:
  8353. description: 商品状态- 2:未上市 3:上市
  8354. type: integer
  8355. goodunit:
  8356. description: 报价单位
  8357. type: string
  8358. lasttradedate:
  8359. description: 最后交易日期(状态:待退市)
  8360. type: string
  8361. listingdate:
  8362. description: 交易开始日期
  8363. type: string
  8364. lotsize:
  8365. description: 手数最小变动单位
  8366. type: integer
  8367. marketid:
  8368. description: 所属市场ID
  8369. type: integer
  8370. picurls:
  8371. description: 介绍图片[多张用逗号分隔]
  8372. type: string
  8373. presaledqty:
  8374. description: 已预售量(预售结束时更新)
  8375. type: integer
  8376. presaleqty:
  8377. description: 预售数量
  8378. type: integer
  8379. quoteminunit:
  8380. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8381. type: integer
  8382. refprice:
  8383. description: 参考价格[一口价]
  8384. type: number
  8385. relatedgoodsid:
  8386. description: 关联交易合约ID
  8387. type: integer
  8388. stepvalue:
  8389. description: 价格最小变动单位
  8390. type: number
  8391. trademode:
  8392. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8393. 21:竞拍-大宗式 22:受托竞价
  8394. type: integer
  8395. vendorattr:
  8396. description: 供应商附件(多张,逗号分隔)
  8397. type: string
  8398. vendorname:
  8399. description: 供应商名称
  8400. type: string
  8401. vendorphone:
  8402. description: 供应商客服电话
  8403. type: string
  8404. videourls:
  8405. description: 介绍视频[多张用逗号分隔]
  8406. type: string
  8407. required:
  8408. - goodscode
  8409. - goodsid
  8410. - goodsname
  8411. - marketid
  8412. - trademode
  8413. type: object
  8414. models.HsbySellCollectionOrder:
  8415. properties:
  8416. agreeunit:
  8417. description: 合约单位
  8418. type: number
  8419. buyaccountid:
  8420. description: 买方账号ID[报价币种]
  8421. type: integer
  8422. buyorderid:
  8423. description: 买方委托单号
  8424. type: string
  8425. createtime:
  8426. description: 创建时间
  8427. type: string
  8428. currencysign:
  8429. description: 货币符号
  8430. type: string
  8431. decimalplace:
  8432. description: 报价小数位
  8433. type: integer
  8434. goodscode:
  8435. description: 商品代码(内部)
  8436. type: string
  8437. goodsid:
  8438. description: 商品ID
  8439. type: integer
  8440. goodsname:
  8441. description: 商品名称
  8442. type: string
  8443. marketid:
  8444. description: 市场ID
  8445. type: integer
  8446. offamount:
  8447. description: 优惠金额
  8448. type: number
  8449. payamount:
  8450. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  8451. type: number
  8452. payflag:
  8453. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  8454. type: integer
  8455. paylimitedtime:
  8456. description: 支付期限
  8457. type: string
  8458. paytime:
  8459. description: 付款时间
  8460. type: string
  8461. picurls:
  8462. description: 商品介绍图片[多张用逗号分隔]
  8463. type: string
  8464. sellaccountid:
  8465. description: 卖方账号ID[报价币种]
  8466. type: integer
  8467. sellorderid:
  8468. description: 卖方委托单号
  8469. type: string
  8470. tradeamount:
  8471. description: 成交金额
  8472. type: number
  8473. tradecharge:
  8474. description: 成交手续费(买方)
  8475. type: number
  8476. tradedate:
  8477. description: 交易日(yyyyMMdd)
  8478. type: string
  8479. tradeid:
  8480. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8481. type: string
  8482. trademode:
  8483. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8484. 21:竞拍-大宗式 22:受托竞价
  8485. type: integer
  8486. tradeprice:
  8487. description: 成交价格
  8488. type: number
  8489. tradeqty:
  8490. description: 成交数量
  8491. type: integer
  8492. required:
  8493. - goodscode
  8494. - goodsname
  8495. - tradeid
  8496. - trademode
  8497. type: object
  8498. models.HsbySellMyDetail:
  8499. properties:
  8500. accountid:
  8501. description: 账户ID[报价币种]
  8502. type: integer
  8503. agreeunit:
  8504. description: 合约单位
  8505. type: number
  8506. buyorsell:
  8507. description: 买卖 - 0:买 1:卖
  8508. type: integer
  8509. currencysign:
  8510. description: 货币符号
  8511. type: string
  8512. decimalplace:
  8513. description: 报价小数位
  8514. type: integer
  8515. goodscode:
  8516. description: 商品代码(内部)
  8517. type: string
  8518. goodsid:
  8519. description: 商品ID
  8520. type: integer
  8521. goodsname:
  8522. description: 商品名称
  8523. type: string
  8524. marketid:
  8525. description: 市场ID
  8526. type: integer
  8527. orderid:
  8528. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  8529. type: string
  8530. ordertype:
  8531. description: 单据类型:0 - 发布中, 1 - 已完成
  8532. type: integer
  8533. picurls:
  8534. description: 介绍图片[多张用逗号分隔]
  8535. type: string
  8536. price:
  8537. description: 价格
  8538. type: number
  8539. qty:
  8540. description: 数量
  8541. type: integer
  8542. time:
  8543. description: 时间
  8544. type: string
  8545. trademode:
  8546. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8547. 21:竞拍-大宗式 22:受托竞价
  8548. type: integer
  8549. vendorname:
  8550. description: 供应商名称
  8551. type: string
  8552. required:
  8553. - accountid
  8554. - buyorsell
  8555. - goodscode
  8556. - goodsid
  8557. - goodsname
  8558. - marketid
  8559. - orderid
  8560. - time
  8561. - trademode
  8562. type: object
  8563. models.HsbyTopGoods:
  8564. properties:
  8565. agreeunit:
  8566. description: 合约单位
  8567. type: number
  8568. currency:
  8569. description: 货币
  8570. type: string
  8571. currencysign:
  8572. description: 货币符号
  8573. type: string
  8574. decimalplace:
  8575. description: 报价小数位
  8576. type: integer
  8577. desccityid:
  8578. description: 目的地(市)
  8579. type: integer
  8580. descprovinceid:
  8581. description: 目的地(省)
  8582. type: integer
  8583. goodscode:
  8584. description: 商品代码(内部)
  8585. type: string
  8586. goodsid:
  8587. description: 商品ID(自增ID SEQ_GOODS)
  8588. type: integer
  8589. goodsname:
  8590. description: 商品名称
  8591. type: string
  8592. hotindex:
  8593. description: 景点热度
  8594. type: integer
  8595. last:
  8596. description: 现价
  8597. type: number
  8598. marketid:
  8599. description: 所属市场ID
  8600. type: integer
  8601. picurls:
  8602. description: 介绍图片[多张用逗号分隔]
  8603. type: string
  8604. quoteminunit:
  8605. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8606. type: integer
  8607. trademode:
  8608. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8609. 21:竞拍-大宗式 22:受托竞价
  8610. type: integer
  8611. videourls:
  8612. description: 介绍视频[多张用逗号分隔]
  8613. type: string
  8614. required:
  8615. - goodscode
  8616. - goodsid
  8617. - goodsname
  8618. - marketid
  8619. - trademode
  8620. type: object
  8621. models.HybsMyBuyOrderDetail:
  8622. properties:
  8623. accountid:
  8624. description: 账户ID[报价币种]
  8625. type: integer
  8626. agreeunit:
  8627. description: 合约单位
  8628. type: number
  8629. buyorsell:
  8630. description: 买卖 - 0:买 1:卖
  8631. type: integer
  8632. cancelqty:
  8633. description: 撤单数量
  8634. type: integer
  8635. currencysign:
  8636. description: 货币符号
  8637. type: string
  8638. decimalplace:
  8639. description: 报价小数位
  8640. type: integer
  8641. goodscode:
  8642. description: 商品代码(内部)
  8643. type: string
  8644. goodsid:
  8645. description: 商品ID
  8646. type: integer
  8647. goodsname:
  8648. description: 商品名称
  8649. type: string
  8650. listingselecttype:
  8651. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  8652. type: integer
  8653. marketid:
  8654. description: 市场ID
  8655. type: integer
  8656. mybuystatus:
  8657. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  8658. type: integer
  8659. orderamount:
  8660. description: 委托金额
  8661. type: number
  8662. orderid:
  8663. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8664. type: string
  8665. orderprice:
  8666. description: 委托价格
  8667. type: number
  8668. orderqty:
  8669. description: 委托数量
  8670. type: integer
  8671. orderstatus:
  8672. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8673. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8674. 16:成交失败违约(荷兰式竞拍专用)
  8675. type: integer
  8676. ordertime:
  8677. description: 委托时间
  8678. type: string
  8679. picurls1:
  8680. description: 预售商品介绍图片[多张用逗号分隔]
  8681. type: string
  8682. picurls2:
  8683. description: 挂牌商品介绍图片[多张用逗号分隔]
  8684. type: string
  8685. trademode:
  8686. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8687. 21:竞拍-大宗式 22:受托竞价
  8688. type: integer
  8689. tradeqty:
  8690. description: 成交数量
  8691. type: integer
  8692. vendorname1:
  8693. description: 预售商品供应商名称
  8694. type: string
  8695. vendorname2:
  8696. description: 挂牌商品供应商名称
  8697. type: string
  8698. required:
  8699. - accountid
  8700. - buyorsell
  8701. - goodscode
  8702. - goodsid
  8703. - goodsname
  8704. - marketid
  8705. - orderid
  8706. - orderqty
  8707. - ordertime
  8708. - trademode
  8709. type: object
  8710. models.Loginaccount:
  8711. properties:
  8712. canoutin:
  8713. description: 是否可出入金 - 0:不可 1:可
  8714. type: integer
  8715. clientroleid:
  8716. description: 终端角色ID
  8717. type: integer
  8718. haslogined:
  8719. description: 是否已登录 - 0:未登录 1:已登录
  8720. type: integer
  8721. hasupdatedpwd:
  8722. description: 是否已更改密码 - 0:未修改 1:已修改
  8723. type: integer
  8724. lastloginip:
  8725. description: 最新登录地址
  8726. type: string
  8727. lastloginmode:
  8728. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  8729. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  8730. type: integer
  8731. lastloginremark:
  8732. description: 最新登录描述
  8733. type: string
  8734. lastlogintime:
  8735. description: 最新登录时间
  8736. type: string
  8737. logincode:
  8738. description: 登录代码
  8739. type: string
  8740. loginfailnum:
  8741. description: 连续登录失败次数(登录成功时清零)
  8742. type: integer
  8743. loginid:
  8744. description: 登陆账号
  8745. type: integer
  8746. loginport:
  8747. description: 最新登录端口
  8748. type: integer
  8749. loginstatus:
  8750. description: 登录账号状态 1:正常 2:冻结 3:无效
  8751. type: integer
  8752. loginusertype:
  8753. description: 登录账号类型 - 1:投资者 2:机构交易员
  8754. type: integer
  8755. modifierid:
  8756. description: 修改人
  8757. type: integer
  8758. modifytime:
  8759. description: 修改时间
  8760. type: string
  8761. pwdwrongcount:
  8762. description: 密码错误次数
  8763. type: integer
  8764. taaccountrighttype:
  8765. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  8766. type: integer
  8767. unfreezetime:
  8768. description: 账户解冻时间
  8769. type: string
  8770. userid:
  8771. description: 用户ID
  8772. type: integer
  8773. required:
  8774. - loginid
  8775. type: object
  8776. models.MainAccountInfo:
  8777. properties:
  8778. accountid:
  8779. description: 账号id
  8780. type: integer
  8781. accountname:
  8782. description: 账号名称(taaccount表中的名称)
  8783. type: string
  8784. appid:
  8785. description: AppID
  8786. type: string
  8787. authcode:
  8788. description: 授权码
  8789. type: string
  8790. brokerid:
  8791. description: 经纪商id
  8792. type: string
  8793. fcid:
  8794. description: 期货公司id
  8795. type: integer
  8796. fcname:
  8797. description: 期货公司代码
  8798. type: string
  8799. hedgeaccountcode:
  8800. description: 外部账号代码(主账号登录代码)
  8801. type: string
  8802. hedgeaccountpwd:
  8803. description: 密码
  8804. type: string
  8805. ismain:
  8806. description: 是否主账号
  8807. type: integer
  8808. relateduserid:
  8809. description: 关联用户id
  8810. type: integer
  8811. userid:
  8812. description: 关联用户id
  8813. type: integer
  8814. type: object
  8815. models.Market:
  8816. properties:
  8817. auctionwrtype:
  8818. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  8819. type: integer
  8820. canacceptquote:
  8821. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  8822. type: integer
  8823. cangoodsexercise:
  8824. description: '[期权]是否可现货行权- 0:否 1:是'
  8825. type: integer
  8826. cangoodsexercisetype:
  8827. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  8828. type: integer
  8829. canmanualquotestrike:
  8830. description: 是否可手动报行权价- 0:否 1:是 [期权]
  8831. type: integer
  8832. canmutistage:
  8833. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  8834. type: integer
  8835. canpreexercise:
  8836. description: '[期权]是否可预申报- 0:否 1:是'
  8837. type: integer
  8838. clearinterval:
  8839. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  8840. type: integer
  8841. contracttmp:
  8842. description: 合同模板[荷兰式][竞价式][仓单贸易]
  8843. type: string
  8844. exchareaid:
  8845. description: 所属交易所,可以没有
  8846. type: integer
  8847. goodstype:
  8848. description: 商品类型 - 1:交易商品 2:仓单商品
  8849. type: integer
  8850. hasrebate:
  8851. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  8852. type: integer
  8853. hastradecredit:
  8854. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  8855. type: integer
  8856. haswr:
  8857. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  8858. type: integer
  8859. isdeductmargin:
  8860. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  8861. type: integer
  8862. isrecordsource:
  8863. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  8864. type: integer
  8865. isreleasemargin:
  8866. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  8867. type: integer
  8868. marginformula:
  8869. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  8870. type: integer
  8871. marginformula2:
  8872. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  8873. type: integer
  8874. marketid:
  8875. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  8876. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  8877. type: integer
  8878. marketname:
  8879. description: 市场名称
  8880. type: string
  8881. marketserviceid:
  8882. description: 市场服务ID
  8883. type: integer
  8884. marketstatus:
  8885. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  8886. type: integer
  8887. markettype:
  8888. description: 市场类型- 1:非交易服务 2:交易服务
  8889. type: integer
  8890. matchermode:
  8891. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  8892. type: integer
  8893. openmethod:
  8894. description: 开盘模式 - 0 自动 1手动
  8895. type: integer
  8896. otcuserid:
  8897. description: 场外期权做市商[场外期权]
  8898. type: integer
  8899. outersynctime:
  8900. description: 外部同步时间点(h24:mi:ss)[场外期权]
  8901. type: string
  8902. pendingflag:
  8903. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  8904. type: integer
  8905. pendingtime:
  8906. description: 待开市时间[通道交易-对冲](HH:mm)
  8907. type: string
  8908. performancetempid:
  8909. description: 履约计划模板ID - 作废
  8910. type: integer
  8911. premiumquotemode:
  8912. description: 权利金报价方式 - 1:自动 2:手动
  8913. type: integer
  8914. rebateratio:
  8915. description: 返利比率[竞价式]
  8916. type: number
  8917. reckonorder:
  8918. description: 结算顺序
  8919. type: integer
  8920. reckonpricealgorithm:
  8921. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  8922. 6.卖一价 7.买一卖一均价 8.外部结算价'
  8923. type: integer
  8924. reckonpriceparam:
  8925. description: 结算价参数
  8926. type: integer
  8927. reckontime:
  8928. description: 结算时间[通道交易-对冲](HH:mm)
  8929. type: string
  8930. roleprioritytype:
  8931. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  8932. type: integer
  8933. selllistingauditflag:
  8934. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  8935. type: integer
  8936. trademarkettype:
  8937. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  8938. type: integer
  8939. trademode:
  8940. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8941. 21:竞拍-大宗式 22:受托竞价
  8942. type: integer
  8943. tradeproperty:
  8944. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  8945. 8:场外期权
  8946. type: integer
  8947. tradetype:
  8948. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  8949. type: integer
  8950. required:
  8951. - marketid
  8952. - marketstatus
  8953. - openmethod
  8954. - reckonpricealgorithm
  8955. - trademode
  8956. - tradeproperty
  8957. type: object
  8958. models.Marketrun:
  8959. properties:
  8960. afternexttradedate:
  8961. description: 下下交易日
  8962. type: string
  8963. clearquoteflag:
  8964. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  8965. type: integer
  8966. lastreckondate:
  8967. description: 最新交易日(结算成功)
  8968. type: string
  8969. machinedate:
  8970. description: 机器时间
  8971. type: string
  8972. manualflag:
  8973. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  8974. type: integer
  8975. marketid:
  8976. description: 市场ID
  8977. type: integer
  8978. nexttradedate:
  8979. description: 下一交易日
  8980. type: string
  8981. pretradedate:
  8982. description: 上一交易日
  8983. type: string
  8984. reckonflag:
  8985. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  8986. type: integer
  8987. runstatus:
  8988. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  8989. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  8990. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  8991. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  8992. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  8993. 62.今日免清算
  8994. type: integer
  8995. sectionid:
  8996. description: 时间段号[多时段时用]
  8997. type: integer
  8998. tradedate:
  8999. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  9000. type: string
  9001. tradedate2:
  9002. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  9003. type: string
  9004. updatetime:
  9005. description: 更新时间
  9006. type: string
  9007. required:
  9008. - marketid
  9009. - nexttradedate
  9010. - reckonflag
  9011. - runstatus
  9012. - tradedate
  9013. - tradedate2
  9014. type: object
  9015. models.Messageboard:
  9016. properties:
  9017. contactnum:
  9018. description: 联系电话
  9019. type: string
  9020. createtime:
  9021. description: 创建时间
  9022. type: string
  9023. message:
  9024. description: 留言信息
  9025. type: string
  9026. messageboardid:
  9027. description: 留言簿ID(SEQ_MessageBoard)
  9028. type: integer
  9029. userid:
  9030. description: 用户ID
  9031. type: integer
  9032. required:
  9033. - messageboardid
  9034. type: object
  9035. models.MyCoupon:
  9036. properties:
  9037. accountid:
  9038. description: 资金账户ID
  9039. type: integer
  9040. areauserid:
  9041. description: 所属机构
  9042. type: integer
  9043. conditionvalue:
  9044. description: 条件阈值(可为0)
  9045. type: number
  9046. couponcategroy:
  9047. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  9048. type: integer
  9049. couponname:
  9050. description: 优惠券名称
  9051. type: string
  9052. coupontypeid:
  9053. description: 优惠券类型ID
  9054. type: string
  9055. couponvalue:
  9056. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  9057. type: number
  9058. curfreezeqty:
  9059. description: 期末冻结数量
  9060. type: integer
  9061. curqty:
  9062. description: 期末数量
  9063. type: integer
  9064. isgeneral:
  9065. description: 是否通用券 - 0:否 1:是
  9066. type: integer
  9067. isunusable:
  9068. description: 是否不可用
  9069. type: boolean
  9070. limitedflag:
  9071. description: 是否指定商品 - 0:不限 1:限制
  9072. type: integer
  9073. limitedgoodsids:
  9074. description: 指定商品IDs[逗号分隔,前后加逗号]
  9075. type: string
  9076. orifreezeqty:
  9077. description: 期初冻结数量
  9078. type: integer
  9079. oriqty:
  9080. description: 期初数量
  9081. type: integer
  9082. reasontype:
  9083. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  9084. type: integer
  9085. todaydecrease:
  9086. description: 今日减少
  9087. type: integer
  9088. todayincrease:
  9089. description: 今日增加
  9090. type: integer
  9091. userid:
  9092. description: 用户ID
  9093. type: integer
  9094. userscope:
  9095. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  9096. type: string
  9097. required:
  9098. - accountid
  9099. - coupontypeid
  9100. type: object
  9101. models.MyCouponHold:
  9102. properties:
  9103. accountid:
  9104. description: 资金账户ID
  9105. type: integer
  9106. conditionvalue:
  9107. description: 条件阈值(可为0)
  9108. type: number
  9109. couponcategroy:
  9110. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  9111. type: integer
  9112. couponholdid:
  9113. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  9114. type: string
  9115. couponname:
  9116. description: 优惠券名称
  9117. type: string
  9118. coupontypeid:
  9119. description: 优惠券类型ID - SEQ_COUPONTYPE
  9120. type: string
  9121. couponvalue:
  9122. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  9123. type: number
  9124. createtime:
  9125. description: 创建时间
  9126. type: string
  9127. enddate:
  9128. description: 结束日期
  9129. type: string
  9130. giveapplyid:
  9131. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  9132. type: integer
  9133. holdstatus:
  9134. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  9135. type: integer
  9136. isgeneral:
  9137. description: 是否通用券 - 0:否 1:是
  9138. type: integer
  9139. limitedflag:
  9140. description: 是否指定商品 - 0:不限 1:限制
  9141. type: integer
  9142. limitedgoodsids:
  9143. description: 指定商品IDs[逗号分隔]
  9144. type: string
  9145. qty:
  9146. description: 数量(按1平铺)
  9147. type: integer
  9148. startdate:
  9149. description: 开始日期
  9150. type: string
  9151. userid:
  9152. description: 用户ID
  9153. type: integer
  9154. userscope:
  9155. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  9156. type: string
  9157. required:
  9158. - couponholdid
  9159. type: object
  9160. models.MyUsedCoupon:
  9161. properties:
  9162. accountid:
  9163. description: 资金账户ID(买方)
  9164. type: integer
  9165. conditionvalue:
  9166. description: 条件阈值(可为0)
  9167. type: number
  9168. couponcategroy:
  9169. description: 种类 - 1:现金券 2:折扣券
  9170. type: integer
  9171. couponname:
  9172. description: 优惠券名称
  9173. type: string
  9174. coupontypeid:
  9175. description: 优惠券类型ID(买方)
  9176. type: string
  9177. couponvalue:
  9178. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  9179. type: number
  9180. createtime:
  9181. description: 创建时间
  9182. type: string
  9183. goodsid:
  9184. description: 商品ID
  9185. type: integer
  9186. handlestatus:
  9187. description: 处理状态
  9188. type: integer
  9189. marketid:
  9190. description: 市场ID
  9191. type: integer
  9192. offamount:
  9193. description: 优惠金额
  9194. type: number
  9195. orderid:
  9196. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9197. type: string
  9198. sellaccountid:
  9199. description: 资金账户ID(卖方)
  9200. type: integer
  9201. tradeamount:
  9202. description: 成交金额
  9203. type: number
  9204. tradeid:
  9205. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9206. type: string
  9207. usedqty:
  9208. description: 使用数量
  9209. type: integer
  9210. required:
  9211. - coupontypeid
  9212. - orderid
  9213. type: object
  9214. models.OperationPrimaryMenu:
  9215. properties:
  9216. Children:
  9217. description: 二级功能菜单
  9218. items:
  9219. $ref: '#/definitions/models.OperationSecondaryMenu'
  9220. type: array
  9221. Key:
  9222. description: 菜单KEY
  9223. type: string
  9224. Label:
  9225. description: 菜单标题
  9226. type: string
  9227. type: object
  9228. models.OperationSecondaryMenu:
  9229. properties:
  9230. Key:
  9231. description: 菜单KEY
  9232. type: string
  9233. Label:
  9234. description: 菜单标题
  9235. type: string
  9236. TabList:
  9237. description: 三级功能菜单
  9238. items:
  9239. $ref: '#/definitions/models.OperationTabMenu'
  9240. type: array
  9241. type: object
  9242. models.OperationTabMenu:
  9243. properties:
  9244. Key:
  9245. description: 菜单KEY
  9246. type: string
  9247. Label:
  9248. description: 菜单标题
  9249. type: string
  9250. type: object
  9251. models.PendingAuditBizModel:
  9252. properties:
  9253. accountid:
  9254. description: 现货账户
  9255. type: string
  9256. areaname:
  9257. description: 所属部门
  9258. type: string
  9259. bizid:
  9260. description: 业务ID
  9261. type: string
  9262. bizname:
  9263. description: 业务名称
  9264. type: string
  9265. status:
  9266. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  9267. type: integer
  9268. type:
  9269. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  9270. type: integer
  9271. type: object
  9272. models.QhjAccountOutInApply:
  9273. properties:
  9274. accountcode:
  9275. description: 资金账号
  9276. type: string
  9277. accountname:
  9278. description: 用户名称(名称)
  9279. type: string
  9280. accountpwd:
  9281. description: 资金密码
  9282. type: string
  9283. accountticket:
  9284. description: 最新账户服务流水号
  9285. type: string
  9286. amount:
  9287. description: 金额
  9288. type: number
  9289. applyremark:
  9290. description: 申请备注
  9291. type: string
  9292. applystatus:
  9293. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  9294. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  9295. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  9296. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  9297. type: integer
  9298. auditid:
  9299. description: 审核人
  9300. type: integer
  9301. audittime:
  9302. description: 审核时间
  9303. type: string
  9304. bank_apply_ticket:
  9305. description: 银行申请流水
  9306. type: string
  9307. bankaccountname:
  9308. description: 银行账户名
  9309. type: string
  9310. bankaccountno:
  9311. description: 银行卡号
  9312. type: string
  9313. bankid:
  9314. description: 银行编号
  9315. type: string
  9316. bankticket:
  9317. description: 银行流水
  9318. type: string
  9319. branchbankid:
  9320. description: 银行支行号
  9321. type: string
  9322. branchbankname:
  9323. description: 银行支行名称
  9324. type: string
  9325. capamountout:
  9326. description: 出金(劣后本金) - 外部子账户
  9327. type: number
  9328. certificatephotourl:
  9329. description: 凭证地址
  9330. type: string
  9331. charge:
  9332. description: 手续费
  9333. type: number
  9334. checkerrorflag:
  9335. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  9336. type: integer
  9337. currency:
  9338. description: 币种
  9339. type: string
  9340. cusbankid:
  9341. description: 托管银行编号
  9342. type: string
  9343. exchticket:
  9344. description: 银行服务流水号
  9345. type: string
  9346. executetype:
  9347. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  9348. 7:外部子账户:入金 8:外部子账户:出金'
  9349. type: integer
  9350. extendinfo:
  9351. description: 扩展信息
  9352. type: string
  9353. extoperateid:
  9354. description: 交易服务流水号
  9355. type: integer
  9356. infamount:
  9357. description: 劣后金额(自有)
  9358. type: number
  9359. logincode:
  9360. description: 登录账号(账号)
  9361. type: string
  9362. netaddr:
  9363. description: 调转网址
  9364. type: string
  9365. priamount:
  9366. description: 优先金额(授信)
  9367. type: number
  9368. reauditid:
  9369. description: 复审人
  9370. type: integer
  9371. reauditremark:
  9372. description: 复审备注
  9373. type: string
  9374. reaudittime:
  9375. description: 复审时间
  9376. type: string
  9377. relatedorderid:
  9378. description: 三方关联ID
  9379. type: string
  9380. remark:
  9381. description: 备注
  9382. type: string
  9383. remark2:
  9384. description: 备注(失败原因)
  9385. type: string
  9386. soucreamount:
  9387. description: 原始出入金金额
  9388. type: number
  9389. soucrecurrencyid:
  9390. description: 原始出入金币种
  9391. type: integer
  9392. tradedate:
  9393. description: 交易日(yyyyMMdd)
  9394. type: string
  9395. updatetime:
  9396. description: 更新时间(申请时间)
  9397. type: string
  9398. userid:
  9399. description: 用户id
  9400. type: integer
  9401. userinfotype:
  9402. description: 账户类型 1-个人 2-企业
  9403. type: integer
  9404. type: object
  9405. models.QhjBankAccountSign:
  9406. properties:
  9407. accountcode:
  9408. description: 资金账号
  9409. type: string
  9410. accountname:
  9411. description: 资金账号对应的账号名(UserName)
  9412. type: string
  9413. accounttype:
  9414. description: 账户类型(UserType)
  9415. type: integer
  9416. applicationtime:
  9417. description: 最后一次更新的时间
  9418. type: string
  9419. applyexchticket:
  9420. description: 申请流水
  9421. type: string
  9422. auditid:
  9423. description: 审核人
  9424. type: integer
  9425. audittime:
  9426. description: 审核时间
  9427. type: string
  9428. bankaccountname:
  9429. description: 签约银行卡账号名
  9430. type: string
  9431. bankaccountno:
  9432. description: 银行卡号
  9433. type: string
  9434. bankaccounttype:
  9435. description: 银行账户类型 - 1-对私; 2-对公
  9436. type: integer
  9437. bankcardtype:
  9438. description: 银行卡类型
  9439. type: integer
  9440. bankchildaccount:
  9441. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  9442. type: string
  9443. bankcity:
  9444. description: 开户行城市
  9445. type: string
  9446. bankid:
  9447. description: 签约银行ID
  9448. type: string
  9449. bankprovince:
  9450. description: 开户行省份
  9451. type: string
  9452. branchbankid:
  9453. description: 签约银行支行号
  9454. type: string
  9455. branchbankname:
  9456. description: 签约银行支行名称
  9457. type: string
  9458. cardno:
  9459. description: 证件号码
  9460. type: string
  9461. cardtype:
  9462. description: 证件类型
  9463. type: string
  9464. currency:
  9465. description: 币种
  9466. type: string
  9467. cusbankid:
  9468. description: 托管银行编号
  9469. type: string
  9470. direct:
  9471. description: 方向(可以判断那方先发起的签约)
  9472. type: integer
  9473. exchticket:
  9474. description: 最后一次签约成功的流水号
  9475. type: string
  9476. extendinfo:
  9477. description: 扩展信息(JSON字符串)
  9478. type: string
  9479. mobilephone:
  9480. description: 手机号
  9481. type: string
  9482. netaddr:
  9483. description: 调转网址
  9484. type: string
  9485. relateduserid:
  9486. description: 关联使用者userid
  9487. type: integer
  9488. signstatus:
  9489. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  9490. 10:审核拒绝 11:换签待审核
  9491. type: integer
  9492. updatetime:
  9493. description: 更新时间(签解约更新时间)
  9494. type: string
  9495. type: object
  9496. models.QhjBankInfo:
  9497. properties:
  9498. bankid:
  9499. description: 银行ID
  9500. type: string
  9501. bankname:
  9502. description: 银行名称
  9503. type: string
  9504. clearbankno:
  9505. description: 清算系统银行编号
  9506. type: string
  9507. orderindex:
  9508. description: 排序顺序
  9509. type: integer
  9510. status:
  9511. description: 状态 - 0:正常 1:注销
  9512. type: integer
  9513. type: object
  9514. models.QhjContract:
  9515. properties:
  9516. contractconfirmtime:
  9517. description: 合同确认时间(时间)
  9518. type: string
  9519. enumdicname:
  9520. description: 单位名称
  9521. type: string
  9522. goodscode:
  9523. description: 商品代码
  9524. type: string
  9525. goodsid:
  9526. description: 商品ID [5:融资单]
  9527. type: integer
  9528. goodsname:
  9529. description: 商品名称
  9530. type: string
  9531. goodunitid:
  9532. description: 商品单位id
  9533. type: integer
  9534. initmargin:
  9535. description: 初始保证金(首付款)
  9536. type: number
  9537. lenderamount:
  9538. description: 贷款金额(总额|订单总额)
  9539. type: number
  9540. marginratio:
  9541. description: 保证金比率(首付比例)
  9542. type: number
  9543. payamount:
  9544. description: 已付(已付货款)
  9545. type: number
  9546. recoveredmargin:
  9547. description: 已追缴保证金
  9548. type: number
  9549. remainamount:
  9550. description: 合同剩余金额(融资额)
  9551. type: number
  9552. scfcontractid:
  9553. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  9554. type: integer
  9555. scfcontracttype:
  9556. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  9557. type: integer
  9558. totalinterest:
  9559. description: 已计总利息(利息)
  9560. type: number
  9561. tradeprice:
  9562. description: 成交价格(成本价格)
  9563. type: number
  9564. userid:
  9565. description: 用户ID
  9566. type: integer
  9567. username:
  9568. description: 用户名称
  9569. type: string
  9570. wrqty:
  9571. description: 仓单数量(数量)
  9572. type: integer
  9573. type: object
  9574. models.QhjContractLog:
  9575. properties:
  9576. amount:
  9577. description: 支付金额
  9578. type: number
  9579. amounttype:
  9580. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  9581. type: integer
  9582. logid:
  9583. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9584. type: string
  9585. remainamount:
  9586. description: 剩余货款
  9587. type: number
  9588. scfcontractid:
  9589. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  9590. type: integer
  9591. updatetime:
  9592. description: 更新时间
  9593. type: string
  9594. type: object
  9595. models.QhjCusBankSignBankEx:
  9596. properties:
  9597. banklst:
  9598. description: 银行列表
  9599. items:
  9600. $ref: '#/definitions/models.QhjBankInfo'
  9601. type: array
  9602. canallot:
  9603. description: 是否支持跨行调拨 - 0:不支持 1:支持
  9604. type: integer
  9605. canallotquery:
  9606. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  9607. type: integer
  9608. canbindcard:
  9609. description: 是否可绑卡与解卡 - 0:不可 1:可以
  9610. type: integer
  9611. caninamount:
  9612. description: 是否可入金 - 0:不可 1:可以
  9613. type: integer
  9614. caninamount2:
  9615. description: 是否可入金(网银端) - 0:不可 1:可以
  9616. type: integer
  9617. canmodifybankcard:
  9618. description: 是否可修改银行卡号 - 0:不可 1:可以
  9619. type: integer
  9620. canmodifyphone:
  9621. description: 是否可修改手机号 - 0:不可 1:可以
  9622. type: integer
  9623. canmodifysigninfo:
  9624. description: 是否可修改签约信息 - 0:不可 1:可以
  9625. type: integer
  9626. canoutamount:
  9627. description: 是否可出金 - 0:不可 1:可以
  9628. type: integer
  9629. canoutamount2:
  9630. description: 是否可出金(网银端) - 0:不可 1:可以
  9631. type: integer
  9632. canrelease:
  9633. description: 是否可解约 - 0:不可 1:可以
  9634. type: integer
  9635. canrelease2:
  9636. description: 是否可解约(网银端) - 0:不可 1:可以
  9637. type: integer
  9638. cansign:
  9639. description: 是否可签约 - 0:不可 1:可以
  9640. type: integer
  9641. cansign2:
  9642. description: 是否可签约(网银端) - 0:不可 1:可以
  9643. type: integer
  9644. currency:
  9645. description: 币种
  9646. type: string
  9647. cusbankid:
  9648. description: 托管银行编号(对应清算中心TRAN_NO)
  9649. type: string
  9650. cusbankname:
  9651. description: 银行业务名称
  9652. type: string
  9653. cusbankshortname:
  9654. description: 银行业务简称
  9655. type: string
  9656. exchbankid:
  9657. description: 交易所开户银行ID
  9658. type: string
  9659. exchpaybankaccname:
  9660. description: 交易所支出结算账户户名
  9661. type: string
  9662. exchpaybankaccno:
  9663. description: 交易所支出结算账户
  9664. type: string
  9665. isneedcheck:
  9666. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  9667. type: integer
  9668. isneedclear:
  9669. description: 是否需要清算 - 0:不需要 1:需要
  9670. type: integer
  9671. riskinfo:
  9672. description: 签约风险提示书
  9673. type: string
  9674. type: object
  9675. models.QhjCustomer:
  9676. properties:
  9677. address:
  9678. description: 通讯地址
  9679. type: string
  9680. attachment1:
  9681. description: 附件1
  9682. type: string
  9683. audittime:
  9684. description: 审核时间
  9685. type: string
  9686. cardbackphotourl:
  9687. description: 证件反面图片地址
  9688. type: string
  9689. cardfrontphotourl:
  9690. description: 证件正面图片地址
  9691. type: string
  9692. cardnum:
  9693. description: 证件号码
  9694. type: string
  9695. cardtype:
  9696. description: 证件类型
  9697. type: integer
  9698. cardtypename:
  9699. description: 证件类型名称
  9700. type: string
  9701. cityid:
  9702. description: 市
  9703. type: integer
  9704. cityname:
  9705. description: 城市名称
  9706. type: string
  9707. contactname:
  9708. description: 联系人
  9709. type: string
  9710. countryid:
  9711. description: 国家
  9712. type: integer
  9713. countryname:
  9714. description: 国家名称
  9715. type: string
  9716. createtime:
  9717. description: 创建时间
  9718. type: string
  9719. customername:
  9720. description: 客户名称
  9721. type: string
  9722. districtid:
  9723. description: 区域
  9724. type: integer
  9725. districtname:
  9726. description: 地区名称
  9727. type: string
  9728. email:
  9729. description: 邮件
  9730. type: string
  9731. legalpersonname:
  9732. description: 法人姓名(企业)
  9733. type: string
  9734. memberuserid:
  9735. description: 所属机构ID(所属会员)
  9736. type: integer
  9737. memberusername:
  9738. description: 所属会员名称
  9739. type: string
  9740. mobile:
  9741. description: 手机号码
  9742. type: string
  9743. modifytime:
  9744. description: 修改时间
  9745. type: string
  9746. nickname:
  9747. description: 昵称
  9748. type: string
  9749. parentuserid:
  9750. description: 上级机构(所属机构)
  9751. type: integer
  9752. parentusername:
  9753. description: 所属机构名称
  9754. type: string
  9755. provinceid:
  9756. description: 省
  9757. type: integer
  9758. provincename:
  9759. description: 省名称
  9760. type: string
  9761. remark:
  9762. description: 备注
  9763. type: string
  9764. status:
  9765. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  9766. type: integer
  9767. statusdesc:
  9768. description: 账户状态中文描述
  9769. type: string
  9770. taxpayernum:
  9771. description: 纳税人识别号
  9772. type: string
  9773. telphone:
  9774. description: 联系电话
  9775. type: string
  9776. userid:
  9777. description: 用户ID
  9778. type: integer
  9779. userinfotype:
  9780. description: 客户类型 1-个人 2-企业
  9781. type: integer
  9782. username:
  9783. description: 用户名称
  9784. type: string
  9785. type: object
  9786. models.QhjPayOrder:
  9787. properties:
  9788. buyaccountid:
  9789. description: 买方账号ID[报价币种]
  9790. type: integer
  9791. buyorderid:
  9792. description: 买方委托单号
  9793. type: integer
  9794. createtime:
  9795. description: 创建时间
  9796. type: string
  9797. goodscode:
  9798. description: 商品代码
  9799. type: string
  9800. goodsid:
  9801. description: 商品ID
  9802. type: integer
  9803. goodsname:
  9804. description: 商品名称
  9805. type: string
  9806. marketid:
  9807. description: 市场ID
  9808. type: integer
  9809. offamount:
  9810. description: 优惠金额
  9811. type: number
  9812. operatetype:
  9813. description: 买委托操作类型 - 1:正常下单 16:融资买入
  9814. type: integer
  9815. payamount:
  9816. description: 支付金额=TradeAmount + TradeCharge
  9817. type: number
  9818. payflag:
  9819. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  9820. type: integer
  9821. paylimitedtime:
  9822. description: 支付期限
  9823. type: string
  9824. paytime:
  9825. description: 付款时间
  9826. type: string
  9827. sellaccountid:
  9828. description: 卖方账号ID[报价币种]
  9829. type: integer
  9830. sellorderid:
  9831. description: 卖方委托单号
  9832. type: integer
  9833. tradeamount:
  9834. description: 成交金额(优惠后金额)
  9835. type: number
  9836. tradecharge:
  9837. description: 成交手续费(买方)
  9838. type: number
  9839. tradedate:
  9840. description: 交易日(yyyyMMdd)
  9841. type: string
  9842. tradeid:
  9843. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9844. type: integer
  9845. tradeprice:
  9846. description: 成交价格
  9847. type: number
  9848. tradeqty:
  9849. description: 成交数量
  9850. type: integer
  9851. type: object
  9852. models.QhjPickArea:
  9853. properties:
  9854. cityid:
  9855. description: 市
  9856. type: integer
  9857. cityname:
  9858. description: 城市名称
  9859. type: string
  9860. countryid:
  9861. description: 国家
  9862. type: integer
  9863. countryname:
  9864. description: 国家名称
  9865. type: string
  9866. districtid:
  9867. description: 地区
  9868. type: integer
  9869. districtname:
  9870. description: 地区名称
  9871. type: string
  9872. fromuserid:
  9873. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  9874. type: integer
  9875. fromusername:
  9876. description: 所属机构名称
  9877. type: string
  9878. provinceid:
  9879. description: 省
  9880. type: integer
  9881. provincename:
  9882. description: 省名称
  9883. type: string
  9884. suborgtype:
  9885. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  9886. type: integer
  9887. userid:
  9888. description: 机构用户ID 其他做市关系,都设置为 1
  9889. type: integer
  9890. username:
  9891. description: 机构用户名称(门店门称)
  9892. type: string
  9893. type: object
  9894. models.QhjPickGoods:
  9895. properties:
  9896. imageaddress:
  9897. description: 图片
  9898. type: string
  9899. modifierid:
  9900. description: 修改人
  9901. type: integer
  9902. modifiername:
  9903. description: 修改人名称
  9904. type: string
  9905. modifysrc:
  9906. description: 修改来源 - 1:管理端 2:终端
  9907. type: integer
  9908. pickupgoodsagreeunit:
  9909. description: 合约乘数
  9910. type: number
  9911. pickupgoodsdesc:
  9912. description: 描述
  9913. type: string
  9914. pickupgoodsid:
  9915. description: 提货商品ID
  9916. type: string
  9917. pickupgoodsname:
  9918. description: 提货商品名称
  9919. type: string
  9920. pickupgoodsstatus:
  9921. description: 状态 - 1:正常 2:停用 3:注销
  9922. type: integer
  9923. pickupgoodsunitid:
  9924. description: 单位ID
  9925. type: integer
  9926. preparedays:
  9927. description: 备货期(天)
  9928. type: integer
  9929. remark:
  9930. description: 备注
  9931. type: string
  9932. updatetime:
  9933. description: 更新时间
  9934. type: string
  9935. type: object
  9936. models.QhjRSTriggerLog:
  9937. properties:
  9938. accountid:
  9939. description: 用户资金账户
  9940. type: integer
  9941. accountname:
  9942. description: 账号名称(ACCOUNTID对应的名称)
  9943. type: string
  9944. currencyid:
  9945. description: 币种id
  9946. type: integer
  9947. currencyname:
  9948. description: 币种名称
  9949. type: string
  9950. enumdicname:
  9951. description: 单位名称
  9952. type: string
  9953. goodscode:
  9954. description: 定投商品代码
  9955. type: string
  9956. goodsid:
  9957. description: 定投商品ID
  9958. type: string
  9959. goodsname:
  9960. description: 定投商品名称
  9961. type: string
  9962. goodunitid:
  9963. description: 定投商品单位id
  9964. type: integer
  9965. logid:
  9966. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  9967. type: string
  9968. regularlycycle:
  9969. description: 定投频率 - 1:每周 2:每月
  9970. type: integer
  9971. regularlycyclevalue:
  9972. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  9973. type: string
  9974. regularlymode:
  9975. description: 定投方式 - 1:按数量 2:按金额
  9976. type: integer
  9977. regularlymodevalue:
  9978. description: 定投方式值 - 数量或金额
  9979. type: number
  9980. regularlystrategyid:
  9981. description: 定投策略ID
  9982. type: integer
  9983. retcode:
  9984. description: 错误码
  9985. type: string
  9986. tradeid:
  9987. description: 成交单ID
  9988. type: string
  9989. triggeramount:
  9990. description: 触发金额
  9991. type: number
  9992. triggerqty:
  9993. description: 触发数量
  9994. type: number
  9995. triggerstatus:
  9996. description: 触发状态 - 1:成功 2:失败
  9997. type: integer
  9998. triggertime:
  9999. description: 触发时间
  10000. type: string
  10001. triggertradedate:
  10002. description: 触发交易日
  10003. type: string
  10004. userid:
  10005. description: 所属用户ID
  10006. type: integer
  10007. username:
  10008. description: 用户名称(userid对应的名称)
  10009. type: string
  10010. type: object
  10011. models.QhjRStrategy:
  10012. properties:
  10013. accountid:
  10014. description: 用户资金账户
  10015. type: integer
  10016. accountname:
  10017. description: 账号名称(ACCOUNTID对应的名称)
  10018. type: string
  10019. currencyid:
  10020. description: 币种id
  10021. type: integer
  10022. currencyname:
  10023. description: 币种名称
  10024. type: string
  10025. enumdicname:
  10026. description: 单位名称
  10027. type: string
  10028. goodscode:
  10029. description: 定投商品代码
  10030. type: string
  10031. goodsid:
  10032. description: 定投商品ID
  10033. type: string
  10034. goodsname:
  10035. description: 定投商品名称
  10036. type: string
  10037. goodunitid:
  10038. description: 定投商品单位id
  10039. type: integer
  10040. lasteffecttradedate:
  10041. description: 最新生效交易日
  10042. type: string
  10043. laststoptradedate:
  10044. description: 最新暂停交易日
  10045. type: string
  10046. lasttriggertradedate:
  10047. description: 最新触发交易日
  10048. type: string
  10049. nexttriggeramount:
  10050. description: 下次触发金额
  10051. type: number
  10052. nexttriggerdate:
  10053. description: 下次触发日期
  10054. type: string
  10055. nexttriggerqty:
  10056. description: 下次触发数量 [按小数位放大值]
  10057. type: number
  10058. regularlycycle:
  10059. description: 定投频率 - 1:每周 2:每月
  10060. type: integer
  10061. regularlycyclevalue:
  10062. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  10063. type: string
  10064. regularlymode:
  10065. description: 定投方式 - 1:按数量 2:按金额
  10066. type: integer
  10067. regularlymodevalue:
  10068. description: 定投方式值 - 数量或金额
  10069. type: number
  10070. regularlystrategyid:
  10071. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  10072. type: integer
  10073. regularlystrategystatus:
  10074. description: 策略状态 - 1:正常 2:暂停 3:终止
  10075. type: integer
  10076. remark:
  10077. description: 备注
  10078. type: string
  10079. triggersuccesstimes:
  10080. description: 累计定投成功次数
  10081. type: string
  10082. triggertotalamount:
  10083. description: 累计定投金额(成功)
  10084. type: number
  10085. triggertotalqty:
  10086. description: 累计定投数量(成功) [按小数位放大值]
  10087. type: number
  10088. triggertotaltimes:
  10089. description: 累计定投总次数
  10090. type: string
  10091. updatesrc:
  10092. description: 更新来源 - 1:管理端 2:终端
  10093. type: integer
  10094. updatetime:
  10095. description: 更新时间
  10096. type: string
  10097. updatorid:
  10098. description: 更新人
  10099. type: string
  10100. userid:
  10101. description: 所属用户ID
  10102. type: integer
  10103. username:
  10104. description: 用户名称(userid对应的名称)
  10105. type: string
  10106. type: object
  10107. models.QhjReckonPriceLog:
  10108. properties:
  10109. goodsid:
  10110. description: 商品ID
  10111. type: integer
  10112. lastreckonprice:
  10113. description: 上日结算价
  10114. type: number
  10115. nextdnlimitprice:
  10116. description: 下个交易日跌停价
  10117. type: number
  10118. nexttrade:
  10119. description: 下个交易日
  10120. type: string
  10121. nextuplimitprice:
  10122. description: 下个交易日涨停价
  10123. type: number
  10124. reckonprice:
  10125. description: 今日结算价(定投价)
  10126. type: number
  10127. reckontime:
  10128. description: 结算时间
  10129. type: string
  10130. totalholderqty:
  10131. description: 总持仓数
  10132. type: integer
  10133. totalstock:
  10134. description: 总库存
  10135. type: integer
  10136. tradedate:
  10137. description: 交易日
  10138. type: string
  10139. updowncount:
  10140. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  10141. type: integer
  10142. updownflag:
  10143. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  10144. type: integer
  10145. updownrate:
  10146. description: 今日涨跌幅
  10147. type: number
  10148. updownrate_2d:
  10149. description: 连续两日涨跌幅
  10150. type: number
  10151. updownrate_3d:
  10152. description: 连续三日涨跌幅
  10153. type: number
  10154. type: object
  10155. models.QhjSiteColumnDetail:
  10156. properties:
  10157. author:
  10158. description: 作者
  10159. type: string
  10160. brief:
  10161. description: 简介
  10162. type: string
  10163. columnid:
  10164. description: 所属栏目
  10165. type: integer
  10166. context:
  10167. description: 内容
  10168. type: string
  10169. coverimage:
  10170. description: 封面图片
  10171. type: string
  10172. creaedate:
  10173. description: 创建时间
  10174. type: string
  10175. creatorid:
  10176. description: 创建人
  10177. type: integer
  10178. hits:
  10179. description: 点击数
  10180. type: integer
  10181. id:
  10182. description: ID(SEQ_SITE_COLUMNDETAIL)
  10183. type: integer
  10184. isshow:
  10185. description: 是否展示 - 0:不展示 1:展示
  10186. type: integer
  10187. istop:
  10188. description: 是否置顶 - 0:不置 1:置顶
  10189. type: integer
  10190. modifierid:
  10191. description: 操作人
  10192. type: integer
  10193. publishdate:
  10194. description: 发布日期
  10195. type: string
  10196. status:
  10197. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  10198. type: integer
  10199. title:
  10200. description: 标题
  10201. type: string
  10202. updatedate:
  10203. description: 修改时间
  10204. type: string
  10205. userid:
  10206. description: 用户ID(默认为0, 核心为为机构用户ID)
  10207. type: integer
  10208. username:
  10209. description: 用户名称
  10210. type: string
  10211. type: object
  10212. models.QhjTradeGoodsPickup:
  10213. properties:
  10214. accountid:
  10215. description: 账户ID
  10216. type: integer
  10217. address:
  10218. description: 提货人详细地址
  10219. type: string
  10220. amount:
  10221. description: 提货金额
  10222. type: number
  10223. artradedate:
  10224. description: 自动收货交易日(yyyyMMdd)
  10225. type: string
  10226. auditer:
  10227. description: 审核人
  10228. type: integer
  10229. auditsrc:
  10230. description: 更新来源 - 1:管理端 2:终端
  10231. type: integer
  10232. audittime:
  10233. description: 审核时间(发货时间)
  10234. type: string
  10235. audittradedate:
  10236. description: 审核交易日(yyyyMMdd)
  10237. type: string
  10238. cardnum:
  10239. description: 提货人证件号码
  10240. type: string
  10241. cardtypeid:
  10242. description: 提货人证件类型
  10243. type: integer
  10244. checkremark:
  10245. description: 审核备注
  10246. type: string
  10247. cityid:
  10248. description: 市
  10249. type: integer
  10250. cityname:
  10251. description: 城市名称
  10252. type: string
  10253. countryid:
  10254. description: 国家
  10255. type: integer
  10256. countryname:
  10257. description: 国家名称
  10258. type: string
  10259. districtid:
  10260. description: 地区
  10261. type: integer
  10262. districtname:
  10263. description: 地区名称
  10264. type: string
  10265. enumdicname:
  10266. description: 单位名称(提货商品)
  10267. type: string
  10268. expresscompany:
  10269. description: 物流公司
  10270. type: string
  10271. expressnum:
  10272. description: 物流单号
  10273. type: string
  10274. goodsagreeunit:
  10275. description: 交易商品乘数
  10276. type: number
  10277. goodscode:
  10278. description: 商品代码
  10279. type: string
  10280. goodsid:
  10281. description: 商品ID
  10282. type: integer
  10283. goodsname:
  10284. description: 商品名称
  10285. type: string
  10286. goodsqty:
  10287. description: 交易商品手数(69模式按成交量小数位放大取整)
  10288. type: number
  10289. handlestatus:
  10290. description: 处理状态
  10291. type: integer
  10292. marketid:
  10293. description: 市场ID
  10294. type: integer
  10295. phonenum:
  10296. description: 提货人联系方式
  10297. type: string
  10298. pickupgoodsagreeunit:
  10299. description: 提货商品合约乘数
  10300. type: number
  10301. pickupgoodsid:
  10302. description: 提货商品ID
  10303. type: string
  10304. pickupgoodsname:
  10305. description: 提货商品名称
  10306. type: string
  10307. pickupgoodsqty:
  10308. description: 提货商品手数(数量)
  10309. type: number
  10310. pickupgoodsunitid:
  10311. description: 单位ID(提货商品)
  10312. type: integer
  10313. pickupratio:
  10314. description: 提货系数
  10315. type: number
  10316. preparedays:
  10317. description: 备货期(天)-提货单明细表
  10318. type: integer
  10319. provinceid:
  10320. description: 省
  10321. type: integer
  10322. provincename:
  10323. description: 省名称
  10324. type: string
  10325. qty:
  10326. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  10327. type: number
  10328. recivername:
  10329. description: 提货人姓名
  10330. type: string
  10331. reqtime:
  10332. description: 提货申请时间
  10333. type: string
  10334. storeuserid:
  10335. description: 门店用户ID (千海金)
  10336. type: integer
  10337. storeusername:
  10338. description: 门店用户名称
  10339. type: string
  10340. takemode:
  10341. description: 提货方式 - 2:自提 3:配送(邮寄)
  10342. type: integer
  10343. takeorderid:
  10344. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  10345. type: integer
  10346. takeorderstatus:
  10347. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  10348. 7:已拒绝 8:已撤销
  10349. type: integer
  10350. takeremark:
  10351. description: 提货备注
  10352. type: string
  10353. tradedate:
  10354. description: 交易日(yyyyMMdd)
  10355. type: string
  10356. updatetime:
  10357. description: 更新时间
  10358. type: string
  10359. userid:
  10360. description: 用户ID
  10361. type: integer
  10362. username:
  10363. description: 用户名称
  10364. type: string
  10365. type: object
  10366. models.Qhjgoodsex:
  10367. properties:
  10368. canfinance:
  10369. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  10370. type: integer
  10371. canregularlybuy:
  10372. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  10373. type: integer
  10374. defaulttradeuserid:
  10375. description: 默认交易用户ID
  10376. type: integer
  10377. deliverygoodsid:
  10378. description: 现货品种ID
  10379. type: integer
  10380. goodsid:
  10381. description: 商品ID(自增ID SEQ_GOODS)
  10382. type: integer
  10383. minamount:
  10384. description: 最小购买金额
  10385. type: number
  10386. regularlybuyminamount:
  10387. description: 定投最小金额
  10388. type: number
  10389. regularlybuyminqty:
  10390. description: 定投最小数量
  10391. type: number
  10392. spotgoodsbrandid:
  10393. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  10394. type: integer
  10395. wrstandardid:
  10396. description: 现货商品ID
  10397. type: integer
  10398. type: object
  10399. models.QueryErrorInfosRsp:
  10400. properties:
  10401. description:
  10402. description: 异常描述
  10403. type: string
  10404. errorcode:
  10405. description: 异常代码
  10406. type: string
  10407. errorid:
  10408. description: 异常ID
  10409. type: integer
  10410. modulecode:
  10411. description: 所属模块
  10412. type: string
  10413. operatecode:
  10414. description: 所属操作
  10415. type: string
  10416. rownumber:
  10417. description: 行号
  10418. type: string
  10419. required:
  10420. - errorid
  10421. type: object
  10422. models.QueryHedgeOrderDetailRsp:
  10423. properties:
  10424. accountid:
  10425. description: 账户ID
  10426. type: integer
  10427. buyorsell:
  10428. description: 买卖 - 0:买 1:卖
  10429. type: integer
  10430. cancellogincode:
  10431. description: 撤单人
  10432. type: string
  10433. channelbuildtype:
  10434. description: 开平标志 - 0:无 1:建仓 2:平仓
  10435. type: integer
  10436. channelinnerorderstatus:
  10437. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  10438. 9:全部成交
  10439. type: integer
  10440. channeloperatetype:
  10441. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  10442. type: integer
  10443. closetype:
  10444. description: 平仓方式 - 0:无 1:平今 2:平昨
  10445. type: integer
  10446. curexchangerate:
  10447. description: 当前汇率
  10448. type: number
  10449. exchangefullname:
  10450. description: 外部交易所全称
  10451. type: string
  10452. goodscode:
  10453. description: 商品代码(内部)
  10454. type: string
  10455. goodsid:
  10456. description: 商品ID
  10457. type: integer
  10458. goodsname:
  10459. description: 商品名称
  10460. type: string
  10461. marketid:
  10462. description: 市场ID
  10463. type: integer
  10464. openfreezemargin:
  10465. description: 冻结保证金(冻结交易金额)
  10466. type: number
  10467. orderid:
  10468. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10469. type: string
  10470. orderlogincode:
  10471. description: 委托人
  10472. type: string
  10473. orderprice:
  10474. description: 委托价格(账户)
  10475. type: number
  10476. orderqty:
  10477. description: 委托数量
  10478. type: integer
  10479. ordertime:
  10480. description: 委托时间
  10481. type: string
  10482. pricemode:
  10483. description: '取价方式 - 1:市价 2: 限价'
  10484. type: integer
  10485. tradedate:
  10486. description: 交易日(yyyyMMdd)
  10487. type: string
  10488. tradeqty:
  10489. description: 成交数量
  10490. type: integer
  10491. type: object
  10492. models.QueryHedgeTradeDetailRsp:
  10493. properties:
  10494. accountid:
  10495. description: 账号ID
  10496. type: integer
  10497. buyorsell:
  10498. description: 方向 - 0:买 1:卖
  10499. type: integer
  10500. channelbuildtype:
  10501. description: 委托单据类型 0:无 1:建仓 2:平仓
  10502. type: integer
  10503. closecharge:
  10504. description: 平仓手续费(账户)
  10505. type: number
  10506. closecharge2:
  10507. description: 平仓手续费(商品)
  10508. type: number
  10509. closepl:
  10510. description: 平仓盈亏(账户)
  10511. type: number
  10512. closepl2:
  10513. description: 平仓盈亏(商品)
  10514. type: number
  10515. closepl3:
  10516. description: 平仓盈亏(账户)(逐笔)
  10517. type: number
  10518. closepl4:
  10519. description: 平仓盈亏(商品)(逐笔)
  10520. type: number
  10521. closetype:
  10522. description: 平仓方式 - 0:无 1:平今 2:平昨
  10523. type: integer
  10524. curexchangerate:
  10525. description: 当前汇率
  10526. type: number
  10527. exchangefullname:
  10528. description: 外部交易所全称
  10529. type: string
  10530. goodscode:
  10531. description: 商品代码(内部)
  10532. type: string
  10533. goodsid:
  10534. description: 商品ID
  10535. type: integer
  10536. goodsname:
  10537. description: 商品名称
  10538. type: string
  10539. marketid:
  10540. description: 市场ID
  10541. type: integer
  10542. opencharge:
  10543. description: 建仓手续费(账户)
  10544. type: number
  10545. opencharge2:
  10546. description: 建仓手续费(商品)
  10547. type: number
  10548. orderid:
  10549. description: 委托单号
  10550. type: string
  10551. orderlogincode:
  10552. description: 委托人
  10553. type: string
  10554. tradeamount:
  10555. description: 成交金额(账户)
  10556. type: number
  10557. tradedate:
  10558. description: 交易日(yyyyMMdd)
  10559. type: string
  10560. tradeid:
  10561. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10562. type: string
  10563. tradeprice:
  10564. description: 成交价格
  10565. type: number
  10566. tradeqty:
  10567. description: 成交数量
  10568. type: integer
  10569. tradetime:
  10570. description: 成交时间
  10571. type: string
  10572. tradetype:
  10573. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  10574. type: integer
  10575. type: object
  10576. models.QuotePrimaryMenu:
  10577. properties:
  10578. Index:
  10579. description: 序号
  10580. type: integer
  10581. Key:
  10582. description: 键名
  10583. type: string
  10584. Name:
  10585. description: 菜单名称
  10586. type: string
  10587. SubMenus:
  10588. description: 子菜单
  10589. items:
  10590. $ref: '#/definitions/models.QuoteSecondaryMenu'
  10591. type: array
  10592. SubTitleType:
  10593. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  10594. type: integer
  10595. TradeModes:
  10596. description: 包含市场交易类型
  10597. type: string
  10598. type: object
  10599. models.QuoteSecondaryMenu:
  10600. properties:
  10601. ExExchangeCode:
  10602. description: 外部交易所代码
  10603. type: string
  10604. ExExchangeID:
  10605. description: 外部交易所ID
  10606. type: integer
  10607. GoodsGroupIDs:
  10608. description: 商品组ID列表
  10609. items:
  10610. type: integer
  10611. type: array
  10612. Index:
  10613. description: 序号
  10614. type: integer
  10615. MarketID:
  10616. description: 市场ID
  10617. type: integer
  10618. MenuTitle:
  10619. description: 菜单标题(市场名称或外部交易所名称)
  10620. type: string
  10621. TradeMode:
  10622. description: 交易模式
  10623. type: integer
  10624. type: object
  10625. models.SearchGoods:
  10626. properties:
  10627. goodscode:
  10628. description: 商品代码(内部)
  10629. type: string
  10630. goodsid:
  10631. description: 商品ID(自增ID SEQ_GOODS)
  10632. type: integer
  10633. goodsname:
  10634. description: 商品名称
  10635. type: string
  10636. marketid:
  10637. description: 所属市场ID
  10638. type: integer
  10639. marketname:
  10640. description: 市场名称
  10641. type: string
  10642. trademode:
  10643. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10644. 21:竞拍-大宗式 22:受托竞价
  10645. type: integer
  10646. required:
  10647. - goodscode
  10648. - goodsid
  10649. - goodsname
  10650. - marketid
  10651. - trademode
  10652. type: object
  10653. models.Systemparam:
  10654. properties:
  10655. loginid:
  10656. description: 更新用户账号,登录账号
  10657. type: string
  10658. modifyflag:
  10659. description: 修改标志0 不允许修改 1 允许修改
  10660. type: integer
  10661. paramcode:
  10662. description: 参数代码
  10663. type: string
  10664. paramname:
  10665. description: 参数名
  10666. type: string
  10667. paramtype:
  10668. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  10669. type: integer
  10670. paramvalue:
  10671. description: 参数值
  10672. type: string
  10673. paramvalue2:
  10674. description: 参数值(CLOB)
  10675. type: string
  10676. regexpress:
  10677. description: 正则表达式
  10678. type: string
  10679. remark:
  10680. description: 备注
  10681. type: string
  10682. serverip:
  10683. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  10684. type: string
  10685. showflag:
  10686. description: 是否显示0 不显示 1 显示
  10687. type: integer
  10688. updatetime:
  10689. description: 更新时间
  10690. type: string
  10691. userid:
  10692. description: 更新用户ID
  10693. type: integer
  10694. required:
  10695. - paramcode
  10696. type: object
  10697. models.Szdz3convertconfig:
  10698. properties:
  10699. canin:
  10700. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  10701. type: integer
  10702. canout:
  10703. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  10704. type: integer
  10705. converttype:
  10706. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  10707. 6:交易转花生米(不设置)
  10708. type: integer
  10709. createtime:
  10710. description: 创建时间
  10711. type: string
  10712. creatorid:
  10713. description: 创建人
  10714. type: integer
  10715. daymaxvalue:
  10716. description: 当日最大转入限制
  10717. type: number
  10718. freezedays:
  10719. description: 冻结天数 [5:花生米转交易]
  10720. type: integer
  10721. innergoodsid:
  10722. description: 内部商品ID[交易]
  10723. type: integer
  10724. inratio:
  10725. description: 目标值
  10726. type: integer
  10727. modifierid:
  10728. description: 修改人
  10729. type: integer
  10730. modifytime:
  10731. description: 修改时间
  10732. type: string
  10733. outergoodscode:
  10734. description: 外部商品代码[JD\PD]
  10735. type: string
  10736. outratio:
  10737. description: 源值
  10738. type: integer
  10739. pddecimalplace:
  10740. description: PD小数位
  10741. type: integer
  10742. timemaxvalue:
  10743. description: 单次最大转入限制
  10744. type: number
  10745. timeminvalue:
  10746. description: 单次最小转入限制
  10747. type: number
  10748. required:
  10749. - converttype
  10750. - innergoodsid
  10751. - outergoodscode
  10752. type: object
  10753. models.Szdz3searchwhitelist:
  10754. properties:
  10755. createtime:
  10756. description: 创建时间
  10757. type: string
  10758. creatorid:
  10759. description: 创建人
  10760. type: integer
  10761. modifierid:
  10762. description: 修改人
  10763. type: integer
  10764. modifytime:
  10765. description: 修改时间
  10766. type: string
  10767. userid:
  10768. description: 用户ID
  10769. type: integer
  10770. required:
  10771. - userid
  10772. type: object
  10773. models.Taaccount:
  10774. properties:
  10775. accountflag:
  10776. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  10777. type: integer
  10778. accountid:
  10779. description: 资金账户ID
  10780. type: integer
  10781. accountname:
  10782. description: 账户名称
  10783. type: string
  10784. balance:
  10785. description: 期初余额
  10786. type: number
  10787. capitalbalance:
  10788. description: 本金余额[外部子账户实际出入金余额]
  10789. type: number
  10790. changeflag:
  10791. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  10792. type: integer
  10793. changetime:
  10794. description: 账户状态变更时间
  10795. type: string
  10796. closepl:
  10797. description: 今日平仓盈亏
  10798. type: number
  10799. creditdecrease:
  10800. description: 今日授信减少
  10801. type: number
  10802. creditincrease:
  10803. description: 今日授信增加
  10804. type: number
  10805. currencyid:
  10806. description: 货币ID
  10807. type: integer
  10808. currentbalance:
  10809. description: 期末余额
  10810. type: number
  10811. freezecharge:
  10812. description: 手续费冻结
  10813. type: number
  10814. freezemargin:
  10815. description: 冻结保证金
  10816. type: number
  10817. fromaccountid:
  10818. description: 所属上级账户
  10819. type: integer
  10820. inamount:
  10821. description: 今日入金金额(包括三方入金)
  10822. type: number
  10823. ismain:
  10824. description: 是否母账号 0:不是母账户 1:是母账户
  10825. type: integer
  10826. ismarketaccount:
  10827. description: 是否机构接单账号 0:不是 1:是
  10828. type: integer
  10829. isreckonaccount:
  10830. description: 是否机构分润账号 0:不是 1:是
  10831. type: integer
  10832. mortgagecredit:
  10833. description: 授信金额
  10834. type: number
  10835. orifreezecharge:
  10836. description: 期初手续费冻结
  10837. type: number
  10838. orifreezemargin:
  10839. description: 期初冻结保证金
  10840. type: number
  10841. orimortgagecredit:
  10842. description: 期初授信金额
  10843. type: number
  10844. oriothercredit:
  10845. description: 期初其它授信金额
  10846. type: number
  10847. oriotherfreezemargin:
  10848. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  10849. type: number
  10850. orioutamountfreeze:
  10851. description: 期初出金冻结
  10852. type: number
  10853. oriusedmargin:
  10854. description: 期初占用保证金
  10855. type: number
  10856. othercredit:
  10857. description: 其它授信金额
  10858. type: number
  10859. othercreditdecrease:
  10860. description: 今日其它授信减少
  10861. type: number
  10862. othercreditincrease:
  10863. description: 今日其它授信增加
  10864. type: number
  10865. otherfreezemargin:
  10866. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  10867. type: number
  10868. otherincome:
  10869. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  10870. type: number
  10871. otherpay:
  10872. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  10873. type: number
  10874. outamount:
  10875. description: 今日出金金额(包括三方出金)
  10876. type: number
  10877. outamountfreeze:
  10878. description: 出金冻结
  10879. type: number
  10880. outthreshold:
  10881. description: 出金阈值
  10882. type: number
  10883. parentaccountid:
  10884. description: 所属根账号
  10885. type: integer
  10886. paycharge:
  10887. description: 今日手续费支出
  10888. type: number
  10889. relatedaccountstatus:
  10890. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  10891. type: integer
  10892. relateduserid:
  10893. description: 关联用户
  10894. type: integer
  10895. serivcegroup:
  10896. description: 服务分组
  10897. type: integer
  10898. signstatus:
  10899. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  10900. type: integer
  10901. sublevelpath:
  10902. description: 账号层级路径(逗号分隔,首尾加逗号)
  10903. type: string
  10904. taaccounttype:
  10905. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  10906. type: integer
  10907. thirdinamount:
  10908. description: 今日三方入金
  10909. type: number
  10910. thirdoutamount:
  10911. description: 今日三方出金
  10912. type: number
  10913. tradestatus:
  10914. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  10915. type: integer
  10916. tradestatuschangetime:
  10917. description: 激活时间
  10918. type: string
  10919. transferamount:
  10920. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  10921. type: number
  10922. usedmargin:
  10923. description: 占用保证金
  10924. type: number
  10925. userid:
  10926. description: 用户ID
  10927. type: integer
  10928. required:
  10929. - accountid
  10930. - userid
  10931. type: object
  10932. models.Tablecolumnconfig:
  10933. properties:
  10934. aligntype:
  10935. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  10936. type: integer
  10937. autoid:
  10938. description: AutoID
  10939. type: integer
  10940. columnfield:
  10941. description: 列字段
  10942. type: string
  10943. columntitle:
  10944. description: 列Title
  10945. type: string
  10946. columnwidth:
  10947. description: 列宽
  10948. type: string
  10949. formatterstring:
  10950. description: 格式化字符
  10951. type: string
  10952. formattertype:
  10953. description: 格式化类型
  10954. type: string
  10955. groupname:
  10956. description: 表头分组名称
  10957. type: string
  10958. isshow:
  10959. description: 是否显示 - 0:不显示 1:显示
  10960. type: integer
  10961. needsummary:
  10962. description: 是否需要汇总 - 0:不需要 1:需要
  10963. type: integer
  10964. orderindex:
  10965. description: 顺序
  10966. type: integer
  10967. remark:
  10968. description: 备注
  10969. type: string
  10970. summarytype:
  10971. description: 汇总类型 - 1:加总 2:最后一个
  10972. type: integer
  10973. tablekey:
  10974. description: 列表Key
  10975. type: string
  10976. required:
  10977. - autoid
  10978. type: object
  10979. models.UserCollectConfig:
  10980. properties:
  10981. accountstatus:
  10982. description: 账户状态 - 1:正常 2:停用 3:注销
  10983. type: integer
  10984. collectaccountname:
  10985. description: 收款人账户名称
  10986. type: string
  10987. collectaccountno:
  10988. description: 收款人账户
  10989. type: string
  10990. collectbankname:
  10991. description: 收款人开户行
  10992. type: string
  10993. collectbranchbankname:
  10994. description: 收款人开户支行
  10995. type: string
  10996. collectconfigid:
  10997. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  10998. type: string
  10999. remark:
  11000. description: 备注
  11001. type: string
  11002. userid:
  11003. description: 收款人用户ID
  11004. type: integer
  11005. type: object
  11006. models.UserReceiveInfo:
  11007. properties:
  11008. address:
  11009. description: 提货人详细地址
  11010. type: string
  11011. autoid:
  11012. description: AutoID
  11013. type: integer
  11014. cardnum:
  11015. description: 证件号码(加密存储)
  11016. type: string
  11017. cardtypeid:
  11018. description: 证件类型
  11019. type: integer
  11020. cityid:
  11021. description: 市
  11022. type: integer
  11023. cityname:
  11024. description: 城市名称
  11025. type: string
  11026. countryid:
  11027. description: 国家
  11028. type: integer
  11029. countryname:
  11030. description: 国家名称
  11031. type: string
  11032. districtid:
  11033. description: 地区
  11034. type: integer
  11035. districtname:
  11036. description: 地区名称
  11037. type: string
  11038. hasencrypt:
  11039. description: 数据是否已加密 - 0:未加密 1:已加密
  11040. type: integer
  11041. isdefault:
  11042. description: 是否默认地址 - 0:否 1:是
  11043. type: integer
  11044. phonenum:
  11045. description: 提货人联系方式(加密存储)
  11046. type: string
  11047. provinceid:
  11048. description: 省
  11049. type: integer
  11050. provincename:
  11051. description: 省名称
  11052. type: string
  11053. receivername:
  11054. description: 提货人姓名
  11055. type: string
  11056. takeremark:
  11057. description: 提货备注
  11058. type: string
  11059. userid:
  11060. description: 用户ID
  11061. type: integer
  11062. type: object
  11063. models.Useraccount:
  11064. properties:
  11065. accountname:
  11066. description: 账户名称(机构名称)
  11067. type: string
  11068. accountstatus:
  11069. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  11070. type: integer
  11071. applysrc:
  11072. description: 申请来源 - 1:管理端 2:终端
  11073. type: integer
  11074. auditremark:
  11075. description: 审核备注
  11076. type: string
  11077. auditsrc:
  11078. description: 审核来源 - 1:管理端 2:终端
  11079. type: integer
  11080. audittime:
  11081. description: 审核时间
  11082. type: string
  11083. audituserid:
  11084. description: 审核人
  11085. type: integer
  11086. broker:
  11087. description: 所属经纪人ID
  11088. type: integer
  11089. canceltime:
  11090. description: 销户时间
  11091. type: string
  11092. canceluserid:
  11093. description: 销户人
  11094. type: integer
  11095. canrecommend:
  11096. description: 是否可推荐 - 0:不可 1;可
  11097. type: integer
  11098. createtime:
  11099. description: 创建时间
  11100. type: string
  11101. creatorid:
  11102. description: 创建人
  11103. type: integer
  11104. hasauth:
  11105. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  11106. type: integer
  11107. isanonymous:
  11108. description: 是否匿名下单 - 0:否 1:是
  11109. type: integer
  11110. maxinvestornum:
  11111. description: 最大用户数(经纪会员下投资者个数)
  11112. type: integer
  11113. memberuserid:
  11114. description: 所属会员ID
  11115. type: integer
  11116. modifierid:
  11117. description: 修改人
  11118. type: integer
  11119. modifyremark:
  11120. description: 变更备注
  11121. type: string
  11122. modifystatus:
  11123. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  11124. type: integer
  11125. modifytime:
  11126. description: 修改时间
  11127. type: string
  11128. parenttopuser:
  11129. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  11130. type: string
  11131. parentuserid:
  11132. description: 所属机构ID
  11133. type: integer
  11134. reckonaccountid:
  11135. description: 默认结算资金账号ID(机构分润使用) 作废
  11136. type: integer
  11137. refercount:
  11138. description: 推荐总人数
  11139. type: integer
  11140. refereeuserid:
  11141. description: 推荐人ID
  11142. type: integer
  11143. refernum:
  11144. description: 推荐码
  11145. type: string
  11146. rootuserid:
  11147. description: 根用户ID
  11148. type: integer
  11149. subaccountlevel:
  11150. description: 子账户层数
  11151. type: integer
  11152. subarealevelpath:
  11153. description: 子机构层级路径(逗号分隔,首尾加逗号)
  11154. type: string
  11155. userid:
  11156. description: 用户ID
  11157. type: integer
  11158. usertype:
  11159. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  11160. type: integer
  11161. required:
  11162. - userid
  11163. type: object
  11164. models.Userfavoritegoods:
  11165. properties:
  11166. goodsid:
  11167. description: 商品ID
  11168. type: integer
  11169. required:
  11170. - goodsid
  11171. type: object
  11172. models.Userinfo:
  11173. properties:
  11174. address:
  11175. description: 地址
  11176. type: string
  11177. attachment1:
  11178. description: 附件1
  11179. type: string
  11180. attachment2:
  11181. description: 附件2
  11182. type: string
  11183. bankaccount:
  11184. description: 银行帐号 (加密存储)
  11185. type: string
  11186. bankaccountname:
  11187. description: 收款人名称
  11188. type: string
  11189. bankcardfrontphotourl:
  11190. description: 银行卡正面照地址
  11191. type: string
  11192. bankid:
  11193. description: 银行编码
  11194. type: string
  11195. bankname:
  11196. description: 银行名称
  11197. type: string
  11198. biznature:
  11199. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  11200. type: integer
  11201. bizscope:
  11202. description: 企业经营范围(企业)
  11203. type: string
  11204. cardbackphotourl:
  11205. description: 证件背面图片地址
  11206. type: string
  11207. cardfrontphotourl:
  11208. description: 证件正面图片地址
  11209. type: string
  11210. cardnum:
  11211. description: 证件号码(加密存储)
  11212. type: string
  11213. cardtypeid:
  11214. description: 证件类型ID
  11215. type: integer
  11216. cityid:
  11217. description: 市
  11218. type: integer
  11219. company:
  11220. description: 公司(个人)
  11221. type: string
  11222. contactname:
  11223. description: 联系人
  11224. type: string
  11225. countryid:
  11226. description: 国家
  11227. type: integer
  11228. createtime:
  11229. description: 创建时间
  11230. type: string
  11231. creatorid:
  11232. description: 创建人
  11233. type: integer
  11234. customername:
  11235. description: 客户名称(企业名称)
  11236. type: string
  11237. districtid:
  11238. description: 地区
  11239. type: integer
  11240. email:
  11241. description: 邮件(加密存储)
  11242. type: string
  11243. fax:
  11244. description: 传真(加密存储)
  11245. type: string
  11246. halfbodyphotourl:
  11247. description: 半身照地址
  11248. type: string
  11249. hasencrypt:
  11250. description: 数据是否已加密 - 0:未加密 1:已加密
  11251. type: integer
  11252. headurl:
  11253. description: 头像地址
  11254. type: string
  11255. legalcardbackphotourl:
  11256. description: 法人身份证背面照地址
  11257. type: string
  11258. legalcardfrontphotourl:
  11259. description: 法人身份证正面照地址
  11260. type: string
  11261. legalpersonname:
  11262. description: 法人姓名(企业)
  11263. type: string
  11264. mobile:
  11265. description: 手机号码(加密存储)
  11266. type: string
  11267. mobile2:
  11268. description: 手机号码[明文-尚志]
  11269. type: string
  11270. modifierid:
  11271. description: 修改人
  11272. type: integer
  11273. modifiertime:
  11274. description: 修改时间
  11275. type: string
  11276. needinvoice:
  11277. description: 是否需要发票 - 0:不需要 1:需要
  11278. type: integer
  11279. nickname:
  11280. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  11281. type: string
  11282. openmode:
  11283. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  11284. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  11285. type: integer
  11286. otherurl:
  11287. description: 其它图片地址[使用分号分隔]
  11288. type: string
  11289. postalcode:
  11290. description: 邮政编码
  11291. type: string
  11292. provinceid:
  11293. description: 省
  11294. type: integer
  11295. qq:
  11296. description: QQ(加密存储
  11297. type: string
  11298. remark:
  11299. description: 备注
  11300. type: string
  11301. sex:
  11302. description: '用户性别 0: 女 1: 男'
  11303. type: integer
  11304. signpdfurl:
  11305. description: 签约pdf文件
  11306. type: string
  11307. telphone:
  11308. description: 联系电话(加密存储)
  11309. type: string
  11310. userid:
  11311. description: 用户ID
  11312. type: integer
  11313. userinfotype:
  11314. description: 用户信息类型 - 1:个人 2:企业
  11315. type: integer
  11316. userstatus:
  11317. description: 用户状态 - 1:正常 2:注销
  11318. type: integer
  11319. usertype:
  11320. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  11321. type: integer
  11322. wechat:
  11323. description: 微信(加密存储)
  11324. type: string
  11325. wskhinfo:
  11326. description: 开户申请信息(JSON)
  11327. type: string
  11328. required:
  11329. - userid
  11330. type: object
  11331. models.WRSConverTDetail:
  11332. properties:
  11333. convertratio:
  11334. description: 套保系数
  11335. type: number
  11336. deliverygoodscode:
  11337. description: 现货商品代码
  11338. type: string
  11339. deliverygoodsid:
  11340. description: 现货品种ID
  11341. type: integer
  11342. deliverygoodsname:
  11343. description: 现货商品名称
  11344. type: string
  11345. enumdicname:
  11346. description: 单位名称
  11347. type: string
  11348. goodsunitid:
  11349. description: 套保品种单位id
  11350. type: integer
  11351. middlegoodscode:
  11352. description: 套保品种代码
  11353. type: string
  11354. middlegoodsid:
  11355. description: 套保品种ID
  11356. type: integer
  11357. middlegoodsname:
  11358. description: 套保品种名称
  11359. type: string
  11360. modifytime:
  11361. description: 修改时间
  11362. type: string
  11363. wrstandardid:
  11364. description: 品类ID
  11365. type: integer
  11366. type: object
  11367. models.WRStandardInfo:
  11368. properties:
  11369. areauserid:
  11370. description: 所属机构
  11371. type: integer
  11372. convertfactor:
  11373. description: 标仓系数
  11374. type: number
  11375. createtime:
  11376. description: 创建时间
  11377. type: string
  11378. creatorid:
  11379. description: 创建人
  11380. type: integer
  11381. deliverygoodsid:
  11382. description: 品种ID
  11383. type: integer
  11384. deliverygoodsname:
  11385. description: 交割商品名称
  11386. type: string
  11387. factoryitemjson:
  11388. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  11389. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  11390. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  11391. 逗号分隔'
  11392. type: string
  11393. isvalid:
  11394. description: 是否有效 - 0:无效 1:有效
  11395. type: integer
  11396. minivalue:
  11397. description: 最小变动值
  11398. type: integer
  11399. minivaluedp:
  11400. description: 最小变动值小数位
  11401. type: integer
  11402. realminivalue:
  11403. description: 实际最小变动值
  11404. type: integer
  11405. realminivaluedp:
  11406. description: 实际最小变动值小数位
  11407. type: integer
  11408. remark:
  11409. description: 备注
  11410. type: string
  11411. unitid:
  11412. description: 单位ID
  11413. type: integer
  11414. unitname:
  11415. description: 单位
  11416. type: string
  11417. updatetime:
  11418. description: 更新时间
  11419. type: string
  11420. updatorid:
  11421. description: 更新人
  11422. type: integer
  11423. wrsstatus:
  11424. description: 状态 - 作废 - 0:未激活 1:正常
  11425. type: integer
  11426. wrstandardcode:
  11427. description: 现货品类代码
  11428. type: string
  11429. wrstandardid:
  11430. description: 现货品类ID(SEQ_WRSTANDARD)
  11431. type: integer
  11432. wrstandardname:
  11433. description: 现货品类名称
  11434. type: string
  11435. required:
  11436. - wrstandardid
  11437. type: object
  11438. models.Warehouseinfo:
  11439. properties:
  11440. address:
  11441. description: 详细地址
  11442. type: string
  11443. areauserid:
  11444. description: 所属机构
  11445. type: integer
  11446. autoid:
  11447. description: 自增ID
  11448. type: integer
  11449. cityid:
  11450. description: 市
  11451. type: integer
  11452. contactname:
  11453. description: 联系人
  11454. type: string
  11455. contactnum:
  11456. description: 联系电话
  11457. type: string
  11458. countryid:
  11459. description: 国家
  11460. type: integer
  11461. createtime:
  11462. description: 创建时间
  11463. type: string
  11464. districtid:
  11465. description: 区
  11466. type: integer
  11467. hasvideo:
  11468. description: 是否有视频 - 0:无 1:有
  11469. type: integer
  11470. provinceid:
  11471. description: 省
  11472. type: integer
  11473. remark:
  11474. description: 审核备注
  11475. type: string
  11476. videourl:
  11477. description: 视频地址
  11478. type: string
  11479. warehousecode:
  11480. description: 仓库代码
  11481. type: string
  11482. warehousename:
  11483. description: 仓库名称
  11484. type: string
  11485. warehousestatus:
  11486. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  11487. type: integer
  11488. warehousetype:
  11489. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  11490. type: integer
  11491. required:
  11492. - autoid
  11493. - warehousecode
  11494. type: object
  11495. order.QueryHisTradeDetailRsp:
  11496. properties:
  11497. accountid:
  11498. description: 账户ID[报价币种]
  11499. type: integer
  11500. buildtype:
  11501. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  11502. type: integer
  11503. buyorsell:
  11504. description: 方向 - 0:买 1:卖
  11505. type: integer
  11506. charge:
  11507. description: 手续费
  11508. type: number
  11509. closecharge:
  11510. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  11511. type: number
  11512. closeexchagechargevalue:
  11513. description: 平仓交易所手续费设置值
  11514. type: number
  11515. closefeealgorithm:
  11516. description: 平仓手续费收取方式 1:比率 2:固定
  11517. type: integer
  11518. closememberchargevalue:
  11519. description: 平仓会员手续费设置值
  11520. type: number
  11521. closepl:
  11522. description: 平仓盈亏
  11523. type: number
  11524. closepl2:
  11525. description: 平仓盈亏[逐笔]
  11526. type: number
  11527. closeqty:
  11528. description: 平仓数量(先建后平操作 需要记录)
  11529. type: integer
  11530. creditamount:
  11531. description: 授信金额
  11532. type: number
  11533. gcaccountid:
  11534. description: 账户ID[合约币种]
  11535. type: integer
  11536. goodscode:
  11537. description: 商品代码
  11538. type: string
  11539. goodsid:
  11540. description: 商品ID
  11541. type: integer
  11542. goodsname:
  11543. description: 商品名称
  11544. type: string
  11545. histradedate:
  11546. description: 历史交易日
  11547. type: string
  11548. intclosepl:
  11549. description: 整型盈亏(用于交易结算试算平衡-收益权)
  11550. type: integer
  11551. isconfirmexercise:
  11552. description: 是否确认行权- 0:否 1:是
  11553. type: integer
  11554. ismain:
  11555. description: 是否主单 - 0:不是 1:是
  11556. type: integer
  11557. ispreexercise:
  11558. description: 是否预申报- 0:否 1:是
  11559. type: integer
  11560. isreckoned:
  11561. description: 是否结算 - 0:未结算 1:已结算
  11562. type: integer
  11563. isvaliddata:
  11564. description: 是否有效 - 0:无效 1:有效
  11565. type: integer
  11566. listingselecttype:
  11567. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  11568. type: integer
  11569. marketid:
  11570. description: 市场ID
  11571. type: integer
  11572. marketname:
  11573. description: 市场名称
  11574. type: string
  11575. matchaccountid:
  11576. description: 对手账号id
  11577. type: integer
  11578. memberuserid:
  11579. description: 会员id 个人投资者 需要填写
  11580. type: integer
  11581. opencharge:
  11582. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  11583. type: number
  11584. openexchagechargevalue:
  11585. description: 建仓交易所手续费设置值
  11586. type: number
  11587. openfeealgorithm:
  11588. description: 建仓手续费收取方式 1:比率 2:固定
  11589. type: integer
  11590. openmemberchargevalue:
  11591. description: 建仓会员手续费设置值
  11592. type: number
  11593. openqty:
  11594. description: 开仓数量(先建后平操作 需要记录)
  11595. type: integer
  11596. optiontype:
  11597. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  11598. type: integer
  11599. orderid:
  11600. description: 委托单号
  11601. type: string
  11602. performanceplanid:
  11603. description: 履约计划ID[期权]
  11604. type: integer
  11605. performancestatus:
  11606. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  11607. type: integer
  11608. preexerciseprice:
  11609. description: 预申报价格
  11610. type: number
  11611. premium:
  11612. description: 权利金 - [持仓单的权利金]
  11613. type: number
  11614. relatedouttradeid:
  11615. description: 关联外部成交单ID
  11616. type: integer
  11617. status:
  11618. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  11619. type: integer
  11620. tradeamount:
  11621. description: 成交金额[账户币种,用于所有权]
  11622. type: number
  11623. tradedate:
  11624. description: 交易日(yyyyMMdd)
  11625. type: string
  11626. tradeid:
  11627. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11628. type: string
  11629. trademode:
  11630. description: 交易模式
  11631. type: integer
  11632. tradeprice:
  11633. description: 成交价格
  11634. type: number
  11635. tradeproperty:
  11636. description: 交易属性
  11637. type: integer
  11638. tradeqty:
  11639. description: 成交数量
  11640. type: integer
  11641. tradetime:
  11642. description: 成交时间
  11643. type: string
  11644. tradetype:
  11645. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  11646. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  11647. type: integer
  11648. required:
  11649. - accountid
  11650. - buyorsell
  11651. - goodsid
  11652. - histradedate
  11653. - marketid
  11654. - memberuserid
  11655. - orderid
  11656. - tradeamount
  11657. - tradedate
  11658. - tradeid
  11659. - tradeprice
  11660. - tradeqty
  11661. - tradetime
  11662. type: object
  11663. order.QueryHisTradeOrderDetailRsp:
  11664. properties:
  11665. accountid:
  11666. description: 账户ID[报价币种]
  11667. type: integer
  11668. buildtype:
  11669. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  11670. type: integer
  11671. buyorsell:
  11672. description: 买卖 - 0:买 1:卖
  11673. type: integer
  11674. cancelorderid:
  11675. description: 撤单单号(撤单时填写)
  11676. type: string
  11677. cancelqty:
  11678. description: 撤单数量
  11679. type: integer
  11680. clientordertime:
  11681. description: 客户端委托时间
  11682. type: string
  11683. clientticket:
  11684. description: 客户端流水号
  11685. type: string
  11686. clienttype:
  11687. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  11688. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  11689. type: integer
  11690. closeexchagechargevalue:
  11691. description: 平仓交易所手续费设置值
  11692. type: number
  11693. closefeealgorithm:
  11694. description: 平仓手续费收取方式 1:比率 2:固定
  11695. type: integer
  11696. closefreezecharge:
  11697. description: 平仓冻结手续费(先建后平操作,需要记录)
  11698. type: number
  11699. closememberchargevalue:
  11700. description: 平仓会员手续费设置值
  11701. type: number
  11702. closeqty:
  11703. description: 平仓数量(先建后平操作 需要记录)
  11704. type: integer
  11705. closetradeqty:
  11706. description: 平仓成交数量(先建后平操作,需要记录)
  11707. type: integer
  11708. closeunfreezecharge:
  11709. description: 平仓解冻手续费(先建后平操作,需要记录)
  11710. type: number
  11711. delistingtype:
  11712. description: 摘牌类型 - 1:价格最优 2:点选成交
  11713. type: integer
  11714. freezecharge:
  11715. description: 冻结手续费
  11716. type: number
  11717. freezemargin:
  11718. description: 冻结保证金(冻结交易金额)
  11719. type: number
  11720. gcaccountid:
  11721. description: 账户ID[合约币种]
  11722. type: integer
  11723. goodscode:
  11724. description: 商品代码
  11725. type: string
  11726. goodsid:
  11727. description: 商品ID
  11728. type: integer
  11729. goodsname:
  11730. description: 商品名称
  11731. type: string
  11732. histradedate:
  11733. description: 历史交易日
  11734. type: string
  11735. isconfirmexercise:
  11736. description: 是否确认行权- 0:否 1:是
  11737. type: integer
  11738. ispreexercise:
  11739. description: 是否预申报- 0:否 1:是
  11740. type: integer
  11741. isvaliddata:
  11742. description: 是否有效 - 0:无效 1:有效
  11743. type: integer
  11744. listingselecttype:
  11745. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  11746. type: integer
  11747. marginalgorithm:
  11748. description: 保证金收取方式 1:比率 2:固定
  11749. type: integer
  11750. marginvalue:
  11751. description: 即市保证金设置值
  11752. type: number
  11753. marketid:
  11754. description: 市场ID
  11755. type: integer
  11756. marketmaxsub:
  11757. description: 市价最大偏移范围
  11758. type: number
  11759. marketname:
  11760. description: 市场名称
  11761. type: string
  11762. memberuserid:
  11763. description: 所属会员UserID
  11764. type: integer
  11765. openexchagechargevalue:
  11766. description: 建仓交易所手续费设置值
  11767. type: number
  11768. openfeealgorithm:
  11769. description: 建仓手续费收取方式 1:比率 2:固定
  11770. type: integer
  11771. openfreezecharge:
  11772. description: 开仓冻结手续费(先建后平操作,需要记录)
  11773. type: number
  11774. openmemberchargevalue:
  11775. description: 建仓会员手续费设置值
  11776. type: number
  11777. openqty:
  11778. description: 开仓数量(先建后平操作,需要记录)
  11779. type: integer
  11780. opentradeqty:
  11781. description: 开仓成交数量(先建后平操作,需要记录)
  11782. type: integer
  11783. openunfreezecharge:
  11784. description: 开仓解冻手续费(先建后平操作,需要记录)
  11785. type: number
  11786. operatetype:
  11787. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  11788. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  11789. 15:管理端协议转让
  11790. type: integer
  11791. operatorid:
  11792. description: 登录账号(LoginID)
  11793. type: integer
  11794. optiontype:
  11795. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  11796. type: integer
  11797. orderid:
  11798. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11799. type: string
  11800. orderprice:
  11801. description: 委托价格
  11802. type: number
  11803. orderqty:
  11804. description: 委托数量
  11805. type: integer
  11806. ordersrc:
  11807. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  11808. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  11809. type: integer
  11810. orderstatus:
  11811. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  11812. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  11813. 16:成交失败违约(荷兰式竞拍专用)
  11814. type: integer
  11815. ordertime:
  11816. description: 委托时间
  11817. type: string
  11818. preexerciseprice:
  11819. description: 预申报价格
  11820. type: number
  11821. premium:
  11822. description: 权利金
  11823. type: number
  11824. preorderid:
  11825. description: 关联预埋单号(止盈止损单时填写)
  11826. type: string
  11827. pricemode:
  11828. description: '取价方式 - 1:市价 2: 限价'
  11829. type: integer
  11830. quoteid:
  11831. description: 报价单ID
  11832. type: integer
  11833. relatedid:
  11834. description: 关联单号(交割单)
  11835. type: string
  11836. retcode:
  11837. description: 错误代码
  11838. type: integer
  11839. sessionid:
  11840. description: 会话ID
  11841. type: integer
  11842. tradedate:
  11843. description: 交易日(yyyyMMdd)
  11844. type: string
  11845. trademode:
  11846. description: 交易模式
  11847. type: integer
  11848. tradeproperty:
  11849. description: 交易属性
  11850. type: integer
  11851. tradeqty:
  11852. description: 成交数量
  11853. type: integer
  11854. unfreezecharge:
  11855. description: 解冻手续费
  11856. type: number
  11857. unfreezemargin:
  11858. description: 解冻保证金
  11859. type: number
  11860. updatetime:
  11861. description: 更新时间
  11862. type: string
  11863. uuid:
  11864. description: 发起端唯一id
  11865. type: string
  11866. validtime:
  11867. description: 有效期限
  11868. type: string
  11869. validtype:
  11870. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  11871. type: integer
  11872. volumetype:
  11873. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  11874. type: integer
  11875. required:
  11876. - accountid
  11877. - buildtype
  11878. - buyorsell
  11879. - goodsid
  11880. - histradedate
  11881. - marketid
  11882. - memberuserid
  11883. - operatetype
  11884. - orderid
  11885. - orderqty
  11886. - ordertime
  11887. - pricemode
  11888. - tradedate
  11889. - validtype
  11890. type: object
  11891. order.QueryTradeDetailRsp:
  11892. properties:
  11893. accountid:
  11894. description: 账户ID[报价币种]
  11895. type: integer
  11896. buildtype:
  11897. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  11898. type: integer
  11899. buyorsell:
  11900. description: 方向 - 0:买 1:卖
  11901. type: integer
  11902. charge:
  11903. description: 手续费
  11904. type: number
  11905. closecharge:
  11906. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  11907. type: number
  11908. closeexchagechargevalue:
  11909. description: 平仓交易所手续费设置值
  11910. type: number
  11911. closefeealgorithm:
  11912. description: 平仓手续费收取方式 1:比率 2:固定
  11913. type: integer
  11914. closememberchargevalue:
  11915. description: 平仓会员手续费设置值
  11916. type: number
  11917. closepl:
  11918. description: 平仓盈亏
  11919. type: number
  11920. closepl2:
  11921. description: 平仓盈亏[逐笔]
  11922. type: number
  11923. closeqty:
  11924. description: 平仓数量(先建后平操作 需要记录)
  11925. type: integer
  11926. creditamount:
  11927. description: 授信金额
  11928. type: number
  11929. gcaccountid:
  11930. description: 账户ID[合约币种]
  11931. type: integer
  11932. goodscode:
  11933. description: 商品代码
  11934. type: string
  11935. goodsid:
  11936. description: 商品ID
  11937. type: integer
  11938. goodsname:
  11939. description: 商品名称
  11940. type: string
  11941. intclosepl:
  11942. description: 整型盈亏(用于交易结算试算平衡-收益权)
  11943. type: integer
  11944. isconfirmexercise:
  11945. description: 是否确认行权- 0:否 1:是
  11946. type: integer
  11947. ismain:
  11948. description: 是否主单 - 0:不是 1:是
  11949. type: integer
  11950. ispreexercise:
  11951. description: 是否预申报- 0:否 1:是
  11952. type: integer
  11953. isreckoned:
  11954. description: 是否结算 - 0:未结算 1:已结算
  11955. type: integer
  11956. listingselecttype:
  11957. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  11958. type: integer
  11959. marketid:
  11960. description: 市场ID
  11961. type: integer
  11962. marketname:
  11963. description: 市场名称
  11964. type: string
  11965. matchaccountid:
  11966. description: 对手账号id
  11967. type: integer
  11968. memberuserid:
  11969. description: 会员id 个人投资者 需要填写
  11970. type: integer
  11971. opencharge:
  11972. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  11973. type: number
  11974. openexchagechargevalue:
  11975. description: 建仓交易所手续费设置值
  11976. type: number
  11977. openfeealgorithm:
  11978. description: 建仓手续费收取方式 1:比率 2:固定
  11979. type: integer
  11980. openmemberchargevalue:
  11981. description: 建仓会员手续费设置值
  11982. type: number
  11983. openqty:
  11984. description: 开仓数量(先建后平操作 需要记录)
  11985. type: integer
  11986. optiontype:
  11987. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  11988. type: integer
  11989. orderid:
  11990. description: 委托单号
  11991. type: string
  11992. performanceplanid:
  11993. description: 履约计划ID[期权]
  11994. type: integer
  11995. performancestatus:
  11996. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  11997. type: integer
  11998. preexerciseprice:
  11999. description: 预申报价格
  12000. type: number
  12001. premium:
  12002. description: 权利金 - [持仓单的权利金]
  12003. type: number
  12004. relatedouttradeid:
  12005. description: 关联外部成交单ID
  12006. type: integer
  12007. status:
  12008. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  12009. type: integer
  12010. tradeamount:
  12011. description: 成交金额[账户币种,用于所有权]
  12012. type: number
  12013. tradedate:
  12014. description: 交易日(yyyyMMdd)
  12015. type: string
  12016. tradeid:
  12017. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12018. type: string
  12019. trademode:
  12020. description: 交易模式
  12021. type: integer
  12022. tradeprice:
  12023. description: 成交价格
  12024. type: number
  12025. tradeproperty:
  12026. description: 交易属性
  12027. type: integer
  12028. tradeqty:
  12029. description: 成交数量
  12030. type: integer
  12031. tradetime:
  12032. description: 成交时间
  12033. type: string
  12034. tradetype:
  12035. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  12036. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  12037. type: integer
  12038. required:
  12039. - accountid
  12040. - buyorsell
  12041. - goodsid
  12042. - marketid
  12043. - memberuserid
  12044. - orderid
  12045. - tradeamount
  12046. - tradedate
  12047. - tradeid
  12048. - tradeprice
  12049. - tradeqty
  12050. - tradetime
  12051. type: object
  12052. order.QueryTradeOrderDetailRsp:
  12053. properties:
  12054. accountid:
  12055. description: 账户ID[报价币种]
  12056. type: integer
  12057. buildtype:
  12058. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  12059. type: integer
  12060. buyorsell:
  12061. description: 买卖 - 0:买 1:卖
  12062. type: integer
  12063. cancelorderid:
  12064. description: 撤单单号(撤单时填写)
  12065. type: string
  12066. cancelqty:
  12067. description: 撤单数量
  12068. type: integer
  12069. clienttype:
  12070. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  12071. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  12072. type: integer
  12073. closefreezecharge:
  12074. description: 平仓冻结手续费(先建后平操作,需要记录)
  12075. type: number
  12076. closeqty:
  12077. description: 平仓数量(先建后平操作 需要记录)
  12078. type: integer
  12079. closetradeqty:
  12080. description: 平仓成交数量(先建后平操作,需要记录)
  12081. type: integer
  12082. closeunfreezecharge:
  12083. description: 平仓解冻手续费(先建后平操作,需要记录)
  12084. type: number
  12085. delistingtype:
  12086. description: 摘牌类型 - 1:价格最优 2:点选成交
  12087. type: integer
  12088. enableqty:
  12089. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  12090. type: integer
  12091. freezecharge:
  12092. description: 冻结手续费
  12093. type: number
  12094. freezemargin:
  12095. description: 冻结保证金(冻结交易金额)
  12096. type: number
  12097. goodscode:
  12098. description: 商品代码
  12099. type: string
  12100. goodsid:
  12101. description: 商品ID
  12102. type: integer
  12103. goodsname:
  12104. description: 商品名称
  12105. type: string
  12106. listingselecttype:
  12107. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  12108. type: integer
  12109. marketid:
  12110. description: 市场ID
  12111. type: integer
  12112. marketname:
  12113. description: 市场名称
  12114. type: string
  12115. openfreezecharge:
  12116. description: 开仓冻结手续费(先建后平操作,需要记录)
  12117. type: number
  12118. openqty:
  12119. description: 开仓数量(先建后平操作,需要记录)
  12120. type: integer
  12121. opentradeqty:
  12122. description: 开仓成交数量(先建后平操作,需要记录)
  12123. type: integer
  12124. openunfreezecharge:
  12125. description: 开仓解冻手续费(先建后平操作,需要记录)
  12126. type: number
  12127. operatetype:
  12128. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  12129. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  12130. 15:管理端协议转让
  12131. type: integer
  12132. operatorid:
  12133. description: 登录账号(LoginID)
  12134. type: integer
  12135. orderid:
  12136. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12137. type: string
  12138. orderprice:
  12139. description: 委托价格
  12140. type: number
  12141. orderqty:
  12142. description: 委托数量
  12143. type: integer
  12144. ordersrc:
  12145. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  12146. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  12147. type: integer
  12148. orderstatus:
  12149. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  12150. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  12151. 16:成交失败违约(荷兰式竞拍专用)
  12152. type: integer
  12153. ordertime:
  12154. description: 委托时间
  12155. type: string
  12156. preorderid:
  12157. description: 关联预埋单号(止盈止损单时填写)
  12158. type: string
  12159. pricemode:
  12160. description: '取价方式 - 1:市价 2: 限价'
  12161. type: integer
  12162. relatedid:
  12163. description: 关联单号(交割单)
  12164. type: string
  12165. tradedate:
  12166. description: 交易日(yyyyMMdd)
  12167. type: string
  12168. trademode:
  12169. description: 交易模式
  12170. type: integer
  12171. tradeqty:
  12172. description: 成交数量
  12173. type: integer
  12174. unfreezecharge:
  12175. description: 解冻手续费
  12176. type: number
  12177. unfreezemargin:
  12178. description: 解冻保证金
  12179. type: number
  12180. validtime:
  12181. description: 有效期限
  12182. type: string
  12183. validtype:
  12184. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  12185. type: integer
  12186. volumetype:
  12187. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  12188. type: integer
  12189. required:
  12190. - accountid
  12191. - buildtype
  12192. - buyorsell
  12193. - goodsid
  12194. - marketid
  12195. - operatetype
  12196. - orderqty
  12197. - ordertime
  12198. - pricemode
  12199. - tradedate
  12200. - validtype
  12201. type: object
  12202. order.QueryTradePositionRsp:
  12203. properties:
  12204. accountid:
  12205. description: 资金账户
  12206. type: integer
  12207. agreeunit:
  12208. description: 合约单位
  12209. type: number
  12210. averageprice:
  12211. description: 持仓均价
  12212. type: number
  12213. buyorsell:
  12214. description: 方向 - 0:买 1:卖
  12215. type: integer
  12216. closetotalqty:
  12217. description: 平仓总数量
  12218. type: integer
  12219. curholderamount:
  12220. description: 当前持仓总金额[商品币种]
  12221. type: number
  12222. curpositionqty:
  12223. description: 当前持仓总数量
  12224. type: integer
  12225. currencyid:
  12226. description: 报价货币ID
  12227. type: integer
  12228. curtdposition:
  12229. description: 期末今日头寸
  12230. type: integer
  12231. decimalplace:
  12232. description: 报价小数位
  12233. type: integer
  12234. enableqty:
  12235. description: 可用量
  12236. type: integer
  12237. fretdposition:
  12238. description: 冻结今日头寸
  12239. type: integer
  12240. frozenqty:
  12241. description: 持仓冻结数量
  12242. type: integer
  12243. goodscode:
  12244. description: 商品代码
  12245. type: string
  12246. goodsid:
  12247. description: 商品Id
  12248. type: integer
  12249. goodsname:
  12250. description: 商品名称
  12251. type: string
  12252. goodunit:
  12253. description: 报价单位
  12254. type: string
  12255. goodunitid:
  12256. description: 报价单位ID
  12257. type: integer
  12258. holderamount:
  12259. description: 期初持仓总金额[商品币种]
  12260. type: number
  12261. marketid:
  12262. description: 所属市场ID
  12263. type: integer
  12264. openreqqty:
  12265. description: 开仓申请数量(用于比较最大持仓数量)
  12266. type: integer
  12267. opentotalqty:
  12268. description: 开仓总数量
  12269. type: integer
  12270. otherfrozenqty:
  12271. description: 持仓其他冻结数量(交割冻结)
  12272. type: integer
  12273. positionqty:
  12274. description: 期初持仓数量
  12275. type: integer
  12276. tnqty:
  12277. description: T+N冻结总量
  12278. type: integer
  12279. tnusedqty:
  12280. description: T+N使用量(可以使用T+N的冻结数量)
  12281. type: integer
  12282. trademode:
  12283. description: 交易模式
  12284. type: integer
  12285. usedmargin:
  12286. description: 占用保证金[商品币种]
  12287. type: number
  12288. required:
  12289. - goodsid
  12290. type: object
  12291. quote.HistoryData:
  12292. properties:
  12293. c:
  12294. description: 收盘价
  12295. type: number
  12296. f:
  12297. description: 是否补充数据
  12298. type: boolean
  12299. h:
  12300. description: 最高价
  12301. type: number
  12302. hv:
  12303. description: 持仓量
  12304. type: integer
  12305. l:
  12306. description: 最低价
  12307. type: number
  12308. o:
  12309. description: 开盘价
  12310. type: number
  12311. s:
  12312. description: 结算价,日线周期(包括)以上才有
  12313. type: number
  12314. ts:
  12315. description: 时间
  12316. type: string
  12317. tt:
  12318. description: 总金额
  12319. type: number
  12320. tv:
  12321. description: 总量
  12322. type: integer
  12323. type: object
  12324. quote.HistoryTikData:
  12325. properties:
  12326. AV:
  12327. description: 卖量
  12328. type: integer
  12329. Ask:
  12330. description: 卖价
  12331. type: number
  12332. BV:
  12333. description: 买量
  12334. type: integer
  12335. Bid:
  12336. description: 买价
  12337. type: number
  12338. HI:
  12339. description: 单笔持仓
  12340. type: integer
  12341. HV:
  12342. description: 持仓量
  12343. type: integer
  12344. PE:
  12345. description: 现价
  12346. type: number
  12347. TDR:
  12348. description: 交易方向,0:买 1:卖
  12349. type: integer
  12350. TK:
  12351. description: 交易类型
  12352. type: integer
  12353. TS:
  12354. description: 行情时间文本
  12355. type: string
  12356. TT:
  12357. description: 现金额
  12358. type: number
  12359. Vol:
  12360. description: 现量
  12361. type: integer
  12362. type: object
  12363. quote.QueryQuoteDayRsp:
  12364. properties:
  12365. ask:
  12366. description: 卖1
  12367. type: number
  12368. ask2:
  12369. description: 卖2
  12370. type: number
  12371. ask3:
  12372. description: 卖3
  12373. type: number
  12374. ask4:
  12375. description: 卖4
  12376. type: number
  12377. ask5:
  12378. description: 卖5
  12379. type: number
  12380. ask6:
  12381. description: 卖6
  12382. type: number
  12383. ask7:
  12384. description: 卖7
  12385. type: number
  12386. ask8:
  12387. description: 卖8
  12388. type: number
  12389. ask9:
  12390. description: 卖9
  12391. type: number
  12392. ask10:
  12393. description: 卖10
  12394. type: number
  12395. askorderid:
  12396. description: 卖单号1
  12397. type: integer
  12398. askorderid2:
  12399. description: 卖单号2
  12400. type: integer
  12401. askorderid3:
  12402. description: 卖单号3
  12403. type: integer
  12404. askorderid4:
  12405. description: 卖单号4
  12406. type: integer
  12407. askorderid5:
  12408. description: 卖单号5
  12409. type: integer
  12410. askordervolume:
  12411. description: 卖单量1
  12412. type: integer
  12413. askordervolume2:
  12414. description: 卖单量2
  12415. type: integer
  12416. askordervolume3:
  12417. description: 卖单量3
  12418. type: integer
  12419. askordervolume4:
  12420. description: 卖单量4
  12421. type: integer
  12422. askordervolume5:
  12423. description: 卖单量5
  12424. type: integer
  12425. askordervolume6:
  12426. description: 卖单量6
  12427. type: integer
  12428. askordervolume7:
  12429. description: 卖单量7
  12430. type: integer
  12431. askordervolume8:
  12432. description: 卖单量8
  12433. type: integer
  12434. askordervolume9:
  12435. description: 卖单量9
  12436. type: integer
  12437. askordervolume10:
  12438. description: 卖单量10
  12439. type: integer
  12440. askqueueinfo:
  12441. description: 大利市卖港股用
  12442. type: string
  12443. askvolume:
  12444. description: 卖量1
  12445. type: integer
  12446. askvolume2:
  12447. description: 卖量2
  12448. type: integer
  12449. askvolume3:
  12450. description: 卖量3
  12451. type: integer
  12452. askvolume4:
  12453. description: 卖量4
  12454. type: integer
  12455. askvolume5:
  12456. description: 卖量5
  12457. type: integer
  12458. askvolume6:
  12459. description: 卖量6
  12460. type: integer
  12461. askvolume7:
  12462. description: 卖量7
  12463. type: integer
  12464. askvolume8:
  12465. description: 卖量8
  12466. type: integer
  12467. askvolume9:
  12468. description: 卖量9
  12469. type: integer
  12470. askvolume10:
  12471. description: 卖量10
  12472. type: integer
  12473. averageprice:
  12474. description: 均价
  12475. type: number
  12476. bid:
  12477. description: 买1
  12478. type: number
  12479. bid2:
  12480. description: 买2
  12481. type: number
  12482. bid3:
  12483. description: 买3
  12484. type: number
  12485. bid4:
  12486. description: 买4
  12487. type: number
  12488. bid5:
  12489. description: 买5
  12490. type: number
  12491. bid6:
  12492. description: 买6
  12493. type: number
  12494. bid7:
  12495. description: 买7
  12496. type: number
  12497. bid8:
  12498. description: 买8
  12499. type: number
  12500. bid9:
  12501. description: 买9
  12502. type: number
  12503. bid10:
  12504. description: 买10
  12505. type: number
  12506. bidorderid:
  12507. description: 买单号1
  12508. type: integer
  12509. bidorderid2:
  12510. description: 买单号2
  12511. type: integer
  12512. bidorderid3:
  12513. description: 买单号3
  12514. type: integer
  12515. bidorderid4:
  12516. description: 买单号4
  12517. type: integer
  12518. bidorderid5:
  12519. description: 买单号5
  12520. type: integer
  12521. bidordervolume:
  12522. description: 买单量1
  12523. type: integer
  12524. bidordervolume2:
  12525. description: 买单量2
  12526. type: integer
  12527. bidordervolume3:
  12528. description: 买单量3
  12529. type: integer
  12530. bidordervolume4:
  12531. description: 买单量4
  12532. type: integer
  12533. bidordervolume5:
  12534. description: 买单量5
  12535. type: integer
  12536. bidordervolume6:
  12537. description: 买单量6
  12538. type: integer
  12539. bidordervolume7:
  12540. description: 买单量7
  12541. type: integer
  12542. bidordervolume8:
  12543. description: 买单量8
  12544. type: integer
  12545. bidordervolume9:
  12546. description: 买单量9
  12547. type: integer
  12548. bidordervolume10:
  12549. description: 买单量10
  12550. type: integer
  12551. bidqueueinfo:
  12552. description: 大利市买港股用
  12553. type: string
  12554. bidvolume:
  12555. description: 买量1
  12556. type: integer
  12557. bidvolume2:
  12558. description: 买量2
  12559. type: integer
  12560. bidvolume3:
  12561. description: 买量3
  12562. type: integer
  12563. bidvolume4:
  12564. description: 买量4
  12565. type: integer
  12566. bidvolume5:
  12567. description: 买量5
  12568. type: integer
  12569. bidvolume6:
  12570. description: 买量6
  12571. type: integer
  12572. bidvolume7:
  12573. description: 买量7
  12574. type: integer
  12575. bidvolume8:
  12576. description: 买量8
  12577. type: integer
  12578. bidvolume9:
  12579. description: 买量9
  12580. type: integer
  12581. bidvolume10:
  12582. description: 买量10
  12583. type: integer
  12584. calloptionpremiums:
  12585. description: 认购期权1
  12586. type: integer
  12587. calloptionpremiums2:
  12588. description: 认购期权2
  12589. type: integer
  12590. calloptionpremiums3:
  12591. description: 认购期权3
  12592. type: integer
  12593. calloptionpremiums4:
  12594. description: 认购期权4
  12595. type: integer
  12596. calloptionpremiums5:
  12597. description: 认购期权5
  12598. type: integer
  12599. cleartime:
  12600. description: 清盘时间
  12601. type: integer
  12602. exchangecode:
  12603. description: 交易所代码
  12604. type: integer
  12605. exchangedate:
  12606. description: 交易日
  12607. type: integer
  12608. goodscode:
  12609. description: 商品代码
  12610. type: string
  12611. grepmarketprice:
  12612. description: 暗盘价 港股专用
  12613. type: number
  12614. highest:
  12615. description: 最高价
  12616. type: number
  12617. holdincrement:
  12618. description: 单笔持仓
  12619. type: integer
  12620. holdvolume:
  12621. description: 持仓
  12622. type: integer
  12623. iep:
  12624. description: 平衡价 港股专用
  12625. type: number
  12626. iev:
  12627. description: 平衡量 港股专用
  12628. type: number
  12629. inventory:
  12630. description: 库存
  12631. type: integer
  12632. iscleared:
  12633. description: 是否清盘标志
  12634. type: integer
  12635. issettled:
  12636. description: 是否结算标志
  12637. type: integer
  12638. last:
  12639. description: 最新价
  12640. type: number
  12641. lastlot:
  12642. description: 最新成交手数
  12643. type: integer
  12644. lasttime:
  12645. description: 行情时间(只有现价变化行情时间才变化)
  12646. type: string
  12647. lastturnover:
  12648. description: 最新成交金额
  12649. type: number
  12650. lastvolume:
  12651. description: 最新成交量
  12652. type: integer
  12653. limitdown:
  12654. description: 跌停价
  12655. type: number
  12656. limitup:
  12657. description: 涨停价
  12658. type: number
  12659. lowest:
  12660. description: 最低价
  12661. type: number
  12662. nontotalholdervolume:
  12663. description: 非交易持仓量
  12664. type: integer
  12665. nontotallot:
  12666. description: 非交易总手数
  12667. type: integer
  12668. nontotalturnover:
  12669. description: 非交易总金额
  12670. type: integer
  12671. nontotalvolume:
  12672. description: 非交易总量
  12673. type: integer
  12674. opened:
  12675. description: 开盘价
  12676. type: number
  12677. opentime:
  12678. description: 开盘时间
  12679. type: string
  12680. orderid:
  12681. description: 序号
  12682. type: integer
  12683. preclose:
  12684. description: 昨收
  12685. type: number
  12686. preholdvolume:
  12687. description: 昨持仓
  12688. type: integer
  12689. presettle:
  12690. description: 昨结价
  12691. type: number
  12692. publictradetype:
  12693. description: 公共交易标志类型 港股专用
  12694. type: string
  12695. putoptionpremiums:
  12696. description: 认沽期权1
  12697. type: integer
  12698. putoptionpremiums2:
  12699. description: 认沽期权2
  12700. type: integer
  12701. putoptionpremiums3:
  12702. description: 认沽期权3
  12703. type: integer
  12704. putoptionpremiums4:
  12705. description: 认沽期权4
  12706. type: integer
  12707. putoptionpremiums5:
  12708. description: 认沽期权5
  12709. type: integer
  12710. settle:
  12711. description: 结算价
  12712. type: number
  12713. strikeprice:
  12714. description: 发行价
  12715. type: number
  12716. totalaskvolume:
  12717. description: 内盘
  12718. type: integer
  12719. totalbidvolume:
  12720. description: 外盘
  12721. type: integer
  12722. totallot:
  12723. description: 总手数
  12724. type: integer
  12725. totalturnover:
  12726. description: 总金额
  12727. type: number
  12728. totalvolume:
  12729. description: 总量
  12730. type: integer
  12731. utclasttime:
  12732. description: utc的行情时间
  12733. type: string
  12734. type: object
  12735. quote.QueryTSDataRsp:
  12736. properties:
  12737. Count:
  12738. description: 交易日应有数据个数
  12739. type: integer
  12740. decimalPlace:
  12741. description: 小数位
  12742. type: integer
  12743. endTime:
  12744. description: 结束时间
  12745. type: string
  12746. goodsCode:
  12747. description: 商品代码
  12748. type: string
  12749. historyDatas:
  12750. description: 历史数据
  12751. items:
  12752. $ref: '#/definitions/quote.HistoryData'
  12753. type: array
  12754. outGoodsCode:
  12755. description: 外部商品代码
  12756. type: string
  12757. preSettle:
  12758. description: 昨结价
  12759. type: number
  12760. runSteps:
  12761. description: 交易日开休市计划
  12762. items:
  12763. $ref: '#/definitions/quote.TSDataRunStep'
  12764. type: array
  12765. startTime:
  12766. description: 开始时间
  12767. type: string
  12768. tradeDate:
  12769. description: 交易日
  12770. type: string
  12771. type: object
  12772. quote.TSDataRunStep:
  12773. properties:
  12774. end:
  12775. description: 真实结束时间
  12776. type: string
  12777. endflag:
  12778. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  12779. type: integer
  12780. endtime:
  12781. description: 结束时间(HH:mm)
  12782. type: string
  12783. endweekday:
  12784. description: 结束周几
  12785. type: integer
  12786. groupid:
  12787. description: 分组ID
  12788. type: integer
  12789. runstep:
  12790. description: 运行阶段 - 2:连续交易
  12791. type: integer
  12792. sectionid:
  12793. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  12794. 结束时间=结算时间 结束周几=结算周几
  12795. type: integer
  12796. start:
  12797. description: 真实开始时间
  12798. type: string
  12799. startflag:
  12800. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  12801. type: integer
  12802. starttime:
  12803. description: 起始时间(HH:mm)
  12804. type: string
  12805. startweekday:
  12806. description: 起始周几
  12807. type: integer
  12808. tradeweekday:
  12809. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  12810. type: integer
  12811. type: object
  12812. szdz.QueryConvertLogRsp:
  12813. properties:
  12814. accountid:
  12815. description: 资金账户ID
  12816. type: integer
  12817. clientticket:
  12818. description: 客户端流水号
  12819. type: string
  12820. converttype:
  12821. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  12822. type: integer
  12823. createtime:
  12824. description: 记账时间
  12825. type: string
  12826. daymaxvalue:
  12827. description: 配置当日最大转入限制
  12828. type: number
  12829. daymaxvalue2:
  12830. description: 配置当日最大转入限制(转入)
  12831. type: number
  12832. goodscode:
  12833. description: 商品代码
  12834. type: string
  12835. goodsname:
  12836. description: 商品名称
  12837. type: string
  12838. handlestatus:
  12839. description: 处理状态
  12840. type: integer
  12841. innergoodsid:
  12842. description: 内部商品ID
  12843. type: integer
  12844. inratio:
  12845. description: 配置转入比值
  12846. type: integer
  12847. invalue:
  12848. description: 目标值
  12849. type: number
  12850. logid:
  12851. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12852. type: integer
  12853. mobile:
  12854. description: 手机号码(加密存储)
  12855. type: string
  12856. outergoodscode:
  12857. description: 外部商品代码[JD\PD]
  12858. type: string
  12859. outratio:
  12860. description: 配置转出比值
  12861. type: integer
  12862. outvalue:
  12863. description: 源值
  12864. type: number
  12865. pddecimalplace:
  12866. description: PD小数位
  12867. type: integer
  12868. qty:
  12869. description: 数量
  12870. type: string
  12871. remark:
  12872. description: 备注
  12873. type: string
  12874. sessionid:
  12875. description: 会话ID
  12876. type: integer
  12877. timemaxvalue:
  12878. description: 配置单次最大转入限制
  12879. type: number
  12880. timemaxvalue2:
  12881. description: 配置单次最大转入限制(转入)
  12882. type: number
  12883. timeminvalue:
  12884. description: 配置单次最小数量限制
  12885. type: number
  12886. timeminvalue2:
  12887. description: 配置单次最小数量限制(转入)
  12888. type: number
  12889. tradedate:
  12890. description: 交易日(yyyyMMdd)
  12891. type: string
  12892. userid:
  12893. description: 用户ID
  12894. type: integer
  12895. required:
  12896. - logid
  12897. type: object
  12898. szdz.QueryGoodsPickupRsp:
  12899. properties:
  12900. accountid:
  12901. description: 账户ID
  12902. type: integer
  12903. address:
  12904. description: 提货人详细地址
  12905. type: string
  12906. auditer:
  12907. description: 审核人
  12908. type: integer
  12909. audittime:
  12910. description: 审核时间
  12911. type: string
  12912. cardnum:
  12913. description: 提货人证件号码
  12914. type: string
  12915. cardtypeid:
  12916. description: 提货人证件类型
  12917. type: integer
  12918. checkremark:
  12919. description: 审核备注
  12920. type: string
  12921. goodscode:
  12922. description: 商品代码
  12923. type: string
  12924. goodsid:
  12925. description: 商品ID
  12926. type: integer
  12927. goodsname:
  12928. description: 商品名称
  12929. type: string
  12930. handlestatus:
  12931. description: 处理状态
  12932. type: integer
  12933. marketid:
  12934. description: 市场ID
  12935. type: integer
  12936. phonenum:
  12937. description: 提货人联系方式
  12938. type: string
  12939. qty:
  12940. description: 提货数量
  12941. type: number
  12942. recivername:
  12943. description: 提货人姓名
  12944. type: string
  12945. reqtime:
  12946. description: 更新时间
  12947. type: string
  12948. takemode:
  12949. description: 提货方式 - 2:自提 3:配送
  12950. type: integer
  12951. takeorderid:
  12952. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  12953. type: string
  12954. takeorderstatus:
  12955. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  12956. type: integer
  12957. takeremark:
  12958. description: 提货备注
  12959. type: string
  12960. tradedate:
  12961. description: 交易日(yyyyMMdd)
  12962. type: string
  12963. userid:
  12964. description: 用户ID
  12965. type: integer
  12966. required:
  12967. - takeorderid
  12968. type: object
  12969. szdz.QueryRecieptOrderRsp:
  12970. properties:
  12971. accountName:
  12972. description: 所属账号名称(已脱敏)
  12973. type: string
  12974. accountid:
  12975. description: 资金账号
  12976. type: integer
  12977. buyorsell:
  12978. description: 方向 - 0:买 1:卖
  12979. type: integer
  12980. enableqty:
  12981. description: 可摘数量
  12982. type: integer
  12983. goodscode:
  12984. description: 商品代码
  12985. type: string
  12986. goodsid:
  12987. description: 商品ID
  12988. type: integer
  12989. goodsname:
  12990. description: 商品名称
  12991. type: string
  12992. orderid:
  12993. description: 委托单号
  12994. type: string
  12995. orderprice:
  12996. description: 委托价格
  12997. type: number
  12998. ordertime:
  12999. description: 委托时间
  13000. type: string
  13001. tradedate:
  13002. description: 交易日(yyyyMMdd)
  13003. type: string
  13004. required:
  13005. - ordertime
  13006. type: object
  13007. szdz.QuerySZDZTradePositionRsp:
  13008. properties:
  13009. accountid:
  13010. description: 账号Id
  13011. type: integer
  13012. agreeunit:
  13013. description: 合约单位
  13014. type: number
  13015. averageprice:
  13016. description: 持仓均价
  13017. type: number
  13018. buyorsell:
  13019. description: 方向 - 0:买 1:卖
  13020. type: integer
  13021. closetotalqty:
  13022. description: 平仓总数量
  13023. type: integer
  13024. curholderamount:
  13025. description: 当前持仓总金额
  13026. type: number
  13027. curpositionqty:
  13028. description: 当前持仓总数量
  13029. type: integer
  13030. currencyid:
  13031. description: 报价货币ID
  13032. type: integer
  13033. curtdposition:
  13034. description: 期末今日头寸
  13035. type: integer
  13036. decimalplace:
  13037. description: 报价小数位
  13038. type: integer
  13039. enableqty:
  13040. description: 可用量
  13041. type: integer
  13042. fretdposition:
  13043. description: 冻结今日头寸
  13044. type: integer
  13045. frozenqty:
  13046. description: 持仓冻结数量
  13047. type: integer
  13048. goodscode:
  13049. description: 商品代码(内部)
  13050. type: string
  13051. goodsid:
  13052. description: 商品Id
  13053. type: integer
  13054. goodsname:
  13055. description: 商品名称
  13056. type: string
  13057. goodunit:
  13058. description: 报价单位
  13059. type: string
  13060. goodunitid:
  13061. description: 报价单位ID
  13062. type: integer
  13063. holderamount:
  13064. description: 期初持仓总金额
  13065. type: number
  13066. marketid:
  13067. description: 市场ID
  13068. type: integer
  13069. openreqqty:
  13070. description: 开仓申请数量
  13071. type: integer
  13072. opentotalqty:
  13073. description: 开仓总数量
  13074. type: integer
  13075. otherfrozenqty:
  13076. description: 持仓其他冻结数量(交割冻结)
  13077. type: integer
  13078. positionqty:
  13079. description: 期初持仓数量
  13080. type: integer
  13081. szdz3freezqty:
  13082. description: 尚志大宗转换冻结总数量
  13083. type: integer
  13084. tnqty:
  13085. description: T+N冻结总量
  13086. type: integer
  13087. tnusedqty:
  13088. description: T+N使用量
  13089. type: integer
  13090. trademode:
  13091. description: 交易模式
  13092. type: integer
  13093. usedmargin:
  13094. description: 占用保证金
  13095. type: number
  13096. type: object
  13097. taaccount.QueryAmountLogRsp:
  13098. properties:
  13099. OPERATETYPENAME:
  13100. description: 资金操作类型名称
  13101. type: string
  13102. accountid:
  13103. description: 资金账户ID
  13104. type: integer
  13105. agoodscode:
  13106. description: 竞拍商品代码
  13107. type: string
  13108. agoodsname:
  13109. description: 竞拍商品名称
  13110. type: string
  13111. amount:
  13112. description: 资金金额
  13113. type: number
  13114. amountadjusttype:
  13115. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  13116. type: integer
  13117. autoid:
  13118. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  13119. type: integer
  13120. balance:
  13121. description: 期初余额
  13122. type: number
  13123. businesscode:
  13124. description: 业务编号
  13125. type: integer
  13126. createtime:
  13127. description: 发生时间
  13128. type: string
  13129. currencyid:
  13130. description: 币种ID
  13131. type: integer
  13132. currentbalance:
  13133. description: 期末余额(变动后金额)
  13134. type: number
  13135. dgoodscode:
  13136. description: 交割商品代码
  13137. type: string
  13138. dgoodsname:
  13139. description: 交割商品名称
  13140. type: string
  13141. goodscode:
  13142. description: 商品代码
  13143. type: string
  13144. goodsid:
  13145. description: 商品ID
  13146. type: integer
  13147. goodsname:
  13148. description: 商品名称
  13149. type: string
  13150. marketid:
  13151. description: 市场ID
  13152. type: integer
  13153. marketname:
  13154. description: 市场名称
  13155. type: string
  13156. moneyticket:
  13157. description: 资金流水号:银行端流水号
  13158. type: integer
  13159. operatetype:
  13160. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  13161. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  13162. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  13163. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  13164. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  13165. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  13166. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  13167. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  13168. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  13169. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  13170. type: integer
  13171. relationorderid:
  13172. description: 关联单号
  13173. type: string
  13174. remark:
  13175. description: 备注
  13176. type: string
  13177. trademode:
  13178. description: 交易模式
  13179. type: integer
  13180. required:
  13181. - accountid
  13182. - amount
  13183. - amountadjusttype
  13184. - autoid
  13185. - balance
  13186. - createtime
  13187. - currentbalance
  13188. - operatetype
  13189. type: object
  13190. taaccount.QueryHisAmountLogRsp:
  13191. properties:
  13192. OPERATETYPENAME:
  13193. description: 资金操作类型名称
  13194. type: string
  13195. accountid:
  13196. description: 资金账户ID
  13197. type: integer
  13198. agoodscode:
  13199. description: 竞拍商品代码
  13200. type: string
  13201. agoodsname:
  13202. description: 竞拍商品名称
  13203. type: string
  13204. amount:
  13205. description: 资金金额
  13206. type: number
  13207. amountadjusttype:
  13208. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  13209. type: integer
  13210. autoid:
  13211. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  13212. type: integer
  13213. balance:
  13214. description: 期初余额
  13215. type: number
  13216. businesscode:
  13217. description: 业务编号
  13218. type: integer
  13219. createtime:
  13220. description: 发生时间
  13221. type: string
  13222. currencyid:
  13223. description: 币种ID
  13224. type: integer
  13225. currentbalance:
  13226. description: 期末余额(变动后金额)
  13227. type: number
  13228. dgoodscode:
  13229. description: 交割商品代码
  13230. type: string
  13231. dgoodsname:
  13232. description: 交割商品名称
  13233. type: string
  13234. goodscode:
  13235. description: 商品代码
  13236. type: string
  13237. goodsid:
  13238. description: 商品ID
  13239. type: integer
  13240. goodsname:
  13241. description: 商品名称
  13242. type: string
  13243. histradedate:
  13244. description: 历史交易日
  13245. type: string
  13246. isvaliddata:
  13247. description: 是否有效 - 0:无效 1:有效
  13248. type: integer
  13249. marketid:
  13250. description: 市场ID
  13251. type: integer
  13252. marketname:
  13253. description: 市场名称
  13254. type: string
  13255. moneyticket:
  13256. description: 资金流水号:银行端流水号
  13257. type: integer
  13258. operatetype:
  13259. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  13260. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  13261. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  13262. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  13263. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  13264. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  13265. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  13266. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  13267. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  13268. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  13269. type: integer
  13270. relationorderid:
  13271. description: 关联单号
  13272. type: string
  13273. remark:
  13274. description: 备注
  13275. type: string
  13276. trademode:
  13277. description: 交易模式
  13278. type: integer
  13279. required:
  13280. - accountid
  13281. - amount
  13282. - amountadjusttype
  13283. - autoid
  13284. - balance
  13285. - createtime
  13286. - currentbalance
  13287. - histradedate
  13288. - operatetype
  13289. type: object
  13290. trade.QueryRecieptOrderRsp:
  13291. properties:
  13292. accountName:
  13293. description: 所属账号名称(已脱敏)
  13294. type: string
  13295. accountid:
  13296. description: 资金账号
  13297. type: integer
  13298. buyorsell:
  13299. description: 方向 - 0:买 1:卖
  13300. type: integer
  13301. enableqty:
  13302. description: 可摘数量
  13303. type: integer
  13304. goodscode:
  13305. description: 商品代码
  13306. type: string
  13307. goodsid:
  13308. description: 商品ID
  13309. type: integer
  13310. goodsname:
  13311. description: 商品名称
  13312. type: string
  13313. orderid:
  13314. description: 委托单号
  13315. type: string
  13316. orderprice:
  13317. description: 委托价格
  13318. type: number
  13319. ordertime:
  13320. description: 委托时间
  13321. type: string
  13322. tradedate:
  13323. description: 交易日(yyyyMMdd)
  13324. type: string
  13325. required:
  13326. - ordertime
  13327. type: object
  13328. user.LoginQueryRsp:
  13329. properties:
  13330. areaRoles:
  13331. description: 所属角色信息
  13332. items:
  13333. $ref: '#/definitions/models.Arearole'
  13334. type: array
  13335. externalExchanges:
  13336. description: 外部交易所
  13337. items:
  13338. $ref: '#/definitions/models.Externalexchange'
  13339. type: array
  13340. goodsgroups:
  13341. description: 商品组
  13342. items:
  13343. $ref: '#/definitions/models.Goodsgroup'
  13344. type: array
  13345. loginAccount:
  13346. $ref: '#/definitions/models.Loginaccount'
  13347. description: 登录账号
  13348. type: object
  13349. markets:
  13350. description: 市场
  13351. items:
  13352. $ref: '#/definitions/models.Market'
  13353. type: array
  13354. systemParams:
  13355. description: 系统参数
  13356. items:
  13357. $ref: '#/definitions/models.Systemparam'
  13358. type: array
  13359. userAccount:
  13360. $ref: '#/definitions/models.Useraccount'
  13361. description: 用户账号
  13362. type: object
  13363. userInfo:
  13364. $ref: '#/definitions/models.Userinfo'
  13365. description: 用户信息
  13366. type: object
  13367. username:
  13368. description: 用户姓名
  13369. type: string
  13370. type: object
  13371. info:
  13372. contact: {}
  13373. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  13374. license: {}
  13375. termsOfService: http://www.muchinfo.cn
  13376. title: MTP2.0 查询服务 API
  13377. version: "1.0"
  13378. paths:
  13379. /CPTrade/QueryCPTradeMyBidInfos:
  13380. get:
  13381. parameters:
  13382. - description: 资金账户
  13383. in: query
  13384. name: accountid
  13385. required: true
  13386. type: integer
  13387. - description: 预售市场ID
  13388. in: query
  13389. name: marketid
  13390. type: integer
  13391. - description: 预售商品ID
  13392. in: query
  13393. name: goodsid
  13394. type: integer
  13395. produces:
  13396. - application/json
  13397. responses:
  13398. "200":
  13399. description: OK
  13400. schema:
  13401. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  13402. "500":
  13403. description: Internal Server Error
  13404. schema:
  13405. $ref: '#/definitions/app.Response'
  13406. security:
  13407. - ApiKeyAuth: []
  13408. summary: 查询产能预售我的出价信息
  13409. tags:
  13410. - 产能预售
  13411. /CPTrade/QueryCPTradeOrderDetail:
  13412. get:
  13413. parameters:
  13414. - description: 预售商品ID
  13415. in: query
  13416. name: goodsid
  13417. type: integer
  13418. - description: 预售市场ID
  13419. in: query
  13420. name: marketid
  13421. type: integer
  13422. - description: 预售商品ID列表 - 格式:1,2,3
  13423. in: query
  13424. name: goodsids
  13425. type: string
  13426. produces:
  13427. - application/json
  13428. responses:
  13429. "200":
  13430. description: OK
  13431. schema:
  13432. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  13433. "500":
  13434. description: Internal Server Error
  13435. schema:
  13436. $ref: '#/definitions/app.Response'
  13437. security:
  13438. - ApiKeyAuth: []
  13439. summary: 查询产能预售委托单信息
  13440. tags:
  13441. - 产能预售
  13442. /CPTrade/QueryMyCPTradeGoods:
  13443. get:
  13444. parameters:
  13445. - description: 资金账户
  13446. in: query
  13447. name: accountid
  13448. required: true
  13449. type: integer
  13450. produces:
  13451. - application/json
  13452. responses:
  13453. "200":
  13454. description: OK
  13455. schema:
  13456. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  13457. "500":
  13458. description: Internal Server Error
  13459. schema:
  13460. $ref: '#/definitions/app.Response'
  13461. security:
  13462. - ApiKeyAuth: []
  13463. summary: 查询我的预售信息
  13464. tags:
  13465. - 产能预售
  13466. /CPTrade/QueryPositionCancel:
  13467. get:
  13468. parameters:
  13469. - description: 账户ID
  13470. in: query
  13471. name: userid
  13472. required: true
  13473. type: integer
  13474. - description: 注销ID
  13475. in: query
  13476. name: cancelid
  13477. type: integer
  13478. - description: 资金账户ID
  13479. in: query
  13480. name: accountid
  13481. type: integer
  13482. produces:
  13483. - application/json
  13484. responses:
  13485. "200":
  13486. description: OK
  13487. schema:
  13488. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  13489. "500":
  13490. description: Internal Server Error
  13491. schema:
  13492. $ref: '#/definitions/app.Response'
  13493. security:
  13494. - ApiKeyAuth: []
  13495. summary: 查询远期订单注销申请信息
  13496. tags:
  13497. - 产能预售
  13498. /CPTrade/QueryPreasleApply:
  13499. get:
  13500. parameters:
  13501. - description: 账户ID
  13502. in: query
  13503. name: userid
  13504. required: true
  13505. type: integer
  13506. - description: 申请ID
  13507. in: query
  13508. name: applyid
  13509. type: integer
  13510. - description: 资金账户ID
  13511. in: query
  13512. name: accountid
  13513. type: integer
  13514. produces:
  13515. - application/json
  13516. responses:
  13517. "200":
  13518. description: OK
  13519. schema:
  13520. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  13521. "500":
  13522. description: Internal Server Error
  13523. schema:
  13524. $ref: '#/definitions/app.Response'
  13525. security:
  13526. - ApiKeyAuth: []
  13527. summary: 查询产能预售申请信息
  13528. tags:
  13529. - 产能预售
  13530. /CPTrade/QueryPresaleGoodsEx:
  13531. get:
  13532. parameters:
  13533. - description: 预售商品ID
  13534. in: query
  13535. name: goodsid
  13536. type: integer
  13537. - description: 预售市场ID
  13538. in: query
  13539. name: marketid
  13540. type: integer
  13541. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  13542. in: query
  13543. name: presalemode
  13544. type: integer
  13545. - description: 预售商品ID列表 - 格式:1,2,3
  13546. in: query
  13547. name: goodsids
  13548. type: string
  13549. - description: 预售商品代码
  13550. in: query
  13551. name: goodscode
  13552. type: string
  13553. produces:
  13554. - application/json
  13555. responses:
  13556. "200":
  13557. description: OK
  13558. schema:
  13559. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  13560. "500":
  13561. description: Internal Server Error
  13562. schema:
  13563. $ref: '#/definitions/app.Response'
  13564. security:
  13565. - ApiKeyAuth: []
  13566. summary: 查询产能预售商品扩展信息
  13567. tags:
  13568. - 产能预售
  13569. /CPTrade/QueryUserGoodsData:
  13570. get:
  13571. parameters:
  13572. - description: 资金账户ID
  13573. in: query
  13574. name: accountid
  13575. required: true
  13576. type: integer
  13577. produces:
  13578. - application/json
  13579. responses:
  13580. "200":
  13581. description: OK
  13582. schema:
  13583. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  13584. "500":
  13585. description: Internal Server Error
  13586. schema:
  13587. $ref: '#/definitions/app.Response'
  13588. security:
  13589. - ApiKeyAuth: []
  13590. summary: 查询远期订单信息
  13591. tags:
  13592. - 产能预售
  13593. /Common/GetAllEnums:
  13594. get:
  13595. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  13596. parameters:
  13597. - description: 起始自增ID
  13598. in: query
  13599. name: autoid
  13600. type: integer
  13601. produces:
  13602. - application/json
  13603. responses:
  13604. "200":
  13605. description: OK
  13606. schema:
  13607. $ref: '#/definitions/models.Enumdicitem'
  13608. "500":
  13609. description: Internal Server Error
  13610. schema:
  13611. $ref: '#/definitions/app.Response'
  13612. summary: 获取所有枚举信息
  13613. tags:
  13614. - 通用服务
  13615. /Common/GetClientMenus:
  13616. get:
  13617. parameters:
  13618. - description: 登录账号
  13619. in: query
  13620. name: loginID
  13621. required: true
  13622. type: integer
  13623. - description: 终端类型,0:PC 1:Mobile
  13624. in: query
  13625. name: clientType
  13626. type: integer
  13627. produces:
  13628. - application/json
  13629. responses:
  13630. "200":
  13631. description: OK
  13632. schema:
  13633. items:
  13634. $ref: '#/definitions/common.ClientMenu'
  13635. type: array
  13636. "500":
  13637. description: Internal Server Error
  13638. schema:
  13639. $ref: '#/definitions/app.Response'
  13640. security:
  13641. - ApiKeyAuth: []
  13642. summary: 获取交易端菜单
  13643. tags:
  13644. - 通用服务
  13645. /Common/GetDivisions:
  13646. get:
  13647. produces:
  13648. - application/json
  13649. responses:
  13650. "200":
  13651. description: OK
  13652. schema:
  13653. $ref: '#/definitions/models.Division'
  13654. "500":
  13655. description: Internal Server Error
  13656. schema:
  13657. $ref: '#/definitions/app.Response'
  13658. summary: 查询区域信息
  13659. tags:
  13660. - 通用服务
  13661. /Common/GetServerTime:
  13662. get:
  13663. produces:
  13664. - application/json
  13665. responses:
  13666. "200":
  13667. description: OK
  13668. schema:
  13669. $ref: '#/definitions/app.Response'
  13670. "500":
  13671. description: Internal Server Error
  13672. schema:
  13673. $ref: '#/definitions/app.Response'
  13674. summary: 获取服务器时间
  13675. tags:
  13676. - 通用服务
  13677. /Common/NoticeReaded:
  13678. post:
  13679. parameters:
  13680. - description: 登录账号
  13681. in: query
  13682. name: loginID
  13683. required: true
  13684. type: integer
  13685. - description: 通知公告ID
  13686. in: query
  13687. name: noticeID
  13688. required: true
  13689. type: integer
  13690. produces:
  13691. - application/json
  13692. responses:
  13693. "200":
  13694. description: OK
  13695. schema:
  13696. $ref: '#/definitions/app.Response'
  13697. "500":
  13698. description: Internal Server Error
  13699. schema:
  13700. $ref: '#/definitions/app.Response'
  13701. security:
  13702. - ApiKeyAuth: []
  13703. summary: 通知公告设置已读请求
  13704. tags:
  13705. - 通用服务
  13706. /Common/QueryErrorInfos:
  13707. get:
  13708. description: 如果传入rowNumber,则返回此rowNumber后的数据
  13709. parameters:
  13710. - description: 起始行号前索引
  13711. in: query
  13712. name: rowNumber
  13713. type: string
  13714. produces:
  13715. - application/json
  13716. responses:
  13717. "200":
  13718. description: OK
  13719. schema:
  13720. $ref: '#/definitions/models.QueryErrorInfosRsp'
  13721. "500":
  13722. description: Internal Server Error
  13723. schema:
  13724. $ref: '#/definitions/app.Response'
  13725. summary: 获取数据库错误信息
  13726. tags:
  13727. - 通用服务
  13728. /Common/QueryImageConfigs:
  13729. get:
  13730. parameters:
  13731. - description: 类型 - 1:App首页轮播 2:我的
  13732. in: query
  13733. name: imageType
  13734. type: integer
  13735. produces:
  13736. - application/json
  13737. responses:
  13738. "200":
  13739. description: OK
  13740. schema:
  13741. $ref: '#/definitions/common.QueryImageConfigsRsp'
  13742. "500":
  13743. description: Internal Server Error
  13744. schema:
  13745. $ref: '#/definitions/app.Response'
  13746. summary: 查询轮播图配置信息
  13747. tags:
  13748. - 通用服务
  13749. /Common/QueryNotice:
  13750. get:
  13751. parameters:
  13752. - description: 页码
  13753. in: query
  13754. name: page
  13755. type: integer
  13756. - description: 每页条数
  13757. in: query
  13758. name: pagesize
  13759. type: integer
  13760. - description: 登录账号
  13761. in: query
  13762. name: loginID
  13763. required: true
  13764. type: integer
  13765. - description: 消息类型 - 1:公告通知 2:系统消息
  13766. in: query
  13767. name: msgType
  13768. type: integer
  13769. - description: 是否只获取未读信息
  13770. in: query
  13771. name: onlyUnRead
  13772. type: boolean
  13773. - description: 自增ID,传入后会返回这个ID后面的记录
  13774. in: query
  13775. name: lastID
  13776. type: integer
  13777. produces:
  13778. - application/json
  13779. responses:
  13780. "200":
  13781. description: OK
  13782. schema:
  13783. $ref: '#/definitions/common.QueryNoticeRsp'
  13784. "500":
  13785. description: Internal Server Error
  13786. schema:
  13787. $ref: '#/definitions/app.Response'
  13788. security:
  13789. - ApiKeyAuth: []
  13790. summary: 通知公告系统消息查询
  13791. tags:
  13792. - 通用服务
  13793. /Common/QueryProvincesAndCities:
  13794. get:
  13795. parameters:
  13796. - description: 省ID
  13797. in: query
  13798. name: provinceID
  13799. type: integer
  13800. produces:
  13801. - application/json
  13802. responses:
  13803. "200":
  13804. description: OK
  13805. schema:
  13806. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  13807. "500":
  13808. description: Internal Server Error
  13809. schema:
  13810. $ref: '#/definitions/app.Response'
  13811. summary: 查询省市信息(不包括区)
  13812. tags:
  13813. - 通用服务
  13814. /Common/QueryTableDefine:
  13815. get:
  13816. parameters:
  13817. - description: 表key
  13818. in: query
  13819. name: tableKey
  13820. type: string
  13821. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  13822. in: query
  13823. name: tableType
  13824. type: integer
  13825. produces:
  13826. - application/json
  13827. responses:
  13828. "200":
  13829. description: OK
  13830. schema:
  13831. $ref: '#/definitions/common.QueryTableDefineRsp'
  13832. "500":
  13833. description: Internal Server Error
  13834. schema:
  13835. $ref: '#/definitions/app.Response'
  13836. summary: 查询交易端列表头信息
  13837. tags:
  13838. - 通用服务
  13839. /Common/QueryTraderMenu:
  13840. get:
  13841. parameters:
  13842. - description: 登录账号
  13843. in: query
  13844. name: loginid
  13845. required: true
  13846. type: integer
  13847. produces:
  13848. - application/json
  13849. responses:
  13850. "200":
  13851. description: OK
  13852. schema:
  13853. $ref: '#/definitions/common.QueryTraderMenuRsp'
  13854. "500":
  13855. description: Internal Server Error
  13856. schema:
  13857. $ref: '#/definitions/app.Response'
  13858. summary: 查询交易端菜单
  13859. tags:
  13860. - 通用服务
  13861. /Delivery/QueryDeliveryRelation:
  13862. get:
  13863. parameters:
  13864. - description: 商品ID
  13865. in: query
  13866. name: goodsid
  13867. type: integer
  13868. - description: 品种ID
  13869. in: query
  13870. name: deliverygoodsid
  13871. type: integer
  13872. - description: 市场ID
  13873. in: query
  13874. name: marketid
  13875. type: integer
  13876. produces:
  13877. - application/json
  13878. responses:
  13879. "200":
  13880. description: OK
  13881. schema:
  13882. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  13883. "500":
  13884. description: Internal Server Error
  13885. schema:
  13886. $ref: '#/definitions/app.Response'
  13887. security:
  13888. - ApiKeyAuth: []
  13889. summary: 查询商品交割关系表
  13890. tags:
  13891. - 交割服务
  13892. /Ermcp/GetErmcpGoods:
  13893. get:
  13894. parameters:
  13895. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  13896. in: query
  13897. name: lastUpdateTime
  13898. type: string
  13899. produces:
  13900. - application/json
  13901. responses:
  13902. "200":
  13903. description: OK
  13904. schema:
  13905. $ref: '#/definitions/models.ErmcpGoods'
  13906. "500":
  13907. description: Internal Server Error
  13908. schema:
  13909. $ref: '#/definitions/app.Response'
  13910. security:
  13911. - ApiKeyAuth: []
  13912. summary: 查询企业风管期货商品信息
  13913. tags:
  13914. - 企业风险管理(app)
  13915. /Ermcp/GetErmcpGoodsSortByPosition:
  13916. get:
  13917. parameters:
  13918. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  13919. in: query
  13920. name: sortIndex
  13921. type: string
  13922. produces:
  13923. - application/json
  13924. responses:
  13925. "200":
  13926. description: OK
  13927. schema:
  13928. $ref: '#/definitions/models.Goodssortbypreposition'
  13929. "500":
  13930. description: Internal Server Error
  13931. schema:
  13932. $ref: '#/definitions/app.Response'
  13933. security:
  13934. - ApiKeyAuth: []
  13935. summary: 查询企业风管期货主力、次主力商品信息
  13936. tags:
  13937. - 企业风险管理(app)
  13938. /Ermcp/GetErmcpOutAccountStatus:
  13939. get:
  13940. parameters:
  13941. - description: 登录账号
  13942. in: query
  13943. name: loginID
  13944. required: true
  13945. type: integer
  13946. produces:
  13947. - application/json
  13948. responses:
  13949. "200":
  13950. description: OK
  13951. schema:
  13952. $ref: '#/definitions/models.Hedgemarketopenlog'
  13953. "500":
  13954. description: Internal Server Error
  13955. schema:
  13956. $ref: '#/definitions/app.Response'
  13957. security:
  13958. - ApiKeyAuth: []
  13959. summary: 获取目标登录账号当前对冲账号在线状态
  13960. tags:
  13961. - 企业风险管理(app)
  13962. /Ermcp/GetErmcpRoleFuncMenuLists:
  13963. get:
  13964. parameters:
  13965. - description: 登录账号
  13966. in: query
  13967. name: loginID
  13968. required: true
  13969. type: integer
  13970. produces:
  13971. - application/json
  13972. responses:
  13973. "200":
  13974. description: OK
  13975. schema:
  13976. $ref: '#/definitions/models.Funcmenulist'
  13977. "500":
  13978. description: Internal Server Error
  13979. schema:
  13980. $ref: '#/definitions/app.Response'
  13981. security:
  13982. - ApiKeyAuth: []
  13983. summary: 获取企业风管终端权限
  13984. tags:
  13985. - 企业风险管理(app)
  13986. /Ermcp/QueryAccMgrBizGroupSet:
  13987. get:
  13988. parameters:
  13989. - description: 用户ID
  13990. in: query
  13991. name: userid
  13992. required: true
  13993. type: integer
  13994. - description: 现货商品id
  13995. in: query
  13996. name: deliverygoodsid
  13997. type: integer
  13998. produces:
  13999. - application/json
  14000. responses:
  14001. "200":
  14002. description: OK
  14003. schema:
  14004. items:
  14005. $ref: '#/definitions/models.ErmcpBizGroupEx'
  14006. type: array
  14007. "500":
  14008. description: Internal Server Error
  14009. schema:
  14010. $ref: '#/definitions/app.Response'
  14011. security:
  14012. - ApiKeyAuth: []
  14013. summary: 查询业务类型分组(账户管理/账户设置)
  14014. tags:
  14015. - 企业风险管理(app)
  14016. /Ermcp/QueryAccMgrLoginUser:
  14017. get:
  14018. parameters:
  14019. - description: 用户ID
  14020. in: query
  14021. name: userid
  14022. required: true
  14023. type: integer
  14024. - description: 用户类型 2-机构 7-企业成员
  14025. in: query
  14026. name: usertype
  14027. type: integer
  14028. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  14029. in: query
  14030. name: querytype
  14031. required: true
  14032. type: integer
  14033. produces:
  14034. - application/json
  14035. responses:
  14036. "200":
  14037. description: OK
  14038. schema:
  14039. items:
  14040. $ref: '#/definitions/models.ErmcpLoginUserEx'
  14041. type: array
  14042. "500":
  14043. description: Internal Server Error
  14044. schema:
  14045. $ref: '#/definitions/app.Response'
  14046. security:
  14047. - ApiKeyAuth: []
  14048. summary: 查询账户管理登录账号(账户管理/登录账号)
  14049. tags:
  14050. - 企业风险管理(app)
  14051. /Ermcp/QueryAccMgrMainAccountInfo:
  14052. get:
  14053. parameters:
  14054. - description: 用户ID
  14055. in: query
  14056. name: userid
  14057. type: integer
  14058. - description: 主账号id
  14059. in: query
  14060. name: accountid
  14061. type: integer
  14062. produces:
  14063. - application/json
  14064. responses:
  14065. "200":
  14066. description: OK
  14067. schema:
  14068. items:
  14069. $ref: '#/definitions/models.MainAccountInfo'
  14070. type: array
  14071. "500":
  14072. description: Internal Server Error
  14073. schema:
  14074. $ref: '#/definitions/app.Response'
  14075. security:
  14076. - ApiKeyAuth: []
  14077. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  14078. tags:
  14079. - 企业风险管理(app)
  14080. /Ermcp/QueryAccMgrRole:
  14081. get:
  14082. parameters:
  14083. - description: 用户ID
  14084. in: query
  14085. name: userid
  14086. required: true
  14087. type: integer
  14088. produces:
  14089. - application/json
  14090. responses:
  14091. "200":
  14092. description: OK
  14093. schema:
  14094. items:
  14095. $ref: '#/definitions/models.ErmcpRole'
  14096. type: array
  14097. "500":
  14098. description: Internal Server Error
  14099. schema:
  14100. $ref: '#/definitions/app.Response'
  14101. security:
  14102. - ApiKeyAuth: []
  14103. summary: 查询账户管理角色设置(账户管理/角色设置)
  14104. tags:
  14105. - 企业风险管理(app)
  14106. /Ermcp/QueryAccMgrRoleMenu:
  14107. get:
  14108. parameters:
  14109. - description: 用户ID
  14110. in: query
  14111. name: userid
  14112. required: true
  14113. type: integer
  14114. - description: 角色id(可多个,逗号隔开)
  14115. in: query
  14116. name: roleid
  14117. type: string
  14118. produces:
  14119. - application/json
  14120. responses:
  14121. "200":
  14122. description: OK
  14123. schema:
  14124. items:
  14125. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  14126. type: array
  14127. "500":
  14128. description: Internal Server Error
  14129. schema:
  14130. $ref: '#/definitions/app.Response'
  14131. security:
  14132. - ApiKeyAuth: []
  14133. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  14134. tags:
  14135. - 企业风险管理(app)
  14136. /Ermcp/QueryAccMgrTaAccountInfo:
  14137. get:
  14138. parameters:
  14139. - description: 用户ID
  14140. in: query
  14141. name: userid
  14142. required: true
  14143. type: integer
  14144. - description: 账号id
  14145. in: query
  14146. name: accountid
  14147. type: integer
  14148. produces:
  14149. - application/json
  14150. responses:
  14151. "200":
  14152. description: OK
  14153. schema:
  14154. items:
  14155. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  14156. type: array
  14157. "500":
  14158. description: Internal Server Error
  14159. schema:
  14160. $ref: '#/definitions/app.Response'
  14161. security:
  14162. - ApiKeyAuth: []
  14163. summary: 查询账户管理授信(账户管理/账户设置/授信)
  14164. tags:
  14165. - 企业风险管理(app)
  14166. /Ermcp/QueryAccMgrTaaccount:
  14167. get:
  14168. parameters:
  14169. - description: 用户ID
  14170. in: query
  14171. name: userid
  14172. required: true
  14173. type: integer
  14174. produces:
  14175. - application/json
  14176. responses:
  14177. "200":
  14178. description: OK
  14179. schema:
  14180. items:
  14181. $ref: '#/definitions/models.ErmcpTaAccountEx'
  14182. type: array
  14183. "500":
  14184. description: Internal Server Error
  14185. schema:
  14186. $ref: '#/definitions/app.Response'
  14187. security:
  14188. - ApiKeyAuth: []
  14189. summary: 查询账户管理期货账号(账户管理/期货账号)
  14190. tags:
  14191. - 企业风险管理(app)
  14192. /Ermcp/QueryAvaildGoodsGroup:
  14193. get:
  14194. parameters:
  14195. - description: 所属机构ID
  14196. in: query
  14197. name: userid
  14198. required: true
  14199. type: integer
  14200. produces:
  14201. - application/json
  14202. responses:
  14203. "200":
  14204. description: OK
  14205. schema:
  14206. items:
  14207. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  14208. type: array
  14209. "500":
  14210. description: Internal Server Error
  14211. schema:
  14212. $ref: '#/definitions/app.Response'
  14213. security:
  14214. - ApiKeyAuth: []
  14215. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  14216. tags:
  14217. - 企业风险管理(app)
  14218. /Ermcp/QueryBusinessDj:
  14219. get:
  14220. parameters:
  14221. - description: 用户ID
  14222. in: query
  14223. name: UserId
  14224. required: true
  14225. type: integer
  14226. - description: 用户类型 2-机构 7-企业成员
  14227. in: query
  14228. name: usertype
  14229. type: integer
  14230. - description: 现货合同ID, 不填则查所有
  14231. in: query
  14232. name: relatedid
  14233. type: string
  14234. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  14235. in: query
  14236. name: applystatus
  14237. type: string
  14238. produces:
  14239. - application/json
  14240. responses:
  14241. "200":
  14242. description: OK
  14243. schema:
  14244. items:
  14245. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  14246. type: array
  14247. "500":
  14248. description: Internal Server Error
  14249. schema:
  14250. $ref: '#/definitions/app.Response'
  14251. security:
  14252. - ApiKeyAuth: []
  14253. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  14254. tags:
  14255. - 企业风险管理(app)
  14256. /Ermcp/QueryBusinessFp:
  14257. get:
  14258. parameters:
  14259. - description: 用户ID
  14260. in: query
  14261. name: UserId
  14262. required: true
  14263. type: integer
  14264. - description: 用户类型 2-机构 7-企业成员
  14265. in: query
  14266. name: usertype
  14267. type: integer
  14268. - description: 现货合同ID, 不填则查所有
  14269. in: query
  14270. name: relatedid
  14271. type: string
  14272. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  14273. in: query
  14274. name: applystatus
  14275. type: string
  14276. produces:
  14277. - application/json
  14278. responses:
  14279. "200":
  14280. description: OK
  14281. schema:
  14282. items:
  14283. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  14284. type: array
  14285. "500":
  14286. description: Internal Server Error
  14287. schema:
  14288. $ref: '#/definitions/app.Response'
  14289. security:
  14290. - ApiKeyAuth: []
  14291. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  14292. tags:
  14293. - 企业风险管理(app)
  14294. /Ermcp/QueryBusinessJs:
  14295. get:
  14296. parameters:
  14297. - description: 用户ID
  14298. in: query
  14299. name: UserId
  14300. required: true
  14301. type: integer
  14302. - description: 用户类型 2-机构 7-企业成员
  14303. in: query
  14304. name: usertype
  14305. type: integer
  14306. - description: 现货合同ID, 不填则查所有
  14307. in: query
  14308. name: relatedid
  14309. type: string
  14310. - description: 操作申请id
  14311. in: query
  14312. name: operateapplyid
  14313. type: string
  14314. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  14315. in: query
  14316. name: applystatus
  14317. type: string
  14318. produces:
  14319. - application/json
  14320. responses:
  14321. "200":
  14322. description: OK
  14323. schema:
  14324. items:
  14325. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  14326. type: array
  14327. "500":
  14328. description: Internal Server Error
  14329. schema:
  14330. $ref: '#/definitions/app.Response'
  14331. security:
  14332. - ApiKeyAuth: []
  14333. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  14334. tags:
  14335. - 企业风险管理(app)
  14336. /Ermcp/QueryBusinessJsEx:
  14337. get:
  14338. parameters:
  14339. - description: 用户ID
  14340. in: query
  14341. name: UserId
  14342. required: true
  14343. type: integer
  14344. - description: 用户类型 2-机构 7-企业成员
  14345. in: query
  14346. name: usertype
  14347. type: integer
  14348. - description: 现货合同ID, 不填则查所有
  14349. in: query
  14350. name: relatedid
  14351. type: string
  14352. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  14353. in: query
  14354. name: applystatus
  14355. type: string
  14356. produces:
  14357. - application/json
  14358. responses:
  14359. "200":
  14360. description: OK
  14361. schema:
  14362. items:
  14363. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  14364. type: array
  14365. "500":
  14366. description: Internal Server Error
  14367. schema:
  14368. $ref: '#/definitions/app.Response'
  14369. security:
  14370. - ApiKeyAuth: []
  14371. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  14372. tags:
  14373. - 企业风险管理(app)
  14374. /Ermcp/QueryBusinessKx:
  14375. get:
  14376. parameters:
  14377. - description: 用户ID
  14378. in: query
  14379. name: UserId
  14380. required: true
  14381. type: integer
  14382. - description: 用户类型 2-机构 7-企业成员
  14383. in: query
  14384. name: usertype
  14385. type: integer
  14386. - description: 现货合同ID, 不填则查所有
  14387. in: query
  14388. name: relatedid
  14389. type: string
  14390. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  14391. in: query
  14392. name: applystatus
  14393. type: string
  14394. produces:
  14395. - application/json
  14396. responses:
  14397. "200":
  14398. description: OK
  14399. schema:
  14400. items:
  14401. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  14402. type: array
  14403. "500":
  14404. description: Internal Server Error
  14405. schema:
  14406. $ref: '#/definitions/app.Response'
  14407. security:
  14408. - ApiKeyAuth: []
  14409. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  14410. tags:
  14411. - 企业风险管理(app)
  14412. /Ermcp/QueryChangeLog:
  14413. get:
  14414. parameters:
  14415. - description: 合同ID
  14416. in: query
  14417. name: RelatedId
  14418. required: true
  14419. type: string
  14420. produces:
  14421. - application/json
  14422. responses:
  14423. "200":
  14424. description: OK
  14425. schema:
  14426. items:
  14427. $ref: '#/definitions/ermcp.QryOPLogRsp'
  14428. type: array
  14429. "500":
  14430. description: Internal Server Error
  14431. schema:
  14432. $ref: '#/definitions/app.Response'
  14433. security:
  14434. - ApiKeyAuth: []
  14435. summary: 查询变更记录
  14436. tags:
  14437. - 企业风险管理(app)
  14438. /Ermcp/QueryErmcpHisOrderDetails:
  14439. get:
  14440. parameters:
  14441. - description: 资金账户ID
  14442. in: query
  14443. name: accountID
  14444. required: true
  14445. type: integer
  14446. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  14447. in: query
  14448. name: startDate
  14449. type: string
  14450. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  14451. in: query
  14452. name: endDate
  14453. type: string
  14454. produces:
  14455. - application/json
  14456. responses:
  14457. "200":
  14458. description: OK
  14459. schema:
  14460. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  14461. "500":
  14462. description: Internal Server Error
  14463. schema:
  14464. $ref: '#/definitions/app.Response'
  14465. security:
  14466. - ApiKeyAuth: []
  14467. summary: 获取企业风管期货历史委托单信息
  14468. tags:
  14469. - 企业风险管理(app)
  14470. /Ermcp/QueryErmcpHisTradeDetails:
  14471. get:
  14472. parameters:
  14473. - description: 资金账户ID
  14474. in: query
  14475. name: accountID
  14476. required: true
  14477. type: integer
  14478. - description: 商品ID
  14479. in: query
  14480. name: goodsID
  14481. type: integer
  14482. - description: 买卖方向,0:买 1:卖
  14483. in: query
  14484. name: buyOrSell
  14485. type: integer
  14486. - description: 关联委托单号
  14487. in: query
  14488. name: orderID
  14489. type: integer
  14490. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  14491. in: query
  14492. name: startDate
  14493. type: string
  14494. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  14495. in: query
  14496. name: endDate
  14497. type: string
  14498. produces:
  14499. - application/json
  14500. responses:
  14501. "200":
  14502. description: OK
  14503. schema:
  14504. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  14505. "500":
  14506. description: Internal Server Error
  14507. schema:
  14508. $ref: '#/definitions/app.Response'
  14509. security:
  14510. - ApiKeyAuth: []
  14511. summary: 获取企业风管期货历史成交单信息
  14512. tags:
  14513. - 企业风险管理(app)
  14514. /Ermcp/QueryErmcpInnerHolderDetails:
  14515. get:
  14516. parameters:
  14517. - description: 资金账户ID
  14518. in: query
  14519. name: accountID
  14520. required: true
  14521. type: integer
  14522. - description: 商品ID
  14523. in: query
  14524. name: goodsID
  14525. type: integer
  14526. - description: 买卖方向,0:买 1:卖
  14527. in: query
  14528. name: buyOrSell
  14529. type: integer
  14530. produces:
  14531. - application/json
  14532. responses:
  14533. "200":
  14534. description: OK
  14535. schema:
  14536. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  14537. "500":
  14538. description: Internal Server Error
  14539. schema:
  14540. $ref: '#/definitions/app.Response'
  14541. security:
  14542. - ApiKeyAuth: []
  14543. summary: 获取企业风管期货内部持仓单信息
  14544. tags:
  14545. - 企业风险管理(app)
  14546. /Ermcp/QueryErmcpOrderDetails:
  14547. get:
  14548. parameters:
  14549. - description: 资金账户ID
  14550. in: query
  14551. name: accountID
  14552. required: true
  14553. type: integer
  14554. produces:
  14555. - application/json
  14556. responses:
  14557. "200":
  14558. description: OK
  14559. schema:
  14560. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  14561. "500":
  14562. description: Internal Server Error
  14563. schema:
  14564. $ref: '#/definitions/app.Response'
  14565. security:
  14566. - ApiKeyAuth: []
  14567. summary: 获取企业风管期货委托单信息
  14568. tags:
  14569. - 企业风险管理(app)
  14570. /Ermcp/QueryErmcpTradeDetails:
  14571. get:
  14572. parameters:
  14573. - description: 资金账户ID
  14574. in: query
  14575. name: accountID
  14576. required: true
  14577. type: integer
  14578. - description: 商品ID
  14579. in: query
  14580. name: goodsID
  14581. type: integer
  14582. - description: 买卖方向,0:买 1:卖
  14583. in: query
  14584. name: buyOrSell
  14585. type: integer
  14586. - description: 关联委托单号
  14587. in: query
  14588. name: orderID
  14589. type: integer
  14590. produces:
  14591. - application/json
  14592. responses:
  14593. "200":
  14594. description: OK
  14595. schema:
  14596. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  14597. "500":
  14598. description: Internal Server Error
  14599. schema:
  14600. $ref: '#/definitions/app.Response'
  14601. security:
  14602. - ApiKeyAuth: []
  14603. summary: 获取企业风管期货成交单信息
  14604. tags:
  14605. - 企业风险管理(app)
  14606. /Ermcp/QueryErmcpTradePosition:
  14607. get:
  14608. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  14609. parameters:
  14610. - description: 资金账户ID
  14611. in: query
  14612. name: accountID
  14613. required: true
  14614. type: integer
  14615. - description: 所属市场ID
  14616. in: query
  14617. name: marketID
  14618. type: integer
  14619. produces:
  14620. - application/json
  14621. responses:
  14622. "200":
  14623. description: OK
  14624. schema:
  14625. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  14626. "500":
  14627. description: Internal Server Error
  14628. schema:
  14629. $ref: '#/definitions/app.Response'
  14630. security:
  14631. - ApiKeyAuth: []
  14632. summary: 获取企业风管期货持仓头寸信息
  14633. tags:
  14634. - 企业风险管理(app)
  14635. /Ermcp/QueryExposureDetail:
  14636. get:
  14637. parameters:
  14638. - description: 所属机构ID
  14639. in: query
  14640. name: areaUserId
  14641. required: true
  14642. type: integer
  14643. - description: 套保商品
  14644. in: query
  14645. name: middleGoodsId
  14646. required: true
  14647. type: integer
  14648. produces:
  14649. - application/json
  14650. responses:
  14651. "200":
  14652. description: OK
  14653. schema:
  14654. items:
  14655. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  14656. type: array
  14657. "500":
  14658. description: Internal Server Error
  14659. schema:
  14660. $ref: '#/definitions/app.Response'
  14661. security:
  14662. - ApiKeyAuth: []
  14663. summary: 查询敞口现货明细
  14664. tags:
  14665. - 企业风险管理(app)
  14666. /Ermcp/QueryExposureGoods:
  14667. get:
  14668. parameters:
  14669. - description: 套保商品id
  14670. in: query
  14671. name: middlegoodsid
  14672. required: true
  14673. type: integer
  14674. produces:
  14675. - application/json
  14676. responses:
  14677. "200":
  14678. description: OK
  14679. schema:
  14680. items:
  14681. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  14682. type: array
  14683. "500":
  14684. description: Internal Server Error
  14685. schema:
  14686. $ref: '#/definitions/app.Response'
  14687. security:
  14688. - ApiKeyAuth: []
  14689. summary: 查询敞口主力合约
  14690. tags:
  14691. - 企业风险管理(app)
  14692. /Ermcp/QueryExposureHedgePosition:
  14693. get:
  14694. parameters:
  14695. - description: 用户id
  14696. in: query
  14697. name: userid
  14698. required: true
  14699. type: integer
  14700. produces:
  14701. - application/json
  14702. responses:
  14703. "200":
  14704. description: OK
  14705. schema:
  14706. items:
  14707. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  14708. type: array
  14709. "500":
  14710. description: Internal Server Error
  14711. schema:
  14712. $ref: '#/definitions/app.Response'
  14713. security:
  14714. - ApiKeyAuth: []
  14715. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  14716. tags:
  14717. - 企业风险管理(app)
  14718. /Ermcp/QueryExposureHedgePositionDetail:
  14719. get:
  14720. parameters:
  14721. - description: 所属机构ID
  14722. in: query
  14723. name: userid
  14724. required: true
  14725. type: integer
  14726. - description: 商品id
  14727. in: query
  14728. name: goodsId
  14729. required: true
  14730. type: integer
  14731. produces:
  14732. - application/json
  14733. responses:
  14734. "200":
  14735. description: OK
  14736. schema:
  14737. items:
  14738. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  14739. type: array
  14740. "500":
  14741. description: Internal Server Error
  14742. schema:
  14743. $ref: '#/definitions/app.Response'
  14744. security:
  14745. - ApiKeyAuth: []
  14746. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  14747. tags:
  14748. - 企业风险管理(app)
  14749. /Ermcp/QueryExposureSpot:
  14750. get:
  14751. parameters:
  14752. - description: 所属机构ID
  14753. in: query
  14754. name: areaUserId
  14755. required: true
  14756. type: integer
  14757. produces:
  14758. - application/json
  14759. responses:
  14760. "200":
  14761. description: OK
  14762. schema:
  14763. items:
  14764. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  14765. type: array
  14766. "500":
  14767. description: Internal Server Error
  14768. schema:
  14769. $ref: '#/definitions/app.Response'
  14770. security:
  14771. - ApiKeyAuth: []
  14772. summary: 查询敞口现货头寸(敞口/现货头寸)
  14773. tags:
  14774. - 企业风险管理(app)
  14775. /Ermcp/QueryExposureSpotDetail:
  14776. get:
  14777. parameters:
  14778. - description: 所属机构ID
  14779. in: query
  14780. name: areaUserId
  14781. required: true
  14782. type: integer
  14783. - description: 现货品种ID
  14784. in: query
  14785. name: wrstandardId
  14786. required: true
  14787. type: integer
  14788. produces:
  14789. - application/json
  14790. responses:
  14791. "200":
  14792. description: OK
  14793. schema:
  14794. items:
  14795. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  14796. type: array
  14797. "500":
  14798. description: Internal Server Error
  14799. schema:
  14800. $ref: '#/definitions/app.Response'
  14801. security:
  14802. - ApiKeyAuth: []
  14803. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  14804. tags:
  14805. - 企业风险管理(app)
  14806. /Ermcp/QueryFuturesCompany:
  14807. get:
  14808. produces:
  14809. - application/json
  14810. responses:
  14811. "200":
  14812. description: OK
  14813. schema:
  14814. items:
  14815. $ref: '#/definitions/models.ErmcpFuturesCompany'
  14816. type: array
  14817. "500":
  14818. description: Internal Server Error
  14819. schema:
  14820. $ref: '#/definitions/app.Response'
  14821. security:
  14822. - ApiKeyAuth: []
  14823. summary: 查询期货公司
  14824. tags:
  14825. - 企业风险管理(app)
  14826. /Ermcp/QueryGGConvertConfig:
  14827. get:
  14828. parameters:
  14829. - description: 品种id(不填则查所有)
  14830. in: query
  14831. name: goodsgroupid
  14832. type: integer
  14833. produces:
  14834. - application/json
  14835. responses:
  14836. "200":
  14837. description: OK
  14838. schema:
  14839. items:
  14840. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  14841. type: array
  14842. "500":
  14843. description: Internal Server Error
  14844. schema:
  14845. $ref: '#/definitions/app.Response'
  14846. security:
  14847. - ApiKeyAuth: []
  14848. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  14849. tags:
  14850. - 企业风险管理(app)
  14851. /Ermcp/QueryGoodsBrand:
  14852. get:
  14853. parameters:
  14854. - description: 用户ID
  14855. in: query
  14856. name: userid
  14857. required: true
  14858. type: integer
  14859. - description: 现货商品ID
  14860. in: query
  14861. name: wrstandardid
  14862. type: integer
  14863. produces:
  14864. - application/json
  14865. responses:
  14866. "200":
  14867. description: OK
  14868. schema:
  14869. items:
  14870. $ref: '#/definitions/models.ErmcpGoodsBrand'
  14871. type: array
  14872. "500":
  14873. description: Internal Server Error
  14874. schema:
  14875. $ref: '#/definitions/app.Response'
  14876. security:
  14877. - ApiKeyAuth: []
  14878. summary: 查询商品品牌
  14879. tags:
  14880. - 企业风险管理(app)
  14881. /Ermcp/QueryGoodsModel:
  14882. get:
  14883. parameters:
  14884. - description: 用户ID
  14885. in: query
  14886. name: userid
  14887. required: true
  14888. type: integer
  14889. produces:
  14890. - application/json
  14891. responses:
  14892. "200":
  14893. description: OK
  14894. schema:
  14895. items:
  14896. $ref: '#/definitions/models.ErmcpGoodsModel'
  14897. type: array
  14898. "500":
  14899. description: Internal Server Error
  14900. schema:
  14901. $ref: '#/definitions/app.Response'
  14902. security:
  14903. - ApiKeyAuth: []
  14904. summary: 查询商品型号
  14905. tags:
  14906. - 企业风险管理(app)
  14907. /Ermcp/QueryHisExposure:
  14908. get:
  14909. parameters:
  14910. - description: 用户id
  14911. in: query
  14912. name: userid
  14913. required: true
  14914. type: integer
  14915. - description: 每个品种记录数
  14916. in: query
  14917. name: lastNum
  14918. required: true
  14919. type: integer
  14920. produces:
  14921. - application/json
  14922. responses:
  14923. "200":
  14924. description: OK
  14925. schema:
  14926. items:
  14927. $ref: '#/definitions/ermcp.HisExposureRsp'
  14928. type: array
  14929. "500":
  14930. description: Internal Server Error
  14931. schema:
  14932. $ref: '#/definitions/app.Response'
  14933. security:
  14934. - ApiKeyAuth: []
  14935. summary: 查询历史敞口(菜单:敞口/历史敞口)
  14936. tags:
  14937. - 企业风险管理(app)
  14938. /Ermcp/QueryMiddleGoods:
  14939. get:
  14940. parameters:
  14941. - description: 所属机构ID
  14942. in: query
  14943. name: userid
  14944. required: true
  14945. type: integer
  14946. - description: 状态 0-停用 1-正常
  14947. in: query
  14948. name: status
  14949. required: true
  14950. type: integer
  14951. produces:
  14952. - application/json
  14953. responses:
  14954. "200":
  14955. description: OK
  14956. schema:
  14957. items:
  14958. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  14959. type: array
  14960. "500":
  14961. description: Internal Server Error
  14962. schema:
  14963. $ref: '#/definitions/app.Response'
  14964. security:
  14965. - ApiKeyAuth: []
  14966. summary: 查询套保品种(菜单:套保品种)
  14967. tags:
  14968. - 企业风险管理(app)
  14969. /Ermcp/QueryMiddleGoodsChangeLog:
  14970. get:
  14971. parameters:
  14972. - description: 所属机构ID
  14973. in: query
  14974. name: userid
  14975. required: true
  14976. type: integer
  14977. - description: 套保品种id
  14978. in: query
  14979. name: middlegoodsid
  14980. required: true
  14981. type: integer
  14982. produces:
  14983. - application/json
  14984. responses:
  14985. "200":
  14986. description: OK
  14987. schema:
  14988. items:
  14989. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  14990. type: array
  14991. "500":
  14992. description: Internal Server Error
  14993. schema:
  14994. $ref: '#/definitions/app.Response'
  14995. security:
  14996. - ApiKeyAuth: []
  14997. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  14998. tags:
  14999. - 企业风险管理(app)
  15000. /Ermcp/QueryMiddleGoodsDetail:
  15001. get:
  15002. parameters:
  15003. - description: 所属机构ID
  15004. in: query
  15005. name: userid
  15006. required: true
  15007. type: integer
  15008. - description: 套保品种id
  15009. in: query
  15010. name: middlegoodsid
  15011. type: integer
  15012. produces:
  15013. - application/json
  15014. responses:
  15015. "200":
  15016. description: OK
  15017. schema:
  15018. items:
  15019. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  15020. type: array
  15021. "500":
  15022. description: Internal Server Error
  15023. schema:
  15024. $ref: '#/definitions/app.Response'
  15025. security:
  15026. - ApiKeyAuth: []
  15027. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  15028. tags:
  15029. - 企业风险管理(app)
  15030. /Ermcp/QueryPendingAuditInfo:
  15031. get:
  15032. parameters:
  15033. - description: 用户ID
  15034. in: query
  15035. name: UserId
  15036. required: true
  15037. type: integer
  15038. produces:
  15039. - application/json
  15040. responses:
  15041. "200":
  15042. description: OK
  15043. schema:
  15044. items:
  15045. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  15046. type: array
  15047. "500":
  15048. description: Internal Server Error
  15049. schema:
  15050. $ref: '#/definitions/app.Response'
  15051. security:
  15052. - ApiKeyAuth: []
  15053. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  15054. tags:
  15055. - 企业风险管理(app)
  15056. /Ermcp/QueryRealtimeExposure:
  15057. get:
  15058. parameters:
  15059. - description: 所属机构ID
  15060. in: query
  15061. name: userid
  15062. required: true
  15063. type: integer
  15064. produces:
  15065. - application/json
  15066. responses:
  15067. "200":
  15068. description: OK
  15069. schema:
  15070. items:
  15071. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  15072. type: array
  15073. "500":
  15074. description: Internal Server Error
  15075. schema:
  15076. $ref: '#/definitions/app.Response'
  15077. security:
  15078. - ApiKeyAuth: []
  15079. summary: 查询实时敞口
  15080. tags:
  15081. - 企业风险管理(app)
  15082. /Ermcp/QueryRealtimeExposurePosition:
  15083. get:
  15084. parameters:
  15085. - description: 用户id
  15086. in: query
  15087. name: userid
  15088. required: true
  15089. type: integer
  15090. - description: 套保商品ID
  15091. in: query
  15092. name: middleGoodsId
  15093. required: true
  15094. type: integer
  15095. produces:
  15096. - application/json
  15097. responses:
  15098. "200":
  15099. description: OK
  15100. schema:
  15101. items:
  15102. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  15103. type: array
  15104. "500":
  15105. description: Internal Server Error
  15106. schema:
  15107. $ref: '#/definitions/app.Response'
  15108. security:
  15109. - ApiKeyAuth: []
  15110. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  15111. tags:
  15112. - 企业风险管理(app)
  15113. /Ermcp/QueryTradeConfigTMP:
  15114. get:
  15115. parameters:
  15116. - description: 所属机构id
  15117. in: query
  15118. name: areauserid
  15119. type: integer
  15120. produces:
  15121. - application/json
  15122. responses:
  15123. "200":
  15124. description: OK
  15125. schema:
  15126. items:
  15127. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  15128. type: array
  15129. "500":
  15130. description: Internal Server Error
  15131. schema:
  15132. $ref: '#/definitions/app.Response'
  15133. security:
  15134. - ApiKeyAuth: []
  15135. summary: 查询交易模板配置
  15136. tags:
  15137. - 企业风险管理(app)
  15138. /Ermcp/QueryUserInfo:
  15139. get:
  15140. parameters:
  15141. - description: 所属机构用户ID
  15142. in: query
  15143. name: MemberUserID
  15144. required: true
  15145. type: integer
  15146. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  15147. in: query
  15148. name: queryType
  15149. required: true
  15150. type: integer
  15151. produces:
  15152. - application/json
  15153. responses:
  15154. "200":
  15155. description: OK
  15156. schema:
  15157. items:
  15158. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  15159. type: array
  15160. "500":
  15161. description: Internal Server Error
  15162. schema:
  15163. $ref: '#/definitions/app.Response'
  15164. security:
  15165. - ApiKeyAuth: []
  15166. summary: 查询客户资料
  15167. tags:
  15168. - 企业风险管理(app)
  15169. /Ermcp/QueryWarehouseInfo:
  15170. get:
  15171. parameters:
  15172. - description: 用户ID
  15173. in: query
  15174. name: userid
  15175. required: true
  15176. type: integer
  15177. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  15178. in: query
  15179. name: status
  15180. type: string
  15181. produces:
  15182. - application/json
  15183. responses:
  15184. "200":
  15185. description: OK
  15186. schema:
  15187. items:
  15188. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  15189. type: array
  15190. "500":
  15191. description: Internal Server Error
  15192. schema:
  15193. $ref: '#/definitions/app.Response'
  15194. security:
  15195. - ApiKeyAuth: []
  15196. summary: 查询仓库信息
  15197. tags:
  15198. - 企业风险管理(app)
  15199. /Ermcp3/QryAreaExpourseContractDetail:
  15200. get:
  15201. parameters:
  15202. - description: 用户ID
  15203. in: query
  15204. name: userid
  15205. required: true
  15206. type: integer
  15207. - description: 套保商品id
  15208. in: query
  15209. name: middlegoodsid
  15210. required: true
  15211. type: integer
  15212. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  15213. in: query
  15214. name: cycletype
  15215. required: true
  15216. type: integer
  15217. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  15218. 全(0)【原值】
  15219. in: query
  15220. name: cycletime
  15221. required: true
  15222. type: string
  15223. produces:
  15224. - application/json
  15225. responses:
  15226. "200":
  15227. description: OK
  15228. schema:
  15229. items:
  15230. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  15231. type: array
  15232. "500":
  15233. description: Internal Server Error
  15234. schema:
  15235. $ref: '#/definitions/app.Response'
  15236. security:
  15237. - ApiKeyAuth: []
  15238. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  15239. tags:
  15240. - 企业风险管理v3(app)
  15241. /Ermcp3/QryAreaExpourseFutuDetail:
  15242. get:
  15243. parameters:
  15244. - description: 用户ID
  15245. in: query
  15246. name: userid
  15247. required: true
  15248. type: integer
  15249. - description: 套保商品id
  15250. in: query
  15251. name: middlegoodsid
  15252. required: true
  15253. type: integer
  15254. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  15255. in: query
  15256. name: cycletype
  15257. required: true
  15258. type: integer
  15259. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  15260. 全(0)【原值】
  15261. in: query
  15262. name: cycletime
  15263. required: true
  15264. type: string
  15265. produces:
  15266. - application/json
  15267. responses:
  15268. "200":
  15269. description: OK
  15270. schema:
  15271. items:
  15272. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  15273. type: array
  15274. "500":
  15275. description: Internal Server Error
  15276. schema:
  15277. $ref: '#/definitions/app.Response'
  15278. security:
  15279. - ApiKeyAuth: []
  15280. summary: 查询敞口期货明细(敞口报表/期货明细)
  15281. tags:
  15282. - 企业风险管理v3(app)
  15283. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  15284. get:
  15285. parameters:
  15286. - description: 用户ID
  15287. in: query
  15288. name: userid
  15289. required: true
  15290. type: integer
  15291. - description: 套保商品id
  15292. in: query
  15293. name: middlegoodsid
  15294. required: true
  15295. type: integer
  15296. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  15297. in: query
  15298. name: cycletype
  15299. required: true
  15300. type: integer
  15301. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  15302. 全(0)【原值】
  15303. in: query
  15304. name: cycletime
  15305. required: true
  15306. type: string
  15307. produces:
  15308. - application/json
  15309. responses:
  15310. "200":
  15311. description: OK
  15312. schema:
  15313. items:
  15314. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  15315. type: array
  15316. "500":
  15317. description: Internal Server Error
  15318. schema:
  15319. $ref: '#/definitions/app.Response'
  15320. security:
  15321. - ApiKeyAuth: []
  15322. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  15323. tags:
  15324. - 企业风险管理v3(app)
  15325. /Ermcp3/QryAreaExpourseParamChLogDetail:
  15326. get:
  15327. parameters:
  15328. - description: 用户ID
  15329. in: query
  15330. name: userid
  15331. required: true
  15332. type: integer
  15333. - description: 套保商品id
  15334. in: query
  15335. name: middlegoodsid
  15336. required: true
  15337. type: integer
  15338. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  15339. in: query
  15340. name: cycletype
  15341. required: true
  15342. type: integer
  15343. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  15344. 全(0)【原值】
  15345. in: query
  15346. name: cycletime
  15347. required: true
  15348. type: string
  15349. produces:
  15350. - application/json
  15351. responses:
  15352. "200":
  15353. description: OK
  15354. schema:
  15355. items:
  15356. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  15357. type: array
  15358. "500":
  15359. description: Internal Server Error
  15360. schema:
  15361. $ref: '#/definitions/app.Response'
  15362. security:
  15363. - ApiKeyAuth: []
  15364. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  15365. tags:
  15366. - 企业风险管理v3(app)
  15367. /Ermcp3/QryAreaExpourseReport:
  15368. get:
  15369. parameters:
  15370. - description: 用户ID
  15371. in: query
  15372. name: userid
  15373. required: true
  15374. type: integer
  15375. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  15376. in: query
  15377. name: querytype
  15378. required: true
  15379. type: integer
  15380. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  15381. in: query
  15382. name: cycletype
  15383. required: true
  15384. type: integer
  15385. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  15386. 全(0)【原值】
  15387. in: query
  15388. name: cycletime
  15389. required: true
  15390. type: string
  15391. produces:
  15392. - application/json
  15393. responses:
  15394. "200":
  15395. description: OK
  15396. schema:
  15397. items:
  15398. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  15399. type: array
  15400. "500":
  15401. description: Internal Server Error
  15402. schema:
  15403. $ref: '#/definitions/app.Response'
  15404. security:
  15405. - ApiKeyAuth: []
  15406. summary: 查询敞口报表
  15407. tags:
  15408. - 企业风险管理v3(app)
  15409. /Ermcp3/QryAreaSpotplReport:
  15410. get:
  15411. parameters:
  15412. - description: 用户ID
  15413. in: query
  15414. name: userid
  15415. required: true
  15416. type: integer
  15417. - description: 查询类型 1-报表 2-报表明细
  15418. in: query
  15419. name: querytype
  15420. required: true
  15421. type: integer
  15422. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  15423. in: query
  15424. name: cycletype
  15425. required: true
  15426. type: integer
  15427. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  15428. 全(0)【原值】
  15429. in: query
  15430. name: cycletime
  15431. required: true
  15432. type: string
  15433. - description: 现货品种id(明细必填)
  15434. in: query
  15435. name: deliverygoodsid
  15436. type: integer
  15437. - description: 币种id(明细必填)
  15438. in: query
  15439. name: currencyid
  15440. type: integer
  15441. produces:
  15442. - application/json
  15443. responses:
  15444. "200":
  15445. description: OK
  15446. schema:
  15447. items:
  15448. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  15449. type: array
  15450. "500":
  15451. description: Internal Server Error
  15452. schema:
  15453. $ref: '#/definitions/app.Response'
  15454. security:
  15455. - ApiKeyAuth: []
  15456. summary: 查询现货报表
  15457. tags:
  15458. - 企业风险管理v3(app)
  15459. /Ermcp3/QryAreaStockReport:
  15460. get:
  15461. parameters:
  15462. - description: 用户ID
  15463. in: query
  15464. name: userid
  15465. required: true
  15466. type: integer
  15467. - description: 查询类型 1-报表 2-报表明细
  15468. in: query
  15469. name: querytype
  15470. required: true
  15471. type: integer
  15472. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  15473. in: query
  15474. name: cycletype
  15475. required: true
  15476. type: integer
  15477. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  15478. 全(0)【原值】
  15479. in: query
  15480. name: cycletime
  15481. required: true
  15482. type: string
  15483. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  15484. in: query
  15485. name: sumfields
  15486. type: string
  15487. - description: 品种ID
  15488. in: query
  15489. name: deliverygoodsid
  15490. type: integer
  15491. - description: 品类ID
  15492. in: query
  15493. name: wrstandardid
  15494. type: integer
  15495. - description: 品牌ID
  15496. in: query
  15497. name: spotgoodsbrandid
  15498. type: integer
  15499. - description: 仓库ID
  15500. in: query
  15501. name: warehouseinfoid
  15502. type: integer
  15503. produces:
  15504. - application/json
  15505. responses:
  15506. "200":
  15507. description: OK
  15508. schema:
  15509. items:
  15510. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  15511. type: array
  15512. "500":
  15513. description: Internal Server Error
  15514. schema:
  15515. $ref: '#/definitions/app.Response'
  15516. security:
  15517. - ApiKeyAuth: []
  15518. summary: 查询库存报表
  15519. tags:
  15520. - 企业风险管理v3(app)
  15521. /Ermcp3/QryAreaSumPL:
  15522. get:
  15523. parameters:
  15524. - description: 用户ID
  15525. in: query
  15526. name: userid
  15527. required: true
  15528. type: integer
  15529. - description: 查询类型 1-报表 2-报表明细
  15530. in: query
  15531. name: querytype
  15532. required: true
  15533. type: integer
  15534. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  15535. in: query
  15536. name: cycletype
  15537. required: true
  15538. type: integer
  15539. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  15540. 全(0)【原值】
  15541. in: query
  15542. name: cycletime
  15543. required: true
  15544. type: string
  15545. - description: 币种id(明细必填)
  15546. in: query
  15547. name: currencyid
  15548. type: integer
  15549. produces:
  15550. - application/json
  15551. responses:
  15552. "200":
  15553. description: OK
  15554. schema:
  15555. items:
  15556. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  15557. type: array
  15558. "500":
  15559. description: Internal Server Error
  15560. schema:
  15561. $ref: '#/definitions/app.Response'
  15562. security:
  15563. - ApiKeyAuth: []
  15564. summary: 查询汇总损益表
  15565. tags:
  15566. - 企业风险管理v3(app)
  15567. /Ermcp3/QryFinanceReport:
  15568. get:
  15569. parameters:
  15570. - description: 用户ID
  15571. in: query
  15572. name: userid
  15573. required: true
  15574. type: integer
  15575. - description: 查询类型 1-报表 2-报表明细
  15576. in: query
  15577. name: querytype
  15578. required: true
  15579. type: integer
  15580. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  15581. in: query
  15582. name: cycletype
  15583. required: true
  15584. type: integer
  15585. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  15586. 全(0)【原值】
  15587. in: query
  15588. name: cycletime
  15589. required: true
  15590. type: string
  15591. - description: 币种id(报表明细必填)
  15592. in: query
  15593. name: currencyid
  15594. type: integer
  15595. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  15596. in: query
  15597. name: sumfields
  15598. type: string
  15599. produces:
  15600. - application/json
  15601. responses:
  15602. "200":
  15603. description: OK
  15604. schema:
  15605. items:
  15606. $ref: '#/definitions/models.Ermcp3FinanceReport'
  15607. type: array
  15608. "500":
  15609. description: Internal Server Error
  15610. schema:
  15611. $ref: '#/definitions/app.Response'
  15612. security:
  15613. - ApiKeyAuth: []
  15614. summary: 查询财务报表
  15615. tags:
  15616. - 企业风险管理v3(app)
  15617. /Ermcp3/QryTaFutureDataReport:
  15618. get:
  15619. parameters:
  15620. - description: 用户ID
  15621. in: query
  15622. name: userid
  15623. required: true
  15624. type: integer
  15625. - description: 查询类型 1-报表 2-报表明细
  15626. in: query
  15627. name: querytype
  15628. required: true
  15629. type: integer
  15630. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  15631. in: query
  15632. name: cycletype
  15633. required: true
  15634. type: integer
  15635. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  15636. 全(0)【原值】
  15637. in: query
  15638. name: cycletime
  15639. required: true
  15640. type: string
  15641. - description: 币种id(查明细必填)
  15642. in: query
  15643. name: currencyid
  15644. type: integer
  15645. - description: 品种id(查明细必填)
  15646. in: query
  15647. name: goodsgroupid
  15648. type: integer
  15649. - description: 商品id(查明细必填)
  15650. in: query
  15651. name: goodsid
  15652. type: integer
  15653. - description: 买卖方向(查明细必填)
  15654. in: query
  15655. name: buyorsell
  15656. type: integer
  15657. produces:
  15658. - application/json
  15659. responses:
  15660. "200":
  15661. description: OK
  15662. schema:
  15663. items:
  15664. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  15665. type: array
  15666. "500":
  15667. description: Internal Server Error
  15668. schema:
  15669. $ref: '#/definitions/app.Response'
  15670. security:
  15671. - ApiKeyAuth: []
  15672. summary: 查询期货报表
  15673. tags:
  15674. - 企业风险管理v3(app)
  15675. /Ermcp3/QueryAreaStock:
  15676. get:
  15677. parameters:
  15678. - description: 用户ID
  15679. in: query
  15680. name: userid
  15681. required: true
  15682. type: integer
  15683. produces:
  15684. - application/json
  15685. responses:
  15686. "200":
  15687. description: OK
  15688. schema:
  15689. items:
  15690. $ref: '#/definitions/models.Ermcp3AreaStock'
  15691. type: array
  15692. "500":
  15693. description: Internal Server Error
  15694. schema:
  15695. $ref: '#/definitions/app.Response'
  15696. security:
  15697. - ApiKeyAuth: []
  15698. summary: 查询机构库存(库存管理/当前库存)
  15699. tags:
  15700. - 企业风险管理v3(app)
  15701. /Ermcp3/QueryAreaStockApply:
  15702. get:
  15703. parameters:
  15704. - description: 用户ID
  15705. in: query
  15706. name: userid
  15707. required: true
  15708. type: integer
  15709. - description: 用户类型 2-机构 7-企业成员
  15710. in: query
  15711. name: usertype
  15712. type: integer
  15713. - description: 现货商品ID
  15714. in: query
  15715. name: deliverygoodsid
  15716. type: integer
  15717. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  15718. in: query
  15719. name: inouttype
  15720. type: string
  15721. - description: 合同ID
  15722. in: query
  15723. name: spotcontractid
  15724. type: integer
  15725. - description: 品类ID
  15726. in: query
  15727. name: wrstandardid
  15728. type: integer
  15729. - description: 品牌ID
  15730. in: query
  15731. name: spotgoodsbrandid
  15732. type: integer
  15733. - description: 仓库ID
  15734. in: query
  15735. name: warehouseinfoid
  15736. type: integer
  15737. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  15738. in: query
  15739. name: applystatus
  15740. type: string
  15741. produces:
  15742. - application/json
  15743. responses:
  15744. "200":
  15745. description: OK
  15746. schema:
  15747. items:
  15748. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  15749. type: array
  15750. "500":
  15751. description: Internal Server Error
  15752. schema:
  15753. $ref: '#/definitions/app.Response'
  15754. security:
  15755. - ApiKeyAuth: []
  15756. summary: 查询库存申请(出入库记录|库存审核)
  15757. tags:
  15758. - 企业风险管理v3(app)
  15759. /Ermcp3/QueryAreaStockApplySum:
  15760. get:
  15761. parameters:
  15762. - description: 合同ID
  15763. in: query
  15764. name: spotcontractid
  15765. type: integer
  15766. produces:
  15767. - application/json
  15768. responses:
  15769. "200":
  15770. description: OK
  15771. schema:
  15772. items:
  15773. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  15774. type: array
  15775. "500":
  15776. description: Internal Server Error
  15777. schema:
  15778. $ref: '#/definitions/app.Response'
  15779. security:
  15780. - ApiKeyAuth: []
  15781. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  15782. tags:
  15783. - 企业风险管理v3(app)
  15784. /Ermcp3/QueryDGFactoryItem:
  15785. get:
  15786. parameters:
  15787. - description: 用户id
  15788. in: query
  15789. name: userid
  15790. type: integer
  15791. - description: 用户类型 2-机构 7-企业成员
  15792. in: query
  15793. name: usertype
  15794. type: integer
  15795. - description: 选择项ID(SEQ_DGFACTORYITEM)
  15796. in: query
  15797. name: dgfactoryitemid
  15798. type: integer
  15799. - description: 现货品种ID
  15800. in: query
  15801. name: deliverygoodsid
  15802. type: integer
  15803. - description: 要素项类型
  15804. in: query
  15805. name: dgfactoryitemtypeid
  15806. type: integer
  15807. - description: 顺序
  15808. in: query
  15809. name: orderindex
  15810. type: integer
  15811. produces:
  15812. - application/json
  15813. responses:
  15814. "200":
  15815. description: OK
  15816. schema:
  15817. items:
  15818. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  15819. type: array
  15820. "500":
  15821. description: Internal Server Error
  15822. schema:
  15823. $ref: '#/definitions/app.Response'
  15824. security:
  15825. - ApiKeyAuth: []
  15826. summary: 查询品种要素定义项
  15827. tags:
  15828. - 企业风险管理v3(app)
  15829. /Ermcp3/QueryDeliveryGoods:
  15830. get:
  15831. parameters:
  15832. - description: 用户id
  15833. in: query
  15834. name: userid
  15835. required: true
  15836. type: integer
  15837. - description: 用户类型 2-机构 7-企业成员
  15838. in: query
  15839. name: usertype
  15840. type: integer
  15841. - description: 排除已配置的业务类型商品 1-套保 2-套利
  15842. in: query
  15843. name: excludecfg
  15844. type: integer
  15845. produces:
  15846. - application/json
  15847. responses:
  15848. "200":
  15849. description: OK
  15850. schema:
  15851. items:
  15852. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  15853. type: array
  15854. "500":
  15855. description: Internal Server Error
  15856. schema:
  15857. $ref: '#/definitions/app.Response'
  15858. security:
  15859. - ApiKeyAuth: []
  15860. summary: 查询现货商品
  15861. tags:
  15862. - 企业风险管理v3(app)
  15863. /Ermcp3/QueryDeliveryGoodsDetail:
  15864. get:
  15865. parameters:
  15866. - description: 用户id
  15867. in: query
  15868. name: userid
  15869. required: true
  15870. type: integer
  15871. - description: 用户类型 2-机构 7-企业成员
  15872. in: query
  15873. name: usertype
  15874. type: integer
  15875. - description: 现货商品id
  15876. in: query
  15877. name: deliverygoodsid
  15878. type: integer
  15879. produces:
  15880. - application/json
  15881. responses:
  15882. "200":
  15883. description: OK
  15884. schema:
  15885. items:
  15886. $ref: '#/definitions/models.ErmcpDeliveryGoodsDetailEx'
  15887. type: array
  15888. "500":
  15889. description: Internal Server Error
  15890. schema:
  15891. $ref: '#/definitions/app.Response'
  15892. security:
  15893. - ApiKeyAuth: []
  15894. summary: 查询现货商品详情
  15895. tags:
  15896. - 企业风险管理v3(app)
  15897. /Ermcp3/QueryExposureDetail:
  15898. get:
  15899. parameters:
  15900. - description: 用户id
  15901. in: query
  15902. name: userid
  15903. required: true
  15904. type: integer
  15905. - description: 用户类型 2-机构 7-企业成员
  15906. in: query
  15907. name: usertype
  15908. type: integer
  15909. - description: 套保商品
  15910. in: query
  15911. name: middlegoodsid
  15912. required: true
  15913. type: integer
  15914. produces:
  15915. - application/json
  15916. responses:
  15917. "200":
  15918. description: OK
  15919. schema:
  15920. items:
  15921. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  15922. type: array
  15923. "500":
  15924. description: Internal Server Error
  15925. schema:
  15926. $ref: '#/definitions/app.Response'
  15927. security:
  15928. - ApiKeyAuth: []
  15929. summary: 查询敞口现货明细
  15930. tags:
  15931. - 企业风险管理v3(app)
  15932. /Ermcp3/QueryExposureSpot:
  15933. get:
  15934. parameters:
  15935. - description: 用户id
  15936. in: query
  15937. name: userid
  15938. required: true
  15939. type: integer
  15940. - description: 用户类型 2-机构 7-企业成员
  15941. in: query
  15942. name: usertype
  15943. type: integer
  15944. produces:
  15945. - application/json
  15946. responses:
  15947. "200":
  15948. description: OK
  15949. schema:
  15950. items:
  15951. $ref: '#/definitions/models.Ermcp3AreaSpot'
  15952. type: array
  15953. "500":
  15954. description: Internal Server Error
  15955. schema:
  15956. $ref: '#/definitions/app.Response'
  15957. security:
  15958. - ApiKeyAuth: []
  15959. summary: 查询敞口现货头寸(敞口/现货头寸)
  15960. tags:
  15961. - 企业风险管理v3(app)
  15962. /Ermcp3/QueryExposureSpotDetail:
  15963. get:
  15964. parameters:
  15965. - description: 用户id
  15966. in: query
  15967. name: userid
  15968. required: true
  15969. type: integer
  15970. - description: 用户类型 2-机构 7-企业成员
  15971. in: query
  15972. name: usertype
  15973. type: integer
  15974. - description: 现货品种ID
  15975. in: query
  15976. name: deliverygoodsid
  15977. required: true
  15978. type: integer
  15979. produces:
  15980. - application/json
  15981. responses:
  15982. "200":
  15983. description: OK
  15984. schema:
  15985. items:
  15986. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  15987. type: array
  15988. "500":
  15989. description: Internal Server Error
  15990. schema:
  15991. $ref: '#/definitions/app.Response'
  15992. security:
  15993. - ApiKeyAuth: []
  15994. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  15995. tags:
  15996. - 企业风险管理v3(app)
  15997. /Ermcp3/QueryGoodsGroup:
  15998. get:
  15999. parameters:
  16000. - description: 用户id
  16001. in: query
  16002. name: userid
  16003. required: true
  16004. type: integer
  16005. - description: 用户类型 2-机构 7-企业成员
  16006. in: query
  16007. name: usertype
  16008. type: integer
  16009. - description: 排除套保品中已关联的商品组 1-排除
  16010. in: query
  16011. name: excludecfg
  16012. type: integer
  16013. produces:
  16014. - application/json
  16015. responses:
  16016. "200":
  16017. description: OK
  16018. schema:
  16019. items:
  16020. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  16021. type: array
  16022. "500":
  16023. description: Internal Server Error
  16024. schema:
  16025. $ref: '#/definitions/app.Response'
  16026. security:
  16027. - ApiKeyAuth: []
  16028. summary: 查询期货商品组
  16029. tags:
  16030. - 企业风险管理v3(app)
  16031. /Ermcp3/QueryGoodsWrstandard:
  16032. get:
  16033. parameters:
  16034. - description: 用户id
  16035. in: query
  16036. name: userid
  16037. required: true
  16038. type: integer
  16039. - description: 用户类型 2-机构 7-企业成员
  16040. in: query
  16041. name: usertype
  16042. type: integer
  16043. - description: 现货商品id
  16044. in: query
  16045. name: deliverygoodsid
  16046. type: integer
  16047. produces:
  16048. - application/json
  16049. responses:
  16050. "200":
  16051. description: OK
  16052. schema:
  16053. items:
  16054. $ref: '#/definitions/models.Ermcp3Wrstandard'
  16055. type: array
  16056. "500":
  16057. description: Internal Server Error
  16058. schema:
  16059. $ref: '#/definitions/app.Response'
  16060. security:
  16061. - ApiKeyAuth: []
  16062. summary: 查询商品品类
  16063. tags:
  16064. - 企业风险管理v3(app)
  16065. /Ermcp3/QueryGoodsbrand:
  16066. get:
  16067. parameters:
  16068. - description: 用户id
  16069. in: query
  16070. name: userid
  16071. required: true
  16072. type: integer
  16073. - description: 用户类型 2-机构 7-企业成员
  16074. in: query
  16075. name: usertype
  16076. type: integer
  16077. produces:
  16078. - application/json
  16079. responses:
  16080. "200":
  16081. description: OK
  16082. schema:
  16083. items:
  16084. $ref: '#/definitions/models.Ermcp3Brand'
  16085. type: array
  16086. "500":
  16087. description: Internal Server Error
  16088. schema:
  16089. $ref: '#/definitions/app.Response'
  16090. security:
  16091. - ApiKeyAuth: []
  16092. summary: 查询商品品牌
  16093. tags:
  16094. - 企业风险管理v3(app)
  16095. /Ermcp3/QueryHedgePlan:
  16096. get:
  16097. parameters:
  16098. - description: 用户ID
  16099. in: query
  16100. name: userid
  16101. required: true
  16102. type: integer
  16103. - description: 用户类型 2-机构 7-企业成员
  16104. in: query
  16105. name: usertype
  16106. type: integer
  16107. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  16108. in: query
  16109. name: hedgeplanstatus
  16110. required: true
  16111. type: string
  16112. produces:
  16113. - application/json
  16114. responses:
  16115. "200":
  16116. description: OK
  16117. schema:
  16118. items:
  16119. $ref: '#/definitions/models.Ermcp3HedgePlan'
  16120. type: array
  16121. "500":
  16122. description: Internal Server Error
  16123. schema:
  16124. $ref: '#/definitions/app.Response'
  16125. security:
  16126. - ApiKeyAuth: []
  16127. summary: 查询套保计划
  16128. tags:
  16129. - 企业风险管理v3(app)
  16130. /Ermcp3/QueryMiddleGoodsDetail:
  16131. get:
  16132. parameters:
  16133. - description: 用户id
  16134. in: query
  16135. name: userid
  16136. required: true
  16137. type: integer
  16138. - description: 用户类型 2-机构 7-企业成员
  16139. in: query
  16140. name: usertype
  16141. type: integer
  16142. - description: 套保品种id
  16143. in: query
  16144. name: middlegoodsid
  16145. type: integer
  16146. produces:
  16147. - application/json
  16148. responses:
  16149. "200":
  16150. description: OK
  16151. schema:
  16152. items:
  16153. $ref: '#/definitions/models.Ermcp3MiddleGoodsDetailEx'
  16154. type: array
  16155. "500":
  16156. description: Internal Server Error
  16157. schema:
  16158. $ref: '#/definitions/app.Response'
  16159. security:
  16160. - ApiKeyAuth: []
  16161. summary: 查询套保品种详情(套保品种/商品详情)
  16162. tags:
  16163. - 企业风险管理v3(app)
  16164. /Ermcp3/QueryRootUserAccount:
  16165. get:
  16166. parameters:
  16167. - description: 用户ID
  16168. in: query
  16169. name: userid
  16170. required: true
  16171. type: integer
  16172. produces:
  16173. - application/json
  16174. responses:
  16175. "200":
  16176. description: OK
  16177. schema:
  16178. items:
  16179. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  16180. type: array
  16181. "500":
  16182. description: Internal Server Error
  16183. schema:
  16184. $ref: '#/definitions/app.Response'
  16185. security:
  16186. - ApiKeyAuth: []
  16187. summary: 查询顶级用户信息
  16188. tags:
  16189. - 企业风险管理v3(app)
  16190. /Ermcp3/QuerySpotContract:
  16191. get:
  16192. parameters:
  16193. - description: 用户id
  16194. in: query
  16195. name: userid
  16196. required: true
  16197. type: integer
  16198. - description: 用户类型 2-机构 7-企业成员
  16199. in: query
  16200. name: usertype
  16201. type: integer
  16202. - description: 查询类型 1-未提交 2-待审核 3-履约中 4-已完成
  16203. in: query
  16204. name: querytype
  16205. required: true
  16206. type: integer
  16207. - description: 合同ID(SpotContractId)
  16208. in: query
  16209. name: contractid
  16210. type: string
  16211. produces:
  16212. - application/json
  16213. responses:
  16214. "200":
  16215. description: OK
  16216. schema:
  16217. items:
  16218. $ref: '#/definitions/models.Ermcp3Contract'
  16219. type: array
  16220. "500":
  16221. description: Internal Server Error
  16222. schema:
  16223. $ref: '#/definitions/app.Response'
  16224. security:
  16225. - ApiKeyAuth: []
  16226. summary: 查询现货合同
  16227. tags:
  16228. - 企业风险管理v3(app)
  16229. /Ermcp3/QuerySpotContractBS:
  16230. get:
  16231. parameters:
  16232. - description: 用户id
  16233. in: query
  16234. name: userid
  16235. required: true
  16236. type: integer
  16237. - description: 用户类型 2-机构 7-企业成员
  16238. in: query
  16239. name: usertype
  16240. type: integer
  16241. - description: 合同类型 1-采购, -1-销售
  16242. in: query
  16243. name: contracttype
  16244. required: true
  16245. type: integer
  16246. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  16247. in: query
  16248. name: querytype
  16249. required: true
  16250. type: integer
  16251. - description: 合同ID(SpotContractId)
  16252. in: query
  16253. name: contractid
  16254. type: string
  16255. produces:
  16256. - application/json
  16257. responses:
  16258. "200":
  16259. description: OK
  16260. schema:
  16261. items:
  16262. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  16263. type: array
  16264. "500":
  16265. description: Internal Server Error
  16266. schema:
  16267. $ref: '#/definitions/app.Response'
  16268. security:
  16269. - ApiKeyAuth: []
  16270. summary: 查询合同(采购/销售)
  16271. tags:
  16272. - 企业风险管理v3(app)
  16273. /Ermcp3/QuerySpotGoodsPrice:
  16274. get:
  16275. parameters:
  16276. - description: 用户ID
  16277. in: query
  16278. name: userid
  16279. required: true
  16280. type: integer
  16281. produces:
  16282. - application/json
  16283. responses:
  16284. "200":
  16285. description: OK
  16286. schema:
  16287. items:
  16288. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  16289. type: array
  16290. "500":
  16291. description: Internal Server Error
  16292. schema:
  16293. $ref: '#/definitions/app.Response'
  16294. security:
  16295. - ApiKeyAuth: []
  16296. summary: 查询现货市价(现货市价)
  16297. tags:
  16298. - 企业风险管理v3(app)
  16299. /Ermcp3/QuerySpotGoodsPriceLog:
  16300. get:
  16301. parameters:
  16302. - description: 用户ID
  16303. in: query
  16304. name: userid
  16305. required: true
  16306. type: integer
  16307. - description: 现货商品ID
  16308. in: query
  16309. name: deliverygoodsid
  16310. required: true
  16311. type: integer
  16312. - description: 品牌ID
  16313. in: query
  16314. name: brandid
  16315. type: integer
  16316. - description: 品类ID
  16317. in: query
  16318. name: wrstandardid
  16319. type: integer
  16320. produces:
  16321. - application/json
  16322. responses:
  16323. "200":
  16324. description: OK
  16325. schema:
  16326. items:
  16327. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  16328. type: array
  16329. "500":
  16330. description: Internal Server Error
  16331. schema:
  16332. $ref: '#/definitions/app.Response'
  16333. security:
  16334. - ApiKeyAuth: []
  16335. summary: 查询现货市价详情(现货市价/详情)
  16336. tags:
  16337. - 企业风险管理v3(app)
  16338. /Erms2/QueryArbitrageStrategy:
  16339. get:
  16340. parameters:
  16341. - description: 账户ID
  16342. in: query
  16343. name: userid
  16344. required: true
  16345. type: integer
  16346. - description: 商品组ID(品种ID)
  16347. in: query
  16348. name: goodsgroupid
  16349. type: string
  16350. produces:
  16351. - application/json
  16352. responses:
  16353. "200":
  16354. description: OK
  16355. schema:
  16356. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  16357. "500":
  16358. description: Internal Server Error
  16359. schema:
  16360. $ref: '#/definitions/app.Response'
  16361. security:
  16362. - ApiKeyAuth: []
  16363. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  16364. tags:
  16365. - 风险管理
  16366. /Erms2/QueryInnerTradeDetail:
  16367. get:
  16368. parameters:
  16369. - description: 资金账户
  16370. in: query
  16371. name: accountid
  16372. required: true
  16373. type: integer
  16374. produces:
  16375. - application/json
  16376. responses:
  16377. "200":
  16378. description: OK
  16379. schema:
  16380. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  16381. "500":
  16382. description: Internal Server Error
  16383. schema:
  16384. $ref: '#/definitions/app.Response'
  16385. security:
  16386. - ApiKeyAuth: []
  16387. summary: 查询内部成交单信息
  16388. tags:
  16389. - 风险管理
  16390. /Erms2/QuerySpotContract:
  16391. get:
  16392. parameters:
  16393. - description: 策略申请ID
  16394. in: query
  16395. name: asapplyid
  16396. required: true
  16397. type: integer
  16398. - description: 现货合同ID
  16399. in: query
  16400. name: spotcontractid
  16401. type: integer
  16402. produces:
  16403. - application/json
  16404. responses:
  16405. "200":
  16406. description: OK
  16407. schema:
  16408. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  16409. "500":
  16410. description: Internal Server Error
  16411. schema:
  16412. $ref: '#/definitions/app.Response'
  16413. security:
  16414. - ApiKeyAuth: []
  16415. summary: 查询现货合同表信息(指定策略ID、未结束的)
  16416. tags:
  16417. - 风险管理
  16418. /Erms3/AddErms2ASApply:
  16419. post:
  16420. parameters:
  16421. - description: 申请参数
  16422. in: body
  16423. name: jsonBody
  16424. required: true
  16425. schema:
  16426. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  16427. produces:
  16428. - application/json
  16429. responses:
  16430. "200":
  16431. description: OK
  16432. schema:
  16433. $ref: '#/definitions/app.Response'
  16434. "500":
  16435. description: Internal Server Error
  16436. schema:
  16437. $ref: '#/definitions/app.Response'
  16438. security:
  16439. - ApiKeyAuth: []
  16440. summary: 新增期现套利业务申请
  16441. tags:
  16442. - 风险管理v3
  16443. /Erms3/AddErms2SpotTradeApply:
  16444. post:
  16445. parameters:
  16446. - description: 申请参数
  16447. in: body
  16448. name: jsonBody
  16449. required: true
  16450. schema:
  16451. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  16452. produces:
  16453. - application/json
  16454. responses:
  16455. "200":
  16456. description: OK
  16457. schema:
  16458. $ref: '#/definitions/app.Response'
  16459. "500":
  16460. description: Internal Server Error
  16461. schema:
  16462. $ref: '#/definitions/app.Response'
  16463. security:
  16464. - ApiKeyAuth: []
  16465. summary: 新增现货贸易业务申请
  16466. tags:
  16467. - 风险管理v3
  16468. /Erms3/AddSpotContractApply:
  16469. post:
  16470. parameters:
  16471. - description: 申请参数
  16472. in: body
  16473. name: jsonBody
  16474. required: true
  16475. schema:
  16476. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  16477. produces:
  16478. - application/json
  16479. responses:
  16480. "200":
  16481. description: OK
  16482. schema:
  16483. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  16484. "500":
  16485. description: Internal Server Error
  16486. schema:
  16487. $ref: '#/definitions/app.Response'
  16488. security:
  16489. - ApiKeyAuth: []
  16490. summary: 新增现货合同申请
  16491. tags:
  16492. - 风险管理v3
  16493. /Erms3/AddUserInfoApply:
  16494. post:
  16495. parameters:
  16496. - description: 用户信息
  16497. in: body
  16498. name: jsonBody
  16499. required: true
  16500. schema:
  16501. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  16502. produces:
  16503. - application/json
  16504. responses:
  16505. "200":
  16506. description: OK
  16507. schema:
  16508. $ref: '#/definitions/app.Response'
  16509. "500":
  16510. description: Internal Server Error
  16511. schema:
  16512. $ref: '#/definitions/app.Response'
  16513. security:
  16514. - ApiKeyAuth: []
  16515. summary: 新增客户申请
  16516. tags:
  16517. - 风险管理v3
  16518. /Erms3/DeleteUserInfoApply:
  16519. get:
  16520. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  16521. parameters:
  16522. - description: 用户ID
  16523. in: query
  16524. name: userID
  16525. required: true
  16526. type: integer
  16527. produces:
  16528. - application/json
  16529. responses:
  16530. "200":
  16531. description: OK
  16532. schema:
  16533. $ref: '#/definitions/app.Response'
  16534. "500":
  16535. description: Internal Server Error
  16536. schema:
  16537. $ref: '#/definitions/app.Response'
  16538. security:
  16539. - ApiKeyAuth: []
  16540. summary: 删除客户申请
  16541. tags:
  16542. - 风险管理v3
  16543. /Erms3/ModifyUserInfoApply:
  16544. post:
  16545. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  16546. int, "userstate": 2 }'
  16547. parameters:
  16548. - description: 用户信息
  16549. in: body
  16550. name: jsonBody
  16551. required: true
  16552. schema:
  16553. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  16554. produces:
  16555. - application/json
  16556. responses:
  16557. "200":
  16558. description: OK
  16559. schema:
  16560. $ref: '#/definitions/app.Response'
  16561. "500":
  16562. description: Internal Server Error
  16563. schema:
  16564. $ref: '#/definitions/app.Response'
  16565. security:
  16566. - ApiKeyAuth: []
  16567. summary: 修改客户申请
  16568. tags:
  16569. - 风险管理v3
  16570. /Erms3/QueryBusinessInfo:
  16571. get:
  16572. parameters:
  16573. - description: 资金账号ID列表,用逗号分隔
  16574. in: query
  16575. name: accountids
  16576. required: true
  16577. type: string
  16578. - description: 状态,0为未结束 1为已结束
  16579. in: query
  16580. name: status
  16581. required: true
  16582. type: integer
  16583. produces:
  16584. - application/json
  16585. responses:
  16586. "200":
  16587. description: OK
  16588. schema:
  16589. items:
  16590. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  16591. type: array
  16592. "500":
  16593. description: Internal Server Error
  16594. schema:
  16595. $ref: '#/definitions/app.Response'
  16596. security:
  16597. - ApiKeyAuth: []
  16598. summary: 查询业务表单数据
  16599. tags:
  16600. - 风险管理v3
  16601. /Erms3/QueryPendingAuditContract:
  16602. get:
  16603. parameters:
  16604. - description: 资金账号ID列表,逗号隔开
  16605. in: query
  16606. name: accountids
  16607. required: true
  16608. type: string
  16609. - description: 合同类型 1-采购 -1-销售
  16610. in: query
  16611. name: contracttype
  16612. required: true
  16613. type: integer
  16614. - description: 合同模式 1-普通 2-回购
  16615. in: query
  16616. name: contractmode
  16617. required: true
  16618. type: integer
  16619. produces:
  16620. - application/json
  16621. responses:
  16622. "200":
  16623. description: OK
  16624. schema:
  16625. items:
  16626. $ref: '#/definitions/erms3.QryAuditContractRsp'
  16627. type: array
  16628. "500":
  16629. description: Internal Server Error
  16630. schema:
  16631. $ref: '#/definitions/app.Response'
  16632. security:
  16633. - ApiKeyAuth: []
  16634. summary: 查询待审核合同
  16635. tags:
  16636. - 风险管理v3
  16637. /Erms3/QueryPendingBusiness:
  16638. get:
  16639. parameters:
  16640. - description: 资金账号ID列表,逗号隔开
  16641. in: query
  16642. name: accountids
  16643. required: true
  16644. type: string
  16645. produces:
  16646. - application/json
  16647. responses:
  16648. "200":
  16649. description: OK
  16650. schema:
  16651. items:
  16652. $ref: '#/definitions/erms3.QryPendingBizRsp'
  16653. type: array
  16654. "500":
  16655. description: Internal Server Error
  16656. schema:
  16657. $ref: '#/definitions/app.Response'
  16658. security:
  16659. - ApiKeyAuth: []
  16660. summary: 查询待审核基差贸易业务
  16661. tags:
  16662. - 风险管理v3
  16663. /Erms3/QuerySpotContractAppleForm:
  16664. get:
  16665. parameters:
  16666. - description: 登录账号
  16667. in: query
  16668. name: loginID
  16669. required: true
  16670. type: integer
  16671. produces:
  16672. - application/json
  16673. responses:
  16674. "200":
  16675. description: OK
  16676. schema:
  16677. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  16678. "500":
  16679. description: Internal Server Error
  16680. schema:
  16681. $ref: '#/definitions/app.Response'
  16682. security:
  16683. - ApiKeyAuth: []
  16684. summary: 查询合同申请表单数据
  16685. tags:
  16686. - 风险管理v3
  16687. /Erms3/QuerySpotContractDetail:
  16688. get:
  16689. parameters:
  16690. - description: 资金账号ID列表,用逗号分隔
  16691. in: query
  16692. name: accountids
  16693. required: true
  16694. type: string
  16695. - description: 合同类型,1为采购合同 -1为销售合同
  16696. in: query
  16697. name: contracttype
  16698. required: true
  16699. type: integer
  16700. - description: 合同模式,1为普通合同 2为回购销售合同
  16701. in: query
  16702. name: contractmode
  16703. required: true
  16704. type: integer
  16705. - description: 状态,0为履约中 1为已完成
  16706. in: query
  16707. name: status
  16708. required: true
  16709. type: integer
  16710. produces:
  16711. - application/json
  16712. responses:
  16713. "200":
  16714. description: OK
  16715. schema:
  16716. items:
  16717. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  16718. type: array
  16719. "500":
  16720. description: Internal Server Error
  16721. schema:
  16722. $ref: '#/definitions/app.Response'
  16723. security:
  16724. - ApiKeyAuth: []
  16725. summary: 查询合同详细信息
  16726. tags:
  16727. - 风险管理v3
  16728. /Erms3/QueryUserInfoApplies:
  16729. get:
  16730. parameters:
  16731. - description: 页码
  16732. in: query
  16733. name: page
  16734. type: integer
  16735. - description: 每页条数
  16736. in: query
  16737. name: pagesize
  16738. type: integer
  16739. - description: 客户名称,支持模糊查询
  16740. in: query
  16741. name: userName
  16742. type: string
  16743. produces:
  16744. - application/json
  16745. responses:
  16746. "200":
  16747. description: OK
  16748. schema:
  16749. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  16750. "500":
  16751. description: Internal Server Error
  16752. schema:
  16753. $ref: '#/definitions/app.Response'
  16754. security:
  16755. - ApiKeyAuth: []
  16756. summary: 客户申请信息查询
  16757. tags:
  16758. - 风险管理v3
  16759. /Erms3/QueryUserInfos:
  16760. get:
  16761. parameters:
  16762. - description: 页码
  16763. in: query
  16764. name: page
  16765. type: integer
  16766. - description: 每页条数
  16767. in: query
  16768. name: pagesize
  16769. type: integer
  16770. - description: 客户名称,支持模糊查询
  16771. in: query
  16772. name: userName
  16773. type: string
  16774. produces:
  16775. - application/json
  16776. responses:
  16777. "200":
  16778. description: OK
  16779. schema:
  16780. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  16781. "500":
  16782. description: Internal Server Error
  16783. schema:
  16784. $ref: '#/definitions/app.Response'
  16785. security:
  16786. - ApiKeyAuth: []
  16787. summary: 客户信息查询
  16788. tags:
  16789. - 风险管理v3
  16790. /HSBY/GetHsbyMyCount:
  16791. get:
  16792. description: 说明: 不包括已完成的数量。
  16793. parameters:
  16794. - description: 资金账户列表,格式:1,2,3
  16795. in: query
  16796. name: accountIDs
  16797. required: true
  16798. type: string
  16799. produces:
  16800. - application/json
  16801. responses:
  16802. "200":
  16803. description: OK
  16804. schema:
  16805. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  16806. "500":
  16807. description: Internal Server Error
  16808. schema:
  16809. $ref: '#/definitions/app.Response'
  16810. security:
  16811. - ApiKeyAuth: []
  16812. summary: 获取我的订单与包裹数量
  16813. tags:
  16814. - 定制【海商报业】
  16815. /HSBY/QueryClientFixedADConfigs:
  16816. get:
  16817. produces:
  16818. - application/json
  16819. responses:
  16820. "200":
  16821. description: OK
  16822. schema:
  16823. $ref: '#/definitions/models.Clientfixedadconfig'
  16824. "500":
  16825. description: Internal Server Error
  16826. schema:
  16827. $ref: '#/definitions/app.Response'
  16828. security:
  16829. - ApiKeyAuth: []
  16830. summary: 获取终端固定广告配置
  16831. tags:
  16832. - 定制【海商报业】
  16833. /HSBY/QueryHsbyBuyMyTradeDetail:
  16834. get:
  16835. parameters:
  16836. - description: 页码
  16837. in: query
  16838. name: page
  16839. type: integer
  16840. - description: 每页条数
  16841. in: query
  16842. name: pagesize
  16843. type: integer
  16844. - description: 资金账户列表,格式:1,2,3
  16845. in: query
  16846. name: accountIDs
  16847. required: true
  16848. type: string
  16849. produces:
  16850. - application/json
  16851. responses:
  16852. "200":
  16853. description: OK
  16854. schema:
  16855. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  16856. "500":
  16857. description: Internal Server Error
  16858. schema:
  16859. $ref: '#/definitions/app.Response'
  16860. security:
  16861. - ApiKeyAuth: []
  16862. summary: 查询"我的订单 - 已完成"单据信息
  16863. tags:
  16864. - 定制【海商报业】
  16865. /HSBY/QueryHsbyGoodsOrderDetails:
  16866. get:
  16867. description: 说明:查询结果已按委托价格和委托时间排序
  16868. parameters:
  16869. - description: 商品ID
  16870. in: query
  16871. name: goodsID
  16872. required: true
  16873. type: integer
  16874. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  16875. in: query
  16876. name: accountIDs
  16877. type: string
  16878. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  16879. in: query
  16880. name: buyOrSell
  16881. type: integer
  16882. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  16883. in: query
  16884. name: price
  16885. type: number
  16886. - description: 档位,不传则默认为3档
  16887. in: query
  16888. name: speed
  16889. type: integer
  16890. produces:
  16891. - application/json
  16892. responses:
  16893. "200":
  16894. description: OK
  16895. schema:
  16896. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  16897. "500":
  16898. description: Internal Server Error
  16899. schema:
  16900. $ref: '#/definitions/app.Response'
  16901. security:
  16902. - ApiKeyAuth: []
  16903. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  16904. tags:
  16905. - 定制【海商报业】
  16906. /HSBY/QueryHsbyListingGoodsDetail:
  16907. get:
  16908. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  16909. parameters:
  16910. - description: 商品ID
  16911. in: query
  16912. name: goodsID
  16913. required: true
  16914. type: integer
  16915. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  16916. in: query
  16917. name: accountID
  16918. type: integer
  16919. produces:
  16920. - application/json
  16921. responses:
  16922. "200":
  16923. description: OK
  16924. schema:
  16925. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  16926. "500":
  16927. description: Internal Server Error
  16928. schema:
  16929. $ref: '#/definitions/app.Response'
  16930. security:
  16931. - ApiKeyAuth: []
  16932. summary: 查询二级市场(挂牌点选)商品信息详情
  16933. tags:
  16934. - 定制【海商报业】
  16935. /HSBY/QueryHsbyMarketGoodsDetail:
  16936. get:
  16937. parameters:
  16938. - description: 委托单号
  16939. in: query
  16940. name: orderID
  16941. required: true
  16942. type: integer
  16943. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  16944. in: query
  16945. name: accountID
  16946. type: integer
  16947. produces:
  16948. - application/json
  16949. responses:
  16950. "200":
  16951. description: OK
  16952. schema:
  16953. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  16954. "500":
  16955. description: Internal Server Error
  16956. schema:
  16957. $ref: '#/definitions/app.Response'
  16958. security:
  16959. - ApiKeyAuth: []
  16960. summary: 查询三级市场(商城)商品信息详情
  16961. tags:
  16962. - 定制【海商报业】
  16963. /HSBY/QueryHsbyMarketGoodses:
  16964. get:
  16965. parameters:
  16966. - description: 页码
  16967. in: query
  16968. name: page
  16969. type: integer
  16970. - description: 每页条数
  16971. in: query
  16972. name: pagesize
  16973. type: integer
  16974. - description: 市场ID列表,格式:1,2,3
  16975. in: query
  16976. name: marketIDs
  16977. required: true
  16978. type: string
  16979. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  16980. in: query
  16981. name: accountID
  16982. required: true
  16983. type: integer
  16984. - description: 类别ID
  16985. in: query
  16986. name: categoryID
  16987. type: integer
  16988. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  16989. in: query
  16990. name: goodsIDs
  16991. type: string
  16992. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  16993. in: query
  16994. name: couponTypeID
  16995. type: integer
  16996. produces:
  16997. - application/json
  16998. responses:
  16999. "200":
  17000. description: OK
  17001. schema:
  17002. $ref: '#/definitions/models.HsbyMarketGoods'
  17003. "500":
  17004. description: Internal Server Error
  17005. schema:
  17006. $ref: '#/definitions/app.Response'
  17007. security:
  17008. - ApiKeyAuth: []
  17009. summary: 查询特卖商品列表(三级商城)
  17010. tags:
  17011. - 定制【海商报业】
  17012. /HSBY/QueryHsbyMarkets:
  17013. get:
  17014. produces:
  17015. - application/json
  17016. responses:
  17017. "200":
  17018. description: OK
  17019. schema:
  17020. $ref: '#/definitions/models.HsbyMarketInfo'
  17021. "500":
  17022. description: Internal Server Error
  17023. schema:
  17024. $ref: '#/definitions/app.Response'
  17025. security:
  17026. - ApiKeyAuth: []
  17027. summary: 查询海商报业相关市场信息
  17028. tags:
  17029. - 定制【海商报业】
  17030. /HSBY/QueryHsbyMyBuyOrderDetails:
  17031. get:
  17032. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  17033. parameters:
  17034. - description: 资金账户列表,格式:1,2,3
  17035. in: query
  17036. name: accountIDs
  17037. required: true
  17038. type: string
  17039. produces:
  17040. - application/json
  17041. responses:
  17042. "200":
  17043. description: OK
  17044. schema:
  17045. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  17046. "500":
  17047. description: Internal Server Error
  17048. schema:
  17049. $ref: '#/definitions/app.Response'
  17050. security:
  17051. - ApiKeyAuth: []
  17052. summary: 查询“我的订单”信息
  17053. tags:
  17054. - 定制【海商报业】
  17055. /HSBY/QueryHsbyMyGoods:
  17056. get:
  17057. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  17058. parameters:
  17059. - description: 资金账户列表,格式:1,2,3
  17060. in: query
  17061. name: accountIDs
  17062. required: true
  17063. type: string
  17064. produces:
  17065. - application/json
  17066. responses:
  17067. "200":
  17068. description: OK
  17069. schema:
  17070. $ref: '#/definitions/models.HsbyMyGoods'
  17071. "500":
  17072. description: Internal Server Error
  17073. schema:
  17074. $ref: '#/definitions/app.Response'
  17075. security:
  17076. - ApiKeyAuth: []
  17077. summary: 查询“我的商品”信息
  17078. tags:
  17079. - 定制【海商报业】
  17080. /HSBY/QueryHsbyMyPackages:
  17081. get:
  17082. parameters:
  17083. - description: 资金账户列表,格式:1,2,3
  17084. in: query
  17085. name: accountIDs
  17086. required: true
  17087. type: string
  17088. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  17089. in: query
  17090. name: takeOrderStatus
  17091. type: integer
  17092. produces:
  17093. - application/json
  17094. responses:
  17095. "200":
  17096. description: OK
  17097. schema:
  17098. $ref: '#/definitions/models.HsbyMyPackage'
  17099. "500":
  17100. description: Internal Server Error
  17101. schema:
  17102. $ref: '#/definitions/app.Response'
  17103. security:
  17104. - ApiKeyAuth: []
  17105. summary: 查询我的包裹信息
  17106. tags:
  17107. - 定制【海商报业】
  17108. /HSBY/QueryHsbyPreGoodsDetail:
  17109. get:
  17110. parameters:
  17111. - description: 商品ID
  17112. in: query
  17113. name: goodsID
  17114. required: true
  17115. type: integer
  17116. - description: 资金账户,主要用于获取预售商品购买上限
  17117. in: query
  17118. name: accountID
  17119. type: integer
  17120. produces:
  17121. - application/json
  17122. responses:
  17123. "200":
  17124. description: OK
  17125. schema:
  17126. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  17127. "500":
  17128. description: Internal Server Error
  17129. schema:
  17130. $ref: '#/definitions/app.Response'
  17131. security:
  17132. - ApiKeyAuth: []
  17133. summary: 查询一级市场(预售)商品信息详情
  17134. tags:
  17135. - 定制【海商报业】
  17136. /HSBY/QueryHsbyPreGoodses:
  17137. get:
  17138. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  17139. parameters:
  17140. - description: 页码
  17141. in: query
  17142. name: page
  17143. type: integer
  17144. - description: 每页条数
  17145. in: query
  17146. name: pagesize
  17147. type: integer
  17148. - description: 市场ID列表,格式:1,2,3
  17149. in: query
  17150. name: marketIDs
  17151. required: true
  17152. type: string
  17153. - description: 目的地(省)ID
  17154. in: query
  17155. name: descProvinceID
  17156. type: integer
  17157. - description: 目的地(市)ID
  17158. in: query
  17159. name: descCityID
  17160. type: integer
  17161. produces:
  17162. - application/json
  17163. responses:
  17164. "200":
  17165. description: OK
  17166. schema:
  17167. $ref: '#/definitions/models.HsbyPreGoods'
  17168. "500":
  17169. description: Internal Server Error
  17170. schema:
  17171. $ref: '#/definitions/app.Response'
  17172. security:
  17173. - ApiKeyAuth: []
  17174. summary: 查询新品上市商品列表(一级市场预售)
  17175. tags:
  17176. - 定制【海商报业】
  17177. /HSBY/QueryHsbySellMyDetails:
  17178. get:
  17179. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  17180. parameters:
  17181. - description: 页码
  17182. in: query
  17183. name: page
  17184. type: integer
  17185. - description: 每页条数
  17186. in: query
  17187. name: pagesize
  17188. type: integer
  17189. - description: 资金账户列表,格式:1,2,3
  17190. in: query
  17191. name: accountIDs
  17192. required: true
  17193. type: string
  17194. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  17195. in: query
  17196. name: orderType
  17197. type: integer
  17198. produces:
  17199. - application/json
  17200. responses:
  17201. "200":
  17202. description: OK
  17203. schema:
  17204. $ref: '#/definitions/models.HsbySellMyDetail'
  17205. "500":
  17206. description: Internal Server Error
  17207. schema:
  17208. $ref: '#/definitions/app.Response'
  17209. security:
  17210. - ApiKeyAuth: []
  17211. summary: 查询"我的闲置"单据信息
  17212. tags:
  17213. - 定制【海商报业】
  17214. /HSBY/QueryHsbyTopGoodses:
  17215. get:
  17216. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  17217. parameters:
  17218. - description: 页码
  17219. in: query
  17220. name: page
  17221. type: integer
  17222. - description: 每页条数
  17223. in: query
  17224. name: pagesize
  17225. type: integer
  17226. - description: 市场ID列表,格式:1,2,3
  17227. in: query
  17228. name: marketIDs
  17229. required: true
  17230. type: string
  17231. - description: 目的地(省)ID
  17232. in: query
  17233. name: descProvinceID
  17234. type: integer
  17235. - description: 目的地(市)ID
  17236. in: query
  17237. name: descCityID
  17238. type: integer
  17239. produces:
  17240. - application/json
  17241. responses:
  17242. "200":
  17243. description: OK
  17244. schema:
  17245. $ref: '#/definitions/models.HsbyTopGoods'
  17246. "500":
  17247. description: Internal Server Error
  17248. schema:
  17249. $ref: '#/definitions/app.Response'
  17250. security:
  17251. - ApiKeyAuth: []
  17252. summary: 查询热卖商品列表(二级市场挂牌点选)
  17253. tags:
  17254. - 定制【海商报业】
  17255. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  17256. get:
  17257. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  17258. parameters:
  17259. - description: 商品ID
  17260. in: query
  17261. name: goodsID
  17262. required: true
  17263. type: integer
  17264. produces:
  17265. - application/json
  17266. responses:
  17267. "200":
  17268. description: OK
  17269. schema:
  17270. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  17271. "500":
  17272. description: Internal Server Error
  17273. schema:
  17274. $ref: '#/definitions/app.Response'
  17275. security:
  17276. - ApiKeyAuth: []
  17277. summary: 查询游客三级市场(商城)商品信息详情
  17278. tags:
  17279. - 定制【海商报业】
  17280. /HSBY/QueryHsbyVisitorMarketGoodses:
  17281. get:
  17282. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  17283. parameters:
  17284. - description: 页码
  17285. in: query
  17286. name: page
  17287. type: integer
  17288. - description: 每页条数
  17289. in: query
  17290. name: pagesize
  17291. type: integer
  17292. - description: 市场ID列表,格式:1,2,3
  17293. in: query
  17294. name: marketIDs
  17295. required: true
  17296. type: string
  17297. - description: 类别ID
  17298. in: query
  17299. name: categoryID
  17300. type: integer
  17301. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  17302. in: query
  17303. name: goodsIDs
  17304. type: string
  17305. produces:
  17306. - application/json
  17307. responses:
  17308. "200":
  17309. description: OK
  17310. schema:
  17311. $ref: '#/definitions/models.HsbyMarketGoods'
  17312. "500":
  17313. description: Internal Server Error
  17314. schema:
  17315. $ref: '#/definitions/app.Response'
  17316. security:
  17317. - ApiKeyAuth: []
  17318. summary: 查询游客特卖商品列表(三级商城)
  17319. tags:
  17320. - 定制【海商报业】
  17321. /HSBY/QueryMyCollectionOrders:
  17322. get:
  17323. parameters:
  17324. - description: 页码
  17325. in: query
  17326. name: page
  17327. type: integer
  17328. - description: 每页条数
  17329. in: query
  17330. name: pagesize
  17331. type: integer
  17332. - description: 资金账户,格式:1,2,3
  17333. in: query
  17334. name: accountIDs
  17335. required: true
  17336. type: string
  17337. produces:
  17338. - application/json
  17339. responses:
  17340. "200":
  17341. description: OK
  17342. schema:
  17343. $ref: '#/definitions/models.HsbySellCollectionOrder'
  17344. "500":
  17345. description: Internal Server Error
  17346. schema:
  17347. $ref: '#/definitions/app.Response'
  17348. security:
  17349. - ApiKeyAuth: []
  17350. summary: 我的闲置中收款信息查询
  17351. tags:
  17352. - 定制【海商报业】
  17353. /HSBY/QueryMyCouponHolds:
  17354. get:
  17355. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  17356. parameters:
  17357. - description: 资金账户列表,格式:1,2,3
  17358. in: query
  17359. name: accountIDs
  17360. required: true
  17361. type: string
  17362. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  17363. in: query
  17364. name: holdStatus
  17365. type: string
  17366. produces:
  17367. - application/json
  17368. responses:
  17369. "200":
  17370. description: OK
  17371. schema:
  17372. $ref: '#/definitions/models.MyCouponHold'
  17373. "500":
  17374. description: Internal Server Error
  17375. schema:
  17376. $ref: '#/definitions/app.Response'
  17377. security:
  17378. - ApiKeyAuth: []
  17379. summary: 我的优惠卷持仓查询
  17380. tags:
  17381. - 定制【海商报业】
  17382. /HSBY/QueryMyCoupons:
  17383. get:
  17384. parameters:
  17385. - description: 资金账户列表,格式:1,2,3
  17386. in: query
  17387. name: accountIDs
  17388. required: true
  17389. type: string
  17390. - description: 商品ID, 一般与sellUserID配套传入
  17391. in: query
  17392. name: goodsID
  17393. type: integer
  17394. - description: 卖方UserID
  17395. in: query
  17396. name: sellUserID
  17397. type: integer
  17398. produces:
  17399. - application/json
  17400. responses:
  17401. "200":
  17402. description: OK
  17403. schema:
  17404. $ref: '#/definitions/models.MyCoupon'
  17405. "500":
  17406. description: Internal Server Error
  17407. schema:
  17408. $ref: '#/definitions/app.Response'
  17409. security:
  17410. - ApiKeyAuth: []
  17411. summary: 我的优惠卷查询
  17412. tags:
  17413. - 定制【海商报业】
  17414. /HSBY/QueryMyPayOrders:
  17415. get:
  17416. parameters:
  17417. - description: 页码
  17418. in: query
  17419. name: page
  17420. type: integer
  17421. - description: 每页条数
  17422. in: query
  17423. name: pagesize
  17424. type: integer
  17425. - description: 资金账户列表,格式:1,2,3
  17426. in: query
  17427. name: accountIDs
  17428. required: true
  17429. type: string
  17430. - description: 买方委托单号
  17431. in: query
  17432. name: buyOrderID
  17433. type: integer
  17434. - description: 卖方委托单号
  17435. in: query
  17436. name: sellOrderID
  17437. type: integer
  17438. produces:
  17439. - application/json
  17440. responses:
  17441. "200":
  17442. description: OK
  17443. schema:
  17444. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  17445. "500":
  17446. description: Internal Server Error
  17447. schema:
  17448. $ref: '#/definitions/app.Response'
  17449. security:
  17450. - ApiKeyAuth: []
  17451. summary: 获取我的订单中待付款信息
  17452. tags:
  17453. - 定制【海商报业】
  17454. /HSBY/QueryMyUsedCoupon:
  17455. get:
  17456. parameters:
  17457. - description: 资金账户列表,格式:1,2,3
  17458. in: query
  17459. name: accountIDs
  17460. required: true
  17461. type: string
  17462. produces:
  17463. - application/json
  17464. responses:
  17465. "200":
  17466. description: OK
  17467. schema:
  17468. $ref: '#/definitions/models.MyUsedCoupon'
  17469. "500":
  17470. description: Internal Server Error
  17471. schema:
  17472. $ref: '#/definitions/app.Response'
  17473. security:
  17474. - ApiKeyAuth: []
  17475. summary: 已使用优惠卷查询
  17476. tags:
  17477. - 定制【海商报业】
  17478. /HSBY/QueryProvincesAndCities:
  17479. get:
  17480. description: 查询结果只包括二级市场商品已关连的省市信息。
  17481. parameters:
  17482. - description: 省ID
  17483. in: query
  17484. name: provinceID
  17485. type: integer
  17486. produces:
  17487. - application/json
  17488. responses:
  17489. "200":
  17490. description: OK
  17491. schema:
  17492. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  17493. "500":
  17494. description: Internal Server Error
  17495. schema:
  17496. $ref: '#/definitions/app.Response'
  17497. security:
  17498. - ApiKeyAuth: []
  17499. summary: 查询省市信息(不包括区)
  17500. tags:
  17501. - 定制【海商报业】
  17502. /HSBY/SetHsbyMyPackagesStatus:
  17503. post:
  17504. parameters:
  17505. - description: 提货单号
  17506. in: query
  17507. name: takeOrderID
  17508. required: true
  17509. type: string
  17510. - description: 资金账号
  17511. in: query
  17512. name: accountID
  17513. required: true
  17514. type: integer
  17515. produces:
  17516. - application/json
  17517. responses:
  17518. "200":
  17519. description: OK
  17520. schema:
  17521. $ref: '#/definitions/app.Response'
  17522. "500":
  17523. description: Internal Server Error
  17524. schema:
  17525. $ref: '#/definitions/app.Response'
  17526. security:
  17527. - ApiKeyAuth: []
  17528. summary: 设置我的包裹已收货状态
  17529. tags:
  17530. - 定制【海商报业】
  17531. /Market/QueryGoodsesByLoginID:
  17532. get:
  17533. parameters:
  17534. - description: 登录账号
  17535. in: query
  17536. name: loginID
  17537. required: true
  17538. type: integer
  17539. - description: 市场ID列表,格式:1,2,3
  17540. in: query
  17541. name: marketIDs
  17542. type: string
  17543. produces:
  17544. - application/json
  17545. responses:
  17546. "200":
  17547. description: OK
  17548. schema:
  17549. $ref: '#/definitions/models.Goods'
  17550. "500":
  17551. description: Internal Server Error
  17552. schema:
  17553. $ref: '#/definitions/app.Response'
  17554. security:
  17555. - ApiKeyAuth: []
  17556. summary: 获取登录账号有权限的商品信息
  17557. tags:
  17558. - 通用市场
  17559. /Market/QueryMarketRun:
  17560. get:
  17561. parameters:
  17562. - description: 市场ID,不传返回所有
  17563. in: query
  17564. name: marketID
  17565. type: integer
  17566. produces:
  17567. - application/json
  17568. responses:
  17569. "200":
  17570. description: OK
  17571. schema:
  17572. $ref: '#/definitions/models.Marketrun'
  17573. "500":
  17574. description: Internal Server Error
  17575. schema:
  17576. $ref: '#/definitions/app.Response'
  17577. security:
  17578. - ApiKeyAuth: []
  17579. summary: 查询市场运行信息
  17580. tags:
  17581. - 通用市场
  17582. /Market/QueryMarketsByLoginID:
  17583. get:
  17584. parameters:
  17585. - description: 登录账号
  17586. in: query
  17587. name: loginID
  17588. required: true
  17589. type: integer
  17590. produces:
  17591. - application/json
  17592. responses:
  17593. "200":
  17594. description: OK
  17595. schema:
  17596. $ref: '#/definitions/models.Market'
  17597. "500":
  17598. description: Internal Server Error
  17599. schema:
  17600. $ref: '#/definitions/app.Response'
  17601. security:
  17602. - ApiKeyAuth: []
  17603. summary: 获取登录账号有权限的市场信息
  17604. tags:
  17605. - 通用市场
  17606. /Order/QueryHisTradeDetail:
  17607. get:
  17608. parameters:
  17609. - description: 资金账户 - 格式:1,2,3
  17610. in: query
  17611. name: accountID
  17612. required: true
  17613. type: string
  17614. - description: 成交单号
  17615. in: query
  17616. name: tradeID
  17617. type: integer
  17618. - description: 委托单号
  17619. in: query
  17620. name: orderID
  17621. type: integer
  17622. - description: 交易模式 - 格式:1,2,3
  17623. in: query
  17624. name: tradeMode
  17625. type: string
  17626. - description: 委托单据类型
  17627. in: query
  17628. name: buildType
  17629. type: integer
  17630. - description: 成交类别 - 格式:1,2,3
  17631. in: query
  17632. name: tradeType
  17633. type: string
  17634. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  17635. in: query
  17636. name: startDate
  17637. type: string
  17638. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  17639. in: query
  17640. name: endDate
  17641. type: string
  17642. produces:
  17643. - application/json
  17644. responses:
  17645. "200":
  17646. description: OK
  17647. schema:
  17648. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  17649. "500":
  17650. description: Internal Server Error
  17651. schema:
  17652. $ref: '#/definitions/app.Response'
  17653. security:
  17654. - ApiKeyAuth: []
  17655. summary: 历史成交单查询(合约市场)
  17656. tags:
  17657. - 通用单据
  17658. /Order/QueryHisTradeOrderDetail:
  17659. get:
  17660. parameters:
  17661. - description: 资金账户 - 格式:1,2,3
  17662. in: query
  17663. name: accountID
  17664. required: true
  17665. type: string
  17666. - description: 交易模式 - 格式:1,2,3
  17667. in: query
  17668. name: tradeMode
  17669. type: string
  17670. - description: 委托状态 - 格式:1,2,3
  17671. in: query
  17672. name: orderStatus
  17673. type: string
  17674. - description: 委托单号
  17675. in: query
  17676. name: orderID
  17677. type: integer
  17678. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  17679. in: query
  17680. name: startDate
  17681. type: string
  17682. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  17683. in: query
  17684. name: endDate
  17685. type: string
  17686. produces:
  17687. - application/json
  17688. responses:
  17689. "200":
  17690. description: OK
  17691. schema:
  17692. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  17693. "500":
  17694. description: Internal Server Error
  17695. schema:
  17696. $ref: '#/definitions/app.Response'
  17697. security:
  17698. - ApiKeyAuth: []
  17699. summary: 历史委托单查询请求(合约市场)
  17700. tags:
  17701. - 通用单据
  17702. /Order/QueryTradeDetail:
  17703. get:
  17704. parameters:
  17705. - description: 资金账户 - 格式:1,2,3
  17706. in: query
  17707. name: accountID
  17708. required: true
  17709. type: string
  17710. - description: 成交单号
  17711. in: query
  17712. name: tradeID
  17713. type: integer
  17714. - description: 委托单号
  17715. in: query
  17716. name: orderID
  17717. type: integer
  17718. - description: 交易模式 - 格式:1,2,3
  17719. in: query
  17720. name: tradeMode
  17721. type: string
  17722. - description: 委托单据类型
  17723. in: query
  17724. name: buildType
  17725. type: integer
  17726. - description: 成交类别 - 格式:1,2,3
  17727. in: query
  17728. name: tradeType
  17729. type: string
  17730. produces:
  17731. - application/json
  17732. responses:
  17733. "200":
  17734. description: OK
  17735. schema:
  17736. $ref: '#/definitions/order.QueryTradeDetailRsp'
  17737. "500":
  17738. description: Internal Server Error
  17739. schema:
  17740. $ref: '#/definitions/app.Response'
  17741. security:
  17742. - ApiKeyAuth: []
  17743. summary: 成交单查询(合约市场)
  17744. tags:
  17745. - 通用单据
  17746. /Order/QueryTradeOrderDetail:
  17747. get:
  17748. parameters:
  17749. - description: 资金账户 - 格式:1,2,3
  17750. in: query
  17751. name: accountID
  17752. required: true
  17753. type: string
  17754. - description: 交易模式 - 格式:1,2,3
  17755. in: query
  17756. name: tradeMode
  17757. type: string
  17758. - description: 委托状态 - 格式:1,2,3
  17759. in: query
  17760. name: orderStatus
  17761. type: string
  17762. - description: 委托单号
  17763. in: query
  17764. name: orderID
  17765. type: integer
  17766. produces:
  17767. - application/json
  17768. responses:
  17769. "200":
  17770. description: OK
  17771. schema:
  17772. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  17773. "500":
  17774. description: Internal Server Error
  17775. schema:
  17776. $ref: '#/definitions/app.Response'
  17777. security:
  17778. - ApiKeyAuth: []
  17779. summary: 委托单查询请求(合约市场)
  17780. tags:
  17781. - 通用单据
  17782. /Order/QueryTradePosition:
  17783. get:
  17784. parameters:
  17785. - description: 资金账户 - 格式:1,2,3
  17786. in: query
  17787. name: accountID
  17788. required: true
  17789. type: string
  17790. - description: 交易模式 - 格式:1,2,3
  17791. in: query
  17792. name: tradeMode
  17793. type: string
  17794. produces:
  17795. - application/json
  17796. responses:
  17797. "200":
  17798. description: OK
  17799. schema:
  17800. $ref: '#/definitions/order.QueryTradePositionRsp'
  17801. "500":
  17802. description: Internal Server Error
  17803. schema:
  17804. $ref: '#/definitions/app.Response'
  17805. security:
  17806. - ApiKeyAuth: []
  17807. summary: 持仓汇总查询(合约市场)
  17808. tags:
  17809. - 通用单据
  17810. /Qhj/QueryAccountInOutApply:
  17811. get:
  17812. parameters:
  17813. - description: 申请起始日期(格式yyyymmdd)
  17814. in: query
  17815. name: begindate
  17816. type: string
  17817. - description: 申请截止日期(格式yyyymmdd)
  17818. in: query
  17819. name: enddate
  17820. type: string
  17821. - description: 模糊搜索名称
  17822. in: query
  17823. name: likename
  17824. type: string
  17825. produces:
  17826. - application/json
  17827. responses:
  17828. "200":
  17829. description: OK
  17830. schema:
  17831. items:
  17832. $ref: '#/definitions/models.QhjAccountOutInApply'
  17833. type: array
  17834. "500":
  17835. description: Internal Server Error
  17836. schema:
  17837. $ref: '#/definitions/app.Response'
  17838. security:
  17839. - ApiKeyAuth: []
  17840. summary: 查询充值提现
  17841. tags:
  17842. - 大连千海金
  17843. /Qhj/QueryBankAccountSign:
  17844. get:
  17845. parameters:
  17846. - description: 用户ID
  17847. in: query
  17848. name: userid
  17849. required: true
  17850. type: integer
  17851. produces:
  17852. - application/json
  17853. responses:
  17854. "200":
  17855. description: OK
  17856. schema:
  17857. items:
  17858. $ref: '#/definitions/models.QhjBankAccountSign'
  17859. type: array
  17860. "500":
  17861. description: Internal Server Error
  17862. schema:
  17863. $ref: '#/definitions/app.Response'
  17864. security:
  17865. - ApiKeyAuth: []
  17866. summary: 查询签约银行信息(提现账户管理)
  17867. tags:
  17868. - 大连千海金
  17869. /Qhj/QueryBankInfo:
  17870. get:
  17871. produces:
  17872. - application/json
  17873. responses:
  17874. "200":
  17875. description: OK
  17876. schema:
  17877. items:
  17878. $ref: '#/definitions/models.QhjBankInfo'
  17879. type: array
  17880. "500":
  17881. description: Internal Server Error
  17882. schema:
  17883. $ref: '#/definitions/app.Response'
  17884. security:
  17885. - ApiKeyAuth: []
  17886. summary: 查询开户行
  17887. tags:
  17888. - 大连千海金
  17889. /Qhj/QueryContract:
  17890. get:
  17891. parameters:
  17892. - description: 用户ID
  17893. in: query
  17894. name: userid
  17895. required: true
  17896. type: integer
  17897. - description: scf合同id
  17898. in: query
  17899. name: scfcontractid
  17900. type: integer
  17901. produces:
  17902. - application/json
  17903. responses:
  17904. "200":
  17905. description: OK
  17906. schema:
  17907. items:
  17908. $ref: '#/definitions/models.QhjContract'
  17909. type: array
  17910. "500":
  17911. description: Internal Server Error
  17912. schema:
  17913. $ref: '#/definitions/app.Response'
  17914. security:
  17915. - ApiKeyAuth: []
  17916. summary: 查询融资明细(合同)
  17917. tags:
  17918. - 大连千海金
  17919. /Qhj/QueryContractLog:
  17920. get:
  17921. parameters:
  17922. - description: scf合同id
  17923. in: query
  17924. name: scfcontractid
  17925. required: true
  17926. type: integer
  17927. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  17928. in: query
  17929. name: amounttype
  17930. type: string
  17931. produces:
  17932. - application/json
  17933. responses:
  17934. "200":
  17935. description: OK
  17936. schema:
  17937. items:
  17938. $ref: '#/definitions/models.QhjContractLog'
  17939. type: array
  17940. "500":
  17941. description: Internal Server Error
  17942. schema:
  17943. $ref: '#/definitions/app.Response'
  17944. security:
  17945. - ApiKeyAuth: []
  17946. summary: 查询融资明细流水(融资明细详情页中的流水)
  17947. tags:
  17948. - 大连千海金
  17949. /Qhj/QueryCusBankSignBank:
  17950. get:
  17951. produces:
  17952. - application/json
  17953. responses:
  17954. "200":
  17955. description: OK
  17956. schema:
  17957. items:
  17958. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  17959. type: array
  17960. "500":
  17961. description: Internal Server Error
  17962. schema:
  17963. $ref: '#/definitions/app.Response'
  17964. security:
  17965. - ApiKeyAuth: []
  17966. summary: 查询托管银行
  17967. tags:
  17968. - 大连千海金
  17969. /Qhj/QueryCustomerInfo:
  17970. get:
  17971. parameters:
  17972. - description: 用户ID
  17973. in: query
  17974. name: userid
  17975. required: true
  17976. type: integer
  17977. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  17978. in: query
  17979. name: querytype
  17980. required: true
  17981. type: integer
  17982. - description: 客户类型 1-个人 2-企业
  17983. in: query
  17984. name: userinfotype
  17985. type: integer
  17986. - description: 客户名称(模糊匹配)
  17987. in: query
  17988. name: customername
  17989. type: string
  17990. - description: 昵称(模糊匹配)
  17991. in: query
  17992. name: nickname
  17993. type: string
  17994. - description: 是否包含子级 1-包含
  17995. in: query
  17996. name: includesub
  17997. type: integer
  17998. produces:
  17999. - application/json
  18000. responses:
  18001. "200":
  18002. description: OK
  18003. schema:
  18004. items:
  18005. $ref: '#/definitions/models.QhjCustomer'
  18006. type: array
  18007. "500":
  18008. description: Internal Server Error
  18009. schema:
  18010. $ref: '#/definitions/app.Response'
  18011. security:
  18012. - ApiKeyAuth: []
  18013. summary: 查询客户资料
  18014. tags:
  18015. - 大连千海金
  18016. /Qhj/QueryGoodsEx:
  18017. get:
  18018. parameters:
  18019. - description: 商品id
  18020. in: query
  18021. name: goodsid
  18022. type: integer
  18023. produces:
  18024. - application/json
  18025. responses:
  18026. "200":
  18027. description: OK
  18028. schema:
  18029. items:
  18030. $ref: '#/definitions/models.Qhjgoodsex'
  18031. type: array
  18032. "500":
  18033. description: Internal Server Error
  18034. schema:
  18035. $ref: '#/definitions/app.Response'
  18036. security:
  18037. - ApiKeyAuth: []
  18038. summary: 交易商品扩展表
  18039. tags:
  18040. - 大连千海金
  18041. /Qhj/QueryPayOrder:
  18042. get:
  18043. parameters:
  18044. - description: 资金账号id
  18045. in: query
  18046. name: accountid
  18047. required: true
  18048. type: integer
  18049. produces:
  18050. - application/json
  18051. responses:
  18052. "200":
  18053. description: OK
  18054. schema:
  18055. items:
  18056. $ref: '#/definitions/models.QhjPayOrder'
  18057. type: array
  18058. "500":
  18059. description: Internal Server Error
  18060. schema:
  18061. $ref: '#/definitions/app.Response'
  18062. security:
  18063. - ApiKeyAuth: []
  18064. summary: 查询待付款单据
  18065. tags:
  18066. - 大连千海金
  18067. /Qhj/QueryPickArea:
  18068. get:
  18069. parameters:
  18070. - description: 用户ID
  18071. in: query
  18072. name: userid
  18073. type: integer
  18074. produces:
  18075. - application/json
  18076. responses:
  18077. "200":
  18078. description: OK
  18079. schema:
  18080. items:
  18081. $ref: '#/definitions/models.QhjPickArea'
  18082. type: array
  18083. "500":
  18084. description: Internal Server Error
  18085. schema:
  18086. $ref: '#/definitions/app.Response'
  18087. security:
  18088. - ApiKeyAuth: []
  18089. summary: 查询提货门店
  18090. tags:
  18091. - 大连千海金
  18092. /Qhj/QueryPickGoods:
  18093. get:
  18094. parameters:
  18095. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  18096. in: query
  18097. name: status
  18098. type: string
  18099. produces:
  18100. - application/json
  18101. responses:
  18102. "200":
  18103. description: OK
  18104. schema:
  18105. items:
  18106. $ref: '#/definitions/models.QhjPickGoods'
  18107. type: array
  18108. "500":
  18109. description: Internal Server Error
  18110. schema:
  18111. $ref: '#/definitions/app.Response'
  18112. security:
  18113. - ApiKeyAuth: []
  18114. summary: 查询提货商品
  18115. tags:
  18116. - 大连千海金
  18117. /Qhj/QueryRSTriggerLog:
  18118. get:
  18119. parameters:
  18120. - description: 用户ID
  18121. in: query
  18122. name: userid
  18123. required: true
  18124. type: integer
  18125. - description: 定投策略id
  18126. in: query
  18127. name: regularlystrategyid
  18128. type: integer
  18129. produces:
  18130. - application/json
  18131. responses:
  18132. "200":
  18133. description: OK
  18134. schema:
  18135. items:
  18136. $ref: '#/definitions/models.QhjRSTriggerLog'
  18137. type: array
  18138. "500":
  18139. description: Internal Server Error
  18140. schema:
  18141. $ref: '#/definitions/app.Response'
  18142. security:
  18143. - ApiKeyAuth: []
  18144. summary: 查询定投记录(定投管理/详情/定投记录)
  18145. tags:
  18146. - 大连千海金
  18147. /Qhj/QueryRStrategy:
  18148. get:
  18149. parameters:
  18150. - description: 用户ID
  18151. in: query
  18152. name: userid
  18153. required: true
  18154. type: integer
  18155. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  18156. in: query
  18157. name: status
  18158. type: string
  18159. produces:
  18160. - application/json
  18161. responses:
  18162. "200":
  18163. description: OK
  18164. schema:
  18165. items:
  18166. $ref: '#/definitions/models.QhjRStrategy'
  18167. type: array
  18168. "500":
  18169. description: Internal Server Error
  18170. schema:
  18171. $ref: '#/definitions/app.Response'
  18172. security:
  18173. - ApiKeyAuth: []
  18174. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  18175. tags:
  18176. - 大连千海金
  18177. /Qhj/QueryReckonPriceLog:
  18178. get:
  18179. parameters:
  18180. - description: 商品ID
  18181. in: query
  18182. name: goodsid
  18183. type: integer
  18184. - description: 交易日 格式(yyyymmdd)
  18185. in: query
  18186. name: tradedate
  18187. type: string
  18188. produces:
  18189. - application/json
  18190. responses:
  18191. "200":
  18192. description: OK
  18193. schema:
  18194. items:
  18195. $ref: '#/definitions/models.QhjReckonPriceLog'
  18196. type: array
  18197. "500":
  18198. description: Internal Server Error
  18199. schema:
  18200. $ref: '#/definitions/app.Response'
  18201. security:
  18202. - ApiKeyAuth: []
  18203. summary: 查询定投价(结算价)
  18204. tags:
  18205. - 大连千海金
  18206. /Qhj/QuerySiteColumnDetail:
  18207. get:
  18208. parameters:
  18209. - description: 用户ID
  18210. in: query
  18211. name: userid
  18212. required: true
  18213. type: integer
  18214. produces:
  18215. - application/json
  18216. responses:
  18217. "200":
  18218. description: OK
  18219. schema:
  18220. items:
  18221. $ref: '#/definitions/models.QhjSiteColumnDetail'
  18222. type: array
  18223. "500":
  18224. description: Internal Server Error
  18225. schema:
  18226. $ref: '#/definitions/app.Response'
  18227. security:
  18228. - ApiKeyAuth: []
  18229. summary: 查询资讯
  18230. tags:
  18231. - 大连千海金
  18232. /Qhj/QueryTradeGoodsPickup:
  18233. get:
  18234. parameters:
  18235. - description: 用户ID
  18236. in: query
  18237. name: userid
  18238. required: true
  18239. type: integer
  18240. produces:
  18241. - application/json
  18242. responses:
  18243. "200":
  18244. description: OK
  18245. schema:
  18246. items:
  18247. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  18248. type: array
  18249. "500":
  18250. description: Internal Server Error
  18251. schema:
  18252. $ref: '#/definitions/app.Response'
  18253. security:
  18254. - ApiKeyAuth: []
  18255. summary: 查询提货
  18256. tags:
  18257. - 大连千海金
  18258. /Qhj/QueryUserCollectConfig:
  18259. get:
  18260. parameters:
  18261. - description: 用户ID
  18262. in: query
  18263. name: userid
  18264. required: true
  18265. type: integer
  18266. produces:
  18267. - application/json
  18268. responses:
  18269. "200":
  18270. description: OK
  18271. schema:
  18272. items:
  18273. $ref: '#/definitions/models.UserCollectConfig'
  18274. type: array
  18275. "500":
  18276. description: Internal Server Error
  18277. schema:
  18278. $ref: '#/definitions/app.Response'
  18279. security:
  18280. - ApiKeyAuth: []
  18281. summary: 查询提现账户设置
  18282. tags:
  18283. - 大连千海金
  18284. /Qhj/QueryUserReceiveInfo:
  18285. get:
  18286. parameters:
  18287. - description: 用户ID
  18288. in: query
  18289. name: userid
  18290. required: true
  18291. type: integer
  18292. produces:
  18293. - application/json
  18294. responses:
  18295. "200":
  18296. description: OK
  18297. schema:
  18298. items:
  18299. $ref: '#/definitions/models.UserReceiveInfo'
  18300. type: array
  18301. "500":
  18302. description: Internal Server Error
  18303. schema:
  18304. $ref: '#/definitions/app.Response'
  18305. security:
  18306. - ApiKeyAuth: []
  18307. summary: 查询收货地址信息
  18308. tags:
  18309. - 大连千海金
  18310. /Quote/QueryHistoryDatas:
  18311. get:
  18312. parameters:
  18313. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  18314. 日线'
  18315. in: query
  18316. name: cycleType
  18317. required: true
  18318. type: integer
  18319. - description: 商品代码
  18320. in: query
  18321. name: goodsCode
  18322. required: true
  18323. type: string
  18324. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  18325. in: query
  18326. name: startTime
  18327. type: string
  18328. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  18329. in: query
  18330. name: endTime
  18331. type: string
  18332. - description: 条数
  18333. in: query
  18334. name: count
  18335. type: integer
  18336. - description: 是否按时间顺序排序(默认为时间倒序排序)
  18337. in: query
  18338. name: isAsc
  18339. type: boolean
  18340. produces:
  18341. - application/json
  18342. responses:
  18343. "200":
  18344. description: OK
  18345. schema:
  18346. $ref: '#/definitions/quote.HistoryData'
  18347. "500":
  18348. description: Internal Server Error
  18349. schema:
  18350. $ref: '#/definitions/app.Response'
  18351. security:
  18352. - ApiKeyAuth: []
  18353. summary: 查询行情历史数据
  18354. tags:
  18355. - 行情服务
  18356. /Quote/QueryHistoryTikDatas:
  18357. get:
  18358. parameters:
  18359. - description: 商品代码
  18360. in: query
  18361. name: goodsCode
  18362. required: true
  18363. type: string
  18364. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  18365. in: query
  18366. name: startTime
  18367. type: string
  18368. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  18369. in: query
  18370. name: endTime
  18371. type: string
  18372. - description: 条数
  18373. in: query
  18374. name: count
  18375. type: integer
  18376. - description: 是否按时间顺序排序(默认为时间倒序排序)
  18377. in: query
  18378. name: isAsc
  18379. type: boolean
  18380. produces:
  18381. - application/json
  18382. responses:
  18383. "200":
  18384. description: OK
  18385. schema:
  18386. $ref: '#/definitions/quote.HistoryTikData'
  18387. "500":
  18388. description: Internal Server Error
  18389. schema:
  18390. $ref: '#/definitions/app.Response'
  18391. security:
  18392. - ApiKeyAuth: []
  18393. summary: 查询行情Tik数据
  18394. tags:
  18395. - 行情服务
  18396. /Quote/QueryQuoteDay:
  18397. get:
  18398. parameters:
  18399. - description: 商品代码列表,格式:CU2102,CU2103,AL2107
  18400. in: query
  18401. name: goodsCodes
  18402. required: true
  18403. type: string
  18404. produces:
  18405. - application/json
  18406. responses:
  18407. "200":
  18408. description: OK
  18409. schema:
  18410. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  18411. "500":
  18412. description: Internal Server Error
  18413. schema:
  18414. $ref: '#/definitions/app.Response'
  18415. security:
  18416. - ApiKeyAuth: []
  18417. summary: 获取商品盘面信息
  18418. tags:
  18419. - 行情服务
  18420. /Quote/QueryTSData:
  18421. get:
  18422. parameters:
  18423. - description: 商品代码
  18424. in: query
  18425. name: goodsCode
  18426. required: true
  18427. type: string
  18428. produces:
  18429. - application/json
  18430. responses:
  18431. "200":
  18432. description: OK
  18433. schema:
  18434. $ref: '#/definitions/quote.QueryTSDataRsp'
  18435. "500":
  18436. description: Internal Server Error
  18437. schema:
  18438. $ref: '#/definitions/app.Response'
  18439. security:
  18440. - ApiKeyAuth: []
  18441. summary: 分时图数据查询
  18442. tags:
  18443. - 行情服务
  18444. /SZDZ/QueryConvertConfig:
  18445. get:
  18446. parameters:
  18447. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  18448. 6:交易转花生米(不设置)
  18449. in: query
  18450. name: convertType
  18451. type: integer
  18452. - description: 外部商品代码[JD\PD]
  18453. in: query
  18454. name: outerGoodsCode
  18455. type: string
  18456. - description: 内部商品ID列表[交易],格式:1,2,3
  18457. in: query
  18458. name: innerGoodsIDs
  18459. type: string
  18460. produces:
  18461. - application/json
  18462. responses:
  18463. "200":
  18464. description: OK
  18465. schema:
  18466. $ref: '#/definitions/models.Szdz3convertconfig'
  18467. "500":
  18468. description: Internal Server Error
  18469. schema:
  18470. $ref: '#/definitions/app.Response'
  18471. security:
  18472. - ApiKeyAuth: []
  18473. summary: 查询交易系统转换设置
  18474. tags:
  18475. - 定制【尚志大宗】
  18476. /SZDZ/QueryConvertLog:
  18477. get:
  18478. parameters:
  18479. - description: 资金账户 - 格式:1,2,3
  18480. in: query
  18481. name: accountID
  18482. required: true
  18483. type: string
  18484. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  18485. in: query
  18486. name: startDate
  18487. type: string
  18488. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  18489. in: query
  18490. name: endDate
  18491. type: string
  18492. produces:
  18493. - application/json
  18494. responses:
  18495. "200":
  18496. description: OK
  18497. schema:
  18498. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  18499. "500":
  18500. description: Internal Server Error
  18501. schema:
  18502. $ref: '#/definitions/app.Response'
  18503. security:
  18504. - ApiKeyAuth: []
  18505. summary: 交易系统转换流水查询
  18506. tags:
  18507. - 定制【尚志大宗】
  18508. /SZDZ/QueryGoodsPickup:
  18509. get:
  18510. parameters:
  18511. - description: 资金账户 - 格式:1,2,3
  18512. in: query
  18513. name: accountID
  18514. required: true
  18515. type: string
  18516. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  18517. in: query
  18518. name: takeOrderStatus
  18519. type: integer
  18520. produces:
  18521. - application/json
  18522. responses:
  18523. "200":
  18524. description: OK
  18525. schema:
  18526. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  18527. "500":
  18528. description: Internal Server Error
  18529. schema:
  18530. $ref: '#/definitions/app.Response'
  18531. security:
  18532. - ApiKeyAuth: []
  18533. summary: 商品提货单查询
  18534. tags:
  18535. - 定制【尚志大宗】
  18536. /SZDZ/QueryRecieptOrder:
  18537. get:
  18538. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  18539. parameters:
  18540. - description: 页码
  18541. in: query
  18542. name: page
  18543. type: integer
  18544. - description: 每页条数
  18545. in: query
  18546. name: pagesize
  18547. type: integer
  18548. - description: 商品ID
  18549. in: query
  18550. name: goodsID
  18551. required: true
  18552. type: integer
  18553. - description: 所属账户名称
  18554. in: query
  18555. name: accountName
  18556. type: string
  18557. - description: 市场ID
  18558. in: query
  18559. name: marketID
  18560. type: integer
  18561. - description: 方向 - 0:买 1:卖
  18562. in: query
  18563. name: buyorsell
  18564. required: true
  18565. type: integer
  18566. produces:
  18567. - application/json
  18568. responses:
  18569. "200":
  18570. description: OK
  18571. schema:
  18572. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  18573. "500":
  18574. description: Internal Server Error
  18575. schema:
  18576. $ref: '#/definitions/app.Response'
  18577. security:
  18578. - ApiKeyAuth: []
  18579. summary: 点选挂牌委托单据查询(摘牌大厅)
  18580. tags:
  18581. - 定制【尚志大宗】
  18582. /SZDZ/QuerySZDZTradePosition:
  18583. get:
  18584. parameters:
  18585. - description: 资金账户
  18586. in: query
  18587. name: accountID
  18588. required: true
  18589. type: integer
  18590. produces:
  18591. - application/json
  18592. responses:
  18593. "200":
  18594. description: OK
  18595. schema:
  18596. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  18597. "500":
  18598. description: Internal Server Error
  18599. schema:
  18600. $ref: '#/definitions/app.Response'
  18601. security:
  18602. - ApiKeyAuth: []
  18603. summary: 持仓汇总查询(尚志大宗)
  18604. tags:
  18605. - 定制【尚志大宗】
  18606. /SZDZ/SearchWhite:
  18607. get:
  18608. parameters:
  18609. - description: 用户ID
  18610. in: query
  18611. name: userID
  18612. required: true
  18613. type: integer
  18614. produces:
  18615. - application/json
  18616. responses:
  18617. "200":
  18618. description: OK
  18619. schema:
  18620. $ref: '#/definitions/models.Szdz3searchwhitelist'
  18621. "500":
  18622. description: Internal Server Error
  18623. schema:
  18624. $ref: '#/definitions/app.Response'
  18625. security:
  18626. - ApiKeyAuth: []
  18627. summary: 搜索白名单
  18628. tags:
  18629. - 定制【尚志大宗】
  18630. /Search/SearchGoodses:
  18631. get:
  18632. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  18633. parameters:
  18634. - description: 检索内容
  18635. in: query
  18636. name: content
  18637. required: true
  18638. type: string
  18639. - description: 交易模式,格式:1,2,3
  18640. in: query
  18641. name: tradeModes
  18642. type: string
  18643. produces:
  18644. - application/json
  18645. responses:
  18646. "200":
  18647. description: OK
  18648. schema:
  18649. $ref: '#/definitions/models.SearchGoods'
  18650. "500":
  18651. description: Internal Server Error
  18652. schema:
  18653. $ref: '#/definitions/app.Response'
  18654. summary: 检索商品信息
  18655. tags:
  18656. - 检索服务
  18657. /TaAccount/GetTaAccounts:
  18658. get:
  18659. parameters:
  18660. - description: 登录账户
  18661. in: query
  18662. name: loginID
  18663. required: true
  18664. type: integer
  18665. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  18666. in: query
  18667. name: taAccountType
  18668. type: integer
  18669. produces:
  18670. - application/json
  18671. responses:
  18672. "200":
  18673. description: OK
  18674. schema:
  18675. $ref: '#/definitions/models.Taaccount'
  18676. "500":
  18677. description: Internal Server Error
  18678. schema:
  18679. $ref: '#/definitions/app.Response'
  18680. security:
  18681. - ApiKeyAuth: []
  18682. summary: 获取资金账户信息
  18683. tags:
  18684. - 资金账户
  18685. /TaAccount/QueryAmountLog:
  18686. get:
  18687. parameters:
  18688. - description: 页码
  18689. in: query
  18690. name: page
  18691. type: integer
  18692. - description: 每页条数
  18693. in: query
  18694. name: pagesize
  18695. type: integer
  18696. - description: 资金账户 - 格式:1,2,3
  18697. in: query
  18698. name: accountID
  18699. required: true
  18700. type: string
  18701. - description: 资金操作类型 - 格式:1,2,3
  18702. in: query
  18703. name: OperateType
  18704. type: string
  18705. produces:
  18706. - application/json
  18707. responses:
  18708. "200":
  18709. description: OK
  18710. schema:
  18711. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  18712. "500":
  18713. description: Internal Server Error
  18714. schema:
  18715. $ref: '#/definitions/app.Response'
  18716. security:
  18717. - ApiKeyAuth: []
  18718. summary: 资金流水查询(当前)
  18719. tags:
  18720. - 资金账户
  18721. /TaAccount/QueryHisAmountLog:
  18722. get:
  18723. parameters:
  18724. - description: 页码
  18725. in: query
  18726. name: page
  18727. type: integer
  18728. - description: 每页条数
  18729. in: query
  18730. name: pagesize
  18731. type: integer
  18732. - description: 资金账户 - 格式:1,2,3
  18733. in: query
  18734. name: accountID
  18735. required: true
  18736. type: string
  18737. - description: 资金操作类型 - 格式:1,2,3
  18738. in: query
  18739. name: OperateType
  18740. type: string
  18741. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  18742. in: query
  18743. name: startDate
  18744. type: string
  18745. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  18746. in: query
  18747. name: endDate
  18748. type: string
  18749. produces:
  18750. - application/json
  18751. responses:
  18752. "200":
  18753. description: OK
  18754. schema:
  18755. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  18756. "500":
  18757. description: Internal Server Error
  18758. schema:
  18759. $ref: '#/definitions/app.Response'
  18760. security:
  18761. - ApiKeyAuth: []
  18762. summary: 资金流水查询(历史)
  18763. tags:
  18764. - 资金账户
  18765. /Trade/QueryRecieptOrder:
  18766. get:
  18767. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  18768. parameters:
  18769. - description: 页码
  18770. in: query
  18771. name: page
  18772. type: integer
  18773. - description: 每页条数
  18774. in: query
  18775. name: pagesize
  18776. type: integer
  18777. - description: 商品ID
  18778. in: query
  18779. name: goodsID
  18780. required: true
  18781. type: integer
  18782. - description: 所属账户名称
  18783. in: query
  18784. name: accountName
  18785. type: string
  18786. - description: 市场ID
  18787. in: query
  18788. name: marketID
  18789. type: integer
  18790. - description: 方向 - 0:买 1:卖
  18791. in: query
  18792. name: buyorsell
  18793. required: true
  18794. type: integer
  18795. produces:
  18796. - application/json
  18797. responses:
  18798. "200":
  18799. description: OK
  18800. schema:
  18801. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  18802. "500":
  18803. description: Internal Server Error
  18804. schema:
  18805. $ref: '#/definitions/app.Response'
  18806. security:
  18807. - ApiKeyAuth: []
  18808. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  18809. tags:
  18810. - 通用交易
  18811. /User/AddMessageBoard:
  18812. post:
  18813. parameters:
  18814. - description: 用户ID
  18815. in: query
  18816. name: userID
  18817. required: true
  18818. type: integer
  18819. - description: 留言信息
  18820. in: query
  18821. name: message
  18822. required: true
  18823. type: string
  18824. - description: 联系电话
  18825. in: query
  18826. name: contactNum
  18827. required: true
  18828. type: string
  18829. produces:
  18830. - application/json
  18831. responses:
  18832. "200":
  18833. description: OK
  18834. schema:
  18835. $ref: '#/definitions/app.Response'
  18836. "500":
  18837. description: Internal Server Error
  18838. schema:
  18839. $ref: '#/definitions/app.Response'
  18840. security:
  18841. - ApiKeyAuth: []
  18842. summary: 添加用户留言板信息
  18843. tags:
  18844. - 用户信息
  18845. /User/AddUserFavoriteGoods:
  18846. post:
  18847. parameters:
  18848. - description: 用户ID
  18849. in: query
  18850. name: userID
  18851. required: true
  18852. type: integer
  18853. - description: 商品ID
  18854. in: query
  18855. name: goodsID
  18856. required: true
  18857. type: integer
  18858. produces:
  18859. - application/json
  18860. responses:
  18861. "200":
  18862. description: OK
  18863. schema:
  18864. $ref: '#/definitions/app.Response'
  18865. "500":
  18866. description: Internal Server Error
  18867. schema:
  18868. $ref: '#/definitions/app.Response'
  18869. security:
  18870. - ApiKeyAuth: []
  18871. summary: 添加用户商品收藏信息
  18872. tags:
  18873. - 用户信息
  18874. /User/GetLoginID:
  18875. get:
  18876. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  18877. parameters:
  18878. - description: 登录代码
  18879. in: query
  18880. name: username
  18881. required: true
  18882. type: string
  18883. produces:
  18884. - application/json
  18885. responses:
  18886. "200":
  18887. description: OK
  18888. schema:
  18889. $ref: '#/definitions/app.Response'
  18890. "500":
  18891. description: Internal Server Error
  18892. schema:
  18893. $ref: '#/definitions/app.Response'
  18894. summary: 获取登录ID
  18895. tags:
  18896. - 用户信息
  18897. /User/GetUserAccount:
  18898. get:
  18899. parameters:
  18900. - description: 用户ID
  18901. in: query
  18902. name: userID
  18903. required: true
  18904. type: integer
  18905. produces:
  18906. - application/json
  18907. responses:
  18908. "200":
  18909. description: OK
  18910. schema:
  18911. $ref: '#/definitions/models.Useraccount'
  18912. "500":
  18913. description: Internal Server Error
  18914. schema:
  18915. $ref: '#/definitions/app.Response'
  18916. security:
  18917. - ApiKeyAuth: []
  18918. summary: 获取用户账号信息
  18919. tags:
  18920. - 用户信息
  18921. /User/GetUserAuthStatus:
  18922. get:
  18923. parameters:
  18924. - description: 用户ID
  18925. in: query
  18926. name: userID
  18927. required: true
  18928. type: integer
  18929. produces:
  18930. - application/json
  18931. responses:
  18932. "200":
  18933. description: OK
  18934. schema:
  18935. $ref: '#/definitions/app.Response'
  18936. "500":
  18937. description: Internal Server Error
  18938. schema:
  18939. $ref: '#/definitions/app.Response'
  18940. security:
  18941. - ApiKeyAuth: []
  18942. summary: 获取用户实名认证状态
  18943. tags:
  18944. - 用户信息
  18945. /User/LoginQuery:
  18946. get:
  18947. parameters:
  18948. - description: 登录账号
  18949. in: query
  18950. name: loginID
  18951. required: true
  18952. type: integer
  18953. produces:
  18954. - application/json
  18955. responses:
  18956. "200":
  18957. description: OK
  18958. schema:
  18959. $ref: '#/definitions/user.LoginQueryRsp'
  18960. "500":
  18961. description: Internal Server Error
  18962. schema:
  18963. $ref: '#/definitions/app.Response'
  18964. security:
  18965. - ApiKeyAuth: []
  18966. summary: 账户登录后信息查询
  18967. tags:
  18968. - 用户信息
  18969. /User/QueryMessageBoard:
  18970. get:
  18971. parameters:
  18972. - description: 用户ID
  18973. in: query
  18974. name: userID
  18975. required: true
  18976. type: integer
  18977. produces:
  18978. - application/json
  18979. responses:
  18980. "200":
  18981. description: OK
  18982. schema:
  18983. $ref: '#/definitions/models.Messageboard'
  18984. "500":
  18985. description: Internal Server Error
  18986. schema:
  18987. $ref: '#/definitions/app.Response'
  18988. security:
  18989. - ApiKeyAuth: []
  18990. summary: 获取用户留言板信息
  18991. tags:
  18992. - 用户信息
  18993. /User/QueryUserFavoriteGoodses:
  18994. get:
  18995. parameters:
  18996. - description: 用户ID
  18997. in: query
  18998. name: userID
  18999. required: true
  19000. type: integer
  19001. produces:
  19002. - application/json
  19003. responses:
  19004. "200":
  19005. description: OK
  19006. schema:
  19007. $ref: '#/definitions/models.Userfavoritegoods'
  19008. "500":
  19009. description: Internal Server Error
  19010. schema:
  19011. $ref: '#/definitions/app.Response'
  19012. security:
  19013. - ApiKeyAuth: []
  19014. summary: 获取用户商品收藏信息
  19015. tags:
  19016. - 用户信息
  19017. /User/QueryUserInfo:
  19018. get:
  19019. parameters:
  19020. - description: 用户ID
  19021. in: query
  19022. name: userID
  19023. required: true
  19024. type: integer
  19025. - description: 是否解密
  19026. in: query
  19027. name: isDecrypt
  19028. type: boolean
  19029. produces:
  19030. - application/json
  19031. responses:
  19032. "200":
  19033. description: OK
  19034. schema:
  19035. $ref: '#/definitions/models.Userinfo'
  19036. "500":
  19037. description: Internal Server Error
  19038. schema:
  19039. $ref: '#/definitions/app.Response'
  19040. security:
  19041. - ApiKeyAuth: []
  19042. summary: 获取用户信息
  19043. tags:
  19044. - 用户信息
  19045. /User/QueryUserReferNum:
  19046. get:
  19047. parameters:
  19048. - description: 用户ID
  19049. in: query
  19050. name: userID
  19051. required: true
  19052. type: integer
  19053. produces:
  19054. - application/json
  19055. responses:
  19056. "200":
  19057. description: OK
  19058. schema:
  19059. $ref: '#/definitions/app.Response'
  19060. "500":
  19061. description: Internal Server Error
  19062. schema:
  19063. $ref: '#/definitions/app.Response'
  19064. summary: 获取用户邀请码
  19065. tags:
  19066. - 用户信息
  19067. /User/RemoveUserFavoriteGoods:
  19068. post:
  19069. parameters:
  19070. - description: 用户ID
  19071. in: query
  19072. name: userID
  19073. required: true
  19074. type: integer
  19075. - description: 商品ID
  19076. in: query
  19077. name: goodsID
  19078. required: true
  19079. type: integer
  19080. produces:
  19081. - application/json
  19082. responses:
  19083. "200":
  19084. description: OK
  19085. schema:
  19086. $ref: '#/definitions/app.Response'
  19087. "500":
  19088. description: Internal Server Error
  19089. schema:
  19090. $ref: '#/definitions/app.Response'
  19091. security:
  19092. - ApiKeyAuth: []
  19093. summary: 移除用户商品收藏信息
  19094. tags:
  19095. - 用户信息
  19096. /User/UpdateUserAccountStatus:
  19097. post:
  19098. parameters:
  19099. - description: 用户ID
  19100. in: query
  19101. name: userID
  19102. required: true
  19103. type: integer
  19104. - description: 账户状态 - 4:正常 6:注销(停用)
  19105. in: query
  19106. name: accountStatus
  19107. required: true
  19108. type: integer
  19109. produces:
  19110. - application/json
  19111. responses:
  19112. "200":
  19113. description: OK
  19114. schema:
  19115. $ref: '#/definitions/app.Response'
  19116. "500":
  19117. description: Internal Server Error
  19118. schema:
  19119. $ref: '#/definitions/app.Response'
  19120. security:
  19121. - ApiKeyAuth: []
  19122. summary: 更新用户状态
  19123. tags:
  19124. - 用户信息
  19125. /WRTrade/GetAllDeliveryGoods:
  19126. get:
  19127. produces:
  19128. - application/json
  19129. - application/json
  19130. responses:
  19131. "200":
  19132. description: OK
  19133. schema:
  19134. $ref: '#/definitions/app.Response'
  19135. "500":
  19136. description: Internal Server Error
  19137. schema:
  19138. $ref: '#/definitions/app.Response'
  19139. security:
  19140. - ApiKeyAuth: []
  19141. - ApiKeyAuth: []
  19142. summary: 获取带仓单分类的种类信息
  19143. tags:
  19144. - 仓单贸易
  19145. - 仓单贸易
  19146. securityDefinitions:
  19147. ApiKeyAuth:
  19148. in: header
  19149. name: Authorization
  19150. type: apiKey
  19151. swagger: "2.0"